diff --git a/2c5455e5e91297368063__mypyc.cp310-win_amd64.pyd b/2c5455e5e91297368063__mypyc.cp310-win_amd64.pyd new file mode 100644 index 0000000000..de605a3f12 Binary files /dev/null and b/2c5455e5e91297368063__mypyc.cp310-win_amd64.pyd differ diff --git a/2c5455e5e91297368063__mypyc.cp311-win_amd64.pyd b/2c5455e5e91297368063__mypyc.cp311-win_amd64.pyd new file mode 100644 index 0000000000..0abfdb99b9 Binary files /dev/null and b/2c5455e5e91297368063__mypyc.cp311-win_amd64.pyd differ diff --git a/2c5455e5e91297368063__mypyc.cp312-win_amd64.pyd b/2c5455e5e91297368063__mypyc.cp312-win_amd64.pyd new file mode 100644 index 0000000000..ccf44b44b0 Binary files /dev/null and b/2c5455e5e91297368063__mypyc.cp312-win_amd64.pyd differ diff --git a/2c5455e5e91297368063__mypyc.cpython-310-darwin.so b/2c5455e5e91297368063__mypyc.cpython-310-darwin.so new file mode 100755 index 0000000000..4ada7fbd10 Binary files /dev/null and b/2c5455e5e91297368063__mypyc.cpython-310-darwin.so differ diff --git a/2c5455e5e91297368063__mypyc.cpython-310-x86_64-linux-gnu.so b/2c5455e5e91297368063__mypyc.cpython-310-x86_64-linux-gnu.so new file mode 100755 index 0000000000..6f796357a2 Binary files /dev/null and b/2c5455e5e91297368063__mypyc.cpython-310-x86_64-linux-gnu.so differ diff --git a/2c5455e5e91297368063__mypyc.cpython-311-darwin.so b/2c5455e5e91297368063__mypyc.cpython-311-darwin.so new file mode 100755 index 0000000000..a8b7a78274 Binary files /dev/null and b/2c5455e5e91297368063__mypyc.cpython-311-darwin.so differ diff --git a/2c5455e5e91297368063__mypyc.cpython-311-x86_64-linux-gnu.so b/2c5455e5e91297368063__mypyc.cpython-311-x86_64-linux-gnu.so new file mode 100755 index 0000000000..592e9a4027 Binary files /dev/null and b/2c5455e5e91297368063__mypyc.cpython-311-x86_64-linux-gnu.so differ diff --git a/2c5455e5e91297368063__mypyc.cpython-312-darwin.so b/2c5455e5e91297368063__mypyc.cpython-312-darwin.so new file mode 100755 index 0000000000..f1ad72aa2c Binary files /dev/null and b/2c5455e5e91297368063__mypyc.cpython-312-darwin.so differ diff --git a/2c5455e5e91297368063__mypyc.cpython-312-x86_64-linux-gnu.so b/2c5455e5e91297368063__mypyc.cpython-312-x86_64-linux-gnu.so new file mode 100755 index 0000000000..860b0a85b1 Binary files /dev/null and b/2c5455e5e91297368063__mypyc.cpython-312-x86_64-linux-gnu.so differ diff --git a/Makefile b/Makefile index 8ef3f635d2..21308bd285 100644 --- a/Makefile +++ b/Makefile @@ -13,4 +13,4 @@ benchmark: poetry run brownie run examples/benchmark mypyc: - mypyc dank_mids/_batch.py dank_mids/_demo_mode.py dank_mids/_envs.py dank_mids/_eth_utils.py dank_mids/_exceptions.py dank_mids/_logging.py dank_mids/_uid.py dank_mids/_web3/abi.py dank_mids/_web3/formatters.py dank_mids/brownie_patch/__init__.py dank_mids/brownie_patch/_abi.py dank_mids/brownie_patch/call.py dank_mids/brownie_patch/overloaded.py dank_mids/brownie_patch/types.py dank_mids/helpers/__init__.py dank_mids/helpers/_codec.py dank_mids/helpers/_errors.py dank_mids/helpers/_gather.py dank_mids/helpers/_weaklist.py dank_mids/helpers/batch_size.py dank_mids/helpers/hashing.py dank_mids/helpers/lru_cache.py dank_mids/helpers/method.py dank_mids/stats/__init__.py dank_mids/constants.py dank_mids/ENVIRONMENT_VARIABLES.py --strict --pretty --disable-error-code=unused-ignore + mypyc dank_mids/_batch.py dank_mids/_demo_mode.py dank_mids/_envs.py dank_mids/_eth_utils.py dank_mids/_exceptions.py dank_mids/_logging.py dank_mids/_uid.py dank_mids/_requests/base.py dank_mids/_web3/abi.py dank_mids/_web3/formatters.py dank_mids/brownie_patch/__init__.py dank_mids/brownie_patch/_abi.py dank_mids/brownie_patch/call.py dank_mids/brownie_patch/overloaded.py dank_mids/brownie_patch/types.py dank_mids/helpers/__init__.py dank_mids/helpers/_codec.py dank_mids/helpers/_errors.py dank_mids/helpers/_gather.py dank_mids/helpers/_weaklist.py dank_mids/helpers/batch_size.py dank_mids/helpers/hashing.py dank_mids/helpers/lru_cache.py dank_mids/helpers/method.py dank_mids/stats/__init__.py dank_mids/constants.py dank_mids/ENVIRONMENT_VARIABLES.py --strict --pretty --disable-error-code=unused-ignore diff --git a/build/__native_2c5455e5e91297368063.c b/build/__native_2c5455e5e91297368063.c new file mode 100644 index 0000000000..05cb26f432 --- /dev/null +++ b/build/__native_2c5455e5e91297368063.c @@ -0,0 +1,78046 @@ +#include "init.c" +#include "getargs.c" +#include "getargsfast.c" +#include "int_ops.c" +#include "float_ops.c" +#include "str_ops.c" +#include "bytes_ops.c" +#include "list_ops.c" +#include "dict_ops.c" +#include "set_ops.c" +#include "tuple_ops.c" +#include "exc_ops.c" +#include "misc_ops.c" +#include "generic_ops.c" +#include "pythonsupport.c" +#include "__native_2c5455e5e91297368063.h" +#include "__native_internal_2c5455e5e91297368063.h" + +static int +_batch___DankBatch_init(PyObject *self, PyObject *args, PyObject *kwds) +{ + return 0; +} +static PyAsyncMethods _batch___DankBatch_as_async = { + .am_await = CPyDef__batch___DankBatch_____await__, +}; +PyObject *CPyDef__batch_____mypyc__DankBatch_setup(PyObject *cpy_r_type); +PyObject *CPyDef__batch___DankBatch(PyObject *cpy_r_controller, PyObject *cpy_r_multicalls, PyObject *cpy_r_rpc_calls); + +static PyObject * +_batch___DankBatch_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType__batch___DankBatch) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef__batch_____mypyc__DankBatch_setup((PyObject*)type); + if (self == NULL) + return NULL; + PyObject *ret = CPyPy__batch___DankBatch_____init__(self, args, kwds); + if (ret == NULL) + return NULL; + return self; +} + +static int +_batch___DankBatch_traverse(dank_mids____batch___DankBatchObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->_controller); + Py_VISIT(self->_multicalls); + Py_VISIT(self->_rpc_calls); + Py_VISIT(self->__check_len); + return 0; +} + +static int +_batch___DankBatch_clear(dank_mids____batch___DankBatchObject *self) +{ + Py_CLEAR(self->_controller); + Py_CLEAR(self->_multicalls); + Py_CLEAR(self->_rpc_calls); + Py_CLEAR(self->__check_len); + return 0; +} + +static void +_batch___DankBatch_dealloc(dank_mids____batch___DankBatchObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, _batch___DankBatch_dealloc) + _batch___DankBatch_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem _batch___DankBatch_vtable[5]; +static bool +CPyDef__batch___DankBatch_trait_vtable_setup(void) +{ + CPyVTableItem _batch___DankBatch_vtable_scratch[] = { + (CPyVTableItem)CPyDef__batch___DankBatch_____init__, + (CPyVTableItem)CPyDef__batch___DankBatch_____repr__, + (CPyVTableItem)CPyDef__batch___DankBatch_____await__, + (CPyVTableItem)CPyDef__batch___DankBatch____await, + (CPyVTableItem)CPyDef__batch___DankBatch___coroutines, + }; + memcpy(_batch___DankBatch_vtable, _batch___DankBatch_vtable_scratch, sizeof(_batch___DankBatch_vtable)); + return 1; +} + +static PyObject * +_batch___DankBatch_get_controller(dank_mids____batch___DankBatchObject *self, void *closure); +static int +_batch___DankBatch_set_controller(dank_mids____batch___DankBatchObject *self, PyObject *value, void *closure); +static PyObject * +_batch___DankBatch_get_multicalls(dank_mids____batch___DankBatchObject *self, void *closure); +static int +_batch___DankBatch_set_multicalls(dank_mids____batch___DankBatchObject *self, PyObject *value, void *closure); +static PyObject * +_batch___DankBatch_get_rpc_calls(dank_mids____batch___DankBatchObject *self, void *closure); +static int +_batch___DankBatch_set_rpc_calls(dank_mids____batch___DankBatchObject *self, PyObject *value, void *closure); +static PyObject * +_batch___DankBatch_get__awaited(dank_mids____batch___DankBatchObject *self, void *closure); +static int +_batch___DankBatch_set__awaited(dank_mids____batch___DankBatchObject *self, PyObject *value, void *closure); +static PyObject * +_batch___DankBatch_get__check_len(dank_mids____batch___DankBatchObject *self, void *closure); +static int +_batch___DankBatch_set__check_len(dank_mids____batch___DankBatchObject *self, PyObject *value, void *closure); +static PyObject * +_batch___DankBatch_get_coroutines(dank_mids____batch___DankBatchObject *self, void *closure); + +static PyGetSetDef _batch___DankBatch_getseters[] = { + {"controller", + (getter)_batch___DankBatch_get_controller, (setter)_batch___DankBatch_set_controller, + NULL, NULL}, + {"multicalls", + (getter)_batch___DankBatch_get_multicalls, (setter)_batch___DankBatch_set_multicalls, + NULL, NULL}, + {"rpc_calls", + (getter)_batch___DankBatch_get_rpc_calls, (setter)_batch___DankBatch_set_rpc_calls, + NULL, NULL}, + {"_awaited", + (getter)_batch___DankBatch_get__awaited, (setter)_batch___DankBatch_set__awaited, + NULL, NULL}, + {"_check_len", + (getter)_batch___DankBatch_get__check_len, (setter)_batch___DankBatch_set__check_len, + NULL, NULL}, + {"coroutines", + (getter)_batch___DankBatch_get_coroutines, + NULL, NULL, NULL}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _batch___DankBatch_methods[] = { + {"__init__", + (PyCFunction)CPyPy__batch___DankBatch_____init__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__init__($self, controller, multicalls, rpc_calls)\n--\n\n")}, + {"__repr__", + (PyCFunction)CPyPy__batch___DankBatch_____repr__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__repr__($self, /)\n--\n\n")}, + {"__await__", + (PyCFunction)CPyPy__batch___DankBatch_____await__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__await__($self)\n--\n\n")}, + {"_await", + (PyCFunction)CPyPy__batch___DankBatch____await, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_await($self)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__batch___DankBatch_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "DankBatch", + .tp_new = _batch___DankBatch_new, + .tp_dealloc = (destructor)_batch___DankBatch_dealloc, + .tp_traverse = (traverseproc)_batch___DankBatch_traverse, + .tp_clear = (inquiry)_batch___DankBatch_clear, + .tp_getset = _batch___DankBatch_getseters, + .tp_methods = _batch___DankBatch_methods, + .tp_init = _batch___DankBatch_init, + .tp_repr = CPyDef__batch___DankBatch_____repr__, + .tp_as_async = &_batch___DankBatch_as_async, + .tp_basicsize = sizeof(dank_mids____batch___DankBatchObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("DankBatch(controller, multicalls, rpc_calls)\n--\n\n"), +}; +static PyTypeObject *CPyType__batch___DankBatch_template = &CPyType__batch___DankBatch_template_; + +PyObject *CPyDef__batch_____mypyc__DankBatch_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____batch___DankBatchObject *self; + self = (dank_mids____batch___DankBatchObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = _batch___DankBatch_vtable; + self->__awaited = 2; + return (PyObject *)self; +} + +PyObject *CPyDef__batch___DankBatch(PyObject *cpy_r_controller, PyObject *cpy_r_multicalls, PyObject *cpy_r_rpc_calls) +{ + PyObject *self = CPyDef__batch_____mypyc__DankBatch_setup((PyObject *)CPyType__batch___DankBatch); + if (self == NULL) + return NULL; + char res = CPyDef__batch___DankBatch_____init__(self, cpy_r_controller, cpy_r_multicalls, cpy_r_rpc_calls); + if (res == 2) { + Py_DECREF(self); + return NULL; + } + return self; +} + +static PyObject * +_batch___DankBatch_get_controller(dank_mids____batch___DankBatchObject *self, void *closure) +{ + if (unlikely(self->_controller == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'controller' of 'DankBatch' undefined"); + return NULL; + } + CPy_INCREF(self->_controller); + PyObject *retval = self->_controller; + return retval; +} + +static int +_batch___DankBatch_set_controller(dank_mids____batch___DankBatchObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'DankBatch' object attribute 'controller' cannot be deleted"); + return -1; + } + if (self->_controller != NULL) { + CPy_DECREF(self->_controller); + } + PyObject *tmp = value; + CPy_INCREF(tmp); + self->_controller = tmp; + return 0; +} + +static PyObject * +_batch___DankBatch_get_multicalls(dank_mids____batch___DankBatchObject *self, void *closure) +{ + if (unlikely(self->_multicalls == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'multicalls' of 'DankBatch' undefined"); + return NULL; + } + CPy_INCREF(self->_multicalls); + PyObject *retval = self->_multicalls; + return retval; +} + +static int +_batch___DankBatch_set_multicalls(dank_mids____batch___DankBatchObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'DankBatch' object attribute 'multicalls' cannot be deleted"); + return -1; + } + if (self->_multicalls != NULL) { + CPy_DECREF(self->_multicalls); + } + PyObject *tmp; + if (likely(PyDict_Check(value))) + tmp = value; + else { + CPy_TypeError("dict", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_multicalls = tmp; + return 0; +} + +static PyObject * +_batch___DankBatch_get_rpc_calls(dank_mids____batch___DankBatchObject *self, void *closure) +{ + if (unlikely(self->_rpc_calls == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'rpc_calls' of 'DankBatch' undefined"); + return NULL; + } + CPy_INCREF(self->_rpc_calls); + PyObject *retval = self->_rpc_calls; + return retval; +} + +static int +_batch___DankBatch_set_rpc_calls(dank_mids____batch___DankBatchObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'DankBatch' object attribute 'rpc_calls' cannot be deleted"); + return -1; + } + if (self->_rpc_calls != NULL) { + CPy_DECREF(self->_rpc_calls); + } + PyObject *tmp = value; + CPy_INCREF(tmp); + self->_rpc_calls = tmp; + return 0; +} + +static PyObject * +_batch___DankBatch_get__awaited(dank_mids____batch___DankBatchObject *self, void *closure) +{ + PyObject *retval = self->__awaited ? Py_True : Py_False; + CPy_INCREF(retval); + return retval; +} + +static int +_batch___DankBatch_set__awaited(dank_mids____batch___DankBatchObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'DankBatch' object attribute '_awaited' cannot be deleted"); + return -1; + } + char tmp; + if (unlikely(!PyBool_Check(value))) { + CPy_TypeError("bool", value); return -1; + } else + tmp = value == Py_True; + self->__awaited = tmp; + return 0; +} + +static PyObject * +_batch___DankBatch_get__check_len(dank_mids____batch___DankBatchObject *self, void *closure) +{ + if (unlikely(self->__check_len == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '_check_len' of 'DankBatch' undefined"); + return NULL; + } + CPy_INCREF(self->__check_len); + PyObject *retval = self->__check_len; + return retval; +} + +static int +_batch___DankBatch_set__check_len(dank_mids____batch___DankBatchObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'DankBatch' object attribute '_check_len' cannot be deleted"); + return -1; + } + if (self->__check_len != NULL) { + CPy_DECREF(self->__check_len); + } + PyObject *tmp = value; + CPy_INCREF(tmp); + self->__check_len = tmp; + return 0; +} + +static PyObject * +_batch___DankBatch_get_coroutines(dank_mids____batch___DankBatchObject *self, void *closure) +{ + return CPyDef__batch___DankBatch___coroutines((PyObject *) self); +} + +static PyAsyncMethods _batch____await_DankBatch_gen_as_async = { + .am_await = CPyDef__batch____await_DankBatch_gen_____await__, +}; +PyObject *CPyDef__batch_____mypyc___3_await_DankBatch_gen_setup(PyObject *cpy_r_type); +PyObject *CPyDef__batch____await_DankBatch_gen(void); + +static PyObject * +_batch____await_DankBatch_gen_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType__batch____await_DankBatch_gen) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef__batch_____mypyc___3_await_DankBatch_gen_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +_batch____await_DankBatch_gen_traverse(dank_mids____batch____await_DankBatch_genObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_generator_attribute__self); + Py_VISIT(self->___mypyc_generator_attribute__batches); + Py_VISIT(self->___mypyc_generator_attribute__last_failure); + Py_VISIT(self->___mypyc_temp__0); + Py_VISIT(self->___mypyc_temp__2); + Py_VISIT(self->___mypyc_generator_attribute__coro); + Py_VISIT(self->___mypyc_temp__4); + Py_VISIT(self->___mypyc_generator_attribute__batch); + Py_VISIT(self->___mypyc_generator_attribute__task); + Py_VISIT(self->___mypyc_temp__6); + Py_VISIT(self->___mypyc_temp__7.f0); + Py_VISIT(self->___mypyc_temp__7.f1); + Py_VISIT(self->___mypyc_temp__7.f2); + Py_VISIT(self->___mypyc_temp__8.f0); + Py_VISIT(self->___mypyc_temp__8.f1); + Py_VISIT(self->___mypyc_temp__8.f2); + Py_VISIT(self->___mypyc_generator_attribute__e); + Py_VISIT(self->___mypyc_temp__9); + Py_VISIT(self->___mypyc_temp__10.f0); + Py_VISIT(self->___mypyc_temp__10.f1); + Py_VISIT(self->___mypyc_temp__10.f2); + return 0; +} + +static int +_batch____await_DankBatch_gen_clear(dank_mids____batch____await_DankBatch_genObject *self) +{ + Py_CLEAR(self->___mypyc_generator_attribute__self); + Py_CLEAR(self->___mypyc_generator_attribute__batches); + Py_CLEAR(self->___mypyc_generator_attribute__last_failure); + Py_CLEAR(self->___mypyc_temp__0); + Py_CLEAR(self->___mypyc_temp__2); + Py_CLEAR(self->___mypyc_generator_attribute__coro); + Py_CLEAR(self->___mypyc_temp__4); + Py_CLEAR(self->___mypyc_generator_attribute__batch); + Py_CLEAR(self->___mypyc_generator_attribute__task); + Py_CLEAR(self->___mypyc_temp__6); + Py_CLEAR(self->___mypyc_temp__7.f0); + Py_CLEAR(self->___mypyc_temp__7.f1); + Py_CLEAR(self->___mypyc_temp__7.f2); + Py_CLEAR(self->___mypyc_temp__8.f0); + Py_CLEAR(self->___mypyc_temp__8.f1); + Py_CLEAR(self->___mypyc_temp__8.f2); + Py_CLEAR(self->___mypyc_generator_attribute__e); + Py_CLEAR(self->___mypyc_temp__9); + Py_CLEAR(self->___mypyc_temp__10.f0); + Py_CLEAR(self->___mypyc_temp__10.f1); + Py_CLEAR(self->___mypyc_temp__10.f2); + return 0; +} + +static void +_batch____await_DankBatch_gen_dealloc(dank_mids____batch____await_DankBatch_genObject *self) +{ + PyObject_GC_UnTrack(self); + if (_batch____await_DankBatch_gen_free_instance == NULL) { + _batch____await_DankBatch_gen_free_instance = self; + Py_CLEAR(self->___mypyc_generator_attribute__self); + self->___mypyc_next_label__ = -113; + Py_CLEAR(self->___mypyc_generator_attribute__batches); + Py_CLEAR(self->___mypyc_generator_attribute__last_failure); + Py_CLEAR(self->___mypyc_temp__0); + self->___mypyc_temp__1 = -113; + Py_CLEAR(self->___mypyc_temp__2); + self->___mypyc_temp__3 = -113; + Py_CLEAR(self->___mypyc_generator_attribute__coro); + Py_CLEAR(self->___mypyc_temp__4); + self->___mypyc_temp__5 = -113; + Py_CLEAR(self->___mypyc_generator_attribute__batch); + Py_CLEAR(self->___mypyc_generator_attribute__task); + Py_CLEAR(self->___mypyc_temp__6); + Py_CLEAR(self->___mypyc_temp__7.f0); + Py_CLEAR(self->___mypyc_temp__7.f1); + Py_CLEAR(self->___mypyc_temp__7.f2); + Py_CLEAR(self->___mypyc_temp__8.f0); + Py_CLEAR(self->___mypyc_temp__8.f1); + Py_CLEAR(self->___mypyc_temp__8.f2); + Py_CLEAR(self->___mypyc_generator_attribute__e); + Py_CLEAR(self->___mypyc_temp__9); + Py_CLEAR(self->___mypyc_temp__10.f0); + Py_CLEAR(self->___mypyc_temp__10.f1); + Py_CLEAR(self->___mypyc_temp__10.f2); + return; + } + CPy_TRASHCAN_BEGIN(self, _batch____await_DankBatch_gen_dealloc) + _batch____await_DankBatch_gen_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem _batch____await_DankBatch_gen_vtable[7]; +static bool +CPyDef__batch____await_DankBatch_gen_trait_vtable_setup(void) +{ + CPyVTableItem _batch____await_DankBatch_gen_vtable_scratch[] = { + (CPyVTableItem)CPyDef__batch____await_DankBatch_gen_____mypyc_generator_helper__, + (CPyVTableItem)CPyDef__batch____await_DankBatch_gen_____next__, + (CPyVTableItem)CPyDef__batch____await_DankBatch_gen___send, + (CPyVTableItem)CPyDef__batch____await_DankBatch_gen_____iter__, + (CPyVTableItem)CPyDef__batch____await_DankBatch_gen___throw, + (CPyVTableItem)CPyDef__batch____await_DankBatch_gen___close, + (CPyVTableItem)CPyDef__batch____await_DankBatch_gen_____await__, + }; + memcpy(_batch____await_DankBatch_gen_vtable, _batch____await_DankBatch_gen_vtable_scratch, sizeof(_batch____await_DankBatch_gen_vtable)); + return 1; +} + +static PyMethodDef _batch____await_DankBatch_gen_methods[] = { + {"__next__", + (PyCFunction)CPyPy__batch____await_DankBatch_gen_____next__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__next__()\n--\n\n")}, + {"send", + (PyCFunction)CPyPy__batch____await_DankBatch_gen___send, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("send($arg)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy__batch____await_DankBatch_gen_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__()\n--\n\n")}, + {"throw", + (PyCFunction)CPyPy__batch____await_DankBatch_gen___throw, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"close", + (PyCFunction)CPyPy__batch____await_DankBatch_gen___close, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("close()\n--\n\n")}, + {"__await__", + (PyCFunction)CPyPy__batch____await_DankBatch_gen_____await__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__await__()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__batch____await_DankBatch_gen_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "_await_DankBatch_gen", + .tp_new = _batch____await_DankBatch_gen_new, + .tp_dealloc = (destructor)_batch____await_DankBatch_gen_dealloc, + .tp_traverse = (traverseproc)_batch____await_DankBatch_gen_traverse, + .tp_clear = (inquiry)_batch____await_DankBatch_gen_clear, + .tp_methods = _batch____await_DankBatch_gen_methods, + .tp_iter = CPyDef__batch____await_DankBatch_gen_____iter__, + .tp_iternext = CPyDef__batch____await_DankBatch_gen_____next__, + .tp_as_async = &_batch____await_DankBatch_gen_as_async, + .tp_basicsize = sizeof(dank_mids____batch____await_DankBatch_genObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("_await_DankBatch_gen()\n--\n\n"), +}; +static PyTypeObject *CPyType__batch____await_DankBatch_gen_template = &CPyType__batch____await_DankBatch_gen_template_; + +PyObject *CPyDef__batch_____mypyc___3_await_DankBatch_gen_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____batch____await_DankBatch_genObject *self; + if (_batch____await_DankBatch_gen_free_instance != NULL) { + self = _batch____await_DankBatch_gen_free_instance; + _batch____await_DankBatch_gen_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids____batch____await_DankBatch_genObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = _batch____await_DankBatch_gen_vtable; + self->___mypyc_next_label__ = -113; + self->___mypyc_temp__1 = -113; + self->___mypyc_temp__3 = -113; + self->___mypyc_temp__5 = -113; + self->___mypyc_temp__7 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__8 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__10 = (tuple_T3OOO) { NULL, NULL, NULL }; + return (PyObject *)self; +} + +PyObject *CPyDef__batch____await_DankBatch_gen(void) +{ + PyObject *self = CPyDef__batch_____mypyc___3_await_DankBatch_gen_setup((PyObject *)CPyType__batch____await_DankBatch_gen); + if (self == NULL) + return NULL; + return self; +} + + +PyObject *CPyDef__batch_____mypyc__coroutines_DankBatch_gen_setup(PyObject *cpy_r_type); +PyObject *CPyDef__batch___coroutines_DankBatch_gen(void); + +static PyObject * +_batch___coroutines_DankBatch_gen_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType__batch___coroutines_DankBatch_gen) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef__batch_____mypyc__coroutines_DankBatch_gen_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +_batch___coroutines_DankBatch_gen_traverse(dank_mids____batch___coroutines_DankBatch_genObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_generator_attribute__self); + Py_VISIT(self->___mypyc_generator_attribute__working_batch); + Py_VISIT(self->___mypyc_generator_attribute__batch_append); + Py_VISIT(self->___mypyc_generator_attribute__check_len); + Py_VISIT(self->___mypyc_temp__11); + Py_VISIT(self->___mypyc_temp__14); + Py_VISIT(self->___mypyc_generator_attribute__mcall); + Py_VISIT(self->___mypyc_generator_attribute__call); + return 0; +} + +static int +_batch___coroutines_DankBatch_gen_clear(dank_mids____batch___coroutines_DankBatch_genObject *self) +{ + Py_CLEAR(self->___mypyc_generator_attribute__self); + Py_CLEAR(self->___mypyc_generator_attribute__working_batch); + Py_CLEAR(self->___mypyc_generator_attribute__batch_append); + Py_CLEAR(self->___mypyc_generator_attribute__check_len); + Py_CLEAR(self->___mypyc_temp__11); + Py_CLEAR(self->___mypyc_temp__14); + Py_CLEAR(self->___mypyc_generator_attribute__mcall); + Py_CLEAR(self->___mypyc_generator_attribute__call); + return 0; +} + +static void +_batch___coroutines_DankBatch_gen_dealloc(dank_mids____batch___coroutines_DankBatch_genObject *self) +{ + PyObject_GC_UnTrack(self); + if (_batch___coroutines_DankBatch_gen_free_instance == NULL) { + _batch___coroutines_DankBatch_gen_free_instance = self; + Py_CLEAR(self->___mypyc_generator_attribute__self); + self->___mypyc_next_label__ = -113; + Py_CLEAR(self->___mypyc_generator_attribute__working_batch); + Py_CLEAR(self->___mypyc_generator_attribute__batch_append); + Py_CLEAR(self->___mypyc_generator_attribute__check_len); + Py_CLEAR(self->___mypyc_temp__11); + self->___mypyc_temp__12 = CPY_INT_TAG; + self->___mypyc_temp__13 = -113; + Py_CLEAR(self->___mypyc_temp__14); + Py_CLEAR(self->___mypyc_generator_attribute__mcall); + Py_CLEAR(self->___mypyc_generator_attribute__call); + return; + } + CPy_TRASHCAN_BEGIN(self, _batch___coroutines_DankBatch_gen_dealloc) + _batch___coroutines_DankBatch_gen_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem _batch___coroutines_DankBatch_gen_vtable[6]; +static bool +CPyDef__batch___coroutines_DankBatch_gen_trait_vtable_setup(void) +{ + CPyVTableItem _batch___coroutines_DankBatch_gen_vtable_scratch[] = { + (CPyVTableItem)CPyDef__batch___coroutines_DankBatch_gen_____mypyc_generator_helper__, + (CPyVTableItem)CPyDef__batch___coroutines_DankBatch_gen_____next__, + (CPyVTableItem)CPyDef__batch___coroutines_DankBatch_gen___send, + (CPyVTableItem)CPyDef__batch___coroutines_DankBatch_gen_____iter__, + (CPyVTableItem)CPyDef__batch___coroutines_DankBatch_gen___throw, + (CPyVTableItem)CPyDef__batch___coroutines_DankBatch_gen___close, + }; + memcpy(_batch___coroutines_DankBatch_gen_vtable, _batch___coroutines_DankBatch_gen_vtable_scratch, sizeof(_batch___coroutines_DankBatch_gen_vtable)); + return 1; +} + +static PyMethodDef _batch___coroutines_DankBatch_gen_methods[] = { + {"__next__", + (PyCFunction)CPyPy__batch___coroutines_DankBatch_gen_____next__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__next__()\n--\n\n")}, + {"send", + (PyCFunction)CPyPy__batch___coroutines_DankBatch_gen___send, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("send($arg)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy__batch___coroutines_DankBatch_gen_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__()\n--\n\n")}, + {"throw", + (PyCFunction)CPyPy__batch___coroutines_DankBatch_gen___throw, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"close", + (PyCFunction)CPyPy__batch___coroutines_DankBatch_gen___close, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("close()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__batch___coroutines_DankBatch_gen_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "coroutines_DankBatch_gen", + .tp_new = _batch___coroutines_DankBatch_gen_new, + .tp_dealloc = (destructor)_batch___coroutines_DankBatch_gen_dealloc, + .tp_traverse = (traverseproc)_batch___coroutines_DankBatch_gen_traverse, + .tp_clear = (inquiry)_batch___coroutines_DankBatch_gen_clear, + .tp_methods = _batch___coroutines_DankBatch_gen_methods, + .tp_iter = CPyDef__batch___coroutines_DankBatch_gen_____iter__, + .tp_iternext = CPyDef__batch___coroutines_DankBatch_gen_____next__, + .tp_basicsize = sizeof(dank_mids____batch___coroutines_DankBatch_genObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("coroutines_DankBatch_gen()\n--\n\n"), +}; +static PyTypeObject *CPyType__batch___coroutines_DankBatch_gen_template = &CPyType__batch___coroutines_DankBatch_gen_template_; + +PyObject *CPyDef__batch_____mypyc__coroutines_DankBatch_gen_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____batch___coroutines_DankBatch_genObject *self; + if (_batch___coroutines_DankBatch_gen_free_instance != NULL) { + self = _batch___coroutines_DankBatch_gen_free_instance; + _batch___coroutines_DankBatch_gen_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids____batch___coroutines_DankBatch_genObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = _batch___coroutines_DankBatch_gen_vtable; + self->___mypyc_next_label__ = -113; + self->___mypyc_temp__12 = CPY_INT_TAG; + self->___mypyc_temp__13 = -113; + return (PyObject *)self; +} + +PyObject *CPyDef__batch___coroutines_DankBatch_gen(void) +{ + PyObject *self = CPyDef__batch_____mypyc__coroutines_DankBatch_gen_setup((PyObject *)CPyType__batch___coroutines_DankBatch_gen); + if (self == NULL) + return NULL; + return self; +} + +static PyMethodDef _batchmodule_methods[] = { + {"_create_named_task", (PyCFunction)CPyPy__batch____create_named_task, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_create_named_task(awaitable)\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids____batch(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids____batch__internal, "__name__"); + CPyStatic__batch___globals = PyModule_GetDict(CPyModule_dank_mids____batch__internal); + if (unlikely(CPyStatic__batch___globals == NULL)) + goto fail; + CPyType__batch____await_DankBatch_gen = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType__batch____await_DankBatch_gen_template, NULL, modname); + if (unlikely(!CPyType__batch____await_DankBatch_gen)) + goto fail; + CPyType__batch___coroutines_DankBatch_gen = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType__batch___coroutines_DankBatch_gen_template, NULL, modname); + if (unlikely(!CPyType__batch___coroutines_DankBatch_gen)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef__batch_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids____batch__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic__batch___logger); + CPyStatic__batch___logger = NULL; + CPy_XDECREF(CPyStatic__batch___create_task); + CPyStatic__batch___create_task = NULL; + Py_CLEAR(CPyType__batch___DankBatch); + Py_CLEAR(CPyType__batch____await_DankBatch_gen); + Py_CLEAR(CPyType__batch___coroutines_DankBatch_gen); + return -1; +} +static struct PyModuleDef _batchmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids._batch", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + _batchmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids____batch(void) +{ + if (CPyModule_dank_mids____batch__internal) { + Py_INCREF(CPyModule_dank_mids____batch__internal); + return CPyModule_dank_mids____batch__internal; + } + CPyModule_dank_mids____batch__internal = PyModule_Create(&_batchmodule); + if (unlikely(CPyModule_dank_mids____batch__internal == NULL)) + goto fail; + if (CPyExec_dank_mids____batch(CPyModule_dank_mids____batch__internal) != 0) + goto fail; + return CPyModule_dank_mids____batch__internal; + fail: + return NULL; +} + +PyObject *CPyDef__batch____create_named_task(PyObject *cpy_r_awaitable) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + char cpy_r_r6; + PyObject **cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + cpy_r_r0 = CPy_TYPE(cpy_r_awaitable); + cpy_r_r1 = CPy_GetName(cpy_r_r0); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_create_named_task", 35, CPyStatic__batch___globals); + goto CPyL8; + } + if (likely(PyUnicode_Check(cpy_r_r1))) + cpy_r_r2 = cpy_r_r1; + else { + CPy_TypeErrorTraceback("dank_mids\\_batch.py", "_create_named_task", 35, CPyStatic__batch___globals, "str", cpy_r_r1); + goto CPyL8; + } + cpy_r_r3 = CPyStatics[3]; /* ' via DankBatch' */ + cpy_r_r4 = CPyStr_Build(2, cpy_r_r2, cpy_r_r3); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_create_named_task", 35, CPyStatic__batch___globals); + goto CPyL8; + } + cpy_r_r5 = CPyStatic__batch___create_task; + if (unlikely(cpy_r_r5 == NULL)) { + goto CPyL9; + } else + goto CPyL6; +CPyL4: ; + PyErr_SetString(PyExc_NameError, "value for final name \"create_task\" was not set"); + cpy_r_r6 = 0; + if (unlikely(!cpy_r_r6)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_create_named_task", 35, CPyStatic__batch___globals); + goto CPyL8; + } + CPy_Unreachable(); +CPyL6: ; + PyObject *cpy_r_r7[2] = {cpy_r_awaitable, cpy_r_r4}; + cpy_r_r8 = (PyObject **)&cpy_r_r7; + cpy_r_r9 = CPyStatics[905]; /* ('name',) */ + cpy_r_r10 = PyObject_Vectorcall(cpy_r_r5, cpy_r_r8, 1, cpy_r_r9); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_create_named_task", 35, CPyStatic__batch___globals); + goto CPyL10; + } + CPy_DECREF(cpy_r_r4); + return cpy_r_r10; +CPyL8: ; + cpy_r_r11 = NULL; + return cpy_r_r11; +CPyL9: ; + CPy_DecRef(cpy_r_r4); + goto CPyL4; +CPyL10: ; + CPy_DecRef(cpy_r_r4); + goto CPyL8; +} + +PyObject *CPyPy__batch____create_named_task(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"awaitable", 0}; + static CPyArg_Parser parser = {"O:_create_named_task", kwlist, 0}; + PyObject *obj_awaitable; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_awaitable)) { + return NULL; + } + PyObject *arg_awaitable = obj_awaitable; + PyObject *retval = CPyDef__batch____create_named_task(arg_awaitable); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "_create_named_task", 34, CPyStatic__batch___globals); + return NULL; +} + +char CPyDef__batch___DankBatch_____init__(PyObject *cpy_r_self, PyObject *cpy_r_controller, PyObject *cpy_r_multicalls, PyObject *cpy_r_rpc_calls) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + int32_t cpy_r_r6; + char cpy_r_r7; + char cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + char cpy_r_r11; + CPy_INCREF(cpy_r_controller); + ((dank_mids____batch___DankBatchObject *)cpy_r_self)->_controller = cpy_r_controller; + CPy_INCREF(cpy_r_multicalls); + ((dank_mids____batch___DankBatchObject *)cpy_r_self)->_multicalls = cpy_r_multicalls; + CPy_INCREF(cpy_r_rpc_calls); + ((dank_mids____batch___DankBatchObject *)cpy_r_self)->_rpc_calls = cpy_r_rpc_calls; + ((dank_mids____batch___DankBatchObject *)cpy_r_self)->__awaited = 0; + cpy_r_r0 = CPyStatics[5]; /* 'batcher' */ + cpy_r_r1 = CPyObject_GetAttr(cpy_r_controller, cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__init__", 74, CPyStatic__batch___globals); + goto CPyL8; + } + cpy_r_r2 = CPyStatics[6]; /* 'step' */ + cpy_r_r3 = CPyObject_GetAttr(cpy_r_r1, cpy_r_r2); + CPy_DECREF(cpy_r_r1); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__init__", 74, CPyStatic__batch___globals); + goto CPyL8; + } + cpy_r_r4 = CPyStatics[872]; /* 0 */ + cpy_r_r5 = PyObject_RichCompare(cpy_r_r3, cpy_r_r4, 0); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__init__", 74, CPyStatic__batch___globals); + goto CPyL9; + } + cpy_r_r6 = PyObject_IsTrue(cpy_r_r5); + CPy_DECREF(cpy_r_r5); + cpy_r_r7 = cpy_r_r6 >= 0; + if (unlikely(!cpy_r_r7)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__init__", 74, CPyStatic__batch___globals); + goto CPyL9; + } + cpy_r_r8 = cpy_r_r6; + if (!cpy_r_r8) goto CPyL10; + cpy_r_r9 = cpy_r_r3; + goto CPyL7; +CPyL6: ; + cpy_r_r10 = CPyStatics[872]; /* 0 */ + cpy_r_r9 = cpy_r_r10; +CPyL7: ; + ((dank_mids____batch___DankBatchObject *)cpy_r_self)->__check_len = cpy_r_r9; + return 1; +CPyL8: ; + cpy_r_r11 = 2; + return cpy_r_r11; +CPyL9: ; + CPy_DecRef(cpy_r_r3); + goto CPyL8; +CPyL10: ; + CPy_DECREF(cpy_r_r3); + goto CPyL6; +} + +PyObject *CPyPy__batch___DankBatch_____init__(PyObject *self, PyObject *args, PyObject *kw) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"controller", "multicalls", "rpc_calls", 0}; + PyObject *obj_controller; + PyObject *obj_multicalls; + PyObject *obj_rpc_calls; + if (!CPyArg_ParseTupleAndKeywords(args, kw, "OOO", "__init__", kwlist, &obj_controller, &obj_multicalls, &obj_rpc_calls)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__batch___DankBatch)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._batch.DankBatch", obj_self); + goto fail; + } + PyObject *arg_controller = obj_controller; + PyObject *arg_multicalls; + if (likely(PyDict_Check(obj_multicalls))) + arg_multicalls = obj_multicalls; + else { + CPy_TypeError("dict", obj_multicalls); + goto fail; + } + PyObject *arg_rpc_calls = obj_rpc_calls; + char retval = CPyDef__batch___DankBatch_____init__(arg_self, arg_controller, arg_multicalls, arg_rpc_calls); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "__init__", 56, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch___DankBatch_____repr__(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + CPyTagged cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject **cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + cpy_r_r0 = CPyStatics[7]; /* '' */ + cpy_r_r11 = CPyStr_Build(3, cpy_r_r0, cpy_r_r9, cpy_r_r10); + CPy_DECREF(cpy_r_r9); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__repr__", 77, CPyStatic__batch___globals); + goto CPyL5; + } + return cpy_r_r11; +CPyL5: ; + cpy_r_r12 = NULL; + return cpy_r_r12; +CPyL6: ; + CPyTagged_DecRef(cpy_r_r1); + goto CPyL5; +CPyL7: ; + CPy_DecRef(cpy_r_r5); + goto CPyL5; +} + +PyObject *CPyPy__batch___DankBatch_____repr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__repr__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__batch___DankBatch)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._batch.DankBatch", obj_self); + goto fail; + } + PyObject *retval = CPyDef__batch___DankBatch_____repr__(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "__repr__", 76, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch___DankBatch_____await__(PyObject *cpy_r_self) { + char cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r6; + PyObject *cpy_r_r7; + char cpy_r_r8; + PyObject *cpy_r_r9; + CPyTagged cpy_r_r10; + int64_t cpy_r_r11; + PyObject *cpy_r_r12; + tuple_T3CIO cpy_r_r13; + CPyTagged cpy_r_r14; + char cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject **cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + char cpy_r_r23; + char cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + int32_t cpy_r_r29; + char cpy_r_r30; + char cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject **cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + cpy_r_r0 = ((dank_mids____batch___DankBatchObject *)cpy_r_self)->__awaited; + if (!cpy_r_r0) goto CPyL5; +CPyL1: ; + cpy_r_r1 = CPyStatics[10]; /* 'The batch has already been awaited' */ + cpy_r_r2 = CPyModule_builtins; + cpy_r_r3 = CPyStatics[11]; /* 'RuntimeError' */ + cpy_r_r4 = CPyObject_GetAttr(cpy_r_r2, cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__await__", 94, CPyStatic__batch___globals); + goto CPyL18; + } + PyObject *cpy_r_r5[1] = {cpy_r_r1}; + cpy_r_r6 = (PyObject **)&cpy_r_r5; + cpy_r_r7 = PyObject_Vectorcall(cpy_r_r4, cpy_r_r6, 1, 0); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__await__", 94, CPyStatic__batch___globals); + goto CPyL18; + } + CPy_Raise(cpy_r_r7); + CPy_DECREF(cpy_r_r7); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__await__", 94, CPyStatic__batch___globals); + goto CPyL18; + } + CPy_Unreachable(); +CPyL5: ; + ((dank_mids____batch___DankBatchObject *)cpy_r_self)->__awaited = 1; + cpy_r_r9 = ((dank_mids____batch___DankBatchObject *)cpy_r_self)->_multicalls; + CPy_INCREF(cpy_r_r9); + cpy_r_r10 = 0; + cpy_r_r11 = PyDict_Size(cpy_r_r9); + cpy_r_r12 = CPyDict_GetValuesIter(cpy_r_r9); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__await__", 96, CPyStatic__batch___globals); + goto CPyL19; + } +CPyL6: ; + cpy_r_r13 = CPyDict_NextValue(cpy_r_r12, cpy_r_r10); + cpy_r_r14 = cpy_r_r13.f1; + cpy_r_r10 = cpy_r_r14; + cpy_r_r15 = cpy_r_r13.f0; + if (!cpy_r_r15) goto CPyL20; + cpy_r_r16 = cpy_r_r13.f2; + CPy_INCREF(cpy_r_r16); + CPy_DECREF(cpy_r_r13.f2); + cpy_r_r17 = CPyStatics[12]; /* 'start' */ + cpy_r_r18 = 0 ? Py_True : Py_False; + PyObject *cpy_r_r19[3] = {cpy_r_r16, cpy_r_self, cpy_r_r18}; + cpy_r_r20 = (PyObject **)&cpy_r_r19; + cpy_r_r21 = CPyStatics[906]; /* ('cleanup',) */ + cpy_r_r22 = PyObject_VectorcallMethod(cpy_r_r17, cpy_r_r20, 9223372036854775810ULL, cpy_r_r21); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__await__", 97, CPyStatic__batch___globals); + goto CPyL21; + } else + goto CPyL22; +CPyL8: ; + CPy_DECREF(cpy_r_r16); + cpy_r_r23 = CPyDict_CheckSize(cpy_r_r9, cpy_r_r11); + if (unlikely(!cpy_r_r23)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__await__", 96, CPyStatic__batch___globals); + goto CPyL23; + } else + goto CPyL6; +CPyL10: ; + cpy_r_r24 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r24)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__await__", 96, CPyStatic__batch___globals); + goto CPyL18; + } + cpy_r_r25 = ((dank_mids____batch___DankBatchObject *)cpy_r_self)->_rpc_calls; + CPy_INCREF(cpy_r_r25); + cpy_r_r26 = PyObject_GetIter(cpy_r_r25); + CPy_DECREF(cpy_r_r25); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__await__", 98, CPyStatic__batch___globals); + goto CPyL18; + } +CPyL12: ; + cpy_r_r27 = PyIter_Next(cpy_r_r26); + if (cpy_r_r27 == NULL) goto CPyL24; + cpy_r_r28 = CPyStatics[14]; /* '_batch' */ + cpy_r_r29 = PyObject_SetAttr(cpy_r_r27, cpy_r_r28, cpy_r_self); + CPy_DECREF(cpy_r_r27); + cpy_r_r30 = cpy_r_r29 >= 0; + if (unlikely(!cpy_r_r30)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__await__", 99, CPyStatic__batch___globals); + goto CPyL25; + } else + goto CPyL12; +CPyL14: ; + cpy_r_r31 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r31)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__await__", 98, CPyStatic__batch___globals); + goto CPyL18; + } + cpy_r_r32 = CPyDef__batch___DankBatch____await(cpy_r_self); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__await__", 100, CPyStatic__batch___globals); + goto CPyL18; + } + cpy_r_r33 = CPyStatics[15]; /* '__await__' */ + PyObject *cpy_r_r34[1] = {cpy_r_r32}; + cpy_r_r35 = (PyObject **)&cpy_r_r34; + cpy_r_r36 = PyObject_VectorcallMethod(cpy_r_r33, cpy_r_r35, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r36 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "__await__", 100, CPyStatic__batch___globals); + goto CPyL26; + } + CPy_DECREF_NO_IMM(cpy_r_r32); + return cpy_r_r36; +CPyL18: ; + cpy_r_r37 = NULL; + return cpy_r_r37; +CPyL19: ; + CPy_DecRef(cpy_r_r9); + goto CPyL18; +CPyL20: ; + CPy_DECREF(cpy_r_r9); + CPy_DECREF(cpy_r_r12); + CPy_DECREF(cpy_r_r13.f2); + goto CPyL10; +CPyL21: ; + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r12); + CPy_DecRef(cpy_r_r16); + goto CPyL18; +CPyL22: ; + CPy_DECREF(cpy_r_r22); + goto CPyL8; +CPyL23: ; + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r12); + goto CPyL18; +CPyL24: ; + CPy_DECREF(cpy_r_r26); + goto CPyL14; +CPyL25: ; + CPy_DecRef(cpy_r_r26); + goto CPyL18; +CPyL26: ; + CPy_DecRef(cpy_r_r32); + goto CPyL18; +} + +PyObject *CPyPy__batch___DankBatch_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__await__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__batch___DankBatch)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._batch.DankBatch", obj_self); + goto fail; + } + PyObject *retval = CPyDef__batch___DankBatch_____await__(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "__await__", 79, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch____await_DankBatch_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + int32_t cpy_r_r4; + PyObject *cpy_r_r5; + char cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + char cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + char cpy_r_r15; + PyObject *cpy_r_r16; + CPyPtr cpy_r_r17; + int64_t cpy_r_r18; + PyObject *cpy_r_r19; + char cpy_r_r20; + char cpy_r_r21; + PyObject *cpy_r_r22; + CPyPtr cpy_r_r23; + int64_t cpy_r_r24; + int64_t cpy_r_r25; + char cpy_r_r26; + PyObject *cpy_r_r27; + int64_t cpy_r_r28; + CPyPtr cpy_r_r29; + CPyPtr cpy_r_r30; + int64_t cpy_r_r31; + CPyPtr cpy_r_r32; + PyObject *cpy_r_r33; + char cpy_r_r34; + int64_t cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + int64_t cpy_r_r38; + int64_t cpy_r_r39; + char cpy_r_r40; + char cpy_r_r41; + char cpy_r_r42; + PyObject *cpy_r_r43; + CPyPtr cpy_r_r44; + int64_t cpy_r_r45; + int64_t cpy_r_r46; + char cpy_r_r47; + PyObject *cpy_r_r48; + CPyPtr cpy_r_r49; + int64_t cpy_r_r50; + int64_t cpy_r_r51; + char cpy_r_r52; + PyObject *cpy_r_r53; + int64_t cpy_r_r54; + CPyPtr cpy_r_r55; + CPyPtr cpy_r_r56; + int64_t cpy_r_r57; + CPyPtr cpy_r_r58; + PyObject *cpy_r_r59; + char cpy_r_r60; + PyObject *cpy_r_r61; + int64_t cpy_r_r62; + CPyPtr cpy_r_r63; + CPyPtr cpy_r_r64; + int64_t cpy_r_r65; + CPyPtr cpy_r_r66; + PyObject *cpy_r_r67; + char cpy_r_r68; + PyObject *cpy_r_r69; + PyObject *cpy_r_r70; + char cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + char cpy_r_r77; + PyObject *cpy_r_r78; + char cpy_r_r79; + PyObject *cpy_r_r80; + char cpy_r_r81; + tuple_T3OOO cpy_r_r82; + char cpy_r_r83; + PyObject **cpy_r_r84; + PyObject *cpy_r_r85; + char cpy_r_r86; + tuple_T3OOO cpy_r_r87; + tuple_T3OOO cpy_r_r88; + tuple_T3OOO cpy_r_r89; + char cpy_r_r90; + PyObject *cpy_r_r91; + PyObject *cpy_r_r92; + PyObject *cpy_r_r93; + tuple_T3OOO cpy_r_r94; + char cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + PyObject *cpy_r_r98; + char cpy_r_r99; + PyObject *cpy_r_r100; + char cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + CPyPtr cpy_r_r104; + PyObject *cpy_r_r105; + char cpy_r_r106; + PyObject *cpy_r_r107; + char cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + char cpy_r_r111; + PyObject *cpy_r_r112; + char cpy_r_r113; + tuple_T3OOO cpy_r_r114; + tuple_T3OOO cpy_r_r115; + char cpy_r_r116; + int64_t cpy_r_r117; + int64_t cpy_r_r118; + char cpy_r_r119; + int64_t cpy_r_r120; + int64_t cpy_r_r121; + char cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + char cpy_r_r125; + PyObject *cpy_r_r126; + PyObject *cpy_r_r127; + char cpy_r_r128; + PyObject *cpy_r_r129; + PyObject *cpy_r_r130; + PyObject *cpy_r_r131; + PyObject *cpy_r_r132; + PyObject *cpy_r_r133; + char cpy_r_r134; + PyObject *cpy_r_r135; + char cpy_r_r136; + PyObject *cpy_r_r137; + char cpy_r_r138; + tuple_T3OOO cpy_r_r139; + char cpy_r_r140; + PyObject **cpy_r_r141; + PyObject *cpy_r_r142; + char cpy_r_r143; + tuple_T3OOO cpy_r_r144; + tuple_T3OOO cpy_r_r145; + tuple_T3OOO cpy_r_r146; + char cpy_r_r147; + PyObject *cpy_r_r148; + PyObject *cpy_r_r149; + PyObject *cpy_r_r150; + PyObject *cpy_r_r151; + char cpy_r_r152; + char cpy_r_r153; + char cpy_r_r154; + char cpy_r_r155; + char cpy_r_r156; + PyObject *cpy_r_r157; + 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____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__; + goto CPyL132; +CPyL1: ; + cpy_r_r5 = (PyObject *)&_Py_NoneStruct; + cpy_r_r6 = cpy_r_type != cpy_r_r5; + if (!cpy_r_r6) goto CPyL4; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 102, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_Unreachable(); +CPyL4: ; + cpy_r_r7 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "self", 114, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_INCREF_NO_IMM(cpy_r_r7); +CPyL5: ; + cpy_r_r8 = CPyDef__batch___DankBatch___coroutines(cpy_r_r7); + CPy_DECREF_NO_IMM(cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 114, CPyStatic__batch___globals); + goto CPyL137; + } +CPyL6: ; + cpy_r_r9 = PySequence_List(cpy_r_r8); + CPy_DECREF(cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 114, CPyStatic__batch___globals); + goto CPyL137; + } + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batches != NULL) { + CPy_DECREF_NO_IMM(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batches); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batches = cpy_r_r9; + cpy_r_r10 = 1; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 114, CPyStatic__batch___globals); + goto CPyL137; + } + cpy_r_r11 = Py_None; + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__last_failure != NULL) { + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__last_failure); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__last_failure = cpy_r_r11; + cpy_r_r12 = 1; + if (unlikely(!cpy_r_r12)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 116, CPyStatic__batch___globals); + goto CPyL137; + } + cpy_r_r13 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batches; + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "batches", 117, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_INCREF_NO_IMM(cpy_r_r13); +CPyL10: ; + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 != NULL) { + CPy_DECREF_NO_IMM(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 = cpy_r_r13; + cpy_r_r14 = 1; + if (unlikely(!cpy_r_r14)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", -1, CPyStatic__batch___globals); + goto CPyL137; + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1 = 0; + cpy_r_r15 = 1; + if (unlikely(!cpy_r_r15)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", -1, CPyStatic__batch___globals); + goto CPyL137; + } + cpy_r_r16 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batches; + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "batches", 117, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_INCREF_NO_IMM(cpy_r_r16); +CPyL13: ; + cpy_r_r17 = (CPyPtr)&((PyVarObject *)cpy_r_r16)->ob_size; + cpy_r_r18 = *(int64_t *)cpy_r_r17; + cpy_r_r19 = PyList_New(cpy_r_r18); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 117, CPyStatic__batch___globals); + goto CPyL138; + } + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__2 != NULL) { + CPy_DECREF_NO_IMM(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__2); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__2 = cpy_r_r16; + cpy_r_r20 = 1; + if (unlikely(!cpy_r_r20)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", -1, CPyStatic__batch___globals); + goto CPyL139; + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3 = 0; + cpy_r_r21 = 1; + if (unlikely(!cpy_r_r21)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", -1, CPyStatic__batch___globals); + goto CPyL139; + } +CPyL16: ; + cpy_r_r22 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__2; + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__2", 117, CPyStatic__batch___globals); + goto CPyL139; + } + CPy_INCREF_NO_IMM(cpy_r_r22); +CPyL17: ; + cpy_r_r23 = (CPyPtr)&((PyVarObject *)cpy_r_r22)->ob_size; + cpy_r_r24 = *(int64_t *)cpy_r_r23; + CPy_DECREF_NO_IMM(cpy_r_r22); + cpy_r_r25 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3; + if (unlikely(cpy_r_r25 == -113)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__3", 117, CPyStatic__batch___globals); + goto CPyL139; + } +CPyL18: ; + cpy_r_r26 = cpy_r_r25 < cpy_r_r24; + if (!cpy_r_r26) goto CPyL28; + cpy_r_r27 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__2; + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__2", 117, CPyStatic__batch___globals); + goto CPyL139; + } + CPy_INCREF_NO_IMM(cpy_r_r27); +CPyL20: ; + cpy_r_r28 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3; + if (unlikely(cpy_r_r28 == -113)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__3", 117, CPyStatic__batch___globals); + goto CPyL140; + } +CPyL21: ; + cpy_r_r29 = (CPyPtr)&((PyListObject *)cpy_r_r27)->ob_item; + cpy_r_r30 = *(CPyPtr *)cpy_r_r29; + cpy_r_r31 = cpy_r_r28 * 8; + cpy_r_r32 = cpy_r_r30 + cpy_r_r31; + cpy_r_r33 = *(PyObject * *)cpy_r_r32; + CPy_INCREF(cpy_r_r33); + CPy_DECREF_NO_IMM(cpy_r_r27); + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__coro != NULL) { + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__coro); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__coro = cpy_r_r33; + cpy_r_r34 = 1; + if (unlikely(!cpy_r_r34)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 117, CPyStatic__batch___globals); + goto CPyL139; + } + cpy_r_r35 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3; + if (unlikely(cpy_r_r35 == -113)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__3", -1, CPyStatic__batch___globals); + goto CPyL139; + } +CPyL23: ; + cpy_r_r36 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__coro; + if (unlikely(cpy_r_r36 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "coro", 117, CPyStatic__batch___globals); + goto CPyL139; + } + CPy_INCREF(cpy_r_r36); +CPyL24: ; + cpy_r_r37 = CPyDef__batch____create_named_task(cpy_r_r36); + CPy_DECREF(cpy_r_r36); + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 117, CPyStatic__batch___globals); + goto CPyL139; + } + CPyList_SetItemUnsafe(cpy_r_r19, cpy_r_r35, cpy_r_r37); + cpy_r_r38 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3; + if (unlikely(cpy_r_r38 == -113)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__3", 117, CPyStatic__batch___globals); + goto CPyL139; + } +CPyL27: ; + cpy_r_r39 = cpy_r_r38 + 1; + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3 = cpy_r_r39; + cpy_r_r40 = 1; + if (unlikely(!cpy_r_r40)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 117, CPyStatic__batch___globals); + goto CPyL139; + } else + goto CPyL16; +CPyL28: ; + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__4 != NULL) { + CPy_DECREF_NO_IMM(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__4); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__4 = cpy_r_r19; + cpy_r_r41 = 1; + if (unlikely(!cpy_r_r41)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", -1, CPyStatic__batch___globals); + goto CPyL137; + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__5 = 0; + cpy_r_r42 = 1; + if (unlikely(!cpy_r_r42)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", -1, CPyStatic__batch___globals); + goto CPyL137; + } +CPyL30: ; + cpy_r_r43 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0; + if (unlikely(cpy_r_r43 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__0", 117, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_INCREF_NO_IMM(cpy_r_r43); +CPyL31: ; + cpy_r_r44 = (CPyPtr)&((PyVarObject *)cpy_r_r43)->ob_size; + cpy_r_r45 = *(int64_t *)cpy_r_r44; + CPy_DECREF_NO_IMM(cpy_r_r43); + cpy_r_r46 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1; + if (unlikely(cpy_r_r46 == -113)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__1", 117, CPyStatic__batch___globals); + goto CPyL137; + } +CPyL32: ; + cpy_r_r47 = cpy_r_r46 < cpy_r_r45; + if (!cpy_r_r47) goto CPyL96; + cpy_r_r48 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__4; + if (unlikely(cpy_r_r48 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__4", 117, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_INCREF_NO_IMM(cpy_r_r48); +CPyL34: ; + cpy_r_r49 = (CPyPtr)&((PyVarObject *)cpy_r_r48)->ob_size; + cpy_r_r50 = *(int64_t *)cpy_r_r49; + CPy_DECREF_NO_IMM(cpy_r_r48); + cpy_r_r51 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__5; + if (unlikely(cpy_r_r51 == -113)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__5", 117, CPyStatic__batch___globals); + goto CPyL137; + } +CPyL35: ; + cpy_r_r52 = cpy_r_r51 < cpy_r_r50; + if (!cpy_r_r52) goto CPyL96; + cpy_r_r53 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0; + if (unlikely(cpy_r_r53 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__0", 117, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_INCREF_NO_IMM(cpy_r_r53); +CPyL37: ; + cpy_r_r54 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1; + if (unlikely(cpy_r_r54 == -113)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__1", 117, CPyStatic__batch___globals); + goto CPyL141; + } +CPyL38: ; + cpy_r_r55 = (CPyPtr)&((PyListObject *)cpy_r_r53)->ob_item; + cpy_r_r56 = *(CPyPtr *)cpy_r_r55; + cpy_r_r57 = cpy_r_r54 * 8; + cpy_r_r58 = cpy_r_r56 + cpy_r_r57; + cpy_r_r59 = *(PyObject * *)cpy_r_r58; + CPy_INCREF(cpy_r_r59); + CPy_DECREF_NO_IMM(cpy_r_r53); + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batch != NULL) { + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batch); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batch = cpy_r_r59; + cpy_r_r60 = 1; + if (unlikely(!cpy_r_r60)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 117, CPyStatic__batch___globals); + goto CPyL137; + } + cpy_r_r61 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__4; + if (unlikely(cpy_r_r61 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__4", 117, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_INCREF_NO_IMM(cpy_r_r61); +CPyL40: ; + cpy_r_r62 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__5; + if (unlikely(cpy_r_r62 == -113)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__5", 117, CPyStatic__batch___globals); + goto CPyL142; + } +CPyL41: ; + cpy_r_r63 = (CPyPtr)&((PyListObject *)cpy_r_r61)->ob_item; + cpy_r_r64 = *(CPyPtr *)cpy_r_r63; + cpy_r_r65 = cpy_r_r62 * 8; + cpy_r_r66 = cpy_r_r64 + cpy_r_r65; + cpy_r_r67 = *(PyObject * *)cpy_r_r66; + CPy_INCREF(cpy_r_r67); + CPy_DECREF_NO_IMM(cpy_r_r61); + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__task != NULL) { + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__task); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__task = cpy_r_r67; + cpy_r_r68 = 1; + if (unlikely(!cpy_r_r68)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 117, CPyStatic__batch___globals); + goto CPyL137; + } + cpy_r_r69 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__task; + if (unlikely(cpy_r_r69 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "task", 119, CPyStatic__batch___globals); + goto CPyL71; + } + CPy_INCREF(cpy_r_r69); +CPyL43: ; + cpy_r_r70 = CPy_GetCoro(cpy_r_r69); + CPy_DECREF(cpy_r_r69); + if (unlikely(cpy_r_r70 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 119, CPyStatic__batch___globals); + goto CPyL71; + } + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6 != NULL) { + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6 = cpy_r_r70; + cpy_r_r71 = 1; + if (unlikely(!cpy_r_r71)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", -1, CPyStatic__batch___globals); + goto CPyL71; + } + cpy_r_r72 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6; + if (unlikely(cpy_r_r72 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__6", -1, CPyStatic__batch___globals); + goto CPyL71; + } + CPy_INCREF(cpy_r_r72); +CPyL46: ; + cpy_r_r73 = CPyIter_Next(cpy_r_r72); + CPy_DECREF(cpy_r_r72); + if (cpy_r_r73 != NULL) goto CPyL49; + cpy_r_r74 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r74 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 119, CPyStatic__batch___globals); + goto CPyL71; + } + cpy_r_r75 = cpy_r_r74; + CPy_DECREF(cpy_r_r75); + cpy_r_r76 = NULL; + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6 != NULL) { + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6 = cpy_r_r76; + cpy_r_r77 = 1; + if (unlikely(!cpy_r_r77)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 119, CPyStatic__batch___globals); + goto CPyL71; + } else + goto CPyL92; +CPyL49: ; + cpy_r_r78 = cpy_r_r73; +CPyL50: ; + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 1; + return cpy_r_r78; +CPyL51: ; + cpy_r_r80 = (PyObject *)&_Py_NoneStruct; + cpy_r_r81 = cpy_r_type != cpy_r_r80; + if (!cpy_r_r81) goto CPyL143; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 119, CPyStatic__batch___globals); + goto CPyL55; + } else + goto CPyL144; +CPyL53: ; + CPy_Unreachable(); +CPyL54: ; + CPy_INCREF(cpy_r_arg); + goto CPyL66; +CPyL55: ; + cpy_r_r82 = CPy_CatchError(); + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__7.f0 != NULL) { + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__7.f0); + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__7.f1); + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__7.f2); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__7 = cpy_r_r82; + cpy_r_r83 = 1; + if (unlikely(!cpy_r_r83)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", -1, CPyStatic__batch___globals); + goto CPyL145; + } + cpy_r_r84 = (PyObject **)&cpy_r_r1; + cpy_r_r85 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6; + if (unlikely(cpy_r_r85 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__6", -1, CPyStatic__batch___globals); + goto CPyL145; + } + CPy_INCREF(cpy_r_r85); +CPyL57: ; + cpy_r_r86 = CPy_YieldFromErrorHandle(cpy_r_r85, cpy_r_r84); + CPy_DecRef(cpy_r_r85); + if (unlikely(cpy_r_r86 == 2)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 119, CPyStatic__batch___globals); + goto CPyL145; + } + if (cpy_r_r86) goto CPyL61; + cpy_r_r78 = cpy_r_r1; + cpy_r_r87 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__7; + if (unlikely(cpy_r_r87.f0 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__7", -1, CPyStatic__batch___globals); + goto CPyL146; + } + CPy_INCREF(cpy_r_r87.f0); + CPy_INCREF(cpy_r_r87.f1); + CPy_INCREF(cpy_r_r87.f2); +CPyL60: ; + CPy_RestoreExcInfo(cpy_r_r87); + CPy_DecRef(cpy_r_r87.f0); + CPy_DecRef(cpy_r_r87.f1); + CPy_DecRef(cpy_r_r87.f2); + goto CPyL50; +CPyL61: ; + cpy_r_r75 = cpy_r_r1; + CPy_DecRef(cpy_r_r75); + cpy_r_r88 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__7; + if (unlikely(cpy_r_r88.f0 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__7", -1, CPyStatic__batch___globals); + goto CPyL63; + } + CPy_INCREF(cpy_r_r88.f0); + CPy_INCREF(cpy_r_r88.f1); + CPy_INCREF(cpy_r_r88.f2); +CPyL62: ; + CPy_RestoreExcInfo(cpy_r_r88); + CPy_DecRef(cpy_r_r88.f0); + CPy_DecRef(cpy_r_r88.f1); + CPy_DecRef(cpy_r_r88.f2); + goto CPyL92; +CPyL63: ; + cpy_r_r89 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__7; + if (unlikely(cpy_r_r89.f0 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__7", -1, CPyStatic__batch___globals); + goto CPyL71; + } + CPy_INCREF(cpy_r_r89.f0); + CPy_INCREF(cpy_r_r89.f1); + CPy_INCREF(cpy_r_r89.f2); +CPyL64: ; + CPy_RestoreExcInfo(cpy_r_r89); + CPy_DecRef(cpy_r_r89.f0); + CPy_DecRef(cpy_r_r89.f1); + CPy_DecRef(cpy_r_r89.f2); + cpy_r_r90 = CPy_KeepPropagating(); + if (!cpy_r_r90) goto CPyL71; + CPy_Unreachable(); +CPyL66: ; + cpy_r_r91 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6; + if (unlikely(cpy_r_r91 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__6", -1, CPyStatic__batch___globals); + goto CPyL147; + } + CPy_INCREF(cpy_r_r91); +CPyL67: ; + cpy_r_r92 = CPyIter_Send(cpy_r_r91, cpy_r_arg); + CPy_DECREF(cpy_r_r91); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r92 == NULL) goto CPyL69; + cpy_r_r78 = cpy_r_r92; + goto CPyL50; +CPyL69: ; + cpy_r_r93 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r93 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 119, CPyStatic__batch___globals); + goto CPyL71; + } + cpy_r_r75 = cpy_r_r93; + CPy_DECREF(cpy_r_r75); + goto CPyL92; +CPyL71: ; + cpy_r_r94 = CPy_CatchError(); + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__8.f0 != NULL) { + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__8.f0); + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__8.f1); + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__8.f2); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__8 = cpy_r_r94; + cpy_r_r95 = 1; + if (unlikely(!cpy_r_r95)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", -1, CPyStatic__batch___globals); + goto CPyL89; + } + cpy_r_r96 = CPyModule_builtins; + cpy_r_r97 = CPyStatics[16]; /* 'Exception' */ + cpy_r_r98 = CPyObject_GetAttr(cpy_r_r96, cpy_r_r97); + if (unlikely(cpy_r_r98 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 120, CPyStatic__batch___globals); + goto CPyL89; + } + cpy_r_r99 = CPy_ExceptionMatches(cpy_r_r98); + CPy_DecRef(cpy_r_r98); + if (!cpy_r_r99) goto CPyL85; + cpy_r_r100 = CPy_GetExcValue(); + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e != NULL) { + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e = cpy_r_r100; + cpy_r_r101 = 1; + if (unlikely(!cpy_r_r101)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 120, CPyStatic__batch___globals); + goto CPyL89; + } + cpy_r_r102 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e; + if (unlikely(cpy_r_r102 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "e", 122, CPyStatic__batch___globals); + goto CPyL89; + } + CPy_INCREF(cpy_r_r102); +CPyL76: ; + cpy_r_r103 = (PyObject *)CPyType__exceptions___DankMidsInternalError; + cpy_r_r104 = (CPyPtr)&((PyObject *)cpy_r_r102)->ob_type; + cpy_r_r105 = *(PyObject * *)cpy_r_r104; + CPy_DecRef(cpy_r_r102); + cpy_r_r106 = cpy_r_r105 == cpy_r_r103; + if (cpy_r_r106) goto CPyL83; + cpy_r_r107 = CPyStatic__batch___logger; + if (likely(cpy_r_r107 != NULL)) goto CPyL80; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r108 = 0; + if (unlikely(!cpy_r_r108)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 123, CPyStatic__batch___globals); + goto CPyL89; + } + CPy_Unreachable(); +CPyL80: ; + cpy_r_r109 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batch; + if (unlikely(cpy_r_r109 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "batch", 123, CPyStatic__batch___globals); + goto CPyL89; + } + CPy_INCREF(cpy_r_r109); +CPyL81: ; + cpy_r_r110 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e; + if (unlikely(cpy_r_r110 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "e", 123, CPyStatic__batch___globals); + goto CPyL148; + } + CPy_INCREF(cpy_r_r110); +CPyL82: ; + cpy_r_r111 = CPyDef__errors___log_internal_error(cpy_r_r107, cpy_r_r109, cpy_r_r110); + CPy_DecRef(cpy_r_r109); + CPy_DecRef(cpy_r_r110); + if (unlikely(cpy_r_r111 == 2)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 123, CPyStatic__batch___globals); + goto CPyL89; + } +CPyL83: ; + cpy_r_r112 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__task; + if (unlikely(cpy_r_r112 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "task", 124, CPyStatic__batch___globals); + goto CPyL89; + } + CPy_INCREF(cpy_r_r112); +CPyL84: ; + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__last_failure != NULL) { + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__last_failure); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__last_failure = cpy_r_r112; + cpy_r_r113 = 1; + if (unlikely(!cpy_r_r113)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 124, CPyStatic__batch___globals); + goto CPyL89; + } else + goto CPyL87; +CPyL85: ; + CPy_Reraise(); + if (!0) goto CPyL89; + CPy_Unreachable(); +CPyL87: ; + cpy_r_r114 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__8; + if (unlikely(cpy_r_r114.f0 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__8", -1, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_INCREF(cpy_r_r114.f0); + CPy_INCREF(cpy_r_r114.f1); + CPy_INCREF(cpy_r_r114.f2); +CPyL88: ; + CPy_RestoreExcInfo(cpy_r_r114); + CPy_DecRef(cpy_r_r114.f0); + CPy_DecRef(cpy_r_r114.f1); + CPy_DecRef(cpy_r_r114.f2); + goto CPyL92; +CPyL89: ; + cpy_r_r115 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__8; + if (unlikely(cpy_r_r115.f0 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__8", -1, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_INCREF(cpy_r_r115.f0); + CPy_INCREF(cpy_r_r115.f1); + CPy_INCREF(cpy_r_r115.f2); +CPyL90: ; + CPy_RestoreExcInfo(cpy_r_r115); + CPy_DecRef(cpy_r_r115.f0); + CPy_DecRef(cpy_r_r115.f1); + CPy_DecRef(cpy_r_r115.f2); + cpy_r_r116 = CPy_KeepPropagating(); + if (!cpy_r_r116) goto CPyL137; + CPy_Unreachable(); +CPyL92: ; + cpy_r_r117 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1; + if (unlikely(cpy_r_r117 == -113)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__1", 117, CPyStatic__batch___globals); + goto CPyL137; + } +CPyL93: ; + cpy_r_r118 = cpy_r_r117 + 1; + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1 = cpy_r_r118; + cpy_r_r119 = 1; + if (unlikely(!cpy_r_r119)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 117, CPyStatic__batch___globals); + goto CPyL137; + } + cpy_r_r120 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__5; + if (unlikely(cpy_r_r120 == -113)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__5", 117, CPyStatic__batch___globals); + goto CPyL137; + } +CPyL95: ; + cpy_r_r121 = cpy_r_r120 + 1; + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__5 = cpy_r_r121; + cpy_r_r122 = 1; + if (unlikely(!cpy_r_r122)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 117, CPyStatic__batch___globals); + goto CPyL137; + } else + goto CPyL30; +CPyL96: ; + cpy_r_r123 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__last_failure; + if (unlikely(cpy_r_r123 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "last_failure", 126, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_INCREF(cpy_r_r123); +CPyL97: ; + cpy_r_r124 = (PyObject *)&_Py_NoneStruct; + cpy_r_r125 = cpy_r_r123 != cpy_r_r124; + CPy_DECREF(cpy_r_r123); + if (!cpy_r_r125) goto CPyL127; + cpy_r_r126 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__last_failure; + if (unlikely(cpy_r_r126 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "last_failure", 128, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_INCREF(cpy_r_r126); +CPyL99: ; + cpy_r_r127 = CPy_GetCoro(cpy_r_r126); + CPy_DECREF(cpy_r_r126); + if (unlikely(cpy_r_r127 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 128, CPyStatic__batch___globals); + goto CPyL137; + } + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9 != NULL) { + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9 = cpy_r_r127; + cpy_r_r128 = 1; + if (unlikely(!cpy_r_r128)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", -1, CPyStatic__batch___globals); + goto CPyL137; + } + cpy_r_r129 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9; + if (unlikely(cpy_r_r129 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__9", -1, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_INCREF(cpy_r_r129); +CPyL102: ; + cpy_r_r130 = CPyIter_Next(cpy_r_r129); + CPy_DECREF(cpy_r_r129); + if (cpy_r_r130 != NULL) goto CPyL105; + cpy_r_r131 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r131 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 128, CPyStatic__batch___globals); + goto CPyL137; + } + cpy_r_r132 = cpy_r_r131; + CPy_DECREF(cpy_r_r132); + cpy_r_r133 = NULL; + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9 != NULL) { + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9 = cpy_r_r133; + cpy_r_r134 = 1; + if (unlikely(!cpy_r_r134)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 128, CPyStatic__batch___globals); + goto CPyL137; + } else + goto CPyL127; +CPyL105: ; + cpy_r_r135 = cpy_r_r130; +CPyL106: ; + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 2; + return cpy_r_r135; +CPyL107: ; + cpy_r_r137 = (PyObject *)&_Py_NoneStruct; + cpy_r_r138 = cpy_r_type != cpy_r_r137; + if (!cpy_r_r138) goto CPyL149; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 128, CPyStatic__batch___globals); + goto CPyL111; + } else + goto CPyL150; +CPyL109: ; + CPy_Unreachable(); +CPyL110: ; + CPy_INCREF(cpy_r_arg); + goto CPyL122; +CPyL111: ; + cpy_r_r139 = CPy_CatchError(); + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10.f0 != NULL) { + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10.f0); + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10.f1); + CPy_DECREF(((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10.f2); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10 = cpy_r_r139; + cpy_r_r140 = 1; + if (unlikely(!cpy_r_r140)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", -1, CPyStatic__batch___globals); + goto CPyL151; + } + cpy_r_r141 = (PyObject **)&cpy_r_r3; + cpy_r_r142 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9; + if (unlikely(cpy_r_r142 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__9", -1, CPyStatic__batch___globals); + goto CPyL151; + } + CPy_INCREF(cpy_r_r142); +CPyL113: ; + cpy_r_r143 = CPy_YieldFromErrorHandle(cpy_r_r142, cpy_r_r141); + CPy_DecRef(cpy_r_r142); + if (unlikely(cpy_r_r143 == 2)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 128, CPyStatic__batch___globals); + goto CPyL151; + } + if (cpy_r_r143) goto CPyL117; + cpy_r_r135 = cpy_r_r3; + cpy_r_r144 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10; + if (unlikely(cpy_r_r144.f0 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__10", -1, CPyStatic__batch___globals); + goto CPyL152; + } + CPy_INCREF(cpy_r_r144.f0); + CPy_INCREF(cpy_r_r144.f1); + CPy_INCREF(cpy_r_r144.f2); +CPyL116: ; + CPy_RestoreExcInfo(cpy_r_r144); + CPy_DecRef(cpy_r_r144.f0); + CPy_DecRef(cpy_r_r144.f1); + CPy_DecRef(cpy_r_r144.f2); + goto CPyL106; +CPyL117: ; + cpy_r_r132 = cpy_r_r3; + CPy_DecRef(cpy_r_r132); + cpy_r_r145 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10; + if (unlikely(cpy_r_r145.f0 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__10", -1, CPyStatic__batch___globals); + goto CPyL119; + } + CPy_INCREF(cpy_r_r145.f0); + CPy_INCREF(cpy_r_r145.f1); + CPy_INCREF(cpy_r_r145.f2); +CPyL118: ; + CPy_RestoreExcInfo(cpy_r_r145); + CPy_DecRef(cpy_r_r145.f0); + CPy_DecRef(cpy_r_r145.f1); + CPy_DecRef(cpy_r_r145.f2); + goto CPyL127; +CPyL119: ; + cpy_r_r146 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10; + if (unlikely(cpy_r_r146.f0 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__10", -1, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_INCREF(cpy_r_r146.f0); + CPy_INCREF(cpy_r_r146.f1); + CPy_INCREF(cpy_r_r146.f2); +CPyL120: ; + CPy_RestoreExcInfo(cpy_r_r146); + CPy_DecRef(cpy_r_r146.f0); + CPy_DecRef(cpy_r_r146.f1); + CPy_DecRef(cpy_r_r146.f2); + cpy_r_r147 = CPy_KeepPropagating(); + if (!cpy_r_r147) goto CPyL137; + CPy_Unreachable(); +CPyL122: ; + cpy_r_r148 = ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9; + if (unlikely(cpy_r_r148 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "_await", "_await_DankBatch_gen", "__mypyc_temp__9", -1, CPyStatic__batch___globals); + goto CPyL153; + } + CPy_INCREF(cpy_r_r148); +CPyL123: ; + cpy_r_r149 = CPyIter_Send(cpy_r_r148, cpy_r_arg); + CPy_DECREF(cpy_r_r148); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r149 == NULL) goto CPyL125; + cpy_r_r135 = cpy_r_r149; + goto CPyL106; +CPyL125: ; + cpy_r_r150 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r150 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 128, CPyStatic__batch___globals); + goto CPyL137; + } + cpy_r_r132 = cpy_r_r150; + CPy_DECREF(cpy_r_r132); +CPyL127: ; + cpy_r_r151 = Py_None; + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = -1; + if (cpy_r_stop_iter_ptr != NULL) goto CPyL131; + CPyGen_SetStopIterationValue(cpy_r_r151); + if (!0) goto CPyL137; + CPy_Unreachable(); +CPyL131: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r151; + return 0; +CPyL132: ; + cpy_r_r153 = cpy_r_r4 == 0; + if (cpy_r_r153) goto CPyL154; + cpy_r_r154 = cpy_r_r4 == 1; + if (cpy_r_r154) { + goto CPyL155; + } else + goto CPyL156; +CPyL134: ; + cpy_r_r155 = cpy_r_r4 == 2; + if (cpy_r_r155) { + goto CPyL107; + } else + goto CPyL157; +CPyL135: ; + PyErr_SetNone(PyExc_StopIteration); + cpy_r_r156 = 0; + if (unlikely(!cpy_r_r156)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 102, CPyStatic__batch___globals); + goto CPyL137; + } + CPy_Unreachable(); +CPyL137: ; + cpy_r_r157 = NULL; + return cpy_r_r157; +CPyL138: ; + CPy_DecRef(cpy_r_r16); + goto CPyL137; +CPyL139: ; + CPy_DecRef(cpy_r_r19); + goto CPyL137; +CPyL140: ; + CPy_DecRef(cpy_r_r19); + CPy_DecRef(cpy_r_r27); + goto CPyL137; +CPyL141: ; + CPy_DecRef(cpy_r_r53); + goto CPyL137; +CPyL142: ; + CPy_DecRef(cpy_r_r61); + goto CPyL137; +CPyL143: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL54; +CPyL144: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL53; +CPyL145: ; + CPy_XDecRef(cpy_r_r1); + goto CPyL63; +CPyL146: ; + CPy_DecRef(cpy_r_r78); + goto CPyL63; +CPyL147: ; + CPy_DecRef(cpy_r_arg); + goto CPyL71; +CPyL148: ; + CPy_DecRef(cpy_r_r109); + goto CPyL89; +CPyL149: ; + CPy_XDECREF(cpy_r_r3); + goto CPyL110; +CPyL150: ; + CPy_XDECREF(cpy_r_r3); + goto CPyL109; +CPyL151: ; + CPy_XDecRef(cpy_r_r3); + goto CPyL119; +CPyL152: ; + CPy_DecRef(cpy_r_r135); + goto CPyL119; +CPyL153: ; + CPy_DecRef(cpy_r_arg); + goto CPyL137; +CPyL154: ; + CPy_XDECREF(cpy_r_r1); + CPy_XDECREF(cpy_r_r3); + goto CPyL1; +CPyL155: ; + CPy_XDECREF(cpy_r_r3); + goto CPyL51; +CPyL156: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL134; +CPyL157: ; + CPy_XDECREF(cpy_r_r3); + goto CPyL135; +} + +PyObject *CPyDef__batch____await_DankBatch_gen_____next__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef__batch____await_DankBatch_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_r0, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy__batch____await_DankBatch_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__next__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__batch____await_DankBatch_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._batch._await_DankBatch_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__batch____await_DankBatch_gen_____next__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "__next__", -1, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch____await_DankBatch_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef__batch____await_DankBatch_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_arg, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy__batch____await_DankBatch_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"arg", 0}; + static CPyArg_Parser parser = {"O:send", kwlist, 0}; + PyObject *obj_arg; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_arg)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__batch____await_DankBatch_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._batch._await_DankBatch_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_arg = obj_arg; + PyObject *retval = CPyDef__batch____await_DankBatch_gen___send(arg___mypyc_self__, arg_arg); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "send", -1, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch____await_DankBatch_gen_____iter__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy__batch____await_DankBatch_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__batch____await_DankBatch_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._batch._await_DankBatch_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__batch____await_DankBatch_gen_____iter__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "__iter__", -1, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch____await_DankBatch_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + if (cpy_r_value != NULL) goto CPyL7; + CPy_INCREF(cpy_r_r0); + cpy_r_value = cpy_r_r0; +CPyL2: ; + if (cpy_r_traceback != NULL) goto CPyL8; + CPy_INCREF(cpy_r_r0); + cpy_r_traceback = cpy_r_r0; +CPyL4: ; + cpy_r_r1 = CPyDef__batch____await_DankBatch_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_type, cpy_r_value, cpy_r_traceback, cpy_r_r0, 0); + CPy_DECREF(cpy_r_value); + CPy_DECREF(cpy_r_traceback); + if (cpy_r_r1 == NULL) goto CPyL6; + return cpy_r_r1; +CPyL6: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +CPyL7: ; + CPy_INCREF(cpy_r_value); + goto CPyL2; +CPyL8: ; + CPy_INCREF(cpy_r_traceback); + goto CPyL4; +} + +PyObject *CPyPy__batch____await_DankBatch_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"type", "value", "traceback", 0}; + static CPyArg_Parser parser = {"O|OO:throw", kwlist, 0}; + PyObject *obj_type; + PyObject *obj_value = NULL; + PyObject *obj_traceback = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type, &obj_value, &obj_traceback)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__batch____await_DankBatch_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._batch._await_DankBatch_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_type = obj_type; + PyObject *arg_value; + if (obj_value == NULL) { + arg_value = NULL; + } else { + arg_value = obj_value; + } + PyObject *arg_traceback; + if (obj_traceback == NULL) { + arg_traceback = NULL; + } else { + arg_traceback = obj_traceback; + } + PyObject *retval = CPyDef__batch____await_DankBatch_gen___throw(arg___mypyc_self__, arg_type, arg_value, arg_traceback); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "throw", -1, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch____await_DankBatch_gen___close(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[17]; /* 'GeneratorExit' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = CPyDef__batch____await_DankBatch_gen___throw(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r3, cpy_r_r4); + if (cpy_r_r5 != NULL) goto CPyL11; +CPyL3: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyModule_builtins; + cpy_r_r8 = CPyStatics[18]; /* 'StopIteration' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL12; + cpy_r_r10.f0 = cpy_r_r2; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp1 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp1); + PyObject *__tmp2 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp2); + cpy_r_r12 = CPy_ExceptionMatches(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (!cpy_r_r12) goto CPyL13; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + cpy_r_r13 = (PyObject *)&_Py_NoneStruct; + CPy_INCREF(cpy_r_r13); + return cpy_r_r13; +CPyL6: ; + CPy_Reraise(); + if (!0) goto CPyL10; + CPy_Unreachable(); +CPyL8: ; + PyErr_SetString(PyExc_RuntimeError, "generator ignored GeneratorExit"); + cpy_r_r14 = 0; + if (!cpy_r_r14) goto CPyL10; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL11: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r5); + goto CPyL8; +CPyL12: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL10; +CPyL13: ; + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL6; +} + +PyObject *CPyPy__batch____await_DankBatch_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":close", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__batch____await_DankBatch_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._batch._await_DankBatch_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__batch____await_DankBatch_gen___close(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "close", -1, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch____await_DankBatch_gen_____await__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy__batch____await_DankBatch_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__await__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__batch____await_DankBatch_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._batch._await_DankBatch_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__batch____await_DankBatch_gen_____await__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "__await__", -1, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch___DankBatch____await(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + char cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = CPyDef__batch____await_DankBatch_gen(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 102, CPyStatic__batch___globals); + goto CPyL3; + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r_r0)->___mypyc_next_label__ = 0; + CPy_INCREF_NO_IMM(cpy_r_self); + if (((dank_mids____batch____await_DankBatch_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self != NULL) { + CPy_DECREF_NO_IMM(((dank_mids____batch____await_DankBatch_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self); + } + ((dank_mids____batch____await_DankBatch_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self = cpy_r_self; + cpy_r_r2 = 1; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 102, CPyStatic__batch___globals); + goto CPyL4; + } + return cpy_r_r0; +CPyL3: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +CPyL4: ; + CPy_DecRef(cpy_r_r0); + goto CPyL3; +} + +PyObject *CPyPy__batch___DankBatch____await(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":_await", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__batch___DankBatch)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._batch.DankBatch", obj_self); + goto fail; + } + PyObject *retval = CPyDef__batch___DankBatch____await(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "_await", 102, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch___coroutines_DankBatch_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr) { + int32_t cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + char cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + char cpy_r_r15; + char cpy_r_r16; + PyObject *cpy_r_r17; + int64_t cpy_r_r18; + char cpy_r_r19; + PyObject *cpy_r_r20; + char cpy_r_r21; + PyObject *cpy_r_r22; + CPyTagged cpy_r_r23; + tuple_T3CIO cpy_r_r24; + CPyTagged cpy_r_r25; + char cpy_r_r26; + char cpy_r_r27; + PyObject *cpy_r_r28; + char cpy_r_r29; + PyObject *cpy_r_r30; + CPyTagged cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + int32_t cpy_r_r35; + char cpy_r_r36; + char cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject **cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject **cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + char cpy_r_r56; + PyObject *cpy_r_r57; + char cpy_r_r58; + PyObject *cpy_r_r59; + char cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject **cpy_r_r67; + PyObject *cpy_r_r68; + char cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + char cpy_r_r73; + PyObject *cpy_r_r74; + int64_t cpy_r_r75; + char cpy_r_r76; + char cpy_r_r77; + PyObject *cpy_r_r78; + int32_t cpy_r_r79; + char cpy_r_r80; + char cpy_r_r81; + PyObject *cpy_r_r82; + CPyTagged cpy_r_r83; + char cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + PyObject *cpy_r_r88; + PyObject *cpy_r_r89; + PyObject **cpy_r_r91; + PyObject *cpy_r_r92; + char cpy_r_r93; + PyObject *cpy_r_r94; + PyObject *cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + PyObject **cpy_r_r99; + PyObject *cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + PyObject *cpy_r_r104; + PyObject *cpy_r_r105; + char cpy_r_r106; + PyObject *cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + PyObject **cpy_r_r112; + PyObject *cpy_r_r113; + char cpy_r_r114; + PyObject *cpy_r_r115; + char cpy_r_r116; + PyObject *cpy_r_r117; + char cpy_r_r118; + PyObject *cpy_r_r119; + char cpy_r_r120; + PyObject *cpy_r_r121; + char cpy_r_r122; + char cpy_r_r123; + char cpy_r_r124; + char cpy_r_r125; + char cpy_r_r126; + char cpy_r_r127; + PyObject *cpy_r_r128; + cpy_r_r0 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__; + goto CPyL93; +CPyL1: ; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_type != cpy_r_r1; + if (!cpy_r_r2) goto CPyL4; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 131, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_Unreachable(); +CPyL4: ; + cpy_r_r3 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "self", 145, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF_NO_IMM(cpy_r_r3); +CPyL5: ; + cpy_r_r4 = ((dank_mids____batch___DankBatchObject *)cpy_r_r3)->_rpc_calls; + CPy_INCREF(cpy_r_r4); + CPy_DECREF_NO_IMM(cpy_r_r3); + if (((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch != NULL) { + CPy_DECREF(((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch); + } + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch = cpy_r_r4; + cpy_r_r5 = 1; + if (unlikely(!cpy_r_r5)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 145, CPyStatic__batch___globals); + goto CPyL99; + } + cpy_r_r6 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch; + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "working_batch", 148, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r6); +CPyL7: ; + cpy_r_r7 = CPyStatics[19]; /* 'append' */ + cpy_r_r8 = CPyObject_GetAttr(cpy_r_r6, cpy_r_r7); + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 148, CPyStatic__batch___globals); + goto CPyL99; + } + if (((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batch_append != NULL) { + CPy_DECREF(((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batch_append); + } + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batch_append = cpy_r_r8; + cpy_r_r9 = 1; + if (unlikely(!cpy_r_r9)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 148, CPyStatic__batch___globals); + goto CPyL99; + } + cpy_r_r10 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "self", 151, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF_NO_IMM(cpy_r_r10); +CPyL10: ; + cpy_r_r11 = ((dank_mids____batch___DankBatchObject *)cpy_r_r10)->__check_len; + CPy_INCREF(cpy_r_r11); + CPy_DECREF_NO_IMM(cpy_r_r10); + if (((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__check_len != NULL) { + CPy_DECREF(((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__check_len); + } + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__check_len = cpy_r_r11; + cpy_r_r12 = 1; + if (unlikely(!cpy_r_r12)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 151, CPyStatic__batch___globals); + goto CPyL99; + } + cpy_r_r13 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "self", 152, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF_NO_IMM(cpy_r_r13); +CPyL12: ; + cpy_r_r14 = ((dank_mids____batch___DankBatchObject *)cpy_r_r13)->_multicalls; + CPy_INCREF(cpy_r_r14); + CPy_DECREF_NO_IMM(cpy_r_r13); + CPy_INCREF(cpy_r_r14); + if (((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__11 != NULL) { + CPy_DECREF(((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__11); + } + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__11 = cpy_r_r14; + cpy_r_r15 = 1; + if (unlikely(!cpy_r_r15)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", -1, CPyStatic__batch___globals); + goto CPyL100; + } + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__12 = 0; + cpy_r_r16 = 1; + if (unlikely(!cpy_r_r16)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", -1, CPyStatic__batch___globals); + goto CPyL100; + } + cpy_r_r17 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__11; + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "__mypyc_temp__11", 152, CPyStatic__batch___globals); + goto CPyL100; + } + CPy_INCREF(cpy_r_r17); +CPyL15: ; + cpy_r_r18 = PyDict_Size(cpy_r_r17); + CPy_DECREF(cpy_r_r17); + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__13 = cpy_r_r18; + cpy_r_r19 = 1; + if (unlikely(!cpy_r_r19)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", -1, CPyStatic__batch___globals); + goto CPyL100; + } + cpy_r_r20 = CPyDict_GetValuesIter(cpy_r_r14); + CPy_DECREF(cpy_r_r14); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 152, CPyStatic__batch___globals); + goto CPyL99; + } + if (((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__14 != NULL) { + CPy_DECREF(((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__14); + } + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__14 = cpy_r_r20; + cpy_r_r21 = 1; + if (unlikely(!cpy_r_r21)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", -1, CPyStatic__batch___globals); + goto CPyL99; + } +CPyL18: ; + cpy_r_r22 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__14; + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "__mypyc_temp__14", 152, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r22); +CPyL19: ; + cpy_r_r23 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__12; + if (unlikely(cpy_r_r23 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "__mypyc_temp__12", 152, CPyStatic__batch___globals); + goto CPyL101; + } +CPyL20: ; + cpy_r_r24 = CPyDict_NextValue(cpy_r_r22, cpy_r_r23); + CPy_DECREF(cpy_r_r22); + cpy_r_r25 = cpy_r_r24.f1; + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__12 = cpy_r_r25; + cpy_r_r26 = 1; + if (unlikely(!cpy_r_r26)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 152, CPyStatic__batch___globals); + goto CPyL102; + } + cpy_r_r27 = cpy_r_r24.f0; + if (!cpy_r_r27) goto CPyL103; + cpy_r_r28 = cpy_r_r24.f2; + CPy_INCREF(cpy_r_r28); + CPy_DECREF(cpy_r_r24.f2); + if (((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__mcall != NULL) { + CPy_DECREF(((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__mcall); + } + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__mcall = cpy_r_r28; + cpy_r_r29 = 1; + if (unlikely(!cpy_r_r29)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 152, CPyStatic__batch___globals); + goto CPyL99; + } + cpy_r_r30 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__mcall; + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "mcall", 153, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r30); +CPyL24: ; + cpy_r_r31 = CPyObject_Size(cpy_r_r30); + CPy_DECREF(cpy_r_r30); + if (unlikely(cpy_r_r31 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 153, CPyStatic__batch___globals); + goto CPyL99; + } + cpy_r_r32 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__check_len; + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "check_len", 153, CPyStatic__batch___globals); + goto CPyL104; + } + CPy_INCREF(cpy_r_r32); +CPyL26: ; + cpy_r_r33 = CPyTagged_StealAsObject(cpy_r_r31); + cpy_r_r34 = PyObject_RichCompare(cpy_r_r33, cpy_r_r32, 5); + CPy_DECREF(cpy_r_r33); + CPy_DECREF(cpy_r_r32); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 153, CPyStatic__batch___globals); + goto CPyL99; + } + cpy_r_r35 = PyObject_IsTrue(cpy_r_r34); + CPy_DECREF(cpy_r_r34); + cpy_r_r36 = cpy_r_r35 >= 0; + if (unlikely(!cpy_r_r36)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 153, CPyStatic__batch___globals); + goto CPyL99; + } + cpy_r_r37 = cpy_r_r35; + if (!cpy_r_r37) goto CPyL33; + cpy_r_r38 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__mcall; + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "mcall", 154, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r38); +CPyL30: ; + cpy_r_r39 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batch_append; + if (unlikely(cpy_r_r39 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "batch_append", 154, CPyStatic__batch___globals); + goto CPyL105; + } + CPy_INCREF(cpy_r_r39); +CPyL31: ; + cpy_r_r40 = 1 ? Py_True : Py_False; + PyObject *cpy_r_r41[2] = {cpy_r_r38, cpy_r_r40}; + cpy_r_r42 = (PyObject **)&cpy_r_r41; + cpy_r_r43 = CPyStatics[907]; /* ('skip_check',) */ + cpy_r_r44 = PyObject_Vectorcall(cpy_r_r39, cpy_r_r42, 1, cpy_r_r43); + CPy_DECREF(cpy_r_r39); + if (unlikely(cpy_r_r44 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 154, CPyStatic__batch___globals); + goto CPyL105; + } else + goto CPyL106; +CPyL32: ; + CPy_DECREF(cpy_r_r38); + goto CPyL37; +CPyL33: ; + cpy_r_r45 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch; + if (unlikely(cpy_r_r45 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "working_batch", 158, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r45); +CPyL34: ; + cpy_r_r46 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__mcall; + if (unlikely(cpy_r_r46 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "mcall", 158, CPyStatic__batch___globals); + goto CPyL107; + } + CPy_INCREF(cpy_r_r46); +CPyL35: ; + cpy_r_r47 = CPyStatics[21]; /* 'extend' */ + cpy_r_r48 = 1 ? Py_True : Py_False; + PyObject *cpy_r_r49[3] = {cpy_r_r45, cpy_r_r46, cpy_r_r48}; + cpy_r_r50 = (PyObject **)&cpy_r_r49; + cpy_r_r51 = CPyStatics[907]; /* ('skip_check',) */ + cpy_r_r52 = PyObject_VectorcallMethod(cpy_r_r47, cpy_r_r50, 9223372036854775810ULL, cpy_r_r51); + if (unlikely(cpy_r_r52 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 158, CPyStatic__batch___globals); + goto CPyL108; + } else + goto CPyL109; +CPyL36: ; + CPy_DECREF(cpy_r_r45); + CPy_DECREF(cpy_r_r46); +CPyL37: ; + cpy_r_r53 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch; + if (unlikely(cpy_r_r53 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "working_batch", 159, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r53); +CPyL38: ; + cpy_r_r54 = CPyStatics[22]; /* 'is_full' */ + cpy_r_r55 = CPyObject_GetAttr(cpy_r_r53, cpy_r_r54); + CPy_DECREF(cpy_r_r53); + if (unlikely(cpy_r_r55 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 159, CPyStatic__batch___globals); + goto CPyL99; + } + if (unlikely(!PyBool_Check(cpy_r_r55))) { + CPy_TypeError("bool", cpy_r_r55); cpy_r_r56 = 2; + } else + cpy_r_r56 = cpy_r_r55 == Py_True; + CPy_DECREF(cpy_r_r55); + if (unlikely(cpy_r_r56 == 2)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 159, CPyStatic__batch___globals); + goto CPyL99; + } + if (!cpy_r_r56) goto CPyL53; + cpy_r_r57 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch; + if (unlikely(cpy_r_r57 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "working_batch", 160, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r57); +CPyL42: ; + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 1; + return cpy_r_r57; +CPyL43: ; + cpy_r_r59 = (PyObject *)&_Py_NoneStruct; + cpy_r_r60 = cpy_r_type != cpy_r_r59; + if (!cpy_r_r60) goto CPyL46; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 160, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_Unreachable(); +CPyL46: ; + cpy_r_r61 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r61 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "self", 161, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF_NO_IMM(cpy_r_r61); +CPyL47: ; + cpy_r_r62 = ((dank_mids____batch___DankBatchObject *)cpy_r_r61)->_controller; + CPy_INCREF(cpy_r_r62); + CPy_DECREF_NO_IMM(cpy_r_r61); + cpy_r_r63 = CPyStatic__batch___globals; + cpy_r_r64 = CPyStatics[23]; /* 'JSONRPCBatch' */ + cpy_r_r65 = CPyDict_GetItem(cpy_r_r63, cpy_r_r64); + if (unlikely(cpy_r_r65 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 161, CPyStatic__batch___globals); + goto CPyL110; + } + PyObject *cpy_r_r66[1] = {cpy_r_r62}; + cpy_r_r67 = (PyObject **)&cpy_r_r66; + cpy_r_r68 = PyObject_Vectorcall(cpy_r_r65, cpy_r_r67, 1, 0); + CPy_DECREF(cpy_r_r65); + if (unlikely(cpy_r_r68 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 161, CPyStatic__batch___globals); + goto CPyL110; + } + CPy_DECREF(cpy_r_r62); + if (((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch != NULL) { + CPy_DECREF(((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch); + } + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch = cpy_r_r68; + cpy_r_r69 = 1; + if (unlikely(!cpy_r_r69)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 161, CPyStatic__batch___globals); + goto CPyL99; + } + cpy_r_r70 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch; + if (unlikely(cpy_r_r70 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "working_batch", 162, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r70); +CPyL51: ; + cpy_r_r71 = CPyStatics[19]; /* 'append' */ + cpy_r_r72 = CPyObject_GetAttr(cpy_r_r70, cpy_r_r71); + CPy_DECREF(cpy_r_r70); + if (unlikely(cpy_r_r72 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 162, CPyStatic__batch___globals); + goto CPyL99; + } + if (((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batch_append != NULL) { + CPy_DECREF(((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batch_append); + } + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__batch_append = cpy_r_r72; + cpy_r_r73 = 1; + if (unlikely(!cpy_r_r73)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 162, CPyStatic__batch___globals); + goto CPyL99; + } +CPyL53: ; + cpy_r_r74 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__11; + if (unlikely(cpy_r_r74 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "__mypyc_temp__11", 152, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r74); +CPyL54: ; + cpy_r_r75 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__13; + if (unlikely(cpy_r_r75 == -113)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "__mypyc_temp__13", 152, CPyStatic__batch___globals); + goto CPyL111; + } +CPyL55: ; + cpy_r_r76 = CPyDict_CheckSize(cpy_r_r74, cpy_r_r75); + CPy_DECREF(cpy_r_r74); + if (unlikely(!cpy_r_r76)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 152, CPyStatic__batch___globals); + goto CPyL99; + } else + goto CPyL18; +CPyL56: ; + cpy_r_r77 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r77)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 152, CPyStatic__batch___globals); + goto CPyL99; + } + cpy_r_r78 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch; + if (unlikely(cpy_r_r78 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "working_batch", 164, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r78); +CPyL58: ; + cpy_r_r79 = PyObject_IsTrue(cpy_r_r78); + CPy_DECREF(cpy_r_r78); + cpy_r_r80 = cpy_r_r79 >= 0; + if (unlikely(!cpy_r_r80)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 164, CPyStatic__batch___globals); + goto CPyL99; + } + cpy_r_r81 = cpy_r_r79; + if (!cpy_r_r81) goto CPyL88; + cpy_r_r82 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch; + if (unlikely(cpy_r_r82 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "working_batch", 165, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r82); +CPyL61: ; + cpy_r_r83 = CPyObject_Size(cpy_r_r82); + CPy_DECREF(cpy_r_r82); + if (unlikely(cpy_r_r83 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 165, CPyStatic__batch___globals); + goto CPyL99; + } + cpy_r_r84 = cpy_r_r83 == 2; + CPyTagged_DECREF(cpy_r_r83); + if (!cpy_r_r84) goto CPyL83; + cpy_r_r85 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch; + if (unlikely(cpy_r_r85 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "working_batch", 166, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r85); +CPyL64: ; + cpy_r_r86 = PyObject_GetIter(cpy_r_r85); + CPy_DECREF(cpy_r_r85); + if (unlikely(cpy_r_r86 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 166, CPyStatic__batch___globals); + goto CPyL99; + } + cpy_r_r87 = CPyModule_builtins; + cpy_r_r88 = CPyStatics[24]; /* 'next' */ + cpy_r_r89 = CPyObject_GetAttr(cpy_r_r87, cpy_r_r88); + if (unlikely(cpy_r_r89 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 166, CPyStatic__batch___globals); + goto CPyL112; + } + PyObject *cpy_r_r90[1] = {cpy_r_r86}; + cpy_r_r91 = (PyObject **)&cpy_r_r90; + cpy_r_r92 = PyObject_Vectorcall(cpy_r_r89, cpy_r_r91, 1, 0); + CPy_DECREF(cpy_r_r89); + if (unlikely(cpy_r_r92 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 166, CPyStatic__batch___globals); + goto CPyL112; + } + CPy_DECREF(cpy_r_r86); + if (((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call != NULL) { + CPy_DECREF(((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call); + } + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call = cpy_r_r92; + cpy_r_r93 = 1; + if (unlikely(!cpy_r_r93)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 166, CPyStatic__batch___globals); + goto CPyL99; + } + cpy_r_r94 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch; + if (unlikely(cpy_r_r94 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "working_batch", 168, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r94); +CPyL69: ; + cpy_r_r95 = CPyStatics[25]; /* '_done' */ + cpy_r_r96 = CPyObject_GetAttr(cpy_r_r94, cpy_r_r95); + CPy_DECREF(cpy_r_r94); + if (unlikely(cpy_r_r96 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 168, CPyStatic__batch___globals); + goto CPyL99; + } + cpy_r_r97 = CPyStatics[26]; /* 'set' */ + PyObject *cpy_r_r98[1] = {cpy_r_r96}; + cpy_r_r99 = (PyObject **)&cpy_r_r98; + cpy_r_r100 = PyObject_VectorcallMethod(cpy_r_r97, cpy_r_r99, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r100 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 168, CPyStatic__batch___globals); + goto CPyL113; + } else + goto CPyL114; +CPyL71: ; + CPy_DECREF(cpy_r_r96); + cpy_r_r101 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r101 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "call", 169, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r101); +CPyL72: ; + cpy_r_r102 = CPy_TYPE(cpy_r_r101); + CPy_DECREF(cpy_r_r101); + cpy_r_r103 = CPyStatic__batch___globals; + cpy_r_r104 = CPyStatics[27]; /* 'Multicall' */ + cpy_r_r105 = CPyDict_GetItem(cpy_r_r103, cpy_r_r104); + if (unlikely(cpy_r_r105 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 169, CPyStatic__batch___globals); + goto CPyL115; + } + cpy_r_r106 = cpy_r_r102 == cpy_r_r105; + CPy_DECREF(cpy_r_r102); + CPy_DECREF(cpy_r_r105); + if (!cpy_r_r106) goto CPyL76; + cpy_r_r107 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r107 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "call", 169, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r107); +CPyL75: ; + cpy_r_r108 = cpy_r_r107; + goto CPyL79; +CPyL76: ; + cpy_r_r109 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r109 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "call", 169, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r109); +CPyL77: ; + cpy_r_r110 = CPyStatics[28]; /* 'make_request' */ + PyObject *cpy_r_r111[1] = {cpy_r_r109}; + cpy_r_r112 = (PyObject **)&cpy_r_r111; + cpy_r_r113 = PyObject_VectorcallMethod(cpy_r_r110, cpy_r_r112, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r113 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 169, CPyStatic__batch___globals); + goto CPyL116; + } + CPy_DECREF(cpy_r_r109); + cpy_r_r108 = cpy_r_r113; +CPyL79: ; + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 2; + return cpy_r_r108; +CPyL80: ; + cpy_r_r115 = (PyObject *)&_Py_NoneStruct; + cpy_r_r116 = cpy_r_type != cpy_r_r115; + if (!cpy_r_r116) goto CPyL88; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 169, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_Unreachable(); +CPyL83: ; + cpy_r_r117 = ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__working_batch; + if (unlikely(cpy_r_r117 == NULL)) { + CPy_AttributeError("dank_mids\\_batch.py", "coroutines", "coroutines_DankBatch_gen", "working_batch", 171, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_INCREF(cpy_r_r117); +CPyL84: ; + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 3; + return cpy_r_r117; +CPyL85: ; + cpy_r_r119 = (PyObject *)&_Py_NoneStruct; + cpy_r_r120 = cpy_r_type != cpy_r_r119; + if (!cpy_r_r120) goto CPyL88; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 171, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_Unreachable(); +CPyL88: ; + cpy_r_r121 = Py_None; + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = -1; + if (cpy_r_stop_iter_ptr != NULL) goto CPyL92; + CPyGen_SetStopIterationValue(cpy_r_r121); + if (!0) goto CPyL99; + CPy_Unreachable(); +CPyL92: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r121; + return 0; +CPyL93: ; + cpy_r_r123 = cpy_r_r0 == 0; + if (cpy_r_r123) goto CPyL1; + cpy_r_r124 = cpy_r_r0 == 1; + if (cpy_r_r124) goto CPyL43; + cpy_r_r125 = cpy_r_r0 == 2; + if (cpy_r_r125) goto CPyL80; + cpy_r_r126 = cpy_r_r0 == 3; + if (cpy_r_r126) goto CPyL85; + PyErr_SetNone(PyExc_StopIteration); + cpy_r_r127 = 0; + if (unlikely(!cpy_r_r127)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 131, CPyStatic__batch___globals); + goto CPyL99; + } + CPy_Unreachable(); +CPyL99: ; + cpy_r_r128 = NULL; + return cpy_r_r128; +CPyL100: ; + CPy_DecRef(cpy_r_r14); + goto CPyL99; +CPyL101: ; + CPy_DecRef(cpy_r_r22); + goto CPyL99; +CPyL102: ; + CPy_DecRef(cpy_r_r24.f2); + goto CPyL99; +CPyL103: ; + CPy_DECREF(cpy_r_r24.f2); + goto CPyL56; +CPyL104: ; + CPyTagged_DecRef(cpy_r_r31); + goto CPyL99; +CPyL105: ; + CPy_DecRef(cpy_r_r38); + goto CPyL99; +CPyL106: ; + CPy_DECREF(cpy_r_r44); + goto CPyL32; +CPyL107: ; + CPy_DecRef(cpy_r_r45); + goto CPyL99; +CPyL108: ; + CPy_DecRef(cpy_r_r45); + CPy_DecRef(cpy_r_r46); + goto CPyL99; +CPyL109: ; + CPy_DECREF(cpy_r_r52); + goto CPyL36; +CPyL110: ; + CPy_DecRef(cpy_r_r62); + goto CPyL99; +CPyL111: ; + CPy_DecRef(cpy_r_r74); + goto CPyL99; +CPyL112: ; + CPy_DecRef(cpy_r_r86); + goto CPyL99; +CPyL113: ; + CPy_DecRef(cpy_r_r96); + goto CPyL99; +CPyL114: ; + CPy_DECREF(cpy_r_r100); + goto CPyL71; +CPyL115: ; + CPy_DecRef(cpy_r_r102); + goto CPyL99; +CPyL116: ; + CPy_DecRef(cpy_r_r109); + goto CPyL99; +} + +PyObject *CPyDef__batch___coroutines_DankBatch_gen_____next__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef__batch___coroutines_DankBatch_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_r0, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy__batch___coroutines_DankBatch_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__next__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__batch___coroutines_DankBatch_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._batch.coroutines_DankBatch_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__batch___coroutines_DankBatch_gen_____next__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "__next__", -1, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch___coroutines_DankBatch_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef__batch___coroutines_DankBatch_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_arg, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy__batch___coroutines_DankBatch_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"arg", 0}; + static CPyArg_Parser parser = {"O:send", kwlist, 0}; + PyObject *obj_arg; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_arg)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__batch___coroutines_DankBatch_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._batch.coroutines_DankBatch_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_arg = obj_arg; + PyObject *retval = CPyDef__batch___coroutines_DankBatch_gen___send(arg___mypyc_self__, arg_arg); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "send", -1, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch___coroutines_DankBatch_gen_____iter__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy__batch___coroutines_DankBatch_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__batch___coroutines_DankBatch_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._batch.coroutines_DankBatch_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__batch___coroutines_DankBatch_gen_____iter__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "__iter__", -1, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch___coroutines_DankBatch_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + if (cpy_r_value != NULL) goto CPyL7; + CPy_INCREF(cpy_r_r0); + cpy_r_value = cpy_r_r0; +CPyL2: ; + if (cpy_r_traceback != NULL) goto CPyL8; + CPy_INCREF(cpy_r_r0); + cpy_r_traceback = cpy_r_r0; +CPyL4: ; + cpy_r_r1 = CPyDef__batch___coroutines_DankBatch_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_type, cpy_r_value, cpy_r_traceback, cpy_r_r0, 0); + CPy_DECREF(cpy_r_value); + CPy_DECREF(cpy_r_traceback); + if (cpy_r_r1 == NULL) goto CPyL6; + return cpy_r_r1; +CPyL6: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +CPyL7: ; + CPy_INCREF(cpy_r_value); + goto CPyL2; +CPyL8: ; + CPy_INCREF(cpy_r_traceback); + goto CPyL4; +} + +PyObject *CPyPy__batch___coroutines_DankBatch_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"type", "value", "traceback", 0}; + static CPyArg_Parser parser = {"O|OO:throw", kwlist, 0}; + PyObject *obj_type; + PyObject *obj_value = NULL; + PyObject *obj_traceback = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type, &obj_value, &obj_traceback)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__batch___coroutines_DankBatch_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._batch.coroutines_DankBatch_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_type = obj_type; + PyObject *arg_value; + if (obj_value == NULL) { + arg_value = NULL; + } else { + arg_value = obj_value; + } + PyObject *arg_traceback; + if (obj_traceback == NULL) { + arg_traceback = NULL; + } else { + arg_traceback = obj_traceback; + } + PyObject *retval = CPyDef__batch___coroutines_DankBatch_gen___throw(arg___mypyc_self__, arg_type, arg_value, arg_traceback); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "throw", -1, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch___coroutines_DankBatch_gen___close(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[17]; /* 'GeneratorExit' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = CPyDef__batch___coroutines_DankBatch_gen___throw(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r3, cpy_r_r4); + if (cpy_r_r5 != NULL) goto CPyL11; +CPyL3: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyModule_builtins; + cpy_r_r8 = CPyStatics[18]; /* 'StopIteration' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL12; + cpy_r_r10.f0 = cpy_r_r2; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp3 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp3); + PyObject *__tmp4 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp4); + cpy_r_r12 = CPy_ExceptionMatches(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (!cpy_r_r12) goto CPyL13; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + cpy_r_r13 = (PyObject *)&_Py_NoneStruct; + CPy_INCREF(cpy_r_r13); + return cpy_r_r13; +CPyL6: ; + CPy_Reraise(); + if (!0) goto CPyL10; + CPy_Unreachable(); +CPyL8: ; + PyErr_SetString(PyExc_RuntimeError, "generator ignored GeneratorExit"); + cpy_r_r14 = 0; + if (!cpy_r_r14) goto CPyL10; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL11: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r5); + goto CPyL8; +CPyL12: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL10; +CPyL13: ; + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL6; +} + +PyObject *CPyPy__batch___coroutines_DankBatch_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":close", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__batch___coroutines_DankBatch_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._batch.coroutines_DankBatch_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__batch___coroutines_DankBatch_gen___close(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "close", -1, CPyStatic__batch___globals); + return NULL; +} + +PyObject *CPyDef__batch___DankBatch___coroutines(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + char cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = CPyDef__batch___coroutines_DankBatch_gen(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 131, CPyStatic__batch___globals); + goto CPyL3; + } + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r_r0)->___mypyc_next_label__ = 0; + CPy_INCREF_NO_IMM(cpy_r_self); + if (((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self != NULL) { + CPy_DECREF_NO_IMM(((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self); + } + ((dank_mids____batch___coroutines_DankBatch_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self = cpy_r_self; + cpy_r_r2 = 1; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 131, CPyStatic__batch___globals); + goto CPyL4; + } + return cpy_r_r0; +CPyL3: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +CPyL4: ; + CPy_DecRef(cpy_r_r0); + goto CPyL3; +} + +PyObject *CPyPy__batch___DankBatch___coroutines(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":coroutines", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__batch___DankBatch)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._batch.DankBatch", obj_self); + goto fail; + } + PyObject *retval = CPyDef__batch___DankBatch___coroutines(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_batch.py", "coroutines", 131, CPyStatic__batch___globals); + return NULL; +} + +char CPyDef__batch_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject **cpy_r_r13; + void *cpy_r_r15; + void *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + char cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject **cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + int32_t cpy_r_r56; + char cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + PyObject *cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + tuple_T3OOO cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + int32_t cpy_r_r77; + char cpy_r_r78; + PyObject *cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + int32_t cpy_r_r82; + char cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + int32_t cpy_r_r87; + char cpy_r_r88; + PyObject *cpy_r_r89; + PyObject *cpy_r_r90; + PyObject *cpy_r_r91; + PyObject *cpy_r_r92; + PyObject *cpy_r_r93; + char cpy_r_r94; + PyObject **cpy_r_r96; + PyObject *cpy_r_r97; + PyObject *cpy_r_r98; + PyObject *cpy_r_r99; + int32_t cpy_r_r100; + char cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + PyObject *cpy_r_r104; + PyObject *cpy_r_r105; + PyObject *cpy_r_r106; + PyObject *cpy_r_r107; + PyObject *cpy_r_r108; + int32_t cpy_r_r109; + char cpy_r_r110; + PyObject *cpy_r_r111; + PyObject *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; + PyObject *cpy_r_r119; + PyObject *cpy_r_r120; + PyObject *cpy_r_r121; + PyObject *cpy_r_r122; + int32_t cpy_r_r123; + char cpy_r_r124; + PyObject *cpy_r_r125; + PyObject *cpy_r_r126; + int32_t cpy_r_r127; + char cpy_r_r128; + char cpy_r_r129; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", -1, CPyStatic__batch___globals); + goto CPyL41; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[908]; /* ('Task',) */ + cpy_r_r6 = CPyStatics[31]; /* 'asyncio' */ + cpy_r_r7 = CPyStatic__batch___globals; + cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 1, CPyStatic__batch___globals); + goto CPyL41; + } + CPyModule_asyncio = cpy_r_r8; + CPy_INCREF(CPyModule_asyncio); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[909]; /* ('TYPE_CHECKING', 'Any', 'Awaitable', 'Final', 'Generator', + 'TypeVar', 'Union', 'final') */ + cpy_r_r10 = CPyStatics[40]; /* 'typing' */ + cpy_r_r11 = CPyStatic__batch___globals; + cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 2, CPyStatic__batch___globals); + goto CPyL41; + } + CPyModule_typing = cpy_r_r12; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = (PyObject **)&CPyModule_a_sync; + PyObject **cpy_r_r14[1] = {cpy_r_r13}; + cpy_r_r15 = (void *)&cpy_r_r14; + int64_t cpy_r_r16[1] = {4}; + cpy_r_r17 = (void *)&cpy_r_r16; + cpy_r_r18 = CPyStatics[911]; /* (('a_sync', 'a_sync', 'a_sync'),) */ + cpy_r_r19 = CPyStatic__batch___globals; + cpy_r_r20 = CPyStatics[42]; /* 'dank_mids\\_batch.py' */ + cpy_r_r21 = CPyStatics[43]; /* '' */ + cpy_r_r22 = CPyImport_ImportMany(cpy_r_r18, cpy_r_r15, cpy_r_r19, cpy_r_r20, cpy_r_r21, cpy_r_r17); + if (!cpy_r_r22) goto CPyL41; + cpy_r_r23 = CPyStatics[912]; /* ('DankMidsInternalError',) */ + cpy_r_r24 = CPyStatics[45]; /* 'dank_mids._exceptions' */ + cpy_r_r25 = CPyStatic__batch___globals; + cpy_r_r26 = CPyImport_ImportFromMany(cpy_r_r24, cpy_r_r23, cpy_r_r23, cpy_r_r25); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 6, CPyStatic__batch___globals); + goto CPyL41; + } + CPyModule_dank_mids____exceptions = cpy_r_r26; + CPy_INCREF(CPyModule_dank_mids____exceptions); + CPy_DECREF(cpy_r_r26); + cpy_r_r27 = CPyStatics[913]; /* ('getLogger',) */ + cpy_r_r28 = CPyStatics[47]; /* 'dank_mids._logging' */ + cpy_r_r29 = CPyStatic__batch___globals; + cpy_r_r30 = CPyImport_ImportFromMany(cpy_r_r28, cpy_r_r27, cpy_r_r27, cpy_r_r29); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 7, CPyStatic__batch___globals); + goto CPyL41; + } + CPyModule_dank_mids____logging = cpy_r_r30; + CPy_INCREF(CPyModule_dank_mids____logging); + CPy_DECREF(cpy_r_r30); + cpy_r_r31 = CPyStatics[914]; /* ('JSONRPCBatch', 'Multicall') */ + cpy_r_r32 = CPyStatics[48]; /* 'dank_mids._requests' */ + cpy_r_r33 = CPyStatic__batch___globals; + cpy_r_r34 = CPyImport_ImportFromMany(cpy_r_r32, cpy_r_r31, cpy_r_r31, cpy_r_r33); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 8, CPyStatic__batch___globals); + goto CPyL41; + } + CPyModule_dank_mids____requests = cpy_r_r34; + CPy_INCREF(CPyModule_dank_mids____requests); + CPy_DECREF(cpy_r_r34); + cpy_r_r35 = CPyStatics[915]; /* ('RawResponse',) */ + cpy_r_r36 = CPyStatics[50]; /* 'dank_mids.helpers._codec' */ + cpy_r_r37 = CPyStatic__batch___globals; + cpy_r_r38 = CPyImport_ImportFromMany(cpy_r_r36, cpy_r_r35, cpy_r_r35, cpy_r_r37); + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 9, CPyStatic__batch___globals); + goto CPyL41; + } + CPyModule_dank_mids___helpers____codec = cpy_r_r38; + CPy_INCREF(CPyModule_dank_mids___helpers____codec); + CPy_DECREF(cpy_r_r38); + cpy_r_r39 = CPyStatics[916]; /* ('log_internal_error',) */ + cpy_r_r40 = CPyStatics[52]; /* 'dank_mids.helpers._errors' */ + cpy_r_r41 = CPyStatic__batch___globals; + cpy_r_r42 = CPyImport_ImportFromMany(cpy_r_r40, cpy_r_r39, cpy_r_r39, cpy_r_r41); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 10, CPyStatic__batch___globals); + goto CPyL41; + } + CPyModule_dank_mids___helpers____errors = cpy_r_r42; + CPy_INCREF(CPyModule_dank_mids___helpers____errors); + CPy_DECREF(cpy_r_r42); + cpy_r_r43 = CPyStatics[917]; /* ('Multicalls',) */ + cpy_r_r44 = CPyStatics[54]; /* 'dank_mids.types' */ + cpy_r_r45 = CPyStatic__batch___globals; + cpy_r_r46 = CPyImport_ImportFromMany(cpy_r_r44, cpy_r_r43, cpy_r_r43, cpy_r_r45); + if (unlikely(cpy_r_r46 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 11, CPyStatic__batch___globals); + goto CPyL41; + } + CPyModule_dank_mids___types = cpy_r_r46; + CPy_INCREF(CPyModule_dank_mids___types); + CPy_DECREF(cpy_r_r46); + cpy_r_r47 = CPyStatics[55]; /* '__T' */ + cpy_r_r48 = CPyStatic__batch___globals; + cpy_r_r49 = CPyStatics[37]; /* 'TypeVar' */ + cpy_r_r50 = CPyDict_GetItem(cpy_r_r48, cpy_r_r49); + if (unlikely(cpy_r_r50 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 17, CPyStatic__batch___globals); + goto CPyL41; + } + PyObject *cpy_r_r51[1] = {cpy_r_r47}; + cpy_r_r52 = (PyObject **)&cpy_r_r51; + cpy_r_r53 = PyObject_Vectorcall(cpy_r_r50, cpy_r_r52, 1, 0); + CPy_DECREF(cpy_r_r50); + if (unlikely(cpy_r_r53 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 17, CPyStatic__batch___globals); + goto CPyL41; + } + cpy_r_r54 = CPyStatic__batch___globals; + cpy_r_r55 = CPyStatics[55]; /* '__T' */ + cpy_r_r56 = CPyDict_SetItem(cpy_r_r54, cpy_r_r55, cpy_r_r53); + CPy_DECREF(cpy_r_r53); + cpy_r_r57 = cpy_r_r56 >= 0; + if (unlikely(!cpy_r_r57)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 17, CPyStatic__batch___globals); + goto CPyL41; + } + cpy_r_r58 = CPyStatic__batch___globals; + cpy_r_r59 = CPyStatics[38]; /* 'Union' */ + cpy_r_r60 = CPyDict_GetItem(cpy_r_r58, cpy_r_r59); + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 19, CPyStatic__batch___globals); + goto CPyL41; + } + cpy_r_r61 = CPyStatic__batch___globals; + cpy_r_r62 = CPyStatics[27]; /* 'Multicall' */ + cpy_r_r63 = CPyDict_GetItem(cpy_r_r61, cpy_r_r62); + if (unlikely(cpy_r_r63 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 19, CPyStatic__batch___globals); + goto CPyL42; + } + cpy_r_r64 = CPyStatic__batch___globals; + cpy_r_r65 = CPyStatics[23]; /* 'JSONRPCBatch' */ + cpy_r_r66 = CPyDict_GetItem(cpy_r_r64, cpy_r_r65); + if (unlikely(cpy_r_r66 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 19, CPyStatic__batch___globals); + goto CPyL43; + } + cpy_r_r67 = CPyStatic__batch___globals; + cpy_r_r68 = CPyStatics[34]; /* 'Awaitable' */ + cpy_r_r69 = CPyDict_GetItem(cpy_r_r67, cpy_r_r68); + if (unlikely(cpy_r_r69 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 19, CPyStatic__batch___globals); + goto CPyL44; + } + cpy_r_r70 = (PyObject *)CPyType__codec___RawResponse; + cpy_r_r71 = PyObject_GetItem(cpy_r_r69, cpy_r_r70); + CPy_DECREF(cpy_r_r69); + if (unlikely(cpy_r_r71 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 19, CPyStatic__batch___globals); + goto CPyL44; + } + cpy_r_r72.f0 = cpy_r_r63; + cpy_r_r72.f1 = cpy_r_r66; + cpy_r_r72.f2 = cpy_r_r71; + cpy_r_r73 = PyTuple_New(3); + if (unlikely(cpy_r_r73 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp5 = cpy_r_r72.f0; + PyTuple_SET_ITEM(cpy_r_r73, 0, __tmp5); + PyObject *__tmp6 = cpy_r_r72.f1; + PyTuple_SET_ITEM(cpy_r_r73, 1, __tmp6); + PyObject *__tmp7 = cpy_r_r72.f2; + PyTuple_SET_ITEM(cpy_r_r73, 2, __tmp7); + cpy_r_r74 = PyObject_GetItem(cpy_r_r60, cpy_r_r73); + CPy_DECREF(cpy_r_r60); + CPy_DECREF(cpy_r_r73); + if (unlikely(cpy_r_r74 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 19, CPyStatic__batch___globals); + goto CPyL41; + } + cpy_r_r75 = CPyStatic__batch___globals; + cpy_r_r76 = CPyStatics[56]; /* 'Coro' */ + 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\\_batch.py", "", 19, CPyStatic__batch___globals); + goto CPyL41; + } + cpy_r_r79 = CPyStatic__batch___globals; + cpy_r_r80 = CPyStatics[57]; /* 'MIN_SIZE' */ + cpy_r_r81 = CPyStatics[873]; /* 1 */ + cpy_r_r82 = CPyDict_SetItem(cpy_r_r79, cpy_r_r80, cpy_r_r81); + cpy_r_r83 = cpy_r_r82 >= 0; + if (unlikely(!cpy_r_r83)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 22, CPyStatic__batch___globals); + goto CPyL41; + } + cpy_r_r84 = CPyStatic__batch___globals; + cpy_r_r85 = CPyStatics[58]; /* 'CHECK' */ + cpy_r_r86 = CPyStatics[872]; /* 0 */ + cpy_r_r87 = CPyDict_SetItem(cpy_r_r84, cpy_r_r85, cpy_r_r86); + cpy_r_r88 = cpy_r_r87 >= 0; + if (unlikely(!cpy_r_r88)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 25, CPyStatic__batch___globals); + goto CPyL41; + } + cpy_r_r89 = CPyStatic__batch___globals; + cpy_r_r90 = CPyStatics[59]; /* '__name__' */ + cpy_r_r91 = CPyDict_GetItem(cpy_r_r89, cpy_r_r90); + if (unlikely(cpy_r_r91 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 29, CPyStatic__batch___globals); + goto CPyL41; + } + if (likely(PyUnicode_Check(cpy_r_r91))) + cpy_r_r92 = cpy_r_r91; + else { + CPy_TypeErrorTraceback("dank_mids\\_batch.py", "", 29, CPyStatic__batch___globals, "str", cpy_r_r91); + goto CPyL41; + } + cpy_r_r93 = CPyStatic__logging___getLogger; + if (unlikely(cpy_r_r93 == NULL)) { + goto CPyL45; + } else + goto CPyL30; +CPyL28: ; + PyErr_SetString(PyExc_NameError, "value for final name \"getLogger\" was not set"); + cpy_r_r94 = 0; + if (unlikely(!cpy_r_r94)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 29, CPyStatic__batch___globals); + goto CPyL41; + } + CPy_Unreachable(); +CPyL30: ; + PyObject *cpy_r_r95[1] = {cpy_r_r92}; + cpy_r_r96 = (PyObject **)&cpy_r_r95; + cpy_r_r97 = PyObject_Vectorcall(cpy_r_r93, cpy_r_r96, 1, 0); + if (unlikely(cpy_r_r97 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 29, CPyStatic__batch___globals); + goto CPyL46; + } + CPy_DECREF(cpy_r_r92); + CPyStatic__batch___logger = cpy_r_r97; + CPy_INCREF(CPyStatic__batch___logger); + cpy_r_r98 = CPyStatic__batch___globals; + cpy_r_r99 = CPyStatics[60]; /* 'logger' */ + cpy_r_r100 = CPyDict_SetItem(cpy_r_r98, cpy_r_r99, cpy_r_r97); + CPy_DECREF(cpy_r_r97); + cpy_r_r101 = cpy_r_r100 >= 0; + if (unlikely(!cpy_r_r101)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 29, CPyStatic__batch___globals); + goto CPyL41; + } + cpy_r_r102 = CPyStatic__batch___globals; + cpy_r_r103 = CPyStatics[41]; /* 'a_sync' */ + cpy_r_r104 = CPyDict_GetItem(cpy_r_r102, cpy_r_r103); + if (unlikely(cpy_r_r104 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 31, CPyStatic__batch___globals); + goto CPyL41; + } + cpy_r_r105 = CPyStatics[61]; /* 'create_task' */ + cpy_r_r106 = CPyObject_GetAttr(cpy_r_r104, cpy_r_r105); + CPy_DECREF(cpy_r_r104); + if (unlikely(cpy_r_r106 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 31, CPyStatic__batch___globals); + goto CPyL41; + } + CPyStatic__batch___create_task = cpy_r_r106; + CPy_INCREF(CPyStatic__batch___create_task); + cpy_r_r107 = CPyStatic__batch___globals; + cpy_r_r108 = CPyStatics[61]; /* 'create_task' */ + cpy_r_r109 = CPyDict_SetItem(cpy_r_r107, cpy_r_r108, cpy_r_r106); + CPy_DECREF(cpy_r_r106); + cpy_r_r110 = cpy_r_r109 >= 0; + if (unlikely(!cpy_r_r110)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 31, CPyStatic__batch___globals); + goto CPyL41; + } + cpy_r_r111 = NULL; + cpy_r_r112 = CPyStatics[62]; /* 'dank_mids._batch' */ + cpy_r_r113 = (PyObject *)CPyType__batch___DankBatch_template; + cpy_r_r114 = CPyType_FromTemplate(cpy_r_r113, cpy_r_r111, cpy_r_r112); + if (unlikely(cpy_r_r114 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 39, CPyStatic__batch___globals); + goto CPyL41; + } + cpy_r_r115 = CPyDef__batch___DankBatch_trait_vtable_setup(); + if (unlikely(cpy_r_r115 == 2)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", -1, CPyStatic__batch___globals); + goto CPyL47; + } + cpy_r_r116 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r117 = CPyStatics[64]; /* 'controller' */ + cpy_r_r118 = CPyStatics[65]; /* 'multicalls' */ + cpy_r_r119 = CPyStatics[66]; /* 'rpc_calls' */ + cpy_r_r120 = CPyStatics[67]; /* '_awaited' */ + cpy_r_r121 = CPyStatics[68]; /* '_check_len' */ + cpy_r_r122 = PyTuple_Pack(5, cpy_r_r117, cpy_r_r118, cpy_r_r119, cpy_r_r120, cpy_r_r121); + if (unlikely(cpy_r_r122 == NULL)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 39, CPyStatic__batch___globals); + goto CPyL47; + } + cpy_r_r123 = PyObject_SetAttr(cpy_r_r114, cpy_r_r116, cpy_r_r122); + CPy_DECREF(cpy_r_r122); + cpy_r_r124 = cpy_r_r123 >= 0; + if (unlikely(!cpy_r_r124)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 39, CPyStatic__batch___globals); + goto CPyL47; + } + CPyType__batch___DankBatch = (PyTypeObject *)cpy_r_r114; + CPy_INCREF(CPyType__batch___DankBatch); + cpy_r_r125 = CPyStatic__batch___globals; + cpy_r_r126 = CPyStatics[69]; /* 'DankBatch' */ + cpy_r_r127 = PyDict_SetItem(cpy_r_r125, cpy_r_r126, cpy_r_r114); + CPy_DECREF(cpy_r_r114); + cpy_r_r128 = cpy_r_r127 >= 0; + if (unlikely(!cpy_r_r128)) { + CPy_AddTraceback("dank_mids\\_batch.py", "", 39, CPyStatic__batch___globals); + goto CPyL41; + } + return 1; +CPyL41: ; + cpy_r_r129 = 2; + return cpy_r_r129; +CPyL42: ; + CPy_DecRef(cpy_r_r60); + goto CPyL41; +CPyL43: ; + CPy_DecRef(cpy_r_r60); + CPy_DecRef(cpy_r_r63); + goto CPyL41; +CPyL44: ; + CPy_DecRef(cpy_r_r60); + CPy_DecRef(cpy_r_r63); + CPy_DecRef(cpy_r_r66); + goto CPyL41; +CPyL45: ; + CPy_DecRef(cpy_r_r92); + goto CPyL28; +CPyL46: ; + CPy_DecRef(cpy_r_r92); + goto CPyL41; +CPyL47: ; + CPy_DecRef(cpy_r_r114); + goto CPyL41; +} + +PyObject *CPyDef__demo_mode_____mypyc__DummyLogger_setup(PyObject *cpy_r_type); +PyObject *CPyDef__demo_mode___DummyLogger(void); + +static PyObject * +_demo_mode___DummyLogger_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType__demo_mode___DummyLogger) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef__demo_mode_____mypyc__DummyLogger_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +_demo_mode___DummyLogger_traverse(dank_mids____demo_mode___DummyLoggerObject *self, visitproc visit, void *arg) +{ + return 0; +} + +static int +_demo_mode___DummyLogger_clear(dank_mids____demo_mode___DummyLoggerObject *self) +{ + return 0; +} + +static void +_demo_mode___DummyLogger_dealloc(dank_mids____demo_mode___DummyLoggerObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, _demo_mode___DummyLogger_dealloc) + _demo_mode___DummyLogger_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem _demo_mode___DummyLogger_vtable[1]; +static bool +CPyDef__demo_mode___DummyLogger_trait_vtable_setup(void) +{ + CPyVTableItem _demo_mode___DummyLogger_vtable_scratch[] = { + (CPyVTableItem)CPyDef__demo_mode___DummyLogger___info, + }; + memcpy(_demo_mode___DummyLogger_vtable, _demo_mode___DummyLogger_vtable_scratch, sizeof(_demo_mode___DummyLogger_vtable)); + return 1; +} + + +static PyGetSetDef _demo_mode___DummyLogger_getseters[] = { + {NULL} /* Sentinel */ +}; + +static PyMethodDef _demo_mode___DummyLogger_methods[] = { + {"info", + (PyCFunction)CPyPy__demo_mode___DummyLogger___info, + METH_FASTCALL | METH_KEYWORDS | METH_STATIC, PyDoc_STR("info(*args, **kwargs)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__demo_mode___DummyLogger_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "DummyLogger", + .tp_new = _demo_mode___DummyLogger_new, + .tp_dealloc = (destructor)_demo_mode___DummyLogger_dealloc, + .tp_traverse = (traverseproc)_demo_mode___DummyLogger_traverse, + .tp_clear = (inquiry)_demo_mode___DummyLogger_clear, + .tp_getset = _demo_mode___DummyLogger_getseters, + .tp_methods = _demo_mode___DummyLogger_methods, + .tp_basicsize = sizeof(dank_mids____demo_mode___DummyLoggerObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("DummyLogger()\n--\n\n"), +}; +static PyTypeObject *CPyType__demo_mode___DummyLogger_template = &CPyType__demo_mode___DummyLogger_template_; + +PyObject *CPyDef__demo_mode_____mypyc__DummyLogger_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____demo_mode___DummyLoggerObject *self; + self = (dank_mids____demo_mode___DummyLoggerObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = _demo_mode___DummyLogger_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef__demo_mode___DummyLogger(void) +{ + PyObject *self = CPyDef__demo_mode_____mypyc__DummyLogger_setup((PyObject *)CPyType__demo_mode___DummyLogger); + if (self == NULL) + return NULL; + return self; +} + +static PyMethodDef _demo_modemodule_methods[] = { + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids____demo_mode(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids____demo_mode__internal, "__name__"); + CPyStatic__demo_mode___globals = PyModule_GetDict(CPyModule_dank_mids____demo_mode__internal); + if (unlikely(CPyStatic__demo_mode___globals == NULL)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef__demo_mode_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids____demo_mode__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic__demo_mode___demo_logger); + CPyStatic__demo_mode___demo_logger = NULL; + Py_CLEAR(CPyType__demo_mode___DummyLogger); + return -1; +} +static struct PyModuleDef _demo_modemodule = { + PyModuleDef_HEAD_INIT, + "dank_mids._demo_mode", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + _demo_modemodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids____demo_mode(void) +{ + if (CPyModule_dank_mids____demo_mode__internal) { + Py_INCREF(CPyModule_dank_mids____demo_mode__internal); + return CPyModule_dank_mids____demo_mode__internal; + } + CPyModule_dank_mids____demo_mode__internal = PyModule_Create(&_demo_modemodule); + if (unlikely(CPyModule_dank_mids____demo_mode__internal == NULL)) + goto fail; + if (CPyExec_dank_mids____demo_mode(CPyModule_dank_mids____demo_mode__internal) != 0) + goto fail; + return CPyModule_dank_mids____demo_mode__internal; + fail: + return NULL; +} + +char CPyDef__demo_mode___DummyLogger___info(PyObject *cpy_r_args, PyObject *cpy_r_kwargs) { + return 1; +} + +PyObject *CPyPy__demo_mode___DummyLogger___info(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {"%:info", kwlist, 0}; + PyObject *obj_args; + PyObject *obj_kwargs; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_args, &obj_kwargs)) { + return NULL; + } + PyObject *arg_args = obj_args; + PyObject *arg_kwargs = obj_kwargs; + char retval = CPyDef__demo_mode___DummyLogger___info(arg_args, arg_kwargs); + CPy_DECREF(obj_args); + CPy_DECREF(obj_kwargs); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_DECREF(obj_args); + CPy_DECREF(obj_kwargs); + CPy_AddTraceback("dank_mids\\_demo_mode.py", "info", 18, CPyStatic__demo_mode___globals); + return NULL; +} + +char CPyDef__demo_mode_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + char cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + int32_t cpy_r_r24; + char cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + int32_t cpy_r_r28; + char cpy_r_r29; + PyObject *cpy_r_r30; + char cpy_r_r31; + int32_t cpy_r_r32; + char cpy_r_r33; + char cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + char cpy_r_r37; + PyObject **cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + int32_t cpy_r_r43; + char cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + int32_t cpy_r_r48; + char cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + int32_t cpy_r_r55; + char cpy_r_r56; + char cpy_r_r57; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", -1, CPyStatic__demo_mode___globals); + goto CPyL25; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[918]; /* ('Any', 'Final', 'final') */ + cpy_r_r6 = CPyStatics[40]; /* '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); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 1, CPyStatic__demo_mode___globals); + goto CPyL25; + } + CPyModule_typing = cpy_r_r8; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[919]; /* ('ENVIRONMENT_VARIABLES',) */ + cpy_r_r10 = CPyStatics[71]; /* '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); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 3, CPyStatic__demo_mode___globals); + goto CPyL25; + } + CPyModule_dank_mids = cpy_r_r12; + CPy_INCREF(CPyModule_dank_mids); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = CPyStatics[913]; /* ('getLogger',) */ + cpy_r_r14 = CPyStatics[47]; /* '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); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 4, CPyStatic__demo_mode___globals); + goto CPyL25; + } + CPyModule_dank_mids____logging = cpy_r_r16; + CPy_INCREF(CPyModule_dank_mids____logging); + CPy_DECREF(cpy_r_r16); + cpy_r_r17 = NULL; + cpy_r_r18 = CPyStatics[72]; /* 'dank_mids._demo_mode' */ + cpy_r_r19 = (PyObject *)CPyType__demo_mode___DummyLogger_template; + cpy_r_r20 = CPyType_FromTemplate(cpy_r_r19, cpy_r_r17, cpy_r_r18); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 8, CPyStatic__demo_mode___globals); + goto CPyL25; + } + cpy_r_r21 = CPyDef__demo_mode___DummyLogger_trait_vtable_setup(); + if (unlikely(cpy_r_r21 == 2)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", -1, CPyStatic__demo_mode___globals); + goto CPyL26; + } + cpy_r_r22 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r23 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_r24 = PyObject_SetAttr(cpy_r_r20, cpy_r_r22, cpy_r_r23); + CPy_DECREF(cpy_r_r23); + cpy_r_r25 = cpy_r_r24 >= 0; + if (unlikely(!cpy_r_r25)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 8, CPyStatic__demo_mode___globals); + goto CPyL26; + } + CPyType__demo_mode___DummyLogger = (PyTypeObject *)cpy_r_r20; + CPy_INCREF(CPyType__demo_mode___DummyLogger); + cpy_r_r26 = CPyStatic__demo_mode___globals; + cpy_r_r27 = CPyStatics[73]; /* 'DummyLogger' */ + cpy_r_r28 = PyDict_SetItem(cpy_r_r26, cpy_r_r27, cpy_r_r20); + CPy_DECREF(cpy_r_r20); + cpy_r_r29 = cpy_r_r28 >= 0; + if (unlikely(!cpy_r_r29)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 8, CPyStatic__demo_mode___globals); + goto CPyL25; + } + cpy_r_r30 = CPyStatic_ENVIRONMENT_VARIABLES___DEMO_MODE; + if (likely(cpy_r_r30 != NULL)) goto CPyL13; + PyErr_SetString(PyExc_NameError, "value for final name \"DEMO_MODE\" was not set"); + cpy_r_r31 = 0; + if (unlikely(!cpy_r_r31)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 30, CPyStatic__demo_mode___globals); + goto CPyL25; + } + CPy_Unreachable(); +CPyL13: ; + cpy_r_r32 = PyObject_IsTrue(cpy_r_r30); + cpy_r_r33 = cpy_r_r32 >= 0; + if (unlikely(!cpy_r_r33)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 30, CPyStatic__demo_mode___globals); + goto CPyL25; + } + cpy_r_r34 = cpy_r_r32; + if (!cpy_r_r34) goto CPyL20; + cpy_r_r35 = CPyStatics[74]; /* 'dank_mids.demo' */ + cpy_r_r36 = CPyStatic__logging___getLogger; + if (likely(cpy_r_r36 != NULL)) goto CPyL18; + PyErr_SetString(PyExc_NameError, "value for final name \"getLogger\" was not set"); + cpy_r_r37 = 0; + if (unlikely(!cpy_r_r37)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 31, CPyStatic__demo_mode___globals); + goto CPyL25; + } + CPy_Unreachable(); +CPyL18: ; + PyObject *cpy_r_r38[1] = {cpy_r_r35}; + cpy_r_r39 = (PyObject **)&cpy_r_r38; + cpy_r_r40 = PyObject_Vectorcall(cpy_r_r36, cpy_r_r39, 1, 0); + if (unlikely(cpy_r_r40 == NULL)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 31, CPyStatic__demo_mode___globals); + goto CPyL25; + } + cpy_r_r41 = CPyStatic__demo_mode___globals; + cpy_r_r42 = CPyStatics[75]; /* '_logger' */ + cpy_r_r43 = CPyDict_SetItem(cpy_r_r41, cpy_r_r42, cpy_r_r40); + CPy_DECREF(cpy_r_r40); + cpy_r_r44 = cpy_r_r43 >= 0; + if (unlikely(!cpy_r_r44)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 31, CPyStatic__demo_mode___globals); + goto CPyL25; + } else + goto CPyL22; +CPyL20: ; + cpy_r_r45 = CPyDef__demo_mode___DummyLogger(); + if (unlikely(cpy_r_r45 == NULL)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 33, CPyStatic__demo_mode___globals); + goto CPyL25; + } + cpy_r_r46 = CPyStatic__demo_mode___globals; + cpy_r_r47 = CPyStatics[75]; /* '_logger' */ + cpy_r_r48 = CPyDict_SetItem(cpy_r_r46, cpy_r_r47, cpy_r_r45); + CPy_DECREF_NO_IMM(cpy_r_r45); + cpy_r_r49 = cpy_r_r48 >= 0; + if (unlikely(!cpy_r_r49)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 33, CPyStatic__demo_mode___globals); + goto CPyL25; + } +CPyL22: ; + cpy_r_r50 = CPyStatic__demo_mode___globals; + cpy_r_r51 = CPyStatics[75]; /* '_logger' */ + cpy_r_r52 = CPyDict_GetItem(cpy_r_r50, cpy_r_r51); + if (unlikely(cpy_r_r52 == NULL)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 35, CPyStatic__demo_mode___globals); + goto CPyL25; + } + CPyStatic__demo_mode___demo_logger = cpy_r_r52; + CPy_INCREF(CPyStatic__demo_mode___demo_logger); + cpy_r_r53 = CPyStatic__demo_mode___globals; + cpy_r_r54 = CPyStatics[76]; /* 'demo_logger' */ + cpy_r_r55 = CPyDict_SetItem(cpy_r_r53, cpy_r_r54, cpy_r_r52); + CPy_DECREF(cpy_r_r52); + cpy_r_r56 = cpy_r_r55 >= 0; + if (unlikely(!cpy_r_r56)) { + CPy_AddTraceback("dank_mids\\_demo_mode.py", "", 35, CPyStatic__demo_mode___globals); + goto CPyL25; + } + return 1; +CPyL25: ; + cpy_r_r57 = 2; + return cpy_r_r57; +CPyL26: ; + CPy_DecRef(cpy_r_r20); + goto CPyL25; +} +static PyMethodDef _envsmodule_methods[] = { + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids____envs(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids____envs__internal, "__name__"); + CPyStatic__envs___globals = PyModule_GetDict(CPyModule_dank_mids____envs__internal); + if (unlikely(CPyStatic__envs___globals == NULL)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef__envs_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids____envs__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic__envs____factory); + CPyStatic__envs____factory = NULL; + CPy_XDECREF(CPyStatic__envs___create_env); + CPyStatic__envs___create_env = NULL; + CPy_XDECREF(CPyStatic__envs____deprecated_format); + CPyStatic__envs____deprecated_format = NULL; + return -1; +} +static struct PyModuleDef _envsmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids._envs", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + _envsmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids____envs(void) +{ + if (CPyModule_dank_mids____envs__internal) { + Py_INCREF(CPyModule_dank_mids____envs__internal); + return CPyModule_dank_mids____envs__internal; + } + CPyModule_dank_mids____envs__internal = PyModule_Create(&_envsmodule); + if (unlikely(CPyModule_dank_mids____envs__internal == NULL)) + goto fail; + if (CPyExec_dank_mids____envs(CPyModule_dank_mids____envs__internal) != 0) + goto fail; + return CPyModule_dank_mids____envs__internal; + fail: + return NULL; +} + +char CPyDef__envs_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject **cpy_r_r9; + void *cpy_r_r11; + void *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + char cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject **cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + int32_t cpy_r_r36; + char cpy_r_r37; + PyObject *cpy_r_r38; + char cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject **cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + char cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject **cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + char cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + PyObject **cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + char cpy_r_r73; + PyObject *cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + PyObject *cpy_r_r77; + int32_t cpy_r_r78; + char cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject **cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + PyObject *cpy_r_r88; + int32_t cpy_r_r89; + char cpy_r_r90; + char cpy_r_r91; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", -1, CPyStatic__envs___globals); + goto CPyL36; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[920]; /* ('Final',) */ + cpy_r_r6 = CPyStatics[40]; /* 'typing' */ + cpy_r_r7 = CPyStatic__envs___globals; + cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 1, CPyStatic__envs___globals); + goto CPyL36; + } + CPyModule_typing = cpy_r_r8; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = (PyObject **)&CPyModule_a_sync; + PyObject **cpy_r_r10[1] = {cpy_r_r9}; + 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[911]; /* (('a_sync', 'a_sync', 'a_sync'),) */ + cpy_r_r15 = CPyStatic__envs___globals; + cpy_r_r16 = CPyStatics[77]; /* 'dank_mids\\_envs.py' */ + cpy_r_r17 = CPyStatics[43]; /* '' */ + 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[921]; /* ('EnvVarFactory',) */ + cpy_r_r20 = CPyStatics[79]; /* '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); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 4, CPyStatic__envs___globals); + goto CPyL36; + } + CPyModule_typed_envs = cpy_r_r22; + CPy_INCREF(CPyModule_typed_envs); + CPy_DECREF(cpy_r_r22); + cpy_r_r23 = CPyStatics[922]; /* ('BlockSemaphore',) */ + cpy_r_r24 = CPyStatics[81]; /* '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); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 6, CPyStatic__envs___globals); + goto CPyL36; + } + CPyModule_dank_mids___semaphores = cpy_r_r26; + CPy_INCREF(CPyModule_dank_mids___semaphores); + CPy_DECREF(cpy_r_r26); + cpy_r_r27 = CPyStatics[82]; /* 'DANKMIDS' */ + cpy_r_r28 = CPyStatic__envs___globals; + cpy_r_r29 = CPyStatics[78]; /* 'EnvVarFactory' */ + cpy_r_r30 = CPyDict_GetItem(cpy_r_r28, cpy_r_r29); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 9, CPyStatic__envs___globals); + goto CPyL36; + } + PyObject *cpy_r_r31[1] = {cpy_r_r27}; + cpy_r_r32 = (PyObject **)&cpy_r_r31; + cpy_r_r33 = PyObject_Vectorcall(cpy_r_r30, cpy_r_r32, 1, 0); + CPy_DECREF(cpy_r_r30); + if (unlikely(cpy_r_r33 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 9, CPyStatic__envs___globals); + goto CPyL36; + } + CPyStatic__envs____factory = cpy_r_r33; + CPy_INCREF(CPyStatic__envs____factory); + cpy_r_r34 = CPyStatic__envs___globals; + cpy_r_r35 = CPyStatics[83]; /* '_factory' */ + cpy_r_r36 = CPyDict_SetItem(cpy_r_r34, cpy_r_r35, cpy_r_r33); + CPy_DECREF(cpy_r_r33); + cpy_r_r37 = cpy_r_r36 >= 0; + if (unlikely(!cpy_r_r37)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 9, CPyStatic__envs___globals); + goto CPyL36; + } + cpy_r_r38 = CPyStatic__envs____factory; + if (likely(cpy_r_r38 != NULL)) goto CPyL13; + PyErr_SetString(PyExc_NameError, "value for final name \"_factory\" was not set"); + cpy_r_r39 = 0; + if (unlikely(!cpy_r_r39)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 13, CPyStatic__envs___globals); + goto CPyL36; + } + CPy_Unreachable(); +CPyL13: ; + cpy_r_r40 = CPyStatic__envs___globals; + cpy_r_r41 = CPyStatics[41]; /* 'a_sync' */ + cpy_r_r42 = CPyDict_GetItem(cpy_r_r40, cpy_r_r41); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 13, CPyStatic__envs___globals); + goto CPyL36; + } + cpy_r_r43 = CPyStatics[84]; /* 'Semaphore' */ + cpy_r_r44 = CPyObject_GetAttr(cpy_r_r42, cpy_r_r43); + CPy_DECREF(cpy_r_r42); + if (unlikely(cpy_r_r44 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 13, CPyStatic__envs___globals); + goto CPyL36; + } + cpy_r_r45 = (PyObject *)&PyLong_Type; + cpy_r_r46 = CPyStatics[85]; /* 'register_string_converter' */ + PyObject *cpy_r_r47[3] = {cpy_r_r38, cpy_r_r44, cpy_r_r45}; + cpy_r_r48 = (PyObject **)&cpy_r_r47; + cpy_r_r49 = PyObject_VectorcallMethod(cpy_r_r46, cpy_r_r48, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r49 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 13, CPyStatic__envs___globals); + goto CPyL37; + } else + goto CPyL38; +CPyL16: ; + CPy_DECREF(cpy_r_r44); + cpy_r_r50 = CPyStatic__envs____factory; + if (likely(cpy_r_r50 != NULL)) goto CPyL19; + PyErr_SetString(PyExc_NameError, "value for final name \"_factory\" was not set"); + cpy_r_r51 = 0; + if (unlikely(!cpy_r_r51)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 14, CPyStatic__envs___globals); + goto CPyL36; + } + CPy_Unreachable(); +CPyL19: ; + cpy_r_r52 = CPyStatic__envs___globals; + cpy_r_r53 = CPyStatics[41]; /* 'a_sync' */ + cpy_r_r54 = CPyDict_GetItem(cpy_r_r52, cpy_r_r53); + if (unlikely(cpy_r_r54 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 14, CPyStatic__envs___globals); + goto CPyL36; + } + cpy_r_r55 = CPyStatics[86]; /* 'ProcessPoolExecutor' */ + cpy_r_r56 = CPyObject_GetAttr(cpy_r_r54, cpy_r_r55); + CPy_DECREF(cpy_r_r54); + if (unlikely(cpy_r_r56 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 14, CPyStatic__envs___globals); + goto CPyL36; + } + cpy_r_r57 = (PyObject *)&PyLong_Type; + cpy_r_r58 = CPyStatics[85]; /* 'register_string_converter' */ + PyObject *cpy_r_r59[3] = {cpy_r_r50, cpy_r_r56, cpy_r_r57}; + cpy_r_r60 = (PyObject **)&cpy_r_r59; + cpy_r_r61 = PyObject_VectorcallMethod(cpy_r_r58, cpy_r_r60, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r61 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 14, CPyStatic__envs___globals); + goto CPyL39; + } else + goto CPyL40; +CPyL22: ; + CPy_DECREF(cpy_r_r56); + cpy_r_r62 = CPyStatic__envs____factory; + if (likely(cpy_r_r62 != NULL)) goto CPyL25; + PyErr_SetString(PyExc_NameError, "value for final name \"_factory\" was not set"); + cpy_r_r63 = 0; + if (unlikely(!cpy_r_r63)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 15, CPyStatic__envs___globals); + goto CPyL36; + } + CPy_Unreachable(); +CPyL25: ; + cpy_r_r64 = CPyStatic__envs___globals; + cpy_r_r65 = CPyStatics[80]; /* 'BlockSemaphore' */ + cpy_r_r66 = CPyDict_GetItem(cpy_r_r64, cpy_r_r65); + if (unlikely(cpy_r_r66 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 15, CPyStatic__envs___globals); + goto CPyL36; + } + cpy_r_r67 = (PyObject *)&PyLong_Type; + cpy_r_r68 = CPyStatics[85]; /* 'register_string_converter' */ + PyObject *cpy_r_r69[3] = {cpy_r_r62, cpy_r_r66, cpy_r_r67}; + cpy_r_r70 = (PyObject **)&cpy_r_r69; + cpy_r_r71 = PyObject_VectorcallMethod(cpy_r_r68, cpy_r_r70, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r71 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 15, CPyStatic__envs___globals); + goto CPyL41; + } else + goto CPyL42; +CPyL27: ; + CPy_DECREF(cpy_r_r66); + cpy_r_r72 = CPyStatic__envs____factory; + if (likely(cpy_r_r72 != NULL)) goto CPyL30; + PyErr_SetString(PyExc_NameError, "value for final name \"_factory\" was not set"); + cpy_r_r73 = 0; + if (unlikely(!cpy_r_r73)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 17, CPyStatic__envs___globals); + goto CPyL36; + } + CPy_Unreachable(); +CPyL30: ; + cpy_r_r74 = CPyStatics[87]; /* 'create_env' */ + cpy_r_r75 = CPyObject_GetAttr(cpy_r_r72, cpy_r_r74); + if (unlikely(cpy_r_r75 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 17, CPyStatic__envs___globals); + goto CPyL36; + } + CPyStatic__envs___create_env = cpy_r_r75; + CPy_INCREF(CPyStatic__envs___create_env); + cpy_r_r76 = CPyStatic__envs___globals; + cpy_r_r77 = CPyStatics[87]; /* 'create_env' */ + cpy_r_r78 = CPyDict_SetItem(cpy_r_r76, cpy_r_r77, cpy_r_r75); + CPy_DECREF(cpy_r_r75); + cpy_r_r79 = cpy_r_r78 >= 0; + if (unlikely(!cpy_r_r79)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 17, CPyStatic__envs___globals); + goto CPyL36; + } + cpy_r_r80 = CPyStatics[88]; /* 'DANK_MIDS' */ + cpy_r_r81 = CPyStatic__envs___globals; + cpy_r_r82 = CPyStatics[78]; /* 'EnvVarFactory' */ + cpy_r_r83 = CPyDict_GetItem(cpy_r_r81, cpy_r_r82); + if (unlikely(cpy_r_r83 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 20, CPyStatic__envs___globals); + goto CPyL36; + } + PyObject *cpy_r_r84[1] = {cpy_r_r80}; + cpy_r_r85 = (PyObject **)&cpy_r_r84; + cpy_r_r86 = PyObject_Vectorcall(cpy_r_r83, cpy_r_r85, 1, 0); + CPy_DECREF(cpy_r_r83); + if (unlikely(cpy_r_r86 == NULL)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 20, CPyStatic__envs___globals); + goto CPyL36; + } + CPyStatic__envs____deprecated_format = cpy_r_r86; + CPy_INCREF(CPyStatic__envs____deprecated_format); + cpy_r_r87 = CPyStatic__envs___globals; + cpy_r_r88 = CPyStatics[89]; /* '_deprecated_format' */ + cpy_r_r89 = CPyDict_SetItem(cpy_r_r87, cpy_r_r88, cpy_r_r86); + CPy_DECREF(cpy_r_r86); + cpy_r_r90 = cpy_r_r89 >= 0; + if (unlikely(!cpy_r_r90)) { + CPy_AddTraceback("dank_mids\\_envs.py", "", 20, CPyStatic__envs___globals); + goto CPyL36; + } + return 1; +CPyL36: ; + cpy_r_r91 = 2; + return cpy_r_r91; +CPyL37: ; + CPy_DecRef(cpy_r_r44); + goto CPyL36; +CPyL38: ; + CPy_DECREF(cpy_r_r49); + goto CPyL16; +CPyL39: ; + CPy_DecRef(cpy_r_r56); + goto CPyL36; +CPyL40: ; + CPy_DECREF(cpy_r_r61); + goto CPyL22; +CPyL41: ; + CPy_DecRef(cpy_r_r66); + goto CPyL36; +CPyL42: ; + CPy_DECREF(cpy_r_r71); + goto CPyL27; +} +static PyMethodDef _eth_utilsmodule_methods[] = { + {"patch_eth_utils", (PyCFunction)CPyPy__eth_utils___patch_eth_utils, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("patch_eth_utils()\n--\n\n") /* docstring */}, + {"to_hex", (PyCFunction)CPyPy__eth_utils___to_hex, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("to_hex(primitive=None, hexstr=None, text=None)\n--\n\n") /* docstring */}, + {"to_bytes", (PyCFunction)CPyPy__eth_utils___to_bytes, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("to_bytes(primitive=None, hexstr=None, text=None)\n--\n\n") /* docstring */}, + {"decode_hex", (PyCFunction)CPyPy__eth_utils___decode_hex, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("decode_hex(value)\n--\n\n") /* docstring */}, + {"encode_hex", (PyCFunction)CPyPy__eth_utils___encode_hex, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("encode_hex(value)\n--\n\n") /* docstring */}, + {"is_0x_prefixed", (PyCFunction)CPyPy__eth_utils___is_0x_prefixed, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("is_0x_prefixed(value)\n--\n\n") /* docstring */}, + {"remove_0x_prefix", (PyCFunction)CPyPy__eth_utils___remove_0x_prefix, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("remove_0x_prefix(value)\n--\n\n") /* docstring */}, + {"add_0x_prefix", (PyCFunction)CPyPy__eth_utils___add_0x_prefix, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("add_0x_prefix(value)\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids____eth_utils(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids____eth_utils__internal, "__name__"); + CPyStatic__eth_utils___globals = PyModule_GetDict(CPyModule_dank_mids____eth_utils__internal); + if (unlikely(CPyStatic__eth_utils___globals == NULL)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef__eth_utils_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids____eth_utils__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic__eth_utils___hexlify); + CPyStatic__eth_utils___hexlify = NULL; + CPy_XDECREF(CPyStatic__eth_utils___unhexlify); + CPyStatic__eth_utils___unhexlify = NULL; + return -1; +} +static struct PyModuleDef _eth_utilsmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids._eth_utils", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + _eth_utilsmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids____eth_utils(void) +{ + if (CPyModule_dank_mids____eth_utils__internal) { + Py_INCREF(CPyModule_dank_mids____eth_utils__internal); + return CPyModule_dank_mids____eth_utils__internal; + } + CPyModule_dank_mids____eth_utils__internal = PyModule_Create(&_eth_utilsmodule); + if (unlikely(CPyModule_dank_mids____eth_utils__internal == NULL)) + goto fail; + if (CPyExec_dank_mids____eth_utils(CPyModule_dank_mids____eth_utils__internal) != 0) + goto fail; + return CPyModule_dank_mids____eth_utils__internal; + fail: + return NULL; +} + +char CPyDef__eth_utils___patch_eth_utils(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + int32_t cpy_r_r10; + char cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + int32_t cpy_r_r21; + char cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + char cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + int32_t cpy_r_r33; + char cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + int32_t cpy_r_r44; + char cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + int32_t cpy_r_r55; + char cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + char cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + int32_t cpy_r_r67; + char cpy_r_r68; + PyObject *cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + PyObject *cpy_r_r77; + PyObject *cpy_r_r78; + PyObject *cpy_r_r79; + int32_t cpy_r_r80; + char cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + char cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + PyObject *cpy_r_r88; + PyObject *cpy_r_r89; + PyObject *cpy_r_r90; + PyObject *cpy_r_r91; + int32_t cpy_r_r92; + char cpy_r_r93; + PyObject *cpy_r_r94; + PyObject *cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + PyObject *cpy_r_r98; + PyObject *cpy_r_r99; + PyObject *cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + PyObject *cpy_r_r104; + int32_t cpy_r_r105; + char cpy_r_r106; + PyObject *cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + char cpy_r_r110; + PyObject *cpy_r_r111; + PyObject *cpy_r_r112; + PyObject *cpy_r_r113; + PyObject *cpy_r_r114; + PyObject *cpy_r_r115; + PyObject *cpy_r_r116; + int32_t cpy_r_r117; + char cpy_r_r118; + PyObject *cpy_r_r119; + PyObject *cpy_r_r120; + PyObject *cpy_r_r121; + PyObject *cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + PyObject *cpy_r_r126; + PyObject *cpy_r_r127; + PyObject *cpy_r_r128; + PyObject *cpy_r_r129; + int32_t cpy_r_r130; + char cpy_r_r131; + PyObject *cpy_r_r132; + PyObject *cpy_r_r133; + PyObject *cpy_r_r134; + PyObject *cpy_r_r135; + PyObject *cpy_r_r136; + PyObject *cpy_r_r137; + PyObject *cpy_r_r138; + PyObject *cpy_r_r139; + PyObject *cpy_r_r140; + PyObject *cpy_r_r141; + PyObject *cpy_r_r142; + int32_t cpy_r_r143; + char cpy_r_r144; + PyObject *cpy_r_r145; + PyObject *cpy_r_r146; + PyObject *cpy_r_r147; + char cpy_r_r148; + PyObject *cpy_r_r149; + PyObject *cpy_r_r150; + PyObject *cpy_r_r151; + PyObject *cpy_r_r152; + PyObject *cpy_r_r153; + PyObject *cpy_r_r154; + int32_t cpy_r_r155; + char cpy_r_r156; + PyObject *cpy_r_r157; + PyObject *cpy_r_r158; + PyObject *cpy_r_r159; + PyObject *cpy_r_r160; + PyObject *cpy_r_r161; + PyObject *cpy_r_r162; + PyObject *cpy_r_r163; + PyObject *cpy_r_r164; + PyObject *cpy_r_r165; + PyObject *cpy_r_r166; + PyObject *cpy_r_r167; + int32_t cpy_r_r168; + char cpy_r_r169; + PyObject *cpy_r_r170; + PyObject *cpy_r_r171; + PyObject *cpy_r_r172; + PyObject *cpy_r_r173; + PyObject *cpy_r_r174; + PyObject *cpy_r_r175; + PyObject *cpy_r_r176; + PyObject *cpy_r_r177; + PyObject *cpy_r_r178; + PyObject *cpy_r_r179; + PyObject *cpy_r_r180; + int32_t cpy_r_r181; + char cpy_r_r182; + PyObject *cpy_r_r183; + PyObject *cpy_r_r184; + PyObject *cpy_r_r185; + char cpy_r_r186; + PyObject *cpy_r_r187; + PyObject *cpy_r_r188; + PyObject *cpy_r_r189; + PyObject *cpy_r_r190; + PyObject *cpy_r_r191; + PyObject *cpy_r_r192; + int32_t cpy_r_r193; + char cpy_r_r194; + PyObject *cpy_r_r195; + PyObject *cpy_r_r196; + PyObject *cpy_r_r197; + PyObject *cpy_r_r198; + PyObject *cpy_r_r199; + PyObject *cpy_r_r200; + PyObject *cpy_r_r201; + PyObject *cpy_r_r202; + PyObject *cpy_r_r203; + PyObject *cpy_r_r204; + PyObject *cpy_r_r205; + int32_t cpy_r_r206; + char cpy_r_r207; + PyObject *cpy_r_r208; + PyObject *cpy_r_r209; + PyObject *cpy_r_r210; + PyObject *cpy_r_r211; + PyObject *cpy_r_r212; + PyObject *cpy_r_r213; + PyObject *cpy_r_r214; + PyObject *cpy_r_r215; + PyObject *cpy_r_r216; + PyObject *cpy_r_r217; + PyObject *cpy_r_r218; + int32_t cpy_r_r219; + char cpy_r_r220; + PyObject *cpy_r_r221; + PyObject *cpy_r_r222; + PyObject *cpy_r_r223; + char cpy_r_r224; + PyObject *cpy_r_r225; + PyObject *cpy_r_r226; + PyObject *cpy_r_r227; + PyObject *cpy_r_r228; + PyObject *cpy_r_r229; + PyObject *cpy_r_r230; + int32_t cpy_r_r231; + char cpy_r_r232; + tuple_T3OOO cpy_r_r233; + PyObject *cpy_r_r234; + PyObject *cpy_r_r235; + PyObject *cpy_r_r236; + char cpy_r_r237; + char cpy_r_r238; + PyObject *cpy_r_r239; + PyObject *cpy_r_r240; + PyObject *cpy_r_r241; + PyObject *cpy_r_r242; + PyObject *cpy_r_r243; + PyObject *cpy_r_r244; + PyObject *cpy_r_r245; + PyObject *cpy_r_r246; + PyObject *cpy_r_r247; + PyObject *cpy_r_r248; + PyObject *cpy_r_r249; + int32_t cpy_r_r250; + char cpy_r_r251; + PyObject *cpy_r_r252; + PyObject *cpy_r_r253; + PyObject *cpy_r_r254; + PyObject *cpy_r_r255; + PyObject *cpy_r_r256; + PyObject *cpy_r_r257; + PyObject *cpy_r_r258; + PyObject *cpy_r_r259; + PyObject *cpy_r_r260; + PyObject *cpy_r_r261; + PyObject *cpy_r_r262; + int32_t cpy_r_r263; + char cpy_r_r264; + char cpy_r_r265; + cpy_r_r0 = CPyStatic__eth_utils___globals; + cpy_r_r1 = CPyModule_eth_utils___crypto; + cpy_r_r2 = (PyObject *)&_Py_NoneStruct; + cpy_r_r3 = cpy_r_r1 != cpy_r_r2; + if (cpy_r_r3) goto CPyL3; + cpy_r_r4 = CPyStatics[90]; /* 'eth_utils.crypto' */ + cpy_r_r5 = PyImport_Import(cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 25, CPyStatic__eth_utils___globals); + goto CPyL110; + } + CPyModule_eth_utils___crypto = cpy_r_r5; + CPy_INCREF(CPyModule_eth_utils___crypto); + CPy_DECREF(cpy_r_r5); +CPyL3: ; + cpy_r_r6 = CPyStatics[91]; /* 'eth_utils' */ + cpy_r_r7 = PyImport_GetModuleDict(); + cpy_r_r8 = CPyStatics[91]; /* 'eth_utils' */ + cpy_r_r9 = CPyDict_GetItem(cpy_r_r7, cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 25, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r10 = CPyDict_SetItem(cpy_r_r0, cpy_r_r6, cpy_r_r9); + CPy_DECREF(cpy_r_r9); + cpy_r_r11 = cpy_r_r10 >= 0; + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 25, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r12 = CPyStatic__eth_utils___globals; + cpy_r_r13 = CPyStatics[92]; /* 'to_bytes' */ + cpy_r_r14 = CPyDict_GetItem(cpy_r_r12, cpy_r_r13); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 27, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r15 = CPyStatic__eth_utils___globals; + cpy_r_r16 = CPyStatics[91]; /* 'eth_utils' */ + cpy_r_r17 = CPyDict_GetItem(cpy_r_r15, cpy_r_r16); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 27, CPyStatic__eth_utils___globals); + goto CPyL111; + } + cpy_r_r18 = CPyStatics[93]; /* 'crypto' */ + cpy_r_r19 = CPyObject_GetAttr(cpy_r_r17, cpy_r_r18); + CPy_DECREF(cpy_r_r17); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 27, CPyStatic__eth_utils___globals); + goto CPyL111; + } + cpy_r_r20 = CPyStatics[92]; /* 'to_bytes' */ + cpy_r_r21 = PyObject_SetAttr(cpy_r_r19, cpy_r_r20, cpy_r_r14); + CPy_DECREF(cpy_r_r19); + CPy_DECREF(cpy_r_r14); + cpy_r_r22 = cpy_r_r21 >= 0; + if (unlikely(!cpy_r_r22)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 27, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r23 = CPyStatic__eth_utils___globals; + cpy_r_r24 = CPyModule_web3___main; + cpy_r_r25 = (PyObject *)&_Py_NoneStruct; + cpy_r_r26 = cpy_r_r24 != cpy_r_r25; + if (cpy_r_r26) goto CPyL12; + cpy_r_r27 = CPyStatics[94]; /* 'web3.main' */ + cpy_r_r28 = PyImport_Import(cpy_r_r27); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 29, CPyStatic__eth_utils___globals); + goto CPyL110; + } + CPyModule_web3___main = cpy_r_r28; + CPy_INCREF(CPyModule_web3___main); + CPy_DECREF(cpy_r_r28); +CPyL12: ; + cpy_r_r29 = CPyStatics[95]; /* 'web3' */ + cpy_r_r30 = PyImport_GetModuleDict(); + cpy_r_r31 = CPyStatics[95]; /* 'web3' */ + cpy_r_r32 = CPyDict_GetItem(cpy_r_r30, cpy_r_r31); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 29, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r33 = CPyDict_SetItem(cpy_r_r23, cpy_r_r29, cpy_r_r32); + CPy_DECREF(cpy_r_r32); + cpy_r_r34 = cpy_r_r33 >= 0; + if (unlikely(!cpy_r_r34)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 29, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r35 = CPyStatic__eth_utils___globals; + cpy_r_r36 = CPyStatics[96]; /* 'to_hex' */ + cpy_r_r37 = CPyDict_GetItem(cpy_r_r35, cpy_r_r36); + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 31, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r38 = CPyStatic__eth_utils___globals; + cpy_r_r39 = CPyStatics[95]; /* 'web3' */ + cpy_r_r40 = CPyDict_GetItem(cpy_r_r38, cpy_r_r39); + if (unlikely(cpy_r_r40 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 31, CPyStatic__eth_utils___globals); + goto CPyL112; + } + cpy_r_r41 = CPyStatics[97]; /* 'main' */ + cpy_r_r42 = CPyObject_GetAttr(cpy_r_r40, cpy_r_r41); + CPy_DECREF(cpy_r_r40); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 31, CPyStatic__eth_utils___globals); + goto CPyL112; + } + cpy_r_r43 = CPyStatics[96]; /* 'to_hex' */ + cpy_r_r44 = PyObject_SetAttr(cpy_r_r42, cpy_r_r43, cpy_r_r37); + CPy_DECREF(cpy_r_r42); + CPy_DECREF(cpy_r_r37); + cpy_r_r45 = cpy_r_r44 >= 0; + if (unlikely(!cpy_r_r45)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 31, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r46 = CPyStatic__eth_utils___globals; + cpy_r_r47 = CPyStatics[92]; /* 'to_bytes' */ + cpy_r_r48 = CPyDict_GetItem(cpy_r_r46, cpy_r_r47); + if (unlikely(cpy_r_r48 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 32, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r49 = CPyStatic__eth_utils___globals; + cpy_r_r50 = CPyStatics[95]; /* 'web3' */ + cpy_r_r51 = CPyDict_GetItem(cpy_r_r49, cpy_r_r50); + if (unlikely(cpy_r_r51 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 32, CPyStatic__eth_utils___globals); + goto CPyL113; + } + cpy_r_r52 = CPyStatics[97]; /* 'main' */ + cpy_r_r53 = CPyObject_GetAttr(cpy_r_r51, cpy_r_r52); + CPy_DECREF(cpy_r_r51); + if (unlikely(cpy_r_r53 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 32, CPyStatic__eth_utils___globals); + goto CPyL113; + } + cpy_r_r54 = CPyStatics[92]; /* 'to_bytes' */ + cpy_r_r55 = PyObject_SetAttr(cpy_r_r53, cpy_r_r54, cpy_r_r48); + CPy_DECREF(cpy_r_r53); + CPy_DECREF(cpy_r_r48); + cpy_r_r56 = cpy_r_r55 >= 0; + if (unlikely(!cpy_r_r56)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 32, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r57 = CPyStatic__eth_utils___globals; + cpy_r_r58 = CPyModule_web3___middleware___filter; + cpy_r_r59 = (PyObject *)&_Py_NoneStruct; + cpy_r_r60 = cpy_r_r58 != cpy_r_r59; + if (cpy_r_r60) goto CPyL25; + cpy_r_r61 = CPyStatics[98]; /* 'web3.middleware.filter' */ + cpy_r_r62 = PyImport_Import(cpy_r_r61); + if (unlikely(cpy_r_r62 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 34, CPyStatic__eth_utils___globals); + goto CPyL110; + } + CPyModule_web3___middleware___filter = cpy_r_r62; + CPy_INCREF(CPyModule_web3___middleware___filter); + CPy_DECREF(cpy_r_r62); +CPyL25: ; + cpy_r_r63 = CPyStatics[95]; /* 'web3' */ + cpy_r_r64 = PyImport_GetModuleDict(); + cpy_r_r65 = CPyStatics[95]; /* 'web3' */ + cpy_r_r66 = CPyDict_GetItem(cpy_r_r64, cpy_r_r65); + if (unlikely(cpy_r_r66 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 34, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r67 = CPyDict_SetItem(cpy_r_r57, cpy_r_r63, cpy_r_r66); + CPy_DECREF(cpy_r_r66); + cpy_r_r68 = cpy_r_r67 >= 0; + if (unlikely(!cpy_r_r68)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 34, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r69 = CPyStatic__eth_utils___globals; + cpy_r_r70 = CPyStatics[96]; /* 'to_hex' */ + cpy_r_r71 = CPyDict_GetItem(cpy_r_r69, cpy_r_r70); + if (unlikely(cpy_r_r71 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 36, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r72 = CPyStatic__eth_utils___globals; + cpy_r_r73 = CPyStatics[95]; /* 'web3' */ + cpy_r_r74 = CPyDict_GetItem(cpy_r_r72, cpy_r_r73); + if (unlikely(cpy_r_r74 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 36, CPyStatic__eth_utils___globals); + goto CPyL114; + } + cpy_r_r75 = CPyStatics[99]; /* 'middleware' */ + cpy_r_r76 = CPyObject_GetAttr(cpy_r_r74, cpy_r_r75); + CPy_DECREF(cpy_r_r74); + if (unlikely(cpy_r_r76 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 36, CPyStatic__eth_utils___globals); + goto CPyL114; + } + cpy_r_r77 = CPyStatics[100]; /* 'filter' */ + cpy_r_r78 = CPyObject_GetAttr(cpy_r_r76, cpy_r_r77); + CPy_DECREF(cpy_r_r76); + if (unlikely(cpy_r_r78 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 36, CPyStatic__eth_utils___globals); + goto CPyL114; + } + cpy_r_r79 = CPyStatics[96]; /* 'to_hex' */ + cpy_r_r80 = PyObject_SetAttr(cpy_r_r78, cpy_r_r79, cpy_r_r71); + CPy_DECREF(cpy_r_r78); + CPy_DECREF(cpy_r_r71); + cpy_r_r81 = cpy_r_r80 >= 0; + if (unlikely(!cpy_r_r81)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 36, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r82 = CPyStatic__eth_utils___globals; + cpy_r_r83 = CPyModule_web3___providers___base; + cpy_r_r84 = (PyObject *)&_Py_NoneStruct; + cpy_r_r85 = cpy_r_r83 != cpy_r_r84; + if (cpy_r_r85) goto CPyL35; + cpy_r_r86 = CPyStatics[101]; /* 'web3.providers.base' */ + cpy_r_r87 = PyImport_Import(cpy_r_r86); + if (unlikely(cpy_r_r87 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 38, CPyStatic__eth_utils___globals); + goto CPyL110; + } + CPyModule_web3___providers___base = cpy_r_r87; + CPy_INCREF(CPyModule_web3___providers___base); + CPy_DECREF(cpy_r_r87); +CPyL35: ; + cpy_r_r88 = CPyStatics[95]; /* 'web3' */ + cpy_r_r89 = PyImport_GetModuleDict(); + cpy_r_r90 = CPyStatics[95]; /* 'web3' */ + cpy_r_r91 = CPyDict_GetItem(cpy_r_r89, cpy_r_r90); + if (unlikely(cpy_r_r91 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 38, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r92 = CPyDict_SetItem(cpy_r_r82, cpy_r_r88, cpy_r_r91); + CPy_DECREF(cpy_r_r91); + cpy_r_r93 = cpy_r_r92 >= 0; + if (unlikely(!cpy_r_r93)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 38, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r94 = CPyStatic__eth_utils___globals; + cpy_r_r95 = CPyStatics[92]; /* 'to_bytes' */ + cpy_r_r96 = CPyDict_GetItem(cpy_r_r94, cpy_r_r95); + if (unlikely(cpy_r_r96 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 40, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r97 = CPyStatic__eth_utils___globals; + cpy_r_r98 = CPyStatics[95]; /* 'web3' */ + cpy_r_r99 = CPyDict_GetItem(cpy_r_r97, cpy_r_r98); + if (unlikely(cpy_r_r99 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 40, CPyStatic__eth_utils___globals); + goto CPyL115; + } + cpy_r_r100 = CPyStatics[102]; /* 'providers' */ + cpy_r_r101 = CPyObject_GetAttr(cpy_r_r99, cpy_r_r100); + CPy_DECREF(cpy_r_r99); + if (unlikely(cpy_r_r101 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 40, CPyStatic__eth_utils___globals); + goto CPyL115; + } + cpy_r_r102 = CPyStatics[103]; /* 'base' */ + cpy_r_r103 = CPyObject_GetAttr(cpy_r_r101, cpy_r_r102); + CPy_DECREF(cpy_r_r101); + if (unlikely(cpy_r_r103 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 40, CPyStatic__eth_utils___globals); + goto CPyL115; + } + cpy_r_r104 = CPyStatics[92]; /* 'to_bytes' */ + cpy_r_r105 = PyObject_SetAttr(cpy_r_r103, cpy_r_r104, cpy_r_r96); + CPy_DECREF(cpy_r_r103); + CPy_DECREF(cpy_r_r96); + cpy_r_r106 = cpy_r_r105 >= 0; + if (unlikely(!cpy_r_r106)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 40, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r107 = CPyStatic__eth_utils___globals; + cpy_r_r108 = CPyModule_web3____utils___encoding; + cpy_r_r109 = (PyObject *)&_Py_NoneStruct; + cpy_r_r110 = cpy_r_r108 != cpy_r_r109; + if (cpy_r_r110) goto CPyL45; + cpy_r_r111 = CPyStatics[104]; /* 'web3._utils.encoding' */ + cpy_r_r112 = PyImport_Import(cpy_r_r111); + if (unlikely(cpy_r_r112 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 42, CPyStatic__eth_utils___globals); + goto CPyL110; + } + CPyModule_web3____utils___encoding = cpy_r_r112; + CPy_INCREF(CPyModule_web3____utils___encoding); + CPy_DECREF(cpy_r_r112); +CPyL45: ; + cpy_r_r113 = CPyStatics[95]; /* 'web3' */ + cpy_r_r114 = PyImport_GetModuleDict(); + cpy_r_r115 = CPyStatics[95]; /* 'web3' */ + cpy_r_r116 = CPyDict_GetItem(cpy_r_r114, cpy_r_r115); + if (unlikely(cpy_r_r116 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 42, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r117 = CPyDict_SetItem(cpy_r_r107, cpy_r_r113, cpy_r_r116); + CPy_DECREF(cpy_r_r116); + cpy_r_r118 = cpy_r_r117 >= 0; + if (unlikely(!cpy_r_r118)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 42, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r119 = CPyStatic__eth_utils___globals; + cpy_r_r120 = CPyStatics[96]; /* 'to_hex' */ + cpy_r_r121 = CPyDict_GetItem(cpy_r_r119, cpy_r_r120); + if (unlikely(cpy_r_r121 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 44, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r122 = CPyStatic__eth_utils___globals; + cpy_r_r123 = CPyStatics[95]; /* 'web3' */ + cpy_r_r124 = CPyDict_GetItem(cpy_r_r122, cpy_r_r123); + if (unlikely(cpy_r_r124 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 44, CPyStatic__eth_utils___globals); + goto CPyL116; + } + cpy_r_r125 = CPyStatics[105]; /* '_utils' */ + cpy_r_r126 = CPyObject_GetAttr(cpy_r_r124, cpy_r_r125); + CPy_DECREF(cpy_r_r124); + if (unlikely(cpy_r_r126 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 44, CPyStatic__eth_utils___globals); + goto CPyL116; + } + cpy_r_r127 = CPyStatics[106]; /* 'encoding' */ + cpy_r_r128 = CPyObject_GetAttr(cpy_r_r126, cpy_r_r127); + CPy_DECREF(cpy_r_r126); + if (unlikely(cpy_r_r128 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 44, CPyStatic__eth_utils___globals); + goto CPyL116; + } + cpy_r_r129 = CPyStatics[96]; /* 'to_hex' */ + cpy_r_r130 = PyObject_SetAttr(cpy_r_r128, cpy_r_r129, cpy_r_r121); + CPy_DECREF(cpy_r_r128); + CPy_DECREF(cpy_r_r121); + cpy_r_r131 = cpy_r_r130 >= 0; + if (unlikely(!cpy_r_r131)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 44, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r132 = CPyStatic__eth_utils___globals; + cpy_r_r133 = CPyStatics[92]; /* 'to_bytes' */ + cpy_r_r134 = CPyDict_GetItem(cpy_r_r132, cpy_r_r133); + if (unlikely(cpy_r_r134 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 45, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r135 = CPyStatic__eth_utils___globals; + cpy_r_r136 = CPyStatics[95]; /* 'web3' */ + cpy_r_r137 = CPyDict_GetItem(cpy_r_r135, cpy_r_r136); + if (unlikely(cpy_r_r137 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 45, CPyStatic__eth_utils___globals); + goto CPyL117; + } + cpy_r_r138 = CPyStatics[105]; /* '_utils' */ + cpy_r_r139 = CPyObject_GetAttr(cpy_r_r137, cpy_r_r138); + CPy_DECREF(cpy_r_r137); + if (unlikely(cpy_r_r139 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 45, CPyStatic__eth_utils___globals); + goto CPyL117; + } + cpy_r_r140 = CPyStatics[106]; /* 'encoding' */ + cpy_r_r141 = CPyObject_GetAttr(cpy_r_r139, cpy_r_r140); + CPy_DECREF(cpy_r_r139); + if (unlikely(cpy_r_r141 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 45, CPyStatic__eth_utils___globals); + goto CPyL117; + } + cpy_r_r142 = CPyStatics[92]; /* 'to_bytes' */ + cpy_r_r143 = PyObject_SetAttr(cpy_r_r141, cpy_r_r142, cpy_r_r134); + CPy_DECREF(cpy_r_r141); + CPy_DECREF(cpy_r_r134); + cpy_r_r144 = cpy_r_r143 >= 0; + if (unlikely(!cpy_r_r144)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 45, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r145 = CPyStatic__eth_utils___globals; + cpy_r_r146 = CPyModule_web3____utils___events; + cpy_r_r147 = (PyObject *)&_Py_NoneStruct; + cpy_r_r148 = cpy_r_r146 != cpy_r_r147; + if (cpy_r_r148) goto CPyL60; + cpy_r_r149 = CPyStatics[107]; /* 'web3._utils.events' */ + cpy_r_r150 = PyImport_Import(cpy_r_r149); + if (unlikely(cpy_r_r150 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 47, CPyStatic__eth_utils___globals); + goto CPyL110; + } + CPyModule_web3____utils___events = cpy_r_r150; + CPy_INCREF(CPyModule_web3____utils___events); + CPy_DECREF(cpy_r_r150); +CPyL60: ; + cpy_r_r151 = CPyStatics[95]; /* 'web3' */ + cpy_r_r152 = PyImport_GetModuleDict(); + cpy_r_r153 = CPyStatics[95]; /* 'web3' */ + cpy_r_r154 = CPyDict_GetItem(cpy_r_r152, cpy_r_r153); + if (unlikely(cpy_r_r154 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 47, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r155 = CPyDict_SetItem(cpy_r_r145, cpy_r_r151, cpy_r_r154); + CPy_DECREF(cpy_r_r154); + cpy_r_r156 = cpy_r_r155 >= 0; + if (unlikely(!cpy_r_r156)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 47, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r157 = CPyStatic__eth_utils___globals; + cpy_r_r158 = CPyStatics[96]; /* 'to_hex' */ + cpy_r_r159 = CPyDict_GetItem(cpy_r_r157, cpy_r_r158); + if (unlikely(cpy_r_r159 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 49, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r160 = CPyStatic__eth_utils___globals; + cpy_r_r161 = CPyStatics[95]; /* 'web3' */ + cpy_r_r162 = CPyDict_GetItem(cpy_r_r160, cpy_r_r161); + if (unlikely(cpy_r_r162 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 49, CPyStatic__eth_utils___globals); + goto CPyL118; + } + cpy_r_r163 = CPyStatics[105]; /* '_utils' */ + cpy_r_r164 = CPyObject_GetAttr(cpy_r_r162, cpy_r_r163); + CPy_DECREF(cpy_r_r162); + if (unlikely(cpy_r_r164 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 49, CPyStatic__eth_utils___globals); + goto CPyL118; + } + cpy_r_r165 = CPyStatics[108]; /* 'events' */ + cpy_r_r166 = CPyObject_GetAttr(cpy_r_r164, cpy_r_r165); + CPy_DECREF(cpy_r_r164); + if (unlikely(cpy_r_r166 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 49, CPyStatic__eth_utils___globals); + goto CPyL118; + } + cpy_r_r167 = CPyStatics[96]; /* 'to_hex' */ + cpy_r_r168 = PyObject_SetAttr(cpy_r_r166, cpy_r_r167, cpy_r_r159); + CPy_DECREF(cpy_r_r166); + CPy_DECREF(cpy_r_r159); + cpy_r_r169 = cpy_r_r168 >= 0; + if (unlikely(!cpy_r_r169)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 49, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r170 = CPyStatic__eth_utils___globals; + cpy_r_r171 = CPyStatics[92]; /* 'to_bytes' */ + cpy_r_r172 = CPyDict_GetItem(cpy_r_r170, cpy_r_r171); + if (unlikely(cpy_r_r172 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 50, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r173 = CPyStatic__eth_utils___globals; + cpy_r_r174 = CPyStatics[95]; /* 'web3' */ + cpy_r_r175 = CPyDict_GetItem(cpy_r_r173, cpy_r_r174); + if (unlikely(cpy_r_r175 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 50, CPyStatic__eth_utils___globals); + goto CPyL119; + } + cpy_r_r176 = CPyStatics[105]; /* '_utils' */ + cpy_r_r177 = CPyObject_GetAttr(cpy_r_r175, cpy_r_r176); + CPy_DECREF(cpy_r_r175); + if (unlikely(cpy_r_r177 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 50, CPyStatic__eth_utils___globals); + goto CPyL119; + } + cpy_r_r178 = CPyStatics[108]; /* 'events' */ + cpy_r_r179 = CPyObject_GetAttr(cpy_r_r177, cpy_r_r178); + CPy_DECREF(cpy_r_r177); + if (unlikely(cpy_r_r179 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 50, CPyStatic__eth_utils___globals); + goto CPyL119; + } + cpy_r_r180 = CPyStatics[92]; /* 'to_bytes' */ + cpy_r_r181 = PyObject_SetAttr(cpy_r_r179, cpy_r_r180, cpy_r_r172); + CPy_DECREF(cpy_r_r179); + CPy_DECREF(cpy_r_r172); + cpy_r_r182 = cpy_r_r181 >= 0; + if (unlikely(!cpy_r_r182)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 50, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r183 = CPyStatic__eth_utils___globals; + cpy_r_r184 = CPyModule_web3____utils___normalizers; + cpy_r_r185 = (PyObject *)&_Py_NoneStruct; + cpy_r_r186 = cpy_r_r184 != cpy_r_r185; + if (cpy_r_r186) goto CPyL75; + cpy_r_r187 = CPyStatics[109]; /* 'web3._utils.normalizers' */ + cpy_r_r188 = PyImport_Import(cpy_r_r187); + if (unlikely(cpy_r_r188 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 52, CPyStatic__eth_utils___globals); + goto CPyL110; + } + CPyModule_web3____utils___normalizers = cpy_r_r188; + CPy_INCREF(CPyModule_web3____utils___normalizers); + CPy_DECREF(cpy_r_r188); +CPyL75: ; + cpy_r_r189 = CPyStatics[95]; /* 'web3' */ + cpy_r_r190 = PyImport_GetModuleDict(); + cpy_r_r191 = CPyStatics[95]; /* 'web3' */ + cpy_r_r192 = CPyDict_GetItem(cpy_r_r190, cpy_r_r191); + if (unlikely(cpy_r_r192 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 52, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r193 = CPyDict_SetItem(cpy_r_r183, cpy_r_r189, cpy_r_r192); + CPy_DECREF(cpy_r_r192); + cpy_r_r194 = cpy_r_r193 >= 0; + if (unlikely(!cpy_r_r194)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 52, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r195 = CPyStatic__eth_utils___globals; + cpy_r_r196 = CPyStatics[96]; /* 'to_hex' */ + cpy_r_r197 = CPyDict_GetItem(cpy_r_r195, cpy_r_r196); + if (unlikely(cpy_r_r197 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 54, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r198 = CPyStatic__eth_utils___globals; + cpy_r_r199 = CPyStatics[95]; /* 'web3' */ + cpy_r_r200 = CPyDict_GetItem(cpy_r_r198, cpy_r_r199); + if (unlikely(cpy_r_r200 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 54, CPyStatic__eth_utils___globals); + goto CPyL120; + } + cpy_r_r201 = CPyStatics[105]; /* '_utils' */ + cpy_r_r202 = CPyObject_GetAttr(cpy_r_r200, cpy_r_r201); + CPy_DECREF(cpy_r_r200); + if (unlikely(cpy_r_r202 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 54, CPyStatic__eth_utils___globals); + goto CPyL120; + } + cpy_r_r203 = CPyStatics[110]; /* 'normalizers' */ + cpy_r_r204 = CPyObject_GetAttr(cpy_r_r202, cpy_r_r203); + CPy_DECREF(cpy_r_r202); + if (unlikely(cpy_r_r204 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 54, CPyStatic__eth_utils___globals); + goto CPyL120; + } + cpy_r_r205 = CPyStatics[96]; /* 'to_hex' */ + cpy_r_r206 = PyObject_SetAttr(cpy_r_r204, cpy_r_r205, cpy_r_r197); + CPy_DECREF(cpy_r_r204); + CPy_DECREF(cpy_r_r197); + cpy_r_r207 = cpy_r_r206 >= 0; + if (unlikely(!cpy_r_r207)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 54, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r208 = CPyStatic__eth_utils___globals; + cpy_r_r209 = CPyStatics[92]; /* 'to_bytes' */ + cpy_r_r210 = CPyDict_GetItem(cpy_r_r208, cpy_r_r209); + if (unlikely(cpy_r_r210 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 55, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r211 = CPyStatic__eth_utils___globals; + cpy_r_r212 = CPyStatics[95]; /* 'web3' */ + cpy_r_r213 = CPyDict_GetItem(cpy_r_r211, cpy_r_r212); + if (unlikely(cpy_r_r213 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 55, CPyStatic__eth_utils___globals); + goto CPyL121; + } + cpy_r_r214 = CPyStatics[105]; /* '_utils' */ + cpy_r_r215 = CPyObject_GetAttr(cpy_r_r213, cpy_r_r214); + CPy_DECREF(cpy_r_r213); + if (unlikely(cpy_r_r215 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 55, CPyStatic__eth_utils___globals); + goto CPyL121; + } + cpy_r_r216 = CPyStatics[110]; /* 'normalizers' */ + cpy_r_r217 = CPyObject_GetAttr(cpy_r_r215, cpy_r_r216); + CPy_DECREF(cpy_r_r215); + if (unlikely(cpy_r_r217 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 55, CPyStatic__eth_utils___globals); + goto CPyL121; + } + cpy_r_r218 = CPyStatics[92]; /* 'to_bytes' */ + cpy_r_r219 = PyObject_SetAttr(cpy_r_r217, cpy_r_r218, cpy_r_r210); + CPy_DECREF(cpy_r_r217); + CPy_DECREF(cpy_r_r210); + cpy_r_r220 = cpy_r_r219 >= 0; + if (unlikely(!cpy_r_r220)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 55, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r221 = CPyStatic__eth_utils___globals; + cpy_r_r222 = CPyModule_web3____utils___type_conversion; + cpy_r_r223 = (PyObject *)&_Py_NoneStruct; + cpy_r_r224 = cpy_r_r222 != cpy_r_r223; + if (cpy_r_r224) goto CPyL90; + cpy_r_r225 = CPyStatics[111]; /* 'web3._utils.type_conversion' */ + cpy_r_r226 = PyImport_Import(cpy_r_r225); + if (unlikely(cpy_r_r226 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 59, CPyStatic__eth_utils___globals); + goto CPyL92; + } + CPyModule_web3____utils___type_conversion = cpy_r_r226; + CPy_INCREF(CPyModule_web3____utils___type_conversion); + CPy_DECREF(cpy_r_r226); +CPyL90: ; + cpy_r_r227 = CPyStatics[95]; /* 'web3' */ + cpy_r_r228 = PyImport_GetModuleDict(); + cpy_r_r229 = CPyStatics[95]; /* 'web3' */ + cpy_r_r230 = CPyDict_GetItem(cpy_r_r228, cpy_r_r229); + if (unlikely(cpy_r_r230 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 59, CPyStatic__eth_utils___globals); + goto CPyL92; + } + cpy_r_r231 = CPyDict_SetItem(cpy_r_r221, cpy_r_r227, cpy_r_r230); + CPy_DECREF(cpy_r_r230); + cpy_r_r232 = cpy_r_r231 >= 0; + if (unlikely(!cpy_r_r232)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 59, CPyStatic__eth_utils___globals); + } else + goto CPyL99; +CPyL92: ; + cpy_r_r233 = CPy_CatchError(); + cpy_r_r234 = CPyModule_builtins; + cpy_r_r235 = CPyStatics[112]; /* 'ModuleNotFoundError' */ + cpy_r_r236 = CPyObject_GetAttr(cpy_r_r234, cpy_r_r235); + if (unlikely(cpy_r_r236 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 60, CPyStatic__eth_utils___globals); + goto CPyL97; + } + cpy_r_r237 = CPy_ExceptionMatches(cpy_r_r236); + CPy_DecRef(cpy_r_r236); + if (cpy_r_r237) goto CPyL96; + CPy_Reraise(); + if (!0) { + goto CPyL97; + } else + goto CPyL122; +CPyL95: ; + CPy_Unreachable(); +CPyL96: ; + CPy_RestoreExcInfo(cpy_r_r233); + CPy_DecRef(cpy_r_r233.f0); + CPy_DecRef(cpy_r_r233.f1); + CPy_DecRef(cpy_r_r233.f2); + goto CPyL109; +CPyL97: ; + CPy_RestoreExcInfo(cpy_r_r233); + CPy_DecRef(cpy_r_r233.f0); + CPy_DecRef(cpy_r_r233.f1); + CPy_DecRef(cpy_r_r233.f2); + cpy_r_r238 = CPy_KeepPropagating(); + if (!cpy_r_r238) goto CPyL110; + CPy_Unreachable(); +CPyL99: ; + cpy_r_r239 = CPyStatic__eth_utils___globals; + cpy_r_r240 = CPyStatics[96]; /* 'to_hex' */ + cpy_r_r241 = CPyDict_GetItem(cpy_r_r239, cpy_r_r240); + if (unlikely(cpy_r_r241 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 63, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r242 = CPyStatic__eth_utils___globals; + cpy_r_r243 = CPyStatics[95]; /* 'web3' */ + cpy_r_r244 = CPyDict_GetItem(cpy_r_r242, cpy_r_r243); + if (unlikely(cpy_r_r244 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 63, CPyStatic__eth_utils___globals); + goto CPyL123; + } + cpy_r_r245 = CPyStatics[105]; /* '_utils' */ + cpy_r_r246 = CPyObject_GetAttr(cpy_r_r244, cpy_r_r245); + CPy_DECREF(cpy_r_r244); + if (unlikely(cpy_r_r246 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 63, CPyStatic__eth_utils___globals); + goto CPyL123; + } + cpy_r_r247 = CPyStatics[113]; /* 'type_conversion' */ + cpy_r_r248 = CPyObject_GetAttr(cpy_r_r246, cpy_r_r247); + CPy_DECREF(cpy_r_r246); + if (unlikely(cpy_r_r248 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 63, CPyStatic__eth_utils___globals); + goto CPyL123; + } + cpy_r_r249 = CPyStatics[96]; /* 'to_hex' */ + cpy_r_r250 = PyObject_SetAttr(cpy_r_r248, cpy_r_r249, cpy_r_r241); + CPy_DECREF(cpy_r_r248); + CPy_DECREF(cpy_r_r241); + cpy_r_r251 = cpy_r_r250 >= 0; + if (unlikely(!cpy_r_r251)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 63, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r252 = CPyStatic__eth_utils___globals; + cpy_r_r253 = CPyStatics[92]; /* 'to_bytes' */ + cpy_r_r254 = CPyDict_GetItem(cpy_r_r252, cpy_r_r253); + if (unlikely(cpy_r_r254 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 64, CPyStatic__eth_utils___globals); + goto CPyL110; + } + cpy_r_r255 = CPyStatic__eth_utils___globals; + cpy_r_r256 = CPyStatics[95]; /* 'web3' */ + cpy_r_r257 = CPyDict_GetItem(cpy_r_r255, cpy_r_r256); + if (unlikely(cpy_r_r257 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 64, CPyStatic__eth_utils___globals); + goto CPyL124; + } + cpy_r_r258 = CPyStatics[105]; /* '_utils' */ + cpy_r_r259 = CPyObject_GetAttr(cpy_r_r257, cpy_r_r258); + CPy_DECREF(cpy_r_r257); + if (unlikely(cpy_r_r259 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 64, CPyStatic__eth_utils___globals); + goto CPyL124; + } + cpy_r_r260 = CPyStatics[113]; /* 'type_conversion' */ + cpy_r_r261 = CPyObject_GetAttr(cpy_r_r259, cpy_r_r260); + CPy_DECREF(cpy_r_r259); + if (unlikely(cpy_r_r261 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 64, CPyStatic__eth_utils___globals); + goto CPyL124; + } + cpy_r_r262 = CPyStatics[92]; /* 'to_bytes' */ + cpy_r_r263 = PyObject_SetAttr(cpy_r_r261, cpy_r_r262, cpy_r_r254); + CPy_DECREF(cpy_r_r261); + CPy_DECREF(cpy_r_r254); + cpy_r_r264 = cpy_r_r263 >= 0; + if (unlikely(!cpy_r_r264)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 64, CPyStatic__eth_utils___globals); + goto CPyL110; + } +CPyL109: ; + return 1; +CPyL110: ; + cpy_r_r265 = 2; + return cpy_r_r265; +CPyL111: ; + CPy_DecRef(cpy_r_r14); + goto CPyL110; +CPyL112: ; + CPy_DecRef(cpy_r_r37); + goto CPyL110; +CPyL113: ; + CPy_DecRef(cpy_r_r48); + goto CPyL110; +CPyL114: ; + CPy_DecRef(cpy_r_r71); + goto CPyL110; +CPyL115: ; + CPy_DecRef(cpy_r_r96); + goto CPyL110; +CPyL116: ; + CPy_DecRef(cpy_r_r121); + goto CPyL110; +CPyL117: ; + CPy_DecRef(cpy_r_r134); + goto CPyL110; +CPyL118: ; + CPy_DecRef(cpy_r_r159); + goto CPyL110; +CPyL119: ; + CPy_DecRef(cpy_r_r172); + goto CPyL110; +CPyL120: ; + CPy_DecRef(cpy_r_r197); + goto CPyL110; +CPyL121: ; + CPy_DecRef(cpy_r_r210); + goto CPyL110; +CPyL122: ; + CPy_DecRef(cpy_r_r233.f0); + CPy_DecRef(cpy_r_r233.f1); + CPy_DecRef(cpy_r_r233.f2); + goto CPyL95; +CPyL123: ; + CPy_DecRef(cpy_r_r241); + goto CPyL110; +CPyL124: ; + CPy_DecRef(cpy_r_r254); + goto CPyL110; +} + +PyObject *CPyPy__eth_utils___patch_eth_utils(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":patch_eth_utils", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + char retval = CPyDef__eth_utils___patch_eth_utils(); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_eth_utils.py", "patch_eth_utils", 18, CPyStatic__eth_utils___globals); + return NULL; +} + +PyObject *CPyDef__eth_utils___to_hex(PyObject *cpy_r_primitive, PyObject *cpy_r_hexstr, PyObject *cpy_r_text) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + char cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject **cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + char cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + char cpy_r_r17; + char cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + tuple_T2OO cpy_r_r26; + PyObject *cpy_r_r27; + int32_t cpy_r_r28; + char cpy_r_r29; + char cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + int32_t cpy_r_r35; + char cpy_r_r36; + char cpy_r_r37; + PyObject *cpy_r_r38; + PyObject **cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + char cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject **cpy_r_r50; + PyObject *cpy_r_r51; + char cpy_r_r52; + CPyTagged cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject **cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + PyObject *cpy_r_r69; + PyObject **cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + if (cpy_r_primitive != NULL) goto CPyL53; + cpy_r_r0 = Py_None; + cpy_r_primitive = cpy_r_r0; +CPyL2: ; + if (cpy_r_hexstr != NULL) goto CPyL54; + cpy_r_r1 = Py_None; + cpy_r_hexstr = cpy_r_r1; +CPyL4: ; + if (cpy_r_text != NULL) goto CPyL55; + cpy_r_r2 = Py_None; + cpy_r_text = cpy_r_r2; +CPyL6: ; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = cpy_r_hexstr != cpy_r_r3; + if (cpy_r_r4) { + goto CPyL56; + } else + goto CPyL57; +CPyL7: ; + if (likely(cpy_r_hexstr != Py_None)) + cpy_r_r5 = cpy_r_hexstr; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "to_hex", 78, CPyStatic__eth_utils___globals, "str", cpy_r_hexstr); + goto CPyL52; + } + cpy_r_r6 = CPyStatics[114]; /* 'lower' */ + PyObject *cpy_r_r7[1] = {cpy_r_r5}; + cpy_r_r8 = (PyObject **)&cpy_r_r7; + cpy_r_r9 = PyObject_VectorcallMethod(cpy_r_r6, cpy_r_r8, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 78, CPyStatic__eth_utils___globals); + goto CPyL58; + } + CPy_DECREF(cpy_r_r5); + if (likely(PyUnicode_Check(cpy_r_r9))) + cpy_r_r10 = cpy_r_r9; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "to_hex", 78, CPyStatic__eth_utils___globals, "str", cpy_r_r9); + goto CPyL52; + } + cpy_r_r11 = CPyDef__eth_utils___add_0x_prefix(cpy_r_r10); + CPy_DECREF(cpy_r_r10); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 78, CPyStatic__eth_utils___globals); + goto CPyL52; + } + return cpy_r_r11; +CPyL12: ; + cpy_r_r12 = (PyObject *)&_Py_NoneStruct; + cpy_r_r13 = cpy_r_text != cpy_r_r12; + if (cpy_r_r13) { + goto CPyL59; + } else + goto CPyL60; +CPyL13: ; + if (likely(cpy_r_text != Py_None)) + cpy_r_r14 = cpy_r_text; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "to_hex", 81, CPyStatic__eth_utils___globals, "str", cpy_r_text); + goto CPyL52; + } + cpy_r_r15 = PyUnicode_AsUTF8String(cpy_r_r14); + CPy_DECREF(cpy_r_r14); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 81, CPyStatic__eth_utils___globals); + goto CPyL52; + } + cpy_r_r16 = CPyDef__eth_utils___encode_hex(cpy_r_r15); + CPy_DECREF(cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 81, CPyStatic__eth_utils___globals); + goto CPyL52; + } + return cpy_r_r16; +CPyL17: ; + cpy_r_r17 = PyBool_Check(cpy_r_primitive); + if (!cpy_r_r17) goto CPyL23; + if (unlikely(!PyBool_Check(cpy_r_primitive))) { + CPy_TypeError("bool", cpy_r_primitive); cpy_r_r18 = 2; + } else + cpy_r_r18 = cpy_r_primitive == Py_True; + CPy_DECREF(cpy_r_primitive); + if (unlikely(cpy_r_r18 == 2)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 84, CPyStatic__eth_utils___globals); + goto CPyL52; + } + if (!cpy_r_r18) goto CPyL21; + cpy_r_r19 = CPyStatics[115]; /* '0x1' */ + CPy_INCREF(cpy_r_r19); + cpy_r_r20 = cpy_r_r19; + goto CPyL22; +CPyL21: ; + cpy_r_r21 = CPyStatics[116]; /* '0x0' */ + CPy_INCREF(cpy_r_r21); + cpy_r_r20 = cpy_r_r21; +CPyL22: ; + return cpy_r_r20; +CPyL23: ; + cpy_r_r22 = (PyObject *)&PyBytes_Type; + cpy_r_r23 = CPyModule_builtins; + cpy_r_r24 = CPyStatics[117]; /* 'bytearray' */ + cpy_r_r25 = CPyObject_GetAttr(cpy_r_r23, cpy_r_r24); + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 86, CPyStatic__eth_utils___globals); + goto CPyL61; + } + CPy_INCREF(cpy_r_r22); + cpy_r_r26.f0 = cpy_r_r22; + cpy_r_r26.f1 = cpy_r_r25; + cpy_r_r27 = PyTuple_New(2); + if (unlikely(cpy_r_r27 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp8 = cpy_r_r26.f0; + PyTuple_SET_ITEM(cpy_r_r27, 0, __tmp8); + PyObject *__tmp9 = cpy_r_r26.f1; + PyTuple_SET_ITEM(cpy_r_r27, 1, __tmp9); + cpy_r_r28 = PyObject_IsInstance(cpy_r_primitive, cpy_r_r27); + CPy_DECREF(cpy_r_r27); + cpy_r_r29 = cpy_r_r28 >= 0; + if (unlikely(!cpy_r_r29)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 86, CPyStatic__eth_utils___globals); + goto CPyL61; + } + cpy_r_r30 = cpy_r_r28; + if (!cpy_r_r30) goto CPyL28; + cpy_r_r31 = CPyDef__eth_utils___encode_hex(cpy_r_primitive); + CPy_DECREF(cpy_r_primitive); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 87, CPyStatic__eth_utils___globals); + goto CPyL52; + } + return cpy_r_r31; +CPyL28: ; + cpy_r_r32 = CPyModule_builtins; + cpy_r_r33 = CPyStatics[118]; /* 'memoryview' */ + cpy_r_r34 = CPyObject_GetAttr(cpy_r_r32, cpy_r_r33); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 89, CPyStatic__eth_utils___globals); + goto CPyL61; + } + cpy_r_r35 = PyObject_IsInstance(cpy_r_primitive, cpy_r_r34); + CPy_DECREF(cpy_r_r34); + cpy_r_r36 = cpy_r_r35 >= 0; + if (unlikely(!cpy_r_r36)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 89, CPyStatic__eth_utils___globals); + goto CPyL61; + } + cpy_r_r37 = cpy_r_r35; + if (!cpy_r_r37) goto CPyL35; + cpy_r_r38 = (PyObject *)&PyBytes_Type; + PyObject *cpy_r_r39[1] = {cpy_r_primitive}; + cpy_r_r40 = (PyObject **)&cpy_r_r39; + cpy_r_r41 = PyObject_Vectorcall(cpy_r_r38, cpy_r_r40, 1, 0); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 90, CPyStatic__eth_utils___globals); + goto CPyL61; + } + CPy_DECREF(cpy_r_primitive); + if (likely(PyBytes_Check(cpy_r_r41) || PyByteArray_Check(cpy_r_r41))) + cpy_r_r42 = cpy_r_r41; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "to_hex", 90, CPyStatic__eth_utils___globals, "bytes", cpy_r_r41); + goto CPyL52; + } + cpy_r_r43 = CPyDef__eth_utils___encode_hex(cpy_r_r42); + CPy_DECREF(cpy_r_r42); + if (unlikely(cpy_r_r43 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 90, CPyStatic__eth_utils___globals); + goto CPyL52; + } + return cpy_r_r43; +CPyL35: ; + cpy_r_r44 = PyUnicode_Check(cpy_r_primitive); + if (cpy_r_r44) { + goto CPyL62; + } else + goto CPyL40; +CPyL36: ; + cpy_r_r45 = CPyStatics[119]; /* ('Unsupported type: The primitive argument must be one ' + 'of: bytes,bytearray, int or bool and not str') */ + cpy_r_r46 = CPyModule_builtins; + cpy_r_r47 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r48 = CPyObject_GetAttr(cpy_r_r46, cpy_r_r47); + if (unlikely(cpy_r_r48 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 93, CPyStatic__eth_utils___globals); + goto CPyL52; + } + PyObject *cpy_r_r49[1] = {cpy_r_r45}; + cpy_r_r50 = (PyObject **)&cpy_r_r49; + cpy_r_r51 = PyObject_Vectorcall(cpy_r_r48, cpy_r_r50, 1, 0); + CPy_DECREF(cpy_r_r48); + if (unlikely(cpy_r_r51 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 93, CPyStatic__eth_utils___globals); + goto CPyL52; + } + CPy_Raise(cpy_r_r51); + CPy_DECREF(cpy_r_r51); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 93, CPyStatic__eth_utils___globals); + goto CPyL52; + } + CPy_Unreachable(); +CPyL40: ; + cpy_r_r52 = PyLong_Check(cpy_r_primitive); + if (!cpy_r_r52) goto CPyL46; + if (likely(PyLong_Check(cpy_r_primitive))) + cpy_r_r53 = CPyTagged_FromObject(cpy_r_primitive); + else { + CPy_TypeError("int", cpy_r_primitive); cpy_r_r53 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_primitive); + if (unlikely(cpy_r_r53 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 99, CPyStatic__eth_utils___globals); + goto CPyL52; + } + cpy_r_r54 = CPyModule_builtins; + cpy_r_r55 = CPyStatics[8]; /* 'hex' */ + cpy_r_r56 = CPyObject_GetAttr(cpy_r_r54, cpy_r_r55); + if (unlikely(cpy_r_r56 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 99, CPyStatic__eth_utils___globals); + goto CPyL63; + } + cpy_r_r57 = CPyTagged_StealAsObject(cpy_r_r53); + PyObject *cpy_r_r58[1] = {cpy_r_r57}; + cpy_r_r59 = (PyObject **)&cpy_r_r58; + cpy_r_r60 = PyObject_Vectorcall(cpy_r_r56, cpy_r_r59, 1, 0); + CPy_DECREF(cpy_r_r56); + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 99, CPyStatic__eth_utils___globals); + goto CPyL64; + } + CPy_DECREF(cpy_r_r57); + if (likely(PyUnicode_Check(cpy_r_r60))) + cpy_r_r61 = cpy_r_r60; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "to_hex", 99, CPyStatic__eth_utils___globals, "str", cpy_r_r60); + goto CPyL52; + } + return cpy_r_r61; +CPyL46: ; + cpy_r_r62 = CPyStatics[121]; /* "Unsupported type: '" */ + cpy_r_r63 = CPy_TYPE(cpy_r_primitive); + CPy_DECREF(cpy_r_primitive); + cpy_r_r64 = PyObject_Repr(cpy_r_r63); + CPy_DECREF(cpy_r_r63); + if (unlikely(cpy_r_r64 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 102, CPyStatic__eth_utils___globals); + goto CPyL52; + } + cpy_r_r65 = CPyStatics[122]; /* "'. Must be one of: bool, str, bytes, bytearray or int." */ + cpy_r_r66 = CPyStr_Build(3, cpy_r_r62, cpy_r_r64, cpy_r_r65); + CPy_DECREF(cpy_r_r64); + if (unlikely(cpy_r_r66 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 102, CPyStatic__eth_utils___globals); + goto CPyL52; + } + cpy_r_r67 = CPyModule_builtins; + cpy_r_r68 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r69 = CPyObject_GetAttr(cpy_r_r67, cpy_r_r68); + if (unlikely(cpy_r_r69 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 101, CPyStatic__eth_utils___globals); + goto CPyL65; + } + PyObject *cpy_r_r70[1] = {cpy_r_r66}; + cpy_r_r71 = (PyObject **)&cpy_r_r70; + cpy_r_r72 = PyObject_Vectorcall(cpy_r_r69, cpy_r_r71, 1, 0); + CPy_DECREF(cpy_r_r69); + if (unlikely(cpy_r_r72 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 101, CPyStatic__eth_utils___globals); + goto CPyL65; + } + CPy_DECREF(cpy_r_r66); + CPy_Raise(cpy_r_r72); + CPy_DECREF(cpy_r_r72); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 101, CPyStatic__eth_utils___globals); + goto CPyL52; + } + CPy_Unreachable(); +CPyL52: ; + cpy_r_r73 = NULL; + return cpy_r_r73; +CPyL53: ; + CPy_INCREF(cpy_r_primitive); + goto CPyL2; +CPyL54: ; + CPy_INCREF(cpy_r_hexstr); + goto CPyL4; +CPyL55: ; + CPy_INCREF(cpy_r_text); + goto CPyL6; +CPyL56: ; + CPy_DECREF(cpy_r_primitive); + CPy_DECREF(cpy_r_text); + goto CPyL7; +CPyL57: ; + CPy_DECREF(cpy_r_hexstr); + goto CPyL12; +CPyL58: ; + CPy_DecRef(cpy_r_r5); + goto CPyL52; +CPyL59: ; + CPy_DECREF(cpy_r_primitive); + goto CPyL13; +CPyL60: ; + CPy_DECREF(cpy_r_text); + goto CPyL17; +CPyL61: ; + CPy_DecRef(cpy_r_primitive); + goto CPyL52; +CPyL62: ; + CPy_DECREF(cpy_r_primitive); + goto CPyL36; +CPyL63: ; + CPyTagged_DecRef(cpy_r_r53); + goto CPyL52; +CPyL64: ; + CPy_DecRef(cpy_r_r57); + goto CPyL52; +CPyL65: ; + CPy_DecRef(cpy_r_r66); + goto CPyL52; +} + +PyObject *CPyPy__eth_utils___to_hex(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"primitive", "hexstr", "text", 0}; + static CPyArg_Parser parser = {"|OOO:to_hex", kwlist, 0}; + PyObject *obj_primitive = NULL; + PyObject *obj_hexstr = NULL; + PyObject *obj_text = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_primitive, &obj_hexstr, &obj_text)) { + return NULL; + } + PyObject *arg_primitive; + if (obj_primitive == NULL) { + arg_primitive = NULL; + goto __LL10; + } + arg_primitive = obj_primitive; + if (arg_primitive != NULL) goto __LL10; + if (obj_primitive == Py_None) + arg_primitive = obj_primitive; + else { + arg_primitive = NULL; + } + if (arg_primitive != NULL) goto __LL10; + CPy_TypeError("object or None", obj_primitive); + goto fail; +__LL10: ; + PyObject *arg_hexstr; + if (obj_hexstr == NULL) { + arg_hexstr = NULL; + goto __LL11; + } + if (PyUnicode_Check(obj_hexstr)) + arg_hexstr = obj_hexstr; + else { + arg_hexstr = NULL; + } + if (arg_hexstr != NULL) goto __LL11; + if (obj_hexstr == Py_None) + arg_hexstr = obj_hexstr; + else { + arg_hexstr = NULL; + } + if (arg_hexstr != NULL) goto __LL11; + CPy_TypeError("str or None", obj_hexstr); + goto fail; +__LL11: ; + PyObject *arg_text; + if (obj_text == NULL) { + arg_text = NULL; + goto __LL12; + } + if (PyUnicode_Check(obj_text)) + arg_text = obj_text; + else { + arg_text = NULL; + } + if (arg_text != NULL) goto __LL12; + if (obj_text == Py_None) + arg_text = obj_text; + else { + arg_text = NULL; + } + if (arg_text != NULL) goto __LL12; + CPy_TypeError("str or None", obj_text); + goto fail; +__LL12: ; + PyObject *retval = CPyDef__eth_utils___to_hex(arg_primitive, arg_hexstr, arg_text); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_hex", 67, CPyStatic__eth_utils___globals); + return NULL; +} + +PyObject *CPyDef__eth_utils___to_bytes(PyObject *cpy_r_primitive, PyObject *cpy_r_hexstr, PyObject *cpy_r_text) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + char cpy_r_r3; + char cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + tuple_T2OO cpy_r_r14; + PyObject *cpy_r_r15; + int32_t cpy_r_r16; + char cpy_r_r17; + char cpy_r_r18; + PyObject *cpy_r_r19; + PyObject **cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + char cpy_r_r24; + PyObject *cpy_r_r25; + char cpy_r_r26; + CPyTagged cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + char cpy_r_r36; + PyObject *cpy_r_r37; + int64_t cpy_r_r38; + char cpy_r_r39; + CPyTagged cpy_r_r40; + CPyTagged cpy_r_r41; + char cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + char cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject **cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + if (cpy_r_primitive != NULL) goto CPyL49; + cpy_r_r0 = Py_None; + cpy_r_primitive = cpy_r_r0; +CPyL2: ; + if (cpy_r_hexstr != NULL) goto CPyL50; + cpy_r_r1 = Py_None; + cpy_r_hexstr = cpy_r_r1; +CPyL4: ; + if (cpy_r_text != NULL) goto CPyL51; + cpy_r_r2 = Py_None; + cpy_r_text = cpy_r_r2; +CPyL6: ; + cpy_r_r3 = PyBool_Check(cpy_r_primitive); + if (cpy_r_r3) { + goto CPyL52; + } else + goto CPyL12; +CPyL7: ; + if (unlikely(!PyBool_Check(cpy_r_primitive))) { + CPy_TypeError("bool", cpy_r_primitive); cpy_r_r4 = 2; + } else + cpy_r_r4 = cpy_r_primitive == Py_True; + CPy_DECREF(cpy_r_primitive); + if (unlikely(cpy_r_r4 == 2)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 113, CPyStatic__eth_utils___globals); + goto CPyL48; + } + if (!cpy_r_r4) goto CPyL10; + cpy_r_r5 = CPyStatics[866]; /* b'\x01' */ + CPy_INCREF(cpy_r_r5); + cpy_r_r6 = cpy_r_r5; + goto CPyL11; +CPyL10: ; + cpy_r_r7 = CPyStatics[867]; /* b'\x00' */ + CPy_INCREF(cpy_r_r7); + cpy_r_r6 = cpy_r_r7; +CPyL11: ; + return cpy_r_r6; +CPyL12: ; + cpy_r_r8 = CPyModule_builtins; + cpy_r_r9 = CPyStatics[117]; /* 'bytearray' */ + cpy_r_r10 = CPyObject_GetAttr(cpy_r_r8, cpy_r_r9); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 114, CPyStatic__eth_utils___globals); + goto CPyL53; + } + cpy_r_r11 = CPyModule_builtins; + cpy_r_r12 = CPyStatics[118]; /* 'memoryview' */ + cpy_r_r13 = CPyObject_GetAttr(cpy_r_r11, cpy_r_r12); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 114, CPyStatic__eth_utils___globals); + goto CPyL54; + } + cpy_r_r14.f0 = cpy_r_r10; + cpy_r_r14.f1 = cpy_r_r13; + cpy_r_r15 = PyTuple_New(2); + if (unlikely(cpy_r_r15 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp13 = cpy_r_r14.f0; + PyTuple_SET_ITEM(cpy_r_r15, 0, __tmp13); + PyObject *__tmp14 = cpy_r_r14.f1; + PyTuple_SET_ITEM(cpy_r_r15, 1, __tmp14); + cpy_r_r16 = PyObject_IsInstance(cpy_r_primitive, cpy_r_r15); + CPy_DECREF(cpy_r_r15); + cpy_r_r17 = cpy_r_r16 >= 0; + if (unlikely(!cpy_r_r17)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 114, CPyStatic__eth_utils___globals); + goto CPyL53; + } + cpy_r_r18 = cpy_r_r16; + if (cpy_r_r18) { + goto CPyL55; + } else + goto CPyL19; +CPyL16: ; + cpy_r_r19 = (PyObject *)&PyBytes_Type; + PyObject *cpy_r_r20[1] = {cpy_r_primitive}; + cpy_r_r21 = (PyObject **)&cpy_r_r20; + cpy_r_r22 = PyObject_Vectorcall(cpy_r_r19, cpy_r_r21, 1, 0); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 115, CPyStatic__eth_utils___globals); + goto CPyL56; + } + CPy_DECREF(cpy_r_primitive); + if (likely(PyBytes_Check(cpy_r_r22) || PyByteArray_Check(cpy_r_r22))) + cpy_r_r23 = cpy_r_r22; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "to_bytes", 115, CPyStatic__eth_utils___globals, "bytes", cpy_r_r22); + goto CPyL48; + } + return cpy_r_r23; +CPyL19: ; + cpy_r_r24 = PyBytes_Check(cpy_r_primitive); + if (cpy_r_r24) { + goto CPyL57; + } else + goto CPyL22; +CPyL20: ; + if (likely(PyBytes_Check(cpy_r_primitive) || PyByteArray_Check(cpy_r_primitive))) + cpy_r_r25 = cpy_r_primitive; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "to_bytes", 117, CPyStatic__eth_utils___globals, "bytes", cpy_r_primitive); + goto CPyL48; + } + return cpy_r_r25; +CPyL22: ; + cpy_r_r26 = PyLong_Check(cpy_r_primitive); + if (cpy_r_r26) { + goto CPyL58; + } else + goto CPyL59; +CPyL23: ; + if (likely(PyLong_Check(cpy_r_primitive))) + cpy_r_r27 = CPyTagged_FromObject(cpy_r_primitive); + else { + CPy_TypeError("int", cpy_r_primitive); cpy_r_r27 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_primitive); + if (unlikely(cpy_r_r27 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 119, CPyStatic__eth_utils___globals); + goto CPyL48; + } + cpy_r_r28 = CPyTagged_StealAsObject(cpy_r_r27); + cpy_r_r29 = NULL; + cpy_r_r30 = NULL; + cpy_r_r31 = CPyDef__eth_utils___to_hex(cpy_r_r28, cpy_r_r29, cpy_r_r30); + CPy_DECREF(cpy_r_r28); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 119, CPyStatic__eth_utils___globals); + goto CPyL48; + } + cpy_r_r32 = NULL; + cpy_r_r33 = NULL; + cpy_r_r34 = CPyDef__eth_utils___to_bytes(cpy_r_r32, cpy_r_r31, cpy_r_r33); + CPy_DECREF(cpy_r_r31); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 119, CPyStatic__eth_utils___globals); + goto CPyL48; + } + return cpy_r_r34; +CPyL27: ; + cpy_r_r35 = (PyObject *)&_Py_NoneStruct; + cpy_r_r36 = cpy_r_hexstr != cpy_r_r35; + if (cpy_r_r36) { + goto CPyL60; + } else + goto CPyL61; +CPyL28: ; + CPy_INCREF(cpy_r_hexstr); + if (likely(cpy_r_hexstr != Py_None)) + cpy_r_r37 = cpy_r_hexstr; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "to_bytes", 121, CPyStatic__eth_utils___globals, "str", cpy_r_hexstr); + goto CPyL62; + } + cpy_r_r38 = CPyStr_Size_size_t(cpy_r_r37); + CPy_DECREF(cpy_r_r37); + cpy_r_r39 = cpy_r_r38 >= 0; + if (unlikely(!cpy_r_r39)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 121, CPyStatic__eth_utils___globals); + goto CPyL62; + } + cpy_r_r40 = cpy_r_r38 << 1; + cpy_r_r41 = CPyTagged_Remainder(cpy_r_r40, 4); + if (unlikely(cpy_r_r41 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 121, CPyStatic__eth_utils___globals); + goto CPyL62; + } + cpy_r_r42 = cpy_r_r41 != 0; + CPyTagged_DECREF(cpy_r_r41); + if (!cpy_r_r42) goto CPyL36; + cpy_r_r43 = CPyStatics[116]; /* '0x0' */ + if (likely(cpy_r_hexstr != Py_None)) + cpy_r_r44 = cpy_r_hexstr; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "to_bytes", 121, CPyStatic__eth_utils___globals, "str", cpy_r_hexstr); + goto CPyL48; + } + cpy_r_r45 = CPyDef__eth_utils___remove_0x_prefix(cpy_r_r44); + CPy_DECREF(cpy_r_r44); + if (unlikely(cpy_r_r45 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 121, CPyStatic__eth_utils___globals); + goto CPyL48; + } + cpy_r_r46 = CPyStr_Build(2, cpy_r_r43, cpy_r_r45); + CPy_DECREF(cpy_r_r45); + if (unlikely(cpy_r_r46 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 121, CPyStatic__eth_utils___globals); + goto CPyL48; + } + cpy_r_r47 = cpy_r_r46; + goto CPyL38; +CPyL36: ; + if (likely(cpy_r_hexstr != Py_None)) + cpy_r_r48 = cpy_r_hexstr; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "to_bytes", 121, CPyStatic__eth_utils___globals, "str", cpy_r_hexstr); + goto CPyL48; + } + cpy_r_r47 = cpy_r_r48; +CPyL38: ; + cpy_r_r49 = CPyDef__eth_utils___decode_hex(cpy_r_r47); + CPy_DECREF(cpy_r_r47); + if (unlikely(cpy_r_r49 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 121, CPyStatic__eth_utils___globals); + goto CPyL48; + } + return cpy_r_r49; +CPyL40: ; + cpy_r_r50 = (PyObject *)&_Py_NoneStruct; + cpy_r_r51 = cpy_r_text != cpy_r_r50; + if (!cpy_r_r51) goto CPyL63; + if (likely(cpy_r_text != Py_None)) + cpy_r_r52 = cpy_r_text; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "to_bytes", 123, CPyStatic__eth_utils___globals, "str", cpy_r_text); + goto CPyL48; + } + cpy_r_r53 = PyUnicode_AsUTF8String(cpy_r_r52); + CPy_DECREF(cpy_r_r52); + if (unlikely(cpy_r_r53 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 123, CPyStatic__eth_utils___globals); + goto CPyL48; + } + return cpy_r_r53; +CPyL44: ; + cpy_r_r54 = CPyStatics[123]; /* ('expected a bool, int, byte or bytearray in first arg, ' + 'or keyword of hexstr or text') */ + cpy_r_r55 = CPyModule_builtins; + cpy_r_r56 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r57 = CPyObject_GetAttr(cpy_r_r55, cpy_r_r56); + if (unlikely(cpy_r_r57 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 124, CPyStatic__eth_utils___globals); + goto CPyL48; + } + PyObject *cpy_r_r58[1] = {cpy_r_r54}; + cpy_r_r59 = (PyObject **)&cpy_r_r58; + cpy_r_r60 = PyObject_Vectorcall(cpy_r_r57, cpy_r_r59, 1, 0); + CPy_DECREF(cpy_r_r57); + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 124, CPyStatic__eth_utils___globals); + goto CPyL48; + } + CPy_Raise(cpy_r_r60); + CPy_DECREF(cpy_r_r60); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 124, CPyStatic__eth_utils___globals); + goto CPyL48; + } + CPy_Unreachable(); +CPyL48: ; + cpy_r_r61 = NULL; + return cpy_r_r61; +CPyL49: ; + CPy_INCREF(cpy_r_primitive); + goto CPyL2; +CPyL50: ; + CPy_INCREF(cpy_r_hexstr); + goto CPyL4; +CPyL51: ; + CPy_INCREF(cpy_r_text); + goto CPyL6; +CPyL52: ; + CPy_DECREF(cpy_r_hexstr); + CPy_DECREF(cpy_r_text); + goto CPyL7; +CPyL53: ; + CPy_DecRef(cpy_r_primitive); + CPy_DecRef(cpy_r_hexstr); + CPy_DecRef(cpy_r_text); + goto CPyL48; +CPyL54: ; + CPy_DecRef(cpy_r_primitive); + CPy_DecRef(cpy_r_hexstr); + CPy_DecRef(cpy_r_text); + CPy_DecRef(cpy_r_r10); + goto CPyL48; +CPyL55: ; + CPy_DECREF(cpy_r_hexstr); + CPy_DECREF(cpy_r_text); + goto CPyL16; +CPyL56: ; + CPy_DecRef(cpy_r_primitive); + goto CPyL48; +CPyL57: ; + CPy_DECREF(cpy_r_hexstr); + CPy_DECREF(cpy_r_text); + goto CPyL20; +CPyL58: ; + CPy_DECREF(cpy_r_hexstr); + CPy_DECREF(cpy_r_text); + goto CPyL23; +CPyL59: ; + CPy_DECREF(cpy_r_primitive); + goto CPyL27; +CPyL60: ; + CPy_DECREF(cpy_r_text); + goto CPyL28; +CPyL61: ; + CPy_DECREF(cpy_r_hexstr); + goto CPyL40; +CPyL62: ; + CPy_DecRef(cpy_r_hexstr); + goto CPyL48; +CPyL63: ; + CPy_DECREF(cpy_r_text); + goto CPyL44; +} + +PyObject *CPyPy__eth_utils___to_bytes(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"primitive", "hexstr", "text", 0}; + static CPyArg_Parser parser = {"|OOO:to_bytes", kwlist, 0}; + PyObject *obj_primitive = NULL; + PyObject *obj_hexstr = NULL; + PyObject *obj_text = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_primitive, &obj_hexstr, &obj_text)) { + return NULL; + } + PyObject *arg_primitive; + if (obj_primitive == NULL) { + arg_primitive = NULL; + goto __LL15; + } + arg_primitive = obj_primitive; + if (arg_primitive != NULL) goto __LL15; + if (obj_primitive == Py_None) + arg_primitive = obj_primitive; + else { + arg_primitive = NULL; + } + if (arg_primitive != NULL) goto __LL15; + CPy_TypeError("object or None", obj_primitive); + goto fail; +__LL15: ; + PyObject *arg_hexstr; + if (obj_hexstr == NULL) { + arg_hexstr = NULL; + goto __LL16; + } + if (PyUnicode_Check(obj_hexstr)) + arg_hexstr = obj_hexstr; + else { + arg_hexstr = NULL; + } + if (arg_hexstr != NULL) goto __LL16; + if (obj_hexstr == Py_None) + arg_hexstr = obj_hexstr; + else { + arg_hexstr = NULL; + } + if (arg_hexstr != NULL) goto __LL16; + CPy_TypeError("str or None", obj_hexstr); + goto fail; +__LL16: ; + PyObject *arg_text; + if (obj_text == NULL) { + arg_text = NULL; + goto __LL17; + } + if (PyUnicode_Check(obj_text)) + arg_text = obj_text; + else { + arg_text = NULL; + } + if (arg_text != NULL) goto __LL17; + if (obj_text == Py_None) + arg_text = obj_text; + else { + arg_text = NULL; + } + if (arg_text != NULL) goto __LL17; + CPy_TypeError("str or None", obj_text); + goto fail; +__LL17: ; + PyObject *retval = CPyDef__eth_utils___to_bytes(arg_primitive, arg_hexstr, arg_text); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_eth_utils.py", "to_bytes", 107, CPyStatic__eth_utils___globals); + return NULL; +} + +PyObject *CPyDef__eth_utils___decode_hex(PyObject *cpy_r_value) { + char cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + char cpy_r_r11; + PyObject **cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + cpy_r_r0 = PyUnicode_Check(cpy_r_value); + if (cpy_r_r0) goto CPyL5; + cpy_r_r1 = CPyStatics[124]; /* 'Value must be an instance of str' */ + cpy_r_r2 = CPyModule_builtins; + cpy_r_r3 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r4 = CPyObject_GetAttr(cpy_r_r2, cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "decode_hex", 131, CPyStatic__eth_utils___globals); + goto CPyL13; + } + PyObject *cpy_r_r5[1] = {cpy_r_r1}; + cpy_r_r6 = (PyObject **)&cpy_r_r5; + cpy_r_r7 = PyObject_Vectorcall(cpy_r_r4, cpy_r_r6, 1, 0); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "decode_hex", 131, CPyStatic__eth_utils___globals); + goto CPyL13; + } + CPy_Raise(cpy_r_r7); + CPy_DECREF(cpy_r_r7); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "decode_hex", 131, CPyStatic__eth_utils___globals); + goto CPyL13; + } + CPy_Unreachable(); +CPyL5: ; + cpy_r_r8 = CPyDef__eth_utils___remove_0x_prefix(cpy_r_value); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "decode_hex", 132, CPyStatic__eth_utils___globals); + goto CPyL13; + } + cpy_r_r9 = PyUnicode_AsASCIIString(cpy_r_r8); + CPy_DECREF(cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "decode_hex", 134, CPyStatic__eth_utils___globals); + goto CPyL13; + } + cpy_r_r10 = CPyStatic__eth_utils___unhexlify; + if (unlikely(cpy_r_r10 == NULL)) { + goto CPyL14; + } else + goto CPyL10; +CPyL8: ; + PyErr_SetString(PyExc_NameError, "value for final name \"unhexlify\" was not set"); + cpy_r_r11 = 0; + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "decode_hex", 135, CPyStatic__eth_utils___globals); + goto CPyL13; + } + CPy_Unreachable(); +CPyL10: ; + PyObject *cpy_r_r12[1] = {cpy_r_r9}; + cpy_r_r13 = (PyObject **)&cpy_r_r12; + cpy_r_r14 = PyObject_Vectorcall(cpy_r_r10, cpy_r_r13, 1, 0); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "decode_hex", 135, CPyStatic__eth_utils___globals); + goto CPyL15; + } + CPy_DECREF(cpy_r_r9); + if (likely(PyBytes_Check(cpy_r_r14) || PyByteArray_Check(cpy_r_r14))) + cpy_r_r15 = cpy_r_r14; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "decode_hex", 135, CPyStatic__eth_utils___globals, "bytes", cpy_r_r14); + goto CPyL13; + } + return cpy_r_r15; +CPyL13: ; + cpy_r_r16 = NULL; + return cpy_r_r16; +CPyL14: ; + CPy_DecRef(cpy_r_r9); + goto CPyL8; +CPyL15: ; + CPy_DecRef(cpy_r_r9); + goto CPyL13; +} + +PyObject *CPyPy__eth_utils___decode_hex(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"value", 0}; + static CPyArg_Parser parser = {"O:decode_hex", kwlist, 0}; + PyObject *obj_value; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_value)) { + return NULL; + } + PyObject *arg_value; + if (likely(PyUnicode_Check(obj_value))) + arg_value = obj_value; + else { + CPy_TypeError("str", obj_value); + goto fail; + } + PyObject *retval = CPyDef__eth_utils___decode_hex(arg_value); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_eth_utils.py", "decode_hex", 129, CPyStatic__eth_utils___globals); + return NULL; +} + +PyObject *CPyDef__eth_utils___encode_hex(PyObject *cpy_r_value) { + char cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_ascii_bytes; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject **cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject **cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + char cpy_r_r18; + PyObject **cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + cpy_r_r0 = PyBytes_Check(cpy_r_value); + if (!cpy_r_r0) goto CPyL3; + CPy_INCREF(cpy_r_value); + if (likely(PyBytes_Check(cpy_r_value) || PyByteArray_Check(cpy_r_value))) + cpy_r_r1 = cpy_r_value; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "encode_hex", 141, CPyStatic__eth_utils___globals, "bytes", cpy_r_value); + goto CPyL22; + } + cpy_r_ascii_bytes = cpy_r_r1; + goto CPyL14; +CPyL3: ; + cpy_r_r2 = PyUnicode_Check(cpy_r_value); + if (!cpy_r_r2) goto CPyL7; + CPy_INCREF(cpy_r_value); + if (likely(PyUnicode_Check(cpy_r_value))) + cpy_r_r3 = cpy_r_value; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "encode_hex", 143, CPyStatic__eth_utils___globals, "str", cpy_r_value); + goto CPyL22; + } + cpy_r_r4 = PyUnicode_AsASCIIString(cpy_r_r3); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "encode_hex", 143, CPyStatic__eth_utils___globals); + goto CPyL22; + } + cpy_r_ascii_bytes = cpy_r_r4; + goto CPyL14; +CPyL7: ; + cpy_r_r5 = PyByteArray_Check(cpy_r_value); + if (!cpy_r_r5) goto CPyL10; + cpy_r_r6 = (PyObject *)&PyBytes_Type; + PyObject *cpy_r_r7[1] = {cpy_r_value}; + cpy_r_r8 = (PyObject **)&cpy_r_r7; + cpy_r_r9 = PyObject_Vectorcall(cpy_r_r6, cpy_r_r8, 1, 0); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "encode_hex", 145, CPyStatic__eth_utils___globals); + goto CPyL22; + } + cpy_r_ascii_bytes = cpy_r_r9; + goto CPyL14; +CPyL10: ; + cpy_r_r10 = CPyStatics[125]; /* 'Value must be an instance of str or unicode' */ + cpy_r_r11 = CPyModule_builtins; + cpy_r_r12 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r13 = CPyObject_GetAttr(cpy_r_r11, cpy_r_r12); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "encode_hex", 147, CPyStatic__eth_utils___globals); + goto CPyL22; + } + PyObject *cpy_r_r14[1] = {cpy_r_r10}; + cpy_r_r15 = (PyObject **)&cpy_r_r14; + cpy_r_r16 = PyObject_Vectorcall(cpy_r_r13, cpy_r_r15, 1, 0); + CPy_DECREF(cpy_r_r13); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "encode_hex", 147, CPyStatic__eth_utils___globals); + goto CPyL22; + } + CPy_Raise(cpy_r_r16); + CPy_DECREF(cpy_r_r16); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "encode_hex", 147, CPyStatic__eth_utils___globals); + goto CPyL22; + } + CPy_Unreachable(); +CPyL14: ; + cpy_r_r17 = CPyStatic__eth_utils___hexlify; + if (unlikely(cpy_r_r17 == NULL)) { + goto CPyL23; + } else + goto CPyL17; +CPyL15: ; + PyErr_SetString(PyExc_NameError, "value for final name \"hexlify\" was not set"); + cpy_r_r18 = 0; + if (unlikely(!cpy_r_r18)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "encode_hex", 148, CPyStatic__eth_utils___globals); + goto CPyL22; + } + CPy_Unreachable(); +CPyL17: ; + PyObject *cpy_r_r19[1] = {cpy_r_ascii_bytes}; + cpy_r_r20 = (PyObject **)&cpy_r_r19; + cpy_r_r21 = PyObject_Vectorcall(cpy_r_r17, cpy_r_r20, 1, 0); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "encode_hex", 148, CPyStatic__eth_utils___globals); + goto CPyL24; + } + CPy_DECREF(cpy_r_ascii_bytes); + if (likely(PyBytes_Check(cpy_r_r21) || PyByteArray_Check(cpy_r_r21))) + cpy_r_r22 = cpy_r_r21; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "encode_hex", 148, CPyStatic__eth_utils___globals, "bytes", cpy_r_r21); + goto CPyL22; + } + cpy_r_r23 = CPy_DecodeASCII(cpy_r_r22); + CPy_DECREF(cpy_r_r22); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "encode_hex", 148, CPyStatic__eth_utils___globals); + goto CPyL22; + } + cpy_r_r24 = CPyDef__eth_utils___add_0x_prefix(cpy_r_r23); + CPy_DECREF(cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "encode_hex", 149, CPyStatic__eth_utils___globals); + goto CPyL22; + } + return cpy_r_r24; +CPyL22: ; + cpy_r_r25 = NULL; + return cpy_r_r25; +CPyL23: ; + CPy_DecRef(cpy_r_ascii_bytes); + goto CPyL15; +CPyL24: ; + CPy_DecRef(cpy_r_ascii_bytes); + goto CPyL22; +} + +PyObject *CPyPy__eth_utils___encode_hex(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"value", 0}; + static CPyArg_Parser parser = {"O:encode_hex", kwlist, 0}; + PyObject *obj_value; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_value)) { + return NULL; + } + PyObject *arg_value = obj_value; + PyObject *retval = CPyDef__eth_utils___encode_hex(arg_value); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_eth_utils.py", "encode_hex", 138, CPyStatic__eth_utils___globals); + return NULL; +} + +char CPyDef__eth_utils___is_0x_prefixed(PyObject *cpy_r_value) { + char cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject **cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + CPyPtr cpy_r_r11; + CPyPtr cpy_r_r12; + CPyPtr cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject **cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + tuple_T2OO cpy_r_r23; + PyObject *cpy_r_r24; + char cpy_r_r25; + char cpy_r_r26; + cpy_r_r0 = PyUnicode_Check(cpy_r_value); + if (cpy_r_r0) goto CPyL9; + cpy_r_r1 = CPyStatics[126]; /* '' */ + cpy_r_r2 = CPyStatics[127]; /* 'is_0x_prefixed requires text typed arguments. Got: ' */ + cpy_r_r3 = CPyStatics[128]; /* '{:{}}' */ + cpy_r_r4 = PyObject_Repr(cpy_r_value); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "is_0x_prefixed", 154, CPyStatic__eth_utils___globals); + goto CPyL11; + } + cpy_r_r5 = CPyStatics[126]; /* '' */ + cpy_r_r6 = CPyStatics[129]; /* 'format' */ + PyObject *cpy_r_r7[3] = {cpy_r_r3, cpy_r_r4, cpy_r_r5}; + cpy_r_r8 = (PyObject **)&cpy_r_r7; + cpy_r_r9 = PyObject_VectorcallMethod(cpy_r_r6, cpy_r_r8, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "is_0x_prefixed", 154, CPyStatic__eth_utils___globals); + goto CPyL12; + } + CPy_DECREF(cpy_r_r4); + cpy_r_r10 = PyList_New(2); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "is_0x_prefixed", 154, CPyStatic__eth_utils___globals); + goto CPyL13; + } + cpy_r_r11 = (CPyPtr)&((PyListObject *)cpy_r_r10)->ob_item; + cpy_r_r12 = *(CPyPtr *)cpy_r_r11; + CPy_INCREF(cpy_r_r2); + *(PyObject * *)cpy_r_r12 = cpy_r_r2; + cpy_r_r13 = cpy_r_r12 + 8; + *(PyObject * *)cpy_r_r13 = cpy_r_r9; + cpy_r_r14 = PyUnicode_Join(cpy_r_r1, cpy_r_r10); + CPy_DECREF_NO_IMM(cpy_r_r10); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "is_0x_prefixed", 154, CPyStatic__eth_utils___globals); + goto CPyL11; + } + cpy_r_r15 = CPyModule_builtins; + cpy_r_r16 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r17 = CPyObject_GetAttr(cpy_r_r15, cpy_r_r16); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "is_0x_prefixed", 154, CPyStatic__eth_utils___globals); + goto CPyL14; + } + PyObject *cpy_r_r18[1] = {cpy_r_r14}; + cpy_r_r19 = (PyObject **)&cpy_r_r18; + cpy_r_r20 = PyObject_Vectorcall(cpy_r_r17, cpy_r_r19, 1, 0); + CPy_DECREF(cpy_r_r17); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "is_0x_prefixed", 154, CPyStatic__eth_utils___globals); + goto CPyL14; + } + CPy_DECREF(cpy_r_r14); + CPy_Raise(cpy_r_r20); + CPy_DECREF(cpy_r_r20); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "is_0x_prefixed", 154, CPyStatic__eth_utils___globals); + goto CPyL11; + } + CPy_Unreachable(); +CPyL9: ; + cpy_r_r21 = CPyStatics[130]; /* '0x' */ + cpy_r_r22 = CPyStatics[131]; /* '0X' */ + CPy_INCREF(cpy_r_r21); + CPy_INCREF(cpy_r_r22); + cpy_r_r23.f0 = cpy_r_r21; + cpy_r_r23.f1 = cpy_r_r22; + cpy_r_r24 = PyTuple_New(2); + if (unlikely(cpy_r_r24 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp18 = cpy_r_r23.f0; + PyTuple_SET_ITEM(cpy_r_r24, 0, __tmp18); + PyObject *__tmp19 = cpy_r_r23.f1; + PyTuple_SET_ITEM(cpy_r_r24, 1, __tmp19); + cpy_r_r25 = CPyStr_Startswith(cpy_r_value, cpy_r_r24); + CPy_DECREF(cpy_r_r24); + if (unlikely(cpy_r_r25 == 2)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "is_0x_prefixed", 155, CPyStatic__eth_utils___globals); + goto CPyL11; + } + return cpy_r_r25; +CPyL11: ; + cpy_r_r26 = 2; + return cpy_r_r26; +CPyL12: ; + CPy_DecRef(cpy_r_r4); + goto CPyL11; +CPyL13: ; + CPy_DecRef(cpy_r_r9); + goto CPyL11; +CPyL14: ; + CPy_DecRef(cpy_r_r14); + goto CPyL11; +} + +PyObject *CPyPy__eth_utils___is_0x_prefixed(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"value", 0}; + static CPyArg_Parser parser = {"O:is_0x_prefixed", kwlist, 0}; + PyObject *obj_value; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_value)) { + return NULL; + } + PyObject *arg_value; + if (likely(PyUnicode_Check(obj_value))) + arg_value = obj_value; + else { + CPy_TypeError("str", obj_value); + goto fail; + } + char retval = CPyDef__eth_utils___is_0x_prefixed(arg_value); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_eth_utils.py", "is_0x_prefixed", 152, CPyStatic__eth_utils___globals); + return NULL; +} + +PyObject *CPyDef__eth_utils___remove_0x_prefix(PyObject *cpy_r_value) { + char cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = CPyDef__eth_utils___is_0x_prefixed(cpy_r_value); + if (unlikely(cpy_r_r0 == 2)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "remove_0x_prefix", 160, CPyStatic__eth_utils___globals); + goto CPyL6; + } + if (!cpy_r_r0) goto CPyL5; + cpy_r_r1 = CPyStr_GetSlice(cpy_r_value, 4, 9223372036854775806LL); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "remove_0x_prefix", 161, CPyStatic__eth_utils___globals); + goto CPyL6; + } + if (likely(PyUnicode_Check(cpy_r_r1))) + cpy_r_r2 = cpy_r_r1; + else { + CPy_TypeErrorTraceback("dank_mids\\_eth_utils.py", "remove_0x_prefix", 161, CPyStatic__eth_utils___globals, "str", cpy_r_r1); + goto CPyL6; + } + return cpy_r_r2; +CPyL5: ; + CPy_INCREF(cpy_r_value); + return cpy_r_value; +CPyL6: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy__eth_utils___remove_0x_prefix(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"value", 0}; + static CPyArg_Parser parser = {"O:remove_0x_prefix", kwlist, 0}; + PyObject *obj_value; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_value)) { + return NULL; + } + PyObject *arg_value; + if (likely(PyUnicode_Check(obj_value))) + arg_value = obj_value; + else { + CPy_TypeError("str", obj_value); + goto fail; + } + PyObject *retval = CPyDef__eth_utils___remove_0x_prefix(arg_value); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_eth_utils.py", "remove_0x_prefix", 158, CPyStatic__eth_utils___globals); + return NULL; +} + +PyObject *CPyDef__eth_utils___add_0x_prefix(PyObject *cpy_r_value) { + char cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = CPyDef__eth_utils___is_0x_prefixed(cpy_r_value); + if (unlikely(cpy_r_r0 == 2)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "add_0x_prefix", 167, CPyStatic__eth_utils___globals); + goto CPyL5; + } + if (!cpy_r_r0) goto CPyL3; + CPy_INCREF(cpy_r_value); + return cpy_r_value; +CPyL3: ; + cpy_r_r1 = CPyStatics[130]; /* '0x' */ + cpy_r_r2 = CPyStr_Build(2, cpy_r_r1, cpy_r_value); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "add_0x_prefix", 169, CPyStatic__eth_utils___globals); + goto CPyL5; + } + return cpy_r_r2; +CPyL5: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy__eth_utils___add_0x_prefix(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"value", 0}; + static CPyArg_Parser parser = {"O:add_0x_prefix", kwlist, 0}; + PyObject *obj_value; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_value)) { + return NULL; + } + PyObject *arg_value; + if (likely(PyUnicode_Check(obj_value))) + arg_value = obj_value; + else { + CPy_TypeError("str", obj_value); + goto fail; + } + PyObject *retval = CPyDef__eth_utils___add_0x_prefix(arg_value); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_eth_utils.py", "add_0x_prefix", 165, CPyStatic__eth_utils___globals); + return NULL; +} + +char CPyDef__eth_utils_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r5; + void *cpy_r_r7; + void *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + int32_t cpy_r_r28; + char cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + int32_t cpy_r_r35; + char cpy_r_r36; + char cpy_r_r37; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "", -1, CPyStatic__eth_utils___globals); + goto CPyL11; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = (PyObject **)&CPyModule_binascii; + PyObject **cpy_r_r6[1] = {cpy_r_r5}; + 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[924]; /* (('binascii', 'binascii', 'binascii'),) */ + cpy_r_r11 = CPyStatic__eth_utils___globals; + cpy_r_r12 = CPyStatics[133]; /* 'dank_mids\\_eth_utils.py' */ + cpy_r_r13 = CPyStatics[43]; /* '' */ + 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[925]; /* ('Any', 'AnyStr', 'Final', 'Optional') */ + cpy_r_r16 = CPyStatics[40]; /* '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); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "", 9, CPyStatic__eth_utils___globals); + goto CPyL11; + } + CPyModule_typing = cpy_r_r18; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r18); + cpy_r_r19 = CPyStatics[926]; /* ('HexStr',) */ + cpy_r_r20 = CPyStatics[137]; /* '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); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "", 11, CPyStatic__eth_utils___globals); + goto CPyL11; + } + CPyModule_eth_typing = cpy_r_r22; + CPy_INCREF(CPyModule_eth_typing); + CPy_DECREF(cpy_r_r22); + cpy_r_r23 = CPyModule_binascii; + cpy_r_r24 = CPyStatics[138]; /* 'hexlify' */ + cpy_r_r25 = CPyObject_GetAttr(cpy_r_r23, cpy_r_r24); + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "", 14, CPyStatic__eth_utils___globals); + goto CPyL11; + } + CPyStatic__eth_utils___hexlify = cpy_r_r25; + CPy_INCREF(CPyStatic__eth_utils___hexlify); + cpy_r_r26 = CPyStatic__eth_utils___globals; + cpy_r_r27 = CPyStatics[138]; /* 'hexlify' */ + cpy_r_r28 = CPyDict_SetItem(cpy_r_r26, cpy_r_r27, cpy_r_r25); + CPy_DECREF(cpy_r_r25); + cpy_r_r29 = cpy_r_r28 >= 0; + if (unlikely(!cpy_r_r29)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "", 14, CPyStatic__eth_utils___globals); + goto CPyL11; + } + cpy_r_r30 = CPyModule_binascii; + cpy_r_r31 = CPyStatics[139]; /* 'unhexlify' */ + cpy_r_r32 = CPyObject_GetAttr(cpy_r_r30, cpy_r_r31); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "", 15, CPyStatic__eth_utils___globals); + goto CPyL11; + } + CPyStatic__eth_utils___unhexlify = cpy_r_r32; + CPy_INCREF(CPyStatic__eth_utils___unhexlify); + cpy_r_r33 = CPyStatic__eth_utils___globals; + cpy_r_r34 = CPyStatics[139]; /* 'unhexlify' */ + 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; + if (unlikely(!cpy_r_r36)) { + CPy_AddTraceback("dank_mids\\_eth_utils.py", "", 15, CPyStatic__eth_utils___globals); + goto CPyL11; + } + return 1; +CPyL11: ; + cpy_r_r37 = 2; + return cpy_r_r37; +} + +static int +_exceptions___BadResponse_init(PyObject *self, PyObject *args, PyObject *kwds) +{ + return CPyPy__exceptions___BadResponse_____init__(self, args, kwds) != NULL ? 0 : -1; +} +PyMemberDef _exceptions___BadResponse_members[] = { + {"__dict__", T_OBJECT_EX, sizeof(PyBaseExceptionObject), 0, NULL}, + {"__weakref__", T_OBJECT_EX, sizeof(PyBaseExceptionObject) + sizeof(PyObject *), 0, NULL}, + {0} +}; + +static PyGetSetDef _exceptions___BadResponse_getseters[] = { + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _exceptions___BadResponse_methods[] = { + {"__init__", + (PyCFunction)CPyPy__exceptions___BadResponse_____init__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__init__($self, response)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__exceptions___BadResponse_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "BadResponse", + .tp_getset = _exceptions___BadResponse_getseters, + .tp_methods = _exceptions___BadResponse_methods, + .tp_init = _exceptions___BadResponse_init, + .tp_members = _exceptions___BadResponse_members, + .tp_basicsize = sizeof(PyBaseExceptionObject) + 2*sizeof(PyObject *), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE, + .tp_doc = PyDoc_STR("BadResponse(response)\n--\n\n"), +}; +static PyTypeObject *CPyType__exceptions___BadResponse_template = &CPyType__exceptions___BadResponse_template_; + + +PyMemberDef _exceptions___EmptyBatch_members[] = { + {"__dict__", T_OBJECT_EX, sizeof(PyBaseExceptionObject), 0, NULL}, + {"__weakref__", T_OBJECT_EX, sizeof(PyBaseExceptionObject) + sizeof(PyObject *), 0, NULL}, + {0} +}; + +static PyGetSetDef _exceptions___EmptyBatch_getseters[] = { + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _exceptions___EmptyBatch_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__exceptions___EmptyBatch_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "EmptyBatch", + .tp_getset = _exceptions___EmptyBatch_getseters, + .tp_methods = _exceptions___EmptyBatch_methods, + .tp_members = _exceptions___EmptyBatch_members, + .tp_basicsize = sizeof(PyBaseExceptionObject) + 2*sizeof(PyObject *), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE, + .tp_doc = PyDoc_STR("EmptyBatch()\n--\n\n"), +}; +static PyTypeObject *CPyType__exceptions___EmptyBatch_template = &CPyType__exceptions___EmptyBatch_template_; + + +static int +_exceptions___ExecutionReverted_init(PyObject *self, PyObject *args, PyObject *kwds) +{ + return CPyPy__exceptions___ExecutionReverted_____init__(self, args, kwds) != NULL ? 0 : -1; +} +PyMemberDef _exceptions___ExecutionReverted_members[] = { + {"__dict__", T_OBJECT_EX, sizeof(PyBaseExceptionObject), 0, NULL}, + {"__weakref__", T_OBJECT_EX, sizeof(PyBaseExceptionObject) + sizeof(PyObject *), 0, NULL}, + {0} +}; + +static PyGetSetDef _exceptions___ExecutionReverted_getseters[] = { + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _exceptions___ExecutionReverted_methods[] = { + {"__init__", + (PyCFunction)CPyPy__exceptions___ExecutionReverted_____init__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__init__($self, response)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__exceptions___ExecutionReverted_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "ExecutionReverted", + .tp_getset = _exceptions___ExecutionReverted_getseters, + .tp_methods = _exceptions___ExecutionReverted_methods, + .tp_init = _exceptions___ExecutionReverted_init, + .tp_members = _exceptions___ExecutionReverted_members, + .tp_basicsize = sizeof(PyBaseExceptionObject) + 2*sizeof(PyObject *), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE, + .tp_doc = PyDoc_STR("ExecutionReverted(response)\n--\n\n"), +}; +static PyTypeObject *CPyType__exceptions___ExecutionReverted_template = &CPyType__exceptions___ExecutionReverted_template_; + + +PyMemberDef _exceptions___OutOfGas_members[] = { + {"__dict__", T_OBJECT_EX, sizeof(PyBaseExceptionObject), 0, NULL}, + {"__weakref__", T_OBJECT_EX, sizeof(PyBaseExceptionObject) + sizeof(PyObject *), 0, NULL}, + {0} +}; + +static PyGetSetDef _exceptions___OutOfGas_getseters[] = { + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _exceptions___OutOfGas_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__exceptions___OutOfGas_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "OutOfGas", + .tp_getset = _exceptions___OutOfGas_getseters, + .tp_methods = _exceptions___OutOfGas_methods, + .tp_members = _exceptions___OutOfGas_members, + .tp_basicsize = sizeof(PyBaseExceptionObject) + 2*sizeof(PyObject *), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE, + .tp_doc = PyDoc_STR("OutOfGas(response)\n--\n\n"), +}; +static PyTypeObject *CPyType__exceptions___OutOfGas_template = &CPyType__exceptions___OutOfGas_template_; + + +PyMemberDef _exceptions___PayloadTooLarge_members[] = { + {"__dict__", T_OBJECT_EX, sizeof(PyBaseExceptionObject), 0, NULL}, + {"__weakref__", T_OBJECT_EX, sizeof(PyBaseExceptionObject) + sizeof(PyObject *), 0, NULL}, + {0} +}; + +static PyGetSetDef _exceptions___PayloadTooLarge_getseters[] = { + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _exceptions___PayloadTooLarge_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__exceptions___PayloadTooLarge_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "PayloadTooLarge", + .tp_getset = _exceptions___PayloadTooLarge_getseters, + .tp_methods = _exceptions___PayloadTooLarge_methods, + .tp_members = _exceptions___PayloadTooLarge_members, + .tp_basicsize = sizeof(PyBaseExceptionObject) + 2*sizeof(PyObject *), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE, + .tp_doc = PyDoc_STR("PayloadTooLarge(response)\n--\n\n"), +}; +static PyTypeObject *CPyType__exceptions___PayloadTooLarge_template = &CPyType__exceptions___PayloadTooLarge_template_; + + +PyMemberDef _exceptions___ExceedsMaxBatchSize_members[] = { + {"__dict__", T_OBJECT_EX, sizeof(PyBaseExceptionObject), 0, NULL}, + {"__weakref__", T_OBJECT_EX, sizeof(PyBaseExceptionObject) + sizeof(PyObject *), 0, NULL}, + {0} +}; +static PyObject * +_exceptions___ExceedsMaxBatchSize_get_limit(dank_mids____exceptions___ExceedsMaxBatchSizeObject *self, void *closure); + +static PyGetSetDef _exceptions___ExceedsMaxBatchSize_getseters[] = { + {"limit", + (getter)_exceptions___ExceedsMaxBatchSize_get_limit, + NULL, NULL, NULL}, + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _exceptions___ExceedsMaxBatchSize_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__exceptions___ExceedsMaxBatchSize_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "ExceedsMaxBatchSize", + .tp_getset = _exceptions___ExceedsMaxBatchSize_getseters, + .tp_methods = _exceptions___ExceedsMaxBatchSize_methods, + .tp_members = _exceptions___ExceedsMaxBatchSize_members, + .tp_basicsize = sizeof(PyBaseExceptionObject) + 2*sizeof(PyObject *), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE, + .tp_doc = PyDoc_STR("ExceedsMaxBatchSize(response)\n--\n\n"), +}; +static PyTypeObject *CPyType__exceptions___ExceedsMaxBatchSize_template = &CPyType__exceptions___ExceedsMaxBatchSize_template_; + + +static PyObject * +_exceptions___ExceedsMaxBatchSize_get_limit(dank_mids____exceptions___ExceedsMaxBatchSizeObject *self, void *closure) +{ + CPyTagged retval = CPyDef__exceptions___ExceedsMaxBatchSize___limit((PyObject *) self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +} + +static int +_exceptions___DankMidsClientResponseError_init(PyObject *self, PyObject *args, PyObject *kwds) +{ + return 0; +} +PyObject *CPyDef__exceptions_____mypyc__DankMidsClientResponseError_setup(PyObject *cpy_r_type); +PyObject *CPyDef__exceptions___DankMidsClientResponseError(PyObject *cpy_r_exc, PyObject *cpy_r_request); + +static PyObject * +_exceptions___DankMidsClientResponseError_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType__exceptions___DankMidsClientResponseError) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef__exceptions_____mypyc__DankMidsClientResponseError_setup((PyObject*)type); + if (self == NULL) + return NULL; + PyObject *ret = CPyPy__exceptions___DankMidsClientResponseError_____init__(self, args, kwds); + if (ret == NULL) + return NULL; + return self; +} + +static int +_exceptions___DankMidsClientResponseError_traverse(dank_mids____exceptions___DankMidsClientResponseErrorObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->_request); + Py_VISIT(self->_args); + Py_VISIT(self->__exception); + return 0; +} + +static int +_exceptions___DankMidsClientResponseError_clear(dank_mids____exceptions___DankMidsClientResponseErrorObject *self) +{ + Py_CLEAR(self->_request); + Py_CLEAR(self->_args); + Py_CLEAR(self->__exception); + return 0; +} + +static void +_exceptions___DankMidsClientResponseError_dealloc(dank_mids____exceptions___DankMidsClientResponseErrorObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, _exceptions___DankMidsClientResponseError_dealloc) + _exceptions___DankMidsClientResponseError_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem _exceptions___DankMidsClientResponseError_vtable[1]; +static bool +CPyDef__exceptions___DankMidsClientResponseError_trait_vtable_setup(void) +{ + CPyVTableItem _exceptions___DankMidsClientResponseError_vtable_scratch[] = { + (CPyVTableItem)CPyDef__exceptions___DankMidsClientResponseError_____init__, + }; + memcpy(_exceptions___DankMidsClientResponseError_vtable, _exceptions___DankMidsClientResponseError_vtable_scratch, sizeof(_exceptions___DankMidsClientResponseError_vtable)); + return 1; +} + +static PyObject * +_exceptions___DankMidsClientResponseError_get_request(dank_mids____exceptions___DankMidsClientResponseErrorObject *self, void *closure); +static int +_exceptions___DankMidsClientResponseError_set_request(dank_mids____exceptions___DankMidsClientResponseErrorObject *self, PyObject *value, void *closure); +static PyObject * +_exceptions___DankMidsClientResponseError_get_args(dank_mids____exceptions___DankMidsClientResponseErrorObject *self, void *closure); +static int +_exceptions___DankMidsClientResponseError_set_args(dank_mids____exceptions___DankMidsClientResponseErrorObject *self, PyObject *value, void *closure); +static PyObject * +_exceptions___DankMidsClientResponseError_get__exception(dank_mids____exceptions___DankMidsClientResponseErrorObject *self, void *closure); +static int +_exceptions___DankMidsClientResponseError_set__exception(dank_mids____exceptions___DankMidsClientResponseErrorObject *self, PyObject *value, void *closure); + +static PyGetSetDef _exceptions___DankMidsClientResponseError_getseters[] = { + {"request", + (getter)_exceptions___DankMidsClientResponseError_get_request, (setter)_exceptions___DankMidsClientResponseError_set_request, + NULL, NULL}, + {"args", + (getter)_exceptions___DankMidsClientResponseError_get_args, (setter)_exceptions___DankMidsClientResponseError_set_args, + NULL, NULL}, + {"_exception", + (getter)_exceptions___DankMidsClientResponseError_get__exception, (setter)_exceptions___DankMidsClientResponseError_set__exception, + NULL, NULL}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _exceptions___DankMidsClientResponseError_methods[] = { + {"__init__", + (PyCFunction)CPyPy__exceptions___DankMidsClientResponseError_____init__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__init__($self, exc, request)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__exceptions___DankMidsClientResponseError_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "DankMidsClientResponseError", + .tp_new = _exceptions___DankMidsClientResponseError_new, + .tp_dealloc = (destructor)_exceptions___DankMidsClientResponseError_dealloc, + .tp_traverse = (traverseproc)_exceptions___DankMidsClientResponseError_traverse, + .tp_clear = (inquiry)_exceptions___DankMidsClientResponseError_clear, + .tp_getset = _exceptions___DankMidsClientResponseError_getseters, + .tp_methods = _exceptions___DankMidsClientResponseError_methods, + .tp_init = _exceptions___DankMidsClientResponseError_init, + .tp_basicsize = sizeof(dank_mids____exceptions___DankMidsClientResponseErrorObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("DankMidsClientResponseError(exc, request)\n--\n\n"), +}; +static PyTypeObject *CPyType__exceptions___DankMidsClientResponseError_template = &CPyType__exceptions___DankMidsClientResponseError_template_; + +PyObject *CPyDef__exceptions_____mypyc__DankMidsClientResponseError_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____exceptions___DankMidsClientResponseErrorObject *self; + self = (dank_mids____exceptions___DankMidsClientResponseErrorObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = _exceptions___DankMidsClientResponseError_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef__exceptions___DankMidsClientResponseError(PyObject *cpy_r_exc, PyObject *cpy_r_request) +{ + PyObject *self = CPyDef__exceptions_____mypyc__DankMidsClientResponseError_setup((PyObject *)CPyType__exceptions___DankMidsClientResponseError); + if (self == NULL) + return NULL; + char res = CPyDef__exceptions___DankMidsClientResponseError_____init__(self, cpy_r_exc, cpy_r_request); + if (res == 2) { + Py_DECREF(self); + return NULL; + } + return self; +} + +static PyObject * +_exceptions___DankMidsClientResponseError_get_request(dank_mids____exceptions___DankMidsClientResponseErrorObject *self, void *closure) +{ + if (unlikely(self->_request == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'request' of 'DankMidsClientResponseError' undefined"); + return NULL; + } + CPy_INCREF(self->_request); + PyObject *retval = self->_request; + return retval; +} + +static int +_exceptions___DankMidsClientResponseError_set_request(dank_mids____exceptions___DankMidsClientResponseErrorObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'DankMidsClientResponseError' object attribute 'request' cannot be deleted"); + return -1; + } + if (self->_request != NULL) { + CPy_DECREF(self->_request); + } + PyObject *tmp = value; + CPy_INCREF(tmp); + self->_request = tmp; + return 0; +} + +static PyObject * +_exceptions___DankMidsClientResponseError_get_args(dank_mids____exceptions___DankMidsClientResponseErrorObject *self, void *closure) +{ + if (unlikely(self->_args == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'args' of 'DankMidsClientResponseError' undefined"); + return NULL; + } + CPy_INCREF(self->_args); + PyObject *retval = self->_args; + return retval; +} + +static int +_exceptions___DankMidsClientResponseError_set_args(dank_mids____exceptions___DankMidsClientResponseErrorObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'DankMidsClientResponseError' object attribute 'args' cannot be deleted"); + return -1; + } + if (self->_args != NULL) { + CPy_DECREF(self->_args); + } + PyObject * tmp; + if (likely(PyTuple_Check(value))) + tmp = value; + else { + CPy_TypeError("tuple", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_args = tmp; + return 0; +} + +static PyObject * +_exceptions___DankMidsClientResponseError_get__exception(dank_mids____exceptions___DankMidsClientResponseErrorObject *self, void *closure) +{ + if (unlikely(self->__exception == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '_exception' of 'DankMidsClientResponseError' undefined"); + return NULL; + } + CPy_INCREF(self->__exception); + PyObject *retval = self->__exception; + return retval; +} + +static int +_exceptions___DankMidsClientResponseError_set__exception(dank_mids____exceptions___DankMidsClientResponseErrorObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'DankMidsClientResponseError' object attribute '_exception' cannot be deleted"); + return -1; + } + if (self->__exception != NULL) { + CPy_DECREF(self->__exception); + } + PyObject *tmp = value; + CPy_INCREF(tmp); + self->__exception = tmp; + return 0; +} + +static int +_exceptions___DankMidsInternalError_init(PyObject *self, PyObject *args, PyObject *kwds) +{ + return CPyPy__exceptions___DankMidsInternalError_____init__(self, args, kwds) != NULL ? 0 : -1; +} +PyMemberDef _exceptions___DankMidsInternalError_members[] = { + {"__dict__", T_OBJECT_EX, sizeof(PyBaseExceptionObject), 0, NULL}, + {"__weakref__", T_OBJECT_EX, sizeof(PyBaseExceptionObject) + sizeof(PyObject *), 0, NULL}, + {0} +}; + +static PyGetSetDef _exceptions___DankMidsInternalError_getseters[] = { + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _exceptions___DankMidsInternalError_methods[] = { + {"__init__", + (PyCFunction)CPyPy__exceptions___DankMidsInternalError_____init__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__init__($self, exc)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__exceptions___DankMidsInternalError_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "DankMidsInternalError", + .tp_getset = _exceptions___DankMidsInternalError_getseters, + .tp_methods = _exceptions___DankMidsInternalError_methods, + .tp_init = _exceptions___DankMidsInternalError_init, + .tp_members = _exceptions___DankMidsInternalError_members, + .tp_basicsize = sizeof(PyBaseExceptionObject) + 2*sizeof(PyObject *), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE, + .tp_doc = PyDoc_STR("DankMidsInternalError(exc)\n--\n\n"), +}; +static PyTypeObject *CPyType__exceptions___DankMidsInternalError_template = &CPyType__exceptions___DankMidsInternalError_template_; + + +static int +_exceptions___BatchResponseSortError_init(PyObject *self, PyObject *args, PyObject *kwds) +{ + return CPyPy__exceptions___BatchResponseSortError_____init__(self, args, kwds) != NULL ? 0 : -1; +} +PyMemberDef _exceptions___BatchResponseSortError_members[] = { + {"__dict__", T_OBJECT_EX, sizeof(PyBaseExceptionObject), 0, NULL}, + {"__weakref__", T_OBJECT_EX, sizeof(PyBaseExceptionObject) + sizeof(PyObject *), 0, NULL}, + {0} +}; + +static PyGetSetDef _exceptions___BatchResponseSortError_getseters[] = { + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _exceptions___BatchResponseSortError_methods[] = { + {"__init__", + (PyCFunction)CPyPy__exceptions___BatchResponseSortError_____init__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__init__($self, controller, calls, response)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__exceptions___BatchResponseSortError_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "BatchResponseSortError", + .tp_getset = _exceptions___BatchResponseSortError_getseters, + .tp_methods = _exceptions___BatchResponseSortError_methods, + .tp_init = _exceptions___BatchResponseSortError_init, + .tp_members = _exceptions___BatchResponseSortError_members, + .tp_basicsize = sizeof(PyBaseExceptionObject) + 2*sizeof(PyObject *), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE, + .tp_doc = PyDoc_STR("BatchResponseSortError(controller, calls, response)\n--\n\n"), +}; +static PyTypeObject *CPyType__exceptions___BatchResponseSortError_template = &CPyType__exceptions___BatchResponseSortError_template_; + + +PyMemberDef _exceptions___RateLimitError_members[] = { + {"__dict__", T_OBJECT_EX, sizeof(PyBaseExceptionObject), 0, NULL}, + {"__weakref__", T_OBJECT_EX, sizeof(PyBaseExceptionObject) + sizeof(PyObject *), 0, NULL}, + {0} +}; + +static PyGetSetDef _exceptions___RateLimitError_getseters[] = { + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _exceptions___RateLimitError_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__exceptions___RateLimitError_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "RateLimitError", + .tp_getset = _exceptions___RateLimitError_getseters, + .tp_methods = _exceptions___RateLimitError_methods, + .tp_members = _exceptions___RateLimitError_members, + .tp_basicsize = sizeof(PyBaseExceptionObject) + 2*sizeof(PyObject *), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE, + .tp_doc = PyDoc_STR("RateLimitError(response)\n--\n\n"), +}; +static PyTypeObject *CPyType__exceptions___RateLimitError_template = &CPyType__exceptions___RateLimitError_template_; + + +PyMemberDef _exceptions___ChainstackRateLimitError_members[] = { + {"__dict__", T_OBJECT_EX, sizeof(PyBaseExceptionObject), 0, NULL}, + {"__weakref__", T_OBJECT_EX, sizeof(PyBaseExceptionObject) + sizeof(PyObject *), 0, NULL}, + {0} +}; +static PyObject * +_exceptions___ChainstackRateLimitError_get_try_again_in(dank_mids____exceptions___ChainstackRateLimitErrorObject *self, void *closure); + +static PyGetSetDef _exceptions___ChainstackRateLimitError_getseters[] = { + {"try_again_in", + (getter)_exceptions___ChainstackRateLimitError_get_try_again_in, + NULL, NULL, NULL}, + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _exceptions___ChainstackRateLimitError_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__exceptions___ChainstackRateLimitError_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "ChainstackRateLimitError", + .tp_getset = _exceptions___ChainstackRateLimitError_getseters, + .tp_methods = _exceptions___ChainstackRateLimitError_methods, + .tp_members = _exceptions___ChainstackRateLimitError_members, + .tp_basicsize = sizeof(PyBaseExceptionObject) + 2*sizeof(PyObject *), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE, + .tp_doc = PyDoc_STR("ChainstackRateLimitError(response)\n--\n\n"), +}; +static PyTypeObject *CPyType__exceptions___ChainstackRateLimitError_template = &CPyType__exceptions___ChainstackRateLimitError_template_; + + +static PyObject * +_exceptions___ChainstackRateLimitError_get_try_again_in(dank_mids____exceptions___ChainstackRateLimitErrorObject *self, void *closure) +{ + double retval = CPyDef__exceptions___ChainstackRateLimitError___try_again_in((PyObject *) self); + if (retval == -113.0 && PyErr_Occurred()) { + return NULL; + } + PyObject *retbox = PyFloat_FromDouble(retval); + return retbox; +} + +PyMemberDef _exceptions___QuiknodeRateLimitError_members[] = { + {"__dict__", T_OBJECT_EX, sizeof(PyBaseExceptionObject), 0, NULL}, + {"__weakref__", T_OBJECT_EX, sizeof(PyBaseExceptionObject) + sizeof(PyObject *), 0, NULL}, + {0} +}; + +static PyGetSetDef _exceptions___QuiknodeRateLimitError_getseters[] = { + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _exceptions___QuiknodeRateLimitError_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__exceptions___QuiknodeRateLimitError_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "QuiknodeRateLimitError", + .tp_getset = _exceptions___QuiknodeRateLimitError_getseters, + .tp_methods = _exceptions___QuiknodeRateLimitError_methods, + .tp_members = _exceptions___QuiknodeRateLimitError_members, + .tp_basicsize = sizeof(PyBaseExceptionObject) + 2*sizeof(PyObject *), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE, + .tp_doc = PyDoc_STR("QuiknodeRateLimitError(response)\n--\n\n"), +}; +static PyTypeObject *CPyType__exceptions___QuiknodeRateLimitError_template = &CPyType__exceptions___QuiknodeRateLimitError_template_; + +static PyMethodDef _exceptionsmodule_methods[] = { + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids____exceptions(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids____exceptions__internal, "__name__"); + CPyStatic__exceptions___globals = PyModule_GetDict(CPyModule_dank_mids____exceptions__internal); + if (unlikely(CPyStatic__exceptions___globals == NULL)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef__exceptions_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids____exceptions__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic__exceptions___logger); + CPyStatic__exceptions___logger = NULL; + CPy_XDECREF(CPyStatic__exceptions___internal_err_types); + CPyStatic__exceptions___internal_err_types = NULL; + Py_CLEAR(CPyType__exceptions___BadResponse); + Py_CLEAR(CPyType__exceptions___EmptyBatch); + Py_CLEAR(CPyType__exceptions___ExecutionReverted); + Py_CLEAR(CPyType__exceptions___OutOfGas); + Py_CLEAR(CPyType__exceptions___PayloadTooLarge); + Py_CLEAR(CPyType__exceptions___ExceedsMaxBatchSize); + Py_CLEAR(CPyType__exceptions___DankMidsClientResponseError); + Py_CLEAR(CPyType__exceptions___DankMidsInternalError); + Py_CLEAR(CPyType__exceptions___BatchResponseSortError); + Py_CLEAR(CPyType__exceptions___RateLimitError); + Py_CLEAR(CPyType__exceptions___ChainstackRateLimitError); + Py_CLEAR(CPyType__exceptions___QuiknodeRateLimitError); + return -1; +} +static struct PyModuleDef _exceptionsmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids._exceptions", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + _exceptionsmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids____exceptions(void) +{ + if (CPyModule_dank_mids____exceptions__internal) { + Py_INCREF(CPyModule_dank_mids____exceptions__internal); + return CPyModule_dank_mids____exceptions__internal; + } + CPyModule_dank_mids____exceptions__internal = PyModule_Create(&_exceptionsmodule); + if (unlikely(CPyModule_dank_mids____exceptions__internal == NULL)) + goto fail; + if (CPyExec_dank_mids____exceptions(CPyModule_dank_mids____exceptions__internal) != 0) + goto fail; + return CPyModule_dank_mids____exceptions__internal; + fail: + return NULL; +} + +char CPyDef__exceptions___BadResponse_____init__(PyObject *cpy_r_self, PyObject *cpy_r_response) { + PyObject *cpy_r_r0; + int32_t cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject **cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject **cpy_r_r14; + PyObject *cpy_r_r15; + char cpy_r_r16; + cpy_r_r0 = CPyStatics[140]; /* 'response' */ + cpy_r_r1 = PyObject_SetAttr(cpy_r_self, cpy_r_r0, cpy_r_response); + cpy_r_r2 = cpy_r_r1 >= 0; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 21, CPyStatic__exceptions___globals); + goto CPyL6; + } + cpy_r_r3 = CPyModule_builtins; + cpy_r_r4 = CPyStatics[141]; /* 'BaseException' */ + cpy_r_r5 = CPyObject_GetAttr(cpy_r_r3, cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 22, CPyStatic__exceptions___globals); + goto CPyL6; + } + cpy_r_r6 = CPyStatics[142]; /* 'error' */ + cpy_r_r7 = CPyObject_GetAttr(cpy_r_response, cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 22, CPyStatic__exceptions___globals); + goto CPyL7; + } + cpy_r_r8 = CPyStatics[143]; /* 'to_dict' */ + PyObject *cpy_r_r9[1] = {cpy_r_r7}; + cpy_r_r10 = (PyObject **)&cpy_r_r9; + cpy_r_r11 = PyObject_VectorcallMethod(cpy_r_r8, cpy_r_r10, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 22, CPyStatic__exceptions___globals); + goto CPyL8; + } + CPy_DECREF(cpy_r_r7); + cpy_r_r12 = CPyStatics[144]; /* '__init__' */ + PyObject *cpy_r_r13[3] = {cpy_r_r5, cpy_r_self, cpy_r_r11}; + cpy_r_r14 = (PyObject **)&cpy_r_r13; + cpy_r_r15 = PyObject_VectorcallMethod(cpy_r_r12, cpy_r_r14, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 22, CPyStatic__exceptions___globals); + goto CPyL9; + } else + goto CPyL10; +CPyL5: ; + CPy_DECREF(cpy_r_r5); + CPy_DECREF(cpy_r_r11); + return 1; +CPyL6: ; + cpy_r_r16 = 2; + return cpy_r_r16; +CPyL7: ; + CPy_DecRef(cpy_r_r5); + goto CPyL6; +CPyL8: ; + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_r7); + goto CPyL6; +CPyL9: ; + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_r11); + goto CPyL6; +CPyL10: ; + CPy_DECREF(cpy_r_r15); + goto CPyL5; +} + +PyObject *CPyPy__exceptions___BadResponse_____init__(PyObject *self, PyObject *args, PyObject *kw) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"response", 0}; + PyObject *obj_response; + if (!CPyArg_ParseTupleAndKeywords(args, kw, "O", "__init__", kwlist, &obj_response)) { + return NULL; + } + PyObject *arg_self; + if (likely(PyObject_TypeCheck(obj_self, CPyType__exceptions___BadResponse))) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._exceptions.BadResponse", obj_self); + goto fail; + } + PyObject *arg_response = obj_response; + char retval = CPyDef__exceptions___BadResponse_____init__(arg_self, arg_response); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 20, CPyStatic__exceptions___globals); + return NULL; +} + +char CPyDef__exceptions___ExecutionReverted_____init__(PyObject *cpy_r_self, PyObject *cpy_r_response) { + PyObject *cpy_r_r0; + int32_t cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_message; + PyObject *cpy_r_r8; + int64_t cpy_r_r9; + char cpy_r_r10; + char cpy_r_r11; + char cpy_r_r12; + CPyTagged cpy_r_r13; + CPyTagged cpy_r_r14; + CPyTagged cpy_r_r15; + char cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject **cpy_r_r26; + PyObject *cpy_r_r27; + char cpy_r_r28; + cpy_r_r0 = CPyStatics[140]; /* 'response' */ + cpy_r_r1 = PyObject_SetAttr(cpy_r_self, cpy_r_r0, cpy_r_response); + cpy_r_r2 = cpy_r_r1 >= 0; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 35, CPyStatic__exceptions___globals); + goto CPyL18; + } + cpy_r_r3 = CPyStatics[142]; /* 'error' */ + cpy_r_r4 = CPyObject_GetAttr(cpy_r_response, cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 36, CPyStatic__exceptions___globals); + goto CPyL18; + } + cpy_r_r5 = CPyStatics[145]; /* 'message' */ + cpy_r_r6 = CPyObject_GetAttr(cpy_r_r4, cpy_r_r5); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 36, CPyStatic__exceptions___globals); + goto CPyL18; + } + if (likely(PyUnicode_Check(cpy_r_r6))) + cpy_r_r7 = cpy_r_r6; + else { + CPy_TypeErrorTraceback("dank_mids\\_exceptions.py", "__init__", 36, CPyStatic__exceptions___globals, "str", cpy_r_r6); + goto CPyL18; + } + cpy_r_message = cpy_r_r7; + cpy_r_r8 = CPyStatics[146]; /* ':' */ + cpy_r_r9 = CPyStr_Count(cpy_r_message, cpy_r_r8, 0); + cpy_r_r10 = cpy_r_r9 >= 0; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 37, CPyStatic__exceptions___globals); + goto CPyL19; + } + cpy_r_r11 = cpy_r_r9 <= 4611686018427387903LL; + if (!cpy_r_r11) goto CPyL7; + cpy_r_r12 = cpy_r_r9 >= -4611686018427387904LL; + if (cpy_r_r12) goto CPyL9; +CPyL7: ; + cpy_r_r13 = CPyTagged_FromInt64(cpy_r_r9); + if (unlikely(cpy_r_r13 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 37, CPyStatic__exceptions___globals); + goto CPyL19; + } + cpy_r_r14 = cpy_r_r13; + goto CPyL10; +CPyL9: ; + cpy_r_r15 = cpy_r_r9 << 1; + cpy_r_r14 = cpy_r_r15; +CPyL10: ; + cpy_r_r16 = cpy_r_r14 == 2; + CPyTagged_DECREF(cpy_r_r14); + if (!cpy_r_r16) goto CPyL15; + cpy_r_r17 = CPyStatics[146]; /* ':' */ + cpy_r_r18 = PyUnicode_Split(cpy_r_message, cpy_r_r17, -1); + CPy_DECREF(cpy_r_message); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 38, CPyStatic__exceptions___globals); + goto CPyL18; + } + cpy_r_r19 = CPyList_GetItemShort(cpy_r_r18, 2); + CPy_DECREF_NO_IMM(cpy_r_r18); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 38, CPyStatic__exceptions___globals); + goto CPyL18; + } + if (likely(PyUnicode_Check(cpy_r_r19))) + cpy_r_r20 = cpy_r_r19; + else { + CPy_TypeErrorTraceback("dank_mids\\_exceptions.py", "__init__", 38, CPyStatic__exceptions___globals, "str", cpy_r_r19); + goto CPyL18; + } + cpy_r_message = cpy_r_r20; +CPyL15: ; + cpy_r_r21 = CPyModule_builtins; + cpy_r_r22 = CPyStatics[141]; /* 'BaseException' */ + cpy_r_r23 = CPyObject_GetAttr(cpy_r_r21, cpy_r_r22); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 39, CPyStatic__exceptions___globals); + goto CPyL19; + } + cpy_r_r24 = CPyStatics[144]; /* '__init__' */ + PyObject *cpy_r_r25[3] = {cpy_r_r23, cpy_r_self, cpy_r_message}; + cpy_r_r26 = (PyObject **)&cpy_r_r25; + cpy_r_r27 = PyObject_VectorcallMethod(cpy_r_r24, cpy_r_r26, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 39, CPyStatic__exceptions___globals); + goto CPyL20; + } else + goto CPyL21; +CPyL17: ; + CPy_DECREF(cpy_r_r23); + CPy_DECREF(cpy_r_message); + return 1; +CPyL18: ; + cpy_r_r28 = 2; + return cpy_r_r28; +CPyL19: ; + CPy_DecRef(cpy_r_message); + goto CPyL18; +CPyL20: ; + CPy_DecRef(cpy_r_message); + CPy_DecRef(cpy_r_r23); + goto CPyL18; +CPyL21: ; + CPy_DECREF(cpy_r_r27); + goto CPyL17; +} + +PyObject *CPyPy__exceptions___ExecutionReverted_____init__(PyObject *self, PyObject *args, PyObject *kw) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"response", 0}; + PyObject *obj_response; + if (!CPyArg_ParseTupleAndKeywords(args, kw, "O", "__init__", kwlist, &obj_response)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__exceptions___ExecutionReverted)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._exceptions.ExecutionReverted", obj_self); + goto fail; + } + PyObject *arg_response = obj_response; + char retval = CPyDef__exceptions___ExecutionReverted_____init__(arg_self, arg_response); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 34, CPyStatic__exceptions___globals); + return NULL; +} + +CPyTagged CPyDef__exceptions___ExceedsMaxBatchSize___limit(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject **cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject **cpy_r_r17; + PyObject *cpy_r_r18; + CPyTagged cpy_r_r19; + CPyTagged cpy_r_r20; + cpy_r_r0 = CPyStatics[147]; /* 'batch limit (\\d+) exceeded' */ + cpy_r_r1 = CPyStatics[140]; /* 'response' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_self, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "limit", 59, CPyStatic__exceptions___globals); + goto CPyL9; + } + cpy_r_r3 = CPyStatics[142]; /* 'error' */ + cpy_r_r4 = CPyObject_GetAttr(cpy_r_r2, cpy_r_r3); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "limit", 59, CPyStatic__exceptions___globals); + goto CPyL9; + } + cpy_r_r5 = CPyStatics[145]; /* 'message' */ + cpy_r_r6 = CPyObject_GetAttr(cpy_r_r4, cpy_r_r5); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "limit", 59, CPyStatic__exceptions___globals); + goto CPyL9; + } + cpy_r_r7 = CPyModule_re; + cpy_r_r8 = CPyStatics[148]; /* 'search' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "limit", 59, CPyStatic__exceptions___globals); + goto CPyL10; + } + PyObject *cpy_r_r10[2] = {cpy_r_r0, cpy_r_r6}; + cpy_r_r11 = (PyObject **)&cpy_r_r10; + cpy_r_r12 = PyObject_Vectorcall(cpy_r_r9, cpy_r_r11, 2, 0); + CPy_DECREF(cpy_r_r9); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "limit", 59, CPyStatic__exceptions___globals); + goto CPyL10; + } + CPy_DECREF(cpy_r_r6); + cpy_r_r13 = CPyStatics[873]; /* 1 */ + cpy_r_r14 = PyObject_GetItem(cpy_r_r12, cpy_r_r13); + CPy_DECREF(cpy_r_r12); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "limit", 59, CPyStatic__exceptions___globals); + goto CPyL9; + } + cpy_r_r15 = (PyObject *)&PyLong_Type; + PyObject *cpy_r_r16[1] = {cpy_r_r14}; + cpy_r_r17 = (PyObject **)&cpy_r_r16; + cpy_r_r18 = PyObject_Vectorcall(cpy_r_r15, cpy_r_r17, 1, 0); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "limit", 59, CPyStatic__exceptions___globals); + goto CPyL11; + } + CPy_DECREF(cpy_r_r14); + if (likely(PyLong_Check(cpy_r_r18))) + cpy_r_r19 = CPyTagged_FromObject(cpy_r_r18); + else { + CPy_TypeError("int", cpy_r_r18); cpy_r_r19 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_r18); + if (unlikely(cpy_r_r19 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "limit", 59, CPyStatic__exceptions___globals); + goto CPyL9; + } + return cpy_r_r19; +CPyL9: ; + cpy_r_r20 = CPY_INT_TAG; + return cpy_r_r20; +CPyL10: ; + CPy_DecRef(cpy_r_r6); + goto CPyL9; +CPyL11: ; + CPy_DecRef(cpy_r_r14); + goto CPyL9; +} + +PyObject *CPyPy__exceptions___ExceedsMaxBatchSize___limit(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":limit", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__exceptions___ExceedsMaxBatchSize)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._exceptions.ExceedsMaxBatchSize", obj_self); + goto fail; + } + CPyTagged retval = CPyDef__exceptions___ExceedsMaxBatchSize___limit(arg_self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_exceptions.py", "limit", 57, CPyStatic__exceptions___globals); + return NULL; +} + +char CPyDef__exceptions___DankMidsClientResponseError_____init__(PyObject *cpy_r_self, PyObject *cpy_r_exc, PyObject *cpy_r_request) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + int32_t cpy_r_r3; + char cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject **cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject **cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + char cpy_r_r29; + CPy_INCREF(cpy_r_request); + ((dank_mids____exceptions___DankMidsClientResponseErrorObject *)cpy_r_self)->_request = cpy_r_request; + cpy_r_r0 = ((dank_mids____exceptions___DankMidsClientResponseErrorObject *)cpy_r_self)->_args; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\_exceptions.py", "__init__", "DankMidsClientResponseError", "args", 77, CPyStatic__exceptions___globals); + goto CPyL15; + } + CPy_INCREF(cpy_r_r0); +CPyL1: ; + cpy_r_r1 = PyList_New(0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 77, CPyStatic__exceptions___globals); + goto CPyL16; + } + cpy_r_r2 = CPyList_Extend(cpy_r_r1, cpy_r_r0); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 77, CPyStatic__exceptions___globals); + goto CPyL17; + } else + goto CPyL18; +CPyL3: ; + cpy_r_r3 = PyList_Append(cpy_r_r1, cpy_r_request); + cpy_r_r4 = cpy_r_r3 >= 0; + if (unlikely(!cpy_r_r4)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 77, CPyStatic__exceptions___globals); + goto CPyL17; + } + cpy_r_r5 = PyList_AsTuple(cpy_r_r1); + CPy_DECREF_NO_IMM(cpy_r_r1); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 77, CPyStatic__exceptions___globals); + goto CPyL15; + } + ((dank_mids____exceptions___DankMidsClientResponseErrorObject *)cpy_r_self)->_args = cpy_r_r5; + CPy_INCREF(cpy_r_exc); + ((dank_mids____exceptions___DankMidsClientResponseErrorObject *)cpy_r_self)->__exception = cpy_r_exc; + cpy_r_r6 = CPyModule_builtins; + cpy_r_r7 = CPyStatics[149]; /* 'super' */ + cpy_r_r8 = CPyObject_GetAttr(cpy_r_r6, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 85, CPyStatic__exceptions___globals); + goto CPyL15; + } + cpy_r_r9 = (PyObject *)CPyType__exceptions___DankMidsClientResponseError; + PyObject *cpy_r_r10[2] = {cpy_r_r9, cpy_r_self}; + cpy_r_r11 = (PyObject **)&cpy_r_r10; + cpy_r_r12 = PyObject_Vectorcall(cpy_r_r8, cpy_r_r11, 2, 0); + CPy_DECREF(cpy_r_r8); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 85, CPyStatic__exceptions___globals); + goto CPyL15; + } + cpy_r_r13 = CPyStatics[144]; /* '__init__' */ + cpy_r_r14 = CPyObject_GetAttr(cpy_r_r12, cpy_r_r13); + CPy_DECREF(cpy_r_r12); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 85, CPyStatic__exceptions___globals); + goto CPyL15; + } + cpy_r_r15 = CPyStatics[150]; /* 'request_info' */ + cpy_r_r16 = CPyObject_GetAttr(cpy_r_exc, cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 86, CPyStatic__exceptions___globals); + goto CPyL19; + } + cpy_r_r17 = CPyStatics[151]; /* 'history' */ + cpy_r_r18 = CPyObject_GetAttr(cpy_r_exc, cpy_r_r17); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 87, CPyStatic__exceptions___globals); + goto CPyL20; + } + cpy_r_r19 = CPyStatics[152]; /* 'status' */ + cpy_r_r20 = CPyObject_GetAttr(cpy_r_exc, cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 88, CPyStatic__exceptions___globals); + goto CPyL21; + } + cpy_r_r21 = CPyStatics[145]; /* 'message' */ + cpy_r_r22 = CPyObject_GetAttr(cpy_r_exc, cpy_r_r21); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 89, CPyStatic__exceptions___globals); + goto CPyL22; + } + cpy_r_r23 = CPyStatics[153]; /* 'headers' */ + cpy_r_r24 = CPyObject_GetAttr(cpy_r_exc, cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 90, CPyStatic__exceptions___globals); + goto CPyL23; + } + 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[927]; /* ('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)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 85, CPyStatic__exceptions___globals); + goto CPyL24; + } else + goto CPyL25; +CPyL14: ; + CPy_DECREF(cpy_r_r16); + CPy_DECREF(cpy_r_r18); + CPy_DECREF(cpy_r_r20); + CPy_DECREF(cpy_r_r22); + CPy_DECREF(cpy_r_r24); + return 1; +CPyL15: ; + cpy_r_r29 = 2; + return cpy_r_r29; +CPyL16: ; + CPy_DecRef(cpy_r_r0); + goto CPyL15; +CPyL17: ; + CPy_DecRef(cpy_r_r1); + goto CPyL15; +CPyL18: ; + CPy_DECREF(cpy_r_r2); + goto CPyL3; +CPyL19: ; + CPy_DecRef(cpy_r_r14); + goto CPyL15; +CPyL20: ; + CPy_DecRef(cpy_r_r14); + CPy_DecRef(cpy_r_r16); + goto CPyL15; +CPyL21: ; + CPy_DecRef(cpy_r_r14); + CPy_DecRef(cpy_r_r16); + CPy_DecRef(cpy_r_r18); + goto CPyL15; +CPyL22: ; + CPy_DecRef(cpy_r_r14); + CPy_DecRef(cpy_r_r16); + CPy_DecRef(cpy_r_r18); + CPy_DecRef(cpy_r_r20); + goto CPyL15; +CPyL23: ; + CPy_DecRef(cpy_r_r14); + CPy_DecRef(cpy_r_r16); + CPy_DecRef(cpy_r_r18); + CPy_DecRef(cpy_r_r20); + CPy_DecRef(cpy_r_r22); + goto CPyL15; +CPyL24: ; + CPy_DecRef(cpy_r_r16); + CPy_DecRef(cpy_r_r18); + CPy_DecRef(cpy_r_r20); + CPy_DecRef(cpy_r_r22); + CPy_DecRef(cpy_r_r24); + goto CPyL15; +CPyL25: ; + CPy_DECREF(cpy_r_r28); + goto CPyL14; +} + +PyObject *CPyPy__exceptions___DankMidsClientResponseError_____init__(PyObject *self, PyObject *args, PyObject *kw) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"exc", "request", 0}; + PyObject *obj_exc; + PyObject *obj_request; + if (!CPyArg_ParseTupleAndKeywords(args, kw, "OO", "__init__", kwlist, &obj_exc, &obj_request)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__exceptions___DankMidsClientResponseError)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._exceptions.DankMidsClientResponseError", obj_self); + goto fail; + } + PyObject *arg_exc = obj_exc; + PyObject *arg_request = obj_request; + char retval = CPyDef__exceptions___DankMidsClientResponseError_____init__(arg_self, arg_exc, arg_request); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 66, CPyStatic__exceptions___globals); + return NULL; +} + +char CPyDef__exceptions___DankMidsInternalError_____init__(PyObject *cpy_r_self, PyObject *cpy_r_exc) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject **cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + int32_t cpy_r_r12; + char cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject **cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject **cpy_r_r25; + PyObject *cpy_r_r26; + char cpy_r_r27; + cpy_r_r0 = CPyStatic__exceptions___logger; + if (likely(cpy_r_r0 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 104, CPyStatic__exceptions___globals); + goto CPyL13; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r2 = CPyStatics[154]; /* 'unhandled exception inside dank mids internals: ' */ + cpy_r_r3 = PyObject_Str(cpy_r_exc); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 104, CPyStatic__exceptions___globals); + goto CPyL13; + } + cpy_r_r4 = CPyStr_Build(2, cpy_r_r2, cpy_r_r3); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 104, CPyStatic__exceptions___globals); + goto CPyL13; + } + cpy_r_r5 = CPyStatics[155]; /* 'warning' */ + 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[928]; /* ('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__", 104, CPyStatic__exceptions___globals); + goto CPyL14; + } else + goto CPyL15; +CPyL6: ; + CPy_DECREF(cpy_r_r4); + cpy_r_r11 = CPyStatics[157]; /* '_original_exception' */ + cpy_r_r12 = PyObject_SetAttr(cpy_r_self, cpy_r_r11, cpy_r_exc); + cpy_r_r13 = cpy_r_r12 >= 0; + if (unlikely(!cpy_r_r13)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 106, CPyStatic__exceptions___globals); + goto CPyL13; + } + cpy_r_r14 = CPyModule_builtins; + cpy_r_r15 = CPyStatics[149]; /* 'super' */ + cpy_r_r16 = CPyObject_GetAttr(cpy_r_r14, cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 112, CPyStatic__exceptions___globals); + goto CPyL13; + } + cpy_r_r17 = (PyObject *)CPyType__exceptions___DankMidsInternalError; + PyObject *cpy_r_r18[2] = {cpy_r_r17, cpy_r_self}; + cpy_r_r19 = (PyObject **)&cpy_r_r18; + cpy_r_r20 = PyObject_Vectorcall(cpy_r_r16, cpy_r_r19, 2, 0); + CPy_DECREF(cpy_r_r16); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 112, CPyStatic__exceptions___globals); + goto CPyL13; + } + cpy_r_r21 = CPyStatics[144]; /* '__init__' */ + cpy_r_r22 = CPyObject_GetAttr(cpy_r_r20, cpy_r_r21); + CPy_DECREF(cpy_r_r20); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 112, CPyStatic__exceptions___globals); + goto CPyL13; + } + cpy_r_r23 = PyObject_Repr(cpy_r_exc); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 112, CPyStatic__exceptions___globals); + goto CPyL16; + } + PyObject *cpy_r_r24[1] = {cpy_r_r23}; + cpy_r_r25 = (PyObject **)&cpy_r_r24; + cpy_r_r26 = PyObject_Vectorcall(cpy_r_r22, cpy_r_r25, 1, 0); + CPy_DECREF(cpy_r_r22); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 112, CPyStatic__exceptions___globals); + goto CPyL17; + } else + goto CPyL18; +CPyL12: ; + CPy_DECREF(cpy_r_r23); + return 1; +CPyL13: ; + cpy_r_r27 = 2; + return cpy_r_r27; +CPyL14: ; + CPy_DecRef(cpy_r_r4); + goto CPyL13; +CPyL15: ; + CPy_DECREF(cpy_r_r10); + goto CPyL6; +CPyL16: ; + CPy_DecRef(cpy_r_r22); + goto CPyL13; +CPyL17: ; + CPy_DecRef(cpy_r_r23); + goto CPyL13; +CPyL18: ; + CPy_DECREF(cpy_r_r26); + goto CPyL12; +} + +PyObject *CPyPy__exceptions___DankMidsInternalError_____init__(PyObject *self, PyObject *args, PyObject *kw) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"exc", 0}; + PyObject *obj_exc; + if (!CPyArg_ParseTupleAndKeywords(args, kw, "O", "__init__", kwlist, &obj_exc)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__exceptions___DankMidsInternalError)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._exceptions.DankMidsInternalError", obj_self); + goto fail; + } + PyObject *arg_exc = obj_exc; + char retval = CPyDef__exceptions___DankMidsInternalError_____init__(arg_self, arg_exc); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 103, CPyStatic__exceptions___globals); + return NULL; +} + +char CPyDef__exceptions___BatchResponseSortError_____init__(PyObject *cpy_r_self, PyObject *cpy_r_controller, PyObject *cpy_r_calls, PyObject *cpy_r_response) { + PyObject *cpy_r_r0; + int32_t cpy_r_r1; + char cpy_r_r2; + CPyPtr cpy_r_r3; + int64_t cpy_r_r4; + PyObject *cpy_r_r5; + int64_t cpy_r_r6; + CPyPtr cpy_r_r7; + int64_t cpy_r_r8; + char cpy_r_r9; + CPyPtr cpy_r_r10; + CPyPtr cpy_r_r11; + int64_t cpy_r_r12; + CPyPtr cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + char cpy_r_r16; + PyObject *cpy_r_r17; + int64_t cpy_r_r18; + PyObject *cpy_r_r19; + int32_t cpy_r_r20; + char cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject **cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + int32_t cpy_r_r46; + char cpy_r_r47; + char cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject **cpy_r_r57; + PyObject *cpy_r_r58; + char cpy_r_r59; + cpy_r_r0 = CPyStatics[158]; /* 'calls' */ + cpy_r_r1 = PyObject_SetAttr(cpy_r_self, cpy_r_r0, cpy_r_calls); + cpy_r_r2 = cpy_r_r1 >= 0; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 128, CPyStatic__exceptions___globals); + goto CPyL30; + } + cpy_r_r3 = (CPyPtr)&((PyVarObject *)cpy_r_response)->ob_size; + cpy_r_r4 = *(int64_t *)cpy_r_r3; + cpy_r_r5 = PyList_New(cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 134, CPyStatic__exceptions___globals); + goto CPyL30; + } + cpy_r_r6 = 0; +CPyL3: ; + cpy_r_r7 = (CPyPtr)&((PyVarObject *)cpy_r_response)->ob_size; + cpy_r_r8 = *(int64_t *)cpy_r_r7; + cpy_r_r9 = cpy_r_r6 < cpy_r_r8; + if (!cpy_r_r9) goto CPyL8; + cpy_r_r10 = (CPyPtr)&((PyListObject *)cpy_r_response)->ob_item; + cpy_r_r11 = *(CPyPtr *)cpy_r_r10; + cpy_r_r12 = cpy_r_r6 * 8; + cpy_r_r13 = cpy_r_r11 + cpy_r_r12; + cpy_r_r14 = *(PyObject * *)cpy_r_r13; + CPy_INCREF(cpy_r_r14); + if (likely(Py_TYPE(cpy_r_r14) == CPyType__codec___RawResponse)) + cpy_r_r15 = cpy_r_r14; + else { + CPy_TypeErrorTraceback("dank_mids\\_exceptions.py", "__init__", 134, CPyStatic__exceptions___globals, "dank_mids.helpers._codec.RawResponse", cpy_r_r14); + goto CPyL31; + } + cpy_r_r16 = 2; + cpy_r_r17 = CPyDef__codec___RawResponse___decode(cpy_r_r15, cpy_r_r16); + CPy_DECREF_NO_IMM(cpy_r_r15); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 134, CPyStatic__exceptions___globals); + goto CPyL31; + } + CPyList_SetItemUnsafe(cpy_r_r5, cpy_r_r6, cpy_r_r17); + cpy_r_r18 = cpy_r_r6 + 1; + cpy_r_r6 = cpy_r_r18; + goto CPyL3; +CPyL8: ; + cpy_r_r19 = CPyStatics[159]; /* 'results' */ + cpy_r_r20 = PyObject_SetAttr(cpy_r_self, cpy_r_r19, cpy_r_r5); + CPy_DECREF_NO_IMM(cpy_r_r5); + cpy_r_r21 = cpy_r_r20 >= 0; + if (unlikely(!cpy_r_r21)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 134, CPyStatic__exceptions___globals); + goto CPyL30; + } + cpy_r_r22 = CPyModule_builtins; + cpy_r_r23 = CPyStatics[149]; /* 'super' */ + cpy_r_r24 = CPyObject_GetAttr(cpy_r_r22, cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 140, CPyStatic__exceptions___globals); + goto CPyL30; + } + cpy_r_r25 = (PyObject *)CPyType__exceptions___BatchResponseSortError; + PyObject *cpy_r_r26[2] = {cpy_r_r25, cpy_r_self}; + cpy_r_r27 = (PyObject **)&cpy_r_r26; + cpy_r_r28 = PyObject_Vectorcall(cpy_r_r24, cpy_r_r27, 2, 0); + CPy_DECREF(cpy_r_r24); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 140, CPyStatic__exceptions___globals); + goto CPyL30; + } + cpy_r_r29 = CPyStatics[144]; /* '__init__' */ + cpy_r_r30 = CPyObject_GetAttr(cpy_r_r28, cpy_r_r29); + CPy_DECREF(cpy_r_r28); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 140, CPyStatic__exceptions___globals); + goto CPyL30; + } + cpy_r_r31 = CPyStatics[160]; /* ('This will not mess up your run but will make things ' + 'needlessly slow. Please show this to Bob.\n' + 'endpoint=') */ + cpy_r_r32 = CPyStatics[161]; /* 'endpoint' */ + cpy_r_r33 = CPyObject_GetAttr(cpy_r_controller, cpy_r_r32); + if (unlikely(cpy_r_r33 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 142, CPyStatic__exceptions___globals); + goto CPyL32; + } + if (likely(PyUnicode_Check(cpy_r_r33))) + cpy_r_r34 = cpy_r_r33; + else { + CPy_TypeErrorTraceback("dank_mids\\_exceptions.py", "__init__", 142, CPyStatic__exceptions___globals, "str", cpy_r_r33); + goto CPyL32; + } + cpy_r_r35 = CPyStatics[162]; /* '\nclient_version=' */ + cpy_r_r36 = CPyStatics[163]; /* 'client_version' */ + cpy_r_r37 = CPyObject_GetAttr(cpy_r_controller, cpy_r_r36); + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 143, CPyStatic__exceptions___globals); + goto CPyL33; + } + if (likely(PyUnicode_Check(cpy_r_r37))) + cpy_r_r38 = cpy_r_r37; + else { + CPy_TypeErrorTraceback("dank_mids\\_exceptions.py", "__init__", 143, CPyStatic__exceptions___globals, "str", cpy_r_r37); + goto CPyL33; + } + cpy_r_r39 = CPyStatics[164]; /* '\ncalls=' */ + cpy_r_r40 = PyList_New(0); + if (unlikely(cpy_r_r40 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 144, CPyStatic__exceptions___globals); + goto CPyL34; + } + cpy_r_r41 = PyObject_GetIter(cpy_r_calls); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 144, CPyStatic__exceptions___globals); + goto CPyL35; + } +CPyL18: ; + cpy_r_r42 = PyIter_Next(cpy_r_r41); + if (cpy_r_r42 == NULL) goto CPyL36; + cpy_r_r43 = CPyStatics[165]; /* 'uid' */ + cpy_r_r44 = CPyObject_GetAttr(cpy_r_r42, cpy_r_r43); + CPy_DECREF(cpy_r_r42); + if (unlikely(cpy_r_r44 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 144, CPyStatic__exceptions___globals); + goto CPyL37; + } + if (PyLong_Check(cpy_r_r44)) + cpy_r_r45 = cpy_r_r44; + else { + cpy_r_r45 = NULL; + } + if (cpy_r_r45 != NULL) goto __LL20; + if (PyUnicode_Check(cpy_r_r44)) + cpy_r_r45 = cpy_r_r44; + else { + cpy_r_r45 = NULL; + } + if (cpy_r_r45 != NULL) goto __LL20; + CPy_TypeErrorTraceback("dank_mids\\_exceptions.py", "__init__", 144, CPyStatic__exceptions___globals, "union[int, str]", cpy_r_r44); + goto CPyL37; +__LL20: ; + cpy_r_r46 = PyList_Append(cpy_r_r40, cpy_r_r45); + CPy_DECREF(cpy_r_r45); + cpy_r_r47 = cpy_r_r46 >= 0; + if (unlikely(!cpy_r_r47)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 144, CPyStatic__exceptions___globals); + goto CPyL37; + } else + goto CPyL18; +CPyL22: ; + cpy_r_r48 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r48)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 144, CPyStatic__exceptions___globals); + goto CPyL35; + } + cpy_r_r49 = PyObject_Str(cpy_r_r40); + CPy_DECREF_NO_IMM(cpy_r_r40); + if (unlikely(cpy_r_r49 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 141, CPyStatic__exceptions___globals); + goto CPyL34; + } + cpy_r_r50 = CPyStatics[166]; /* '\nresponse=' */ + cpy_r_r51 = CPyStatics[159]; /* 'results' */ + cpy_r_r52 = CPyObject_GetAttr(cpy_r_self, cpy_r_r51); + if (unlikely(cpy_r_r52 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 145, CPyStatic__exceptions___globals); + goto CPyL38; + } + if (likely(PyList_Check(cpy_r_r52))) + cpy_r_r53 = cpy_r_r52; + else { + CPy_TypeErrorTraceback("dank_mids\\_exceptions.py", "__init__", 145, CPyStatic__exceptions___globals, "list", cpy_r_r52); + goto CPyL38; + } + cpy_r_r54 = PyObject_Str(cpy_r_r53); + CPy_DECREF_NO_IMM(cpy_r_r53); + if (unlikely(cpy_r_r54 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 141, CPyStatic__exceptions___globals); + goto CPyL38; + } + cpy_r_r55 = CPyStr_Build(8, cpy_r_r31, cpy_r_r34, cpy_r_r35, cpy_r_r38, cpy_r_r39, cpy_r_r49, cpy_r_r50, cpy_r_r54); + CPy_DECREF(cpy_r_r34); + CPy_DECREF(cpy_r_r38); + CPy_DECREF(cpy_r_r49); + CPy_DECREF(cpy_r_r54); + if (unlikely(cpy_r_r55 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 141, CPyStatic__exceptions___globals); + goto CPyL32; + } + PyObject *cpy_r_r56[1] = {cpy_r_r55}; + cpy_r_r57 = (PyObject **)&cpy_r_r56; + cpy_r_r58 = PyObject_Vectorcall(cpy_r_r30, cpy_r_r57, 1, 0); + CPy_DECREF(cpy_r_r30); + if (unlikely(cpy_r_r58 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 140, CPyStatic__exceptions___globals); + goto CPyL39; + } else + goto CPyL40; +CPyL29: ; + CPy_DECREF(cpy_r_r55); + return 1; +CPyL30: ; + cpy_r_r59 = 2; + return cpy_r_r59; +CPyL31: ; + CPy_DecRef(cpy_r_r5); + goto CPyL30; +CPyL32: ; + CPy_DecRef(cpy_r_r30); + goto CPyL30; +CPyL33: ; + CPy_DecRef(cpy_r_r30); + CPy_DecRef(cpy_r_r34); + goto CPyL30; +CPyL34: ; + CPy_DecRef(cpy_r_r30); + CPy_DecRef(cpy_r_r34); + CPy_DecRef(cpy_r_r38); + goto CPyL30; +CPyL35: ; + CPy_DecRef(cpy_r_r30); + CPy_DecRef(cpy_r_r34); + CPy_DecRef(cpy_r_r38); + CPy_DecRef(cpy_r_r40); + goto CPyL30; +CPyL36: ; + CPy_DECREF(cpy_r_r41); + goto CPyL22; +CPyL37: ; + CPy_DecRef(cpy_r_r30); + CPy_DecRef(cpy_r_r34); + CPy_DecRef(cpy_r_r38); + CPy_DecRef(cpy_r_r40); + CPy_DecRef(cpy_r_r41); + goto CPyL30; +CPyL38: ; + CPy_DecRef(cpy_r_r30); + CPy_DecRef(cpy_r_r34); + CPy_DecRef(cpy_r_r38); + CPy_DecRef(cpy_r_r49); + goto CPyL30; +CPyL39: ; + CPy_DecRef(cpy_r_r55); + goto CPyL30; +CPyL40: ; + CPy_DECREF(cpy_r_r58); + goto CPyL29; +} + +PyObject *CPyPy__exceptions___BatchResponseSortError_____init__(PyObject *self, PyObject *args, PyObject *kw) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"controller", "calls", "response", 0}; + PyObject *obj_controller; + PyObject *obj_calls; + PyObject *obj_response; + if (!CPyArg_ParseTupleAndKeywords(args, kw, "OOO", "__init__", kwlist, &obj_controller, &obj_calls, &obj_response)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__exceptions___BatchResponseSortError)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._exceptions.BatchResponseSortError", obj_self); + goto fail; + } + PyObject *arg_controller = obj_controller; + PyObject *arg_calls = obj_calls; + PyObject *arg_response; + if (likely(PyList_Check(obj_response))) + arg_response = obj_response; + else { + CPy_TypeError("list", obj_response); + goto fail; + } + char retval = CPyDef__exceptions___BatchResponseSortError_____init__(arg_self, arg_controller, arg_calls, arg_response); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 122, CPyStatic__exceptions___globals); + return NULL; +} + +double CPyDef__exceptions___ChainstackRateLimitError___try_again_in(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + double cpy_r_r8; + char cpy_r_r9; + PyObject *cpy_r_r10; + double cpy_r_r11; + cpy_r_r0 = CPyStatics[140]; /* 'response' */ + cpy_r_r1 = CPyObject_GetAttr(cpy_r_self, cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "try_again_in", 168, CPyStatic__exceptions___globals); + goto CPyL7; + } + cpy_r_r2 = CPyStatics[142]; /* 'error' */ + cpy_r_r3 = CPyObject_GetAttr(cpy_r_r1, cpy_r_r2); + CPy_DECREF(cpy_r_r1); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "try_again_in", 168, CPyStatic__exceptions___globals); + goto CPyL7; + } + cpy_r_r4 = CPyStatics[167]; /* 'data' */ + cpy_r_r5 = CPyObject_GetAttr(cpy_r_r3, cpy_r_r4); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "try_again_in", 168, CPyStatic__exceptions___globals); + goto CPyL7; + } + cpy_r_r6 = CPyStatics[168]; /* 'try_again_in' */ + cpy_r_r7 = CPyObject_GetAttr(cpy_r_r5, cpy_r_r6); + CPy_DECREF(cpy_r_r5); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "try_again_in", 168, CPyStatic__exceptions___globals); + goto CPyL7; + } + cpy_r_r8 = PyFloat_AsDouble(cpy_r_r7); + if (cpy_r_r8 == -1.0 && PyErr_Occurred()) { + CPy_TypeError("float", cpy_r_r7); cpy_r_r8 = -113.0; + } + CPy_DECREF(cpy_r_r7); + cpy_r_r9 = cpy_r_r8 == -113.0; + if (unlikely(cpy_r_r9)) goto CPyL6; +CPyL5: ; + return cpy_r_r8; +CPyL6: ; + cpy_r_r10 = PyErr_Occurred(); + if (unlikely(cpy_r_r10 != NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "try_again_in", 168, CPyStatic__exceptions___globals); + } else + goto CPyL5; +CPyL7: ; + cpy_r_r11 = -113.0; + return cpy_r_r11; +} + +PyObject *CPyPy__exceptions___ChainstackRateLimitError___try_again_in(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":try_again_in", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__exceptions___ChainstackRateLimitError)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._exceptions.ChainstackRateLimitError", obj_self); + goto fail; + } + double retval = CPyDef__exceptions___ChainstackRateLimitError___try_again_in(arg_self); + if (retval == -113.0 && PyErr_Occurred()) { + return NULL; + } + PyObject *retbox = PyFloat_FromDouble(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_exceptions.py", "try_again_in", 161, CPyStatic__exceptions___globals); + return NULL; +} + +char CPyDef__exceptions_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r5; + PyObject **cpy_r_r6; + void *cpy_r_r8; + void *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + char cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject **cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + int32_t cpy_r_r33; + char cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + int32_t cpy_r_r45; + char cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + int32_t cpy_r_r49; + char cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + int32_t cpy_r_r61; + char cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + int32_t cpy_r_r65; + char cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + PyObject *cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + int32_t cpy_r_r75; + char cpy_r_r76; + PyObject *cpy_r_r77; + PyObject *cpy_r_r78; + int32_t cpy_r_r79; + char cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + PyObject *cpy_r_r88; + int32_t cpy_r_r89; + char cpy_r_r90; + PyObject *cpy_r_r91; + PyObject *cpy_r_r92; + int32_t cpy_r_r93; + char cpy_r_r94; + PyObject *cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + PyObject *cpy_r_r98; + PyObject *cpy_r_r99; + PyObject *cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + int32_t cpy_r_r103; + char cpy_r_r104; + PyObject *cpy_r_r105; + PyObject *cpy_r_r106; + int32_t cpy_r_r107; + char cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + PyObject *cpy_r_r111; + PyObject *cpy_r_r112; + PyObject *cpy_r_r113; + PyObject *cpy_r_r114; + PyObject *cpy_r_r115; + PyObject *cpy_r_r116; + int32_t cpy_r_r117; + char cpy_r_r118; + PyObject *cpy_r_r119; + PyObject *cpy_r_r120; + int32_t cpy_r_r121; + char cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + PyObject *cpy_r_r126; + PyObject *cpy_r_r127; + PyObject *cpy_r_r128; + PyObject *cpy_r_r129; + char cpy_r_r130; + PyObject *cpy_r_r131; + PyObject *cpy_r_r132; + PyObject *cpy_r_r133; + PyObject *cpy_r_r134; + PyObject *cpy_r_r135; + int32_t cpy_r_r136; + char cpy_r_r137; + PyObject *cpy_r_r138; + PyObject *cpy_r_r139; + int32_t cpy_r_r140; + char cpy_r_r141; + PyObject *cpy_r_r142; + PyObject *cpy_r_r143; + PyObject *cpy_r_r144; + PyObject *cpy_r_r145; + PyObject *cpy_r_r146; + PyObject *cpy_r_r147; + PyObject *cpy_r_r148; + PyObject *cpy_r_r149; + PyObject *cpy_r_r150; + PyObject *cpy_r_r151; + PyObject *cpy_r_r152; + PyObject *cpy_r_r153; + PyObject *cpy_r_r154; + PyObject *cpy_r_r155; + PyObject *cpy_r_r156; + PyObject *cpy_r_r157; + PyObject *cpy_r_r158; + PyObject *cpy_r_r159; + PyObject *cpy_r_r160; + PyObject *cpy_r_r161; + PyObject *cpy_r_r162; + tuple_T6OOOOOO cpy_r_r163; + PyObject *cpy_r_r164; + PyObject *cpy_r_r165; + PyObject *cpy_r_r166; + PyObject *cpy_r_r167; + int32_t cpy_r_r168; + char cpy_r_r169; + PyObject *cpy_r_r170; + PyObject *cpy_r_r171; + PyObject *cpy_r_r172; + PyObject *cpy_r_r173; + PyObject *cpy_r_r174; + int32_t cpy_r_r175; + char cpy_r_r176; + PyObject *cpy_r_r177; + PyObject *cpy_r_r178; + PyObject *cpy_r_r179; + PyObject *cpy_r_r180; + PyObject *cpy_r_r181; + PyObject *cpy_r_r182; + PyObject *cpy_r_r183; + PyObject *cpy_r_r184; + PyObject *cpy_r_r185; + PyObject *cpy_r_r186; + int32_t cpy_r_r187; + char cpy_r_r188; + PyObject *cpy_r_r189; + PyObject *cpy_r_r190; + int32_t cpy_r_r191; + char cpy_r_r192; + PyObject *cpy_r_r193; + PyObject *cpy_r_r194; + PyObject *cpy_r_r195; + PyObject *cpy_r_r196; + PyObject *cpy_r_r197; + PyObject *cpy_r_r198; + PyObject *cpy_r_r199; + PyObject *cpy_r_r200; + PyObject *cpy_r_r201; + PyObject *cpy_r_r202; + int32_t cpy_r_r203; + char cpy_r_r204; + PyObject *cpy_r_r205; + PyObject *cpy_r_r206; + int32_t cpy_r_r207; + char cpy_r_r208; + PyObject *cpy_r_r209; + PyObject *cpy_r_r210; + PyObject *cpy_r_r211; + PyObject *cpy_r_r212; + PyObject *cpy_r_r213; + PyObject *cpy_r_r214; + PyObject *cpy_r_r215; + PyObject *cpy_r_r216; + int32_t cpy_r_r217; + char cpy_r_r218; + PyObject *cpy_r_r219; + PyObject *cpy_r_r220; + int32_t cpy_r_r221; + char cpy_r_r222; + PyObject *cpy_r_r223; + PyObject *cpy_r_r224; + PyObject *cpy_r_r225; + PyObject *cpy_r_r226; + PyObject *cpy_r_r227; + PyObject *cpy_r_r228; + PyObject *cpy_r_r229; + PyObject *cpy_r_r230; + int32_t cpy_r_r231; + char cpy_r_r232; + PyObject *cpy_r_r233; + PyObject *cpy_r_r234; + int32_t cpy_r_r235; + char cpy_r_r236; + PyObject *cpy_r_r237; + PyObject *cpy_r_r238; + PyObject *cpy_r_r239; + PyObject *cpy_r_r240; + PyObject *cpy_r_r241; + PyObject *cpy_r_r242; + PyObject *cpy_r_r243; + PyObject *cpy_r_r244; + int32_t cpy_r_r245; + char cpy_r_r246; + PyObject *cpy_r_r247; + PyObject *cpy_r_r248; + int32_t cpy_r_r249; + char cpy_r_r250; + char cpy_r_r251; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", -1, CPyStatic__exceptions___globals); + goto CPyL88; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = (PyObject **)&CPyModule_logging; + cpy_r_r6 = (PyObject **)&CPyModule_re; + PyObject **cpy_r_r7[2] = {cpy_r_r5, cpy_r_r6}; + 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[931]; /* (('logging', 'logging', 'logging'), ('re', 're', 're')) */ + cpy_r_r12 = CPyStatic__exceptions___globals; + cpy_r_r13 = CPyStatics[171]; /* 'dank_mids\\_exceptions.py' */ + cpy_r_r14 = CPyStatics[43]; /* '' */ + 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[932]; /* ('TYPE_CHECKING', 'Final', 'List', 'Sequence', 'Union', + 'final') */ + cpy_r_r17 = CPyStatics[40]; /* 'typing' */ + cpy_r_r18 = CPyStatic__exceptions___globals; + cpy_r_r19 = CPyImport_ImportFromMany(cpy_r_r17, cpy_r_r16, cpy_r_r16, cpy_r_r18); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 3, CPyStatic__exceptions___globals); + goto CPyL88; + } + CPyModule_typing = cpy_r_r19; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r19); + cpy_r_r20 = CPyStatics[933]; /* ('ClientResponseError',) */ + cpy_r_r21 = CPyStatics[175]; /* '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); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 5, CPyStatic__exceptions___globals); + goto CPyL88; + } + CPyModule_aiohttp___client_exceptions = cpy_r_r23; + CPy_INCREF(CPyModule_aiohttp___client_exceptions); + CPy_DECREF(cpy_r_r23); + cpy_r_r24 = CPyStatics[176]; /* 'dank_mids.exceptions' */ + cpy_r_r25 = CPyModule_logging; + cpy_r_r26 = CPyStatics[46]; /* 'getLogger' */ + cpy_r_r27 = CPyObject_GetAttr(cpy_r_r25, cpy_r_r26); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 14, CPyStatic__exceptions___globals); + goto CPyL88; + } + PyObject *cpy_r_r28[1] = {cpy_r_r24}; + cpy_r_r29 = (PyObject **)&cpy_r_r28; + cpy_r_r30 = PyObject_Vectorcall(cpy_r_r27, cpy_r_r29, 1, 0); + CPy_DECREF(cpy_r_r27); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 14, CPyStatic__exceptions___globals); + goto CPyL88; + } + CPyStatic__exceptions___logger = cpy_r_r30; + CPy_INCREF(CPyStatic__exceptions___logger); + cpy_r_r31 = CPyStatic__exceptions___globals; + cpy_r_r32 = CPyStatics[60]; /* 'logger' */ + cpy_r_r33 = CPyDict_SetItem(cpy_r_r31, cpy_r_r32, cpy_r_r30); + CPy_DECREF(cpy_r_r30); + cpy_r_r34 = cpy_r_r33 >= 0; + if (unlikely(!cpy_r_r34)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 14, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r35 = CPyModule_builtins; + cpy_r_r36 = CPyStatics[177]; /* 'ValueError' */ + cpy_r_r37 = CPyObject_GetAttr(cpy_r_r35, cpy_r_r36); + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 17, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r38 = PyTuple_Pack(1, cpy_r_r37); + CPy_DECREF(cpy_r_r37); + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 17, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r39 = CPyStatics[45]; /* 'dank_mids._exceptions' */ + cpy_r_r40 = (PyObject *)CPyType__exceptions___BadResponse_template; + cpy_r_r41 = CPyType_FromTemplate(cpy_r_r40, cpy_r_r38, cpy_r_r39); + CPy_DECREF(cpy_r_r38); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 17, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r42 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r43 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r44 = PyTuple_Pack(1, cpy_r_r43); + if (unlikely(cpy_r_r44 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 17, CPyStatic__exceptions___globals); + goto CPyL89; + } + cpy_r_r45 = PyObject_SetAttr(cpy_r_r41, cpy_r_r42, cpy_r_r44); + CPy_DECREF(cpy_r_r44); + cpy_r_r46 = cpy_r_r45 >= 0; + if (unlikely(!cpy_r_r46)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 17, CPyStatic__exceptions___globals); + goto CPyL89; + } + CPyType__exceptions___BadResponse = (PyTypeObject *)cpy_r_r41; + CPy_INCREF(CPyType__exceptions___BadResponse); + cpy_r_r47 = CPyStatic__exceptions___globals; + cpy_r_r48 = CPyStatics[179]; /* 'BadResponse' */ + cpy_r_r49 = PyDict_SetItem(cpy_r_r47, cpy_r_r48, cpy_r_r41); + CPy_DECREF(cpy_r_r41); + cpy_r_r50 = cpy_r_r49 >= 0; + if (unlikely(!cpy_r_r50)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 17, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r51 = CPyModule_builtins; + cpy_r_r52 = CPyStatics[177]; /* 'ValueError' */ + cpy_r_r53 = CPyObject_GetAttr(cpy_r_r51, cpy_r_r52); + if (unlikely(cpy_r_r53 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 26, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r54 = PyTuple_Pack(1, cpy_r_r53); + CPy_DECREF(cpy_r_r53); + if (unlikely(cpy_r_r54 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 26, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r55 = CPyStatics[45]; /* 'dank_mids._exceptions' */ + cpy_r_r56 = (PyObject *)CPyType__exceptions___EmptyBatch_template; + cpy_r_r57 = CPyType_FromTemplate(cpy_r_r56, cpy_r_r54, cpy_r_r55); + CPy_DECREF(cpy_r_r54); + if (unlikely(cpy_r_r57 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 26, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r58 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r59 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r60 = PyTuple_Pack(1, cpy_r_r59); + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 26, CPyStatic__exceptions___globals); + goto CPyL90; + } + cpy_r_r61 = PyObject_SetAttr(cpy_r_r57, cpy_r_r58, cpy_r_r60); + CPy_DECREF(cpy_r_r60); + cpy_r_r62 = cpy_r_r61 >= 0; + if (unlikely(!cpy_r_r62)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 26, CPyStatic__exceptions___globals); + goto CPyL90; + } + CPyType__exceptions___EmptyBatch = (PyTypeObject *)cpy_r_r57; + CPy_INCREF(CPyType__exceptions___EmptyBatch); + cpy_r_r63 = CPyStatic__exceptions___globals; + cpy_r_r64 = CPyStatics[180]; /* 'EmptyBatch' */ + cpy_r_r65 = PyDict_SetItem(cpy_r_r63, cpy_r_r64, cpy_r_r57); + CPy_DECREF(cpy_r_r57); + cpy_r_r66 = cpy_r_r65 >= 0; + if (unlikely(!cpy_r_r66)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 26, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r67 = (PyObject *)CPyType__exceptions___BadResponse; + cpy_r_r68 = PyTuple_Pack(1, cpy_r_r67); + if (unlikely(cpy_r_r68 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 31, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r69 = CPyStatics[45]; /* 'dank_mids._exceptions' */ + cpy_r_r70 = (PyObject *)CPyType__exceptions___ExecutionReverted_template; + cpy_r_r71 = CPyType_FromTemplate(cpy_r_r70, cpy_r_r68, cpy_r_r69); + CPy_DECREF(cpy_r_r68); + if (unlikely(cpy_r_r71 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 31, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r72 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r73 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r74 = PyTuple_Pack(1, cpy_r_r73); + if (unlikely(cpy_r_r74 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 31, CPyStatic__exceptions___globals); + goto CPyL91; + } + cpy_r_r75 = PyObject_SetAttr(cpy_r_r71, cpy_r_r72, cpy_r_r74); + CPy_DECREF(cpy_r_r74); + cpy_r_r76 = cpy_r_r75 >= 0; + if (unlikely(!cpy_r_r76)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 31, CPyStatic__exceptions___globals); + goto CPyL91; + } + CPyType__exceptions___ExecutionReverted = (PyTypeObject *)cpy_r_r71; + CPy_INCREF(CPyType__exceptions___ExecutionReverted); + cpy_r_r77 = CPyStatic__exceptions___globals; + cpy_r_r78 = CPyStatics[181]; /* 'ExecutionReverted' */ + cpy_r_r79 = PyDict_SetItem(cpy_r_r77, cpy_r_r78, cpy_r_r71); + CPy_DECREF(cpy_r_r71); + cpy_r_r80 = cpy_r_r79 >= 0; + if (unlikely(!cpy_r_r80)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 31, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r81 = (PyObject *)CPyType__exceptions___BadResponse; + cpy_r_r82 = PyTuple_Pack(1, cpy_r_r81); + if (unlikely(cpy_r_r82 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 43, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r83 = CPyStatics[45]; /* 'dank_mids._exceptions' */ + cpy_r_r84 = (PyObject *)CPyType__exceptions___OutOfGas_template; + cpy_r_r85 = CPyType_FromTemplate(cpy_r_r84, cpy_r_r82, cpy_r_r83); + CPy_DECREF(cpy_r_r82); + if (unlikely(cpy_r_r85 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 43, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r86 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r87 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r88 = PyTuple_Pack(1, cpy_r_r87); + if (unlikely(cpy_r_r88 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 43, CPyStatic__exceptions___globals); + goto CPyL92; + } + cpy_r_r89 = PyObject_SetAttr(cpy_r_r85, cpy_r_r86, cpy_r_r88); + CPy_DECREF(cpy_r_r88); + cpy_r_r90 = cpy_r_r89 >= 0; + if (unlikely(!cpy_r_r90)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 43, CPyStatic__exceptions___globals); + goto CPyL92; + } + CPyType__exceptions___OutOfGas = (PyTypeObject *)cpy_r_r85; + CPy_INCREF(CPyType__exceptions___OutOfGas); + cpy_r_r91 = CPyStatic__exceptions___globals; + cpy_r_r92 = CPyStatics[182]; /* 'OutOfGas' */ + cpy_r_r93 = PyDict_SetItem(cpy_r_r91, cpy_r_r92, cpy_r_r85); + CPy_DECREF(cpy_r_r85); + cpy_r_r94 = cpy_r_r93 >= 0; + if (unlikely(!cpy_r_r94)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 43, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r95 = (PyObject *)CPyType__exceptions___BadResponse; + cpy_r_r96 = PyTuple_Pack(1, cpy_r_r95); + if (unlikely(cpy_r_r96 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 48, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r97 = CPyStatics[45]; /* 'dank_mids._exceptions' */ + cpy_r_r98 = (PyObject *)CPyType__exceptions___PayloadTooLarge_template; + cpy_r_r99 = CPyType_FromTemplate(cpy_r_r98, cpy_r_r96, cpy_r_r97); + CPy_DECREF(cpy_r_r96); + if (unlikely(cpy_r_r99 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 48, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r100 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r101 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r102 = PyTuple_Pack(1, cpy_r_r101); + if (unlikely(cpy_r_r102 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 48, CPyStatic__exceptions___globals); + goto CPyL93; + } + cpy_r_r103 = PyObject_SetAttr(cpy_r_r99, cpy_r_r100, cpy_r_r102); + CPy_DECREF(cpy_r_r102); + cpy_r_r104 = cpy_r_r103 >= 0; + if (unlikely(!cpy_r_r104)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 48, CPyStatic__exceptions___globals); + goto CPyL93; + } + CPyType__exceptions___PayloadTooLarge = (PyTypeObject *)cpy_r_r99; + CPy_INCREF(CPyType__exceptions___PayloadTooLarge); + cpy_r_r105 = CPyStatic__exceptions___globals; + cpy_r_r106 = CPyStatics[183]; /* 'PayloadTooLarge' */ + cpy_r_r107 = PyDict_SetItem(cpy_r_r105, cpy_r_r106, cpy_r_r99); + CPy_DECREF(cpy_r_r99); + cpy_r_r108 = cpy_r_r107 >= 0; + if (unlikely(!cpy_r_r108)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 48, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r109 = (PyObject *)CPyType__exceptions___BadResponse; + cpy_r_r110 = PyTuple_Pack(1, cpy_r_r109); + if (unlikely(cpy_r_r110 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 53, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r111 = CPyStatics[45]; /* 'dank_mids._exceptions' */ + cpy_r_r112 = (PyObject *)CPyType__exceptions___ExceedsMaxBatchSize_template; + cpy_r_r113 = CPyType_FromTemplate(cpy_r_r112, cpy_r_r110, cpy_r_r111); + CPy_DECREF(cpy_r_r110); + if (unlikely(cpy_r_r113 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 53, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r114 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r115 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r116 = PyTuple_Pack(1, cpy_r_r115); + if (unlikely(cpy_r_r116 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 53, CPyStatic__exceptions___globals); + goto CPyL94; + } + cpy_r_r117 = PyObject_SetAttr(cpy_r_r113, cpy_r_r114, cpy_r_r116); + CPy_DECREF(cpy_r_r116); + cpy_r_r118 = cpy_r_r117 >= 0; + if (unlikely(!cpy_r_r118)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 53, CPyStatic__exceptions___globals); + goto CPyL94; + } + CPyType__exceptions___ExceedsMaxBatchSize = (PyTypeObject *)cpy_r_r113; + CPy_INCREF(CPyType__exceptions___ExceedsMaxBatchSize); + cpy_r_r119 = CPyStatic__exceptions___globals; + cpy_r_r120 = CPyStatics[184]; /* 'ExceedsMaxBatchSize' */ + cpy_r_r121 = PyDict_SetItem(cpy_r_r119, cpy_r_r120, cpy_r_r113); + CPy_DECREF(cpy_r_r113); + cpy_r_r122 = cpy_r_r121 >= 0; + if (unlikely(!cpy_r_r122)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 53, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r123 = CPyStatic__exceptions___globals; + cpy_r_r124 = CPyStatics[174]; /* 'ClientResponseError' */ + cpy_r_r125 = CPyDict_GetItem(cpy_r_r123, cpy_r_r124); + if (unlikely(cpy_r_r125 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 63, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r126 = PyTuple_Pack(1, cpy_r_r125); + CPy_DECREF(cpy_r_r125); + if (unlikely(cpy_r_r126 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 63, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r127 = CPyStatics[45]; /* 'dank_mids._exceptions' */ + cpy_r_r128 = (PyObject *)CPyType__exceptions___DankMidsClientResponseError_template; + cpy_r_r129 = CPyType_FromTemplate(cpy_r_r128, cpy_r_r126, cpy_r_r127); + CPy_DECREF(cpy_r_r126); + if (unlikely(cpy_r_r129 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 63, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r130 = CPyDef__exceptions___DankMidsClientResponseError_trait_vtable_setup(); + if (unlikely(cpy_r_r130 == 2)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", -1, CPyStatic__exceptions___globals); + goto CPyL95; + } + cpy_r_r131 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r132 = CPyStatics[185]; /* 'request' */ + cpy_r_r133 = CPyStatics[186]; /* 'args' */ + cpy_r_r134 = CPyStatics[187]; /* '_exception' */ + cpy_r_r135 = PyTuple_Pack(3, cpy_r_r132, cpy_r_r133, cpy_r_r134); + if (unlikely(cpy_r_r135 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 63, CPyStatic__exceptions___globals); + goto CPyL95; + } + cpy_r_r136 = PyObject_SetAttr(cpy_r_r129, cpy_r_r131, cpy_r_r135); + CPy_DECREF(cpy_r_r135); + cpy_r_r137 = cpy_r_r136 >= 0; + if (unlikely(!cpy_r_r137)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 63, CPyStatic__exceptions___globals); + goto CPyL95; + } + CPyType__exceptions___DankMidsClientResponseError = (PyTypeObject *)cpy_r_r129; + CPy_INCREF(CPyType__exceptions___DankMidsClientResponseError); + cpy_r_r138 = CPyStatic__exceptions___globals; + cpy_r_r139 = CPyStatics[188]; /* 'DankMidsClientResponseError' */ + cpy_r_r140 = PyDict_SetItem(cpy_r_r138, cpy_r_r139, cpy_r_r129); + CPy_DECREF(cpy_r_r129); + cpy_r_r141 = cpy_r_r140 >= 0; + if (unlikely(!cpy_r_r141)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 63, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r142 = CPyStatic__exceptions___globals; + cpy_r_r143 = CPyStatics[38]; /* 'Union' */ + cpy_r_r144 = CPyDict_GetItem(cpy_r_r142, cpy_r_r143); + if (unlikely(cpy_r_r144 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 94, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r145 = CPyModule_builtins; + cpy_r_r146 = CPyStatics[189]; /* 'AttributeError' */ + cpy_r_r147 = CPyObject_GetAttr(cpy_r_r145, cpy_r_r146); + if (unlikely(cpy_r_r147 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 95, CPyStatic__exceptions___globals); + goto CPyL96; + } + cpy_r_r148 = CPyModule_builtins; + cpy_r_r149 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r150 = CPyObject_GetAttr(cpy_r_r148, cpy_r_r149); + if (unlikely(cpy_r_r150 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 95, CPyStatic__exceptions___globals); + goto CPyL97; + } + cpy_r_r151 = CPyModule_builtins; + cpy_r_r152 = CPyStatics[190]; /* 'UnboundLocalError' */ + cpy_r_r153 = CPyObject_GetAttr(cpy_r_r151, cpy_r_r152); + if (unlikely(cpy_r_r153 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 95, CPyStatic__exceptions___globals); + goto CPyL98; + } + cpy_r_r154 = CPyModule_builtins; + cpy_r_r155 = CPyStatics[191]; /* 'NotImplementedError' */ + cpy_r_r156 = CPyObject_GetAttr(cpy_r_r154, cpy_r_r155); + if (unlikely(cpy_r_r156 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 95, CPyStatic__exceptions___globals); + goto CPyL99; + } + cpy_r_r157 = CPyModule_builtins; + cpy_r_r158 = CPyStatics[11]; /* 'RuntimeError' */ + cpy_r_r159 = CPyObject_GetAttr(cpy_r_r157, cpy_r_r158); + if (unlikely(cpy_r_r159 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 95, CPyStatic__exceptions___globals); + goto CPyL100; + } + cpy_r_r160 = CPyModule_builtins; + cpy_r_r161 = CPyStatics[192]; /* 'SyntaxError' */ + cpy_r_r162 = CPyObject_GetAttr(cpy_r_r160, cpy_r_r161); + if (unlikely(cpy_r_r162 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 95, CPyStatic__exceptions___globals); + goto CPyL101; + } + cpy_r_r163.f0 = cpy_r_r147; + cpy_r_r163.f1 = cpy_r_r150; + cpy_r_r163.f2 = cpy_r_r153; + cpy_r_r163.f3 = cpy_r_r156; + cpy_r_r163.f4 = cpy_r_r159; + cpy_r_r163.f5 = cpy_r_r162; + cpy_r_r164 = PyTuple_New(6); + if (unlikely(cpy_r_r164 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp21 = cpy_r_r163.f0; + PyTuple_SET_ITEM(cpy_r_r164, 0, __tmp21); + PyObject *__tmp22 = cpy_r_r163.f1; + PyTuple_SET_ITEM(cpy_r_r164, 1, __tmp22); + PyObject *__tmp23 = cpy_r_r163.f2; + PyTuple_SET_ITEM(cpy_r_r164, 2, __tmp23); + PyObject *__tmp24 = cpy_r_r163.f3; + PyTuple_SET_ITEM(cpy_r_r164, 3, __tmp24); + PyObject *__tmp25 = cpy_r_r163.f4; + PyTuple_SET_ITEM(cpy_r_r164, 4, __tmp25); + PyObject *__tmp26 = cpy_r_r163.f5; + PyTuple_SET_ITEM(cpy_r_r164, 5, __tmp26); + cpy_r_r165 = PyObject_GetItem(cpy_r_r144, cpy_r_r164); + CPy_DECREF(cpy_r_r144); + CPy_DECREF(cpy_r_r164); + if (unlikely(cpy_r_r165 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 94, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r166 = CPyStatic__exceptions___globals; + cpy_r_r167 = CPyStatics[193]; /* '_internal_err_types' */ + cpy_r_r168 = CPyDict_SetItem(cpy_r_r166, cpy_r_r167, cpy_r_r165); + CPy_DECREF(cpy_r_r165); + cpy_r_r169 = cpy_r_r168 >= 0; + if (unlikely(!cpy_r_r169)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 94, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r170 = CPyStatic__exceptions___globals; + cpy_r_r171 = CPyStatics[193]; /* '_internal_err_types' */ + cpy_r_r172 = CPyDict_GetItem(cpy_r_r170, cpy_r_r171); + if (unlikely(cpy_r_r172 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 97, CPyStatic__exceptions___globals); + goto CPyL88; + } + CPyStatic__exceptions___internal_err_types = cpy_r_r172; + CPy_INCREF(CPyStatic__exceptions___internal_err_types); + cpy_r_r173 = CPyStatic__exceptions___globals; + cpy_r_r174 = CPyStatics[194]; /* 'internal_err_types' */ + cpy_r_r175 = CPyDict_SetItem(cpy_r_r173, cpy_r_r174, cpy_r_r172); + CPy_DECREF(cpy_r_r172); + cpy_r_r176 = cpy_r_r175 >= 0; + if (unlikely(!cpy_r_r176)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 97, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r177 = CPyModule_builtins; + cpy_r_r178 = CPyStatics[16]; /* 'Exception' */ + cpy_r_r179 = CPyObject_GetAttr(cpy_r_r177, cpy_r_r178); + if (unlikely(cpy_r_r179 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 100, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r180 = PyTuple_Pack(1, cpy_r_r179); + CPy_DECREF(cpy_r_r179); + if (unlikely(cpy_r_r180 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 100, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r181 = CPyStatics[45]; /* 'dank_mids._exceptions' */ + cpy_r_r182 = (PyObject *)CPyType__exceptions___DankMidsInternalError_template; + cpy_r_r183 = CPyType_FromTemplate(cpy_r_r182, cpy_r_r180, cpy_r_r181); + CPy_DECREF(cpy_r_r180); + if (unlikely(cpy_r_r183 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 100, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r184 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r185 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r186 = PyTuple_Pack(1, cpy_r_r185); + if (unlikely(cpy_r_r186 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 100, CPyStatic__exceptions___globals); + goto CPyL102; + } + cpy_r_r187 = PyObject_SetAttr(cpy_r_r183, cpy_r_r184, cpy_r_r186); + CPy_DECREF(cpy_r_r186); + cpy_r_r188 = cpy_r_r187 >= 0; + if (unlikely(!cpy_r_r188)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 100, CPyStatic__exceptions___globals); + goto CPyL102; + } + CPyType__exceptions___DankMidsInternalError = (PyTypeObject *)cpy_r_r183; + CPy_INCREF(CPyType__exceptions___DankMidsInternalError); + cpy_r_r189 = CPyStatic__exceptions___globals; + cpy_r_r190 = CPyStatics[44]; /* 'DankMidsInternalError' */ + cpy_r_r191 = PyDict_SetItem(cpy_r_r189, cpy_r_r190, cpy_r_r183); + CPy_DECREF(cpy_r_r183); + cpy_r_r192 = cpy_r_r191 >= 0; + if (unlikely(!cpy_r_r192)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 100, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r193 = CPyModule_builtins; + cpy_r_r194 = CPyStatics[16]; /* 'Exception' */ + cpy_r_r195 = CPyObject_GetAttr(cpy_r_r193, cpy_r_r194); + if (unlikely(cpy_r_r195 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 116, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r196 = PyTuple_Pack(1, cpy_r_r195); + CPy_DECREF(cpy_r_r195); + if (unlikely(cpy_r_r196 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 116, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r197 = CPyStatics[45]; /* 'dank_mids._exceptions' */ + cpy_r_r198 = (PyObject *)CPyType__exceptions___BatchResponseSortError_template; + cpy_r_r199 = CPyType_FromTemplate(cpy_r_r198, cpy_r_r196, cpy_r_r197); + CPy_DECREF(cpy_r_r196); + if (unlikely(cpy_r_r199 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 116, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r200 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r201 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r202 = PyTuple_Pack(1, cpy_r_r201); + if (unlikely(cpy_r_r202 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 116, CPyStatic__exceptions___globals); + goto CPyL103; + } + cpy_r_r203 = PyObject_SetAttr(cpy_r_r199, cpy_r_r200, cpy_r_r202); + CPy_DECREF(cpy_r_r202); + cpy_r_r204 = cpy_r_r203 >= 0; + if (unlikely(!cpy_r_r204)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 116, CPyStatic__exceptions___globals); + goto CPyL103; + } + CPyType__exceptions___BatchResponseSortError = (PyTypeObject *)cpy_r_r199; + CPy_INCREF(CPyType__exceptions___BatchResponseSortError); + cpy_r_r205 = CPyStatic__exceptions___globals; + cpy_r_r206 = CPyStatics[195]; /* 'BatchResponseSortError' */ + cpy_r_r207 = PyDict_SetItem(cpy_r_r205, cpy_r_r206, cpy_r_r199); + CPy_DECREF(cpy_r_r199); + cpy_r_r208 = cpy_r_r207 >= 0; + if (unlikely(!cpy_r_r208)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 116, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r209 = (PyObject *)CPyType__exceptions___BadResponse; + cpy_r_r210 = PyTuple_Pack(1, cpy_r_r209); + if (unlikely(cpy_r_r210 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 149, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r211 = CPyStatics[45]; /* 'dank_mids._exceptions' */ + cpy_r_r212 = (PyObject *)CPyType__exceptions___RateLimitError_template; + cpy_r_r213 = CPyType_FromTemplate(cpy_r_r212, cpy_r_r210, cpy_r_r211); + CPy_DECREF(cpy_r_r210); + if (unlikely(cpy_r_r213 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 149, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r214 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r215 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r216 = PyTuple_Pack(1, cpy_r_r215); + if (unlikely(cpy_r_r216 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 149, CPyStatic__exceptions___globals); + goto CPyL104; + } + cpy_r_r217 = PyObject_SetAttr(cpy_r_r213, cpy_r_r214, cpy_r_r216); + CPy_DECREF(cpy_r_r216); + cpy_r_r218 = cpy_r_r217 >= 0; + if (unlikely(!cpy_r_r218)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 149, CPyStatic__exceptions___globals); + goto CPyL104; + } + CPyType__exceptions___RateLimitError = (PyTypeObject *)cpy_r_r213; + CPy_INCREF(CPyType__exceptions___RateLimitError); + cpy_r_r219 = CPyStatic__exceptions___globals; + cpy_r_r220 = CPyStatics[196]; /* 'RateLimitError' */ + cpy_r_r221 = PyDict_SetItem(cpy_r_r219, cpy_r_r220, cpy_r_r213); + CPy_DECREF(cpy_r_r213); + cpy_r_r222 = cpy_r_r221 >= 0; + if (unlikely(!cpy_r_r222)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 149, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r223 = (PyObject *)CPyType__exceptions___RateLimitError; + cpy_r_r224 = PyTuple_Pack(1, cpy_r_r223); + if (unlikely(cpy_r_r224 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 153, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r225 = CPyStatics[45]; /* 'dank_mids._exceptions' */ + cpy_r_r226 = (PyObject *)CPyType__exceptions___ChainstackRateLimitError_template; + cpy_r_r227 = CPyType_FromTemplate(cpy_r_r226, cpy_r_r224, cpy_r_r225); + CPy_DECREF(cpy_r_r224); + if (unlikely(cpy_r_r227 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 153, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r228 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r229 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r230 = PyTuple_Pack(1, cpy_r_r229); + if (unlikely(cpy_r_r230 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 153, CPyStatic__exceptions___globals); + goto CPyL105; + } + cpy_r_r231 = PyObject_SetAttr(cpy_r_r227, cpy_r_r228, cpy_r_r230); + CPy_DECREF(cpy_r_r230); + cpy_r_r232 = cpy_r_r231 >= 0; + if (unlikely(!cpy_r_r232)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 153, CPyStatic__exceptions___globals); + goto CPyL105; + } + CPyType__exceptions___ChainstackRateLimitError = (PyTypeObject *)cpy_r_r227; + CPy_INCREF(CPyType__exceptions___ChainstackRateLimitError); + cpy_r_r233 = CPyStatic__exceptions___globals; + cpy_r_r234 = CPyStatics[197]; /* 'ChainstackRateLimitError' */ + cpy_r_r235 = PyDict_SetItem(cpy_r_r233, cpy_r_r234, cpy_r_r227); + CPy_DECREF(cpy_r_r227); + cpy_r_r236 = cpy_r_r235 >= 0; + if (unlikely(!cpy_r_r236)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 153, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r237 = (PyObject *)CPyType__exceptions___RateLimitError; + cpy_r_r238 = PyTuple_Pack(1, cpy_r_r237); + if (unlikely(cpy_r_r238 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 172, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r239 = CPyStatics[45]; /* 'dank_mids._exceptions' */ + cpy_r_r240 = (PyObject *)CPyType__exceptions___QuiknodeRateLimitError_template; + cpy_r_r241 = CPyType_FromTemplate(cpy_r_r240, cpy_r_r238, cpy_r_r239); + CPy_DECREF(cpy_r_r238); + if (unlikely(cpy_r_r241 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 172, CPyStatic__exceptions___globals); + goto CPyL88; + } + cpy_r_r242 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r243 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r244 = PyTuple_Pack(1, cpy_r_r243); + if (unlikely(cpy_r_r244 == NULL)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 172, CPyStatic__exceptions___globals); + goto CPyL106; + } + cpy_r_r245 = PyObject_SetAttr(cpy_r_r241, cpy_r_r242, cpy_r_r244); + CPy_DECREF(cpy_r_r244); + cpy_r_r246 = cpy_r_r245 >= 0; + if (unlikely(!cpy_r_r246)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 172, CPyStatic__exceptions___globals); + goto CPyL106; + } + CPyType__exceptions___QuiknodeRateLimitError = (PyTypeObject *)cpy_r_r241; + CPy_INCREF(CPyType__exceptions___QuiknodeRateLimitError); + cpy_r_r247 = CPyStatic__exceptions___globals; + cpy_r_r248 = CPyStatics[198]; /* 'QuiknodeRateLimitError' */ + cpy_r_r249 = PyDict_SetItem(cpy_r_r247, cpy_r_r248, cpy_r_r241); + CPy_DECREF(cpy_r_r241); + cpy_r_r250 = cpy_r_r249 >= 0; + if (unlikely(!cpy_r_r250)) { + CPy_AddTraceback("dank_mids\\_exceptions.py", "", 172, CPyStatic__exceptions___globals); + goto CPyL88; + } + return 1; +CPyL88: ; + cpy_r_r251 = 2; + return cpy_r_r251; +CPyL89: ; + CPy_DecRef(cpy_r_r41); + goto CPyL88; +CPyL90: ; + CPy_DecRef(cpy_r_r57); + goto CPyL88; +CPyL91: ; + CPy_DecRef(cpy_r_r71); + goto CPyL88; +CPyL92: ; + CPy_DecRef(cpy_r_r85); + goto CPyL88; +CPyL93: ; + CPy_DecRef(cpy_r_r99); + goto CPyL88; +CPyL94: ; + CPy_DecRef(cpy_r_r113); + goto CPyL88; +CPyL95: ; + CPy_DecRef(cpy_r_r129); + goto CPyL88; +CPyL96: ; + CPy_DecRef(cpy_r_r144); + goto CPyL88; +CPyL97: ; + CPy_DecRef(cpy_r_r144); + CPy_DecRef(cpy_r_r147); + goto CPyL88; +CPyL98: ; + CPy_DecRef(cpy_r_r144); + CPy_DecRef(cpy_r_r147); + CPy_DecRef(cpy_r_r150); + goto CPyL88; +CPyL99: ; + CPy_DecRef(cpy_r_r144); + CPy_DecRef(cpy_r_r147); + CPy_DecRef(cpy_r_r150); + CPy_DecRef(cpy_r_r153); + goto CPyL88; +CPyL100: ; + CPy_DecRef(cpy_r_r144); + CPy_DecRef(cpy_r_r147); + CPy_DecRef(cpy_r_r150); + CPy_DecRef(cpy_r_r153); + CPy_DecRef(cpy_r_r156); + goto CPyL88; +CPyL101: ; + CPy_DecRef(cpy_r_r144); + CPy_DecRef(cpy_r_r147); + CPy_DecRef(cpy_r_r150); + CPy_DecRef(cpy_r_r153); + CPy_DecRef(cpy_r_r156); + CPy_DecRef(cpy_r_r159); + goto CPyL88; +CPyL102: ; + CPy_DecRef(cpy_r_r183); + goto CPyL88; +CPyL103: ; + CPy_DecRef(cpy_r_r199); + goto CPyL88; +CPyL104: ; + CPy_DecRef(cpy_r_r213); + goto CPyL88; +CPyL105: ; + CPy_DecRef(cpy_r_r227); + goto CPyL88; +CPyL106: ; + CPy_DecRef(cpy_r_r241); + goto CPyL88; +} +static PyMethodDef _loggingmodule_methods[] = { + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids____logging(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids____logging__internal, "__name__"); + CPyStatic__logging___globals = PyModule_GetDict(CPyModule_dank_mids____logging__internal); + if (unlikely(CPyStatic__logging___globals == NULL)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef__logging_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids____logging__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic__logging___getLogger); + CPyStatic__logging___getLogger = NULL; + CPyStatic__logging___CRITICAL = CPY_INT_TAG; + CPyStatic__logging___FATAL = CPY_INT_TAG; + CPyStatic__logging___ERROR = CPY_INT_TAG; + CPyStatic__logging___WARN = CPY_INT_TAG; + CPyStatic__logging___WARNING = CPY_INT_TAG; + CPyStatic__logging___INFO = CPY_INT_TAG; + CPyStatic__logging___DEBUG = CPY_INT_TAG; + CPyStatic__logging___NOTSET = CPY_INT_TAG; + return -1; +} +static struct PyModuleDef _loggingmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids._logging", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + _loggingmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids____logging(void) +{ + if (CPyModule_dank_mids____logging__internal) { + Py_INCREF(CPyModule_dank_mids____logging__internal); + return CPyModule_dank_mids____logging__internal; + } + CPyModule_dank_mids____logging__internal = PyModule_Create(&_loggingmodule); + if (unlikely(CPyModule_dank_mids____logging__internal == NULL)) + goto fail; + if (CPyExec_dank_mids____logging(CPyModule_dank_mids____logging__internal) != 0) + goto fail; + return CPyModule_dank_mids____logging__internal; + fail: + return NULL; +} + +char CPyDef__logging_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r5; + void *cpy_r_r7; + void *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + int32_t cpy_r_r24; + char cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + int32_t cpy_r_r29; + char cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + int32_t cpy_r_r34; + char cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + int32_t cpy_r_r39; + char cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + int32_t cpy_r_r44; + char cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + int32_t cpy_r_r49; + char cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + int32_t cpy_r_r54; + char cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + int32_t cpy_r_r59; + char cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + int32_t cpy_r_r64; + char cpy_r_r65; + char cpy_r_r66; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_logging.py", "", -1, CPyStatic__logging___globals); + goto CPyL16; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = (PyObject **)&CPyModule_logging; + PyObject **cpy_r_r6[1] = {cpy_r_r5}; + 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[934]; /* (('logging', 'logging', 'logging'),) */ + cpy_r_r11 = CPyStatic__logging___globals; + cpy_r_r12 = CPyStatics[199]; /* 'dank_mids\\_logging.py' */ + cpy_r_r13 = CPyStatics[43]; /* '' */ + 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[920]; /* ('Final',) */ + cpy_r_r16 = CPyStatics[40]; /* 'typing' */ + cpy_r_r17 = CPyStatic__logging___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\\_logging.py", "", 2, CPyStatic__logging___globals); + goto CPyL16; + } + CPyModule_typing = cpy_r_r18; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r18); + cpy_r_r19 = CPyModule_logging; + cpy_r_r20 = CPyStatics[46]; /* 'getLogger' */ + cpy_r_r21 = CPyObject_GetAttr(cpy_r_r19, cpy_r_r20); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\_logging.py", "", 5, CPyStatic__logging___globals); + goto CPyL16; + } + CPyStatic__logging___getLogger = cpy_r_r21; + CPy_INCREF(CPyStatic__logging___getLogger); + cpy_r_r22 = CPyStatic__logging___globals; + cpy_r_r23 = CPyStatics[46]; /* 'getLogger' */ + cpy_r_r24 = CPyDict_SetItem(cpy_r_r22, cpy_r_r23, cpy_r_r21); + CPy_DECREF(cpy_r_r21); + cpy_r_r25 = cpy_r_r24 >= 0; + if (unlikely(!cpy_r_r25)) { + CPy_AddTraceback("dank_mids\\_logging.py", "", 5, CPyStatic__logging___globals); + goto CPyL16; + } + CPyStatic__logging___CRITICAL = 100; + cpy_r_r26 = CPyStatic__logging___globals; + cpy_r_r27 = CPyStatics[200]; /* 'CRITICAL' */ + cpy_r_r28 = CPyStatics[874]; /* 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)) { + CPy_AddTraceback("dank_mids\\_logging.py", "", 6, CPyStatic__logging___globals); + goto CPyL16; + } + CPyStatic__logging___FATAL = 100; + cpy_r_r31 = CPyStatic__logging___globals; + cpy_r_r32 = CPyStatics[201]; /* 'FATAL' */ + cpy_r_r33 = CPyStatics[874]; /* 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)) { + CPy_AddTraceback("dank_mids\\_logging.py", "", 7, CPyStatic__logging___globals); + goto CPyL16; + } + CPyStatic__logging___ERROR = 80; + cpy_r_r36 = CPyStatic__logging___globals; + cpy_r_r37 = CPyStatics[202]; /* 'ERROR' */ + cpy_r_r38 = CPyStatics[875]; /* 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)) { + CPy_AddTraceback("dank_mids\\_logging.py", "", 8, CPyStatic__logging___globals); + goto CPyL16; + } + CPyStatic__logging___WARN = 60; + cpy_r_r41 = CPyStatic__logging___globals; + cpy_r_r42 = CPyStatics[203]; /* 'WARN' */ + cpy_r_r43 = CPyStatics[876]; /* 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)) { + CPy_AddTraceback("dank_mids\\_logging.py", "", 9, CPyStatic__logging___globals); + goto CPyL16; + } + CPyStatic__logging___WARNING = 60; + cpy_r_r46 = CPyStatic__logging___globals; + cpy_r_r47 = CPyStatics[204]; /* 'WARNING' */ + cpy_r_r48 = CPyStatics[876]; /* 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)) { + CPy_AddTraceback("dank_mids\\_logging.py", "", 10, CPyStatic__logging___globals); + goto CPyL16; + } + CPyStatic__logging___INFO = 40; + cpy_r_r51 = CPyStatic__logging___globals; + cpy_r_r52 = CPyStatics[205]; /* 'INFO' */ + cpy_r_r53 = CPyStatics[877]; /* 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)) { + CPy_AddTraceback("dank_mids\\_logging.py", "", 11, CPyStatic__logging___globals); + goto CPyL16; + } + CPyStatic__logging___DEBUG = 20; + cpy_r_r56 = CPyStatic__logging___globals; + cpy_r_r57 = CPyStatics[206]; /* 'DEBUG' */ + cpy_r_r58 = CPyStatics[878]; /* 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)) { + CPy_AddTraceback("dank_mids\\_logging.py", "", 12, CPyStatic__logging___globals); + goto CPyL16; + } + CPyStatic__logging___NOTSET = 0; + cpy_r_r61 = CPyStatic__logging___globals; + cpy_r_r62 = CPyStatics[207]; /* 'NOTSET' */ + cpy_r_r63 = CPyStatics[872]; /* 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)) { + CPy_AddTraceback("dank_mids\\_logging.py", "", 13, CPyStatic__logging___globals); + goto CPyL16; + } + return 1; +CPyL16: ; + cpy_r_r66 = 2; + return cpy_r_r66; +} + +static int +_uid___UIDGenerator_init(PyObject *self, PyObject *args, PyObject *kwds) +{ + return 0; +} +PyObject *CPyDef__uid_____mypyc__UIDGenerator_setup(PyObject *cpy_r_type); +PyObject *CPyDef__uid___UIDGenerator(void); + +static PyObject * +_uid___UIDGenerator_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType__uid___UIDGenerator) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef__uid_____mypyc__UIDGenerator_setup((PyObject*)type); + if (self == NULL) + return NULL; + PyObject *ret = CPyPy__uid___UIDGenerator_____init__(self, args, kwds); + if (ret == NULL) + return NULL; + return self; +} + +static int +_uid___UIDGenerator_traverse(dank_mids____uid___UIDGeneratorObject *self, visitproc visit, void *arg) +{ + if (CPyTagged_CheckLong(self->__value)) { + Py_VISIT(CPyTagged_LongAsObject(self->__value)); + } + Py_VISIT(self->__lock); + return 0; +} + +static int +_uid___UIDGenerator_clear(dank_mids____uid___UIDGeneratorObject *self) +{ + if (CPyTagged_CheckLong(self->__value)) { + CPyTagged __tmp = self->__value; + self->__value = CPY_INT_TAG; + Py_XDECREF(CPyTagged_LongAsObject(__tmp)); + } + Py_CLEAR(self->__lock); + return 0; +} + +static void +_uid___UIDGenerator_dealloc(dank_mids____uid___UIDGeneratorObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, _uid___UIDGenerator_dealloc) + _uid___UIDGenerator_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem _uid___UIDGenerator_vtable[3]; +static bool +CPyDef__uid___UIDGenerator_trait_vtable_setup(void) +{ + CPyVTableItem _uid___UIDGenerator_vtable_scratch[] = { + (CPyVTableItem)CPyDef__uid___UIDGenerator_____init__, + (CPyVTableItem)CPyDef__uid___UIDGenerator___latest, + (CPyVTableItem)CPyDef__uid___UIDGenerator___next, + }; + memcpy(_uid___UIDGenerator_vtable, _uid___UIDGenerator_vtable_scratch, sizeof(_uid___UIDGenerator_vtable)); + return 1; +} + +static PyObject * +_uid___UIDGenerator_get__value(dank_mids____uid___UIDGeneratorObject *self, void *closure); +static int +_uid___UIDGenerator_set__value(dank_mids____uid___UIDGeneratorObject *self, PyObject *value, void *closure); +static PyObject * +_uid___UIDGenerator_get__lock(dank_mids____uid___UIDGeneratorObject *self, void *closure); +static int +_uid___UIDGenerator_set__lock(dank_mids____uid___UIDGeneratorObject *self, PyObject *value, void *closure); +static PyObject * +_uid___UIDGenerator_get_latest(dank_mids____uid___UIDGeneratorObject *self, void *closure); +static PyObject * +_uid___UIDGenerator_get_next(dank_mids____uid___UIDGeneratorObject *self, void *closure); + +static PyGetSetDef _uid___UIDGenerator_getseters[] = { + {"_value", + (getter)_uid___UIDGenerator_get__value, (setter)_uid___UIDGenerator_set__value, + NULL, NULL}, + {"_lock", + (getter)_uid___UIDGenerator_get__lock, (setter)_uid___UIDGenerator_set__lock, + NULL, NULL}, + {"latest", + (getter)_uid___UIDGenerator_get_latest, + NULL, NULL, NULL}, + {"next", + (getter)_uid___UIDGenerator_get_next, + NULL, NULL, NULL}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _uid___UIDGenerator_methods[] = { + {"__init__", + (PyCFunction)CPyPy__uid___UIDGenerator_____init__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__init__($self)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__uid___UIDGenerator_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "UIDGenerator", + .tp_new = _uid___UIDGenerator_new, + .tp_dealloc = (destructor)_uid___UIDGenerator_dealloc, + .tp_traverse = (traverseproc)_uid___UIDGenerator_traverse, + .tp_clear = (inquiry)_uid___UIDGenerator_clear, + .tp_getset = _uid___UIDGenerator_getseters, + .tp_methods = _uid___UIDGenerator_methods, + .tp_init = _uid___UIDGenerator_init, + .tp_basicsize = sizeof(dank_mids____uid___UIDGeneratorObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("UIDGenerator()\n--\n\n"), +}; +static PyTypeObject *CPyType__uid___UIDGenerator_template = &CPyType__uid___UIDGenerator_template_; + +PyObject *CPyDef__uid_____mypyc__UIDGenerator_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____uid___UIDGeneratorObject *self; + self = (dank_mids____uid___UIDGeneratorObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = _uid___UIDGenerator_vtable; + self->__value = CPY_INT_TAG; + return (PyObject *)self; +} + +PyObject *CPyDef__uid___UIDGenerator(void) +{ + PyObject *self = CPyDef__uid_____mypyc__UIDGenerator_setup((PyObject *)CPyType__uid___UIDGenerator); + if (self == NULL) + return NULL; + char res = CPyDef__uid___UIDGenerator_____init__(self); + if (res == 2) { + Py_DECREF(self); + return NULL; + } + return self; +} + +static PyObject * +_uid___UIDGenerator_get__value(dank_mids____uid___UIDGeneratorObject *self, void *closure) +{ + if (unlikely(self->__value == CPY_INT_TAG)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '_value' of 'UIDGenerator' undefined"); + return NULL; + } + CPyTagged_INCREF(self->__value); + PyObject *retval = CPyTagged_StealAsObject(self->__value); + return retval; +} + +static int +_uid___UIDGenerator_set__value(dank_mids____uid___UIDGeneratorObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'UIDGenerator' object attribute '_value' cannot be deleted"); + return -1; + } + if (self->__value != CPY_INT_TAG) { + CPyTagged_DECREF(self->__value); + } + CPyTagged tmp; + if (likely(PyLong_Check(value))) + tmp = CPyTagged_FromObject(value); + else { + CPy_TypeError("int", value); return -1; + } + CPyTagged_INCREF(tmp); + self->__value = tmp; + return 0; +} + +static PyObject * +_uid___UIDGenerator_get__lock(dank_mids____uid___UIDGeneratorObject *self, void *closure) +{ + if (unlikely(self->__lock == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '_lock' of 'UIDGenerator' undefined"); + return NULL; + } + CPy_INCREF(self->__lock); + PyObject *retval = self->__lock; + return retval; +} + +static int +_uid___UIDGenerator_set__lock(dank_mids____uid___UIDGeneratorObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'UIDGenerator' object attribute '_lock' cannot be deleted"); + return -1; + } + if (self->__lock != NULL) { + CPy_DECREF(self->__lock); + } + PyObject *tmp = value; + CPy_INCREF(tmp); + self->__lock = tmp; + return 0; +} + +static PyObject * +_uid___UIDGenerator_get_latest(dank_mids____uid___UIDGeneratorObject *self, void *closure) +{ + CPyTagged retval = CPyDef__uid___UIDGenerator___latest((PyObject *) self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +} + +static PyObject * +_uid___UIDGenerator_get_next(dank_mids____uid___UIDGeneratorObject *self, void *closure) +{ + CPyTagged retval = CPyDef__uid___UIDGenerator___next((PyObject *) self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +} +static PyMethodDef _uidmodule_methods[] = { + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids____uid(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids____uid__internal, "__name__"); + CPyStatic__uid___globals = PyModule_GetDict(CPyModule_dank_mids____uid__internal); + if (unlikely(CPyStatic__uid___globals == NULL)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef__uid_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids____uid__internal); + Py_CLEAR(modname); + Py_CLEAR(CPyType__uid___UIDGenerator); + return -1; +} +static struct PyModuleDef _uidmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids._uid", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + _uidmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids____uid(void) +{ + if (CPyModule_dank_mids____uid__internal) { + Py_INCREF(CPyModule_dank_mids____uid__internal); + return CPyModule_dank_mids____uid__internal; + } + CPyModule_dank_mids____uid__internal = PyModule_Create(&_uidmodule); + if (unlikely(CPyModule_dank_mids____uid__internal == NULL)) + goto fail; + if (CPyExec_dank_mids____uid(CPyModule_dank_mids____uid__internal) != 0) + goto fail; + return CPyModule_dank_mids____uid__internal; + fail: + return NULL; +} + +char CPyDef__uid___UIDGenerator_____init__(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject **cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + char cpy_r_r8; + ((dank_mids____uid___UIDGeneratorObject *)cpy_r_self)->__value = -2; + cpy_r_r0 = CPyStatics[165]; /* 'uid' */ + cpy_r_r1 = CPyStatic__uid___globals; + cpy_r_r2 = CPyStatics[208]; /* 'AlertingRLock' */ + cpy_r_r3 = CPyDict_GetItem(cpy_r_r1, cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\_uid.py", "__init__", 24, CPyStatic__uid___globals); + goto CPyL3; + } + PyObject *cpy_r_r4[1] = {cpy_r_r0}; + cpy_r_r5 = (PyObject **)&cpy_r_r4; + cpy_r_r6 = CPyStatics[905]; /* ('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)) { + CPy_AddTraceback("dank_mids\\_uid.py", "__init__", 24, CPyStatic__uid___globals); + goto CPyL3; + } + ((dank_mids____uid___UIDGeneratorObject *)cpy_r_self)->__lock = cpy_r_r7; + return 1; +CPyL3: ; + cpy_r_r8 = 2; + return cpy_r_r8; +} + +PyObject *CPyPy__uid___UIDGenerator_____init__(PyObject *self, PyObject *args, PyObject *kw) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + if (!CPyArg_ParseTupleAndKeywords(args, kw, "", "__init__", kwlist)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__uid___UIDGenerator)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._uid.UIDGenerator", obj_self); + goto fail; + } + char retval = CPyDef__uid___UIDGenerator_____init__(arg_self); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_uid.py", "__init__", 7, CPyStatic__uid___globals); + return NULL; +} + +CPyTagged CPyDef__uid___UIDGenerator___latest(PyObject *cpy_r_self) { + CPyTagged cpy_r_r0; + cpy_r_r0 = ((dank_mids____uid___UIDGeneratorObject *)cpy_r_self)->__value; + CPyTagged_INCREF(cpy_r_r0); + return cpy_r_r0; +} + +PyObject *CPyPy__uid___UIDGenerator___latest(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":latest", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__uid___UIDGenerator)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._uid.UIDGenerator", obj_self); + goto fail; + } + CPyTagged retval = CPyDef__uid___UIDGenerator___latest(arg_self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_uid.py", "latest", 27, CPyStatic__uid___globals); + return NULL; +} + +CPyTagged CPyDef__uid___UIDGenerator___next(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject **cpy_r_r7; + PyObject *cpy_r_r8; + CPyTagged cpy_r_r9; + CPyTagged cpy_r_r10; + char cpy_r_r11; + tuple_T3OOO cpy_r_r12; + tuple_T3OOO cpy_r_r13; + PyObject *cpy_r_r14; + PyObject **cpy_r_r16; + PyObject *cpy_r_r17; + char cpy_r_r18; + CPyTagged cpy_r_r19; + cpy_r_r0 = ((dank_mids____uid___UIDGeneratorObject *)cpy_r_self)->__lock; + CPy_INCREF(cpy_r_r0); + cpy_r_r1 = CPy_TYPE(cpy_r_r0); + cpy_r_r2 = CPyStatics[209]; /* '__exit__' */ + cpy_r_r3 = CPyObject_GetAttr(cpy_r_r1, cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\_uid.py", "next", 48, CPyStatic__uid___globals); + goto CPyL20; + } + cpy_r_r4 = CPyStatics[210]; /* '__enter__' */ + cpy_r_r5 = CPyObject_GetAttr(cpy_r_r1, cpy_r_r4); + CPy_DECREF(cpy_r_r1); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\_uid.py", "next", 48, CPyStatic__uid___globals); + goto CPyL21; + } + PyObject *cpy_r_r6[1] = {cpy_r_r0}; + cpy_r_r7 = (PyObject **)&cpy_r_r6; + cpy_r_r8 = PyObject_Vectorcall(cpy_r_r5, cpy_r_r7, 1, 0); + CPy_DECREF(cpy_r_r5); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_uid.py", "next", 48, CPyStatic__uid___globals); + goto CPyL21; + } else + goto CPyL22; +CPyL3: ; + cpy_r_r9 = ((dank_mids____uid___UIDGeneratorObject *)cpy_r_self)->__value; + cpy_r_r10 = CPyTagged_Add(cpy_r_r9, 2); + CPyTagged_INCREF(cpy_r_r10); + CPyTagged_DECREF(((dank_mids____uid___UIDGeneratorObject *)cpy_r_self)->__value); + ((dank_mids____uid___UIDGeneratorObject *)cpy_r_self)->__value = cpy_r_r10; + tuple_T3OOO __tmp27 = { NULL, NULL, NULL }; + cpy_r_r12 = __tmp27; + cpy_r_r13 = cpy_r_r12; + if (!1) goto CPyL23; + cpy_r_r14 = (PyObject *)&_Py_NoneStruct; + PyObject *cpy_r_r15[4] = {cpy_r_r0, cpy_r_r14, cpy_r_r14, cpy_r_r14}; + cpy_r_r16 = (PyObject **)&cpy_r_r15; + cpy_r_r17 = PyObject_Vectorcall(cpy_r_r3, cpy_r_r16, 4, 0); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\_uid.py", "next", 48, CPyStatic__uid___globals); + goto CPyL24; + } else + goto CPyL25; +CPyL8: ; + CPy_DECREF(cpy_r_r0); +CPyL9: ; + if (cpy_r_r13.f0 == NULL) { + goto CPyL12; + } else + goto CPyL26; +CPyL10: ; + CPy_Reraise(); + if (!0) { + goto CPyL14; + } else + goto CPyL27; +CPyL11: ; + CPy_Unreachable(); +CPyL12: ; + if (cpy_r_r10 == CPY_INT_TAG) goto CPyL18; + return cpy_r_r10; +CPyL14: ; + if (cpy_r_r13.f0 == NULL) goto CPyL16; + CPy_RestoreExcInfo(cpy_r_r13); + CPy_XDECREF(cpy_r_r13.f0); + CPy_XDECREF(cpy_r_r13.f1); + CPy_XDECREF(cpy_r_r13.f2); +CPyL16: ; + cpy_r_r18 = CPy_KeepPropagating(); + if (!cpy_r_r18) goto CPyL19; + CPy_Unreachable(); +CPyL18: ; + CPy_Unreachable(); +CPyL19: ; + cpy_r_r19 = CPY_INT_TAG; + return cpy_r_r19; +CPyL20: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r1); + goto CPyL19; +CPyL21: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r3); + goto CPyL19; +CPyL22: ; + CPy_DECREF(cpy_r_r8); + goto CPyL3; +CPyL23: ; + CPy_DECREF(cpy_r_r0); + CPy_DECREF(cpy_r_r3); + goto CPyL9; +CPyL24: ; + CPy_DecRef(cpy_r_r0); + CPyTagged_XDecRef(cpy_r_r10); + goto CPyL14; +CPyL25: ; + CPy_DECREF(cpy_r_r17); + goto CPyL8; +CPyL26: ; + CPyTagged_XDECREF(cpy_r_r10); + goto CPyL10; +CPyL27: ; + CPy_XDECREF(cpy_r_r13.f0); + CPy_XDECREF(cpy_r_r13.f1); + CPy_XDECREF(cpy_r_r13.f2); + goto CPyL11; +} + +PyObject *CPyPy__uid___UIDGenerator___next(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":next", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__uid___UIDGenerator)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._uid.UIDGenerator", obj_self); + goto fail; + } + CPyTagged retval = CPyDef__uid___UIDGenerator___next(arg_self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_uid.py", "next", 38, CPyStatic__uid___globals); + return NULL; +} + +char CPyDef__uid_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + char cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + int32_t cpy_r_r18; + char cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + int32_t cpy_r_r22; + char cpy_r_r23; + char cpy_r_r24; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_uid.py", "", -1, CPyStatic__uid___globals); + goto CPyL10; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[935]; /* ('AlertingRLock',) */ + cpy_r_r6 = CPyStatics[211]; /* '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); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_uid.py", "", 1, CPyStatic__uid___globals); + goto CPyL10; + } + CPyModule_dank_mids___helpers____lock = cpy_r_r8; + CPy_INCREF(CPyModule_dank_mids___helpers____lock); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = NULL; + cpy_r_r10 = CPyStatics[212]; /* 'dank_mids._uid' */ + cpy_r_r11 = (PyObject *)CPyType__uid___UIDGenerator_template; + cpy_r_r12 = CPyType_FromTemplate(cpy_r_r11, cpy_r_r9, cpy_r_r10); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\_uid.py", "", 4, CPyStatic__uid___globals); + goto CPyL10; + } + cpy_r_r13 = CPyDef__uid___UIDGenerator_trait_vtable_setup(); + if (unlikely(cpy_r_r13 == 2)) { + CPy_AddTraceback("dank_mids\\_uid.py", "", -1, CPyStatic__uid___globals); + goto CPyL11; + } + cpy_r_r14 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r15 = CPyStatics[213]; /* '_value' */ + cpy_r_r16 = CPyStatics[214]; /* '_lock' */ + cpy_r_r17 = PyTuple_Pack(2, cpy_r_r15, cpy_r_r16); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\_uid.py", "", 4, CPyStatic__uid___globals); + goto CPyL11; + } + cpy_r_r18 = PyObject_SetAttr(cpy_r_r12, cpy_r_r14, cpy_r_r17); + CPy_DECREF(cpy_r_r17); + cpy_r_r19 = cpy_r_r18 >= 0; + if (unlikely(!cpy_r_r19)) { + CPy_AddTraceback("dank_mids\\_uid.py", "", 4, CPyStatic__uid___globals); + goto CPyL11; + } + CPyType__uid___UIDGenerator = (PyTypeObject *)cpy_r_r12; + CPy_INCREF(CPyType__uid___UIDGenerator); + cpy_r_r20 = CPyStatic__uid___globals; + cpy_r_r21 = CPyStatics[215]; /* 'UIDGenerator' */ + cpy_r_r22 = PyDict_SetItem(cpy_r_r20, cpy_r_r21, cpy_r_r12); + CPy_DECREF(cpy_r_r12); + cpy_r_r23 = cpy_r_r22 >= 0; + if (unlikely(!cpy_r_r23)) { + CPy_AddTraceback("dank_mids\\_uid.py", "", 4, CPyStatic__uid___globals); + goto CPyL10; + } + return 1; +CPyL10: ; + cpy_r_r24 = 2; + return cpy_r_r24; +CPyL11: ; + CPy_DecRef(cpy_r_r12); + goto CPyL10; +} + +static PyObject *CPyDunder___get__base_____init___3__RequestBase_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef_base_____init___3__RequestBase_obj_____get__(self, instance, owner); +} +PyObject *CPyDef_base_____mypyc___3__init___3__RequestBase_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef_base_____init___3__RequestBase_obj(void); + +static PyObject * +base_____init___3__RequestBase_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_base_____init___3__RequestBase_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_base_____mypyc___3__init___3__RequestBase_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +base_____init___3__RequestBase_obj_traverse(dank_mids____requests___base_____init___3__RequestBase_objObject *self, visitproc visit, void *arg) +{ + return 0; +} + +static int +base_____init___3__RequestBase_obj_clear(dank_mids____requests___base_____init___3__RequestBase_objObject *self) +{ + return 0; +} + +static void +base_____init___3__RequestBase_obj_dealloc(dank_mids____requests___base_____init___3__RequestBase_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (base_____init___3__RequestBase_obj_free_instance == NULL) { + base_____init___3__RequestBase_obj_free_instance = self; + return; + } + CPy_TRASHCAN_BEGIN(self, base_____init___3__RequestBase_obj_dealloc) + base_____init___3__RequestBase_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem base_____init___3__RequestBase_obj_vtable[2]; +static bool +CPyDef_base_____init___3__RequestBase_obj_trait_vtable_setup(void) +{ + CPyVTableItem base_____init___3__RequestBase_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef_base_____init___3__RequestBase_obj_____call__, + (CPyVTableItem)CPyDef_base_____init___3__RequestBase_obj_____get__, + }; + memcpy(base_____init___3__RequestBase_obj_vtable, base_____init___3__RequestBase_obj_vtable_scratch, sizeof(base_____init___3__RequestBase_obj_vtable)); + return 1; +} + +static PyMethodDef base_____init___3__RequestBase_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy_base_____init___3__RequestBase_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__($self, controller, uid=None)\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy_base_____init___3__RequestBase_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_base_____init___3__RequestBase_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "__init____RequestBase_obj", + .tp_new = base_____init___3__RequestBase_obj_new, + .tp_dealloc = (destructor)base_____init___3__RequestBase_obj_dealloc, + .tp_traverse = (traverseproc)base_____init___3__RequestBase_obj_traverse, + .tp_clear = (inquiry)base_____init___3__RequestBase_obj_clear, + .tp_methods = base_____init___3__RequestBase_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get__base_____init___3__RequestBase_obj, + .tp_basicsize = sizeof(dank_mids____requests___base_____init___3__RequestBase_objObject), + .tp_vectorcall_offset = offsetof(dank_mids____requests___base_____init___3__RequestBase_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL, + .tp_doc = PyDoc_STR("__init____RequestBase_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType_base_____init___3__RequestBase_obj_template = &CPyType_base_____init___3__RequestBase_obj_template_; + +PyObject *CPyDef_base_____mypyc___3__init___3__RequestBase_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____requests___base_____init___3__RequestBase_objObject *self; + if (base_____init___3__RequestBase_obj_free_instance != NULL) { + self = base_____init___3__RequestBase_obj_free_instance; + base_____init___3__RequestBase_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids____requests___base_____init___3__RequestBase_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = base_____init___3__RequestBase_obj_vtable; + self->vectorcall = CPyPy_base_____init___3__RequestBase_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_base_____init___3__RequestBase_obj(void) +{ + PyObject *self = CPyDef_base_____mypyc___3__init___3__RequestBase_obj_setup((PyObject *)CPyType_base_____init___3__RequestBase_obj); + if (self == NULL) + return NULL; + return self; +} + + +static PyObject *CPyDunder___get__base_____await___3__RequestBase_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef_base_____await___3__RequestBase_obj_____get__(self, instance, owner); +} +PyObject *CPyDef_base_____mypyc___3__await___3__RequestBase_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef_base_____await___3__RequestBase_obj(void); + +static PyObject * +base_____await___3__RequestBase_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_base_____await___3__RequestBase_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_base_____mypyc___3__await___3__RequestBase_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +base_____await___3__RequestBase_obj_traverse(dank_mids____requests___base_____await___3__RequestBase_objObject *self, visitproc visit, void *arg) +{ + return 0; +} + +static int +base_____await___3__RequestBase_obj_clear(dank_mids____requests___base_____await___3__RequestBase_objObject *self) +{ + return 0; +} + +static void +base_____await___3__RequestBase_obj_dealloc(dank_mids____requests___base_____await___3__RequestBase_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (base_____await___3__RequestBase_obj_free_instance == NULL) { + base_____await___3__RequestBase_obj_free_instance = self; + return; + } + CPy_TRASHCAN_BEGIN(self, base_____await___3__RequestBase_obj_dealloc) + base_____await___3__RequestBase_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem base_____await___3__RequestBase_obj_vtable[2]; +static bool +CPyDef_base_____await___3__RequestBase_obj_trait_vtable_setup(void) +{ + CPyVTableItem base_____await___3__RequestBase_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef_base_____await___3__RequestBase_obj_____call__, + (CPyVTableItem)CPyDef_base_____await___3__RequestBase_obj_____get__, + }; + memcpy(base_____await___3__RequestBase_obj_vtable, base_____await___3__RequestBase_obj_vtable_scratch, sizeof(base_____await___3__RequestBase_obj_vtable)); + return 1; +} + +static PyMethodDef base_____await___3__RequestBase_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy_base_____await___3__RequestBase_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__($self)\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy_base_____await___3__RequestBase_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_base_____await___3__RequestBase_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "__await____RequestBase_obj", + .tp_new = base_____await___3__RequestBase_obj_new, + .tp_dealloc = (destructor)base_____await___3__RequestBase_obj_dealloc, + .tp_traverse = (traverseproc)base_____await___3__RequestBase_obj_traverse, + .tp_clear = (inquiry)base_____await___3__RequestBase_obj_clear, + .tp_methods = base_____await___3__RequestBase_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get__base_____await___3__RequestBase_obj, + .tp_basicsize = sizeof(dank_mids____requests___base_____await___3__RequestBase_objObject), + .tp_vectorcall_offset = offsetof(dank_mids____requests___base_____await___3__RequestBase_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL, + .tp_doc = PyDoc_STR("__await____RequestBase_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType_base_____await___3__RequestBase_obj_template = &CPyType_base_____await___3__RequestBase_obj_template_; + +PyObject *CPyDef_base_____mypyc___3__await___3__RequestBase_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____requests___base_____await___3__RequestBase_objObject *self; + if (base_____await___3__RequestBase_obj_free_instance != NULL) { + self = base_____await___3__RequestBase_obj_free_instance; + base_____await___3__RequestBase_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids____requests___base_____await___3__RequestBase_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = base_____await___3__RequestBase_obj_vtable; + self->vectorcall = CPyPy_base_____await___3__RequestBase_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_base_____await___3__RequestBase_obj(void) +{ + PyObject *self = CPyDef_base_____mypyc___3__await___3__RequestBase_obj_setup((PyObject *)CPyType_base_____await___3__RequestBase_obj); + if (self == NULL) + return NULL; + return self; +} + + +static PyObject *CPyDunder___get__base_____len___3__RequestBase_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef_base_____len___3__RequestBase_obj_____get__(self, instance, owner); +} +PyObject *CPyDef_base_____mypyc___3__len___3__RequestBase_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef_base_____len___3__RequestBase_obj(void); + +static PyObject * +base_____len___3__RequestBase_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_base_____len___3__RequestBase_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_base_____mypyc___3__len___3__RequestBase_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +base_____len___3__RequestBase_obj_traverse(dank_mids____requests___base_____len___3__RequestBase_objObject *self, visitproc visit, void *arg) +{ + return 0; +} + +static int +base_____len___3__RequestBase_obj_clear(dank_mids____requests___base_____len___3__RequestBase_objObject *self) +{ + return 0; +} + +static void +base_____len___3__RequestBase_obj_dealloc(dank_mids____requests___base_____len___3__RequestBase_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (base_____len___3__RequestBase_obj_free_instance == NULL) { + base_____len___3__RequestBase_obj_free_instance = self; + return; + } + CPy_TRASHCAN_BEGIN(self, base_____len___3__RequestBase_obj_dealloc) + base_____len___3__RequestBase_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem base_____len___3__RequestBase_obj_vtable[2]; +static bool +CPyDef_base_____len___3__RequestBase_obj_trait_vtable_setup(void) +{ + CPyVTableItem base_____len___3__RequestBase_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef_base_____len___3__RequestBase_obj_____call__, + (CPyVTableItem)CPyDef_base_____len___3__RequestBase_obj_____get__, + }; + memcpy(base_____len___3__RequestBase_obj_vtable, base_____len___3__RequestBase_obj_vtable_scratch, sizeof(base_____len___3__RequestBase_obj_vtable)); + return 1; +} + +static PyMethodDef base_____len___3__RequestBase_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy_base_____len___3__RequestBase_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__($self, /)\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy_base_____len___3__RequestBase_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_base_____len___3__RequestBase_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "__len____RequestBase_obj", + .tp_new = base_____len___3__RequestBase_obj_new, + .tp_dealloc = (destructor)base_____len___3__RequestBase_obj_dealloc, + .tp_traverse = (traverseproc)base_____len___3__RequestBase_obj_traverse, + .tp_clear = (inquiry)base_____len___3__RequestBase_obj_clear, + .tp_methods = base_____len___3__RequestBase_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get__base_____len___3__RequestBase_obj, + .tp_basicsize = sizeof(dank_mids____requests___base_____len___3__RequestBase_objObject), + .tp_vectorcall_offset = offsetof(dank_mids____requests___base_____len___3__RequestBase_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL, + .tp_doc = PyDoc_STR("__len____RequestBase_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType_base_____len___3__RequestBase_obj_template = &CPyType_base_____len___3__RequestBase_obj_template_; + +PyObject *CPyDef_base_____mypyc___3__len___3__RequestBase_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____requests___base_____len___3__RequestBase_objObject *self; + if (base_____len___3__RequestBase_obj_free_instance != NULL) { + self = base_____len___3__RequestBase_obj_free_instance; + base_____len___3__RequestBase_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids____requests___base_____len___3__RequestBase_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = base_____len___3__RequestBase_obj_vtable; + self->vectorcall = CPyPy_base_____len___3__RequestBase_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_base_____len___3__RequestBase_obj(void) +{ + PyObject *self = CPyDef_base_____mypyc___3__len___3__RequestBase_obj_setup((PyObject *)CPyType_base_____len___3__RequestBase_obj); + if (self == NULL) + return NULL; + return self; +} + + +static PyObject *CPyDunder___get__base___get_response__RequestBase_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef_base___get_response__RequestBase_obj_____get__(self, instance, owner); +} +PyObject *CPyDef_base_____mypyc__get_response__RequestBase_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef_base___get_response__RequestBase_obj(void); + +static PyObject * +base___get_response__RequestBase_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_base___get_response__RequestBase_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_base_____mypyc__get_response__RequestBase_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +base___get_response__RequestBase_obj_traverse(dank_mids____requests___base___get_response__RequestBase_objObject *self, visitproc visit, void *arg) +{ + return 0; +} + +static int +base___get_response__RequestBase_obj_clear(dank_mids____requests___base___get_response__RequestBase_objObject *self) +{ + return 0; +} + +static void +base___get_response__RequestBase_obj_dealloc(dank_mids____requests___base___get_response__RequestBase_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (base___get_response__RequestBase_obj_free_instance == NULL) { + base___get_response__RequestBase_obj_free_instance = self; + return; + } + CPy_TRASHCAN_BEGIN(self, base___get_response__RequestBase_obj_dealloc) + base___get_response__RequestBase_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem base___get_response__RequestBase_obj_vtable[2]; +static bool +CPyDef_base___get_response__RequestBase_obj_trait_vtable_setup(void) +{ + CPyVTableItem base___get_response__RequestBase_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef_base___get_response__RequestBase_obj_____call__, + (CPyVTableItem)CPyDef_base___get_response__RequestBase_obj_____get__, + }; + memcpy(base___get_response__RequestBase_obj_vtable, base___get_response__RequestBase_obj_vtable_scratch, sizeof(base___get_response__RequestBase_obj_vtable)); + return 1; +} + +static PyMethodDef base___get_response__RequestBase_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy_base___get_response__RequestBase_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__($self)\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy_base___get_response__RequestBase_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_base___get_response__RequestBase_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "get_response__RequestBase_obj", + .tp_new = base___get_response__RequestBase_obj_new, + .tp_dealloc = (destructor)base___get_response__RequestBase_obj_dealloc, + .tp_traverse = (traverseproc)base___get_response__RequestBase_obj_traverse, + .tp_clear = (inquiry)base___get_response__RequestBase_obj_clear, + .tp_methods = base___get_response__RequestBase_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get__base___get_response__RequestBase_obj, + .tp_basicsize = sizeof(dank_mids____requests___base___get_response__RequestBase_objObject), + .tp_vectorcall_offset = offsetof(dank_mids____requests___base___get_response__RequestBase_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL, + .tp_doc = PyDoc_STR("get_response__RequestBase_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType_base___get_response__RequestBase_obj_template = &CPyType_base___get_response__RequestBase_obj_template_; + +PyObject *CPyDef_base_____mypyc__get_response__RequestBase_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____requests___base___get_response__RequestBase_objObject *self; + if (base___get_response__RequestBase_obj_free_instance != NULL) { + self = base___get_response__RequestBase_obj_free_instance; + base___get_response__RequestBase_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids____requests___base___get_response__RequestBase_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = base___get_response__RequestBase_obj_vtable; + self->vectorcall = CPyPy_base___get_response__RequestBase_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_base___get_response__RequestBase_obj(void) +{ + PyObject *self = CPyDef_base_____mypyc__get_response__RequestBase_obj_setup((PyObject *)CPyType_base___get_response__RequestBase_obj); + if (self == NULL) + return NULL; + return self; +} + + +static PyAsyncMethods base___get_response__RequestBase_gen_as_async = { + .am_await = CPyDef_base___get_response__RequestBase_gen_____await__, +}; +PyObject *CPyDef_base_____mypyc__get_response__RequestBase_gen_setup(PyObject *cpy_r_type); +PyObject *CPyDef_base___get_response__RequestBase_gen(void); + +static PyObject * +base___get_response__RequestBase_gen_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_base___get_response__RequestBase_gen) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_base_____mypyc__get_response__RequestBase_gen_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +base___get_response__RequestBase_gen_traverse(dank_mids____requests___base___get_response__RequestBase_genObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_generator_attribute__self); + return 0; +} + +static int +base___get_response__RequestBase_gen_clear(dank_mids____requests___base___get_response__RequestBase_genObject *self) +{ + Py_CLEAR(self->___mypyc_generator_attribute__self); + return 0; +} + +static void +base___get_response__RequestBase_gen_dealloc(dank_mids____requests___base___get_response__RequestBase_genObject *self) +{ + PyObject_GC_UnTrack(self); + if (base___get_response__RequestBase_gen_free_instance == NULL) { + base___get_response__RequestBase_gen_free_instance = self; + Py_CLEAR(self->___mypyc_generator_attribute__self); + self->___mypyc_next_label__ = -113; + return; + } + CPy_TRASHCAN_BEGIN(self, base___get_response__RequestBase_gen_dealloc) + base___get_response__RequestBase_gen_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem base___get_response__RequestBase_gen_vtable[7]; +static bool +CPyDef_base___get_response__RequestBase_gen_trait_vtable_setup(void) +{ + CPyVTableItem base___get_response__RequestBase_gen_vtable_scratch[] = { + (CPyVTableItem)CPyDef_base___get_response__RequestBase_gen_____mypyc_generator_helper__, + (CPyVTableItem)CPyDef_base___get_response__RequestBase_gen_____next__, + (CPyVTableItem)CPyDef_base___get_response__RequestBase_gen___send, + (CPyVTableItem)CPyDef_base___get_response__RequestBase_gen_____iter__, + (CPyVTableItem)CPyDef_base___get_response__RequestBase_gen___throw, + (CPyVTableItem)CPyDef_base___get_response__RequestBase_gen___close, + (CPyVTableItem)CPyDef_base___get_response__RequestBase_gen_____await__, + }; + memcpy(base___get_response__RequestBase_gen_vtable, base___get_response__RequestBase_gen_vtable_scratch, sizeof(base___get_response__RequestBase_gen_vtable)); + return 1; +} + +static PyMethodDef base___get_response__RequestBase_gen_methods[] = { + {"__next__", + (PyCFunction)CPyPy_base___get_response__RequestBase_gen_____next__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__next__()\n--\n\n")}, + {"send", + (PyCFunction)CPyPy_base___get_response__RequestBase_gen___send, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("send($arg)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy_base___get_response__RequestBase_gen_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__()\n--\n\n")}, + {"throw", + (PyCFunction)CPyPy_base___get_response__RequestBase_gen___throw, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"close", + (PyCFunction)CPyPy_base___get_response__RequestBase_gen___close, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("close()\n--\n\n")}, + {"__await__", + (PyCFunction)CPyPy_base___get_response__RequestBase_gen_____await__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__await__()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_base___get_response__RequestBase_gen_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "get_response__RequestBase_gen", + .tp_new = base___get_response__RequestBase_gen_new, + .tp_dealloc = (destructor)base___get_response__RequestBase_gen_dealloc, + .tp_traverse = (traverseproc)base___get_response__RequestBase_gen_traverse, + .tp_clear = (inquiry)base___get_response__RequestBase_gen_clear, + .tp_methods = base___get_response__RequestBase_gen_methods, + .tp_iter = CPyDef_base___get_response__RequestBase_gen_____iter__, + .tp_iternext = CPyDef_base___get_response__RequestBase_gen_____next__, + .tp_as_async = &base___get_response__RequestBase_gen_as_async, + .tp_basicsize = sizeof(dank_mids____requests___base___get_response__RequestBase_genObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("get_response__RequestBase_gen()\n--\n\n"), +}; +static PyTypeObject *CPyType_base___get_response__RequestBase_gen_template = &CPyType_base___get_response__RequestBase_gen_template_; + +PyObject *CPyDef_base_____mypyc__get_response__RequestBase_gen_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____requests___base___get_response__RequestBase_genObject *self; + if (base___get_response__RequestBase_gen_free_instance != NULL) { + self = base___get_response__RequestBase_gen_free_instance; + base___get_response__RequestBase_gen_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids____requests___base___get_response__RequestBase_genObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = base___get_response__RequestBase_gen_vtable; + self->___mypyc_next_label__ = -113; + return (PyObject *)self; +} + +PyObject *CPyDef_base___get_response__RequestBase_gen(void) +{ + PyObject *self = CPyDef_base_____mypyc__get_response__RequestBase_gen_setup((PyObject *)CPyType_base___get_response__RequestBase_gen); + if (self == NULL) + return NULL; + return self; +} + +static PyMethodDef basemodule_methods[] = { + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids____requests___base(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids____requests___base__internal, "__name__"); + CPyStatic_base___globals = PyModule_GetDict(CPyModule_dank_mids____requests___base__internal); + if (unlikely(CPyStatic_base___globals == NULL)) + goto fail; + CPyType_base_____init___3__RequestBase_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_base_____init___3__RequestBase_obj_template, NULL, modname); + if (unlikely(!CPyType_base_____init___3__RequestBase_obj)) + goto fail; + CPyType_base_____await___3__RequestBase_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_base_____await___3__RequestBase_obj_template, NULL, modname); + if (unlikely(!CPyType_base_____await___3__RequestBase_obj)) + goto fail; + CPyType_base_____len___3__RequestBase_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_base_____len___3__RequestBase_obj_template, NULL, modname); + if (unlikely(!CPyType_base_____len___3__RequestBase_obj)) + goto fail; + CPyType_base___get_response__RequestBase_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_base___get_response__RequestBase_obj_template, NULL, modname); + if (unlikely(!CPyType_base___get_response__RequestBase_obj)) + goto fail; + CPyType_base___get_response__RequestBase_gen = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_base___get_response__RequestBase_gen_template, NULL, modname); + if (unlikely(!CPyType_base___get_response__RequestBase_gen)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_base_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids____requests___base__internal); + Py_CLEAR(modname); + Py_CLEAR(CPyType_base____RequestBase); + Py_CLEAR(CPyType_base_____init___3__RequestBase_obj); + Py_CLEAR(CPyType_base_____await___3__RequestBase_obj); + Py_CLEAR(CPyType_base_____len___3__RequestBase_obj); + Py_CLEAR(CPyType_base___get_response__RequestBase_obj); + Py_CLEAR(CPyType_base___get_response__RequestBase_gen); + return -1; +} +static struct PyModuleDef basemodule = { + PyModuleDef_HEAD_INIT, + "dank_mids._requests.base", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + basemodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids____requests___base(void) +{ + if (CPyModule_dank_mids____requests___base__internal) { + Py_INCREF(CPyModule_dank_mids____requests___base__internal); + return CPyModule_dank_mids____requests___base__internal; + } + CPyModule_dank_mids____requests___base__internal = PyModule_Create(&basemodule); + if (unlikely(CPyModule_dank_mids____requests___base__internal == NULL)) + goto fail; + if (CPyExec_dank_mids____requests___base(CPyModule_dank_mids____requests___base__internal) != 0) + goto fail; + return CPyModule_dank_mids____requests___base__internal; + fail: + return NULL; +} + +PyObject *CPyDef_base_____init___3__RequestBase_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy_base_____init___3__RequestBase_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef_base_____init___3__RequestBase_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__get__", -1, CPyStatic_base___globals); + return NULL; +} + +char CPyDef_base_____init___3__RequestBase_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_controller, PyObject *cpy_r_uid) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + int32_t cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + CPyTagged cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + int32_t cpy_r_r14; + char cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + int32_t cpy_r_r18; + char cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject **cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + int32_t cpy_r_r29; + char cpy_r_r30; + char cpy_r_r31; + if (cpy_r_uid != NULL) goto CPyL18; + cpy_r_r0 = Py_None; + cpy_r_uid = cpy_r_r0; +CPyL2: ; + cpy_r_r1 = CPyStatics[64]; /* 'controller' */ + cpy_r_r2 = PyObject_SetAttr(cpy_r_self, cpy_r_r1, cpy_r_controller); + cpy_r_r3 = cpy_r_r2 >= 0; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__init__", 26, CPyStatic_base___globals); + goto CPyL19; + } + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = cpy_r_uid == cpy_r_r4; + if (cpy_r_r5) { + goto CPyL20; + } else + goto CPyL8; +CPyL4: ; + cpy_r_r6 = CPyStatics[216]; /* 'call_uid' */ + cpy_r_r7 = CPyObject_GetAttr(cpy_r_controller, cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__init__", 29, CPyStatic_base___globals); + goto CPyL17; + } + if (likely(Py_TYPE(cpy_r_r7) == CPyType__uid___UIDGenerator)) + cpy_r_r8 = cpy_r_r7; + else { + CPy_TypeErrorTraceback("dank_mids\\_requests\\base.py", "__init__", 29, CPyStatic_base___globals, "dank_mids._uid.UIDGenerator", cpy_r_r7); + goto CPyL17; + } + cpy_r_r9 = CPyDef__uid___UIDGenerator___next(cpy_r_r8); + CPy_DECREF_NO_IMM(cpy_r_r8); + if (unlikely(cpy_r_r9 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__init__", 29, CPyStatic_base___globals); + goto CPyL17; + } +CPyL7: ; + cpy_r_r10 = CPyTagged_StealAsObject(cpy_r_r9); + cpy_r_r11 = cpy_r_r10; + goto CPyL10; +CPyL8: ; + if (likely(cpy_r_uid != Py_None)) + cpy_r_r12 = cpy_r_uid; + else { + CPy_TypeErrorTraceback("dank_mids\\_requests\\base.py", "__init__", 29, CPyStatic_base___globals, "str", cpy_r_uid); + goto CPyL17; + } + cpy_r_r11 = cpy_r_r12; +CPyL10: ; + cpy_r_r13 = CPyStatics[165]; /* 'uid' */ + cpy_r_r14 = PyObject_SetAttr(cpy_r_self, cpy_r_r13, cpy_r_r11); + CPy_DECREF(cpy_r_r11); + cpy_r_r15 = cpy_r_r14 >= 0; + if (unlikely(!cpy_r_r15)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__init__", 29, CPyStatic_base___globals); + goto CPyL17; + } + cpy_r_r16 = CPyStatics[14]; /* '_batch' */ + cpy_r_r17 = Py_None; + cpy_r_r18 = PyObject_SetAttr(cpy_r_self, cpy_r_r16, cpy_r_r17); + cpy_r_r19 = cpy_r_r18 >= 0; + if (unlikely(!cpy_r_r19)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__init__", 32, CPyStatic_base___globals); + goto CPyL17; + } + cpy_r_r20 = CPyStatics[217]; /* '_loop' */ + cpy_r_r21 = CPyObject_GetAttr(cpy_r_controller, cpy_r_r20); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__init__", 33, CPyStatic_base___globals); + goto CPyL17; + } + cpy_r_r22 = CPyStatic_base___globals; + cpy_r_r23 = CPyStatics[218]; /* 'DebuggableFuture' */ + cpy_r_r24 = CPyDict_GetItem(cpy_r_r22, cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__init__", 33, CPyStatic_base___globals); + goto CPyL21; + } + PyObject *cpy_r_r25[2] = {cpy_r_self, cpy_r_r21}; + cpy_r_r26 = (PyObject **)&cpy_r_r25; + cpy_r_r27 = PyObject_Vectorcall(cpy_r_r24, cpy_r_r26, 2, 0); + CPy_DECREF(cpy_r_r24); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__init__", 33, CPyStatic_base___globals); + goto CPyL21; + } + CPy_DECREF(cpy_r_r21); + cpy_r_r28 = CPyStatics[219]; /* '_fut' */ + cpy_r_r29 = PyObject_SetAttr(cpy_r_self, cpy_r_r28, cpy_r_r27); + CPy_DECREF(cpy_r_r27); + cpy_r_r30 = cpy_r_r29 >= 0; + if (unlikely(!cpy_r_r30)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__init__", 33, CPyStatic_base___globals); + goto CPyL17; + } + return 1; +CPyL17: ; + cpy_r_r31 = 2; + return cpy_r_r31; +CPyL18: ; + CPy_INCREF(cpy_r_uid); + goto CPyL2; +CPyL19: ; + CPy_DecRef(cpy_r_uid); + goto CPyL17; +CPyL20: ; + CPy_DECREF(cpy_r_uid); + goto CPyL4; +CPyL21: ; + CPy_DecRef(cpy_r_r21); + goto CPyL17; +} + +PyObject *CPyPy_base_____init___3__RequestBase_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"self", "controller", "uid", 0}; + static CPyArg_Parser parser = {"OO|O:__call__", kwlist, 0}; + PyObject *obj_self; + PyObject *obj_controller; + PyObject *obj_uid = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, PyVectorcall_NARGS(nargs), kwnames, &parser, &obj_self, &obj_controller, &obj_uid)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_base____RequestBase)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._requests.base._RequestBase", obj_self); + goto fail; + } + PyObject *arg_controller = obj_controller; + PyObject *arg_uid; + if (obj_uid == NULL) { + arg_uid = NULL; + goto __LL28; + } + if (PyUnicode_Check(obj_uid)) + arg_uid = obj_uid; + else { + arg_uid = NULL; + } + if (arg_uid != NULL) goto __LL28; + if (obj_uid == Py_None) + arg_uid = obj_uid; + else { + arg_uid = NULL; + } + if (arg_uid != NULL) goto __LL28; + CPy_TypeError("str or None", obj_uid); + goto fail; +__LL28: ; + char retval = CPyDef_base_____init___3__RequestBase_obj_____call__(arg___mypyc_self__, arg_self, arg_controller, arg_uid); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__init__", 25, CPyStatic_base___globals); + return NULL; +} + +PyObject *CPyDef_base_____await___3__RequestBase_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy_base_____await___3__RequestBase_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef_base_____await___3__RequestBase_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__get__", -1, CPyStatic_base___globals); + return NULL; +} + +PyObject *CPyDef_base_____await___3__RequestBase_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject **cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + cpy_r_r0 = CPyStatics[220]; /* 'get_response' */ + PyObject *cpy_r_r1[1] = {cpy_r_self}; + cpy_r_r2 = (PyObject **)&cpy_r_r1; + cpy_r_r3 = PyObject_VectorcallMethod(cpy_r_r0, cpy_r_r2, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__await__", 36, CPyStatic_base___globals); + goto CPyL3; + } + cpy_r_r4 = CPyStatics[15]; /* '__await__' */ + PyObject *cpy_r_r5[1] = {cpy_r_r3}; + cpy_r_r6 = (PyObject **)&cpy_r_r5; + cpy_r_r7 = PyObject_VectorcallMethod(cpy_r_r4, cpy_r_r6, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__await__", 36, CPyStatic_base___globals); + goto CPyL4; + } + CPy_DECREF(cpy_r_r3); + return cpy_r_r7; +CPyL3: ; + cpy_r_r8 = NULL; + return cpy_r_r8; +CPyL4: ; + CPy_DecRef(cpy_r_r3); + goto CPyL3; +} + +PyObject *CPyPy_base_____await___3__RequestBase_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"self", 0}; + static CPyArg_Parser parser = {"O:__call__", kwlist, 0}; + PyObject *obj_self; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, PyVectorcall_NARGS(nargs), kwnames, &parser, &obj_self)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_base____RequestBase)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._requests.base._RequestBase", obj_self); + goto fail; + } + PyObject *retval = CPyDef_base_____await___3__RequestBase_obj_____call__(arg___mypyc_self__, arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__await__", 35, CPyStatic_base___globals); + return NULL; +} + +PyObject *CPyDef_base_____len___3__RequestBase_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy_base_____len___3__RequestBase_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef_base_____len___3__RequestBase_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__get__", -1, CPyStatic_base___globals); + return NULL; +} + +CPyTagged CPyDef_base_____len___3__RequestBase_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + CPyTagged cpy_r_r3; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[191]; /* 'NotImplementedError' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__len__", 41, CPyStatic_base___globals); + goto CPyL3; + } + CPy_Raise(cpy_r_r2); + CPy_DECREF(cpy_r_r2); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__len__", 41, CPyStatic_base___globals); + goto CPyL3; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r3 = CPY_INT_TAG; + return cpy_r_r3; +} + +PyObject *CPyPy_base_____len___3__RequestBase_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"self", 0}; + static CPyArg_Parser parser = {"O:__call__", kwlist, 0}; + PyObject *obj_self; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, PyVectorcall_NARGS(nargs), kwnames, &parser, &obj_self)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_base____RequestBase)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._requests.base._RequestBase", obj_self); + goto fail; + } + CPyTagged retval = CPyDef_base_____len___3__RequestBase_obj_____call__(arg___mypyc_self__, arg_self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__len__", 40, CPyStatic_base___globals); + return NULL; +} + +PyObject *CPyDef_base___get_response__RequestBase_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy_base___get_response__RequestBase_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef_base___get_response__RequestBase_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__get__", -1, CPyStatic_base___globals); + return NULL; +} + +PyObject *CPyDef_base___get_response__RequestBase_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr) { + int32_t cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + char cpy_r_r6; + char cpy_r_r7; + PyObject *cpy_r_r8; + cpy_r_r0 = ((dank_mids____requests___base___get_response__RequestBase_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__; + goto CPyL7; +CPyL1: ; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_type != cpy_r_r1; + if (!cpy_r_r2) goto CPyL4; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "get_response", 43, CPyStatic_base___globals); + goto CPyL10; + } + CPy_Unreachable(); +CPyL4: ; + cpy_r_r3 = CPyModule_builtins; + cpy_r_r4 = CPyStatics[191]; /* 'NotImplementedError' */ + cpy_r_r5 = CPyObject_GetAttr(cpy_r_r3, cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "get_response", 44, CPyStatic_base___globals); + goto CPyL10; + } + CPy_Raise(cpy_r_r5); + CPy_DECREF(cpy_r_r5); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "get_response", 44, CPyStatic_base___globals); + goto CPyL10; + } + CPy_Unreachable(); +CPyL7: ; + cpy_r_r6 = cpy_r_r0 == 0; + if (cpy_r_r6) goto CPyL1; + PyErr_SetNone(PyExc_StopIteration); + cpy_r_r7 = 0; + if (unlikely(!cpy_r_r7)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "get_response", 43, CPyStatic_base___globals); + goto CPyL10; + } + CPy_Unreachable(); +CPyL10: ; + cpy_r_r8 = NULL; + return cpy_r_r8; +} + +PyObject *CPyDef_base___get_response__RequestBase_gen_____next__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_base___get_response__RequestBase_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_r0, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_base___get_response__RequestBase_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__next__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_base___get_response__RequestBase_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._requests.base.get_response__RequestBase_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_base___get_response__RequestBase_gen_____next__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__next__", -1, CPyStatic_base___globals); + return NULL; +} + +PyObject *CPyDef_base___get_response__RequestBase_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_base___get_response__RequestBase_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_arg, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_base___get_response__RequestBase_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"arg", 0}; + static CPyArg_Parser parser = {"O:send", kwlist, 0}; + PyObject *obj_arg; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_arg)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_base___get_response__RequestBase_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._requests.base.get_response__RequestBase_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_arg = obj_arg; + PyObject *retval = CPyDef_base___get_response__RequestBase_gen___send(arg___mypyc_self__, arg_arg); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_requests\\base.py", "send", -1, CPyStatic_base___globals); + return NULL; +} + +PyObject *CPyDef_base___get_response__RequestBase_gen_____iter__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_base___get_response__RequestBase_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_base___get_response__RequestBase_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._requests.base.get_response__RequestBase_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_base___get_response__RequestBase_gen_____iter__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__iter__", -1, CPyStatic_base___globals); + return NULL; +} + +PyObject *CPyDef_base___get_response__RequestBase_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + if (cpy_r_value != NULL) goto CPyL7; + CPy_INCREF(cpy_r_r0); + cpy_r_value = cpy_r_r0; +CPyL2: ; + if (cpy_r_traceback != NULL) goto CPyL8; + CPy_INCREF(cpy_r_r0); + cpy_r_traceback = cpy_r_r0; +CPyL4: ; + cpy_r_r1 = CPyDef_base___get_response__RequestBase_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_type, cpy_r_value, cpy_r_traceback, cpy_r_r0, 0); + CPy_DECREF(cpy_r_value); + CPy_DECREF(cpy_r_traceback); + if (cpy_r_r1 == NULL) goto CPyL6; + return cpy_r_r1; +CPyL6: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +CPyL7: ; + CPy_INCREF(cpy_r_value); + goto CPyL2; +CPyL8: ; + CPy_INCREF(cpy_r_traceback); + goto CPyL4; +} + +PyObject *CPyPy_base___get_response__RequestBase_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"type", "value", "traceback", 0}; + static CPyArg_Parser parser = {"O|OO:throw", kwlist, 0}; + PyObject *obj_type; + PyObject *obj_value = NULL; + PyObject *obj_traceback = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type, &obj_value, &obj_traceback)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_base___get_response__RequestBase_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._requests.base.get_response__RequestBase_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_type = obj_type; + PyObject *arg_value; + if (obj_value == NULL) { + arg_value = NULL; + } else { + arg_value = obj_value; + } + PyObject *arg_traceback; + if (obj_traceback == NULL) { + arg_traceback = NULL; + } else { + arg_traceback = obj_traceback; + } + PyObject *retval = CPyDef_base___get_response__RequestBase_gen___throw(arg___mypyc_self__, arg_type, arg_value, arg_traceback); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_requests\\base.py", "throw", -1, CPyStatic_base___globals); + return NULL; +} + +PyObject *CPyDef_base___get_response__RequestBase_gen___close(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[17]; /* 'GeneratorExit' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = CPyDef_base___get_response__RequestBase_gen___throw(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r3, cpy_r_r4); + if (cpy_r_r5 != NULL) goto CPyL11; +CPyL3: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyModule_builtins; + cpy_r_r8 = CPyStatics[18]; /* 'StopIteration' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL12; + cpy_r_r10.f0 = cpy_r_r2; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp29 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp29); + PyObject *__tmp30 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp30); + cpy_r_r12 = CPy_ExceptionMatches(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (!cpy_r_r12) goto CPyL13; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + cpy_r_r13 = (PyObject *)&_Py_NoneStruct; + CPy_INCREF(cpy_r_r13); + return cpy_r_r13; +CPyL6: ; + CPy_Reraise(); + if (!0) goto CPyL10; + CPy_Unreachable(); +CPyL8: ; + PyErr_SetString(PyExc_RuntimeError, "generator ignored GeneratorExit"); + cpy_r_r14 = 0; + if (!cpy_r_r14) goto CPyL10; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL11: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r5); + goto CPyL8; +CPyL12: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL10; +CPyL13: ; + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL6; +} + +PyObject *CPyPy_base___get_response__RequestBase_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":close", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_base___get_response__RequestBase_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._requests.base.get_response__RequestBase_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_base___get_response__RequestBase_gen___close(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_requests\\base.py", "close", -1, CPyStatic_base___globals); + return NULL; +} + +PyObject *CPyDef_base___get_response__RequestBase_gen_____await__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_base___get_response__RequestBase_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__await__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_base___get_response__RequestBase_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._requests.base.get_response__RequestBase_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_base___get_response__RequestBase_gen_____await__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_requests\\base.py", "__await__", -1, CPyStatic_base___globals); + return NULL; +} + +PyObject *CPyDef_base___get_response__RequestBase_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + char cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = CPyDef_base___get_response__RequestBase_gen(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "get_response", 43, CPyStatic_base___globals); + goto CPyL3; + } + ((dank_mids____requests___base___get_response__RequestBase_genObject *)cpy_r_r0)->___mypyc_next_label__ = 0; + CPy_INCREF_NO_IMM(cpy_r_self); + if (((dank_mids____requests___base___get_response__RequestBase_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self != NULL) { + CPy_DECREF_NO_IMM(((dank_mids____requests___base___get_response__RequestBase_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self); + } + ((dank_mids____requests___base___get_response__RequestBase_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self = cpy_r_self; + cpy_r_r2 = 1; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "get_response", 43, CPyStatic_base___globals); + goto CPyL4; + } + return cpy_r_r0; +CPyL3: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +CPyL4: ; + CPy_DecRef(cpy_r_r0); + goto CPyL3; +} + +PyObject *CPyPy_base___get_response__RequestBase_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"self", 0}; + static CPyArg_Parser parser = {"O:__call__", kwlist, 0}; + PyObject *obj_self; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, PyVectorcall_NARGS(nargs), kwnames, &parser, &obj_self)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_base____RequestBase)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._requests.base._RequestBase", obj_self); + goto fail; + } + PyObject *retval = CPyDef_base___get_response__RequestBase_obj_____call__(arg___mypyc_self__, arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_requests\\base.py", "get_response", 43, CPyStatic_base___globals); + return NULL; +} + +char CPyDef_base_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + CPyPtr cpy_r_r19; + CPyPtr cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + int32_t cpy_r_r23; + char cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + tuple_T3OOO cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + int32_t cpy_r_r36; + char cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + char cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject **cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + int32_t cpy_r_r55; + char cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + tuple_T5OOOOO cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + int32_t cpy_r_r65; + char cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + int32_t cpy_r_r69; + char cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + int32_t cpy_r_r73; + char cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + int32_t cpy_r_r77; + char cpy_r_r78; + PyObject *cpy_r_r79; + PyObject *cpy_r_r80; + int32_t cpy_r_r81; + char cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + int32_t cpy_r_r85; + char cpy_r_r86; + PyObject *cpy_r_r87; + PyObject *cpy_r_r88; + int32_t cpy_r_r89; + char cpy_r_r90; + PyObject *cpy_r_r91; + PyObject *cpy_r_r92; + int32_t cpy_r_r93; + char cpy_r_r94; + PyObject **cpy_r_r96; + PyObject *cpy_r_r97; + PyObject *cpy_r_r98; + PyObject *cpy_r_r99; + PyObject *cpy_r_r100; + PyObject *cpy_r_r101; + PyObject **cpy_r_r103; + PyObject *cpy_r_r104; + PyObject *cpy_r_r105; + PyObject **cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + int32_t cpy_r_r111; + char cpy_r_r112; + PyObject *cpy_r_r113; + char cpy_r_r114; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", -1, CPyStatic_base___globals); + goto CPyL40; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[936]; /* ('TYPE_CHECKING', 'Any', 'Final', 'Generator', 'Generic', + 'Optional', 'Union') */ + cpy_r_r6 = CPyStatics[40]; /* 'typing' */ + cpy_r_r7 = CPyStatic_base___globals; + cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 1, CPyStatic_base___globals); + goto CPyL40; + } + CPyModule_typing = cpy_r_r8; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[937]; /* ('mypyc_attr',) */ + cpy_r_r10 = CPyStatics[223]; /* 'mypy_extensions' */ + cpy_r_r11 = CPyStatic_base___globals; + cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 3, CPyStatic_base___globals); + goto CPyL40; + } + CPyModule_mypy_extensions = cpy_r_r12; + CPy_INCREF(CPyModule_mypy_extensions); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = CPyStatics[938]; /* ('DebuggableFuture',) */ + cpy_r_r14 = CPyStatics[224]; /* 'dank_mids.helpers' */ + cpy_r_r15 = CPyStatic_base___globals; + cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 5, CPyStatic_base___globals); + goto CPyL40; + } + CPyModule_dank_mids___helpers = cpy_r_r16; + CPy_INCREF(CPyModule_dank_mids___helpers); + CPy_DECREF(cpy_r_r16); + cpy_r_r17 = CPyStatics[225]; /* '_RequestBase' */ + cpy_r_r18 = PyList_New(1); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 13, CPyStatic_base___globals); + goto CPyL40; + } + cpy_r_r19 = (CPyPtr)&((PyListObject *)cpy_r_r18)->ob_item; + cpy_r_r20 = *(CPyPtr *)cpy_r_r19; + CPy_INCREF(cpy_r_r17); + *(PyObject * *)cpy_r_r20 = cpy_r_r17; + cpy_r_r21 = CPyStatic_base___globals; + cpy_r_r22 = CPyStatics[226]; /* '__all__' */ + cpy_r_r23 = CPyDict_SetItem(cpy_r_r21, cpy_r_r22, cpy_r_r18); + CPy_DECREF_NO_IMM(cpy_r_r18); + cpy_r_r24 = cpy_r_r23 >= 0; + if (unlikely(!cpy_r_r24)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 13, CPyStatic_base___globals); + goto CPyL40; + } + cpy_r_r25 = CPyStatic_base___globals; + cpy_r_r26 = CPyStatics[38]; /* 'Union' */ + cpy_r_r27 = CPyDict_GetItem(cpy_r_r25, cpy_r_r26); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 16, CPyStatic_base___globals); + goto CPyL40; + } + cpy_r_r28 = CPyStatics[27]; /* 'Multicall' */ + cpy_r_r29 = CPyStatics[23]; /* 'JSONRPCBatch' */ + cpy_r_r30 = CPyStatics[69]; /* 'DankBatch' */ + CPy_INCREF(cpy_r_r28); + CPy_INCREF(cpy_r_r29); + CPy_INCREF(cpy_r_r30); + cpy_r_r31.f0 = cpy_r_r28; + cpy_r_r31.f1 = cpy_r_r29; + cpy_r_r31.f2 = cpy_r_r30; + cpy_r_r32 = PyTuple_New(3); + if (unlikely(cpy_r_r32 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp31 = cpy_r_r31.f0; + PyTuple_SET_ITEM(cpy_r_r32, 0, __tmp31); + PyObject *__tmp32 = cpy_r_r31.f1; + PyTuple_SET_ITEM(cpy_r_r32, 1, __tmp32); + PyObject *__tmp33 = cpy_r_r31.f2; + PyTuple_SET_ITEM(cpy_r_r32, 2, __tmp33); + cpy_r_r33 = PyObject_GetItem(cpy_r_r27, cpy_r_r32); + CPy_DECREF(cpy_r_r27); + CPy_DECREF(cpy_r_r32); + if (unlikely(cpy_r_r33 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 16, CPyStatic_base___globals); + goto CPyL40; + } + cpy_r_r34 = CPyStatic_base___globals; + cpy_r_r35 = CPyStatics[227]; /* 'Batch' */ + cpy_r_r36 = CPyDict_SetItem(cpy_r_r34, cpy_r_r35, cpy_r_r33); + CPy_DECREF(cpy_r_r33); + cpy_r_r37 = cpy_r_r36 >= 0; + if (unlikely(!cpy_r_r37)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 16, CPyStatic_base___globals); + goto CPyL40; + } + cpy_r_r38 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_r39 = (PyObject *)&PyType_Type; + cpy_r_r40 = CPy_CalculateMetaclass(cpy_r_r39, cpy_r_r38); + if (unlikely(cpy_r_r40 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 21, CPyStatic_base___globals); + goto CPyL41; + } + cpy_r_r41 = CPyStatics[228]; /* '__prepare__' */ + cpy_r_r42 = PyObject_HasAttr(cpy_r_r40, cpy_r_r41); + if (!cpy_r_r42) goto CPyL18; + cpy_r_r43 = CPyStatics[225]; /* '_RequestBase' */ + cpy_r_r44 = CPyStatics[228]; /* '__prepare__' */ + cpy_r_r45 = CPyObject_GetAttr(cpy_r_r40, cpy_r_r44); + if (unlikely(cpy_r_r45 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 21, CPyStatic_base___globals); + goto CPyL41; + } + PyObject *cpy_r_r46[2] = {cpy_r_r43, cpy_r_r38}; + cpy_r_r47 = (PyObject **)&cpy_r_r46; + cpy_r_r48 = PyObject_Vectorcall(cpy_r_r45, cpy_r_r47, 2, 0); + CPy_DECREF(cpy_r_r45); + if (unlikely(cpy_r_r48 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 21, CPyStatic_base___globals); + goto CPyL41; + } + if (likely(PyDict_Check(cpy_r_r48))) + cpy_r_r49 = cpy_r_r48; + else { + CPy_TypeErrorTraceback("dank_mids\\_requests\\base.py", "", 21, CPyStatic_base___globals, "dict", cpy_r_r48); + goto CPyL41; + } + cpy_r_r50 = cpy_r_r49; + goto CPyL20; +CPyL18: ; + cpy_r_r51 = PyDict_New(); + if (unlikely(cpy_r_r51 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 21, CPyStatic_base___globals); + goto CPyL41; + } + cpy_r_r50 = cpy_r_r51; +CPyL20: ; + cpy_r_r52 = PyDict_New(); + if (unlikely(cpy_r_r52 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 21, CPyStatic_base___globals); + goto CPyL42; + } + cpy_r_r53 = (PyObject *)&PyType_Type; + cpy_r_r54 = CPyStatics[229]; /* '__slots__' */ + cpy_r_r55 = PyDict_SetItem(cpy_r_r52, cpy_r_r54, cpy_r_r53); + cpy_r_r56 = cpy_r_r55 >= 0; + if (unlikely(!cpy_r_r56)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 23, CPyStatic_base___globals); + goto CPyL43; + } + cpy_r_r57 = CPyStatics[64]; /* 'controller' */ + cpy_r_r58 = CPyStatics[165]; /* 'uid' */ + cpy_r_r59 = CPyStatics[14]; /* '_batch' */ + cpy_r_r60 = CPyStatics[219]; /* '_fut' */ + cpy_r_r61 = CPyStatics[230]; /* '__weakref__' */ + CPy_INCREF(cpy_r_r57); + CPy_INCREF(cpy_r_r58); + CPy_INCREF(cpy_r_r59); + CPy_INCREF(cpy_r_r60); + CPy_INCREF(cpy_r_r61); + cpy_r_r62.f0 = cpy_r_r57; + cpy_r_r62.f1 = cpy_r_r58; + cpy_r_r62.f2 = cpy_r_r59; + cpy_r_r62.f3 = cpy_r_r60; + cpy_r_r62.f4 = cpy_r_r61; + cpy_r_r63 = CPyStatics[229]; /* '__slots__' */ + cpy_r_r64 = PyTuple_New(5); + if (unlikely(cpy_r_r64 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp34 = cpy_r_r62.f0; + PyTuple_SET_ITEM(cpy_r_r64, 0, __tmp34); + PyObject *__tmp35 = cpy_r_r62.f1; + PyTuple_SET_ITEM(cpy_r_r64, 1, __tmp35); + PyObject *__tmp36 = cpy_r_r62.f2; + PyTuple_SET_ITEM(cpy_r_r64, 2, __tmp36); + PyObject *__tmp37 = cpy_r_r62.f3; + PyTuple_SET_ITEM(cpy_r_r64, 3, __tmp37); + PyObject *__tmp38 = cpy_r_r62.f4; + PyTuple_SET_ITEM(cpy_r_r64, 4, __tmp38); + cpy_r_r65 = CPyDict_SetItem(cpy_r_r50, cpy_r_r63, cpy_r_r64); + CPy_DECREF(cpy_r_r64); + cpy_r_r66 = cpy_r_r65 >= 0; + if (unlikely(!cpy_r_r66)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 23, CPyStatic_base___globals); + goto CPyL43; + } + cpy_r_r67 = CPyDef_base_____init___3__RequestBase_obj(); + if (unlikely(cpy_r_r67 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 25, CPyStatic_base___globals); + goto CPyL43; + } + cpy_r_r68 = CPyStatics[144]; /* '__init__' */ + cpy_r_r69 = CPyDict_SetItem(cpy_r_r50, cpy_r_r68, cpy_r_r67); + CPy_DECREF_NO_IMM(cpy_r_r67); + cpy_r_r70 = cpy_r_r69 >= 0; + if (unlikely(!cpy_r_r70)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 25, CPyStatic_base___globals); + goto CPyL43; + } + cpy_r_r71 = CPyDef_base_____await___3__RequestBase_obj(); + if (unlikely(cpy_r_r71 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 35, CPyStatic_base___globals); + goto CPyL43; + } + cpy_r_r72 = CPyStatics[15]; /* '__await__' */ + cpy_r_r73 = CPyDict_SetItem(cpy_r_r50, cpy_r_r72, cpy_r_r71); + CPy_DECREF_NO_IMM(cpy_r_r71); + cpy_r_r74 = cpy_r_r73 >= 0; + if (unlikely(!cpy_r_r74)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 35, CPyStatic_base___globals); + goto CPyL43; + } + cpy_r_r75 = CPyDef_base_____len___3__RequestBase_obj(); + if (unlikely(cpy_r_r75 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 40, CPyStatic_base___globals); + goto CPyL43; + } + cpy_r_r76 = CPyStatics[231]; /* '__len__' */ + cpy_r_r77 = CPyDict_SetItem(cpy_r_r50, cpy_r_r76, cpy_r_r75); + CPy_DECREF_NO_IMM(cpy_r_r75); + cpy_r_r78 = cpy_r_r77 >= 0; + if (unlikely(!cpy_r_r78)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 40, CPyStatic_base___globals); + goto CPyL43; + } + cpy_r_r79 = CPyDef_base___get_response__RequestBase_obj(); + if (unlikely(cpy_r_r79 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 43, CPyStatic_base___globals); + goto CPyL43; + } + cpy_r_r80 = CPyStatics[220]; /* 'get_response' */ + cpy_r_r81 = CPyDict_SetItem(cpy_r_r50, cpy_r_r80, cpy_r_r79); + CPy_DECREF_NO_IMM(cpy_r_r79); + cpy_r_r82 = cpy_r_r81 >= 0; + if (unlikely(!cpy_r_r82)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 43, CPyStatic_base___globals); + goto CPyL43; + } + cpy_r_r83 = CPyStatics[225]; /* '_RequestBase' */ + cpy_r_r84 = CPyStatics[232]; /* '__annotations__' */ + cpy_r_r85 = CPyDict_SetItem(cpy_r_r50, cpy_r_r84, cpy_r_r52); + CPy_DECREF(cpy_r_r52); + cpy_r_r86 = cpy_r_r85 >= 0; + if (unlikely(!cpy_r_r86)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 21, CPyStatic_base___globals); + goto CPyL42; + } + cpy_r_r87 = CPyStatics[233]; /* 'mypyc filler docstring' */ + cpy_r_r88 = CPyStatics[234]; /* '__doc__' */ + cpy_r_r89 = CPyDict_SetItem(cpy_r_r50, cpy_r_r88, cpy_r_r87); + cpy_r_r90 = cpy_r_r89 >= 0; + if (unlikely(!cpy_r_r90)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 21, CPyStatic_base___globals); + goto CPyL42; + } + cpy_r_r91 = CPyStatics[235]; /* 'dank_mids._requests.base' */ + cpy_r_r92 = CPyStatics[236]; /* '__module__' */ + cpy_r_r93 = CPyDict_SetItem(cpy_r_r50, cpy_r_r92, cpy_r_r91); + cpy_r_r94 = cpy_r_r93 >= 0; + if (unlikely(!cpy_r_r94)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 21, CPyStatic_base___globals); + goto CPyL42; + } + PyObject *cpy_r_r95[3] = {cpy_r_r83, cpy_r_r38, cpy_r_r50}; + cpy_r_r96 = (PyObject **)&cpy_r_r95; + cpy_r_r97 = PyObject_Vectorcall(cpy_r_r40, cpy_r_r96, 3, 0); + if (unlikely(cpy_r_r97 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 21, CPyStatic_base___globals); + goto CPyL42; + } + CPy_DECREF(cpy_r_r38); + CPy_DECREF(cpy_r_r50); + cpy_r_r98 = CPyStatic_base___globals; + cpy_r_r99 = CPyStatics[222]; /* 'mypyc_attr' */ + cpy_r_r100 = CPyDict_GetItem(cpy_r_r98, cpy_r_r99); + if (unlikely(cpy_r_r100 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 19, CPyStatic_base___globals); + goto CPyL44; + } + cpy_r_r101 = 0 ? Py_True : Py_False; + PyObject *cpy_r_r102[1] = {cpy_r_r101}; + cpy_r_r103 = (PyObject **)&cpy_r_r102; + cpy_r_r104 = CPyStatics[939]; /* ('native_class',) */ + cpy_r_r105 = PyObject_Vectorcall(cpy_r_r100, cpy_r_r103, 0, cpy_r_r104); + CPy_DECREF(cpy_r_r100); + if (unlikely(cpy_r_r105 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 19, CPyStatic_base___globals); + goto CPyL44; + } + PyObject *cpy_r_r106[1] = {cpy_r_r97}; + cpy_r_r107 = (PyObject **)&cpy_r_r106; + cpy_r_r108 = PyObject_Vectorcall(cpy_r_r105, cpy_r_r107, 1, 0); + CPy_DECREF(cpy_r_r105); + if (unlikely(cpy_r_r108 == NULL)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 21, CPyStatic_base___globals); + goto CPyL44; + } + CPy_DECREF(cpy_r_r97); + CPyType_base____RequestBase = (PyTypeObject *)cpy_r_r108; + CPy_INCREF(CPyType_base____RequestBase); + cpy_r_r109 = CPyStatic_base___globals; + cpy_r_r110 = CPyStatics[225]; /* '_RequestBase' */ + cpy_r_r111 = PyDict_SetItem(cpy_r_r109, cpy_r_r110, cpy_r_r108); + CPy_DECREF(cpy_r_r108); + cpy_r_r112 = cpy_r_r111 >= 0; + if (unlikely(!cpy_r_r112)) { + CPy_AddTraceback("dank_mids\\_requests\\base.py", "", 21, CPyStatic_base___globals); + goto CPyL40; + } + cpy_r_r113 = (PyObject *)CPyType_base____RequestBase; + return 1; +CPyL40: ; + cpy_r_r114 = 2; + return cpy_r_r114; +CPyL41: ; + CPy_DecRef(cpy_r_r38); + goto CPyL40; +CPyL42: ; + CPy_DecRef(cpy_r_r38); + CPy_DecRef(cpy_r_r50); + goto CPyL40; +CPyL43: ; + CPy_DecRef(cpy_r_r38); + CPy_DecRef(cpy_r_r50); + CPy_DecRef(cpy_r_r52); + goto CPyL40; +CPyL44: ; + CPy_DecRef(cpy_r_r97); + goto CPyL40; +} + +static int +abi___Formatter_init(PyObject *self, PyObject *args, PyObject *kwds) +{ + return 0; +} +PyObject *CPyDef_abi_____mypyc__Formatter_setup(PyObject *cpy_r_type); +PyObject *CPyDef_abi___Formatter(PyObject *cpy_r_normalizers, PyObject *cpy_r_types); + +static PyObject * +abi___Formatter_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_abi___Formatter) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_abi_____mypyc__Formatter_setup((PyObject*)type); + if (self == NULL) + return NULL; + PyObject *ret = CPyPy_abi___Formatter_____init__(self, args, kwds); + if (ret == NULL) + return NULL; + return self; +} + +static int +abi___Formatter_traverse(dank_mids____web3___abi___FormatterObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->_normalizers); + Py_VISIT(self->_types); + return 0; +} + +static int +abi___Formatter_clear(dank_mids____web3___abi___FormatterObject *self) +{ + Py_CLEAR(self->_normalizers); + Py_CLEAR(self->_types); + return 0; +} + +static void +abi___Formatter_dealloc(dank_mids____web3___abi___FormatterObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, abi___Formatter_dealloc) + abi___Formatter_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem abi___Formatter_vtable[2]; +static bool +CPyDef_abi___Formatter_trait_vtable_setup(void) +{ + CPyVTableItem abi___Formatter_vtable_scratch[] = { + (CPyVTableItem)CPyDef_abi___Formatter_____init__, + (CPyVTableItem)CPyDef_abi___Formatter_____call__, + }; + memcpy(abi___Formatter_vtable, abi___Formatter_vtable_scratch, sizeof(abi___Formatter_vtable)); + return 1; +} + +static PyObject * +abi___Formatter_get_normalizers(dank_mids____web3___abi___FormatterObject *self, void *closure); +static int +abi___Formatter_set_normalizers(dank_mids____web3___abi___FormatterObject *self, PyObject *value, void *closure); +static PyObject * +abi___Formatter_get_types(dank_mids____web3___abi___FormatterObject *self, void *closure); +static int +abi___Formatter_set_types(dank_mids____web3___abi___FormatterObject *self, PyObject *value, void *closure); + +static PyGetSetDef abi___Formatter_getseters[] = { + {"normalizers", + (getter)abi___Formatter_get_normalizers, (setter)abi___Formatter_set_normalizers, + NULL, NULL}, + {"types", + (getter)abi___Formatter_get_types, (setter)abi___Formatter_set_types, + NULL, NULL}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef abi___Formatter_methods[] = { + {"__init__", + (PyCFunction)CPyPy_abi___Formatter_____init__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__init__($self, normalizers, types)\n--\n\n")}, + {"__call__", + (PyCFunction)CPyPy_abi___Formatter_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__($self, data)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_abi___Formatter_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "Formatter", + .tp_new = abi___Formatter_new, + .tp_dealloc = (destructor)abi___Formatter_dealloc, + .tp_traverse = (traverseproc)abi___Formatter_traverse, + .tp_clear = (inquiry)abi___Formatter_clear, + .tp_getset = abi___Formatter_getseters, + .tp_methods = abi___Formatter_methods, + .tp_call = PyVectorcall_Call, + .tp_init = abi___Formatter_init, + .tp_basicsize = sizeof(dank_mids____web3___abi___FormatterObject), + .tp_vectorcall_offset = offsetof(dank_mids____web3___abi___FormatterObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL, + .tp_doc = PyDoc_STR("Formatter(normalizers, types)\n--\n\n"), +}; +static PyTypeObject *CPyType_abi___Formatter_template = &CPyType_abi___Formatter_template_; + +PyObject *CPyDef_abi_____mypyc__Formatter_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____web3___abi___FormatterObject *self; + self = (dank_mids____web3___abi___FormatterObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = abi___Formatter_vtable; + self->vectorcall = CPyPy_abi___Formatter_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_abi___Formatter(PyObject *cpy_r_normalizers, PyObject *cpy_r_types) +{ + PyObject *self = CPyDef_abi_____mypyc__Formatter_setup((PyObject *)CPyType_abi___Formatter); + if (self == NULL) + return NULL; + char res = CPyDef_abi___Formatter_____init__(self, cpy_r_normalizers, cpy_r_types); + if (res == 2) { + Py_DECREF(self); + return NULL; + } + return self; +} + +static PyObject * +abi___Formatter_get_normalizers(dank_mids____web3___abi___FormatterObject *self, void *closure) +{ + if (unlikely(self->_normalizers == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'normalizers' of 'Formatter' undefined"); + return NULL; + } + CPy_INCREF(self->_normalizers); + PyObject *retval = self->_normalizers; + return retval; +} + +static int +abi___Formatter_set_normalizers(dank_mids____web3___abi___FormatterObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'Formatter' object attribute 'normalizers' cannot be deleted"); + return -1; + } + if (self->_normalizers != NULL) { + CPy_DECREF(self->_normalizers); + } + PyObject * tmp; + if (likely(PyTuple_Check(value))) + tmp = value; + else { + CPy_TypeError("tuple", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_normalizers = tmp; + return 0; +} + +static PyObject * +abi___Formatter_get_types(dank_mids____web3___abi___FormatterObject *self, void *closure) +{ + if (unlikely(self->_types == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'types' of 'Formatter' undefined"); + return NULL; + } + CPy_INCREF(self->_types); + PyObject *retval = self->_types; + return retval; +} + +static int +abi___Formatter_set_types(dank_mids____web3___abi___FormatterObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'Formatter' object attribute 'types' cannot be deleted"); + return -1; + } + if (self->_types != NULL) { + CPy_DECREF(self->_types); + } + PyObject * tmp; + if (likely(PyTuple_Check(value))) + tmp = value; + else { + CPy_TypeError("tuple", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_types = tmp; + return 0; +} + +static int +abi___map_to_typed_data_init(PyObject *self, PyObject *args, PyObject *kwds) +{ + return 0; +} +PyObject *CPyDef_abi_____mypyc__map_to_typed_data_setup(PyObject *cpy_r_type); +PyObject *CPyDef_abi___map_to_typed_data(PyObject *cpy_r_func); + +static PyObject * +abi___map_to_typed_data_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_abi___map_to_typed_data) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_abi_____mypyc__map_to_typed_data_setup((PyObject*)type); + if (self == NULL) + return NULL; + PyObject *ret = CPyPy_abi___map_to_typed_data_____init__(self, args, kwds); + if (ret == NULL) + return NULL; + return self; +} + +static int +abi___map_to_typed_data_traverse(dank_mids____web3___abi___map_to_typed_dataObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->_func); + return 0; +} + +static int +abi___map_to_typed_data_clear(dank_mids____web3___abi___map_to_typed_dataObject *self) +{ + Py_CLEAR(self->_func); + return 0; +} + +static void +abi___map_to_typed_data_dealloc(dank_mids____web3___abi___map_to_typed_dataObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, abi___map_to_typed_data_dealloc) + abi___map_to_typed_data_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem abi___map_to_typed_data_vtable[2]; +static bool +CPyDef_abi___map_to_typed_data_trait_vtable_setup(void) +{ + CPyVTableItem abi___map_to_typed_data_vtable_scratch[] = { + (CPyVTableItem)CPyDef_abi___map_to_typed_data_____init__, + (CPyVTableItem)CPyDef_abi___map_to_typed_data_____call__, + }; + memcpy(abi___map_to_typed_data_vtable, abi___map_to_typed_data_vtable_scratch, sizeof(abi___map_to_typed_data_vtable)); + return 1; +} + +static PyObject * +abi___map_to_typed_data_get_func(dank_mids____web3___abi___map_to_typed_dataObject *self, void *closure); +static int +abi___map_to_typed_data_set_func(dank_mids____web3___abi___map_to_typed_dataObject *self, PyObject *value, void *closure); + +static PyGetSetDef abi___map_to_typed_data_getseters[] = { + {"func", + (getter)abi___map_to_typed_data_get_func, (setter)abi___map_to_typed_data_set_func, + NULL, NULL}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef abi___map_to_typed_data_methods[] = { + {"__init__", + (PyCFunction)CPyPy_abi___map_to_typed_data_____init__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__init__($self, func)\n--\n\n")}, + {"__call__", + (PyCFunction)CPyPy_abi___map_to_typed_data_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__($self, elements)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_abi___map_to_typed_data_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "map_to_typed_data", + .tp_new = abi___map_to_typed_data_new, + .tp_dealloc = (destructor)abi___map_to_typed_data_dealloc, + .tp_traverse = (traverseproc)abi___map_to_typed_data_traverse, + .tp_clear = (inquiry)abi___map_to_typed_data_clear, + .tp_getset = abi___map_to_typed_data_getseters, + .tp_methods = abi___map_to_typed_data_methods, + .tp_call = PyVectorcall_Call, + .tp_init = abi___map_to_typed_data_init, + .tp_basicsize = sizeof(dank_mids____web3___abi___map_to_typed_dataObject), + .tp_vectorcall_offset = offsetof(dank_mids____web3___abi___map_to_typed_dataObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL, + .tp_doc = PyDoc_STR("map_to_typed_data(func)\n--\n\n"), +}; +static PyTypeObject *CPyType_abi___map_to_typed_data_template = &CPyType_abi___map_to_typed_data_template_; + +PyObject *CPyDef_abi_____mypyc__map_to_typed_data_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____web3___abi___map_to_typed_dataObject *self; + self = (dank_mids____web3___abi___map_to_typed_dataObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = abi___map_to_typed_data_vtable; + self->vectorcall = CPyPy_abi___map_to_typed_data_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_abi___map_to_typed_data(PyObject *cpy_r_func) +{ + PyObject *self = CPyDef_abi_____mypyc__map_to_typed_data_setup((PyObject *)CPyType_abi___map_to_typed_data); + if (self == NULL) + return NULL; + char res = CPyDef_abi___map_to_typed_data_____init__(self, cpy_r_func); + if (res == 2) { + Py_DECREF(self); + return NULL; + } + return self; +} + +static PyObject * +abi___map_to_typed_data_get_func(dank_mids____web3___abi___map_to_typed_dataObject *self, void *closure) +{ + if (unlikely(self->_func == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'func' of 'map_to_typed_data' undefined"); + return NULL; + } + CPy_INCREF(self->_func); + PyObject *retval = self->_func; + return retval; +} + +static int +abi___map_to_typed_data_set_func(dank_mids____web3___abi___map_to_typed_dataObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'map_to_typed_data' object attribute 'func' cannot be deleted"); + return -1; + } + if (self->_func != NULL) { + CPy_DECREF(self->_func); + } + PyObject *tmp = value; + CPy_INCREF(tmp); + self->_func = tmp; + return 0; +} + +PyObject *CPyDef_abi_____mypyc__ABITypedData_setup(PyObject *cpy_r_type); +PyObject *CPyDef_abi___ABITypedData(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); + +static PyObject * +abi___ABITypedData_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_abi___ABITypedData) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_abi_____mypyc__ABITypedData_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +abi___ABITypedData_traverse(dank_mids____web3___abi___ABITypedDataObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->_abi_type); + Py_VISIT(self->_data); + return 0; +} + +static int +abi___ABITypedData_clear(dank_mids____web3___abi___ABITypedDataObject *self) +{ + Py_CLEAR(self->_abi_type); + Py_CLEAR(self->_data); + return 0; +} + +static void +abi___ABITypedData_dealloc(dank_mids____web3___abi___ABITypedDataObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, abi___ABITypedData_dealloc) + abi___ABITypedData_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem abi___ABITypedData_vtable[1]; +static bool +CPyDef_abi___ABITypedData_trait_vtable_setup(void) +{ + CPyVTableItem abi___ABITypedData_vtable_scratch[] = { + NULL + }; + memcpy(abi___ABITypedData_vtable, abi___ABITypedData_vtable_scratch, sizeof(abi___ABITypedData_vtable)); + return 1; +} + +static PyObject * +abi___ABITypedData_get_abi_type(dank_mids____web3___abi___ABITypedDataObject *self, void *closure); +static int +abi___ABITypedData_set_abi_type(dank_mids____web3___abi___ABITypedDataObject *self, PyObject *value, void *closure); +static PyObject * +abi___ABITypedData_get_data(dank_mids____web3___abi___ABITypedDataObject *self, void *closure); +static int +abi___ABITypedData_set_data(dank_mids____web3___abi___ABITypedDataObject *self, PyObject *value, void *closure); + +static PyGetSetDef abi___ABITypedData_getseters[] = { + {"abi_type", + (getter)abi___ABITypedData_get_abi_type, (setter)abi___ABITypedData_set_abi_type, + NULL, NULL}, + {"data", + (getter)abi___ABITypedData_get_data, (setter)abi___ABITypedData_set_data, + NULL, NULL}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef abi___ABITypedData_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_abi___ABITypedData_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "ABITypedData", + .tp_new = abi___ABITypedData_new, + .tp_dealloc = (destructor)abi___ABITypedData_dealloc, + .tp_traverse = (traverseproc)abi___ABITypedData_traverse, + .tp_clear = (inquiry)abi___ABITypedData_clear, + .tp_getset = abi___ABITypedData_getseters, + .tp_methods = abi___ABITypedData_methods, + .tp_basicsize = sizeof(dank_mids____web3___abi___ABITypedDataObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("ABITypedData()\n--\n\n"), +}; +static PyTypeObject *CPyType_abi___ABITypedData_template = &CPyType_abi___ABITypedData_template_; + +PyObject *CPyDef_abi_____mypyc__ABITypedData_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____web3___abi___ABITypedDataObject *self; + self = (dank_mids____web3___abi___ABITypedDataObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = abi___ABITypedData_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef_abi___ABITypedData(PyObject *cpy_r_args, PyObject *cpy_r_kwargs) +{ + PyObject *self = CPyDef_abi_____mypyc__ABITypedData_setup((PyObject *)CPyType_abi___ABITypedData); + if (self == NULL) + return NULL; + int res = CPyType_abi___ABITypedData->tp_init(self, cpy_r_args, cpy_r_kwargs); + if (res < 0) { + Py_DECREF(self); + return NULL; + } + return self; +} + +static PyObject * +abi___ABITypedData_get_abi_type(dank_mids____web3___abi___ABITypedDataObject *self, void *closure) +{ + if (unlikely(self->_abi_type == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'abi_type' of 'ABITypedData' undefined"); + return NULL; + } + CPy_INCREF(self->_abi_type); + PyObject *retval = self->_abi_type; + return retval; +} + +static int +abi___ABITypedData_set_abi_type(dank_mids____web3___abi___ABITypedDataObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'ABITypedData' object attribute 'abi_type' cannot be deleted"); + return -1; + } + if (self->_abi_type != NULL) { + CPy_DECREF(self->_abi_type); + } + PyObject *tmp; + if (PyUnicode_Check(value)) + tmp = value; + else { + tmp = NULL; + } + if (tmp != NULL) goto __LL39; + if (value == Py_None) + tmp = value; + else { + tmp = NULL; + } + if (tmp != NULL) goto __LL39; + CPy_TypeError("str or None", value); + tmp = NULL; +__LL39: ; + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_abi_type = tmp; + return 0; +} + +static PyObject * +abi___ABITypedData_get_data(dank_mids____web3___abi___ABITypedDataObject *self, void *closure) +{ + if (unlikely(self->_data == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'data' of 'ABITypedData' undefined"); + return NULL; + } + CPy_INCREF(self->_data); + PyObject *retval = self->_data; + return retval; +} + +static int +abi___ABITypedData_set_data(dank_mids____web3___abi___ABITypedDataObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'ABITypedData' object attribute 'data' cannot be deleted"); + return -1; + } + if (self->_data != NULL) { + CPy_DECREF(self->_data); + } + PyObject *tmp = value; + CPy_INCREF(tmp); + self->_data = tmp; + return 0; +} +static PyMethodDef abimodule_methods[] = { + {"get_formatter", (PyCFunction)CPyPy_abi___get_formatter, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("get_formatter(normalizers, types)\n--\n\n") /* docstring */}, + {"get_data_tree_map", (PyCFunction)CPyPy_abi___get_data_tree_map, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("get_data_tree_map(func)\n--\n\n") /* docstring */}, + {"strip_abi_types", (PyCFunction)CPyPy_abi___strip_abi_types, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("strip_abi_types(data)\n--\n\n") /* docstring */}, + {"abi_sub_tree", (PyCFunction)CPyPy_abi___abi_sub_tree, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("abi_sub_tree(abi_type, data_value)\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids____web3___abi(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids____web3___abi__internal, "__name__"); + CPyStatic_abi___globals = PyModule_GetDict(CPyModule_dank_mids____web3___abi__internal); + if (unlikely(CPyStatic_abi___globals == NULL)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_abi_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids____web3___abi__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic_abi___Iterable); + CPyStatic_abi___Iterable = NULL; + CPy_XDECREF(CPyStatic_abi___Mapping); + CPyStatic_abi___Mapping = NULL; + CPy_XDECREF(CPyStatic_abi___parse); + CPyStatic_abi___parse = NULL; + CPy_XDECREF(CPyStatic_abi____formatters); + CPyStatic_abi____formatters = NULL; + CPy_XDECREF(CPyStatic_abi____data_tree_maps); + CPyStatic_abi____data_tree_maps = NULL; + Py_CLEAR(CPyType_abi___Formatter); + Py_CLEAR(CPyType_abi___map_to_typed_data); + Py_CLEAR(CPyType_abi___ABITypedData); + return -1; +} +static struct PyModuleDef abimodule = { + PyModuleDef_HEAD_INIT, + "dank_mids._web3.abi", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + abimodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids____web3___abi(void) +{ + if (CPyModule_dank_mids____web3___abi__internal) { + Py_INCREF(CPyModule_dank_mids____web3___abi__internal); + return CPyModule_dank_mids____web3___abi__internal; + } + CPyModule_dank_mids____web3___abi__internal = PyModule_Create(&abimodule); + if (unlikely(CPyModule_dank_mids____web3___abi__internal == NULL)) + goto fail; + if (CPyExec_dank_mids____web3___abi(CPyModule_dank_mids____web3___abi__internal) != 0) + goto fail; + return CPyModule_dank_mids____web3___abi__internal; + fail: + return NULL; +} + +char CPyDef_abi___Formatter_____init__(PyObject *cpy_r_self, PyObject *cpy_r_normalizers, PyObject *cpy_r_types) { + CPyPtr cpy_r_r0; + int64_t cpy_r_r1; + PyObject *cpy_r_r2; + CPyPtr cpy_r_r3; + int64_t cpy_r_r4; + int64_t cpy_r_r5; + char cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + int64_t cpy_r_r9; + CPyPtr cpy_r_r10; + int64_t cpy_r_r11; + PyObject *cpy_r_r12; + CPyPtr cpy_r_r13; + int64_t cpy_r_r14; + int64_t cpy_r_r15; + char cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + char cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + char cpy_r_r22; + PyObject **cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + int64_t cpy_r_r28; + char cpy_r_r29; + cpy_r_r0 = (CPyPtr)&((PyVarObject *)cpy_r_normalizers)->ob_size; + cpy_r_r1 = *(int64_t *)cpy_r_r0; + cpy_r_r2 = PyTuple_New(cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__init__", 33, CPyStatic_abi___globals); + goto CPyL21; + } + cpy_r_r3 = (CPyPtr)&((PyVarObject *)cpy_r_normalizers)->ob_size; + cpy_r_r4 = *(int64_t *)cpy_r_r3; + cpy_r_r5 = 0; +CPyL2: ; + cpy_r_r6 = cpy_r_r5 < cpy_r_r4; + if (!cpy_r_r6) goto CPyL6; + cpy_r_r7 = CPySequenceTuple_GetItemUnsafe(cpy_r_normalizers, cpy_r_r5); + cpy_r_r8 = CPyDef_abi___get_data_tree_map(cpy_r_r7); + CPy_DECREF(cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__init__", 33, CPyStatic_abi___globals); + goto CPyL22; + } + CPySequenceTuple_SetItemUnsafe(cpy_r_r2, cpy_r_r5, cpy_r_r8); + cpy_r_r9 = cpy_r_r5 + 1; + cpy_r_r5 = cpy_r_r9; + goto CPyL2; +CPyL6: ; + ((dank_mids____web3___abi___FormatterObject *)cpy_r_self)->_normalizers = cpy_r_r2; + cpy_r_r10 = (CPyPtr)&((PyVarObject *)cpy_r_types)->ob_size; + cpy_r_r11 = *(int64_t *)cpy_r_r10; + cpy_r_r12 = PyTuple_New(cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__init__", 34, CPyStatic_abi___globals); + goto CPyL21; + } + cpy_r_r13 = (CPyPtr)&((PyVarObject *)cpy_r_types)->ob_size; + cpy_r_r14 = *(int64_t *)cpy_r_r13; + cpy_r_r15 = 0; +CPyL8: ; + cpy_r_r16 = cpy_r_r15 < cpy_r_r14; + if (!cpy_r_r16) goto CPyL20; + cpy_r_r17 = CPySequenceTuple_GetItemUnsafe(cpy_r_types, cpy_r_r15); + if (PyUnicode_Check(cpy_r_r17)) + cpy_r_r18 = cpy_r_r17; + else { + cpy_r_r18 = NULL; + } + if (cpy_r_r18 != NULL) goto __LL40; + if (cpy_r_r17 == Py_None) + cpy_r_r18 = cpy_r_r17; + else { + cpy_r_r18 = NULL; + } + if (cpy_r_r18 != NULL) goto __LL40; + CPy_TypeErrorTraceback("dank_mids\\_web3\\abi.py", "__init__", 34, CPyStatic_abi___globals, "str or None", cpy_r_r17); + goto CPyL23; +__LL40: ; + cpy_r_r19 = PyUnicode_Check(cpy_r_r18); + if (!cpy_r_r19) goto CPyL24; + if (likely(cpy_r_r18 != Py_None)) + cpy_r_r20 = cpy_r_r18; + else { + CPy_TypeErrorTraceback("dank_mids\\_web3\\abi.py", "__init__", 35, CPyStatic_abi___globals, "str", cpy_r_r18); + goto CPyL23; + } + cpy_r_r21 = CPyStatic_abi___parse; + if (unlikely(cpy_r_r21 == NULL)) { + goto CPyL25; + } else + goto CPyL15; +CPyL13: ; + PyErr_SetString(PyExc_NameError, "value for final name \"parse\" was not set"); + cpy_r_r22 = 0; + if (unlikely(!cpy_r_r22)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__init__", 35, CPyStatic_abi___globals); + goto CPyL21; + } + CPy_Unreachable(); +CPyL15: ; + PyObject *cpy_r_r23[1] = {cpy_r_r20}; + cpy_r_r24 = (PyObject **)&cpy_r_r23; + cpy_r_r25 = PyObject_Vectorcall(cpy_r_r21, cpy_r_r24, 1, 0); + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__init__", 35, CPyStatic_abi___globals); + goto CPyL26; + } + CPy_DECREF(cpy_r_r20); + cpy_r_r26 = cpy_r_r25; + goto CPyL18; +CPyL17: ; + cpy_r_r27 = Py_None; + cpy_r_r26 = cpy_r_r27; +CPyL18: ; + CPySequenceTuple_SetItemUnsafe(cpy_r_r12, cpy_r_r15, cpy_r_r26); + cpy_r_r28 = cpy_r_r15 + 1; + cpy_r_r15 = cpy_r_r28; + goto CPyL8; +CPyL20: ; + ((dank_mids____web3___abi___FormatterObject *)cpy_r_self)->_types = cpy_r_r12; + return 1; +CPyL21: ; + cpy_r_r29 = 2; + return cpy_r_r29; +CPyL22: ; + CPy_DecRef(cpy_r_r2); + goto CPyL21; +CPyL23: ; + CPy_DecRef(cpy_r_r12); + goto CPyL21; +CPyL24: ; + CPy_DECREF(cpy_r_r18); + goto CPyL17; +CPyL25: ; + CPy_DecRef(cpy_r_r12); + CPy_DecRef(cpy_r_r20); + goto CPyL13; +CPyL26: ; + CPy_DecRef(cpy_r_r12); + CPy_DecRef(cpy_r_r20); + goto CPyL21; +} + +PyObject *CPyPy_abi___Formatter_____init__(PyObject *self, PyObject *args, PyObject *kw) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"normalizers", "types", 0}; + PyObject *obj_normalizers; + PyObject *obj_types; + if (!CPyArg_ParseTupleAndKeywords(args, kw, "OO", "__init__", kwlist, &obj_normalizers, &obj_types)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_abi___Formatter)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._web3.abi.Formatter", obj_self); + goto fail; + } + PyObject * arg_normalizers; + if (likely(PyTuple_Check(obj_normalizers))) + arg_normalizers = obj_normalizers; + else { + CPy_TypeError("tuple", obj_normalizers); + goto fail; + } + PyObject * arg_types; + if (likely(PyTuple_Check(obj_types))) + arg_types = obj_types; + else { + CPy_TypeError("tuple", obj_types); + goto fail; + } + char retval = CPyDef_abi___Formatter_____init__(arg_self, arg_normalizers, arg_types); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__init__", 28, CPyStatic_abi___globals); + return NULL; +} + +PyObject *CPyDef_abi___Formatter_____call__(PyObject *cpy_r_self, PyObject *cpy_r_data) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject **cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + CPyPtr cpy_r_r11; + int64_t cpy_r_r12; + int64_t cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject **cpy_r_r18; + PyObject *cpy_r_r19; + int64_t cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + cpy_r_r0 = CPyStatic_abi___globals; + cpy_r_r1 = CPyStatics[238]; /* 'abi_sub_tree' */ + cpy_r_r2 = CPyDict_GetItem(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 41, CPyStatic_abi___globals); + goto CPyL12; + } + cpy_r_r3 = ((dank_mids____web3___abi___FormatterObject *)cpy_r_self)->_types; + CPy_INCREF(cpy_r_r3); + cpy_r_r4 = CPyModule_builtins; + cpy_r_r5 = CPyStatics[239]; /* 'map' */ + cpy_r_r6 = CPyObject_GetAttr(cpy_r_r4, cpy_r_r5); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 41, CPyStatic_abi___globals); + goto CPyL13; + } + PyObject *cpy_r_r7[3] = {cpy_r_r2, cpy_r_r3, cpy_r_data}; + cpy_r_r8 = (PyObject **)&cpy_r_r7; + cpy_r_r9 = PyObject_Vectorcall(cpy_r_r6, cpy_r_r8, 3, 0); + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 41, CPyStatic_abi___globals); + goto CPyL13; + } + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r3); + cpy_r_data = cpy_r_r9; + cpy_r_r10 = ((dank_mids____web3___abi___FormatterObject *)cpy_r_self)->_normalizers; + CPy_INCREF(cpy_r_r10); + cpy_r_r11 = (CPyPtr)&((PyVarObject *)cpy_r_r10)->ob_size; + cpy_r_r12 = *(int64_t *)cpy_r_r11; + cpy_r_r13 = 0; +CPyL4: ; + cpy_r_r14 = cpy_r_r13 < cpy_r_r12; + if (!cpy_r_r14) goto CPyL14; + cpy_r_r15 = CPySequenceTuple_GetItemUnsafe(cpy_r_r10, cpy_r_r13); + if (likely(Py_TYPE(cpy_r_r15) == CPyType_abi___map_to_typed_data)) + cpy_r_r16 = cpy_r_r15; + else { + CPy_TypeErrorTraceback("dank_mids\\_web3\\abi.py", "__call__", 43, CPyStatic_abi___globals, "dank_mids._web3.abi.map_to_typed_data", cpy_r_r15); + goto CPyL15; + } + PyObject *cpy_r_r17[1] = {cpy_r_data}; + cpy_r_r18 = (PyObject **)&cpy_r_r17; + cpy_r_r19 = PyObject_Vectorcall(cpy_r_r16, cpy_r_r18, 1, 0); + CPy_DECREF_NO_IMM(cpy_r_r16); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 44, CPyStatic_abi___globals); + goto CPyL15; + } + CPy_DECREF(cpy_r_data); + cpy_r_data = cpy_r_r19; + cpy_r_r20 = cpy_r_r13 + 1; + cpy_r_r13 = cpy_r_r20; + goto CPyL4; +CPyL9: ; + cpy_r_r21 = CPyDef_abi___strip_abi_types(cpy_r_data); + CPy_DECREF(cpy_r_data); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 46, CPyStatic_abi___globals); + goto CPyL12; + } + cpy_r_r22 = PySequence_List(cpy_r_r21); + CPy_DECREF(cpy_r_r21); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 46, CPyStatic_abi___globals); + goto CPyL12; + } + return cpy_r_r22; +CPyL12: ; + cpy_r_r23 = NULL; + return cpy_r_r23; +CPyL13: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r3); + goto CPyL12; +CPyL14: ; + CPy_DECREF(cpy_r_r10); + goto CPyL9; +CPyL15: ; + CPy_DecRef(cpy_r_data); + CPy_DecRef(cpy_r_r10); + goto CPyL12; +} + +PyObject *CPyPy_abi___Formatter_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"data", 0}; + static CPyArg_Parser parser = {"O:__call__", kwlist, 0}; + PyObject *obj_data; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, PyVectorcall_NARGS(nargs), kwnames, &parser, &obj_data)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_abi___Formatter)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._web3.abi.Formatter", obj_self); + goto fail; + } + PyObject *arg_data = obj_data; + PyObject *retval = CPyDef_abi___Formatter_____call__(arg_self, arg_data); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 38, CPyStatic_abi___globals); + return NULL; +} + +PyObject *CPyDef_abi___get_formatter(PyObject *cpy_r_normalizers, PyObject *cpy_r_types) { + PyObject *cpy_r_r0; + char cpy_r_r1; + tuple_T2OO cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_mapper; + PyObject *cpy_r_r6; + char cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + char cpy_r_r10; + tuple_T2OO cpy_r_r11; + PyObject *cpy_r_r12; + int32_t cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + cpy_r_r0 = CPyStatic_abi____formatters; + if (likely(cpy_r_r0 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"_formatters\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "get_formatter", 58, CPyStatic_abi___globals); + goto CPyL13; + } + CPy_Unreachable(); +CPyL3: ; + CPy_INCREF(cpy_r_normalizers); + CPy_INCREF(cpy_r_types); + cpy_r_r2.f0 = cpy_r_normalizers; + cpy_r_r2.f1 = cpy_r_types; + cpy_r_r3 = PyTuple_New(2); + if (unlikely(cpy_r_r3 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp41 = cpy_r_r2.f0; + PyTuple_SET_ITEM(cpy_r_r3, 0, __tmp41); + PyObject *__tmp42 = cpy_r_r2.f1; + PyTuple_SET_ITEM(cpy_r_r3, 1, __tmp42); + cpy_r_r4 = CPyDict_GetWithNone(cpy_r_r0, cpy_r_r3); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "get_formatter", 58, CPyStatic_abi___globals); + goto CPyL13; + } + if (Py_TYPE(cpy_r_r4) == CPyType_abi___Formatter) + cpy_r_r5 = cpy_r_r4; + else { + cpy_r_r5 = NULL; + } + if (cpy_r_r5 != NULL) goto __LL43; + if (cpy_r_r4 == Py_None) + cpy_r_r5 = cpy_r_r4; + else { + cpy_r_r5 = NULL; + } + if (cpy_r_r5 != NULL) goto __LL43; + CPy_TypeErrorTraceback("dank_mids\\_web3\\abi.py", "get_formatter", 58, CPyStatic_abi___globals, "dank_mids._web3.abi.Formatter or None", cpy_r_r4); + goto CPyL13; +__LL43: ; + cpy_r_mapper = cpy_r_r5; + cpy_r_r6 = (PyObject *)&_Py_NoneStruct; + cpy_r_r7 = cpy_r_mapper == cpy_r_r6; + if (cpy_r_r7) { + goto CPyL14; + } else + goto CPyL11; +CPyL6: ; + cpy_r_r8 = CPyDef_abi___Formatter(cpy_r_normalizers, cpy_r_types); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "get_formatter", 60, CPyStatic_abi___globals); + goto CPyL13; + } + CPy_INCREF_NO_IMM(cpy_r_r8); + cpy_r_mapper = cpy_r_r8; + cpy_r_r9 = CPyStatic_abi____formatters; + if (unlikely(cpy_r_r9 == NULL)) { + goto CPyL15; + } else + goto CPyL10; +CPyL8: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_formatters\" was not set"); + cpy_r_r10 = 0; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "get_formatter", 60, CPyStatic_abi___globals); + goto CPyL13; + } + CPy_Unreachable(); +CPyL10: ; + CPy_INCREF(cpy_r_normalizers); + CPy_INCREF(cpy_r_types); + cpy_r_r11.f0 = cpy_r_normalizers; + cpy_r_r11.f1 = cpy_r_types; + cpy_r_r12 = PyTuple_New(2); + if (unlikely(cpy_r_r12 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp44 = cpy_r_r11.f0; + PyTuple_SET_ITEM(cpy_r_r12, 0, __tmp44); + PyObject *__tmp45 = cpy_r_r11.f1; + PyTuple_SET_ITEM(cpy_r_r12, 1, __tmp45); + cpy_r_r13 = CPyDict_SetItem(cpy_r_r9, cpy_r_r12, cpy_r_r8); + CPy_DECREF(cpy_r_r12); + CPy_DECREF_NO_IMM(cpy_r_r8); + cpy_r_r14 = cpy_r_r13 >= 0; + if (unlikely(!cpy_r_r14)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "get_formatter", 60, CPyStatic_abi___globals); + goto CPyL16; + } +CPyL11: ; + if (likely(cpy_r_mapper != Py_None)) + cpy_r_r15 = cpy_r_mapper; + else { + CPy_TypeErrorTraceback("dank_mids\\_web3\\abi.py", "get_formatter", 61, CPyStatic_abi___globals, "dank_mids._web3.abi.Formatter", cpy_r_mapper); + goto CPyL13; + } + return cpy_r_r15; +CPyL13: ; + cpy_r_r16 = NULL; + return cpy_r_r16; +CPyL14: ; + CPy_DECREF(cpy_r_mapper); + goto CPyL6; +CPyL15: ; + CPy_DecRef(cpy_r_mapper); + CPy_DecRef(cpy_r_r8); + goto CPyL8; +CPyL16: ; + CPy_DecRef(cpy_r_mapper); + goto CPyL13; +} + +PyObject *CPyPy_abi___get_formatter(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"normalizers", "types", 0}; + static CPyArg_Parser parser = {"OO:get_formatter", kwlist, 0}; + PyObject *obj_normalizers; + PyObject *obj_types; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_normalizers, &obj_types)) { + return NULL; + } + PyObject * arg_normalizers; + if (likely(PyTuple_Check(obj_normalizers))) + arg_normalizers = obj_normalizers; + else { + CPy_TypeError("tuple", obj_normalizers); + goto fail; + } + PyObject * arg_types; + if (likely(PyTuple_Check(obj_types))) + arg_types = obj_types; + else { + CPy_TypeError("tuple", obj_types); + goto fail; + } + PyObject *retval = CPyDef_abi___get_formatter(arg_normalizers, arg_types); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "get_formatter", 53, CPyStatic_abi___globals); + return NULL; +} + +PyObject *CPyDef_abi___get_data_tree_map(PyObject *cpy_r_func) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_f; + PyObject *cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + char cpy_r_r8; + int32_t cpy_r_r9; + char cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + cpy_r_r0 = CPyStatic_abi____data_tree_maps; + if (likely(cpy_r_r0 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"_data_tree_maps\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "get_data_tree_map", 70, CPyStatic_abi___globals); + goto CPyL13; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r2 = CPyDict_GetWithNone(cpy_r_r0, cpy_r_func); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "get_data_tree_map", 70, CPyStatic_abi___globals); + goto CPyL13; + } + if (Py_TYPE(cpy_r_r2) == CPyType_abi___map_to_typed_data) + cpy_r_r3 = cpy_r_r2; + else { + cpy_r_r3 = NULL; + } + if (cpy_r_r3 != NULL) goto __LL46; + if (cpy_r_r2 == Py_None) + cpy_r_r3 = cpy_r_r2; + else { + cpy_r_r3 = NULL; + } + if (cpy_r_r3 != NULL) goto __LL46; + CPy_TypeErrorTraceback("dank_mids\\_web3\\abi.py", "get_data_tree_map", 70, CPyStatic_abi___globals, "dank_mids._web3.abi.map_to_typed_data or None", cpy_r_r2); + goto CPyL13; +__LL46: ; + cpy_r_f = cpy_r_r3; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = cpy_r_f == cpy_r_r4; + if (cpy_r_r5) { + goto CPyL14; + } else + goto CPyL11; +CPyL6: ; + cpy_r_r6 = CPyDef_abi___map_to_typed_data(cpy_r_func); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "get_data_tree_map", 72, CPyStatic_abi___globals); + goto CPyL13; + } + CPy_INCREF_NO_IMM(cpy_r_r6); + cpy_r_f = cpy_r_r6; + cpy_r_r7 = CPyStatic_abi____data_tree_maps; + if (unlikely(cpy_r_r7 == NULL)) { + goto CPyL15; + } else + goto CPyL10; +CPyL8: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_data_tree_maps\" was not set"); + cpy_r_r8 = 0; + if (unlikely(!cpy_r_r8)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "get_data_tree_map", 72, CPyStatic_abi___globals); + goto CPyL13; + } + CPy_Unreachable(); +CPyL10: ; + cpy_r_r9 = CPyDict_SetItem(cpy_r_r7, cpy_r_func, cpy_r_r6); + CPy_DECREF_NO_IMM(cpy_r_r6); + cpy_r_r10 = cpy_r_r9 >= 0; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "get_data_tree_map", 72, CPyStatic_abi___globals); + goto CPyL16; + } +CPyL11: ; + if (likely(cpy_r_f != Py_None)) + cpy_r_r11 = cpy_r_f; + else { + CPy_TypeErrorTraceback("dank_mids\\_web3\\abi.py", "get_data_tree_map", 73, CPyStatic_abi___globals, "dank_mids._web3.abi.map_to_typed_data", cpy_r_f); + goto CPyL13; + } + return cpy_r_r11; +CPyL13: ; + cpy_r_r12 = NULL; + return cpy_r_r12; +CPyL14: ; + CPy_DECREF(cpy_r_f); + goto CPyL6; +CPyL15: ; + CPy_DecRef(cpy_r_f); + CPy_DecRef(cpy_r_r6); + goto CPyL8; +CPyL16: ; + CPy_DecRef(cpy_r_f); + goto CPyL13; +} + +PyObject *CPyPy_abi___get_data_tree_map(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"func", 0}; + static CPyArg_Parser parser = {"O:get_data_tree_map", kwlist, 0}; + PyObject *obj_func; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_func)) { + return NULL; + } + PyObject *arg_func = obj_func; + PyObject *retval = CPyDef_abi___get_data_tree_map(arg_func); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "get_data_tree_map", 67, CPyStatic_abi___globals); + return NULL; +} + +char CPyDef_abi___map_to_typed_data_____init__(PyObject *cpy_r_self, PyObject *cpy_r_func) { + CPy_INCREF(cpy_r_func); + ((dank_mids____web3___abi___map_to_typed_dataObject *)cpy_r_self)->_func = cpy_r_func; + return 1; +} + +PyObject *CPyPy_abi___map_to_typed_data_____init__(PyObject *self, PyObject *args, PyObject *kw) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"func", 0}; + PyObject *obj_func; + if (!CPyArg_ParseTupleAndKeywords(args, kw, "O", "__init__", kwlist, &obj_func)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_abi___map_to_typed_data)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._web3.abi.map_to_typed_data", obj_self); + goto fail; + } + PyObject *arg_func = obj_func; + char retval = CPyDef_abi___map_to_typed_data_____init__(arg_self, arg_func); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__init__", 78, CPyStatic_abi___globals); + return NULL; +} + +PyObject *CPyDef_abi___map_to_typed_data_____call__(PyObject *cpy_r_self, PyObject *cpy_r_elements) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + char cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject **cpy_r_r11; + PyObject *cpy_r_r12; + int32_t cpy_r_r13; + char cpy_r_r14; + char cpy_r_r15; + PyObject *cpy_r_r16; + char cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject **cpy_r_r22; + PyObject *cpy_r_r23; + int32_t cpy_r_r24; + char cpy_r_r25; + char cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + char cpy_r_r29; + int32_t cpy_r_r30; + char cpy_r_r31; + char cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject **cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + tuple_T2OO cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject **cpy_r_r44; + PyObject *cpy_r_r45; + tuple_T2OO cpy_r_r46; + PyObject *cpy_r_r47; + int32_t cpy_r_r48; + char cpy_r_r49; + char cpy_r_r50; + PyObject *cpy_r_r51; + PyObject **cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + tuple_T3OOO cpy_r_r60; + PyObject *cpy_r_r61; + int32_t cpy_r_r62; + char cpy_r_r63; + char cpy_r_r64; + PyObject *cpy_r_r65; + char cpy_r_r66; + int32_t cpy_r_r67; + char cpy_r_r68; + char cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + PyObject **cpy_r_r74; + PyObject *cpy_r_r75; + PyObject **cpy_r_r77; + PyObject *cpy_r_r78; + PyObject *cpy_r_r79; + CPyPtr cpy_r_r80; + PyObject *cpy_r_r81; + char cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + char cpy_r_r86; + PyObject *cpy_r_r87; + PyObject *cpy_r_r88; + PyObject *cpy_r_r89; + PyObject *cpy_r_r90; + PyObject *cpy_r_r91; + tuple_T2OO cpy_r_r92; + PyObject *cpy_r_r93; + PyObject *cpy_r_r94; + PyObject *cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + cpy_r_r0 = CPy_TYPE(cpy_r_elements); + cpy_r_r1 = (PyObject *)&PyList_Type; + cpy_r_r2 = cpy_r_r0 == cpy_r_r1; + if (cpy_r_r2) goto CPyL61; + cpy_r_r3 = CPyModule_builtins; + cpy_r_r4 = CPyStatics[239]; /* 'map' */ + cpy_r_r5 = CPyObject_GetAttr(cpy_r_r3, cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 83, CPyStatic_abi___globals); + goto CPyL62; + } + cpy_r_r6 = cpy_r_r0 == cpy_r_r5; + CPy_DECREF(cpy_r_r5); + if (cpy_r_r6) { + goto CPyL61; + } else + goto CPyL10; +CPyL3: ; + cpy_r_r7 = PyList_New(0); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 84, CPyStatic_abi___globals); + goto CPyL60; + } + cpy_r_r8 = PyObject_GetIter(cpy_r_elements); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 84, CPyStatic_abi___globals); + goto CPyL63; + } +CPyL5: ; + cpy_r_r9 = PyIter_Next(cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL64; + PyObject *cpy_r_r10[1] = {cpy_r_r9}; + cpy_r_r11 = (PyObject **)&cpy_r_r10; + cpy_r_r12 = PyObject_Vectorcall(cpy_r_self, cpy_r_r11, 1, 0); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 84, CPyStatic_abi___globals); + goto CPyL65; + } + CPy_DECREF(cpy_r_r9); + cpy_r_r13 = PyList_Append(cpy_r_r7, cpy_r_r12); + CPy_DECREF(cpy_r_r12); + cpy_r_r14 = cpy_r_r13 >= 0; + if (unlikely(!cpy_r_r14)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 84, CPyStatic_abi___globals); + goto CPyL66; + } else + goto CPyL5; +CPyL8: ; + cpy_r_r15 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r15)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 84, CPyStatic_abi___globals); + goto CPyL63; + } + return cpy_r_r7; +CPyL10: ; + cpy_r_r16 = (PyObject *)&PyTuple_Type; + cpy_r_r17 = cpy_r_r0 == cpy_r_r16; + if (cpy_r_r17) { + goto CPyL67; + } else + goto CPyL19; +CPyL11: ; + cpy_r_r18 = PyList_New(0); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 86, CPyStatic_abi___globals); + goto CPyL60; + } + cpy_r_r19 = PyObject_GetIter(cpy_r_elements); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 86, CPyStatic_abi___globals); + goto CPyL68; + } +CPyL13: ; + cpy_r_r20 = PyIter_Next(cpy_r_r19); + if (cpy_r_r20 == NULL) goto CPyL69; + PyObject *cpy_r_r21[1] = {cpy_r_r20}; + cpy_r_r22 = (PyObject **)&cpy_r_r21; + cpy_r_r23 = PyObject_Vectorcall(cpy_r_self, cpy_r_r22, 1, 0); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 86, CPyStatic_abi___globals); + goto CPyL70; + } + CPy_DECREF(cpy_r_r20); + cpy_r_r24 = PyList_Append(cpy_r_r18, cpy_r_r23); + CPy_DECREF(cpy_r_r23); + cpy_r_r25 = cpy_r_r24 >= 0; + if (unlikely(!cpy_r_r25)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 86, CPyStatic_abi___globals); + goto CPyL71; + } else + goto CPyL13; +CPyL16: ; + cpy_r_r26 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r26)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 86, CPyStatic_abi___globals); + goto CPyL68; + } + cpy_r_r27 = PyList_AsTuple(cpy_r_r18); + CPy_DECREF_NO_IMM(cpy_r_r18); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 86, CPyStatic_abi___globals); + goto CPyL60; + } + return cpy_r_r27; +CPyL19: ; + cpy_r_r28 = CPyStatic_abi___Mapping; + if (unlikely(cpy_r_r28 == NULL)) { + goto CPyL72; + } else + goto CPyL22; +CPyL20: ; + PyErr_SetString(PyExc_NameError, "value for final name \"Mapping\" was not set"); + cpy_r_r29 = 0; + if (unlikely(!cpy_r_r29)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 87, CPyStatic_abi___globals); + goto CPyL60; + } + CPy_Unreachable(); +CPyL22: ; + cpy_r_r30 = PyObject_IsInstance(cpy_r_elements, cpy_r_r28); + cpy_r_r31 = cpy_r_r30 >= 0; + if (unlikely(!cpy_r_r31)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 87, CPyStatic_abi___globals); + goto CPyL62; + } + cpy_r_r32 = cpy_r_r30; + if (!cpy_r_r32) goto CPyL35; + cpy_r_r33 = PyList_New(0); + if (unlikely(cpy_r_r33 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 88, CPyStatic_abi___globals); + goto CPyL62; + } + cpy_r_r34 = CPyStatics[240]; /* 'items' */ + PyObject *cpy_r_r35[1] = {cpy_r_elements}; + cpy_r_r36 = (PyObject **)&cpy_r_r35; + cpy_r_r37 = PyObject_VectorcallMethod(cpy_r_r34, cpy_r_r36, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 88, CPyStatic_abi___globals); + goto CPyL73; + } + cpy_r_r38 = PyObject_GetIter(cpy_r_r37); + CPy_DECREF(cpy_r_r37); + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 88, CPyStatic_abi___globals); + goto CPyL73; + } +CPyL27: ; + cpy_r_r39 = PyIter_Next(cpy_r_r38); + if (cpy_r_r39 == NULL) goto CPyL74; + PyObject *__tmp47; + if (unlikely(!(PyTuple_Check(cpy_r_r39) && PyTuple_GET_SIZE(cpy_r_r39) == 2))) { + __tmp47 = NULL; + goto __LL48; + } + __tmp47 = PyTuple_GET_ITEM(cpy_r_r39, 0); + if (__tmp47 == NULL) goto __LL48; + __tmp47 = PyTuple_GET_ITEM(cpy_r_r39, 1); + if (__tmp47 == NULL) goto __LL48; + __tmp47 = cpy_r_r39; +__LL48: ; + if (unlikely(__tmp47 == NULL)) { + CPy_TypeError("tuple[object, object]", cpy_r_r39); cpy_r_r40 = (tuple_T2OO) { NULL, NULL }; + } else { + PyObject *__tmp49 = PyTuple_GET_ITEM(cpy_r_r39, 0); + CPy_INCREF(__tmp49); + PyObject *__tmp50; + __tmp50 = __tmp49; + cpy_r_r40.f0 = __tmp50; + PyObject *__tmp51 = PyTuple_GET_ITEM(cpy_r_r39, 1); + CPy_INCREF(__tmp51); + PyObject *__tmp52; + __tmp52 = __tmp51; + cpy_r_r40.f1 = __tmp52; + } + CPy_DECREF(cpy_r_r39); + if (unlikely(cpy_r_r40.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 88, CPyStatic_abi___globals); + goto CPyL75; + } + cpy_r_r41 = cpy_r_r40.f0; + CPy_INCREF(cpy_r_r41); + cpy_r_r42 = cpy_r_r40.f1; + CPy_INCREF(cpy_r_r42); + CPy_DECREF(cpy_r_r40.f0); + CPy_DECREF(cpy_r_r40.f1); + PyObject *cpy_r_r43[1] = {cpy_r_r42}; + cpy_r_r44 = (PyObject **)&cpy_r_r43; + cpy_r_r45 = PyObject_Vectorcall(cpy_r_self, cpy_r_r44, 1, 0); + if (unlikely(cpy_r_r45 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 88, CPyStatic_abi___globals); + goto CPyL76; + } + CPy_DECREF(cpy_r_r42); + cpy_r_r46.f0 = cpy_r_r41; + cpy_r_r46.f1 = cpy_r_r45; + cpy_r_r47 = PyTuple_New(2); + if (unlikely(cpy_r_r47 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp53 = cpy_r_r46.f0; + PyTuple_SET_ITEM(cpy_r_r47, 0, __tmp53); + PyObject *__tmp54 = cpy_r_r46.f1; + PyTuple_SET_ITEM(cpy_r_r47, 1, __tmp54); + cpy_r_r48 = PyList_Append(cpy_r_r33, cpy_r_r47); + CPy_DECREF(cpy_r_r47); + cpy_r_r49 = cpy_r_r48 >= 0; + if (unlikely(!cpy_r_r49)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 88, CPyStatic_abi___globals); + goto CPyL75; + } else + goto CPyL27; +CPyL31: ; + cpy_r_r50 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r50)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 88, CPyStatic_abi___globals); + goto CPyL73; + } + cpy_r_r51 = PyObject_GetIter(cpy_r_r33); + CPy_DECREF_NO_IMM(cpy_r_r33); + if (unlikely(cpy_r_r51 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 88, CPyStatic_abi___globals); + goto CPyL62; + } + PyObject *cpy_r_r52[1] = {cpy_r_r51}; + cpy_r_r53 = (PyObject **)&cpy_r_r52; + cpy_r_r54 = PyObject_Vectorcall(cpy_r_r0, cpy_r_r53, 1, 0); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r54 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 88, CPyStatic_abi___globals); + goto CPyL77; + } + CPy_DECREF(cpy_r_r51); + return cpy_r_r54; +CPyL35: ; + cpy_r_r55 = (PyObject *)&PyBytes_Type; + cpy_r_r56 = (PyObject *)&PyUnicode_Type; + cpy_r_r57 = CPyModule_builtins; + cpy_r_r58 = CPyStatics[117]; /* 'bytearray' */ + cpy_r_r59 = CPyObject_GetAttr(cpy_r_r57, cpy_r_r58); + if (unlikely(cpy_r_r59 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 89, CPyStatic_abi___globals); + goto CPyL62; + } + CPy_INCREF(cpy_r_r55); + CPy_INCREF(cpy_r_r56); + cpy_r_r60.f0 = cpy_r_r55; + cpy_r_r60.f1 = cpy_r_r56; + cpy_r_r60.f2 = cpy_r_r59; + cpy_r_r61 = PyTuple_New(3); + if (unlikely(cpy_r_r61 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp55 = cpy_r_r60.f0; + PyTuple_SET_ITEM(cpy_r_r61, 0, __tmp55); + PyObject *__tmp56 = cpy_r_r60.f1; + PyTuple_SET_ITEM(cpy_r_r61, 1, __tmp56); + PyObject *__tmp57 = cpy_r_r60.f2; + PyTuple_SET_ITEM(cpy_r_r61, 2, __tmp57); + cpy_r_r62 = PyObject_IsInstance(cpy_r_elements, cpy_r_r61); + CPy_DECREF(cpy_r_r61); + cpy_r_r63 = cpy_r_r62 >= 0; + if (unlikely(!cpy_r_r63)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 89, CPyStatic_abi___globals); + goto CPyL62; + } + cpy_r_r64 = cpy_r_r62; + if (cpy_r_r64) goto CPyL78; + cpy_r_r65 = CPyStatic_abi___Iterable; + if (unlikely(cpy_r_r65 == NULL)) { + goto CPyL79; + } else + goto CPyL41; +CPyL39: ; + PyErr_SetString(PyExc_NameError, "value for final name \"Iterable\" was not set"); + cpy_r_r66 = 0; + if (unlikely(!cpy_r_r66)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 89, CPyStatic_abi___globals); + goto CPyL60; + } + CPy_Unreachable(); +CPyL41: ; + cpy_r_r67 = PyObject_IsInstance(cpy_r_elements, cpy_r_r65); + cpy_r_r68 = cpy_r_r67 >= 0; + if (unlikely(!cpy_r_r68)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 89, CPyStatic_abi___globals); + goto CPyL62; + } + cpy_r_r69 = cpy_r_r67; + if (!cpy_r_r69) goto CPyL78; + cpy_r_r70 = CPyModule_builtins; + cpy_r_r71 = CPyStatics[239]; /* 'map' */ + cpy_r_r72 = CPyObject_GetAttr(cpy_r_r70, cpy_r_r71); + if (unlikely(cpy_r_r72 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 90, CPyStatic_abi___globals); + goto CPyL62; + } + PyObject *cpy_r_r73[2] = {cpy_r_self, cpy_r_elements}; + cpy_r_r74 = (PyObject **)&cpy_r_r73; + cpy_r_r75 = PyObject_Vectorcall(cpy_r_r72, cpy_r_r74, 2, 0); + CPy_DECREF(cpy_r_r72); + if (unlikely(cpy_r_r75 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 90, CPyStatic_abi___globals); + goto CPyL62; + } + PyObject *cpy_r_r76[1] = {cpy_r_r75}; + cpy_r_r77 = (PyObject **)&cpy_r_r76; + cpy_r_r78 = PyObject_Vectorcall(cpy_r_r0, cpy_r_r77, 1, 0); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r78 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 90, CPyStatic_abi___globals); + goto CPyL80; + } + CPy_DECREF(cpy_r_r75); + return cpy_r_r78; +CPyL47: ; + cpy_r_r79 = (PyObject *)CPyType_abi___ABITypedData; + cpy_r_r80 = (CPyPtr)&((PyObject *)cpy_r_elements)->ob_type; + cpy_r_r81 = *(PyObject * *)cpy_r_r80; + cpy_r_r82 = cpy_r_r81 == cpy_r_r79; + if (!cpy_r_r82) goto CPyL59; + if (likely(Py_TYPE(cpy_r_elements) == CPyType_abi___ABITypedData)) + cpy_r_r83 = cpy_r_elements; + else { + CPy_TypeErrorTraceback("dank_mids\\_web3\\abi.py", "__call__", 91, CPyStatic_abi___globals, "dank_mids._web3.abi.ABITypedData", cpy_r_elements); + goto CPyL60; + } + cpy_r_r84 = ((dank_mids____web3___abi___ABITypedDataObject *)cpy_r_r83)->_abi_type; + if (unlikely(cpy_r_r84 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\abi.py", "__call__", "ABITypedData", "abi_type", 91, CPyStatic_abi___globals); + goto CPyL60; + } +CPyL50: ; + cpy_r_r85 = (PyObject *)&_Py_NoneStruct; + cpy_r_r86 = cpy_r_r84 != cpy_r_r85; + if (!cpy_r_r86) goto CPyL59; + CPy_INCREF(cpy_r_elements); + if (likely(Py_TYPE(cpy_r_elements) == CPyType_abi___ABITypedData)) + cpy_r_r87 = cpy_r_elements; + else { + CPy_TypeErrorTraceback("dank_mids\\_web3\\abi.py", "__call__", 92, CPyStatic_abi___globals, "dank_mids._web3.abi.ABITypedData", cpy_r_elements); + goto CPyL60; + } + cpy_r_r88 = CPyStatics[241]; /* 'func' */ + cpy_r_r89 = CPyObject_GetAttr(cpy_r_self, cpy_r_r88); + if (unlikely(cpy_r_r89 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 92, CPyStatic_abi___globals); + goto CPyL81; + } + cpy_r_r90 = PySequence_Tuple(cpy_r_r87); + CPy_DECREF_NO_IMM(cpy_r_r87); + if (unlikely(cpy_r_r90 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 92, CPyStatic_abi___globals); + goto CPyL82; + } + cpy_r_r91 = PyObject_CallObject(cpy_r_r89, cpy_r_r90); + CPy_DECREF(cpy_r_r89); + CPy_DECREF(cpy_r_r90); + if (unlikely(cpy_r_r91 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 92, CPyStatic_abi___globals); + goto CPyL60; + } + PyObject *__tmp58; + if (unlikely(!(PyTuple_Check(cpy_r_r91) && PyTuple_GET_SIZE(cpy_r_r91) == 2))) { + __tmp58 = NULL; + goto __LL59; + } + if (likely(PyUnicode_Check(PyTuple_GET_ITEM(cpy_r_r91, 0)))) + __tmp58 = PyTuple_GET_ITEM(cpy_r_r91, 0); + else { + __tmp58 = NULL; + } + if (__tmp58 == NULL) goto __LL59; + __tmp58 = PyTuple_GET_ITEM(cpy_r_r91, 1); + if (__tmp58 == NULL) goto __LL59; + __tmp58 = cpy_r_r91; +__LL59: ; + if (unlikely(__tmp58 == NULL)) { + CPy_TypeError("tuple[str, object]", cpy_r_r91); cpy_r_r92 = (tuple_T2OO) { NULL, NULL }; + } else { + PyObject *__tmp60 = PyTuple_GET_ITEM(cpy_r_r91, 0); + CPy_INCREF(__tmp60); + PyObject *__tmp61; + if (likely(PyUnicode_Check(__tmp60))) + __tmp61 = __tmp60; + else { + CPy_TypeError("str", __tmp60); + __tmp61 = NULL; + } + cpy_r_r92.f0 = __tmp61; + PyObject *__tmp62 = PyTuple_GET_ITEM(cpy_r_r91, 1); + CPy_INCREF(__tmp62); + PyObject *__tmp63; + __tmp63 = __tmp62; + cpy_r_r92.f1 = __tmp63; + } + CPy_DECREF(cpy_r_r91); + if (unlikely(cpy_r_r92.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 92, CPyStatic_abi___globals); + goto CPyL60; + } + cpy_r_r93 = (PyObject *)CPyType_abi___ABITypedData; + cpy_r_r94 = PyTuple_New(2); + if (unlikely(cpy_r_r94 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp64 = cpy_r_r92.f0; + PyTuple_SET_ITEM(cpy_r_r94, 0, __tmp64); + PyObject *__tmp65 = cpy_r_r92.f1; + PyTuple_SET_ITEM(cpy_r_r94, 1, __tmp65); + cpy_r_r95 = PyObject_CallObject(cpy_r_r93, cpy_r_r94); + CPy_DECREF(cpy_r_r94); + if (unlikely(cpy_r_r95 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 92, CPyStatic_abi___globals); + goto CPyL60; + } + if (likely(Py_TYPE(cpy_r_r95) == CPyType_abi___ABITypedData)) + cpy_r_r96 = cpy_r_r95; + else { + CPy_TypeErrorTraceback("dank_mids\\_web3\\abi.py", "__call__", 92, CPyStatic_abi___globals, "dank_mids._web3.abi.ABITypedData", cpy_r_r95); + goto CPyL60; + } + return cpy_r_r96; +CPyL59: ; + CPy_INCREF(cpy_r_elements); + return cpy_r_elements; +CPyL60: ; + cpy_r_r97 = NULL; + return cpy_r_r97; +CPyL61: ; + CPy_DECREF(cpy_r_r0); + goto CPyL3; +CPyL62: ; + CPy_DecRef(cpy_r_r0); + goto CPyL60; +CPyL63: ; + CPy_DecRef(cpy_r_r7); + goto CPyL60; +CPyL64: ; + CPy_DECREF(cpy_r_r8); + goto CPyL8; +CPyL65: ; + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r8); + CPy_DecRef(cpy_r_r9); + goto CPyL60; +CPyL66: ; + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r8); + goto CPyL60; +CPyL67: ; + CPy_DECREF(cpy_r_r0); + goto CPyL11; +CPyL68: ; + CPy_DecRef(cpy_r_r18); + goto CPyL60; +CPyL69: ; + CPy_DECREF(cpy_r_r19); + goto CPyL16; +CPyL70: ; + CPy_DecRef(cpy_r_r18); + CPy_DecRef(cpy_r_r19); + CPy_DecRef(cpy_r_r20); + goto CPyL60; +CPyL71: ; + CPy_DecRef(cpy_r_r18); + CPy_DecRef(cpy_r_r19); + goto CPyL60; +CPyL72: ; + CPy_DecRef(cpy_r_r0); + goto CPyL20; +CPyL73: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r33); + goto CPyL60; +CPyL74: ; + CPy_DECREF(cpy_r_r38); + goto CPyL31; +CPyL75: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r33); + CPy_DecRef(cpy_r_r38); + goto CPyL60; +CPyL76: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r33); + CPy_DecRef(cpy_r_r38); + CPy_DecRef(cpy_r_r41); + CPy_DecRef(cpy_r_r42); + goto CPyL60; +CPyL77: ; + CPy_DecRef(cpy_r_r51); + goto CPyL60; +CPyL78: ; + CPy_DECREF(cpy_r_r0); + goto CPyL47; +CPyL79: ; + CPy_DecRef(cpy_r_r0); + goto CPyL39; +CPyL80: ; + CPy_DecRef(cpy_r_r75); + goto CPyL60; +CPyL81: ; + CPy_DecRef(cpy_r_r87); + goto CPyL60; +CPyL82: ; + CPy_DecRef(cpy_r_r89); + goto CPyL60; +} + +PyObject *CPyPy_abi___map_to_typed_data_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"elements", 0}; + static CPyArg_Parser parser = {"O:__call__", kwlist, 0}; + PyObject *obj_elements; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, PyVectorcall_NARGS(nargs), kwnames, &parser, &obj_elements)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_abi___map_to_typed_data)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids._web3.abi.map_to_typed_data", obj_self); + goto fail; + } + PyObject *arg_elements = obj_elements; + PyObject *retval = CPyDef_abi___map_to_typed_data_____call__(arg_self, arg_elements); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "__call__", 81, CPyStatic_abi___globals); + return NULL; +} + +PyObject *CPyDef_abi___strip_abi_types(PyObject *cpy_r_data) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + char cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + int32_t cpy_r_r11; + char cpy_r_r12; + char cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + CPyPtr cpy_r_r16; + int64_t cpy_r_r17; + PyObject *cpy_r_r18; + CPyPtr cpy_r_r19; + int64_t cpy_r_r20; + int64_t cpy_r_r21; + char cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + int64_t cpy_r_r25; + PyObject *cpy_r_r26; + char cpy_r_r27; + int32_t cpy_r_r28; + char cpy_r_r29; + char cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject **cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + tuple_T2OO cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + tuple_T2OO cpy_r_r42; + PyObject *cpy_r_r43; + int32_t cpy_r_r44; + char cpy_r_r45; + char cpy_r_r46; + PyObject *cpy_r_r47; + PyObject **cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + tuple_T3OOO cpy_r_r56; + PyObject *cpy_r_r57; + int32_t cpy_r_r58; + char cpy_r_r59; + char cpy_r_r60; + PyObject *cpy_r_r61; + char cpy_r_r62; + int32_t cpy_r_r63; + char cpy_r_r64; + char cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + PyObject *cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject **cpy_r_r73; + PyObject *cpy_r_r74; + PyObject **cpy_r_r76; + PyObject *cpy_r_r77; + PyObject *cpy_r_r78; + CPyPtr cpy_r_r79; + PyObject *cpy_r_r80; + char cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + cpy_r_r0 = CPy_TYPE(cpy_r_data); + cpy_r_r1 = (PyObject *)&PyList_Type; + cpy_r_r2 = cpy_r_r0 == cpy_r_r1; + if (cpy_r_r2) goto CPyL54; + cpy_r_r3 = CPyModule_builtins; + cpy_r_r4 = CPyStatics[239]; /* 'map' */ + cpy_r_r5 = CPyObject_GetAttr(cpy_r_r3, cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 99, CPyStatic_abi___globals); + goto CPyL55; + } + cpy_r_r6 = cpy_r_r0 == cpy_r_r5; + CPy_DECREF(cpy_r_r5); + if (cpy_r_r6) { + goto CPyL54; + } else + goto CPyL10; +CPyL3: ; + cpy_r_r7 = PyList_New(0); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 100, CPyStatic_abi___globals); + goto CPyL53; + } + cpy_r_r8 = PyObject_GetIter(cpy_r_data); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 100, CPyStatic_abi___globals); + goto CPyL56; + } +CPyL5: ; + cpy_r_r9 = PyIter_Next(cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL57; + cpy_r_r10 = CPyDef_abi___strip_abi_types(cpy_r_r9); + CPy_DECREF(cpy_r_r9); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 100, CPyStatic_abi___globals); + goto CPyL58; + } + cpy_r_r11 = PyList_Append(cpy_r_r7, cpy_r_r10); + CPy_DECREF(cpy_r_r10); + cpy_r_r12 = cpy_r_r11 >= 0; + if (unlikely(!cpy_r_r12)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 100, CPyStatic_abi___globals); + goto CPyL58; + } else + goto CPyL5; +CPyL8: ; + cpy_r_r13 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r13)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 100, CPyStatic_abi___globals); + goto CPyL56; + } + return cpy_r_r7; +CPyL10: ; + cpy_r_r14 = PyTuple_Check(cpy_r_data); + if (cpy_r_r14) { + goto CPyL59; + } else + goto CPyL19; +CPyL11: ; + CPy_INCREF(cpy_r_data); + if (likely(PyTuple_Check(cpy_r_data))) + cpy_r_r15 = cpy_r_data; + else { + CPy_TypeErrorTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 102, CPyStatic_abi___globals, "tuple", cpy_r_data); + goto CPyL53; + } + cpy_r_r16 = (CPyPtr)&((PyVarObject *)cpy_r_r15)->ob_size; + cpy_r_r17 = *(int64_t *)cpy_r_r16; + cpy_r_r18 = PyTuple_New(cpy_r_r17); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 102, CPyStatic_abi___globals); + goto CPyL60; + } + cpy_r_r19 = (CPyPtr)&((PyVarObject *)cpy_r_r15)->ob_size; + cpy_r_r20 = *(int64_t *)cpy_r_r19; + cpy_r_r21 = 0; +CPyL14: ; + cpy_r_r22 = cpy_r_r21 < cpy_r_r20; + if (!cpy_r_r22) goto CPyL61; + cpy_r_r23 = CPySequenceTuple_GetItemUnsafe(cpy_r_r15, cpy_r_r21); + cpy_r_r24 = CPyDef_abi___strip_abi_types(cpy_r_r23); + CPy_DECREF(cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 102, CPyStatic_abi___globals); + goto CPyL62; + } + CPySequenceTuple_SetItemUnsafe(cpy_r_r18, cpy_r_r21, cpy_r_r24); + cpy_r_r25 = cpy_r_r21 + 1; + cpy_r_r21 = cpy_r_r25; + goto CPyL14; +CPyL18: ; + return cpy_r_r18; +CPyL19: ; + cpy_r_r26 = CPyStatic_abi___Mapping; + if (unlikely(cpy_r_r26 == NULL)) { + goto CPyL63; + } else + goto CPyL22; +CPyL20: ; + PyErr_SetString(PyExc_NameError, "value for final name \"Mapping\" was not set"); + cpy_r_r27 = 0; + if (unlikely(!cpy_r_r27)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 103, CPyStatic_abi___globals); + goto CPyL53; + } + CPy_Unreachable(); +CPyL22: ; + cpy_r_r28 = PyObject_IsInstance(cpy_r_data, cpy_r_r26); + cpy_r_r29 = cpy_r_r28 >= 0; + if (unlikely(!cpy_r_r29)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 103, CPyStatic_abi___globals); + goto CPyL55; + } + cpy_r_r30 = cpy_r_r28; + if (!cpy_r_r30) goto CPyL35; + cpy_r_r31 = PyList_New(0); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 104, CPyStatic_abi___globals); + goto CPyL55; + } + cpy_r_r32 = CPyStatics[240]; /* 'items' */ + PyObject *cpy_r_r33[1] = {cpy_r_data}; + cpy_r_r34 = (PyObject **)&cpy_r_r33; + cpy_r_r35 = PyObject_VectorcallMethod(cpy_r_r32, cpy_r_r34, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r35 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 104, CPyStatic_abi___globals); + goto CPyL64; + } + cpy_r_r36 = PyObject_GetIter(cpy_r_r35); + CPy_DECREF(cpy_r_r35); + if (unlikely(cpy_r_r36 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 104, CPyStatic_abi___globals); + goto CPyL64; + } +CPyL27: ; + cpy_r_r37 = PyIter_Next(cpy_r_r36); + if (cpy_r_r37 == NULL) goto CPyL65; + PyObject *__tmp66; + if (unlikely(!(PyTuple_Check(cpy_r_r37) && PyTuple_GET_SIZE(cpy_r_r37) == 2))) { + __tmp66 = NULL; + goto __LL67; + } + __tmp66 = PyTuple_GET_ITEM(cpy_r_r37, 0); + if (__tmp66 == NULL) goto __LL67; + __tmp66 = PyTuple_GET_ITEM(cpy_r_r37, 1); + if (__tmp66 == NULL) goto __LL67; + __tmp66 = cpy_r_r37; +__LL67: ; + if (unlikely(__tmp66 == NULL)) { + CPy_TypeError("tuple[object, object]", cpy_r_r37); cpy_r_r38 = (tuple_T2OO) { NULL, NULL }; + } else { + PyObject *__tmp68 = PyTuple_GET_ITEM(cpy_r_r37, 0); + CPy_INCREF(__tmp68); + PyObject *__tmp69; + __tmp69 = __tmp68; + cpy_r_r38.f0 = __tmp69; + PyObject *__tmp70 = PyTuple_GET_ITEM(cpy_r_r37, 1); + CPy_INCREF(__tmp70); + PyObject *__tmp71; + __tmp71 = __tmp70; + cpy_r_r38.f1 = __tmp71; + } + CPy_DECREF(cpy_r_r37); + if (unlikely(cpy_r_r38.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 104, CPyStatic_abi___globals); + goto CPyL66; + } + cpy_r_r39 = cpy_r_r38.f0; + CPy_INCREF(cpy_r_r39); + cpy_r_r40 = cpy_r_r38.f1; + CPy_INCREF(cpy_r_r40); + CPy_DECREF(cpy_r_r38.f0); + CPy_DECREF(cpy_r_r38.f1); + cpy_r_r41 = CPyDef_abi___strip_abi_types(cpy_r_r40); + CPy_DECREF(cpy_r_r40); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 104, CPyStatic_abi___globals); + goto CPyL67; + } + cpy_r_r42.f0 = cpy_r_r39; + cpy_r_r42.f1 = cpy_r_r41; + cpy_r_r43 = PyTuple_New(2); + if (unlikely(cpy_r_r43 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp72 = cpy_r_r42.f0; + PyTuple_SET_ITEM(cpy_r_r43, 0, __tmp72); + PyObject *__tmp73 = cpy_r_r42.f1; + PyTuple_SET_ITEM(cpy_r_r43, 1, __tmp73); + cpy_r_r44 = PyList_Append(cpy_r_r31, cpy_r_r43); + CPy_DECREF(cpy_r_r43); + cpy_r_r45 = cpy_r_r44 >= 0; + if (unlikely(!cpy_r_r45)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 104, CPyStatic_abi___globals); + goto CPyL66; + } else + goto CPyL27; +CPyL31: ; + cpy_r_r46 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r46)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 104, CPyStatic_abi___globals); + goto CPyL64; + } + cpy_r_r47 = PyObject_GetIter(cpy_r_r31); + CPy_DECREF_NO_IMM(cpy_r_r31); + if (unlikely(cpy_r_r47 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 104, CPyStatic_abi___globals); + goto CPyL55; + } + PyObject *cpy_r_r48[1] = {cpy_r_r47}; + cpy_r_r49 = (PyObject **)&cpy_r_r48; + cpy_r_r50 = PyObject_Vectorcall(cpy_r_r0, cpy_r_r49, 1, 0); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r50 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 104, CPyStatic_abi___globals); + goto CPyL68; + } + CPy_DECREF(cpy_r_r47); + return cpy_r_r50; +CPyL35: ; + cpy_r_r51 = (PyObject *)&PyBytes_Type; + cpy_r_r52 = (PyObject *)&PyUnicode_Type; + cpy_r_r53 = CPyModule_builtins; + cpy_r_r54 = CPyStatics[117]; /* 'bytearray' */ + cpy_r_r55 = CPyObject_GetAttr(cpy_r_r53, cpy_r_r54); + if (unlikely(cpy_r_r55 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 105, CPyStatic_abi___globals); + goto CPyL55; + } + CPy_INCREF(cpy_r_r51); + CPy_INCREF(cpy_r_r52); + cpy_r_r56.f0 = cpy_r_r51; + cpy_r_r56.f1 = cpy_r_r52; + cpy_r_r56.f2 = cpy_r_r55; + cpy_r_r57 = PyTuple_New(3); + if (unlikely(cpy_r_r57 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp74 = cpy_r_r56.f0; + PyTuple_SET_ITEM(cpy_r_r57, 0, __tmp74); + PyObject *__tmp75 = cpy_r_r56.f1; + PyTuple_SET_ITEM(cpy_r_r57, 1, __tmp75); + PyObject *__tmp76 = cpy_r_r56.f2; + PyTuple_SET_ITEM(cpy_r_r57, 2, __tmp76); + cpy_r_r58 = PyObject_IsInstance(cpy_r_data, cpy_r_r57); + CPy_DECREF(cpy_r_r57); + cpy_r_r59 = cpy_r_r58 >= 0; + if (unlikely(!cpy_r_r59)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 105, CPyStatic_abi___globals); + goto CPyL55; + } + cpy_r_r60 = cpy_r_r58; + if (cpy_r_r60) goto CPyL69; + cpy_r_r61 = CPyStatic_abi___Iterable; + if (unlikely(cpy_r_r61 == NULL)) { + goto CPyL70; + } else + goto CPyL41; +CPyL39: ; + PyErr_SetString(PyExc_NameError, "value for final name \"Iterable\" was not set"); + cpy_r_r62 = 0; + if (unlikely(!cpy_r_r62)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 105, CPyStatic_abi___globals); + goto CPyL53; + } + CPy_Unreachable(); +CPyL41: ; + cpy_r_r63 = PyObject_IsInstance(cpy_r_data, cpy_r_r61); + cpy_r_r64 = cpy_r_r63 >= 0; + if (unlikely(!cpy_r_r64)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 105, CPyStatic_abi___globals); + goto CPyL55; + } + cpy_r_r65 = cpy_r_r63; + if (!cpy_r_r65) goto CPyL69; + cpy_r_r66 = CPyStatic_abi___globals; + cpy_r_r67 = CPyStatics[242]; /* 'strip_abi_types' */ + cpy_r_r68 = CPyDict_GetItem(cpy_r_r66, cpy_r_r67); + if (unlikely(cpy_r_r68 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 106, CPyStatic_abi___globals); + goto CPyL55; + } + cpy_r_r69 = CPyModule_builtins; + cpy_r_r70 = CPyStatics[239]; /* 'map' */ + cpy_r_r71 = CPyObject_GetAttr(cpy_r_r69, cpy_r_r70); + if (unlikely(cpy_r_r71 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 106, CPyStatic_abi___globals); + goto CPyL71; + } + PyObject *cpy_r_r72[2] = {cpy_r_r68, cpy_r_data}; + cpy_r_r73 = (PyObject **)&cpy_r_r72; + cpy_r_r74 = PyObject_Vectorcall(cpy_r_r71, cpy_r_r73, 2, 0); + CPy_DECREF(cpy_r_r71); + if (unlikely(cpy_r_r74 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 106, CPyStatic_abi___globals); + goto CPyL71; + } + CPy_DECREF(cpy_r_r68); + PyObject *cpy_r_r75[1] = {cpy_r_r74}; + cpy_r_r76 = (PyObject **)&cpy_r_r75; + cpy_r_r77 = PyObject_Vectorcall(cpy_r_r0, cpy_r_r76, 1, 0); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r77 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 106, CPyStatic_abi___globals); + goto CPyL72; + } + CPy_DECREF(cpy_r_r74); + return cpy_r_r77; +CPyL48: ; + cpy_r_r78 = (PyObject *)CPyType_abi___ABITypedData; + cpy_r_r79 = (CPyPtr)&((PyObject *)cpy_r_data)->ob_type; + cpy_r_r80 = *(PyObject * *)cpy_r_r79; + cpy_r_r81 = cpy_r_r80 == cpy_r_r78; + if (!cpy_r_r81) goto CPyL52; + if (likely(Py_TYPE(cpy_r_data) == CPyType_abi___ABITypedData)) + cpy_r_r82 = cpy_r_data; + else { + CPy_TypeErrorTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 108, CPyStatic_abi___globals, "dank_mids._web3.abi.ABITypedData", cpy_r_data); + goto CPyL53; + } + cpy_r_r83 = ((dank_mids____web3___abi___ABITypedDataObject *)cpy_r_r82)->_data; + if (unlikely(cpy_r_r83 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\abi.py", "strip_abi_types", "ABITypedData", "data", 108, CPyStatic_abi___globals); + goto CPyL53; + } + CPy_INCREF(cpy_r_r83); +CPyL51: ; + return cpy_r_r83; +CPyL52: ; + CPy_INCREF(cpy_r_data); + return cpy_r_data; +CPyL53: ; + cpy_r_r84 = NULL; + return cpy_r_r84; +CPyL54: ; + CPy_DECREF(cpy_r_r0); + goto CPyL3; +CPyL55: ; + CPy_DecRef(cpy_r_r0); + goto CPyL53; +CPyL56: ; + CPy_DecRef(cpy_r_r7); + goto CPyL53; +CPyL57: ; + CPy_DECREF(cpy_r_r8); + goto CPyL8; +CPyL58: ; + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r8); + goto CPyL53; +CPyL59: ; + CPy_DECREF(cpy_r_r0); + goto CPyL11; +CPyL60: ; + CPy_DecRef(cpy_r_r15); + goto CPyL53; +CPyL61: ; + CPy_DECREF(cpy_r_r15); + goto CPyL18; +CPyL62: ; + CPy_DecRef(cpy_r_r15); + CPy_DecRef(cpy_r_r18); + goto CPyL53; +CPyL63: ; + CPy_DecRef(cpy_r_r0); + goto CPyL20; +CPyL64: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r31); + goto CPyL53; +CPyL65: ; + CPy_DECREF(cpy_r_r36); + goto CPyL31; +CPyL66: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r31); + CPy_DecRef(cpy_r_r36); + goto CPyL53; +CPyL67: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r31); + CPy_DecRef(cpy_r_r36); + CPy_DecRef(cpy_r_r39); + goto CPyL53; +CPyL68: ; + CPy_DecRef(cpy_r_r47); + goto CPyL53; +CPyL69: ; + CPy_DECREF(cpy_r_r0); + goto CPyL48; +CPyL70: ; + CPy_DecRef(cpy_r_r0); + goto CPyL39; +CPyL71: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r68); + goto CPyL53; +CPyL72: ; + CPy_DecRef(cpy_r_r74); + goto CPyL53; +} + +PyObject *CPyPy_abi___strip_abi_types(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"data", 0}; + static CPyArg_Parser parser = {"O:strip_abi_types", kwlist, 0}; + PyObject *obj_data; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_data)) { + return NULL; + } + PyObject *arg_data = obj_data; + PyObject *retval = CPyDef_abi___strip_abi_types(arg_data); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "strip_abi_types", 97, CPyStatic_abi___globals); + return NULL; +} + +PyObject *CPyDef_abi___abi_sub_tree(PyObject *cpy_r_abi_type, PyObject *cpy_r_data_value) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + int32_t cpy_r_r9; + char cpy_r_r10; + char cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + int32_t cpy_r_r19; + char cpy_r_r20; + char cpy_r_r21; + PyObject *cpy_r_value_to_annotate; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + int32_t cpy_r_r25; + char cpy_r_r26; + char cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + int32_t cpy_r_r38; + char cpy_r_r39; + char cpy_r_r40; + char cpy_r_r41; + PyObject *cpy_r_r42; + PyObject **cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + PyObject **cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_abi_type == cpy_r_r0; + if (!cpy_r_r1) goto CPyL5; + cpy_r_r2 = Py_None; + cpy_r_r3 = PyTuple_Pack(2, cpy_r_r2, cpy_r_data_value); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 147, CPyStatic_abi___globals); + goto CPyL44; + } + cpy_r_r4 = PyDict_New(); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 147, CPyStatic_abi___globals); + goto CPyL45; + } + cpy_r_r5 = CPyDef_abi___ABITypedData(cpy_r_r3, cpy_r_r4); + CPy_DECREF(cpy_r_r3); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 147, CPyStatic_abi___globals); + goto CPyL44; + } + return cpy_r_r5; +CPyL5: ; + CPy_INCREF(cpy_r_abi_type); + cpy_r_r6 = cpy_r_abi_type; + cpy_r_r7 = CPyStatics[243]; /* 'is_array' */ + cpy_r_r8 = CPyObject_GetAttr(cpy_r_r6, cpy_r_r7); + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 151, CPyStatic_abi___globals); + goto CPyL44; + } + cpy_r_r9 = PyObject_IsTrue(cpy_r_r8); + CPy_DECREF(cpy_r_r8); + cpy_r_r10 = cpy_r_r9 >= 0; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", -1, CPyStatic_abi___globals); + goto CPyL44; + } + cpy_r_r11 = cpy_r_r9; + if (!cpy_r_r11) goto CPyL18; + CPy_INCREF(cpy_r_abi_type); + cpy_r_r12 = cpy_r_abi_type; + cpy_r_r13 = CPyStatics[244]; /* 'item_type' */ + cpy_r_r14 = CPyObject_GetAttr(cpy_r_r12, cpy_r_r13); + CPy_DECREF(cpy_r_r12); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 154, CPyStatic_abi___globals); + goto CPyL44; + } + cpy_r_r15 = PyList_New(0); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 155, CPyStatic_abi___globals); + goto CPyL46; + } + cpy_r_r16 = PyObject_GetIter(cpy_r_data_value); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 155, CPyStatic_abi___globals); + goto CPyL47; + } +CPyL13: ; + cpy_r_r17 = PyIter_Next(cpy_r_r16); + if (cpy_r_r17 == NULL) goto CPyL48; + cpy_r_r18 = CPyDef_abi___abi_sub_tree(cpy_r_r14, cpy_r_r17); + CPy_DECREF(cpy_r_r17); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 155, CPyStatic_abi___globals); + goto CPyL49; + } + cpy_r_r19 = PyList_Append(cpy_r_r15, cpy_r_r18); + CPy_DECREF_NO_IMM(cpy_r_r18); + cpy_r_r20 = cpy_r_r19 >= 0; + if (unlikely(!cpy_r_r20)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 155, CPyStatic_abi___globals); + goto CPyL49; + } else + goto CPyL13; +CPyL16: ; + cpy_r_r21 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r21)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 155, CPyStatic_abi___globals); + goto CPyL50; + } + cpy_r_value_to_annotate = cpy_r_r15; + goto CPyL38; +CPyL18: ; + cpy_r_r22 = CPyStatic_abi___globals; + cpy_r_r23 = CPyStatics[245]; /* 'TupleType' */ + cpy_r_r24 = CPyDict_GetItem(cpy_r_r22, cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 156, CPyStatic_abi___globals); + goto CPyL44; + } + cpy_r_r25 = PyObject_IsInstance(cpy_r_abi_type, cpy_r_r24); + CPy_DECREF(cpy_r_r24); + cpy_r_r26 = cpy_r_r25 >= 0; + if (unlikely(!cpy_r_r26)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 156, CPyStatic_abi___globals); + goto CPyL44; + } + cpy_r_r27 = cpy_r_r25; + if (!cpy_r_r27) goto CPyL36; + cpy_r_r28 = CPy_TYPE(cpy_r_data_value); + cpy_r_r29 = PyList_New(0); + if (unlikely(cpy_r_r29 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 159, CPyStatic_abi___globals); + goto CPyL51; + } + CPy_INCREF(cpy_r_abi_type); + cpy_r_r30 = cpy_r_abi_type; + cpy_r_r31 = CPyStatics[246]; /* 'components' */ + cpy_r_r32 = CPyObject_GetAttr(cpy_r_r30, cpy_r_r31); + CPy_DECREF(cpy_r_r30); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 161, CPyStatic_abi___globals); + goto CPyL52; + } + cpy_r_r33 = PyObject_GetIter(cpy_r_r32); + CPy_DECREF(cpy_r_r32); + if (unlikely(cpy_r_r33 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 159, CPyStatic_abi___globals); + goto CPyL52; + } + cpy_r_r34 = PyObject_GetIter(cpy_r_data_value); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 159, CPyStatic_abi___globals); + goto CPyL53; + } +CPyL26: ; + cpy_r_r35 = PyIter_Next(cpy_r_r33); + if (cpy_r_r35 == NULL) goto CPyL54; + cpy_r_r36 = PyIter_Next(cpy_r_r34); + if (cpy_r_r36 == NULL) goto CPyL55; + cpy_r_r37 = CPyDef_abi___abi_sub_tree(cpy_r_r35, cpy_r_r36); + CPy_DECREF(cpy_r_r35); + CPy_DECREF(cpy_r_r36); + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 160, CPyStatic_abi___globals); + goto CPyL56; + } + cpy_r_r38 = PyList_Append(cpy_r_r29, cpy_r_r37); + CPy_DECREF_NO_IMM(cpy_r_r37); + cpy_r_r39 = cpy_r_r38 >= 0; + if (unlikely(!cpy_r_r39)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 159, CPyStatic_abi___globals); + goto CPyL56; + } else + goto CPyL26; +CPyL30: ; + cpy_r_r40 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r40)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 159, CPyStatic_abi___globals); + goto CPyL52; + } + cpy_r_r41 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r41)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 159, CPyStatic_abi___globals); + goto CPyL52; + } + cpy_r_r42 = PyObject_GetIter(cpy_r_r29); + CPy_DECREF_NO_IMM(cpy_r_r29); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 159, CPyStatic_abi___globals); + goto CPyL51; + } + PyObject *cpy_r_r43[1] = {cpy_r_r42}; + cpy_r_r44 = (PyObject **)&cpy_r_r43; + cpy_r_r45 = PyObject_Vectorcall(cpy_r_r28, cpy_r_r44, 1, 0); + CPy_DECREF(cpy_r_r28); + if (unlikely(cpy_r_r45 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 159, CPyStatic_abi___globals); + goto CPyL57; + } + CPy_DECREF(cpy_r_r42); + if (likely(PyList_Check(cpy_r_r45))) + cpy_r_r46 = cpy_r_r45; + else { + CPy_TypeErrorTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 159, CPyStatic_abi___globals, "list", cpy_r_r45); + goto CPyL44; + } + cpy_r_value_to_annotate = cpy_r_r46; + goto CPyL38; +CPyL36: ; + CPy_INCREF(cpy_r_data_value); + if (likely(PyList_Check(cpy_r_data_value))) + cpy_r_r47 = cpy_r_data_value; + else { + CPy_TypeErrorTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 164, CPyStatic_abi___globals, "list", cpy_r_data_value); + goto CPyL44; + } + cpy_r_value_to_annotate = cpy_r_r47; +CPyL38: ; + CPy_INCREF(cpy_r_abi_type); + cpy_r_r48 = cpy_r_abi_type; + cpy_r_r49 = CPyStatics[247]; /* 'to_type_str' */ + PyObject *cpy_r_r50[1] = {cpy_r_r48}; + cpy_r_r51 = (PyObject **)&cpy_r_r50; + cpy_r_r52 = PyObject_VectorcallMethod(cpy_r_r49, cpy_r_r51, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r52 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 166, CPyStatic_abi___globals); + goto CPyL58; + } + CPy_DECREF(cpy_r_r48); + cpy_r_r53 = PyTuple_Pack(2, cpy_r_r52, cpy_r_value_to_annotate); + CPy_DECREF(cpy_r_r52); + CPy_DECREF_NO_IMM(cpy_r_value_to_annotate); + if (unlikely(cpy_r_r53 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 166, CPyStatic_abi___globals); + goto CPyL44; + } + cpy_r_r54 = PyDict_New(); + if (unlikely(cpy_r_r54 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 166, CPyStatic_abi___globals); + goto CPyL59; + } + cpy_r_r55 = CPyDef_abi___ABITypedData(cpy_r_r53, cpy_r_r54); + CPy_DECREF(cpy_r_r53); + CPy_DECREF(cpy_r_r54); + if (unlikely(cpy_r_r55 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 166, CPyStatic_abi___globals); + goto CPyL44; + } + return cpy_r_r55; +CPyL44: ; + cpy_r_r56 = NULL; + return cpy_r_r56; +CPyL45: ; + CPy_DecRef(cpy_r_r3); + goto CPyL44; +CPyL46: ; + CPy_DecRef(cpy_r_r14); + goto CPyL44; +CPyL47: ; + CPy_DecRef(cpy_r_r14); + CPy_DecRef(cpy_r_r15); + goto CPyL44; +CPyL48: ; + CPy_DECREF(cpy_r_r14); + CPy_DECREF(cpy_r_r16); + goto CPyL16; +CPyL49: ; + CPy_DecRef(cpy_r_r14); + CPy_DecRef(cpy_r_r15); + CPy_DecRef(cpy_r_r16); + goto CPyL44; +CPyL50: ; + CPy_DecRef(cpy_r_r15); + goto CPyL44; +CPyL51: ; + CPy_DecRef(cpy_r_r28); + goto CPyL44; +CPyL52: ; + CPy_DecRef(cpy_r_r28); + CPy_DecRef(cpy_r_r29); + goto CPyL44; +CPyL53: ; + CPy_DecRef(cpy_r_r28); + CPy_DecRef(cpy_r_r29); + CPy_DecRef(cpy_r_r33); + goto CPyL44; +CPyL54: ; + CPy_DECREF(cpy_r_r33); + CPy_DECREF(cpy_r_r34); + goto CPyL30; +CPyL55: ; + CPy_DECREF(cpy_r_r33); + CPy_DECREF(cpy_r_r34); + CPy_DECREF(cpy_r_r35); + goto CPyL30; +CPyL56: ; + CPy_DecRef(cpy_r_r28); + CPy_DecRef(cpy_r_r29); + CPy_DecRef(cpy_r_r33); + CPy_DecRef(cpy_r_r34); + goto CPyL44; +CPyL57: ; + CPy_DecRef(cpy_r_r42); + goto CPyL44; +CPyL58: ; + CPy_DecRef(cpy_r_value_to_annotate); + CPy_DecRef(cpy_r_r48); + goto CPyL44; +CPyL59: ; + CPy_DecRef(cpy_r_r53); + goto CPyL44; +} + +PyObject *CPyPy_abi___abi_sub_tree(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"abi_type", "data_value", 0}; + static CPyArg_Parser parser = {"OO:abi_sub_tree", kwlist, 0}; + PyObject *obj_abi_type; + PyObject *obj_data_value; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_abi_type, &obj_data_value)) { + return NULL; + } + PyObject *arg_abi_type; + arg_abi_type = obj_abi_type; + if (arg_abi_type != NULL) goto __LL77; + if (obj_abi_type == Py_None) + arg_abi_type = obj_abi_type; + else { + arg_abi_type = NULL; + } + if (arg_abi_type != NULL) goto __LL77; + CPy_TypeError("object or None", obj_abi_type); + goto fail; +__LL77: ; + PyObject *arg_data_value = obj_data_value; + PyObject *retval = CPyDef_abi___abi_sub_tree(arg_abi_type, arg_data_value); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "abi_sub_tree", 143, CPyStatic_abi___globals); + return NULL; +} + +char CPyDef_abi_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r5; + void *cpy_r_r7; + void *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject **cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + int32_t cpy_r_r44; + char cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + CPyPtr cpy_r_r56; + CPyPtr cpy_r_r57; + CPyPtr cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + tuple_T2OO cpy_r_r68; + PyObject *cpy_r_r69; + PyObject *cpy_r_r70; + tuple_T2OO cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + PyObject *cpy_r_r75; + int32_t cpy_r_r76; + char cpy_r_r77; + PyObject *cpy_r_r78; + PyObject *cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + tuple_T2OO 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; + PyObject *cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + tuple_T2OO cpy_r_r98; + PyObject *cpy_r_r99; + PyObject *cpy_r_r100; + tuple_T2OO cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + PyObject *cpy_r_r104; + PyObject *cpy_r_r105; + int32_t cpy_r_r106; + char cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + PyObject *cpy_r_r111; + PyObject *cpy_r_r112; + PyObject *cpy_r_r113; + PyObject *cpy_r_r114; + PyObject *cpy_r_r115; + PyObject *cpy_r_r116; + PyObject *cpy_r_r117; + CPyPtr cpy_r_r118; + CPyPtr cpy_r_r119; + CPyPtr cpy_r_r120; + PyObject *cpy_r_r121; + PyObject *cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + PyObject *cpy_r_r126; + PyObject *cpy_r_r127; + PyObject *cpy_r_r128; + PyObject *cpy_r_r129; + tuple_T2OO cpy_r_r130; + PyObject *cpy_r_r131; + PyObject *cpy_r_r132; + tuple_T2OO cpy_r_r133; + PyObject *cpy_r_r134; + PyObject *cpy_r_r135; + PyObject *cpy_r_r136; + PyObject *cpy_r_r137; + int32_t cpy_r_r138; + char cpy_r_r139; + PyObject *cpy_r_r140; + PyObject *cpy_r_r141; + PyObject *cpy_r_r142; + PyObject *cpy_r_r143; + PyObject *cpy_r_r144; + int32_t cpy_r_r145; + char cpy_r_r146; + PyObject *cpy_r_r147; + PyObject *cpy_r_r148; + PyObject *cpy_r_r149; + PyObject *cpy_r_r150; + PyObject *cpy_r_r151; + int32_t cpy_r_r152; + char cpy_r_r153; + PyObject *cpy_r_r154; + PyObject *cpy_r_r155; + PyObject *cpy_r_r156; + PyObject *cpy_r_r157; + PyObject *cpy_r_r158; + PyObject *cpy_r_r159; + PyObject *cpy_r_r160; + int32_t cpy_r_r161; + char cpy_r_r162; + PyObject *cpy_r_r163; + PyObject *cpy_r_r164; + PyObject *cpy_r_r165; + PyObject *cpy_r_r166; + char cpy_r_r167; + PyObject *cpy_r_r168; + PyObject *cpy_r_r169; + PyObject *cpy_r_r170; + PyObject *cpy_r_r171; + int32_t cpy_r_r172; + char cpy_r_r173; + PyObject *cpy_r_r174; + PyObject *cpy_r_r175; + int32_t cpy_r_r176; + char cpy_r_r177; + PyObject *cpy_r_r178; + PyObject *cpy_r_r179; + PyObject *cpy_r_r180; + int32_t cpy_r_r181; + char cpy_r_r182; + PyObject *cpy_r_r183; + PyObject *cpy_r_r184; + PyObject *cpy_r_r185; + int32_t cpy_r_r186; + char cpy_r_r187; + PyObject *cpy_r_r188; + PyObject *cpy_r_r189; + PyObject *cpy_r_r190; + PyObject *cpy_r_r191; + char cpy_r_r192; + PyObject *cpy_r_r193; + PyObject *cpy_r_r194; + PyObject *cpy_r_r195; + int32_t cpy_r_r196; + char cpy_r_r197; + PyObject *cpy_r_r198; + PyObject *cpy_r_r199; + int32_t cpy_r_r200; + char cpy_r_r201; + PyObject *cpy_r_r202; + PyObject *cpy_r_r203; + PyObject *cpy_r_r204; + PyObject *cpy_r_r205; + char cpy_r_r206; + PyObject *cpy_r_r207; + PyObject *cpy_r_r208; + PyObject *cpy_r_r209; + PyObject *cpy_r_r210; + int32_t cpy_r_r211; + char cpy_r_r212; + PyObject *cpy_r_r213; + PyObject *cpy_r_r214; + int32_t cpy_r_r215; + char cpy_r_r216; + PyObject *cpy_r_r217; + tuple_T0 cpy_r_r218; + PyObject *cpy_r_r219; + PyObject *cpy_r_r220; + PyObject *cpy_r_r221; + PyObject *cpy_r_r222; + int32_t cpy_r_r223; + char cpy_r_r224; + PyObject *cpy_r_r225; + PyObject *cpy_r_r226; + int32_t cpy_r_r227; + char cpy_r_r228; + PyObject *cpy_r_r229; + int32_t cpy_r_r230; + char cpy_r_r231; + PyObject *cpy_r_r232; + PyObject *cpy_r_r233; + int32_t cpy_r_r234; + char cpy_r_r235; + PyObject *cpy_r_r236; + PyObject *cpy_r_r237; + int32_t cpy_r_r238; + char cpy_r_r239; + PyObject *cpy_r_r240; + PyObject *cpy_r_r241; + PyObject *cpy_r_r242; + PyObject *cpy_r_r243; + PyObject **cpy_r_r245; + PyObject *cpy_r_r246; + PyObject *cpy_r_r247; + PyObject *cpy_r_r248; + char cpy_r_r249; + char cpy_r_r250; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", -1, CPyStatic_abi___globals); + goto CPyL78; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = (PyObject **)&CPyModule_typing; + PyObject **cpy_r_r6[1] = {cpy_r_r5}; + 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[941]; /* (('typing', 'typing', 'typing'),) */ + cpy_r_r11 = CPyStatic_abi___globals; + cpy_r_r12 = CPyStatics[248]; /* 'dank_mids\\_web3\\abi.py' */ + cpy_r_r13 = CPyStatics[43]; /* '' */ + 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 CPyL78; + cpy_r_r15 = CPyStatics[942]; /* ('dataclass',) */ + cpy_r_r16 = CPyStatics[250]; /* 'dataclasses' */ + cpy_r_r17 = CPyStatic_abi___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\\_web3\\abi.py", "", 2, CPyStatic_abi___globals); + goto CPyL78; + } + CPyModule_dataclasses = cpy_r_r18; + CPy_INCREF(CPyModule_dataclasses); + CPy_DECREF(cpy_r_r18); + cpy_r_r19 = CPyStatics[943]; /* ('Any', 'Callable', 'Dict', 'Final', 'List', 'Optional', + 'Tuple', 'TypeVar', 'final') */ + cpy_r_r20 = CPyStatics[40]; /* 'typing' */ + cpy_r_r21 = CPyStatic_abi___globals; + cpy_r_r22 = CPyImport_ImportFromMany(cpy_r_r20, cpy_r_r19, cpy_r_r19, cpy_r_r21); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 3, CPyStatic_abi___globals); + goto CPyL78; + } + CPyModule_typing = cpy_r_r22; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r22); + cpy_r_r23 = CPyStatics[944]; /* ('TypeStr',) */ + cpy_r_r24 = CPyStatics[137]; /* 'eth_typing' */ + cpy_r_r25 = CPyStatic_abi___globals; + cpy_r_r26 = CPyImport_ImportFromMany(cpy_r_r24, cpy_r_r23, cpy_r_r23, cpy_r_r25); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 5, CPyStatic_abi___globals); + goto CPyL78; + } + CPyModule_eth_typing = cpy_r_r26; + CPy_INCREF(CPyModule_eth_typing); + CPy_DECREF(cpy_r_r26); + cpy_r_r27 = CPyStatics[945]; /* ('grammar',) */ + cpy_r_r28 = CPyStatics[256]; /* 'faster_eth_abi' */ + cpy_r_r29 = CPyStatic_abi___globals; + cpy_r_r30 = CPyImport_ImportFromMany(cpy_r_r28, cpy_r_r27, cpy_r_r27, cpy_r_r29); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 6, CPyStatic_abi___globals); + goto CPyL78; + } + CPyModule_faster_eth_abi = cpy_r_r30; + CPy_INCREF(CPyModule_faster_eth_abi); + CPy_DECREF(cpy_r_r30); + cpy_r_r31 = CPyStatics[946]; /* ('ABIType', 'TupleType') */ + cpy_r_r32 = CPyStatics[258]; /* 'faster_eth_abi.grammar' */ + cpy_r_r33 = CPyStatic_abi___globals; + cpy_r_r34 = CPyImport_ImportFromMany(cpy_r_r32, cpy_r_r31, cpy_r_r31, cpy_r_r33); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 7, CPyStatic_abi___globals); + goto CPyL78; + } + CPyModule_faster_eth_abi___grammar = cpy_r_r34; + CPy_INCREF(CPyModule_faster_eth_abi___grammar); + CPy_DECREF(cpy_r_r34); + cpy_r_r35 = CPyStatics[259]; /* '_T' */ + cpy_r_r36 = CPyStatic_abi___globals; + cpy_r_r37 = CPyStatics[37]; /* 'TypeVar' */ + cpy_r_r38 = CPyDict_GetItem(cpy_r_r36, cpy_r_r37); + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 10, CPyStatic_abi___globals); + goto CPyL78; + } + PyObject *cpy_r_r39[1] = {cpy_r_r35}; + cpy_r_r40 = (PyObject **)&cpy_r_r39; + cpy_r_r41 = PyObject_Vectorcall(cpy_r_r38, cpy_r_r40, 1, 0); + CPy_DECREF(cpy_r_r38); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 10, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r42 = CPyStatic_abi___globals; + cpy_r_r43 = CPyStatics[259]; /* '_T' */ + cpy_r_r44 = CPyDict_SetItem(cpy_r_r42, cpy_r_r43, cpy_r_r41); + CPy_DECREF(cpy_r_r41); + cpy_r_r45 = cpy_r_r44 >= 0; + if (unlikely(!cpy_r_r45)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 10, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r46 = CPyStatic_abi___globals; + cpy_r_r47 = CPyStatics[251]; /* 'Callable' */ + cpy_r_r48 = CPyDict_GetItem(cpy_r_r46, cpy_r_r47); + if (unlikely(cpy_r_r48 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 13, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r49 = CPyStatic_abi___globals; + cpy_r_r50 = CPyStatics[254]; /* 'TypeStr' */ + cpy_r_r51 = CPyDict_GetItem(cpy_r_r49, cpy_r_r50); + if (unlikely(cpy_r_r51 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 13, CPyStatic_abi___globals); + goto CPyL79; + } + cpy_r_r52 = CPyStatic_abi___globals; + cpy_r_r53 = CPyStatics[33]; /* 'Any' */ + cpy_r_r54 = CPyDict_GetItem(cpy_r_r52, cpy_r_r53); + if (unlikely(cpy_r_r54 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 13, CPyStatic_abi___globals); + goto CPyL80; + } + cpy_r_r55 = PyList_New(2); + if (unlikely(cpy_r_r55 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 13, CPyStatic_abi___globals); + goto CPyL81; + } + cpy_r_r56 = (CPyPtr)&((PyListObject *)cpy_r_r55)->ob_item; + cpy_r_r57 = *(CPyPtr *)cpy_r_r56; + *(PyObject * *)cpy_r_r57 = cpy_r_r51; + cpy_r_r58 = cpy_r_r57 + 8; + *(PyObject * *)cpy_r_r58 = cpy_r_r54; + cpy_r_r59 = CPyStatic_abi___globals; + cpy_r_r60 = CPyStatics[253]; /* 'Tuple' */ + cpy_r_r61 = CPyDict_GetItem(cpy_r_r59, cpy_r_r60); + if (unlikely(cpy_r_r61 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 13, CPyStatic_abi___globals); + goto CPyL82; + } + cpy_r_r62 = CPyStatic_abi___globals; + cpy_r_r63 = CPyStatics[254]; /* 'TypeStr' */ + cpy_r_r64 = CPyDict_GetItem(cpy_r_r62, cpy_r_r63); + if (unlikely(cpy_r_r64 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 13, CPyStatic_abi___globals); + goto CPyL83; + } + cpy_r_r65 = CPyStatic_abi___globals; + cpy_r_r66 = CPyStatics[33]; /* 'Any' */ + cpy_r_r67 = CPyDict_GetItem(cpy_r_r65, cpy_r_r66); + if (unlikely(cpy_r_r67 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 13, CPyStatic_abi___globals); + goto CPyL84; + } + cpy_r_r68.f0 = cpy_r_r64; + cpy_r_r68.f1 = cpy_r_r67; + cpy_r_r69 = PyTuple_New(2); + if (unlikely(cpy_r_r69 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp78 = cpy_r_r68.f0; + PyTuple_SET_ITEM(cpy_r_r69, 0, __tmp78); + PyObject *__tmp79 = cpy_r_r68.f1; + PyTuple_SET_ITEM(cpy_r_r69, 1, __tmp79); + cpy_r_r70 = PyObject_GetItem(cpy_r_r61, cpy_r_r69); + CPy_DECREF(cpy_r_r61); + CPy_DECREF(cpy_r_r69); + if (unlikely(cpy_r_r70 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 13, CPyStatic_abi___globals); + goto CPyL82; + } + cpy_r_r71.f0 = cpy_r_r55; + cpy_r_r71.f1 = cpy_r_r70; + cpy_r_r72 = PyTuple_New(2); + if (unlikely(cpy_r_r72 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp80 = cpy_r_r71.f0; + PyTuple_SET_ITEM(cpy_r_r72, 0, __tmp80); + PyObject *__tmp81 = cpy_r_r71.f1; + PyTuple_SET_ITEM(cpy_r_r72, 1, __tmp81); + cpy_r_r73 = PyObject_GetItem(cpy_r_r48, cpy_r_r72); + CPy_DECREF(cpy_r_r48); + CPy_DECREF(cpy_r_r72); + if (unlikely(cpy_r_r73 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 13, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r74 = CPyStatic_abi___globals; + cpy_r_r75 = CPyStatics[260]; /* 'Normalizer' */ + 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; + if (unlikely(!cpy_r_r77)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 13, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r78 = CPyStatic_abi___globals; + cpy_r_r79 = CPyStatics[253]; /* 'Tuple' */ + cpy_r_r80 = CPyDict_GetItem(cpy_r_r78, cpy_r_r79); + if (unlikely(cpy_r_r80 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 14, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r81 = CPyStatic_abi___globals; + cpy_r_r82 = CPyStatics[253]; /* 'Tuple' */ + cpy_r_r83 = CPyDict_GetItem(cpy_r_r81, cpy_r_r82); + if (unlikely(cpy_r_r83 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 14, CPyStatic_abi___globals); + goto CPyL85; + } + cpy_r_r84 = CPyStatic_abi___globals; + cpy_r_r85 = CPyStatics[260]; /* 'Normalizer' */ + cpy_r_r86 = CPyDict_GetItem(cpy_r_r84, cpy_r_r85); + if (unlikely(cpy_r_r86 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 14, CPyStatic_abi___globals); + goto CPyL86; + } + cpy_r_r87 = (PyObject *)&_Py_EllipsisObject; + CPy_INCREF(cpy_r_r87); + cpy_r_r88.f0 = cpy_r_r86; + cpy_r_r88.f1 = cpy_r_r87; + cpy_r_r89 = PyTuple_New(2); + if (unlikely(cpy_r_r89 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp82 = cpy_r_r88.f0; + PyTuple_SET_ITEM(cpy_r_r89, 0, __tmp82); + PyObject *__tmp83 = cpy_r_r88.f1; + PyTuple_SET_ITEM(cpy_r_r89, 1, __tmp83); + cpy_r_r90 = PyObject_GetItem(cpy_r_r83, cpy_r_r89); + CPy_DECREF(cpy_r_r83); + CPy_DECREF(cpy_r_r89); + if (unlikely(cpy_r_r90 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 14, CPyStatic_abi___globals); + goto CPyL85; + } + cpy_r_r91 = CPyStatic_abi___globals; + cpy_r_r92 = CPyStatics[253]; /* 'Tuple' */ + cpy_r_r93 = CPyDict_GetItem(cpy_r_r91, cpy_r_r92); + if (unlikely(cpy_r_r93 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 14, CPyStatic_abi___globals); + goto CPyL87; + } + cpy_r_r94 = CPyStatic_abi___globals; + cpy_r_r95 = CPyStatics[254]; /* 'TypeStr' */ + cpy_r_r96 = CPyDict_GetItem(cpy_r_r94, cpy_r_r95); + if (unlikely(cpy_r_r96 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 14, CPyStatic_abi___globals); + goto CPyL88; + } + cpy_r_r97 = (PyObject *)&_Py_EllipsisObject; + CPy_INCREF(cpy_r_r97); + cpy_r_r98.f0 = cpy_r_r96; + cpy_r_r98.f1 = cpy_r_r97; + cpy_r_r99 = PyTuple_New(2); + if (unlikely(cpy_r_r99 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp84 = cpy_r_r98.f0; + PyTuple_SET_ITEM(cpy_r_r99, 0, __tmp84); + PyObject *__tmp85 = cpy_r_r98.f1; + PyTuple_SET_ITEM(cpy_r_r99, 1, __tmp85); + cpy_r_r100 = PyObject_GetItem(cpy_r_r93, cpy_r_r99); + CPy_DECREF(cpy_r_r93); + CPy_DECREF(cpy_r_r99); + if (unlikely(cpy_r_r100 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 14, CPyStatic_abi___globals); + goto CPyL87; + } + cpy_r_r101.f0 = cpy_r_r90; + cpy_r_r101.f1 = cpy_r_r100; + cpy_r_r102 = PyTuple_New(2); + if (unlikely(cpy_r_r102 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp86 = cpy_r_r101.f0; + PyTuple_SET_ITEM(cpy_r_r102, 0, __tmp86); + PyObject *__tmp87 = cpy_r_r101.f1; + PyTuple_SET_ITEM(cpy_r_r102, 1, __tmp87); + cpy_r_r103 = PyObject_GetItem(cpy_r_r80, cpy_r_r102); + CPy_DECREF(cpy_r_r80); + CPy_DECREF(cpy_r_r102); + if (unlikely(cpy_r_r103 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 14, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r104 = CPyStatic_abi___globals; + cpy_r_r105 = CPyStatics[261]; /* 'MapperKey' */ + cpy_r_r106 = CPyDict_SetItem(cpy_r_r104, cpy_r_r105, cpy_r_r103); + CPy_DECREF(cpy_r_r103); + cpy_r_r107 = cpy_r_r106 >= 0; + if (unlikely(!cpy_r_r107)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 14, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r108 = CPyStatic_abi___globals; + cpy_r_r109 = CPyStatics[251]; /* 'Callable' */ + cpy_r_r110 = CPyDict_GetItem(cpy_r_r108, cpy_r_r109); + if (unlikely(cpy_r_r110 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 15, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r111 = CPyStatic_abi___globals; + cpy_r_r112 = CPyStatics[254]; /* 'TypeStr' */ + cpy_r_r113 = CPyDict_GetItem(cpy_r_r111, cpy_r_r112); + if (unlikely(cpy_r_r113 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 15, CPyStatic_abi___globals); + goto CPyL89; + } + cpy_r_r114 = CPyStatic_abi___globals; + cpy_r_r115 = CPyStatics[33]; /* 'Any' */ + cpy_r_r116 = CPyDict_GetItem(cpy_r_r114, cpy_r_r115); + if (unlikely(cpy_r_r116 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 15, CPyStatic_abi___globals); + goto CPyL90; + } + cpy_r_r117 = PyList_New(2); + if (unlikely(cpy_r_r117 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 15, CPyStatic_abi___globals); + goto CPyL91; + } + cpy_r_r118 = (CPyPtr)&((PyListObject *)cpy_r_r117)->ob_item; + cpy_r_r119 = *(CPyPtr *)cpy_r_r118; + *(PyObject * *)cpy_r_r119 = cpy_r_r113; + cpy_r_r120 = cpy_r_r119 + 8; + *(PyObject * *)cpy_r_r120 = cpy_r_r116; + cpy_r_r121 = CPyStatic_abi___globals; + cpy_r_r122 = CPyStatics[253]; /* 'Tuple' */ + cpy_r_r123 = CPyDict_GetItem(cpy_r_r121, cpy_r_r122); + if (unlikely(cpy_r_r123 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 15, CPyStatic_abi___globals); + goto CPyL92; + } + cpy_r_r124 = CPyStatic_abi___globals; + cpy_r_r125 = CPyStatics[254]; /* 'TypeStr' */ + cpy_r_r126 = CPyDict_GetItem(cpy_r_r124, cpy_r_r125); + if (unlikely(cpy_r_r126 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 15, CPyStatic_abi___globals); + goto CPyL93; + } + cpy_r_r127 = CPyStatic_abi___globals; + cpy_r_r128 = CPyStatics[33]; /* 'Any' */ + cpy_r_r129 = CPyDict_GetItem(cpy_r_r127, cpy_r_r128); + if (unlikely(cpy_r_r129 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 15, CPyStatic_abi___globals); + goto CPyL94; + } + cpy_r_r130.f0 = cpy_r_r126; + cpy_r_r130.f1 = cpy_r_r129; + cpy_r_r131 = PyTuple_New(2); + if (unlikely(cpy_r_r131 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp88 = cpy_r_r130.f0; + PyTuple_SET_ITEM(cpy_r_r131, 0, __tmp88); + PyObject *__tmp89 = cpy_r_r130.f1; + PyTuple_SET_ITEM(cpy_r_r131, 1, __tmp89); + cpy_r_r132 = PyObject_GetItem(cpy_r_r123, cpy_r_r131); + CPy_DECREF(cpy_r_r123); + CPy_DECREF(cpy_r_r131); + if (unlikely(cpy_r_r132 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 15, CPyStatic_abi___globals); + goto CPyL92; + } + cpy_r_r133.f0 = cpy_r_r117; + cpy_r_r133.f1 = cpy_r_r132; + cpy_r_r134 = PyTuple_New(2); + if (unlikely(cpy_r_r134 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp90 = cpy_r_r133.f0; + PyTuple_SET_ITEM(cpy_r_r134, 0, __tmp90); + PyObject *__tmp91 = cpy_r_r133.f1; + PyTuple_SET_ITEM(cpy_r_r134, 1, __tmp91); + cpy_r_r135 = PyObject_GetItem(cpy_r_r110, cpy_r_r134); + CPy_DECREF(cpy_r_r110); + CPy_DECREF(cpy_r_r134); + if (unlikely(cpy_r_r135 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 15, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r136 = CPyStatic_abi___globals; + cpy_r_r137 = CPyStatics[262]; /* 'DataTreeFunc' */ + cpy_r_r138 = CPyDict_SetItem(cpy_r_r136, cpy_r_r137, cpy_r_r135); + CPy_DECREF(cpy_r_r135); + cpy_r_r139 = cpy_r_r138 >= 0; + if (unlikely(!cpy_r_r139)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 15, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r140 = CPyModule_typing; + cpy_r_r141 = CPyStatics[263]; /* 'Iterable' */ + cpy_r_r142 = CPyObject_GetAttr(cpy_r_r140, cpy_r_r141); + if (unlikely(cpy_r_r142 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 19, CPyStatic_abi___globals); + goto CPyL78; + } + CPyStatic_abi___Iterable = cpy_r_r142; + CPy_INCREF(CPyStatic_abi___Iterable); + cpy_r_r143 = CPyStatic_abi___globals; + cpy_r_r144 = CPyStatics[263]; /* 'Iterable' */ + cpy_r_r145 = CPyDict_SetItem(cpy_r_r143, cpy_r_r144, cpy_r_r142); + CPy_DECREF(cpy_r_r142); + cpy_r_r146 = cpy_r_r145 >= 0; + if (unlikely(!cpy_r_r146)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 19, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r147 = CPyModule_typing; + cpy_r_r148 = CPyStatics[264]; /* 'Mapping' */ + cpy_r_r149 = CPyObject_GetAttr(cpy_r_r147, cpy_r_r148); + if (unlikely(cpy_r_r149 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 20, CPyStatic_abi___globals); + goto CPyL78; + } + CPyStatic_abi___Mapping = cpy_r_r149; + CPy_INCREF(CPyStatic_abi___Mapping); + cpy_r_r150 = CPyStatic_abi___globals; + cpy_r_r151 = CPyStatics[264]; /* 'Mapping' */ + cpy_r_r152 = CPyDict_SetItem(cpy_r_r150, cpy_r_r151, cpy_r_r149); + CPy_DECREF(cpy_r_r149); + cpy_r_r153 = cpy_r_r152 >= 0; + if (unlikely(!cpy_r_r153)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 20, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r154 = CPyStatic_abi___globals; + cpy_r_r155 = CPyStatics[255]; /* 'grammar' */ + cpy_r_r156 = CPyDict_GetItem(cpy_r_r154, cpy_r_r155); + if (unlikely(cpy_r_r156 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 23, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r157 = CPyStatics[265]; /* 'parse' */ + cpy_r_r158 = CPyObject_GetAttr(cpy_r_r156, cpy_r_r157); + CPy_DECREF(cpy_r_r156); + if (unlikely(cpy_r_r158 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 23, CPyStatic_abi___globals); + goto CPyL78; + } + CPyStatic_abi___parse = cpy_r_r158; + CPy_INCREF(CPyStatic_abi___parse); + cpy_r_r159 = CPyStatic_abi___globals; + cpy_r_r160 = CPyStatics[265]; /* 'parse' */ + cpy_r_r161 = CPyDict_SetItem(cpy_r_r159, cpy_r_r160, cpy_r_r158); + CPy_DECREF(cpy_r_r158); + cpy_r_r162 = cpy_r_r161 >= 0; + if (unlikely(!cpy_r_r162)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 23, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r163 = NULL; + cpy_r_r164 = CPyStatics[266]; /* 'dank_mids._web3.abi' */ + cpy_r_r165 = (PyObject *)CPyType_abi___Formatter_template; + cpy_r_r166 = CPyType_FromTemplate(cpy_r_r165, cpy_r_r163, cpy_r_r164); + if (unlikely(cpy_r_r166 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 27, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r167 = CPyDef_abi___Formatter_trait_vtable_setup(); + if (unlikely(cpy_r_r167 == 2)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", -1, CPyStatic_abi___globals); + goto CPyL95; + } + cpy_r_r168 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r169 = CPyStatics[110]; /* 'normalizers' */ + cpy_r_r170 = CPyStatics[267]; /* 'types' */ + cpy_r_r171 = PyTuple_Pack(2, cpy_r_r169, cpy_r_r170); + if (unlikely(cpy_r_r171 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 27, CPyStatic_abi___globals); + goto CPyL95; + } + cpy_r_r172 = PyObject_SetAttr(cpy_r_r166, cpy_r_r168, cpy_r_r171); + CPy_DECREF(cpy_r_r171); + cpy_r_r173 = cpy_r_r172 >= 0; + if (unlikely(!cpy_r_r173)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 27, CPyStatic_abi___globals); + goto CPyL95; + } + CPyType_abi___Formatter = (PyTypeObject *)cpy_r_r166; + CPy_INCREF(CPyType_abi___Formatter); + cpy_r_r174 = CPyStatic_abi___globals; + cpy_r_r175 = CPyStatics[268]; /* 'Formatter' */ + cpy_r_r176 = PyDict_SetItem(cpy_r_r174, cpy_r_r175, cpy_r_r166); + CPy_DECREF(cpy_r_r166); + cpy_r_r177 = cpy_r_r176 >= 0; + if (unlikely(!cpy_r_r177)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 27, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r178 = PyDict_New(); + if (unlikely(cpy_r_r178 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 49, CPyStatic_abi___globals); + goto CPyL78; + } + CPyStatic_abi____formatters = cpy_r_r178; + CPy_INCREF(CPyStatic_abi____formatters); + cpy_r_r179 = CPyStatic_abi___globals; + cpy_r_r180 = CPyStatics[269]; /* '_formatters' */ + cpy_r_r181 = CPyDict_SetItem(cpy_r_r179, cpy_r_r180, cpy_r_r178); + CPy_DECREF(cpy_r_r178); + cpy_r_r182 = cpy_r_r181 >= 0; + if (unlikely(!cpy_r_r182)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 49, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r183 = PyDict_New(); + if (unlikely(cpy_r_r183 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 64, CPyStatic_abi___globals); + goto CPyL78; + } + CPyStatic_abi____data_tree_maps = cpy_r_r183; + CPy_INCREF(CPyStatic_abi____data_tree_maps); + cpy_r_r184 = CPyStatic_abi___globals; + cpy_r_r185 = CPyStatics[270]; /* '_data_tree_maps' */ + cpy_r_r186 = CPyDict_SetItem(cpy_r_r184, cpy_r_r185, cpy_r_r183); + CPy_DECREF(cpy_r_r183); + cpy_r_r187 = cpy_r_r186 >= 0; + if (unlikely(!cpy_r_r187)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 64, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r188 = NULL; + cpy_r_r189 = CPyStatics[266]; /* 'dank_mids._web3.abi' */ + cpy_r_r190 = (PyObject *)CPyType_abi___map_to_typed_data_template; + cpy_r_r191 = CPyType_FromTemplate(cpy_r_r190, cpy_r_r188, cpy_r_r189); + if (unlikely(cpy_r_r191 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 77, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r192 = CPyDef_abi___map_to_typed_data_trait_vtable_setup(); + if (unlikely(cpy_r_r192 == 2)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", -1, CPyStatic_abi___globals); + goto CPyL96; + } + cpy_r_r193 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r194 = CPyStatics[241]; /* 'func' */ + cpy_r_r195 = PyTuple_Pack(1, cpy_r_r194); + if (unlikely(cpy_r_r195 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 77, CPyStatic_abi___globals); + goto CPyL96; + } + cpy_r_r196 = PyObject_SetAttr(cpy_r_r191, cpy_r_r193, cpy_r_r195); + CPy_DECREF(cpy_r_r195); + cpy_r_r197 = cpy_r_r196 >= 0; + if (unlikely(!cpy_r_r197)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 77, CPyStatic_abi___globals); + goto CPyL96; + } + CPyType_abi___map_to_typed_data = (PyTypeObject *)cpy_r_r191; + CPy_INCREF(CPyType_abi___map_to_typed_data); + cpy_r_r198 = CPyStatic_abi___globals; + cpy_r_r199 = CPyStatics[271]; /* 'map_to_typed_data' */ + cpy_r_r200 = PyDict_SetItem(cpy_r_r198, cpy_r_r199, cpy_r_r191); + CPy_DECREF(cpy_r_r191); + cpy_r_r201 = cpy_r_r200 >= 0; + if (unlikely(!cpy_r_r201)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 77, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r202 = NULL; + cpy_r_r203 = CPyStatics[266]; /* 'dank_mids._web3.abi' */ + cpy_r_r204 = (PyObject *)CPyType_abi___ABITypedData_template; + cpy_r_r205 = CPyType_FromTemplate(cpy_r_r204, cpy_r_r202, cpy_r_r203); + if (unlikely(cpy_r_r205 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 118, CPyStatic_abi___globals); + goto CPyL78; + } + cpy_r_r206 = CPyDef_abi___ABITypedData_trait_vtable_setup(); + if (unlikely(cpy_r_r206 == 2)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", -1, CPyStatic_abi___globals); + goto CPyL97; + } + cpy_r_r207 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r208 = CPyStatics[272]; /* 'abi_type' */ + cpy_r_r209 = CPyStatics[167]; /* 'data' */ + cpy_r_r210 = PyTuple_Pack(2, cpy_r_r208, cpy_r_r209); + if (unlikely(cpy_r_r210 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 118, CPyStatic_abi___globals); + goto CPyL97; + } + cpy_r_r211 = PyObject_SetAttr(cpy_r_r205, cpy_r_r207, cpy_r_r210); + CPy_DECREF(cpy_r_r210); + cpy_r_r212 = cpy_r_r211 >= 0; + if (unlikely(!cpy_r_r212)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 118, CPyStatic_abi___globals); + goto CPyL97; + } + CPyType_abi___ABITypedData = (PyTypeObject *)cpy_r_r205; + CPy_INCREF(CPyType_abi___ABITypedData); + cpy_r_r213 = CPyStatic_abi___globals; + cpy_r_r214 = CPyStatics[273]; /* 'ABITypedData' */ + cpy_r_r215 = PyDict_SetItem(cpy_r_r213, cpy_r_r214, cpy_r_r205); + cpy_r_r216 = cpy_r_r215 >= 0; + if (unlikely(!cpy_r_r216)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 118, CPyStatic_abi___globals); + goto CPyL97; + } + cpy_r_r217 = PyDict_New(); + if (unlikely(cpy_r_r217 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 118, CPyStatic_abi___globals); + goto CPyL97; + } + cpy_r_r218.empty_struct_error_flag = 0; + cpy_r_r219 = PyDict_New(); + if (unlikely(cpy_r_r219 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 118, CPyStatic_abi___globals); + goto CPyL98; + } + cpy_r_r220 = (PyObject *)&PyType_Type; + cpy_r_r221 = (PyObject *)&PyType_Type; + cpy_r_r222 = CPyStatics[272]; /* 'abi_type' */ + cpy_r_r223 = PyDict_SetItem(cpy_r_r219, cpy_r_r222, cpy_r_r221); + cpy_r_r224 = cpy_r_r223 >= 0; + if (unlikely(!cpy_r_r224)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 139, CPyStatic_abi___globals); + goto CPyL99; + } + cpy_r_r225 = (PyObject *)&PyType_Type; + cpy_r_r226 = CPyStatics[167]; /* 'data' */ + cpy_r_r227 = PyDict_SetItem(cpy_r_r219, cpy_r_r226, cpy_r_r225); + cpy_r_r228 = cpy_r_r227 >= 0; + if (unlikely(!cpy_r_r228)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 140, CPyStatic_abi___globals); + goto CPyL99; + } + cpy_r_r229 = CPyStatics[232]; /* '__annotations__' */ + cpy_r_r230 = CPyDict_SetItem(cpy_r_r217, cpy_r_r229, cpy_r_r219); + cpy_r_r231 = cpy_r_r230 >= 0; + if (unlikely(!cpy_r_r231)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 118, CPyStatic_abi___globals); + goto CPyL99; + } + cpy_r_r232 = CPyStatics[233]; /* 'mypyc filler docstring' */ + cpy_r_r233 = CPyStatics[234]; /* '__doc__' */ + cpy_r_r234 = CPyDict_SetItem(cpy_r_r217, cpy_r_r233, cpy_r_r232); + cpy_r_r235 = cpy_r_r234 >= 0; + if (unlikely(!cpy_r_r235)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 118, CPyStatic_abi___globals); + goto CPyL99; + } + cpy_r_r236 = CPyStatics[266]; /* 'dank_mids._web3.abi' */ + cpy_r_r237 = CPyStatics[236]; /* '__module__' */ + cpy_r_r238 = CPyDict_SetItem(cpy_r_r217, cpy_r_r237, cpy_r_r236); + cpy_r_r239 = cpy_r_r238 >= 0; + if (unlikely(!cpy_r_r239)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 118, CPyStatic_abi___globals); + goto CPyL99; + } + cpy_r_r240 = CPyStatic_abi___globals; + cpy_r_r241 = CPyStatics[249]; /* 'dataclass' */ + cpy_r_r242 = CPyDict_GetItem(cpy_r_r240, cpy_r_r241); + if (unlikely(cpy_r_r242 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 117, CPyStatic_abi___globals); + goto CPyL99; + } + cpy_r_r243 = 1 ? Py_True : Py_False; + PyObject *cpy_r_r244[1] = {cpy_r_r243}; + cpy_r_r245 = (PyObject **)&cpy_r_r244; + cpy_r_r246 = CPyStatics[947]; /* ('frozen',) */ + cpy_r_r247 = PyObject_Vectorcall(cpy_r_r242, cpy_r_r245, 0, cpy_r_r246); + CPy_DECREF(cpy_r_r242); + if (unlikely(cpy_r_r247 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 117, CPyStatic_abi___globals); + goto CPyL99; + } + cpy_r_r248 = CPyStatics[250]; /* 'dataclasses' */ + cpy_r_r249 = CPyDataclass_SleightOfHand(cpy_r_r247, cpy_r_r205, cpy_r_r217, cpy_r_r219, cpy_r_r248); + CPy_DECREF(cpy_r_r247); + CPy_DECREF(cpy_r_r205); + CPy_DECREF(cpy_r_r217); + CPy_DECREF(cpy_r_r219); + if (unlikely(!cpy_r_r249)) { + CPy_AddTraceback("dank_mids\\_web3\\abi.py", "", 118, CPyStatic_abi___globals); + goto CPyL78; + } + return 1; +CPyL78: ; + cpy_r_r250 = 2; + return cpy_r_r250; +CPyL79: ; + CPy_DecRef(cpy_r_r48); + goto CPyL78; +CPyL80: ; + CPy_DecRef(cpy_r_r48); + CPy_DecRef(cpy_r_r51); + goto CPyL78; +CPyL81: ; + CPy_DecRef(cpy_r_r48); + CPy_DecRef(cpy_r_r51); + CPy_DecRef(cpy_r_r54); + goto CPyL78; +CPyL82: ; + CPy_DecRef(cpy_r_r48); + CPy_DecRef(cpy_r_r55); + goto CPyL78; +CPyL83: ; + CPy_DecRef(cpy_r_r48); + CPy_DecRef(cpy_r_r55); + CPy_DecRef(cpy_r_r61); + goto CPyL78; +CPyL84: ; + CPy_DecRef(cpy_r_r48); + CPy_DecRef(cpy_r_r55); + CPy_DecRef(cpy_r_r61); + CPy_DecRef(cpy_r_r64); + goto CPyL78; +CPyL85: ; + CPy_DecRef(cpy_r_r80); + goto CPyL78; +CPyL86: ; + CPy_DecRef(cpy_r_r80); + CPy_DecRef(cpy_r_r83); + goto CPyL78; +CPyL87: ; + CPy_DecRef(cpy_r_r80); + CPy_DecRef(cpy_r_r90); + goto CPyL78; +CPyL88: ; + CPy_DecRef(cpy_r_r80); + CPy_DecRef(cpy_r_r90); + CPy_DecRef(cpy_r_r93); + goto CPyL78; +CPyL89: ; + CPy_DecRef(cpy_r_r110); + goto CPyL78; +CPyL90: ; + CPy_DecRef(cpy_r_r110); + CPy_DecRef(cpy_r_r113); + goto CPyL78; +CPyL91: ; + CPy_DecRef(cpy_r_r110); + CPy_DecRef(cpy_r_r113); + CPy_DecRef(cpy_r_r116); + goto CPyL78; +CPyL92: ; + CPy_DecRef(cpy_r_r110); + CPy_DecRef(cpy_r_r117); + goto CPyL78; +CPyL93: ; + CPy_DecRef(cpy_r_r110); + CPy_DecRef(cpy_r_r117); + CPy_DecRef(cpy_r_r123); + goto CPyL78; +CPyL94: ; + CPy_DecRef(cpy_r_r110); + CPy_DecRef(cpy_r_r117); + CPy_DecRef(cpy_r_r123); + CPy_DecRef(cpy_r_r126); + goto CPyL78; +CPyL95: ; + CPy_DecRef(cpy_r_r166); + goto CPyL78; +CPyL96: ; + CPy_DecRef(cpy_r_r191); + goto CPyL78; +CPyL97: ; + CPy_DecRef(cpy_r_r205); + goto CPyL78; +CPyL98: ; + CPy_DecRef(cpy_r_r205); + CPy_DecRef(cpy_r_r217); + goto CPyL78; +CPyL99: ; + CPy_DecRef(cpy_r_r205); + CPy_DecRef(cpy_r_r217); + CPy_DecRef(cpy_r_r219); + goto CPyL78; +} + +PyObject *CPyDef_formatters_____mypyc__abi_request_formatters_gen_setup(PyObject *cpy_r_type); +PyObject *CPyDef_formatters___abi_request_formatters_gen(void); + +static PyObject * +formatters___abi_request_formatters_gen_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_formatters___abi_request_formatters_gen) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_formatters_____mypyc__abi_request_formatters_gen_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +formatters___abi_request_formatters_gen_traverse(dank_mids____web3___formatters___abi_request_formatters_genObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_generator_attribute__normalizers); + Py_VISIT(self->___mypyc_generator_attribute__abis); + Py_VISIT(self->___mypyc_temp__0); + Py_VISIT(self->___mypyc_temp__3); + Py_VISIT(self->___mypyc_generator_attribute__method); + Py_VISIT(self->___mypyc_generator_attribute__abi_types); + Py_VISIT(self->___mypyc_generator_attribute__single_dict_formatter); + return 0; +} + +static int +formatters___abi_request_formatters_gen_clear(dank_mids____web3___formatters___abi_request_formatters_genObject *self) +{ + Py_CLEAR(self->___mypyc_generator_attribute__normalizers); + Py_CLEAR(self->___mypyc_generator_attribute__abis); + Py_CLEAR(self->___mypyc_temp__0); + Py_CLEAR(self->___mypyc_temp__3); + Py_CLEAR(self->___mypyc_generator_attribute__method); + Py_CLEAR(self->___mypyc_generator_attribute__abi_types); + Py_CLEAR(self->___mypyc_generator_attribute__single_dict_formatter); + return 0; +} + +static void +formatters___abi_request_formatters_gen_dealloc(dank_mids____web3___formatters___abi_request_formatters_genObject *self) +{ + PyObject_GC_UnTrack(self); + if (formatters___abi_request_formatters_gen_free_instance == NULL) { + formatters___abi_request_formatters_gen_free_instance = self; + Py_CLEAR(self->___mypyc_generator_attribute__normalizers); + Py_CLEAR(self->___mypyc_generator_attribute__abis); + self->___mypyc_next_label__ = -113; + Py_CLEAR(self->___mypyc_temp__0); + self->___mypyc_temp__1 = CPY_INT_TAG; + self->___mypyc_temp__2 = -113; + Py_CLEAR(self->___mypyc_temp__3); + Py_CLEAR(self->___mypyc_generator_attribute__method); + Py_CLEAR(self->___mypyc_generator_attribute__abi_types); + Py_CLEAR(self->___mypyc_generator_attribute__single_dict_formatter); + return; + } + CPy_TRASHCAN_BEGIN(self, formatters___abi_request_formatters_gen_dealloc) + formatters___abi_request_formatters_gen_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem formatters___abi_request_formatters_gen_vtable[6]; +static bool +CPyDef_formatters___abi_request_formatters_gen_trait_vtable_setup(void) +{ + CPyVTableItem formatters___abi_request_formatters_gen_vtable_scratch[] = { + (CPyVTableItem)CPyDef_formatters___abi_request_formatters_gen_____mypyc_generator_helper__, + (CPyVTableItem)CPyDef_formatters___abi_request_formatters_gen_____next__, + (CPyVTableItem)CPyDef_formatters___abi_request_formatters_gen___send, + (CPyVTableItem)CPyDef_formatters___abi_request_formatters_gen_____iter__, + (CPyVTableItem)CPyDef_formatters___abi_request_formatters_gen___throw, + (CPyVTableItem)CPyDef_formatters___abi_request_formatters_gen___close, + }; + memcpy(formatters___abi_request_formatters_gen_vtable, formatters___abi_request_formatters_gen_vtable_scratch, sizeof(formatters___abi_request_formatters_gen_vtable)); + return 1; +} + +static PyMethodDef formatters___abi_request_formatters_gen_methods[] = { + {"__next__", + (PyCFunction)CPyPy_formatters___abi_request_formatters_gen_____next__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__next__()\n--\n\n")}, + {"send", + (PyCFunction)CPyPy_formatters___abi_request_formatters_gen___send, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("send($arg)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy_formatters___abi_request_formatters_gen_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__()\n--\n\n")}, + {"throw", + (PyCFunction)CPyPy_formatters___abi_request_formatters_gen___throw, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"close", + (PyCFunction)CPyPy_formatters___abi_request_formatters_gen___close, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("close()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_formatters___abi_request_formatters_gen_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "abi_request_formatters_gen", + .tp_new = formatters___abi_request_formatters_gen_new, + .tp_dealloc = (destructor)formatters___abi_request_formatters_gen_dealloc, + .tp_traverse = (traverseproc)formatters___abi_request_formatters_gen_traverse, + .tp_clear = (inquiry)formatters___abi_request_formatters_gen_clear, + .tp_methods = formatters___abi_request_formatters_gen_methods, + .tp_iter = CPyDef_formatters___abi_request_formatters_gen_____iter__, + .tp_iternext = CPyDef_formatters___abi_request_formatters_gen_____next__, + .tp_basicsize = sizeof(dank_mids____web3___formatters___abi_request_formatters_genObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("abi_request_formatters_gen()\n--\n\n"), +}; +static PyTypeObject *CPyType_formatters___abi_request_formatters_gen_template = &CPyType_formatters___abi_request_formatters_gen_template_; + +PyObject *CPyDef_formatters_____mypyc__abi_request_formatters_gen_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids____web3___formatters___abi_request_formatters_genObject *self; + if (formatters___abi_request_formatters_gen_free_instance != NULL) { + self = formatters___abi_request_formatters_gen_free_instance; + formatters___abi_request_formatters_gen_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids____web3___formatters___abi_request_formatters_genObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = formatters___abi_request_formatters_gen_vtable; + self->___mypyc_next_label__ = -113; + self->___mypyc_temp__1 = CPY_INT_TAG; + self->___mypyc_temp__2 = -113; + return (PyObject *)self; +} + +PyObject *CPyDef_formatters___abi_request_formatters_gen(void) +{ + PyObject *self = CPyDef_formatters_____mypyc__abi_request_formatters_gen_setup((PyObject *)CPyType_formatters___abi_request_formatters_gen); + if (self == NULL) + return NULL; + return self; +} + +static PyMethodDef formattersmodule_methods[] = { + {"return_as_is", (PyCFunction)CPyPy_formatters___return_as_is, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("return_as_is(x)\n--\n\n") /* docstring */}, + {"abi_request_formatters", (PyCFunction)CPyPy_formatters___abi_request_formatters, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("abi_request_formatters(normalizers, abis)\n--\n\n") /* docstring */}, + {"get_request_formatters", (PyCFunction)CPyPy_formatters___get_request_formatters, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("get_request_formatters(method_name)\n--\n\n") /* docstring */}, + {"_get_response_formatters", (PyCFunction)CPyPy_formatters____get_response_formatters, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_get_response_formatters(method)\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids____web3___formatters(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids____web3___formatters__internal, "__name__"); + CPyStatic_formatters___globals = PyModule_GetDict(CPyModule_dank_mids____web3___formatters__internal); + if (unlikely(CPyStatic_formatters___globals == NULL)) + goto fail; + CPyType_formatters___abi_request_formatters_gen = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_formatters___abi_request_formatters_gen_template, NULL, modname); + if (unlikely(!CPyType_formatters___abi_request_formatters_gen)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_formatters_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids____web3___formatters__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic_formatters___ABI_REQUEST_FORMATTERS); + CPyStatic_formatters___ABI_REQUEST_FORMATTERS = NULL; + CPy_XDECREF(CPyStatic_formatters___REQUEST_FORMATTER_MAPS.f0); + CPy_XDECREF(CPyStatic_formatters___REQUEST_FORMATTER_MAPS.f1); + CPy_XDECREF(CPyStatic_formatters___REQUEST_FORMATTER_MAPS.f2); + CPyStatic_formatters___REQUEST_FORMATTER_MAPS = (tuple_T3OOO) { NULL, NULL, NULL }; + CPy_XDECREF(CPyStatic_formatters____request_formatters); + CPyStatic_formatters____request_formatters = NULL; + CPy_XDECREF(CPyStatic_formatters____response_formatters); + CPyStatic_formatters____response_formatters = NULL; + Py_CLEAR(CPyType_formatters___abi_request_formatters_gen); + return -1; +} +static struct PyModuleDef formattersmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids._web3.formatters", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + formattersmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids____web3___formatters(void) +{ + if (CPyModule_dank_mids____web3___formatters__internal) { + Py_INCREF(CPyModule_dank_mids____web3___formatters__internal); + return CPyModule_dank_mids____web3___formatters__internal; + } + CPyModule_dank_mids____web3___formatters__internal = PyModule_Create(&formattersmodule); + if (unlikely(CPyModule_dank_mids____web3___formatters__internal == NULL)) + goto fail; + if (CPyExec_dank_mids____web3___formatters(CPyModule_dank_mids____web3___formatters__internal) != 0) + goto fail; + return CPyModule_dank_mids____web3___formatters__internal; + fail: + return NULL; +} + +PyObject *CPyDef_formatters___return_as_is(PyObject *cpy_r_x) { + CPy_INCREF(cpy_r_x); + return cpy_r_x; +} + +PyObject *CPyPy_formatters___return_as_is(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"x", 0}; + static CPyArg_Parser parser = {"O:return_as_is", kwlist, 0}; + PyObject *obj_x; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_x)) { + return NULL; + } + PyObject *arg_x = obj_x; + PyObject *retval = CPyDef_formatters___return_as_is(arg_x); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "return_as_is", 23, CPyStatic_formatters___globals); + return NULL; +} + +PyObject *CPyDef_formatters___abi_request_formatters_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr) { + int32_t cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + char cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + int64_t cpy_r_r7; + char cpy_r_r8; + PyObject *cpy_r_r9; + char cpy_r_r10; + PyObject *cpy_r_r11; + CPyTagged cpy_r_r12; + tuple_T4CIOO cpy_r_r13; + CPyTagged cpy_r_r14; + char cpy_r_r15; + char cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + char cpy_r_r20; + char cpy_r_r21; + PyObject *cpy_r_r22; + char cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + tuple_T2OO cpy_r_r31; + PyObject *cpy_r_r32; + char cpy_r_r33; + PyObject *cpy_r_r34; + char cpy_r_r35; + PyObject *cpy_r_r36; + char cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject **cpy_r_r45; + PyObject *cpy_r_r46; + char cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject **cpy_r_r55; + PyObject *cpy_r_r56; + tuple_T2OO cpy_r_r57; + PyObject *cpy_r_r58; + char cpy_r_r59; + PyObject *cpy_r_r60; + char cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject **cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + CPyPtr cpy_r_r72; + CPyPtr cpy_r_r73; + CPyPtr cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + PyObject *cpy_r_r77; + PyObject *cpy_r_r78; + PyObject **cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + int64_t cpy_r_r83; + char cpy_r_r84; + char cpy_r_r85; + PyObject *cpy_r_r86; + char cpy_r_r87; + char cpy_r_r88; + char cpy_r_r89; + char cpy_r_r90; + char cpy_r_r91; + PyObject *cpy_r_r92; + cpy_r_r0 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__; + goto CPyL64; +CPyL1: ; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_type != cpy_r_r1; + if (!cpy_r_r2) goto CPyL4; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 27, CPyStatic_formatters___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL4: ; + cpy_r_r3 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__abis; + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "abis", 31, CPyStatic_formatters___globals); + goto CPyL69; + } + CPy_INCREF(cpy_r_r3); +CPyL5: ; + CPy_INCREF(cpy_r_r3); + if (((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 != NULL) { + CPy_DECREF(((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0); + } + ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 = cpy_r_r3; + cpy_r_r4 = 1; + if (unlikely(!cpy_r_r4)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", -1, CPyStatic_formatters___globals); + goto CPyL70; + } + ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1 = 0; + cpy_r_r5 = 1; + if (unlikely(!cpy_r_r5)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", -1, CPyStatic_formatters___globals); + goto CPyL70; + } + cpy_r_r6 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0; + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "__mypyc_temp__0", 31, CPyStatic_formatters___globals); + goto CPyL70; + } + CPy_INCREF(cpy_r_r6); +CPyL8: ; + cpy_r_r7 = PyDict_Size(cpy_r_r6); + CPy_DECREF(cpy_r_r6); + ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__2 = cpy_r_r7; + cpy_r_r8 = 1; + if (unlikely(!cpy_r_r8)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", -1, CPyStatic_formatters___globals); + goto CPyL70; + } + cpy_r_r9 = CPyDict_GetItemsIter(cpy_r_r3); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 31, CPyStatic_formatters___globals); + goto CPyL69; + } + if (((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3 != NULL) { + CPy_DECREF(((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3); + } + ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3 = cpy_r_r9; + cpy_r_r10 = 1; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", -1, CPyStatic_formatters___globals); + goto CPyL69; + } +CPyL11: ; + cpy_r_r11 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3; + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "__mypyc_temp__3", 31, CPyStatic_formatters___globals); + goto CPyL69; + } + CPy_INCREF(cpy_r_r11); +CPyL12: ; + cpy_r_r12 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1; + if (unlikely(cpy_r_r12 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "__mypyc_temp__1", 31, CPyStatic_formatters___globals); + goto CPyL71; + } +CPyL13: ; + cpy_r_r13 = CPyDict_NextItem(cpy_r_r11, cpy_r_r12); + CPy_DECREF(cpy_r_r11); + cpy_r_r14 = cpy_r_r13.f1; + ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1 = cpy_r_r14; + cpy_r_r15 = 1; + if (unlikely(!cpy_r_r15)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 31, CPyStatic_formatters___globals); + goto CPyL72; + } + cpy_r_r16 = cpy_r_r13.f0; + if (!cpy_r_r16) goto CPyL73; + cpy_r_r17 = cpy_r_r13.f2; + CPy_INCREF(cpy_r_r17); + cpy_r_r18 = cpy_r_r13.f3; + CPy_INCREF(cpy_r_r18); + CPy_DECREF(cpy_r_r13.f2); + CPy_DECREF(cpy_r_r13.f3); + if (PyList_Check(cpy_r_r18)) + cpy_r_r19 = cpy_r_r18; + else { + cpy_r_r19 = NULL; + } + if (cpy_r_r19 != NULL) goto __LL92; + if (PyDict_Check(cpy_r_r18)) + cpy_r_r19 = cpy_r_r18; + else { + cpy_r_r19 = NULL; + } + if (cpy_r_r19 != NULL) goto __LL92; + CPy_TypeErrorTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 31, CPyStatic_formatters___globals, "union[list, dict]", cpy_r_r18); + goto CPyL74; +__LL92: ; + if (((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__method != NULL) { + CPy_DECREF(((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__method); + } + ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__method = cpy_r_r17; + cpy_r_r20 = 1; + if (unlikely(!cpy_r_r20)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 31, CPyStatic_formatters___globals); + goto CPyL75; + } + if (((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__abi_types != NULL) { + CPy_DECREF(((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__abi_types); + } + ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__abi_types = cpy_r_r19; + cpy_r_r21 = 1; + if (unlikely(!cpy_r_r21)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 31, CPyStatic_formatters___globals); + goto CPyL69; + } + cpy_r_r22 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__abi_types; + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "abi_types", 32, CPyStatic_formatters___globals); + goto CPyL69; + } + CPy_INCREF(cpy_r_r22); +CPyL19: ; + cpy_r_r23 = PyList_Check(cpy_r_r22); + CPy_DECREF(cpy_r_r22); + if (!cpy_r_r23) goto CPyL31; + cpy_r_r24 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__method; + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "method", 33, CPyStatic_formatters___globals); + goto CPyL69; + } + CPy_INCREF(cpy_r_r24); +CPyL21: ; + cpy_r_r25 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__normalizers; + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "normalizers", 33, CPyStatic_formatters___globals); + goto CPyL76; + } + CPy_INCREF(cpy_r_r25); +CPyL22: ; + cpy_r_r26 = PySequence_Tuple(cpy_r_r25); + CPy_DECREF(cpy_r_r25); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 33, CPyStatic_formatters___globals); + goto CPyL76; + } + cpy_r_r27 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__abi_types; + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "abi_types", 33, CPyStatic_formatters___globals); + goto CPyL77; + } + CPy_INCREF(cpy_r_r27); +CPyL24: ; + if (likely(PyList_Check(cpy_r_r27))) + cpy_r_r28 = cpy_r_r27; + else { + CPy_TypeErrorTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 33, CPyStatic_formatters___globals, "list", cpy_r_r27); + goto CPyL77; + } + cpy_r_r29 = PyList_AsTuple(cpy_r_r28); + CPy_DECREF_NO_IMM(cpy_r_r28); + if (unlikely(cpy_r_r29 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 33, CPyStatic_formatters___globals); + goto CPyL77; + } + cpy_r_r30 = CPyDef_abi___get_formatter(cpy_r_r26, cpy_r_r29); + CPy_DECREF(cpy_r_r26); + CPy_DECREF(cpy_r_r29); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 33, CPyStatic_formatters___globals); + goto CPyL76; + } + cpy_r_r31.f0 = cpy_r_r24; + cpy_r_r31.f1 = cpy_r_r30; + cpy_r_r32 = PyTuple_New(2); + if (unlikely(cpy_r_r32 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp93 = cpy_r_r31.f0; + PyTuple_SET_ITEM(cpy_r_r32, 0, __tmp93); + PyObject *__tmp94 = cpy_r_r31.f1; + PyTuple_SET_ITEM(cpy_r_r32, 1, __tmp94); + ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 1; + return cpy_r_r32; +CPyL28: ; + cpy_r_r34 = (PyObject *)&_Py_NoneStruct; + cpy_r_r35 = cpy_r_type != cpy_r_r34; + if (!cpy_r_r35) goto CPyL55; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 33, CPyStatic_formatters___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL31: ; + cpy_r_r36 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__abi_types; + if (unlikely(cpy_r_r36 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "abi_types", 34, CPyStatic_formatters___globals); + goto CPyL69; + } + CPy_INCREF(cpy_r_r36); +CPyL32: ; + cpy_r_r37 = PyDict_Check(cpy_r_r36); + CPy_DECREF(cpy_r_r36); + if (!cpy_r_r37) goto CPyL47; + cpy_r_r38 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__normalizers; + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "normalizers", 35, CPyStatic_formatters___globals); + goto CPyL69; + } + CPy_INCREF(cpy_r_r38); +CPyL34: ; + cpy_r_r39 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__abi_types; + if (unlikely(cpy_r_r39 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "abi_types", 35, CPyStatic_formatters___globals); + goto CPyL78; + } + CPy_INCREF(cpy_r_r39); +CPyL35: ; + if (likely(PyDict_Check(cpy_r_r39))) + cpy_r_r40 = cpy_r_r39; + else { + CPy_TypeErrorTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 35, CPyStatic_formatters___globals, "dict", cpy_r_r39); + goto CPyL78; + } + cpy_r_r41 = CPyStatic_formatters___globals; + cpy_r_r42 = CPyStatics[275]; /* 'apply_abi_formatters_to_dict' */ + cpy_r_r43 = CPyDict_GetItem(cpy_r_r41, cpy_r_r42); + if (unlikely(cpy_r_r43 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 35, CPyStatic_formatters___globals); + goto CPyL79; + } + PyObject *cpy_r_r44[2] = {cpy_r_r38, cpy_r_r40}; + cpy_r_r45 = (PyObject **)&cpy_r_r44; + cpy_r_r46 = PyObject_Vectorcall(cpy_r_r43, cpy_r_r45, 2, 0); + CPy_DECREF(cpy_r_r43); + if (unlikely(cpy_r_r46 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 35, CPyStatic_formatters___globals); + goto CPyL79; + } + CPy_DECREF(cpy_r_r38); + CPy_DECREF(cpy_r_r40); + if (((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__single_dict_formatter != NULL) { + CPy_DECREF(((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__single_dict_formatter); + } + ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__single_dict_formatter = cpy_r_r46; + cpy_r_r47 = 1; + if (unlikely(!cpy_r_r47)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 35, CPyStatic_formatters___globals); + goto CPyL69; + } + cpy_r_r48 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__method; + if (unlikely(cpy_r_r48 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "method", 36, CPyStatic_formatters___globals); + goto CPyL69; + } + CPy_INCREF(cpy_r_r48); +CPyL40: ; + cpy_r_r49 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__single_dict_formatter; + if (unlikely(cpy_r_r49 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "single_dict_formatter", 36, CPyStatic_formatters___globals); + goto CPyL80; + } + CPy_INCREF(cpy_r_r49); +CPyL41: ; + cpy_r_r50 = CPyStatic_formatters___globals; + cpy_r_r51 = CPyStatics[276]; /* 'apply_formatter_at_index' */ + cpy_r_r52 = CPyDict_GetItem(cpy_r_r50, cpy_r_r51); + if (unlikely(cpy_r_r52 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 36, CPyStatic_formatters___globals); + goto CPyL81; + } + cpy_r_r53 = CPyStatics[872]; /* 0 */ + PyObject *cpy_r_r54[2] = {cpy_r_r49, cpy_r_r53}; + cpy_r_r55 = (PyObject **)&cpy_r_r54; + cpy_r_r56 = PyObject_Vectorcall(cpy_r_r52, cpy_r_r55, 2, 0); + CPy_DECREF(cpy_r_r52); + if (unlikely(cpy_r_r56 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 36, CPyStatic_formatters___globals); + goto CPyL81; + } + CPy_DECREF(cpy_r_r49); + cpy_r_r57.f0 = cpy_r_r48; + cpy_r_r57.f1 = cpy_r_r56; + cpy_r_r58 = PyTuple_New(2); + if (unlikely(cpy_r_r58 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp95 = cpy_r_r57.f0; + PyTuple_SET_ITEM(cpy_r_r58, 0, __tmp95); + PyObject *__tmp96 = cpy_r_r57.f1; + PyTuple_SET_ITEM(cpy_r_r58, 1, __tmp96); + ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 2; + return cpy_r_r58; +CPyL44: ; + cpy_r_r60 = (PyObject *)&_Py_NoneStruct; + cpy_r_r61 = cpy_r_type != cpy_r_r60; + if (!cpy_r_r61) goto CPyL55; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 36, CPyStatic_formatters___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL47: ; + cpy_r_r62 = CPyStatics[126]; /* '' */ + cpy_r_r63 = CPyStatics[277]; /* 'ABI definitions must be a list or dictionary, got ' */ + cpy_r_r64 = CPyStatics[278]; /* '{!r:{}}' */ + cpy_r_r65 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__abi_types; + if (unlikely(cpy_r_r65 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "abi_types", 38, CPyStatic_formatters___globals); + goto CPyL69; + } + CPy_INCREF(cpy_r_r65); +CPyL48: ; + cpy_r_r66 = CPyStatics[126]; /* '' */ + cpy_r_r67 = CPyStatics[129]; /* 'format' */ + PyObject *cpy_r_r68[3] = {cpy_r_r64, cpy_r_r65, cpy_r_r66}; + cpy_r_r69 = (PyObject **)&cpy_r_r68; + cpy_r_r70 = PyObject_VectorcallMethod(cpy_r_r67, cpy_r_r69, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r70 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 38, CPyStatic_formatters___globals); + goto CPyL82; + } + CPy_DECREF(cpy_r_r65); + cpy_r_r71 = PyList_New(2); + if (unlikely(cpy_r_r71 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 38, CPyStatic_formatters___globals); + goto CPyL83; + } + cpy_r_r72 = (CPyPtr)&((PyListObject *)cpy_r_r71)->ob_item; + cpy_r_r73 = *(CPyPtr *)cpy_r_r72; + CPy_INCREF(cpy_r_r63); + *(PyObject * *)cpy_r_r73 = cpy_r_r63; + cpy_r_r74 = cpy_r_r73 + 8; + *(PyObject * *)cpy_r_r74 = cpy_r_r70; + cpy_r_r75 = PyUnicode_Join(cpy_r_r62, cpy_r_r71); + CPy_DECREF_NO_IMM(cpy_r_r71); + if (unlikely(cpy_r_r75 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 38, CPyStatic_formatters___globals); + goto CPyL69; + } + cpy_r_r76 = CPyModule_builtins; + cpy_r_r77 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r78 = CPyObject_GetAttr(cpy_r_r76, cpy_r_r77); + if (unlikely(cpy_r_r78 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 38, CPyStatic_formatters___globals); + goto CPyL84; + } + PyObject *cpy_r_r79[1] = {cpy_r_r75}; + cpy_r_r80 = (PyObject **)&cpy_r_r79; + cpy_r_r81 = PyObject_Vectorcall(cpy_r_r78, cpy_r_r80, 1, 0); + CPy_DECREF(cpy_r_r78); + if (unlikely(cpy_r_r81 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 38, CPyStatic_formatters___globals); + goto CPyL84; + } + CPy_DECREF(cpy_r_r75); + CPy_Raise(cpy_r_r81); + CPy_DECREF(cpy_r_r81); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 38, CPyStatic_formatters___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL55: ; + cpy_r_r82 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0; + if (unlikely(cpy_r_r82 == NULL)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "__mypyc_temp__0", 31, CPyStatic_formatters___globals); + goto CPyL69; + } + CPy_INCREF(cpy_r_r82); +CPyL56: ; + cpy_r_r83 = ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__2; + if (unlikely(cpy_r_r83 == -113)) { + CPy_AttributeError("dank_mids\\_web3\\formatters.py", "abi_request_formatters", "abi_request_formatters_gen", "__mypyc_temp__2", 31, CPyStatic_formatters___globals); + goto CPyL85; + } +CPyL57: ; + cpy_r_r84 = CPyDict_CheckSize(cpy_r_r82, cpy_r_r83); + CPy_DECREF(cpy_r_r82); + if (unlikely(!cpy_r_r84)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 31, CPyStatic_formatters___globals); + goto CPyL69; + } else + goto CPyL11; +CPyL58: ; + cpy_r_r85 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r85)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 31, CPyStatic_formatters___globals); + goto CPyL69; + } + cpy_r_r86 = Py_None; + ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = -1; + if (cpy_r_stop_iter_ptr != NULL) goto CPyL63; + CPyGen_SetStopIterationValue(cpy_r_r86); + if (!0) goto CPyL69; + CPy_Unreachable(); +CPyL63: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r86; + return 0; +CPyL64: ; + cpy_r_r88 = cpy_r_r0 == 0; + if (cpy_r_r88) goto CPyL1; + cpy_r_r89 = cpy_r_r0 == 1; + if (cpy_r_r89) goto CPyL28; + cpy_r_r90 = cpy_r_r0 == 2; + if (cpy_r_r90) goto CPyL44; + PyErr_SetNone(PyExc_StopIteration); + cpy_r_r91 = 0; + if (unlikely(!cpy_r_r91)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 27, CPyStatic_formatters___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL69: ; + cpy_r_r92 = NULL; + return cpy_r_r92; +CPyL70: ; + CPy_DecRef(cpy_r_r3); + goto CPyL69; +CPyL71: ; + CPy_DecRef(cpy_r_r11); + goto CPyL69; +CPyL72: ; + CPy_DecRef(cpy_r_r13.f2); + CPy_DecRef(cpy_r_r13.f3); + goto CPyL69; +CPyL73: ; + CPy_DECREF(cpy_r_r13.f2); + CPy_DECREF(cpy_r_r13.f3); + goto CPyL58; +CPyL74: ; + CPy_DecRef(cpy_r_r17); + goto CPyL69; +CPyL75: ; + CPy_DecRef(cpy_r_r19); + goto CPyL69; +CPyL76: ; + CPy_DecRef(cpy_r_r24); + goto CPyL69; +CPyL77: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r26); + goto CPyL69; +CPyL78: ; + CPy_DecRef(cpy_r_r38); + goto CPyL69; +CPyL79: ; + CPy_DecRef(cpy_r_r38); + CPy_DecRef(cpy_r_r40); + goto CPyL69; +CPyL80: ; + CPy_DecRef(cpy_r_r48); + goto CPyL69; +CPyL81: ; + CPy_DecRef(cpy_r_r48); + CPy_DecRef(cpy_r_r49); + goto CPyL69; +CPyL82: ; + CPy_DecRef(cpy_r_r65); + goto CPyL69; +CPyL83: ; + CPy_DecRef(cpy_r_r70); + goto CPyL69; +CPyL84: ; + CPy_DecRef(cpy_r_r75); + goto CPyL69; +CPyL85: ; + CPy_DecRef(cpy_r_r82); + goto CPyL69; +} + +PyObject *CPyDef_formatters___abi_request_formatters_gen_____next__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_formatters___abi_request_formatters_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_r0, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_formatters___abi_request_formatters_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__next__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_formatters___abi_request_formatters_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._web3.formatters.abi_request_formatters_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_formatters___abi_request_formatters_gen_____next__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "__next__", -1, CPyStatic_formatters___globals); + return NULL; +} + +PyObject *CPyDef_formatters___abi_request_formatters_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_formatters___abi_request_formatters_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_arg, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_formatters___abi_request_formatters_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"arg", 0}; + static CPyArg_Parser parser = {"O:send", kwlist, 0}; + PyObject *obj_arg; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_arg)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_formatters___abi_request_formatters_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._web3.formatters.abi_request_formatters_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_arg = obj_arg; + PyObject *retval = CPyDef_formatters___abi_request_formatters_gen___send(arg___mypyc_self__, arg_arg); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "send", -1, CPyStatic_formatters___globals); + return NULL; +} + +PyObject *CPyDef_formatters___abi_request_formatters_gen_____iter__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_formatters___abi_request_formatters_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_formatters___abi_request_formatters_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._web3.formatters.abi_request_formatters_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_formatters___abi_request_formatters_gen_____iter__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "__iter__", -1, CPyStatic_formatters___globals); + return NULL; +} + +PyObject *CPyDef_formatters___abi_request_formatters_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + if (cpy_r_value != NULL) goto CPyL7; + CPy_INCREF(cpy_r_r0); + cpy_r_value = cpy_r_r0; +CPyL2: ; + if (cpy_r_traceback != NULL) goto CPyL8; + CPy_INCREF(cpy_r_r0); + cpy_r_traceback = cpy_r_r0; +CPyL4: ; + cpy_r_r1 = CPyDef_formatters___abi_request_formatters_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_type, cpy_r_value, cpy_r_traceback, cpy_r_r0, 0); + CPy_DECREF(cpy_r_value); + CPy_DECREF(cpy_r_traceback); + if (cpy_r_r1 == NULL) goto CPyL6; + return cpy_r_r1; +CPyL6: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +CPyL7: ; + CPy_INCREF(cpy_r_value); + goto CPyL2; +CPyL8: ; + CPy_INCREF(cpy_r_traceback); + goto CPyL4; +} + +PyObject *CPyPy_formatters___abi_request_formatters_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"type", "value", "traceback", 0}; + static CPyArg_Parser parser = {"O|OO:throw", kwlist, 0}; + PyObject *obj_type; + PyObject *obj_value = NULL; + PyObject *obj_traceback = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type, &obj_value, &obj_traceback)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_formatters___abi_request_formatters_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._web3.formatters.abi_request_formatters_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_type = obj_type; + PyObject *arg_value; + if (obj_value == NULL) { + arg_value = NULL; + } else { + arg_value = obj_value; + } + PyObject *arg_traceback; + if (obj_traceback == NULL) { + arg_traceback = NULL; + } else { + arg_traceback = obj_traceback; + } + PyObject *retval = CPyDef_formatters___abi_request_formatters_gen___throw(arg___mypyc_self__, arg_type, arg_value, arg_traceback); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "throw", -1, CPyStatic_formatters___globals); + return NULL; +} + +PyObject *CPyDef_formatters___abi_request_formatters_gen___close(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[17]; /* 'GeneratorExit' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = CPyDef_formatters___abi_request_formatters_gen___throw(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r3, cpy_r_r4); + if (cpy_r_r5 != NULL) goto CPyL11; +CPyL3: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyModule_builtins; + cpy_r_r8 = CPyStatics[18]; /* 'StopIteration' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL12; + cpy_r_r10.f0 = cpy_r_r2; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp97 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp97); + PyObject *__tmp98 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp98); + cpy_r_r12 = CPy_ExceptionMatches(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (!cpy_r_r12) goto CPyL13; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + cpy_r_r13 = (PyObject *)&_Py_NoneStruct; + CPy_INCREF(cpy_r_r13); + return cpy_r_r13; +CPyL6: ; + CPy_Reraise(); + if (!0) goto CPyL10; + CPy_Unreachable(); +CPyL8: ; + PyErr_SetString(PyExc_RuntimeError, "generator ignored GeneratorExit"); + cpy_r_r14 = 0; + if (!cpy_r_r14) goto CPyL10; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL11: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r5); + goto CPyL8; +CPyL12: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL10; +CPyL13: ; + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL6; +} + +PyObject *CPyPy_formatters___abi_request_formatters_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":close", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_formatters___abi_request_formatters_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids._web3.formatters.abi_request_formatters_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_formatters___abi_request_formatters_gen___close(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "close", -1, CPyStatic_formatters___globals); + return NULL; +} + +PyObject *CPyDef_formatters___abi_request_formatters(PyObject *cpy_r_normalizers, PyObject *cpy_r_abis) { + PyObject *cpy_r_r0; + char cpy_r_r1; + char cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + cpy_r_r0 = CPyDef_formatters___abi_request_formatters_gen(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 27, CPyStatic_formatters___globals); + goto CPyL4; + } + ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r_r0)->___mypyc_next_label__ = 0; + CPy_INCREF(cpy_r_normalizers); + if (((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r_r0)->___mypyc_generator_attribute__normalizers != NULL) { + CPy_DECREF(((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r_r0)->___mypyc_generator_attribute__normalizers); + } + ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r_r0)->___mypyc_generator_attribute__normalizers = cpy_r_normalizers; + cpy_r_r2 = 1; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 27, CPyStatic_formatters___globals); + goto CPyL5; + } + CPy_INCREF(cpy_r_abis); + if (((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r_r0)->___mypyc_generator_attribute__abis != NULL) { + CPy_DECREF(((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r_r0)->___mypyc_generator_attribute__abis); + } + ((dank_mids____web3___formatters___abi_request_formatters_genObject *)cpy_r_r0)->___mypyc_generator_attribute__abis = cpy_r_abis; + cpy_r_r3 = 1; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 27, CPyStatic_formatters___globals); + goto CPyL5; + } + return cpy_r_r0; +CPyL4: ; + cpy_r_r4 = NULL; + return cpy_r_r4; +CPyL5: ; + CPy_DecRef(cpy_r_r0); + goto CPyL4; +} + +PyObject *CPyPy_formatters___abi_request_formatters(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"normalizers", "abis", 0}; + static CPyArg_Parser parser = {"OO:abi_request_formatters", kwlist, 0}; + PyObject *obj_normalizers; + PyObject *obj_abis; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_normalizers, &obj_abis)) { + return NULL; + } + PyObject *arg_normalizers = obj_normalizers; + PyObject *arg_abis; + if (likely(PyDict_Check(obj_abis))) + arg_abis = obj_abis; + else { + CPy_TypeError("dict", obj_abis); + goto fail; + } + PyObject *retval = CPyDef_formatters___abi_request_formatters(arg_normalizers, arg_abis); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "abi_request_formatters", 27, CPyStatic_formatters___globals); + return NULL; +} + +PyObject *CPyDef_formatters___get_request_formatters(PyObject *cpy_r_method_name) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject **cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_formatters; + PyObject *cpy_r_r6; + char cpy_r_r7; + PyObject *cpy_r_r8; + tuple_T3OOO cpy_r_r9; + char cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject **cpy_r_r16; + PyObject *cpy_r_r17; + int32_t cpy_r_r18; + char cpy_r_r19; + char cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + char cpy_r_r26; + int32_t cpy_r_r27; + char cpy_r_r28; + char cpy_r_r29; + CPyPtr cpy_r_r30; + int64_t cpy_r_r31; + CPyTagged cpy_r_r32; + char cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + CPyPtr cpy_r_r37; + int64_t cpy_r_r38; + CPyTagged cpy_r_r39; + char cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + char cpy_r_r48; + int32_t cpy_r_r49; + char cpy_r_r50; + PyObject *cpy_r_r51; + cpy_r_r0 = CPyStatic_formatters____request_formatters; + if (likely(cpy_r_r0 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"_request_formatters\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 59, CPyStatic_formatters___globals); + goto CPyL36; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r2 = CPyStatics[279]; /* 'get' */ + PyObject *cpy_r_r3[2] = {cpy_r_r0, cpy_r_method_name}; + cpy_r_r4 = (PyObject **)&cpy_r_r3; + cpy_r_r5 = PyObject_VectorcallMethod(cpy_r_r2, cpy_r_r4, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 59, CPyStatic_formatters___globals); + goto CPyL36; + } + cpy_r_formatters = cpy_r_r5; + cpy_r_r6 = (PyObject *)&_Py_NoneStruct; + cpy_r_r7 = cpy_r_formatters == cpy_r_r6; + if (cpy_r_r7) { + goto CPyL37; + } else + goto CPyL35; +CPyL5: ; + cpy_r_r8 = PyList_New(0); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 61, CPyStatic_formatters___globals); + goto CPyL36; + } + cpy_r_r9 = CPyStatic_formatters___REQUEST_FORMATTER_MAPS; + if (unlikely(cpy_r_r9.f0 == NULL)) { + goto CPyL38; + } else + goto CPyL9; +CPyL7: ; + PyErr_SetString(PyExc_NameError, "value for final name \"REQUEST_FORMATTER_MAPS\" was not set"); + cpy_r_r10 = 0; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 61, CPyStatic_formatters___globals); + goto CPyL36; + } + CPy_Unreachable(); +CPyL9: ; + CPy_INCREF(cpy_r_r9.f0); + CPy_INCREF(cpy_r_r9.f1); + CPy_INCREF(cpy_r_r9.f2); + cpy_r_r11 = PyTuple_New(3); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp99 = cpy_r_r9.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp99); + PyObject *__tmp100 = cpy_r_r9.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp100); + PyObject *__tmp101 = cpy_r_r9.f2; + PyTuple_SET_ITEM(cpy_r_r11, 2, __tmp101); + cpy_r_r12 = PyObject_GetIter(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 61, CPyStatic_formatters___globals); + goto CPyL39; + } +CPyL10: ; + cpy_r_r13 = PyIter_Next(cpy_r_r12); + if (cpy_r_r13 == NULL) goto CPyL40; + cpy_r_r14 = CPyStatics[279]; /* 'get' */ + PyObject *cpy_r_r15[2] = {cpy_r_r13, cpy_r_method_name}; + cpy_r_r16 = (PyObject **)&cpy_r_r15; + cpy_r_r17 = PyObject_VectorcallMethod(cpy_r_r14, cpy_r_r16, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 61, CPyStatic_formatters___globals); + goto CPyL41; + } + CPy_DECREF(cpy_r_r13); + cpy_r_r18 = PyList_Append(cpy_r_r8, cpy_r_r17); + CPy_DECREF(cpy_r_r17); + cpy_r_r19 = cpy_r_r18 >= 0; + if (unlikely(!cpy_r_r19)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 61, CPyStatic_formatters___globals); + goto CPyL42; + } else + goto CPyL10; +CPyL13: ; + cpy_r_r20 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r20)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 61, CPyStatic_formatters___globals); + goto CPyL39; + } + cpy_r_r21 = PyObject_GetIter(cpy_r_r8); + CPy_DECREF_NO_IMM(cpy_r_r8); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 61, CPyStatic_formatters___globals); + goto CPyL36; + } + cpy_r_r22 = PyList_New(0); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 62, CPyStatic_formatters___globals); + goto CPyL43; + } + cpy_r_r23 = PyObject_GetIter(cpy_r_r21); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 62, CPyStatic_formatters___globals); + goto CPyL44; + } +CPyL17: ; + cpy_r_r24 = PyIter_Next(cpy_r_r23); + if (cpy_r_r24 == NULL) goto CPyL45; + cpy_r_r25 = (PyObject *)&_Py_NoneStruct; + cpy_r_r26 = cpy_r_r24 != cpy_r_r25; + if (!cpy_r_r26) goto CPyL46; + cpy_r_r27 = PyList_Append(cpy_r_r22, cpy_r_r24); + CPy_DECREF(cpy_r_r24); + cpy_r_r28 = cpy_r_r27 >= 0; + if (unlikely(!cpy_r_r28)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 62, CPyStatic_formatters___globals); + goto CPyL47; + } else + goto CPyL17; +CPyL20: ; + cpy_r_r29 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r29)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 62, CPyStatic_formatters___globals); + goto CPyL44; + } + cpy_r_r30 = (CPyPtr)&((PyVarObject *)cpy_r_r22)->ob_size; + cpy_r_r31 = *(int64_t *)cpy_r_r30; + cpy_r_r32 = cpy_r_r31 << 1; + cpy_r_r33 = cpy_r_r32 != 0; + if (cpy_r_r33) { + goto CPyL24; + } else + goto CPyL48; +CPyL22: ; + cpy_r_r34 = CPyStatic_formatters___globals; + cpy_r_r35 = CPyStatics[280]; /* 'return_as_is' */ + cpy_r_r36 = CPyDict_GetItem(cpy_r_r34, cpy_r_r35); + if (unlikely(cpy_r_r36 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 64, CPyStatic_formatters___globals); + goto CPyL36; + } + cpy_r_formatters = cpy_r_r36; + goto CPyL31; +CPyL24: ; + cpy_r_r37 = (CPyPtr)&((PyVarObject *)cpy_r_r22)->ob_size; + cpy_r_r38 = *(int64_t *)cpy_r_r37; + cpy_r_r39 = cpy_r_r38 << 1; + cpy_r_r40 = cpy_r_r39 == 2; + if (cpy_r_r40) { + goto CPyL49; + } else + goto CPyL50; +CPyL25: ; + cpy_r_r41 = CPyList_GetItemShort(cpy_r_r22, 0); + CPy_DECREF_NO_IMM(cpy_r_r22); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 66, CPyStatic_formatters___globals); + goto CPyL36; + } + cpy_r_formatters = cpy_r_r41; + goto CPyL31; +CPyL27: ; + cpy_r_r42 = CPyStatic_formatters___globals; + cpy_r_r43 = CPyStatics[281]; /* 'compose' */ + cpy_r_r44 = CPyDict_GetItem(cpy_r_r42, cpy_r_r43); + if (unlikely(cpy_r_r44 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 70, CPyStatic_formatters___globals); + goto CPyL43; + } + cpy_r_r45 = PySequence_Tuple(cpy_r_r21); + CPy_DECREF(cpy_r_r21); + if (unlikely(cpy_r_r45 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 70, CPyStatic_formatters___globals); + goto CPyL51; + } + cpy_r_r46 = PyObject_CallObject(cpy_r_r44, cpy_r_r45); + CPy_DECREF(cpy_r_r44); + CPy_DECREF(cpy_r_r45); + if (unlikely(cpy_r_r46 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 70, CPyStatic_formatters___globals); + goto CPyL36; + } + cpy_r_formatters = cpy_r_r46; +CPyL31: ; + cpy_r_r47 = CPyStatic_formatters____request_formatters; + if (unlikely(cpy_r_r47 == NULL)) { + goto CPyL52; + } else + goto CPyL34; +CPyL32: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_request_formatters\" was not set"); + cpy_r_r48 = 0; + if (unlikely(!cpy_r_r48)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 71, CPyStatic_formatters___globals); + goto CPyL36; + } + CPy_Unreachable(); +CPyL34: ; + cpy_r_r49 = PyObject_SetItem(cpy_r_r47, cpy_r_method_name, cpy_r_formatters); + cpy_r_r50 = cpy_r_r49 >= 0; + if (unlikely(!cpy_r_r50)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 71, CPyStatic_formatters___globals); + goto CPyL53; + } +CPyL35: ; + return cpy_r_formatters; +CPyL36: ; + cpy_r_r51 = NULL; + return cpy_r_r51; +CPyL37: ; + CPy_DECREF(cpy_r_formatters); + goto CPyL5; +CPyL38: ; + CPy_DecRef(cpy_r_r8); + goto CPyL7; +CPyL39: ; + CPy_DecRef(cpy_r_r8); + goto CPyL36; +CPyL40: ; + CPy_DECREF(cpy_r_r12); + goto CPyL13; +CPyL41: ; + CPy_DecRef(cpy_r_r8); + CPy_DecRef(cpy_r_r12); + CPy_DecRef(cpy_r_r13); + goto CPyL36; +CPyL42: ; + CPy_DecRef(cpy_r_r8); + CPy_DecRef(cpy_r_r12); + goto CPyL36; +CPyL43: ; + CPy_DecRef(cpy_r_r21); + goto CPyL36; +CPyL44: ; + CPy_DecRef(cpy_r_r21); + CPy_DecRef(cpy_r_r22); + goto CPyL36; +CPyL45: ; + CPy_DECREF(cpy_r_r23); + goto CPyL20; +CPyL46: ; + CPy_DECREF(cpy_r_r24); + goto CPyL17; +CPyL47: ; + CPy_DecRef(cpy_r_r21); + CPy_DecRef(cpy_r_r22); + CPy_DecRef(cpy_r_r23); + goto CPyL36; +CPyL48: ; + CPy_DECREF(cpy_r_r21); + CPy_DECREF_NO_IMM(cpy_r_r22); + goto CPyL22; +CPyL49: ; + CPy_DECREF(cpy_r_r21); + goto CPyL25; +CPyL50: ; + CPy_DECREF_NO_IMM(cpy_r_r22); + goto CPyL27; +CPyL51: ; + CPy_DecRef(cpy_r_r44); + goto CPyL36; +CPyL52: ; + CPy_DecRef(cpy_r_formatters); + goto CPyL32; +CPyL53: ; + CPy_DecRef(cpy_r_formatters); + goto CPyL36; +} + +PyObject *CPyPy_formatters___get_request_formatters(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"method_name", 0}; + static CPyArg_Parser parser = {"O:get_request_formatters", kwlist, 0}; + PyObject *obj_method_name; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_method_name)) { + return NULL; + } + PyObject *arg_method_name = obj_method_name; + PyObject *retval = CPyDef_formatters___get_request_formatters(arg_method_name); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "get_request_formatters", 58, CPyStatic_formatters___globals); + return NULL; +} + +tuple_T3OOO CPyDef_formatters____get_response_formatters(PyObject *cpy_r_method) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject **cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject **cpy_r_r21; + PyObject *cpy_r_r22; + tuple_T3OOO cpy_r_r23; + PyObject *cpy_r_r24; + char cpy_r_r25; + PyObject *cpy_r_r26; + int32_t cpy_r_r27; + char cpy_r_r28; + tuple_T3OOO cpy_r_r29; + cpy_r_r0 = CPyStatic_formatters___globals; + cpy_r_r1 = CPyStatics[280]; /* 'return_as_is' */ + cpy_r_r2 = CPyDict_GetItem(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "_get_response_formatters", 86, CPyStatic_formatters___globals); + goto CPyL12; + } + cpy_r_r3 = CPyStatic_formatters___globals; + cpy_r_r4 = CPyStatics[282]; /* 'ERROR_FORMATTERS' */ + cpy_r_r5 = CPyDict_GetItem(cpy_r_r3, cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "_get_response_formatters", 87, CPyStatic_formatters___globals); + goto CPyL13; + } + cpy_r_r6 = CPyStatic_formatters___globals; + cpy_r_r7 = CPyStatics[280]; /* 'return_as_is' */ + cpy_r_r8 = CPyDict_GetItem(cpy_r_r6, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "_get_response_formatters", 87, CPyStatic_formatters___globals); + goto CPyL14; + } + cpy_r_r9 = CPyStatics[279]; /* 'get' */ + PyObject *cpy_r_r10[3] = {cpy_r_r5, cpy_r_method, cpy_r_r8}; + cpy_r_r11 = (PyObject **)&cpy_r_r10; + cpy_r_r12 = PyObject_VectorcallMethod(cpy_r_r9, cpy_r_r11, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "_get_response_formatters", 87, CPyStatic_formatters___globals); + goto CPyL15; + } + CPy_DECREF(cpy_r_r5); + CPy_DECREF(cpy_r_r8); + cpy_r_r13 = CPyStatic_formatters___globals; + cpy_r_r14 = CPyStatics[283]; /* 'NULL_RESULT_FORMATTERS' */ + cpy_r_r15 = CPyDict_GetItem(cpy_r_r13, cpy_r_r14); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "_get_response_formatters", 88, CPyStatic_formatters___globals); + goto CPyL16; + } + cpy_r_r16 = CPyStatic_formatters___globals; + cpy_r_r17 = CPyStatics[280]; /* 'return_as_is' */ + cpy_r_r18 = CPyDict_GetItem(cpy_r_r16, cpy_r_r17); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "_get_response_formatters", 88, CPyStatic_formatters___globals); + goto CPyL17; + } + cpy_r_r19 = CPyStatics[279]; /* 'get' */ + PyObject *cpy_r_r20[3] = {cpy_r_r15, cpy_r_method, cpy_r_r18}; + cpy_r_r21 = (PyObject **)&cpy_r_r20; + cpy_r_r22 = PyObject_VectorcallMethod(cpy_r_r19, cpy_r_r21, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "_get_response_formatters", 88, CPyStatic_formatters___globals); + goto CPyL18; + } + CPy_DECREF(cpy_r_r15); + CPy_DECREF(cpy_r_r18); + cpy_r_r23.f0 = cpy_r_r2; + cpy_r_r23.f1 = cpy_r_r12; + cpy_r_r23.f2 = cpy_r_r22; + CPy_INCREF(cpy_r_r23.f0); + CPy_INCREF(cpy_r_r23.f1); + CPy_INCREF(cpy_r_r23.f2); + cpy_r_r24 = CPyStatic_formatters____response_formatters; + if (unlikely(cpy_r_r24 == NULL)) { + goto CPyL19; + } else + goto CPyL10; +CPyL8: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_response_formatters\" was not set"); + cpy_r_r25 = 0; + if (unlikely(!cpy_r_r25)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "_get_response_formatters", 85, CPyStatic_formatters___globals); + goto CPyL12; + } + CPy_Unreachable(); +CPyL10: ; + cpy_r_r26 = PyTuple_New(3); + if (unlikely(cpy_r_r26 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp102 = cpy_r_r23.f0; + PyTuple_SET_ITEM(cpy_r_r26, 0, __tmp102); + PyObject *__tmp103 = cpy_r_r23.f1; + PyTuple_SET_ITEM(cpy_r_r26, 1, __tmp103); + PyObject *__tmp104 = cpy_r_r23.f2; + PyTuple_SET_ITEM(cpy_r_r26, 2, __tmp104); + cpy_r_r27 = CPyDict_SetItem(cpy_r_r24, cpy_r_method, cpy_r_r26); + CPy_DECREF(cpy_r_r26); + cpy_r_r28 = cpy_r_r27 >= 0; + if (unlikely(!cpy_r_r28)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "_get_response_formatters", 85, CPyStatic_formatters___globals); + goto CPyL20; + } + return cpy_r_r23; +CPyL12: ; + tuple_T3OOO __tmp105 = { NULL, NULL, NULL }; + cpy_r_r29 = __tmp105; + return cpy_r_r29; +CPyL13: ; + CPy_DecRef(cpy_r_r2); + goto CPyL12; +CPyL14: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r5); + goto CPyL12; +CPyL15: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_r8); + goto CPyL12; +CPyL16: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r12); + goto CPyL12; +CPyL17: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r12); + CPy_DecRef(cpy_r_r15); + goto CPyL12; +CPyL18: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r12); + CPy_DecRef(cpy_r_r15); + CPy_DecRef(cpy_r_r18); + goto CPyL12; +CPyL19: ; + CPy_DecRef(cpy_r_r23.f0); + CPy_DecRef(cpy_r_r23.f1); + CPy_DecRef(cpy_r_r23.f2); + CPy_DecRef(cpy_r_r23.f0); + CPy_DecRef(cpy_r_r23.f1); + CPy_DecRef(cpy_r_r23.f2); + goto CPyL8; +CPyL20: ; + CPy_DecRef(cpy_r_r23.f0); + CPy_DecRef(cpy_r_r23.f1); + CPy_DecRef(cpy_r_r23.f2); + goto CPyL12; +} + +PyObject *CPyPy_formatters____get_response_formatters(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"method", 0}; + static CPyArg_Parser parser = {"O:_get_response_formatters", kwlist, 0}; + PyObject *obj_method; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_method)) { + return NULL; + } + PyObject *arg_method = obj_method; + tuple_T3OOO retval = CPyDef_formatters____get_response_formatters(arg_method); + if (retval.f0 == NULL) { + return NULL; + } + PyObject *retbox = PyTuple_New(3); + if (unlikely(retbox == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp106 = retval.f0; + PyTuple_SET_ITEM(retbox, 0, __tmp106); + PyObject *__tmp107 = retval.f1; + PyTuple_SET_ITEM(retbox, 1, __tmp107); + PyObject *__tmp108 = retval.f2; + PyTuple_SET_ITEM(retbox, 2, __tmp108); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "_get_response_formatters", 84, CPyStatic_formatters___globals); + return NULL; +} + +char CPyDef_formatters_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject **cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + int32_t cpy_r_r46; + char cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + int32_t cpy_r_r59; + char cpy_r_r60; + PyObject *cpy_r_r61; + char cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + tuple_T3OOO cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + int32_t cpy_r_r73; + char cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + PyObject *cpy_r_r77; + int32_t cpy_r_r78; + char cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + CPyPtr cpy_r_r87; + CPyPtr cpy_r_r88; + PyObject *cpy_r_r89; + PyObject *cpy_r_r90; + PyObject *cpy_r_r91; + tuple_T2OO cpy_r_r92; + PyObject *cpy_r_r93; + PyObject *cpy_r_r94; + PyObject *cpy_r_r95; + PyObject *cpy_r_r96; + int32_t cpy_r_r97; + char cpy_r_r98; + PyObject *cpy_r_r99; + PyObject *cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + PyObject *cpy_r_r104; + PyObject *cpy_r_r105; + CPyPtr cpy_r_r106; + CPyPtr cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + tuple_T2OO cpy_r_r111; + PyObject *cpy_r_r112; + PyObject *cpy_r_r113; + PyObject *cpy_r_r114; + PyObject *cpy_r_r115; + int32_t cpy_r_r116; + char cpy_r_r117; + PyObject *cpy_r_r118; + PyObject *cpy_r_r119; + PyObject *cpy_r_r120; + PyObject *cpy_r_r121; + PyObject *cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + CPyPtr cpy_r_r125; + CPyPtr cpy_r_r126; + PyObject *cpy_r_r127; + PyObject *cpy_r_r128; + PyObject *cpy_r_r129; + tuple_T2OO cpy_r_r130; + PyObject *cpy_r_r131; + PyObject *cpy_r_r132; + PyObject *cpy_r_r133; + PyObject *cpy_r_r134; + int32_t cpy_r_r135; + char cpy_r_r136; + PyObject *cpy_r_r137; + PyObject *cpy_r_r138; + PyObject *cpy_r_r139; + PyObject *cpy_r_r140; + PyObject *cpy_r_r141; + PyObject *cpy_r_r142; + PyObject *cpy_r_r143; + PyObject *cpy_r_r144; + PyObject *cpy_r_r145; + PyObject *cpy_r_r146; + PyObject *cpy_r_r147; + PyObject *cpy_r_r148; + tuple_T3OOO cpy_r_r149; + PyObject *cpy_r_r150; + PyObject *cpy_r_r151; + PyObject *cpy_r_r152; + PyObject *cpy_r_r153; + int32_t cpy_r_r154; + char cpy_r_r155; + PyObject *cpy_r_r156; + PyObject *cpy_r_r157; + PyObject *cpy_r_r158; + int32_t cpy_r_r159; + char cpy_r_r160; + char cpy_r_r161; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", -1, CPyStatic_formatters___globals); + goto CPyL55; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[948]; /* ('Any', 'Callable', 'Dict', 'Final', 'Iterator', 'List', + 'Sequence', 'Tuple', 'TypeVar', 'Union') */ + cpy_r_r6 = CPyStatics[40]; /* 'typing' */ + cpy_r_r7 = CPyStatic_formatters___globals; + cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 1, CPyStatic_formatters___globals); + goto CPyL55; + } + CPyModule_typing = cpy_r_r8; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[944]; /* ('TypeStr',) */ + cpy_r_r10 = CPyStatics[137]; /* 'eth_typing' */ + cpy_r_r11 = CPyStatic_formatters___globals; + cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 3, CPyStatic_formatters___globals); + goto CPyL55; + } + CPyModule_eth_typing = cpy_r_r12; + CPy_INCREF(CPyModule_eth_typing); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = CPyStatics[949]; /* ('apply_formatter_at_index',) */ + cpy_r_r14 = CPyStatics[285]; /* 'faster_eth_utils.curried' */ + cpy_r_r15 = CPyStatic_formatters___globals; + cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 4, CPyStatic_formatters___globals); + goto CPyL55; + } + CPyModule_faster_eth_utils___curried = cpy_r_r16; + CPy_INCREF(CPyModule_faster_eth_utils___curried); + CPy_DECREF(cpy_r_r16); + cpy_r_r17 = CPyStatics[950]; /* ('compose',) */ + cpy_r_r18 = CPyStatics[286]; /* 'faster_eth_utils.toolz' */ + cpy_r_r19 = CPyStatic_formatters___globals; + cpy_r_r20 = CPyImport_ImportFromMany(cpy_r_r18, cpy_r_r17, cpy_r_r17, cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 5, CPyStatic_formatters___globals); + goto CPyL55; + } + CPyModule_faster_eth_utils___toolz = cpy_r_r20; + CPy_INCREF(CPyModule_faster_eth_utils___toolz); + CPy_DECREF(cpy_r_r20); + cpy_r_r21 = CPyStatics[951]; /* ('ERROR_FORMATTERS', 'METHOD_NORMALIZERS', + 'NULL_RESULT_FORMATTERS', 'PYTHONIC_REQUEST_FORMATTERS', + 'STANDARD_NORMALIZERS') */ + cpy_r_r22 = CPyStatics[290]; /* 'web3._utils.method_formatters' */ + cpy_r_r23 = CPyStatic_formatters___globals; + cpy_r_r24 = CPyImport_ImportFromMany(cpy_r_r22, cpy_r_r21, cpy_r_r21, cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 6, CPyStatic_formatters___globals); + goto CPyL55; + } + CPyModule_web3____utils___method_formatters = cpy_r_r24; + CPy_INCREF(CPyModule_web3____utils___method_formatters); + CPy_DECREF(cpy_r_r24); + cpy_r_r25 = CPyStatics[952]; /* ('RPC_ABIS', 'apply_abi_formatters_to_dict') */ + cpy_r_r26 = CPyStatics[292]; /* 'web3._utils.rpc_abi' */ + cpy_r_r27 = CPyStatic_formatters___globals; + cpy_r_r28 = CPyImport_ImportFromMany(cpy_r_r26, cpy_r_r25, cpy_r_r25, cpy_r_r27); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 13, CPyStatic_formatters___globals); + goto CPyL55; + } + CPyModule_web3____utils___rpc_abi = cpy_r_r28; + CPy_INCREF(CPyModule_web3____utils___rpc_abi); + CPy_DECREF(cpy_r_r28); + cpy_r_r29 = CPyStatics[953]; /* ('Formatters', 'RPCEndpoint', 'RPCResponse') */ + cpy_r_r30 = CPyStatics[296]; /* 'web3.types' */ + cpy_r_r31 = CPyStatic_formatters___globals; + cpy_r_r32 = CPyImport_ImportFromMany(cpy_r_r30, cpy_r_r29, cpy_r_r29, cpy_r_r31); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 14, CPyStatic_formatters___globals); + goto CPyL55; + } + CPyModule_web3___types = cpy_r_r32; + CPy_INCREF(CPyModule_web3___types); + CPy_DECREF(cpy_r_r32); + cpy_r_r33 = CPyStatics[954]; /* ('get_formatter',) */ + cpy_r_r34 = CPyStatics[266]; /* 'dank_mids._web3.abi' */ + cpy_r_r35 = CPyStatic_formatters___globals; + cpy_r_r36 = CPyImport_ImportFromMany(cpy_r_r34, cpy_r_r33, cpy_r_r33, cpy_r_r35); + if (unlikely(cpy_r_r36 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 17, CPyStatic_formatters___globals); + goto CPyL55; + } + CPyModule_dank_mids____web3___abi = cpy_r_r36; + CPy_INCREF(CPyModule_dank_mids____web3___abi); + CPy_DECREF(cpy_r_r36); + cpy_r_r37 = CPyStatics[259]; /* '_T' */ + cpy_r_r38 = CPyStatic_formatters___globals; + cpy_r_r39 = CPyStatics[37]; /* 'TypeVar' */ + cpy_r_r40 = CPyDict_GetItem(cpy_r_r38, cpy_r_r39); + if (unlikely(cpy_r_r40 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 20, CPyStatic_formatters___globals); + goto CPyL55; + } + PyObject *cpy_r_r41[1] = {cpy_r_r37}; + cpy_r_r42 = (PyObject **)&cpy_r_r41; + cpy_r_r43 = PyObject_Vectorcall(cpy_r_r40, cpy_r_r42, 1, 0); + CPy_DECREF(cpy_r_r40); + if (unlikely(cpy_r_r43 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 20, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r44 = CPyStatic_formatters___globals; + cpy_r_r45 = CPyStatics[259]; /* '_T' */ + cpy_r_r46 = CPyDict_SetItem(cpy_r_r44, cpy_r_r45, cpy_r_r43); + CPy_DECREF(cpy_r_r43); + cpy_r_r47 = cpy_r_r46 >= 0; + if (unlikely(!cpy_r_r47)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 20, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r48 = CPyStatic_formatters___globals; + cpy_r_r49 = CPyStatics[289]; /* 'STANDARD_NORMALIZERS' */ + cpy_r_r50 = CPyDict_GetItem(cpy_r_r48, cpy_r_r49); + if (unlikely(cpy_r_r50 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 42, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r51 = CPyStatic_formatters___globals; + cpy_r_r52 = CPyStatics[291]; /* 'RPC_ABIS' */ + cpy_r_r53 = CPyDict_GetItem(cpy_r_r51, cpy_r_r52); + if (unlikely(cpy_r_r53 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 42, CPyStatic_formatters___globals); + goto CPyL56; + } + if (likely(PyDict_Check(cpy_r_r53))) + cpy_r_r54 = cpy_r_r53; + else { + CPy_TypeErrorTraceback("dank_mids\\_web3\\formatters.py", "", 42, CPyStatic_formatters___globals, "dict", cpy_r_r53); + goto CPyL56; + } + cpy_r_r55 = CPyDef_formatters___abi_request_formatters(cpy_r_r50, cpy_r_r54); + CPy_DECREF(cpy_r_r50); + CPy_DECREF(cpy_r_r54); + if (unlikely(cpy_r_r55 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 42, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r56 = CPyDict_FromAny(cpy_r_r55); + CPy_DECREF_NO_IMM(cpy_r_r55); + if (unlikely(cpy_r_r56 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 41, CPyStatic_formatters___globals); + goto CPyL55; + } + CPyStatic_formatters___ABI_REQUEST_FORMATTERS = cpy_r_r56; + CPy_INCREF(CPyStatic_formatters___ABI_REQUEST_FORMATTERS); + cpy_r_r57 = CPyStatic_formatters___globals; + cpy_r_r58 = CPyStatics[298]; /* 'ABI_REQUEST_FORMATTERS' */ + 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; + if (unlikely(!cpy_r_r60)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 41, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r61 = CPyStatic_formatters___ABI_REQUEST_FORMATTERS; + if (likely(cpy_r_r61 != NULL)) goto CPyL23; + PyErr_SetString(PyExc_NameError, "value for final name \"ABI_REQUEST_FORMATTERS\" was not set"); + cpy_r_r62 = 0; + if (unlikely(!cpy_r_r62)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 46, CPyStatic_formatters___globals); + goto CPyL55; + } + CPy_Unreachable(); +CPyL23: ; + cpy_r_r63 = CPyStatic_formatters___globals; + cpy_r_r64 = CPyStatics[287]; /* 'METHOD_NORMALIZERS' */ + cpy_r_r65 = CPyDict_GetItem(cpy_r_r63, cpy_r_r64); + if (unlikely(cpy_r_r65 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 51, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r66 = CPyStatic_formatters___globals; + cpy_r_r67 = CPyStatics[288]; /* 'PYTHONIC_REQUEST_FORMATTERS' */ + cpy_r_r68 = CPyDict_GetItem(cpy_r_r66, cpy_r_r67); + if (unlikely(cpy_r_r68 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 52, CPyStatic_formatters___globals); + goto CPyL57; + } + CPy_INCREF(cpy_r_r61); + cpy_r_r69.f0 = cpy_r_r61; + cpy_r_r69.f1 = cpy_r_r65; + cpy_r_r69.f2 = cpy_r_r68; + CPyStatic_formatters___REQUEST_FORMATTER_MAPS = cpy_r_r69; + CPy_INCREF(CPyStatic_formatters___REQUEST_FORMATTER_MAPS.f0); + CPy_INCREF(CPyStatic_formatters___REQUEST_FORMATTER_MAPS.f1); + CPy_INCREF(CPyStatic_formatters___REQUEST_FORMATTER_MAPS.f2); + cpy_r_r70 = CPyStatic_formatters___globals; + cpy_r_r71 = CPyStatics[299]; /* 'REQUEST_FORMATTER_MAPS' */ + cpy_r_r72 = PyTuple_New(3); + if (unlikely(cpy_r_r72 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp109 = cpy_r_r69.f0; + PyTuple_SET_ITEM(cpy_r_r72, 0, __tmp109); + PyObject *__tmp110 = cpy_r_r69.f1; + PyTuple_SET_ITEM(cpy_r_r72, 1, __tmp110); + PyObject *__tmp111 = cpy_r_r69.f2; + PyTuple_SET_ITEM(cpy_r_r72, 2, __tmp111); + cpy_r_r73 = CPyDict_SetItem(cpy_r_r70, cpy_r_r71, cpy_r_r72); + CPy_DECREF(cpy_r_r72); + cpy_r_r74 = cpy_r_r73 >= 0; + if (unlikely(!cpy_r_r74)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 45, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r75 = PyDict_New(); + if (unlikely(cpy_r_r75 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 55, CPyStatic_formatters___globals); + goto CPyL55; + } + CPyStatic_formatters____request_formatters = cpy_r_r75; + CPy_INCREF(CPyStatic_formatters____request_formatters); + cpy_r_r76 = CPyStatic_formatters___globals; + cpy_r_r77 = CPyStatics[300]; /* '_request_formatters' */ + cpy_r_r78 = CPyDict_SetItem(cpy_r_r76, cpy_r_r77, cpy_r_r75); + CPy_DECREF(cpy_r_r75); + cpy_r_r79 = cpy_r_r78 >= 0; + if (unlikely(!cpy_r_r79)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 55, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r80 = CPyStatic_formatters___globals; + cpy_r_r81 = CPyStatics[251]; /* 'Callable' */ + cpy_r_r82 = CPyDict_GetItem(cpy_r_r80, cpy_r_r81); + if (unlikely(cpy_r_r82 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 75, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r83 = CPyStatic_formatters___globals; + cpy_r_r84 = CPyStatics[295]; /* 'RPCResponse' */ + cpy_r_r85 = CPyDict_GetItem(cpy_r_r83, cpy_r_r84); + if (unlikely(cpy_r_r85 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 75, CPyStatic_formatters___globals); + goto CPyL58; + } + cpy_r_r86 = PyList_New(1); + if (unlikely(cpy_r_r86 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 75, CPyStatic_formatters___globals); + goto CPyL59; + } + cpy_r_r87 = (CPyPtr)&((PyListObject *)cpy_r_r86)->ob_item; + cpy_r_r88 = *(CPyPtr *)cpy_r_r87; + *(PyObject * *)cpy_r_r88 = cpy_r_r85; + cpy_r_r89 = CPyStatic_formatters___globals; + cpy_r_r90 = CPyStatics[33]; /* 'Any' */ + cpy_r_r91 = CPyDict_GetItem(cpy_r_r89, cpy_r_r90); + if (unlikely(cpy_r_r91 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 75, CPyStatic_formatters___globals); + goto CPyL60; + } + cpy_r_r92.f0 = cpy_r_r86; + cpy_r_r92.f1 = cpy_r_r91; + cpy_r_r93 = PyTuple_New(2); + if (unlikely(cpy_r_r93 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp112 = cpy_r_r92.f0; + PyTuple_SET_ITEM(cpy_r_r93, 0, __tmp112); + PyObject *__tmp113 = cpy_r_r92.f1; + PyTuple_SET_ITEM(cpy_r_r93, 1, __tmp113); + cpy_r_r94 = PyObject_GetItem(cpy_r_r82, cpy_r_r93); + CPy_DECREF(cpy_r_r82); + CPy_DECREF(cpy_r_r93); + if (unlikely(cpy_r_r94 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 75, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r95 = CPyStatic_formatters___globals; + cpy_r_r96 = CPyStatics[301]; /* 'SuccessFormatter' */ + cpy_r_r97 = CPyDict_SetItem(cpy_r_r95, cpy_r_r96, cpy_r_r94); + CPy_DECREF(cpy_r_r94); + cpy_r_r98 = cpy_r_r97 >= 0; + if (unlikely(!cpy_r_r98)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 75, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r99 = CPyStatic_formatters___globals; + cpy_r_r100 = CPyStatics[251]; /* 'Callable' */ + cpy_r_r101 = CPyDict_GetItem(cpy_r_r99, cpy_r_r100); + if (unlikely(cpy_r_r101 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 76, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r102 = CPyStatic_formatters___globals; + cpy_r_r103 = CPyStatics[295]; /* 'RPCResponse' */ + cpy_r_r104 = CPyDict_GetItem(cpy_r_r102, cpy_r_r103); + if (unlikely(cpy_r_r104 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 76, CPyStatic_formatters___globals); + goto CPyL61; + } + cpy_r_r105 = PyList_New(1); + if (unlikely(cpy_r_r105 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 76, CPyStatic_formatters___globals); + goto CPyL62; + } + cpy_r_r106 = (CPyPtr)&((PyListObject *)cpy_r_r105)->ob_item; + cpy_r_r107 = *(CPyPtr *)cpy_r_r106; + *(PyObject * *)cpy_r_r107 = cpy_r_r104; + cpy_r_r108 = CPyStatic_formatters___globals; + cpy_r_r109 = CPyStatics[33]; /* 'Any' */ + cpy_r_r110 = CPyDict_GetItem(cpy_r_r108, cpy_r_r109); + if (unlikely(cpy_r_r110 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 76, CPyStatic_formatters___globals); + goto CPyL63; + } + cpy_r_r111.f0 = cpy_r_r105; + cpy_r_r111.f1 = cpy_r_r110; + cpy_r_r112 = PyTuple_New(2); + if (unlikely(cpy_r_r112 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp114 = cpy_r_r111.f0; + PyTuple_SET_ITEM(cpy_r_r112, 0, __tmp114); + PyObject *__tmp115 = cpy_r_r111.f1; + PyTuple_SET_ITEM(cpy_r_r112, 1, __tmp115); + cpy_r_r113 = PyObject_GetItem(cpy_r_r101, cpy_r_r112); + CPy_DECREF(cpy_r_r101); + CPy_DECREF(cpy_r_r112); + if (unlikely(cpy_r_r113 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 76, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r114 = CPyStatic_formatters___globals; + cpy_r_r115 = CPyStatics[302]; /* 'ErrorFormatter' */ + cpy_r_r116 = CPyDict_SetItem(cpy_r_r114, cpy_r_r115, cpy_r_r113); + CPy_DECREF(cpy_r_r113); + cpy_r_r117 = cpy_r_r116 >= 0; + if (unlikely(!cpy_r_r117)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 76, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r118 = CPyStatic_formatters___globals; + cpy_r_r119 = CPyStatics[251]; /* 'Callable' */ + cpy_r_r120 = CPyDict_GetItem(cpy_r_r118, cpy_r_r119); + if (unlikely(cpy_r_r120 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 77, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r121 = CPyStatic_formatters___globals; + cpy_r_r122 = CPyStatics[295]; /* 'RPCResponse' */ + cpy_r_r123 = CPyDict_GetItem(cpy_r_r121, cpy_r_r122); + if (unlikely(cpy_r_r123 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 77, CPyStatic_formatters___globals); + goto CPyL64; + } + cpy_r_r124 = PyList_New(1); + if (unlikely(cpy_r_r124 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 77, CPyStatic_formatters___globals); + goto CPyL65; + } + cpy_r_r125 = (CPyPtr)&((PyListObject *)cpy_r_r124)->ob_item; + cpy_r_r126 = *(CPyPtr *)cpy_r_r125; + *(PyObject * *)cpy_r_r126 = cpy_r_r123; + cpy_r_r127 = CPyStatic_formatters___globals; + cpy_r_r128 = CPyStatics[33]; /* 'Any' */ + cpy_r_r129 = CPyDict_GetItem(cpy_r_r127, cpy_r_r128); + if (unlikely(cpy_r_r129 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 77, CPyStatic_formatters___globals); + goto CPyL66; + } + cpy_r_r130.f0 = cpy_r_r124; + cpy_r_r130.f1 = cpy_r_r129; + cpy_r_r131 = PyTuple_New(2); + if (unlikely(cpy_r_r131 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp116 = cpy_r_r130.f0; + PyTuple_SET_ITEM(cpy_r_r131, 0, __tmp116); + PyObject *__tmp117 = cpy_r_r130.f1; + PyTuple_SET_ITEM(cpy_r_r131, 1, __tmp117); + cpy_r_r132 = PyObject_GetItem(cpy_r_r120, cpy_r_r131); + CPy_DECREF(cpy_r_r120); + CPy_DECREF(cpy_r_r131); + if (unlikely(cpy_r_r132 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 77, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r133 = CPyStatic_formatters___globals; + cpy_r_r134 = CPyStatics[303]; /* 'NullFormatter' */ + cpy_r_r135 = CPyDict_SetItem(cpy_r_r133, cpy_r_r134, cpy_r_r132); + CPy_DECREF(cpy_r_r132); + cpy_r_r136 = cpy_r_r135 >= 0; + if (unlikely(!cpy_r_r136)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 77, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r137 = CPyStatic_formatters___globals; + cpy_r_r138 = CPyStatics[253]; /* 'Tuple' */ + cpy_r_r139 = CPyDict_GetItem(cpy_r_r137, cpy_r_r138); + if (unlikely(cpy_r_r139 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 79, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r140 = CPyStatic_formatters___globals; + cpy_r_r141 = CPyStatics[301]; /* 'SuccessFormatter' */ + cpy_r_r142 = CPyDict_GetItem(cpy_r_r140, cpy_r_r141); + if (unlikely(cpy_r_r142 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 79, CPyStatic_formatters___globals); + goto CPyL67; + } + cpy_r_r143 = CPyStatic_formatters___globals; + cpy_r_r144 = CPyStatics[302]; /* 'ErrorFormatter' */ + cpy_r_r145 = CPyDict_GetItem(cpy_r_r143, cpy_r_r144); + if (unlikely(cpy_r_r145 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 79, CPyStatic_formatters___globals); + goto CPyL68; + } + cpy_r_r146 = CPyStatic_formatters___globals; + cpy_r_r147 = CPyStatics[303]; /* 'NullFormatter' */ + cpy_r_r148 = CPyDict_GetItem(cpy_r_r146, cpy_r_r147); + if (unlikely(cpy_r_r148 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 79, CPyStatic_formatters___globals); + goto CPyL69; + } + cpy_r_r149.f0 = cpy_r_r142; + cpy_r_r149.f1 = cpy_r_r145; + cpy_r_r149.f2 = cpy_r_r148; + cpy_r_r150 = PyTuple_New(3); + if (unlikely(cpy_r_r150 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp118 = cpy_r_r149.f0; + PyTuple_SET_ITEM(cpy_r_r150, 0, __tmp118); + PyObject *__tmp119 = cpy_r_r149.f1; + PyTuple_SET_ITEM(cpy_r_r150, 1, __tmp119); + PyObject *__tmp120 = cpy_r_r149.f2; + PyTuple_SET_ITEM(cpy_r_r150, 2, __tmp120); + cpy_r_r151 = PyObject_GetItem(cpy_r_r139, cpy_r_r150); + CPy_DECREF(cpy_r_r139); + CPy_DECREF(cpy_r_r150); + if (unlikely(cpy_r_r151 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 79, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r152 = CPyStatic_formatters___globals; + cpy_r_r153 = CPyStatics[304]; /* 'ResponseFormatters' */ + cpy_r_r154 = CPyDict_SetItem(cpy_r_r152, cpy_r_r153, cpy_r_r151); + CPy_DECREF(cpy_r_r151); + cpy_r_r155 = cpy_r_r154 >= 0; + if (unlikely(!cpy_r_r155)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 79, CPyStatic_formatters___globals); + goto CPyL55; + } + cpy_r_r156 = PyDict_New(); + if (unlikely(cpy_r_r156 == NULL)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 81, CPyStatic_formatters___globals); + goto CPyL55; + } + CPyStatic_formatters____response_formatters = cpy_r_r156; + CPy_INCREF(CPyStatic_formatters____response_formatters); + cpy_r_r157 = CPyStatic_formatters___globals; + cpy_r_r158 = CPyStatics[305]; /* '_response_formatters' */ + cpy_r_r159 = CPyDict_SetItem(cpy_r_r157, cpy_r_r158, cpy_r_r156); + CPy_DECREF(cpy_r_r156); + cpy_r_r160 = cpy_r_r159 >= 0; + if (unlikely(!cpy_r_r160)) { + CPy_AddTraceback("dank_mids\\_web3\\formatters.py", "", 81, CPyStatic_formatters___globals); + goto CPyL55; + } + return 1; +CPyL55: ; + cpy_r_r161 = 2; + return cpy_r_r161; +CPyL56: ; + CPy_DecRef(cpy_r_r50); + goto CPyL55; +CPyL57: ; + CPy_DecRef(cpy_r_r65); + goto CPyL55; +CPyL58: ; + CPy_DecRef(cpy_r_r82); + goto CPyL55; +CPyL59: ; + CPy_DecRef(cpy_r_r82); + CPy_DecRef(cpy_r_r85); + goto CPyL55; +CPyL60: ; + CPy_DecRef(cpy_r_r82); + CPy_DecRef(cpy_r_r86); + goto CPyL55; +CPyL61: ; + CPy_DecRef(cpy_r_r101); + goto CPyL55; +CPyL62: ; + CPy_DecRef(cpy_r_r101); + CPy_DecRef(cpy_r_r104); + goto CPyL55; +CPyL63: ; + CPy_DecRef(cpy_r_r101); + CPy_DecRef(cpy_r_r105); + goto CPyL55; +CPyL64: ; + CPy_DecRef(cpy_r_r120); + goto CPyL55; +CPyL65: ; + CPy_DecRef(cpy_r_r120); + CPy_DecRef(cpy_r_r123); + goto CPyL55; +CPyL66: ; + CPy_DecRef(cpy_r_r120); + CPy_DecRef(cpy_r_r124); + goto CPyL55; +CPyL67: ; + CPy_DecRef(cpy_r_r139); + goto CPyL55; +CPyL68: ; + CPy_DecRef(cpy_r_r139); + CPy_DecRef(cpy_r_r142); + goto CPyL55; +CPyL69: ; + CPy_DecRef(cpy_r_r139); + CPy_DecRef(cpy_r_r142); + CPy_DecRef(cpy_r_r145); + goto CPyL55; +} +static PyMethodDef brownie_patchmodule_methods[] = { + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___brownie_patch(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___brownie_patch__internal, "__name__"); + CPyStatic_brownie_patch___globals = PyModule_GetDict(CPyModule_dank_mids___brownie_patch__internal); + if (unlikely(CPyStatic_brownie_patch___globals == NULL)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_brownie_patch_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___brownie_patch__internal); + Py_CLEAR(modname); + return -1; +} +static struct PyModuleDef brownie_patchmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.brownie_patch", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + brownie_patchmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___brownie_patch(void) +{ + if (CPyModule_dank_mids___brownie_patch__internal) { + Py_INCREF(CPyModule_dank_mids___brownie_patch__internal); + return CPyModule_dank_mids___brownie_patch__internal; + } + CPyModule_dank_mids___brownie_patch__internal = PyModule_Create(&brownie_patchmodule); + if (unlikely(CPyModule_dank_mids___brownie_patch__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___brownie_patch(CPyModule_dank_mids___brownie_patch__internal) != 0) + goto fail; + return CPyModule_dank_mids___brownie_patch__internal; + fail: + return NULL; +} + +char CPyDef_brownie_patch_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + CPyPtr cpy_r_r26; + CPyPtr cpy_r_r27; + CPyPtr cpy_r_r28; + CPyPtr cpy_r_r29; + CPyPtr cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + int32_t cpy_r_r33; + char cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject **cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + PyObject **cpy_r_r62; + PyObject *cpy_r_r63; + char cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + PyObject *cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + PyObject **cpy_r_r74; + PyObject *cpy_r_r75; + int32_t cpy_r_r76; + char cpy_r_r77; + char cpy_r_r78; + PyObject *cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + PyObject *cpy_r_r88; + PyObject **cpy_r_r90; + PyObject *cpy_r_r91; + PyObject *cpy_r_r92; + PyObject *cpy_r_r93; + int32_t cpy_r_r94; + char cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + PyObject *cpy_r_r98; + PyObject *cpy_r_r99; + PyObject *cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + int32_t cpy_r_r103; + char cpy_r_r104; + PyObject *cpy_r_r105; + PyObject *cpy_r_r106; + PyObject *cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + PyObject *cpy_r_r111; + PyObject *cpy_r_r112; + CPyPtr cpy_r_r113; + CPyPtr cpy_r_r114; + CPyPtr cpy_r_r115; + CPyPtr cpy_r_r116; + CPyPtr cpy_r_r117; + PyObject *cpy_r_r118; + int32_t cpy_r_r119; + char cpy_r_r120; + tuple_T3OOO cpy_r_r121; + tuple_T3OOO cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + PyObject **cpy_r_r127; + PyObject *cpy_r_r128; + int32_t cpy_r_r129; + char cpy_r_r130; + char cpy_r_r131; + char cpy_r_r132; + tuple_T3OOO cpy_r_r133; + tuple_T3OOO cpy_r_r134; + tuple_T3OOO cpy_r_r135; + PyObject *cpy_r_r136; + PyObject **cpy_r_r138; + PyObject *cpy_r_r139; + char cpy_r_r140; + char cpy_r_r141; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", -1, CPyStatic_brownie_patch___globals); + goto CPyL56; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[955]; /* ('suppress',) */ + cpy_r_r6 = CPyStatics[307]; /* '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); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 1, CPyStatic_brownie_patch___globals); + goto CPyL56; + } + CPyModule_contextlib = cpy_r_r8; + CPy_INCREF(CPyModule_contextlib); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[956]; /* ('AsyncEth',) */ + cpy_r_r10 = CPyStatics[309]; /* '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); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 3, CPyStatic_brownie_patch___globals); + goto CPyL56; + } + CPyModule_web3___eth = cpy_r_r12; + CPy_INCREF(CPyModule_web3___eth); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = CPyStatics[957]; /* ('setup_dank_w3_from_sync',) */ + cpy_r_r14 = CPyStatics[224]; /* '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); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 5, CPyStatic_brownie_patch___globals); + goto CPyL56; + } + CPyModule_dank_mids___helpers = cpy_r_r16; + CPy_INCREF(CPyModule_dank_mids___helpers); + CPy_DECREF(cpy_r_r16); + cpy_r_r17 = CPyStatics[958]; /* ('DankContractCall', 'DankContractMethod', + 'DankContractTx', 'DankOverloadedMethod') */ + cpy_r_r18 = CPyStatics[315]; /* 'dank_mids.brownie_patch.types' */ + cpy_r_r19 = CPyStatic_brownie_patch___globals; + cpy_r_r20 = CPyImport_ImportFromMany(cpy_r_r18, cpy_r_r17, cpy_r_r17, cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 6, CPyStatic_brownie_patch___globals); + goto CPyL56; + } + CPyModule_dank_mids___brownie_patch___types = cpy_r_r20; + CPy_INCREF(CPyModule_dank_mids___brownie_patch___types); + CPy_DECREF(cpy_r_r20); + cpy_r_r21 = CPyStatics[311]; /* 'DankContractCall' */ + cpy_r_r22 = CPyStatics[312]; /* 'DankContractMethod' */ + cpy_r_r23 = CPyStatics[313]; /* 'DankContractTx' */ + cpy_r_r24 = CPyStatics[314]; /* 'DankOverloadedMethod' */ + cpy_r_r25 = PyList_New(4); + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 13, CPyStatic_brownie_patch___globals); + goto CPyL56; + } + cpy_r_r26 = (CPyPtr)&((PyListObject *)cpy_r_r25)->ob_item; + cpy_r_r27 = *(CPyPtr *)cpy_r_r26; + CPy_INCREF(cpy_r_r21); + *(PyObject * *)cpy_r_r27 = cpy_r_r21; + CPy_INCREF(cpy_r_r22); + cpy_r_r28 = cpy_r_r27 + 8; + *(PyObject * *)cpy_r_r28 = cpy_r_r22; + CPy_INCREF(cpy_r_r23); + cpy_r_r29 = cpy_r_r27 + 16; + *(PyObject * *)cpy_r_r29 = cpy_r_r23; + CPy_INCREF(cpy_r_r24); + cpy_r_r30 = cpy_r_r27 + 24; + *(PyObject * *)cpy_r_r30 = cpy_r_r24; + cpy_r_r31 = CPyStatic_brownie_patch___globals; + cpy_r_r32 = CPyStatics[226]; /* '__all__' */ + cpy_r_r33 = CPyDict_SetItem(cpy_r_r31, cpy_r_r32, cpy_r_r25); + CPy_DECREF_NO_IMM(cpy_r_r25); + cpy_r_r34 = cpy_r_r33 >= 0; + if (unlikely(!cpy_r_r34)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 13, CPyStatic_brownie_patch___globals); + goto CPyL56; + } + cpy_r_r35 = CPyStatics[959]; /* ('DankEth',) */ + cpy_r_r36 = CPyStatics[317]; /* '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); + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 15, CPyStatic_brownie_patch___globals); + goto CPyL56; + } + CPyModule_dank_mids___eth = cpy_r_r38; + CPy_INCREF(CPyModule_dank_mids___eth); + CPy_DECREF(cpy_r_r38); + cpy_r_r39 = CPyStatics[960]; /* ('DankWeb3',) */ + cpy_r_r40 = CPyStatics[319]; /* '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); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 16, CPyStatic_brownie_patch___globals); + goto CPyL56; + } + CPyModule_dank_mids___helpers____helpers = cpy_r_r42; + CPy_INCREF(CPyModule_dank_mids___helpers____helpers); + CPy_DECREF(cpy_r_r42); + cpy_r_r43 = CPyStatic_brownie_patch___globals; + cpy_r_r44 = CPyStatics[320]; /* 'dank_web3' */ + cpy_r_r45 = CPyStatic_brownie_patch___globals; + cpy_r_r46 = CPyStatics[321]; /* 'dank_eth' */ + cpy_r_r47 = CPyModule_builtins; + cpy_r_r48 = CPyStatics[322]; /* 'ImportError' */ + cpy_r_r49 = CPyObject_GetAttr(cpy_r_r47, cpy_r_r48); + if (unlikely(cpy_r_r49 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 33, CPyStatic_brownie_patch___globals); + goto CPyL56; + } + cpy_r_r50 = CPyStatic_brownie_patch___globals; + cpy_r_r51 = CPyStatics[306]; /* 'suppress' */ + cpy_r_r52 = CPyDict_GetItem(cpy_r_r50, cpy_r_r51); + if (unlikely(cpy_r_r52 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 33, CPyStatic_brownie_patch___globals); + goto CPyL57; + } + PyObject *cpy_r_r53[1] = {cpy_r_r49}; + cpy_r_r54 = (PyObject **)&cpy_r_r53; + cpy_r_r55 = PyObject_Vectorcall(cpy_r_r52, cpy_r_r54, 1, 0); + CPy_DECREF(cpy_r_r52); + if (unlikely(cpy_r_r55 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 33, CPyStatic_brownie_patch___globals); + goto CPyL57; + } + CPy_DECREF(cpy_r_r49); + cpy_r_r56 = CPy_TYPE(cpy_r_r55); + cpy_r_r57 = CPyStatics[209]; /* '__exit__' */ + cpy_r_r58 = CPyObject_GetAttr(cpy_r_r56, cpy_r_r57); + if (unlikely(cpy_r_r58 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 33, CPyStatic_brownie_patch___globals); + goto CPyL58; + } + cpy_r_r59 = CPyStatics[210]; /* '__enter__' */ + cpy_r_r60 = CPyObject_GetAttr(cpy_r_r56, cpy_r_r59); + CPy_DECREF(cpy_r_r56); + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 33, CPyStatic_brownie_patch___globals); + goto CPyL59; + } + PyObject *cpy_r_r61[1] = {cpy_r_r55}; + cpy_r_r62 = (PyObject **)&cpy_r_r61; + cpy_r_r63 = PyObject_Vectorcall(cpy_r_r60, cpy_r_r62, 1, 0); + CPy_DECREF(cpy_r_r60); + if (unlikely(cpy_r_r63 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 33, CPyStatic_brownie_patch___globals); + goto CPyL59; + } else + goto CPyL60; +CPyL17: ; + cpy_r_r64 = 1; + cpy_r_r65 = CPyStatics[961]; /* ('network', 'web3') */ + cpy_r_r66 = CPyStatics[324]; /* '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); + if (unlikely(cpy_r_r68 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 34, CPyStatic_brownie_patch___globals); + goto CPyL35; + } + CPyModule_brownie = cpy_r_r68; + CPy_INCREF(CPyModule_brownie); + CPy_DECREF(cpy_r_r68); + cpy_r_r69 = CPyStatic_brownie_patch___globals; + cpy_r_r70 = CPyStatics[323]; /* 'network' */ + cpy_r_r71 = CPyDict_GetItem(cpy_r_r69, cpy_r_r70); + if (unlikely(cpy_r_r71 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 36, CPyStatic_brownie_patch___globals); + goto CPyL35; + } + cpy_r_r72 = CPyStatics[325]; /* 'is_connected' */ + PyObject *cpy_r_r73[1] = {cpy_r_r71}; + cpy_r_r74 = (PyObject **)&cpy_r_r73; + cpy_r_r75 = PyObject_VectorcallMethod(cpy_r_r72, cpy_r_r74, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r75 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 36, CPyStatic_brownie_patch___globals); + goto CPyL61; + } + CPy_DECREF(cpy_r_r71); + cpy_r_r76 = PyObject_IsTrue(cpy_r_r75); + CPy_DECREF(cpy_r_r75); + cpy_r_r77 = cpy_r_r76 >= 0; + if (unlikely(!cpy_r_r77)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 36, CPyStatic_brownie_patch___globals); + goto CPyL35; + } + cpy_r_r78 = cpy_r_r76; + if (!cpy_r_r78) goto CPyL43; + cpy_r_r79 = CPyStatics[962]; /* ('Contract', 'patch_contract') */ + cpy_r_r80 = CPyStatics[328]; /* '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); + if (unlikely(cpy_r_r82 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 37, CPyStatic_brownie_patch___globals); + goto CPyL35; + } + CPyModule_dank_mids___brownie_patch___contract = cpy_r_r82; + CPy_INCREF(CPyModule_dank_mids___brownie_patch___contract); + CPy_DECREF(cpy_r_r82); + cpy_r_r83 = CPyStatic_brownie_patch___globals; + cpy_r_r84 = CPyStatics[95]; /* 'web3' */ + cpy_r_r85 = CPyDict_GetItem(cpy_r_r83, cpy_r_r84); + if (unlikely(cpy_r_r85 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 39, CPyStatic_brownie_patch___globals); + goto CPyL35; + } + cpy_r_r86 = CPyStatic_brownie_patch___globals; + cpy_r_r87 = CPyStatics[310]; /* 'setup_dank_w3_from_sync' */ + cpy_r_r88 = CPyDict_GetItem(cpy_r_r86, cpy_r_r87); + if (unlikely(cpy_r_r88 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 39, CPyStatic_brownie_patch___globals); + goto CPyL62; + } + PyObject *cpy_r_r89[1] = {cpy_r_r85}; + cpy_r_r90 = (PyObject **)&cpy_r_r89; + cpy_r_r91 = PyObject_Vectorcall(cpy_r_r88, cpy_r_r90, 1, 0); + CPy_DECREF(cpy_r_r88); + if (unlikely(cpy_r_r91 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 39, CPyStatic_brownie_patch___globals); + goto CPyL62; + } + CPy_DECREF(cpy_r_r85); + cpy_r_r92 = CPyStatic_brownie_patch___globals; + cpy_r_r93 = CPyStatics[320]; /* 'dank_web3' */ + cpy_r_r94 = CPyDict_SetItem(cpy_r_r92, cpy_r_r93, cpy_r_r91); + CPy_DECREF(cpy_r_r91); + cpy_r_r95 = cpy_r_r94 >= 0; + if (unlikely(!cpy_r_r95)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 39, CPyStatic_brownie_patch___globals); + goto CPyL35; + } + cpy_r_r96 = CPyStatic_brownie_patch___globals; + cpy_r_r97 = CPyStatics[320]; /* 'dank_web3' */ + cpy_r_r98 = CPyDict_GetItem(cpy_r_r96, cpy_r_r97); + if (unlikely(cpy_r_r98 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 40, CPyStatic_brownie_patch___globals); + goto CPyL35; + } + cpy_r_r99 = CPyStatics[329]; /* 'eth' */ + cpy_r_r100 = CPyObject_GetAttr(cpy_r_r98, cpy_r_r99); + CPy_DECREF(cpy_r_r98); + if (unlikely(cpy_r_r100 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 40, CPyStatic_brownie_patch___globals); + goto CPyL35; + } + cpy_r_r101 = CPyStatic_brownie_patch___globals; + cpy_r_r102 = CPyStatics[321]; /* 'dank_eth' */ + cpy_r_r103 = CPyDict_SetItem(cpy_r_r101, cpy_r_r102, cpy_r_r100); + CPy_DECREF(cpy_r_r100); + cpy_r_r104 = cpy_r_r103 >= 0; + if (unlikely(!cpy_r_r104)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 40, CPyStatic_brownie_patch___globals); + goto CPyL35; + } + cpy_r_r105 = CPyStatic_brownie_patch___globals; + cpy_r_r106 = CPyStatics[226]; /* '__all__' */ + cpy_r_r107 = CPyDict_GetItem(cpy_r_r105, cpy_r_r106); + if (unlikely(cpy_r_r107 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 41, CPyStatic_brownie_patch___globals); + goto CPyL35; + } + cpy_r_r108 = CPyStatics[326]; /* 'Contract' */ + cpy_r_r109 = CPyStatics[327]; /* 'patch_contract' */ + cpy_r_r110 = CPyStatics[320]; /* 'dank_web3' */ + cpy_r_r111 = CPyStatics[321]; /* 'dank_eth' */ + cpy_r_r112 = PyList_New(4); + if (unlikely(cpy_r_r112 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 41, CPyStatic_brownie_patch___globals); + goto CPyL63; + } + cpy_r_r113 = (CPyPtr)&((PyListObject *)cpy_r_r112)->ob_item; + cpy_r_r114 = *(CPyPtr *)cpy_r_r113; + CPy_INCREF(cpy_r_r108); + *(PyObject * *)cpy_r_r114 = cpy_r_r108; + CPy_INCREF(cpy_r_r109); + cpy_r_r115 = cpy_r_r114 + 8; + *(PyObject * *)cpy_r_r115 = cpy_r_r109; + CPy_INCREF(cpy_r_r110); + cpy_r_r116 = cpy_r_r114 + 16; + *(PyObject * *)cpy_r_r116 = cpy_r_r110; + CPy_INCREF(cpy_r_r111); + cpy_r_r117 = cpy_r_r114 + 24; + *(PyObject * *)cpy_r_r117 = cpy_r_r111; + cpy_r_r118 = PyNumber_InPlaceAdd(cpy_r_r107, cpy_r_r112); + CPy_DECREF(cpy_r_r107); + CPy_DECREF_NO_IMM(cpy_r_r112); + if (unlikely(cpy_r_r118 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 41, CPyStatic_brownie_patch___globals); + goto CPyL35; + } + cpy_r_r119 = CPyDict_SetItem(cpy_r_r105, cpy_r_r106, cpy_r_r118); + CPy_DECREF(cpy_r_r118); + cpy_r_r120 = cpy_r_r119 >= 0; + if (unlikely(!cpy_r_r120)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 41, CPyStatic_brownie_patch___globals); + } else + goto CPyL43; +CPyL35: ; + cpy_r_r121 = CPy_CatchError(); + cpy_r_r64 = 0; + cpy_r_r122 = CPy_GetExcInfo(); + cpy_r_r123 = cpy_r_r122.f0; + CPy_INCREF(cpy_r_r123); + cpy_r_r124 = cpy_r_r122.f1; + CPy_INCREF(cpy_r_r124); + cpy_r_r125 = cpy_r_r122.f2; + CPy_INCREF(cpy_r_r125); + CPy_DecRef(cpy_r_r122.f0); + CPy_DecRef(cpy_r_r122.f1); + CPy_DecRef(cpy_r_r122.f2); + PyObject *cpy_r_r126[4] = {cpy_r_r55, cpy_r_r123, cpy_r_r124, cpy_r_r125}; + cpy_r_r127 = (PyObject **)&cpy_r_r126; + cpy_r_r128 = PyObject_Vectorcall(cpy_r_r58, cpy_r_r127, 4, 0); + if (unlikely(cpy_r_r128 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 33, CPyStatic_brownie_patch___globals); + goto CPyL64; + } + CPy_DecRef(cpy_r_r123); + CPy_DecRef(cpy_r_r124); + CPy_DecRef(cpy_r_r125); + cpy_r_r129 = PyObject_IsTrue(cpy_r_r128); + CPy_DecRef(cpy_r_r128); + cpy_r_r130 = cpy_r_r129 >= 0; + if (unlikely(!cpy_r_r130)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 33, CPyStatic_brownie_patch___globals); + goto CPyL41; + } + cpy_r_r131 = cpy_r_r129; + if (cpy_r_r131) goto CPyL40; + CPy_Reraise(); + if (!0) { + goto CPyL41; + } else + goto CPyL65; +CPyL39: ; + CPy_Unreachable(); +CPyL40: ; + CPy_RestoreExcInfo(cpy_r_r121); + CPy_DecRef(cpy_r_r121.f0); + CPy_DecRef(cpy_r_r121.f1); + CPy_DecRef(cpy_r_r121.f2); + goto CPyL43; +CPyL41: ; + CPy_RestoreExcInfo(cpy_r_r121); + CPy_DecRef(cpy_r_r121.f0); + CPy_DecRef(cpy_r_r121.f1); + CPy_DecRef(cpy_r_r121.f2); + cpy_r_r132 = CPy_KeepPropagating(); + if (!cpy_r_r132) { + goto CPyL44; + } else + goto CPyL66; +CPyL42: ; + CPy_Unreachable(); +CPyL43: ; + tuple_T3OOO __tmp121 = { NULL, NULL, NULL }; + cpy_r_r133 = __tmp121; + cpy_r_r134 = cpy_r_r133; + goto CPyL45; +CPyL44: ; + cpy_r_r135 = CPy_CatchError(); + cpy_r_r134 = cpy_r_r135; +CPyL45: ; + if (!cpy_r_r64) goto CPyL67; + cpy_r_r136 = (PyObject *)&_Py_NoneStruct; + PyObject *cpy_r_r137[4] = {cpy_r_r55, cpy_r_r136, cpy_r_r136, cpy_r_r136}; + cpy_r_r138 = (PyObject **)&cpy_r_r137; + cpy_r_r139 = PyObject_Vectorcall(cpy_r_r58, cpy_r_r138, 4, 0); + CPy_DECREF(cpy_r_r58); + if (unlikely(cpy_r_r139 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 33, CPyStatic_brownie_patch___globals); + goto CPyL68; + } else + goto CPyL69; +CPyL47: ; + CPy_DECREF(cpy_r_r55); +CPyL48: ; + if (cpy_r_r134.f0 == NULL) goto CPyL55; + CPy_Reraise(); + if (!0) { + goto CPyL51; + } else + goto CPyL70; +CPyL50: ; + CPy_Unreachable(); +CPyL51: ; + if (cpy_r_r134.f0 == NULL) goto CPyL53; + CPy_RestoreExcInfo(cpy_r_r134); + CPy_XDECREF(cpy_r_r134.f0); + CPy_XDECREF(cpy_r_r134.f1); + CPy_XDECREF(cpy_r_r134.f2); +CPyL53: ; + cpy_r_r140 = CPy_KeepPropagating(); + if (!cpy_r_r140) goto CPyL56; + CPy_Unreachable(); +CPyL55: ; + return 1; +CPyL56: ; + cpy_r_r141 = 2; + return cpy_r_r141; +CPyL57: ; + CPy_DecRef(cpy_r_r49); + goto CPyL56; +CPyL58: ; + CPy_DecRef(cpy_r_r55); + CPy_DecRef(cpy_r_r56); + goto CPyL56; +CPyL59: ; + CPy_DecRef(cpy_r_r55); + CPy_DecRef(cpy_r_r58); + goto CPyL56; +CPyL60: ; + CPy_DECREF(cpy_r_r63); + goto CPyL17; +CPyL61: ; + CPy_DecRef(cpy_r_r71); + goto CPyL35; +CPyL62: ; + CPy_DecRef(cpy_r_r85); + goto CPyL35; +CPyL63: ; + CPy_DecRef(cpy_r_r107); + goto CPyL35; +CPyL64: ; + CPy_DecRef(cpy_r_r123); + CPy_DecRef(cpy_r_r124); + CPy_DecRef(cpy_r_r125); + goto CPyL41; +CPyL65: ; + CPy_DecRef(cpy_r_r55); + CPy_DecRef(cpy_r_r58); + CPy_DecRef(cpy_r_r121.f0); + CPy_DecRef(cpy_r_r121.f1); + CPy_DecRef(cpy_r_r121.f2); + goto CPyL39; +CPyL66: ; + CPy_DecRef(cpy_r_r55); + CPy_DecRef(cpy_r_r58); + goto CPyL42; +CPyL67: ; + CPy_DECREF(cpy_r_r55); + CPy_DECREF(cpy_r_r58); + goto CPyL48; +CPyL68: ; + CPy_DecRef(cpy_r_r55); + goto CPyL51; +CPyL69: ; + CPy_DECREF(cpy_r_r139); + goto CPyL47; +CPyL70: ; + CPy_XDECREF(cpy_r_r134.f0); + CPy_XDECREF(cpy_r_r134.f1); + CPy_XDECREF(cpy_r_r134.f2); + goto CPyL50; +} + +static PyObject *CPyDunder___get___abi_____init___3_FunctionABI_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef__abi_____init___3_FunctionABI_obj_____get__(self, instance, owner); +} +PyObject *CPyDef__abi_____mypyc___3__init___3_FunctionABI_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef__abi_____init___3_FunctionABI_obj(void); + +static PyObject * +_abi_____init___3_FunctionABI_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType__abi_____init___3_FunctionABI_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef__abi_____mypyc___3__init___3_FunctionABI_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +_abi_____init___3_FunctionABI_obj_traverse(dank_mids___brownie_patch____abi_____init___3_FunctionABI_objObject *self, visitproc visit, void *arg) +{ + return 0; +} + +static int +_abi_____init___3_FunctionABI_obj_clear(dank_mids___brownie_patch____abi_____init___3_FunctionABI_objObject *self) +{ + return 0; +} + +static void +_abi_____init___3_FunctionABI_obj_dealloc(dank_mids___brownie_patch____abi_____init___3_FunctionABI_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (_abi_____init___3_FunctionABI_obj_free_instance == NULL) { + _abi_____init___3_FunctionABI_obj_free_instance = self; + return; + } + CPy_TRASHCAN_BEGIN(self, _abi_____init___3_FunctionABI_obj_dealloc) + _abi_____init___3_FunctionABI_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem _abi_____init___3_FunctionABI_obj_vtable[2]; +static bool +CPyDef__abi_____init___3_FunctionABI_obj_trait_vtable_setup(void) +{ + CPyVTableItem _abi_____init___3_FunctionABI_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef__abi_____init___3_FunctionABI_obj_____call__, + (CPyVTableItem)CPyDef__abi_____init___3_FunctionABI_obj_____get__, + }; + memcpy(_abi_____init___3_FunctionABI_obj_vtable, _abi_____init___3_FunctionABI_obj_vtable_scratch, sizeof(_abi_____init___3_FunctionABI_obj_vtable)); + return 1; +} + +static PyMethodDef _abi_____init___3_FunctionABI_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy__abi_____init___3_FunctionABI_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__($self, **abi)\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy__abi_____init___3_FunctionABI_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__abi_____init___3_FunctionABI_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "__init___FunctionABI_obj", + .tp_new = _abi_____init___3_FunctionABI_obj_new, + .tp_dealloc = (destructor)_abi_____init___3_FunctionABI_obj_dealloc, + .tp_traverse = (traverseproc)_abi_____init___3_FunctionABI_obj_traverse, + .tp_clear = (inquiry)_abi_____init___3_FunctionABI_obj_clear, + .tp_methods = _abi_____init___3_FunctionABI_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get___abi_____init___3_FunctionABI_obj, + .tp_basicsize = sizeof(dank_mids___brownie_patch____abi_____init___3_FunctionABI_objObject), + .tp_vectorcall_offset = offsetof(dank_mids___brownie_patch____abi_____init___3_FunctionABI_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL, + .tp_doc = PyDoc_STR("__init___FunctionABI_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType__abi_____init___3_FunctionABI_obj_template = &CPyType__abi_____init___3_FunctionABI_obj_template_; + +PyObject *CPyDef__abi_____mypyc___3__init___3_FunctionABI_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch____abi_____init___3_FunctionABI_objObject *self; + if (_abi_____init___3_FunctionABI_obj_free_instance != NULL) { + self = _abi_____init___3_FunctionABI_obj_free_instance; + _abi_____init___3_FunctionABI_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch____abi_____init___3_FunctionABI_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = _abi_____init___3_FunctionABI_obj_vtable; + self->vectorcall = CPyPy__abi_____init___3_FunctionABI_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef__abi_____init___3_FunctionABI_obj(void) +{ + PyObject *self = CPyDef__abi_____mypyc___3__init___3_FunctionABI_obj_setup((PyObject *)CPyType__abi_____init___3_FunctionABI_obj); + if (self == NULL) + return NULL; + return self; +} + + +static PyObject *CPyDunder___get___abi___singleton_FunctionABI_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef__abi___singleton_FunctionABI_obj_____get__(self, instance, owner); +} +PyObject *CPyDef__abi_____mypyc__singleton_FunctionABI_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef__abi___singleton_FunctionABI_obj(void); + +static PyObject * +_abi___singleton_FunctionABI_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType__abi___singleton_FunctionABI_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef__abi_____mypyc__singleton_FunctionABI_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +_abi___singleton_FunctionABI_obj_traverse(dank_mids___brownie_patch____abi___singleton_FunctionABI_objObject *self, visitproc visit, void *arg) +{ + return 0; +} + +static int +_abi___singleton_FunctionABI_obj_clear(dank_mids___brownie_patch____abi___singleton_FunctionABI_objObject *self) +{ + return 0; +} + +static void +_abi___singleton_FunctionABI_obj_dealloc(dank_mids___brownie_patch____abi___singleton_FunctionABI_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (_abi___singleton_FunctionABI_obj_free_instance == NULL) { + _abi___singleton_FunctionABI_obj_free_instance = self; + return; + } + CPy_TRASHCAN_BEGIN(self, _abi___singleton_FunctionABI_obj_dealloc) + _abi___singleton_FunctionABI_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem _abi___singleton_FunctionABI_obj_vtable[2]; +static bool +CPyDef__abi___singleton_FunctionABI_obj_trait_vtable_setup(void) +{ + CPyVTableItem _abi___singleton_FunctionABI_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef__abi___singleton_FunctionABI_obj_____call__, + (CPyVTableItem)CPyDef__abi___singleton_FunctionABI_obj_____get__, + }; + memcpy(_abi___singleton_FunctionABI_obj_vtable, _abi___singleton_FunctionABI_obj_vtable_scratch, sizeof(_abi___singleton_FunctionABI_obj_vtable)); + return 1; +} + +static PyMethodDef _abi___singleton_FunctionABI_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy__abi___singleton_FunctionABI_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__(**$abi)\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy__abi___singleton_FunctionABI_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__abi___singleton_FunctionABI_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "singleton_FunctionABI_obj", + .tp_new = _abi___singleton_FunctionABI_obj_new, + .tp_dealloc = (destructor)_abi___singleton_FunctionABI_obj_dealloc, + .tp_traverse = (traverseproc)_abi___singleton_FunctionABI_obj_traverse, + .tp_clear = (inquiry)_abi___singleton_FunctionABI_obj_clear, + .tp_methods = _abi___singleton_FunctionABI_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get___abi___singleton_FunctionABI_obj, + .tp_basicsize = sizeof(dank_mids___brownie_patch____abi___singleton_FunctionABI_objObject), + .tp_vectorcall_offset = offsetof(dank_mids___brownie_patch____abi___singleton_FunctionABI_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL, + .tp_doc = PyDoc_STR("singleton_FunctionABI_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType__abi___singleton_FunctionABI_obj_template = &CPyType__abi___singleton_FunctionABI_obj_template_; + +PyObject *CPyDef__abi_____mypyc__singleton_FunctionABI_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch____abi___singleton_FunctionABI_objObject *self; + if (_abi___singleton_FunctionABI_obj_free_instance != NULL) { + self = _abi___singleton_FunctionABI_obj_free_instance; + _abi___singleton_FunctionABI_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch____abi___singleton_FunctionABI_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = _abi___singleton_FunctionABI_obj_vtable; + self->vectorcall = CPyPy__abi___singleton_FunctionABI_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef__abi___singleton_FunctionABI_obj(void) +{ + PyObject *self = CPyDef__abi_____mypyc__singleton_FunctionABI_obj_setup((PyObject *)CPyType__abi___singleton_FunctionABI_obj); + if (self == NULL) + return NULL; + return self; +} + +static PyMethodDef _abimodule_methods[] = { + {"get_type_strings", (PyCFunction)CPyPy__abi___get_type_strings, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("get_type_strings(abi_params, substitutions=None)\n--\n\n") /* docstring */}, + {"build_function_signature", (PyCFunction)CPyPy__abi___build_function_signature, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("build_function_signature(abi)\n--\n\n") /* docstring */}, + {"build_function_selector", (PyCFunction)CPyPy__abi___build_function_selector, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("build_function_selector(input_signature)\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___brownie_patch____abi(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___brownie_patch____abi__internal, "__name__"); + CPyStatic__abi___globals = PyModule_GetDict(CPyModule_dank_mids___brownie_patch____abi__internal); + if (unlikely(CPyStatic__abi___globals == NULL)) + goto fail; + CPyType__abi_____init___3_FunctionABI_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType__abi_____init___3_FunctionABI_obj_template, NULL, modname); + if (unlikely(!CPyType__abi_____init___3_FunctionABI_obj)) + goto fail; + CPyType__abi___singleton_FunctionABI_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType__abi___singleton_FunctionABI_obj_template, NULL, modname); + if (unlikely(!CPyType__abi___singleton_FunctionABI_obj)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef__abi_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___brownie_patch____abi__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic__abi____singletons); + CPyStatic__abi____singletons = NULL; + CPy_XDECREF(CPyStatic__abi___keccak); + CPyStatic__abi___keccak = NULL; + Py_CLEAR(CPyType__abi___FunctionABI); + Py_CLEAR(CPyType__abi_____init___3_FunctionABI_obj); + Py_CLEAR(CPyType__abi___singleton_FunctionABI_obj); + return -1; +} +static struct PyModuleDef _abimodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.brownie_patch._abi", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + _abimodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___brownie_patch____abi(void) +{ + if (CPyModule_dank_mids___brownie_patch____abi__internal) { + Py_INCREF(CPyModule_dank_mids___brownie_patch____abi__internal); + return CPyModule_dank_mids___brownie_patch____abi__internal; + } + CPyModule_dank_mids___brownie_patch____abi__internal = PyModule_Create(&_abimodule); + if (unlikely(CPyModule_dank_mids___brownie_patch____abi__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___brownie_patch____abi(CPyModule_dank_mids___brownie_patch____abi__internal) != 0) + goto fail; + return CPyModule_dank_mids___brownie_patch____abi__internal; + fail: + return NULL; +} + +PyObject *CPyDef__abi_____init___3_FunctionABI_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy__abi_____init___3_FunctionABI_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef__abi_____init___3_FunctionABI_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "__get__", -1, CPyStatic__abi___globals); + return NULL; +} + +char CPyDef__abi_____init___3_FunctionABI_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_abi) { + PyObject *cpy_r_r0; + int32_t cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + int32_t cpy_r_r5; + char cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + int32_t cpy_r_r9; + char cpy_r_r10; + char cpy_r_r11; + cpy_r_r0 = CPyStatics[330]; /* 'abi' */ + cpy_r_r1 = PyObject_SetAttr(cpy_r_self, cpy_r_r0, cpy_r_abi); + cpy_r_r2 = cpy_r_r1 >= 0; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "__init__", 47, CPyStatic__abi___globals); + goto CPyL6; + } + cpy_r_r3 = CPyDef__abi___build_function_signature(cpy_r_abi); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "__init__", 53, CPyStatic__abi___globals); + goto CPyL6; + } + cpy_r_r4 = CPyStatics[331]; /* 'input_sig' */ + cpy_r_r5 = PyObject_SetAttr(cpy_r_self, cpy_r_r4, cpy_r_r3); + cpy_r_r6 = cpy_r_r5 >= 0; + if (unlikely(!cpy_r_r6)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "__init__", 54, CPyStatic__abi___globals); + goto CPyL7; + } + cpy_r_r7 = CPyDef__abi___build_function_selector(cpy_r_r3); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "__init__", 60, CPyStatic__abi___globals); + goto CPyL6; + } + cpy_r_r8 = CPyStatics[332]; /* 'signature' */ + cpy_r_r9 = PyObject_SetAttr(cpy_r_self, cpy_r_r8, cpy_r_r7); + CPy_DECREF(cpy_r_r7); + cpy_r_r10 = cpy_r_r9 >= 0; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "__init__", 60, CPyStatic__abi___globals); + goto CPyL6; + } + return 1; +CPyL6: ; + cpy_r_r11 = 2; + return cpy_r_r11; +CPyL7: ; + CPy_DecRef(cpy_r_r3); + goto CPyL6; +} + +PyObject *CPyPy__abi_____init___3_FunctionABI_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"self", 0}; + static CPyArg_Parser parser = {"%O:__call__", kwlist, 0}; + PyObject *obj_self; + PyObject *obj_abi; + if (!CPyArg_ParseStackAndKeywords(args, PyVectorcall_NARGS(nargs), kwnames, &parser, NULL, &obj_abi, &obj_self)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__abi___FunctionABI)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.brownie_patch._abi.FunctionABI", obj_self); + goto fail; + } + PyObject *arg_abi = obj_abi; + char retval = CPyDef__abi_____init___3_FunctionABI_obj_____call__(arg___mypyc_self__, arg_self, arg_abi); + CPy_DECREF(obj_abi); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_DECREF(obj_abi); + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "__init__", 39, CPyStatic__abi___globals); + return NULL; +} + +PyObject *CPyDef__abi___singleton_FunctionABI_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy__abi___singleton_FunctionABI_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef__abi___singleton_FunctionABI_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "__get__", -1, CPyStatic__abi___globals); + return NULL; +} + +PyObject *CPyDef__abi___singleton_FunctionABI_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_abi) { + PyObject *cpy_r_r0; + CPyPtr cpy_r_r1; + int64_t cpy_r_r2; + PyObject *cpy_r_r3; + int64_t cpy_r_r4; + CPyPtr cpy_r_r5; + int64_t cpy_r_r6; + char cpy_r_r7; + CPyPtr cpy_r_r8; + CPyPtr cpy_r_r9; + int64_t cpy_r_r10; + CPyPtr cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + tuple_T2OO cpy_r_r16; + PyObject *cpy_r_r17; + int64_t cpy_r_r18; + PyObject *cpy_r_r19; + char cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + tuple_T3OOO cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + char cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + char cpy_r_r34; + int32_t cpy_r_r35; + char cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + char cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject **cpy_r_r47; + PyObject *cpy_r_r48; + char cpy_r_r49; + PyObject *cpy_r_r50; + cpy_r_r0 = CPySequence_Sort(cpy_r_abi); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 74, CPyStatic__abi___globals); + goto CPyL37; + } + cpy_r_r1 = (CPyPtr)&((PyVarObject *)cpy_r_r0)->ob_size; + cpy_r_r2 = *(int64_t *)cpy_r_r1; + cpy_r_r3 = PyTuple_New(cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 74, CPyStatic__abi___globals); + goto CPyL38; + } + cpy_r_r4 = 0; +CPyL3: ; + cpy_r_r5 = (CPyPtr)&((PyVarObject *)cpy_r_r0)->ob_size; + cpy_r_r6 = *(int64_t *)cpy_r_r5; + cpy_r_r7 = cpy_r_r4 < cpy_r_r6; + if (!cpy_r_r7) goto CPyL39; + cpy_r_r8 = (CPyPtr)&((PyListObject *)cpy_r_r0)->ob_item; + cpy_r_r9 = *(CPyPtr *)cpy_r_r8; + cpy_r_r10 = cpy_r_r4 * 8; + cpy_r_r11 = cpy_r_r9 + cpy_r_r10; + cpy_r_r12 = *(PyObject * *)cpy_r_r11; + CPy_INCREF(cpy_r_r12); + if (likely(PyUnicode_Check(cpy_r_r12))) + cpy_r_r13 = cpy_r_r12; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 74, CPyStatic__abi___globals, "str", cpy_r_r12); + goto CPyL40; + } + cpy_r_r14 = CPyDict_GetItem(cpy_r_abi, cpy_r_r13); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 74, CPyStatic__abi___globals); + goto CPyL41; + } + cpy_r_r15 = CPyDef_hashing___make_hashable(cpy_r_r14); + CPy_DECREF(cpy_r_r14); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 74, CPyStatic__abi___globals); + goto CPyL41; + } + cpy_r_r16.f0 = cpy_r_r13; + cpy_r_r16.f1 = cpy_r_r15; + cpy_r_r17 = PyTuple_New(2); + if (unlikely(cpy_r_r17 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp122 = cpy_r_r16.f0; + PyTuple_SET_ITEM(cpy_r_r17, 0, __tmp122); + PyObject *__tmp123 = cpy_r_r16.f1; + PyTuple_SET_ITEM(cpy_r_r17, 1, __tmp123); + CPySequenceTuple_SetItemUnsafe(cpy_r_r3, cpy_r_r4, cpy_r_r17); + cpy_r_r18 = cpy_r_r4 + 1; + cpy_r_r4 = cpy_r_r18; + goto CPyL3; +CPyL9: ; + cpy_r_r19 = CPyStatic__abi____singletons; + if (likely(cpy_r_r19 != NULL)) goto CPyL13; + PyErr_SetString(PyExc_NameError, "value for final name \"_singletons\" was not set"); + cpy_r_r20 = 0; + if (unlikely(!cpy_r_r20)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 76, CPyStatic__abi___globals); + goto CPyL16; + } else + goto CPyL42; +CPyL12: ; + CPy_Unreachable(); +CPyL13: ; + cpy_r_r21 = PyObject_GetItem(cpy_r_r19, cpy_r_r3); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 76, CPyStatic__abi___globals); + goto CPyL16; + } + if (likely(Py_TYPE(cpy_r_r21) == CPyType__abi___FunctionABI)) + cpy_r_r22 = cpy_r_r21; + else { + CPy_TypeError("dank_mids.brownie_patch._abi.FunctionABI", cpy_r_r21); + cpy_r_r22 = NULL; + } + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 76, CPyStatic__abi___globals); + goto CPyL16; + } else + goto CPyL43; +CPyL15: ; + return cpy_r_r22; +CPyL16: ; + cpy_r_r23 = CPy_CatchError(); + cpy_r_r24 = CPyModule_builtins; + cpy_r_r25 = CPyStatics[333]; /* 'KeyError' */ + cpy_r_r26 = CPyObject_GetAttr(cpy_r_r24, cpy_r_r25); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 77, CPyStatic__abi___globals); + goto CPyL44; + } + cpy_r_r27 = CPy_ExceptionMatches(cpy_r_r26); + CPy_DecRef(cpy_r_r26); + if (!cpy_r_r27) goto CPyL26; + cpy_r_r28 = (PyObject *)CPyType__abi___FunctionABI; + cpy_r_r29 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_r30 = PyDict_Copy(cpy_r_abi); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 78, CPyStatic__abi___globals); + goto CPyL45; + } + cpy_r_r31 = PyObject_Call(cpy_r_r28, cpy_r_r29, cpy_r_r30); + CPy_DecRef(cpy_r_r29); + CPy_DecRef(cpy_r_r30); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 78, CPyStatic__abi___globals); + goto CPyL44; + } + if (likely(Py_TYPE(cpy_r_r31) == CPyType__abi___FunctionABI)) + cpy_r_r32 = cpy_r_r31; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 78, CPyStatic__abi___globals, "dank_mids.brownie_patch._abi.FunctionABI", cpy_r_r31); + goto CPyL44; + } + CPy_INCREF_NO_IMM(cpy_r_r32); + cpy_r_r33 = CPyStatic__abi____singletons; + if (unlikely(cpy_r_r33 == NULL)) { + goto CPyL46; + } else + goto CPyL24; +CPyL22: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_singletons\" was not set"); + cpy_r_r34 = 0; + if (unlikely(!cpy_r_r34)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 78, CPyStatic__abi___globals); + goto CPyL35; + } else + goto CPyL47; +CPyL23: ; + CPy_Unreachable(); +CPyL24: ; + cpy_r_r35 = PyObject_SetItem(cpy_r_r33, cpy_r_r3, cpy_r_r32); + CPy_DecRef(cpy_r_r3); + CPy_DecRef(cpy_r_r32); + cpy_r_r36 = cpy_r_r35 >= 0; + if (unlikely(!cpy_r_r36)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 78, CPyStatic__abi___globals); + goto CPyL48; + } + CPy_RestoreExcInfo(cpy_r_r23); + CPy_DecRef(cpy_r_r23.f0); + CPy_DecRef(cpy_r_r23.f1); + CPy_DecRef(cpy_r_r23.f2); + return cpy_r_r32; +CPyL26: ; + cpy_r_r37 = CPyModule_builtins; + cpy_r_r38 = CPyStatics[189]; /* 'AttributeError' */ + cpy_r_r39 = CPyObject_GetAttr(cpy_r_r37, cpy_r_r38); + if (unlikely(cpy_r_r39 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 80, CPyStatic__abi___globals); + goto CPyL44; + } + cpy_r_r40 = CPy_ExceptionMatches(cpy_r_r39); + CPy_DecRef(cpy_r_r39); + if (!cpy_r_r40) goto CPyL49; + cpy_r_r41 = CPy_GetExcValue(); + cpy_r_r42 = PyObject_Str(cpy_r_r41); + CPy_DecRef(cpy_r_r41); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 81, CPyStatic__abi___globals); + goto CPyL44; + } + cpy_r_r43 = CPyModule_builtins; + cpy_r_r44 = CPyStatics[189]; /* 'AttributeError' */ + cpy_r_r45 = CPyObject_GetAttr(cpy_r_r43, cpy_r_r44); + if (unlikely(cpy_r_r45 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 81, CPyStatic__abi___globals); + goto CPyL50; + } + PyObject *cpy_r_r46[2] = {cpy_r_r42, cpy_r_r3}; + cpy_r_r47 = (PyObject **)&cpy_r_r46; + cpy_r_r48 = PyObject_Vectorcall(cpy_r_r45, cpy_r_r47, 2, 0); + CPy_DecRef(cpy_r_r45); + if (unlikely(cpy_r_r48 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 81, CPyStatic__abi___globals); + goto CPyL50; + } + CPy_DecRef(cpy_r_r42); + CPy_DecRef(cpy_r_r3); + CPy_Raise(cpy_r_r48); + CPy_DecRef(cpy_r_r48); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 81, CPyStatic__abi___globals); + goto CPyL35; + } else + goto CPyL51; +CPyL32: ; + CPy_Unreachable(); +CPyL33: ; + CPy_Reraise(); + if (!0) { + goto CPyL35; + } else + goto CPyL52; +CPyL34: ; + CPy_Unreachable(); +CPyL35: ; + CPy_RestoreExcInfo(cpy_r_r23); + CPy_DecRef(cpy_r_r23.f0); + CPy_DecRef(cpy_r_r23.f1); + CPy_DecRef(cpy_r_r23.f2); + cpy_r_r49 = CPy_KeepPropagating(); + if (!cpy_r_r49) goto CPyL37; + CPy_Unreachable(); +CPyL37: ; + cpy_r_r50 = NULL; + return cpy_r_r50; +CPyL38: ; + CPy_DecRef(cpy_r_r0); + goto CPyL37; +CPyL39: ; + CPy_DECREF_NO_IMM(cpy_r_r0); + goto CPyL9; +CPyL40: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r3); + goto CPyL37; +CPyL41: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r3); + CPy_DecRef(cpy_r_r13); + goto CPyL37; +CPyL42: ; + CPy_DecRef(cpy_r_r3); + goto CPyL12; +CPyL43: ; + CPy_DECREF(cpy_r_r3); + goto CPyL15; +CPyL44: ; + CPy_DecRef(cpy_r_r3); + goto CPyL35; +CPyL45: ; + CPy_DecRef(cpy_r_r3); + CPy_DecRef(cpy_r_r29); + goto CPyL35; +CPyL46: ; + CPy_DecRef(cpy_r_r3); + CPy_DecRef(cpy_r_r32); + CPy_DecRef(cpy_r_r32); + goto CPyL22; +CPyL47: ; + CPy_DecRef(cpy_r_r23.f0); + CPy_DecRef(cpy_r_r23.f1); + CPy_DecRef(cpy_r_r23.f2); + goto CPyL23; +CPyL48: ; + CPy_DecRef(cpy_r_r32); + goto CPyL35; +CPyL49: ; + CPy_DecRef(cpy_r_r3); + goto CPyL33; +CPyL50: ; + CPy_DecRef(cpy_r_r3); + CPy_DecRef(cpy_r_r42); + goto CPyL35; +CPyL51: ; + CPy_DecRef(cpy_r_r23.f0); + CPy_DecRef(cpy_r_r23.f1); + CPy_DecRef(cpy_r_r23.f2); + goto CPyL32; +CPyL52: ; + CPy_DecRef(cpy_r_r23.f0); + CPy_DecRef(cpy_r_r23.f1); + CPy_DecRef(cpy_r_r23.f2); + goto CPyL34; +} + +PyObject *CPyPy__abi___singleton_FunctionABI_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {"%:__call__", kwlist, 0}; + PyObject *obj_abi; + if (!CPyArg_ParseStackAndKeywords(args, PyVectorcall_NARGS(nargs), kwnames, &parser, NULL, &obj_abi)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_abi = obj_abi; + PyObject *retval = CPyDef__abi___singleton_FunctionABI_obj_____call__(arg___mypyc_self__, arg_abi); + CPy_DECREF(obj_abi); + return retval; +fail: ; + CPy_DECREF(obj_abi); + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "singleton", 67, CPyStatic__abi___globals); + return NULL; +} + +PyObject *CPyDef__abi___get_type_strings(PyObject *cpy_r_abi_params, PyObject *cpy_r_substitutions) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_type_str; + PyObject *cpy_r_r11; + int32_t cpy_r_r12; + char cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + int32_t cpy_r_r25; + char cpy_r_r26; + PyObject *cpy_r_r27; + CPyTagged cpy_r_r28; + int64_t cpy_r_r29; + PyObject *cpy_r_r30; + tuple_T4CIOO cpy_r_r31; + CPyTagged cpy_r_r32; + char cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + int32_t cpy_r_r37; + char cpy_r_r38; + PyObject *cpy_r_r39; + PyObject **cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + char cpy_r_r44; + char cpy_r_r45; + int32_t cpy_r_r46; + char cpy_r_r47; + char cpy_r_r48; + PyObject *cpy_r_r49; + if (cpy_r_substitutions != NULL) goto CPyL34; + cpy_r_r0 = Py_None; + cpy_r_substitutions = cpy_r_r0; +CPyL2: ; + cpy_r_r1 = PyList_New(0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 89, CPyStatic__abi___globals); + goto CPyL35; + } + cpy_r_r2 = (PyObject *)&_Py_NoneStruct; + cpy_r_r3 = cpy_r_substitutions == cpy_r_r2; + if (cpy_r_r3) { + goto CPyL36; + } else + goto CPyL6; +CPyL4: ; + cpy_r_r4 = PyDict_New(); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 91, CPyStatic__abi___globals); + goto CPyL37; + } + cpy_r_substitutions = cpy_r_r4; +CPyL6: ; + cpy_r_r5 = PyObject_GetIter(cpy_r_abi_params); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 93, CPyStatic__abi___globals); + goto CPyL38; + } +CPyL7: ; + cpy_r_r6 = PyIter_Next(cpy_r_r5); + if (cpy_r_r6 == NULL) goto CPyL39; + if (likely(PyDict_Check(cpy_r_r6))) + cpy_r_r7 = cpy_r_r6; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 93, CPyStatic__abi___globals, "dict", cpy_r_r6); + goto CPyL40; + } + cpy_r_r8 = CPyStatics[334]; /* 'type' */ + cpy_r_r9 = CPyDict_GetItem(cpy_r_r7, cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 94, CPyStatic__abi___globals); + goto CPyL41; + } + if (likely(PyUnicode_Check(cpy_r_r9))) + cpy_r_r10 = cpy_r_r9; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 94, CPyStatic__abi___globals, "str", cpy_r_r9); + goto CPyL41; + } + cpy_r_type_str = cpy_r_r10; + cpy_r_r11 = CPyStatics[335]; /* 'tuple' */ + cpy_r_r12 = CPyStr_Startswith(cpy_r_type_str, cpy_r_r11); + cpy_r_r13 = cpy_r_r12; + if (!cpy_r_r13) goto CPyL42; + cpy_r_r14 = CPyStatics[246]; /* 'components' */ + cpy_r_r15 = CPyDict_GetItem(cpy_r_r7, cpy_r_r14); + CPy_DECREF(cpy_r_r7); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 96, CPyStatic__abi___globals); + goto CPyL43; + } + CPy_INCREF(cpy_r_substitutions); + if (likely(cpy_r_substitutions != Py_None)) + cpy_r_r16 = cpy_r_substitutions; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 96, CPyStatic__abi___globals, "dict", cpy_r_substitutions); + goto CPyL44; + } + cpy_r_r17 = CPyDef__abi___get_type_strings(cpy_r_r15, cpy_r_r16); + CPy_DECREF(cpy_r_r15); + CPy_DECREF(cpy_r_r16); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 96, CPyStatic__abi___globals); + goto CPyL43; + } + cpy_r_r18 = CPyStr_GetSlice(cpy_r_type_str, 10, 9223372036854775806LL); + CPy_DECREF(cpy_r_type_str); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 97, CPyStatic__abi___globals); + goto CPyL45; + } + if (likely(PyUnicode_Check(cpy_r_r18))) + cpy_r_r19 = cpy_r_r18; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 97, CPyStatic__abi___globals, "str", cpy_r_r18); + goto CPyL45; + } + cpy_r_r20 = CPyStatics[336]; /* '(' */ + cpy_r_r21 = CPyStatics[337]; /* ',' */ + cpy_r_r22 = PyUnicode_Join(cpy_r_r21, cpy_r_r17); + CPy_DECREF_NO_IMM(cpy_r_r17); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 98, CPyStatic__abi___globals); + goto CPyL46; + } + cpy_r_r23 = CPyStatics[338]; /* ')' */ + cpy_r_r24 = CPyStr_Build(4, cpy_r_r20, cpy_r_r22, cpy_r_r23, cpy_r_r19); + CPy_DECREF(cpy_r_r22); + CPy_DECREF(cpy_r_r19); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 98, CPyStatic__abi___globals); + goto CPyL40; + } + cpy_r_r25 = PyList_Append(cpy_r_r1, cpy_r_r24); + CPy_DECREF(cpy_r_r24); + cpy_r_r26 = cpy_r_r25 >= 0; + if (unlikely(!cpy_r_r26)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 98, CPyStatic__abi___globals); + goto CPyL40; + } else + goto CPyL7; +CPyL20: ; + CPy_INCREF(cpy_r_substitutions); + if (likely(cpy_r_substitutions != Py_None)) + cpy_r_r27 = cpy_r_substitutions; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 100, CPyStatic__abi___globals, "dict", cpy_r_substitutions); + goto CPyL43; + } + cpy_r_r28 = 0; + cpy_r_r29 = PyDict_Size(cpy_r_r27); + cpy_r_r30 = CPyDict_GetItemsIter(cpy_r_r27); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 100, CPyStatic__abi___globals); + goto CPyL47; + } +CPyL22: ; + cpy_r_r31 = CPyDict_NextItem(cpy_r_r30, cpy_r_r28); + cpy_r_r32 = cpy_r_r31.f1; + cpy_r_r28 = cpy_r_r32; + cpy_r_r33 = cpy_r_r31.f0; + if (!cpy_r_r33) goto CPyL48; + cpy_r_r34 = cpy_r_r31.f2; + CPy_INCREF(cpy_r_r34); + cpy_r_r35 = cpy_r_r31.f3; + CPy_INCREF(cpy_r_r35); + CPy_DECREF(cpy_r_r31.f2); + CPy_DECREF(cpy_r_r31.f3); + if (likely(PyUnicode_Check(cpy_r_r34))) + cpy_r_r36 = cpy_r_r34; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 100, CPyStatic__abi___globals, "str", cpy_r_r34); + goto CPyL49; + } + cpy_r_r37 = CPyStr_Startswith(cpy_r_type_str, cpy_r_r36); + cpy_r_r38 = cpy_r_r37; + if (!cpy_r_r38) goto CPyL50; + cpy_r_r39 = CPyStatics[339]; /* 'replace' */ + PyObject *cpy_r_r40[3] = {cpy_r_type_str, cpy_r_r36, cpy_r_r35}; + cpy_r_r41 = (PyObject **)&cpy_r_r40; + cpy_r_r42 = PyObject_VectorcallMethod(cpy_r_r39, cpy_r_r41, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 102, CPyStatic__abi___globals); + goto CPyL51; + } + CPy_DECREF(cpy_r_type_str); + CPy_DECREF(cpy_r_r36); + CPy_DECREF(cpy_r_r35); + if (likely(PyUnicode_Check(cpy_r_r42))) + cpy_r_r43 = cpy_r_r42; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 102, CPyStatic__abi___globals, "str", cpy_r_r42); + goto CPyL52; + } + cpy_r_type_str = cpy_r_r43; +CPyL28: ; + cpy_r_r44 = CPyDict_CheckSize(cpy_r_r27, cpy_r_r29); + if (unlikely(!cpy_r_r44)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 100, CPyStatic__abi___globals); + goto CPyL53; + } else + goto CPyL22; +CPyL29: ; + cpy_r_r45 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r45)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 100, CPyStatic__abi___globals); + goto CPyL43; + } + cpy_r_r46 = PyList_Append(cpy_r_r1, cpy_r_type_str); + CPy_DECREF(cpy_r_type_str); + cpy_r_r47 = cpy_r_r46 >= 0; + if (unlikely(!cpy_r_r47)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 103, CPyStatic__abi___globals); + goto CPyL40; + } else + goto CPyL7; +CPyL31: ; + cpy_r_r48 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r48)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 93, CPyStatic__abi___globals); + goto CPyL37; + } + return cpy_r_r1; +CPyL33: ; + cpy_r_r49 = NULL; + return cpy_r_r49; +CPyL34: ; + CPy_INCREF(cpy_r_substitutions); + goto CPyL2; +CPyL35: ; + CPy_DecRef(cpy_r_substitutions); + goto CPyL33; +CPyL36: ; + CPy_DECREF(cpy_r_substitutions); + goto CPyL4; +CPyL37: ; + CPy_DecRef(cpy_r_r1); + goto CPyL33; +CPyL38: ; + CPy_DecRef(cpy_r_substitutions); + CPy_DecRef(cpy_r_r1); + goto CPyL33; +CPyL39: ; + CPy_DECREF(cpy_r_substitutions); + CPy_DECREF(cpy_r_r5); + goto CPyL31; +CPyL40: ; + CPy_DecRef(cpy_r_substitutions); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r5); + goto CPyL33; +CPyL41: ; + CPy_DecRef(cpy_r_substitutions); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_r7); + goto CPyL33; +CPyL42: ; + CPy_DECREF(cpy_r_r7); + goto CPyL20; +CPyL43: ; + CPy_DecRef(cpy_r_substitutions); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_type_str); + goto CPyL33; +CPyL44: ; + CPy_DecRef(cpy_r_substitutions); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_type_str); + CPy_DecRef(cpy_r_r15); + goto CPyL33; +CPyL45: ; + CPy_DecRef(cpy_r_substitutions); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_r17); + goto CPyL33; +CPyL46: ; + CPy_DecRef(cpy_r_substitutions); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_r19); + goto CPyL33; +CPyL47: ; + CPy_DecRef(cpy_r_substitutions); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_type_str); + CPy_DecRef(cpy_r_r27); + goto CPyL33; +CPyL48: ; + CPy_DECREF(cpy_r_r27); + CPy_DECREF(cpy_r_r30); + CPy_DECREF(cpy_r_r31.f2); + CPy_DECREF(cpy_r_r31.f3); + goto CPyL29; +CPyL49: ; + CPy_DecRef(cpy_r_substitutions); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_type_str); + CPy_DecRef(cpy_r_r27); + CPy_DecRef(cpy_r_r30); + CPy_DecRef(cpy_r_r35); + goto CPyL33; +CPyL50: ; + CPy_DECREF(cpy_r_r36); + CPy_DECREF(cpy_r_r35); + goto CPyL28; +CPyL51: ; + CPy_DecRef(cpy_r_substitutions); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_type_str); + CPy_DecRef(cpy_r_r27); + CPy_DecRef(cpy_r_r30); + CPy_DecRef(cpy_r_r36); + CPy_DecRef(cpy_r_r35); + goto CPyL33; +CPyL52: ; + CPy_DecRef(cpy_r_substitutions); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_r27); + CPy_DecRef(cpy_r_r30); + goto CPyL33; +CPyL53: ; + CPy_DecRef(cpy_r_substitutions); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_type_str); + CPy_DecRef(cpy_r_r27); + CPy_DecRef(cpy_r_r30); + goto CPyL33; +} + +PyObject *CPyPy__abi___get_type_strings(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"abi_params", "substitutions", 0}; + static CPyArg_Parser parser = {"O|O:get_type_strings", kwlist, 0}; + PyObject *obj_abi_params; + PyObject *obj_substitutions = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_abi_params, &obj_substitutions)) { + return NULL; + } + PyObject *arg_abi_params = obj_abi_params; + PyObject *arg_substitutions; + if (obj_substitutions == NULL) { + arg_substitutions = NULL; + goto __LL124; + } + if (PyDict_Check(obj_substitutions)) + arg_substitutions = obj_substitutions; + else { + arg_substitutions = NULL; + } + if (arg_substitutions != NULL) goto __LL124; + if (obj_substitutions == Py_None) + arg_substitutions = obj_substitutions; + else { + arg_substitutions = NULL; + } + if (arg_substitutions != NULL) goto __LL124; + CPy_TypeError("dict or None", obj_substitutions); + goto fail; +__LL124: ; + PyObject *retval = CPyDef__abi___get_type_strings(arg_abi_params, arg_substitutions); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "get_type_strings", 84, CPyStatic__abi___globals); + return NULL; +} + +PyObject *CPyDef__abi___build_function_signature(PyObject *cpy_r_abi) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + cpy_r_r0 = CPyStatics[340]; /* 'inputs' */ + cpy_r_r1 = CPyDict_GetItem(cpy_r_abi, cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_signature", 109, CPyStatic__abi___globals); + goto CPyL7; + } + cpy_r_r2 = NULL; + cpy_r_r3 = CPyDef__abi___get_type_strings(cpy_r_r1, cpy_r_r2); + CPy_DECREF(cpy_r_r1); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_signature", 109, CPyStatic__abi___globals); + goto CPyL7; + } + cpy_r_r4 = CPyStatics[4]; /* 'name' */ + cpy_r_r5 = CPyDict_GetItem(cpy_r_abi, cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_signature", 110, CPyStatic__abi___globals); + goto CPyL8; + } + if (likely(PyUnicode_Check(cpy_r_r5))) + cpy_r_r6 = cpy_r_r5; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_signature", 110, CPyStatic__abi___globals, "str", cpy_r_r5); + goto CPyL8; + } + cpy_r_r7 = CPyStatics[336]; /* '(' */ + cpy_r_r8 = CPyStatics[337]; /* ',' */ + cpy_r_r9 = PyUnicode_Join(cpy_r_r8, cpy_r_r3); + CPy_DECREF_NO_IMM(cpy_r_r3); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_signature", 110, CPyStatic__abi___globals); + goto CPyL9; + } + cpy_r_r10 = CPyStatics[338]; /* ')' */ + cpy_r_r11 = CPyStr_Build(4, cpy_r_r6, cpy_r_r7, cpy_r_r9, cpy_r_r10); + CPy_DECREF(cpy_r_r6); + CPy_DECREF(cpy_r_r9); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_signature", 110, CPyStatic__abi___globals); + goto CPyL7; + } + return cpy_r_r11; +CPyL7: ; + cpy_r_r12 = NULL; + return cpy_r_r12; +CPyL8: ; + CPy_DecRef(cpy_r_r3); + goto CPyL7; +CPyL9: ; + CPy_DecRef(cpy_r_r6); + goto CPyL7; +} + +PyObject *CPyPy__abi___build_function_signature(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"abi", 0}; + static CPyArg_Parser parser = {"O:build_function_signature", kwlist, 0}; + PyObject *obj_abi; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_abi)) { + return NULL; + } + PyObject *arg_abi; + if (likely(PyDict_Check(obj_abi))) + arg_abi = obj_abi; + else { + CPy_TypeError("dict", obj_abi); + goto fail; + } + PyObject *retval = CPyDef__abi___build_function_signature(arg_abi); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_signature", 108, CPyStatic__abi___globals); + return NULL; +} + +PyObject *CPyDef__abi___build_function_selector(PyObject *cpy_r_input_signature) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + char cpy_r_r3; + PyObject **cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject **cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + cpy_r_r0 = CPyStatics[130]; /* '0x' */ + cpy_r_r1 = PyUnicode_AsUTF8String(cpy_r_input_signature); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_selector", 114, CPyStatic__abi___globals); + goto CPyL11; + } + cpy_r_r2 = CPyStatic__abi___keccak; + if (unlikely(cpy_r_r2 == NULL)) { + goto CPyL12; + } else + goto CPyL4; +CPyL2: ; + PyErr_SetString(PyExc_NameError, "value for final name \"keccak\" was not set"); + cpy_r_r3 = 0; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_selector", 114, CPyStatic__abi___globals); + goto CPyL11; + } + CPy_Unreachable(); +CPyL4: ; + PyObject *cpy_r_r4[1] = {cpy_r_r1}; + cpy_r_r5 = (PyObject **)&cpy_r_r4; + cpy_r_r6 = PyObject_Vectorcall(cpy_r_r2, cpy_r_r5, 1, 0); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_selector", 114, CPyStatic__abi___globals); + goto CPyL13; + } + CPy_DECREF(cpy_r_r1); + cpy_r_r7 = CPyStatics[8]; /* 'hex' */ + PyObject *cpy_r_r8[1] = {cpy_r_r6}; + cpy_r_r9 = (PyObject **)&cpy_r_r8; + cpy_r_r10 = PyObject_VectorcallMethod(cpy_r_r7, cpy_r_r9, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_selector", 114, CPyStatic__abi___globals); + goto CPyL14; + } + CPy_DECREF(cpy_r_r6); + cpy_r_r11 = (PyObject *)&_Py_NoneStruct; + cpy_r_r12 = (PyObject *)&_Py_NoneStruct; + cpy_r_r13 = CPyStatics[879]; /* 8 */ + cpy_r_r14 = PySlice_New(cpy_r_r11, cpy_r_r13, cpy_r_r12); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_selector", 114, CPyStatic__abi___globals); + goto CPyL15; + } + cpy_r_r15 = PyObject_GetItem(cpy_r_r10, cpy_r_r14); + CPy_DECREF(cpy_r_r10); + CPy_DECREF(cpy_r_r14); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_selector", 114, CPyStatic__abi___globals); + goto CPyL11; + } + cpy_r_r16 = PyObject_Str(cpy_r_r15); + CPy_DECREF(cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_selector", 114, CPyStatic__abi___globals); + goto CPyL11; + } + cpy_r_r17 = CPyStr_Build(2, cpy_r_r0, cpy_r_r16); + CPy_DECREF(cpy_r_r16); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_selector", 114, CPyStatic__abi___globals); + goto CPyL11; + } + return cpy_r_r17; +CPyL11: ; + cpy_r_r18 = NULL; + return cpy_r_r18; +CPyL12: ; + CPy_DecRef(cpy_r_r1); + goto CPyL2; +CPyL13: ; + CPy_DecRef(cpy_r_r1); + goto CPyL11; +CPyL14: ; + CPy_DecRef(cpy_r_r6); + goto CPyL11; +CPyL15: ; + CPy_DecRef(cpy_r_r10); + goto CPyL11; +} + +PyObject *CPyPy__abi___build_function_selector(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"input_signature", 0}; + static CPyArg_Parser parser = {"O:build_function_selector", kwlist, 0}; + PyObject *obj_input_signature; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_input_signature)) { + return NULL; + } + PyObject *arg_input_signature; + if (likely(PyUnicode_Check(obj_input_signature))) + arg_input_signature = obj_input_signature; + else { + CPy_TypeError("str", obj_input_signature); + goto fail; + } + PyObject *retval = CPyDef__abi___build_function_selector(arg_input_signature); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "build_function_selector", 113, CPyStatic__abi___globals); + return NULL; +} + +char CPyDef__abi_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + tuple_T2OO cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + tuple_T2OO cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + int32_t cpy_r_r52; + char cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + int32_t cpy_r_r60; + char cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + int32_t cpy_r_r69; + char cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + char cpy_r_r75; + PyObject *cpy_r_r76; + PyObject *cpy_r_r77; + PyObject *cpy_r_r78; + PyObject **cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + int32_t cpy_r_r88; + char cpy_r_r89; + PyObject *cpy_r_r90; + PyObject *cpy_r_r91; + PyObject *cpy_r_r92; + PyObject *cpy_r_r93; + PyObject **cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + int32_t cpy_r_r98; + char cpy_r_r99; + PyObject *cpy_r_r100; + PyObject *cpy_r_r101; + int32_t cpy_r_r102; + char cpy_r_r103; + PyObject *cpy_r_r104; + PyObject *cpy_r_r105; + int32_t cpy_r_r106; + char cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + int32_t cpy_r_r110; + char cpy_r_r111; + PyObject **cpy_r_r113; + PyObject *cpy_r_r114; + PyObject *cpy_r_r115; + PyObject *cpy_r_r116; + PyObject *cpy_r_r117; + PyObject *cpy_r_r118; + PyObject **cpy_r_r120; + PyObject *cpy_r_r121; + PyObject *cpy_r_r122; + PyObject **cpy_r_r124; + PyObject *cpy_r_r125; + PyObject *cpy_r_r126; + PyObject *cpy_r_r127; + PyObject *cpy_r_r128; + PyObject **cpy_r_r130; + PyObject *cpy_r_r131; + PyObject *cpy_r_r132; + PyObject *cpy_r_r133; + int32_t cpy_r_r134; + char cpy_r_r135; + PyObject *cpy_r_r136; + char cpy_r_r137; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", -1, CPyStatic__abi___globals); + goto CPyL48; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[963]; /* ('Any', 'Dict', 'Final', 'List', 'Optional', 'Sequence', + 'Tuple', 'final') */ + cpy_r_r6 = CPyStatics[40]; /* 'typing' */ + cpy_r_r7 = CPyStatic__abi___globals; + cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 1, CPyStatic__abi___globals); + goto CPyL48; + } + CPyModule_typing = cpy_r_r8; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[964]; /* ('WeakValueDictionary',) */ + cpy_r_r10 = CPyStatics[342]; /* 'weakref' */ + cpy_r_r11 = CPyStatic__abi___globals; + cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 2, CPyStatic__abi___globals); + goto CPyL48; + } + CPyModule_weakref = cpy_r_r12; + CPy_INCREF(CPyModule_weakref); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = CPyStatics[965]; /* ('auto',) */ + cpy_r_r14 = CPyStatics[344]; /* 'eth_hash' */ + cpy_r_r15 = CPyStatic__abi___globals; + cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 4, CPyStatic__abi___globals); + goto CPyL48; + } + CPyModule_eth_hash = cpy_r_r16; + CPy_INCREF(CPyModule_eth_hash); + CPy_DECREF(cpy_r_r16); + cpy_r_r17 = CPyStatics[966]; /* ('ABIComponent', 'ABIFunction') */ + cpy_r_r18 = CPyStatics[137]; /* 'eth_typing' */ + cpy_r_r19 = CPyStatic__abi___globals; + cpy_r_r20 = CPyImport_ImportFromMany(cpy_r_r18, cpy_r_r17, cpy_r_r17, cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 5, CPyStatic__abi___globals); + goto CPyL48; + } + CPyModule_eth_typing = cpy_r_r20; + CPy_INCREF(CPyModule_eth_typing); + CPy_DECREF(cpy_r_r20); + cpy_r_r21 = CPyStatics[937]; /* ('mypyc_attr',) */ + cpy_r_r22 = CPyStatics[223]; /* 'mypy_extensions' */ + cpy_r_r23 = CPyStatic__abi___globals; + cpy_r_r24 = CPyImport_ImportFromMany(cpy_r_r22, cpy_r_r21, cpy_r_r21, cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 6, CPyStatic__abi___globals); + goto CPyL48; + } + CPyModule_mypy_extensions = cpy_r_r24; + CPy_INCREF(CPyModule_mypy_extensions); + CPy_DECREF(cpy_r_r24); + cpy_r_r25 = CPyStatics[967]; /* ('Unpack',) */ + cpy_r_r26 = CPyStatics[348]; /* 'typing_extensions' */ + cpy_r_r27 = CPyStatic__abi___globals; + cpy_r_r28 = CPyImport_ImportFromMany(cpy_r_r26, cpy_r_r25, cpy_r_r25, cpy_r_r27); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 7, CPyStatic__abi___globals); + goto CPyL48; + } + CPyModule_typing_extensions = cpy_r_r28; + CPy_INCREF(CPyModule_typing_extensions); + CPy_DECREF(cpy_r_r28); + cpy_r_r29 = CPyStatics[968]; /* ('make_hashable',) */ + cpy_r_r30 = CPyStatics[350]; /* 'dank_mids.helpers.hashing' */ + cpy_r_r31 = CPyStatic__abi___globals; + cpy_r_r32 = CPyImport_ImportFromMany(cpy_r_r30, cpy_r_r29, cpy_r_r29, cpy_r_r31); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 9, CPyStatic__abi___globals); + goto CPyL48; + } + CPyModule_dank_mids___helpers___hashing = cpy_r_r32; + CPy_INCREF(CPyModule_dank_mids___helpers___hashing); + CPy_DECREF(cpy_r_r32); + cpy_r_r33 = CPyStatic__abi___globals; + cpy_r_r34 = CPyStatics[253]; /* 'Tuple' */ + cpy_r_r35 = CPyDict_GetItem(cpy_r_r33, cpy_r_r34); + if (unlikely(cpy_r_r35 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 12, CPyStatic__abi___globals); + goto CPyL48; + } + cpy_r_r36 = CPyStatic__abi___globals; + cpy_r_r37 = CPyStatics[253]; /* 'Tuple' */ + cpy_r_r38 = CPyDict_GetItem(cpy_r_r36, cpy_r_r37); + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 12, CPyStatic__abi___globals); + goto CPyL49; + } + cpy_r_r39 = (PyObject *)&PyUnicode_Type; + cpy_r_r40 = CPyStatic__abi___globals; + cpy_r_r41 = CPyStatics[33]; /* 'Any' */ + cpy_r_r42 = CPyDict_GetItem(cpy_r_r40, cpy_r_r41); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 12, CPyStatic__abi___globals); + goto CPyL50; + } + CPy_INCREF(cpy_r_r39); + cpy_r_r43.f0 = cpy_r_r39; + cpy_r_r43.f1 = cpy_r_r42; + cpy_r_r44 = PyTuple_New(2); + if (unlikely(cpy_r_r44 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp125 = cpy_r_r43.f0; + PyTuple_SET_ITEM(cpy_r_r44, 0, __tmp125); + PyObject *__tmp126 = cpy_r_r43.f1; + PyTuple_SET_ITEM(cpy_r_r44, 1, __tmp126); + cpy_r_r45 = PyObject_GetItem(cpy_r_r38, cpy_r_r44); + CPy_DECREF(cpy_r_r38); + CPy_DECREF(cpy_r_r44); + if (unlikely(cpy_r_r45 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 12, CPyStatic__abi___globals); + goto CPyL49; + } + cpy_r_r46 = (PyObject *)&_Py_EllipsisObject; + CPy_INCREF(cpy_r_r46); + cpy_r_r47.f0 = cpy_r_r45; + cpy_r_r47.f1 = cpy_r_r46; + cpy_r_r48 = PyTuple_New(2); + if (unlikely(cpy_r_r48 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp127 = cpy_r_r47.f0; + PyTuple_SET_ITEM(cpy_r_r48, 0, __tmp127); + PyObject *__tmp128 = cpy_r_r47.f1; + PyTuple_SET_ITEM(cpy_r_r48, 1, __tmp128); + cpy_r_r49 = PyObject_GetItem(cpy_r_r35, cpy_r_r48); + CPy_DECREF(cpy_r_r35); + CPy_DECREF(cpy_r_r48); + if (unlikely(cpy_r_r49 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 12, CPyStatic__abi___globals); + goto CPyL48; + } + cpy_r_r50 = CPyStatic__abi___globals; + cpy_r_r51 = CPyStatics[351]; /* 'SingletonKey' */ + 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; + if (unlikely(!cpy_r_r53)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 12, CPyStatic__abi___globals); + goto CPyL48; + } + cpy_r_r54 = CPyStatic__abi___globals; + cpy_r_r55 = CPyStatics[341]; /* 'WeakValueDictionary' */ + cpy_r_r56 = CPyDict_GetItem(cpy_r_r54, cpy_r_r55); + if (unlikely(cpy_r_r56 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 14, CPyStatic__abi___globals); + goto CPyL48; + } + cpy_r_r57 = PyObject_Vectorcall(cpy_r_r56, 0, 0, 0); + CPy_DECREF(cpy_r_r56); + if (unlikely(cpy_r_r57 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 14, CPyStatic__abi___globals); + goto CPyL48; + } + CPyStatic__abi____singletons = cpy_r_r57; + CPy_INCREF(CPyStatic__abi____singletons); + cpy_r_r58 = CPyStatic__abi___globals; + cpy_r_r59 = CPyStatics[352]; /* '_singletons' */ + cpy_r_r60 = CPyDict_SetItem(cpy_r_r58, cpy_r_r59, cpy_r_r57); + CPy_DECREF(cpy_r_r57); + cpy_r_r61 = cpy_r_r60 >= 0; + if (unlikely(!cpy_r_r61)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 14, CPyStatic__abi___globals); + goto CPyL48; + } + cpy_r_r62 = CPyStatic__abi___globals; + cpy_r_r63 = CPyStatics[343]; /* 'auto' */ + cpy_r_r64 = CPyDict_GetItem(cpy_r_r62, cpy_r_r63); + if (unlikely(cpy_r_r64 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 17, CPyStatic__abi___globals); + goto CPyL48; + } + cpy_r_r65 = CPyStatics[353]; /* 'keccak' */ + cpy_r_r66 = CPyObject_GetAttr(cpy_r_r64, cpy_r_r65); + CPy_DECREF(cpy_r_r64); + if (unlikely(cpy_r_r66 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 17, CPyStatic__abi___globals); + goto CPyL48; + } + CPyStatic__abi___keccak = cpy_r_r66; + CPy_INCREF(CPyStatic__abi___keccak); + cpy_r_r67 = CPyStatic__abi___globals; + cpy_r_r68 = CPyStatics[353]; /* 'keccak' */ + cpy_r_r69 = CPyDict_SetItem(cpy_r_r67, cpy_r_r68, cpy_r_r66); + CPy_DECREF(cpy_r_r66); + cpy_r_r70 = cpy_r_r69 >= 0; + if (unlikely(!cpy_r_r70)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 17, CPyStatic__abi___globals); + goto CPyL48; + } + cpy_r_r71 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_r72 = (PyObject *)&PyType_Type; + cpy_r_r73 = CPy_CalculateMetaclass(cpy_r_r72, cpy_r_r71); + if (unlikely(cpy_r_r73 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 31, CPyStatic__abi___globals); + goto CPyL51; + } + cpy_r_r74 = CPyStatics[228]; /* '__prepare__' */ + cpy_r_r75 = PyObject_HasAttr(cpy_r_r73, cpy_r_r74); + if (!cpy_r_r75) goto CPyL28; + cpy_r_r76 = CPyStatics[354]; /* 'FunctionABI' */ + cpy_r_r77 = CPyStatics[228]; /* '__prepare__' */ + cpy_r_r78 = CPyObject_GetAttr(cpy_r_r73, cpy_r_r77); + if (unlikely(cpy_r_r78 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 31, CPyStatic__abi___globals); + goto CPyL51; + } + PyObject *cpy_r_r79[2] = {cpy_r_r76, cpy_r_r71}; + cpy_r_r80 = (PyObject **)&cpy_r_r79; + cpy_r_r81 = PyObject_Vectorcall(cpy_r_r78, cpy_r_r80, 2, 0); + CPy_DECREF(cpy_r_r78); + if (unlikely(cpy_r_r81 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 31, CPyStatic__abi___globals); + goto CPyL51; + } + if (likely(PyDict_Check(cpy_r_r81))) + cpy_r_r82 = cpy_r_r81; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\_abi.py", "", 31, CPyStatic__abi___globals, "dict", cpy_r_r81); + goto CPyL51; + } + cpy_r_r83 = cpy_r_r82; + goto CPyL30; +CPyL28: ; + cpy_r_r84 = PyDict_New(); + if (unlikely(cpy_r_r84 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 31, CPyStatic__abi___globals); + goto CPyL51; + } + cpy_r_r83 = cpy_r_r84; +CPyL30: ; + cpy_r_r85 = PyDict_New(); + if (unlikely(cpy_r_r85 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 31, CPyStatic__abi___globals); + goto CPyL52; + } + cpy_r_r86 = CPyDef__abi_____init___3_FunctionABI_obj(); + if (unlikely(cpy_r_r86 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 39, CPyStatic__abi___globals); + goto CPyL53; + } + cpy_r_r87 = CPyStatics[144]; /* '__init__' */ + cpy_r_r88 = CPyDict_SetItem(cpy_r_r83, cpy_r_r87, cpy_r_r86); + CPy_DECREF_NO_IMM(cpy_r_r86); + cpy_r_r89 = cpy_r_r88 >= 0; + if (unlikely(!cpy_r_r89)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 39, CPyStatic__abi___globals); + goto CPyL53; + } + cpy_r_r90 = CPyDef__abi___singleton_FunctionABI_obj(); + if (unlikely(cpy_r_r90 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 67, CPyStatic__abi___globals); + goto CPyL53; + } + cpy_r_r91 = CPyModule_builtins; + cpy_r_r92 = CPyStatics[355]; /* 'staticmethod' */ + cpy_r_r93 = CPyObject_GetAttr(cpy_r_r91, cpy_r_r92); + if (unlikely(cpy_r_r93 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 67, CPyStatic__abi___globals); + goto CPyL54; + } + PyObject *cpy_r_r94[1] = {cpy_r_r90}; + cpy_r_r95 = (PyObject **)&cpy_r_r94; + cpy_r_r96 = PyObject_Vectorcall(cpy_r_r93, cpy_r_r95, 1, 0); + CPy_DECREF(cpy_r_r93); + if (unlikely(cpy_r_r96 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 67, CPyStatic__abi___globals); + goto CPyL54; + } + CPy_DECREF_NO_IMM(cpy_r_r90); + cpy_r_r97 = CPyStatics[356]; /* 'singleton' */ + cpy_r_r98 = CPyDict_SetItem(cpy_r_r83, cpy_r_r97, cpy_r_r96); + CPy_DECREF(cpy_r_r96); + cpy_r_r99 = cpy_r_r98 >= 0; + if (unlikely(!cpy_r_r99)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 67, CPyStatic__abi___globals); + goto CPyL53; + } + cpy_r_r100 = CPyStatics[354]; /* 'FunctionABI' */ + cpy_r_r101 = CPyStatics[232]; /* '__annotations__' */ + cpy_r_r102 = CPyDict_SetItem(cpy_r_r83, cpy_r_r101, cpy_r_r85); + CPy_DECREF(cpy_r_r85); + cpy_r_r103 = cpy_r_r102 >= 0; + if (unlikely(!cpy_r_r103)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 31, CPyStatic__abi___globals); + goto CPyL52; + } + cpy_r_r104 = CPyStatics[233]; /* 'mypyc filler docstring' */ + cpy_r_r105 = CPyStatics[234]; /* '__doc__' */ + cpy_r_r106 = CPyDict_SetItem(cpy_r_r83, cpy_r_r105, cpy_r_r104); + cpy_r_r107 = cpy_r_r106 >= 0; + if (unlikely(!cpy_r_r107)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 31, CPyStatic__abi___globals); + goto CPyL52; + } + cpy_r_r108 = CPyStatics[357]; /* 'dank_mids.brownie_patch._abi' */ + cpy_r_r109 = CPyStatics[236]; /* '__module__' */ + cpy_r_r110 = CPyDict_SetItem(cpy_r_r83, cpy_r_r109, cpy_r_r108); + cpy_r_r111 = cpy_r_r110 >= 0; + if (unlikely(!cpy_r_r111)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 31, CPyStatic__abi___globals); + goto CPyL52; + } + PyObject *cpy_r_r112[3] = {cpy_r_r100, cpy_r_r71, cpy_r_r83}; + cpy_r_r113 = (PyObject **)&cpy_r_r112; + cpy_r_r114 = PyObject_Vectorcall(cpy_r_r73, cpy_r_r113, 3, 0); + if (unlikely(cpy_r_r114 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 31, CPyStatic__abi___globals); + goto CPyL52; + } + CPy_DECREF(cpy_r_r83); + CPy_DECREF(cpy_r_r71); + cpy_r_r115 = CPyStatic__abi___globals; + cpy_r_r116 = CPyStatics[222]; /* 'mypyc_attr' */ + cpy_r_r117 = CPyDict_GetItem(cpy_r_r115, cpy_r_r116); + if (unlikely(cpy_r_r117 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 28, CPyStatic__abi___globals); + goto CPyL55; + } + cpy_r_r118 = 0 ? Py_True : Py_False; + PyObject *cpy_r_r119[1] = {cpy_r_r118}; + cpy_r_r120 = (PyObject **)&cpy_r_r119; + cpy_r_r121 = CPyStatics[939]; /* ('native_class',) */ + cpy_r_r122 = PyObject_Vectorcall(cpy_r_r117, cpy_r_r120, 0, cpy_r_r121); + CPy_DECREF(cpy_r_r117); + if (unlikely(cpy_r_r122 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 28, CPyStatic__abi___globals); + goto CPyL55; + } + PyObject *cpy_r_r123[1] = {cpy_r_r114}; + cpy_r_r124 = (PyObject **)&cpy_r_r123; + cpy_r_r125 = PyObject_Vectorcall(cpy_r_r122, cpy_r_r124, 1, 0); + CPy_DECREF(cpy_r_r122); + if (unlikely(cpy_r_r125 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 31, CPyStatic__abi___globals); + goto CPyL55; + } + CPy_DECREF(cpy_r_r114); + cpy_r_r126 = CPyStatic__abi___globals; + cpy_r_r127 = CPyStatics[39]; /* 'final' */ + cpy_r_r128 = CPyDict_GetItem(cpy_r_r126, cpy_r_r127); + if (unlikely(cpy_r_r128 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 27, CPyStatic__abi___globals); + goto CPyL56; + } + PyObject *cpy_r_r129[1] = {cpy_r_r125}; + cpy_r_r130 = (PyObject **)&cpy_r_r129; + cpy_r_r131 = PyObject_Vectorcall(cpy_r_r128, cpy_r_r130, 1, 0); + CPy_DECREF(cpy_r_r128); + if (unlikely(cpy_r_r131 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 31, CPyStatic__abi___globals); + goto CPyL56; + } + CPy_DECREF(cpy_r_r125); + CPyType__abi___FunctionABI = (PyTypeObject *)cpy_r_r131; + CPy_INCREF(CPyType__abi___FunctionABI); + cpy_r_r132 = CPyStatic__abi___globals; + cpy_r_r133 = CPyStatics[354]; /* 'FunctionABI' */ + cpy_r_r134 = PyDict_SetItem(cpy_r_r132, cpy_r_r133, cpy_r_r131); + CPy_DECREF(cpy_r_r131); + cpy_r_r135 = cpy_r_r134 >= 0; + if (unlikely(!cpy_r_r135)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\_abi.py", "", 31, CPyStatic__abi___globals); + goto CPyL48; + } + cpy_r_r136 = (PyObject *)CPyType__abi___FunctionABI; + return 1; +CPyL48: ; + cpy_r_r137 = 2; + return cpy_r_r137; +CPyL49: ; + CPy_DecRef(cpy_r_r35); + goto CPyL48; +CPyL50: ; + CPy_DecRef(cpy_r_r35); + CPy_DecRef(cpy_r_r38); + goto CPyL48; +CPyL51: ; + CPy_DecRef(cpy_r_r71); + goto CPyL48; +CPyL52: ; + CPy_DecRef(cpy_r_r71); + CPy_DecRef(cpy_r_r83); + goto CPyL48; +CPyL53: ; + CPy_DecRef(cpy_r_r71); + CPy_DecRef(cpy_r_r83); + CPy_DecRef(cpy_r_r85); + goto CPyL48; +CPyL54: ; + CPy_DecRef(cpy_r_r71); + CPy_DecRef(cpy_r_r83); + CPy_DecRef(cpy_r_r85); + CPy_DecRef(cpy_r_r90); + goto CPyL48; +CPyL55: ; + CPy_DecRef(cpy_r_r114); + goto CPyL48; +CPyL56: ; + CPy_DecRef(cpy_r_r125); + goto CPyL48; +} + +static PyObject *CPyDunder___get__call_____mypyc_lambda__0_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef_call_____mypyc_lambda__0_obj_____get__(self, instance, owner); +} +PyObject *CPyDef_call_____mypyc___3__mypyc_lambda__0_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef_call_____mypyc_lambda__0_obj(void); + +static PyObject * +call_____mypyc_lambda__0_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_call_____mypyc_lambda__0_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_call_____mypyc___3__mypyc_lambda__0_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +call_____mypyc_lambda__0_obj_traverse(dank_mids___brownie_patch___call_____mypyc_lambda__0_objObject *self, visitproc visit, void *arg) +{ + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +call_____mypyc_lambda__0_obj_clear(dank_mids___brownie_patch___call_____mypyc_lambda__0_objObject *self) +{ + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +call_____mypyc_lambda__0_obj_dealloc(dank_mids___brownie_patch___call_____mypyc_lambda__0_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (call_____mypyc_lambda__0_obj_free_instance == NULL) { + call_____mypyc_lambda__0_obj_free_instance = self; + return; + } + CPy_TRASHCAN_BEGIN(self, call_____mypyc_lambda__0_obj_dealloc) + call_____mypyc_lambda__0_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem call_____mypyc_lambda__0_obj_vtable[2]; +static bool +CPyDef_call_____mypyc_lambda__0_obj_trait_vtable_setup(void) +{ + CPyVTableItem call_____mypyc_lambda__0_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef_call_____mypyc_lambda__0_obj_____call__, + (CPyVTableItem)CPyDef_call_____mypyc_lambda__0_obj_____get__, + }; + memcpy(call_____mypyc_lambda__0_obj_vtable, call_____mypyc_lambda__0_obj_vtable_scratch, sizeof(call_____mypyc_lambda__0_obj_vtable)); + return 1; +} + + +static PyGetSetDef call_____mypyc_lambda__0_obj_getseters[] = { + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef call_____mypyc_lambda__0_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy_call_____mypyc_lambda__0_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__($self, *args)\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy_call_____mypyc_lambda__0_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_call_____mypyc_lambda__0_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "__mypyc_lambda__0_obj", + .tp_new = call_____mypyc_lambda__0_obj_new, + .tp_dealloc = (destructor)call_____mypyc_lambda__0_obj_dealloc, + .tp_traverse = (traverseproc)call_____mypyc_lambda__0_obj_traverse, + .tp_clear = (inquiry)call_____mypyc_lambda__0_obj_clear, + .tp_getset = call_____mypyc_lambda__0_obj_getseters, + .tp_methods = call_____mypyc_lambda__0_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get__call_____mypyc_lambda__0_obj, + .tp_basicsize = sizeof(dank_mids___brownie_patch___call_____mypyc_lambda__0_objObject), + .tp_vectorcall_offset = offsetof(dank_mids___brownie_patch___call_____mypyc_lambda__0_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("__mypyc_lambda__0_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType_call_____mypyc_lambda__0_obj_template = &CPyType_call_____mypyc_lambda__0_obj_template_; + +PyObject *CPyDef_call_____mypyc___3__mypyc_lambda__0_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___call_____mypyc_lambda__0_objObject *self; + if (call_____mypyc_lambda__0_obj_free_instance != NULL) { + self = call_____mypyc_lambda__0_obj_free_instance; + call_____mypyc_lambda__0_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch___call_____mypyc_lambda__0_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = call_____mypyc_lambda__0_obj_vtable; + self->vectorcall = CPyPy_call_____mypyc_lambda__0_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_call_____mypyc_lambda__0_obj(void) +{ + PyObject *self = CPyDef_call_____mypyc___3__mypyc_lambda__0_obj_setup((PyObject *)CPyType_call_____mypyc_lambda__0_obj); + if (self == NULL) + return NULL; + return self; +} + + +static PyObject *CPyDunder___get__call_____mypyc_lambda__1_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef_call_____mypyc_lambda__1_obj_____get__(self, instance, owner); +} +PyObject *CPyDef_call_____mypyc___3__mypyc_lambda__1_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef_call_____mypyc_lambda__1_obj(void); + +static PyObject * +call_____mypyc_lambda__1_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_call_____mypyc_lambda__1_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_call_____mypyc___3__mypyc_lambda__1_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +call_____mypyc_lambda__1_obj_traverse(dank_mids___brownie_patch___call_____mypyc_lambda__1_objObject *self, visitproc visit, void *arg) +{ + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +call_____mypyc_lambda__1_obj_clear(dank_mids___brownie_patch___call_____mypyc_lambda__1_objObject *self) +{ + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +call_____mypyc_lambda__1_obj_dealloc(dank_mids___brownie_patch___call_____mypyc_lambda__1_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (call_____mypyc_lambda__1_obj_free_instance == NULL) { + call_____mypyc_lambda__1_obj_free_instance = self; + return; + } + CPy_TRASHCAN_BEGIN(self, call_____mypyc_lambda__1_obj_dealloc) + call_____mypyc_lambda__1_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem call_____mypyc_lambda__1_obj_vtable[2]; +static bool +CPyDef_call_____mypyc_lambda__1_obj_trait_vtable_setup(void) +{ + CPyVTableItem call_____mypyc_lambda__1_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef_call_____mypyc_lambda__1_obj_____call__, + (CPyVTableItem)CPyDef_call_____mypyc_lambda__1_obj_____get__, + }; + memcpy(call_____mypyc_lambda__1_obj_vtable, call_____mypyc_lambda__1_obj_vtable_scratch, sizeof(call_____mypyc_lambda__1_obj_vtable)); + return 1; +} + + +static PyGetSetDef call_____mypyc_lambda__1_obj_getseters[] = { + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef call_____mypyc_lambda__1_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy_call_____mypyc_lambda__1_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__($self, data)\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy_call_____mypyc_lambda__1_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_call_____mypyc_lambda__1_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "__mypyc_lambda__1_obj", + .tp_new = call_____mypyc_lambda__1_obj_new, + .tp_dealloc = (destructor)call_____mypyc_lambda__1_obj_dealloc, + .tp_traverse = (traverseproc)call_____mypyc_lambda__1_obj_traverse, + .tp_clear = (inquiry)call_____mypyc_lambda__1_obj_clear, + .tp_getset = call_____mypyc_lambda__1_obj_getseters, + .tp_methods = call_____mypyc_lambda__1_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get__call_____mypyc_lambda__1_obj, + .tp_basicsize = sizeof(dank_mids___brownie_patch___call_____mypyc_lambda__1_objObject), + .tp_vectorcall_offset = offsetof(dank_mids___brownie_patch___call_____mypyc_lambda__1_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("__mypyc_lambda__1_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType_call_____mypyc_lambda__1_obj_template = &CPyType_call_____mypyc_lambda__1_obj_template_; + +PyObject *CPyDef_call_____mypyc___3__mypyc_lambda__1_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___call_____mypyc_lambda__1_objObject *self; + if (call_____mypyc_lambda__1_obj_free_instance != NULL) { + self = call_____mypyc_lambda__1_obj_free_instance; + call_____mypyc_lambda__1_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch___call_____mypyc_lambda__1_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = call_____mypyc_lambda__1_obj_vtable; + self->vectorcall = CPyPy_call_____mypyc_lambda__1_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_call_____mypyc_lambda__1_obj(void) +{ + PyObject *self = CPyDef_call_____mypyc___3__mypyc_lambda__1_obj_setup((PyObject *)CPyType_call_____mypyc_lambda__1_obj); + if (self == NULL) + return NULL; + return self; +} + + +PyObject *CPyDef_call_____mypyc___3_get_coroutine_fn_env_setup(PyObject *cpy_r_type); +PyObject *CPyDef_call____get_coroutine_fn_env(void); + +static PyObject * +call____get_coroutine_fn_env_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_call____get_coroutine_fn_env) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_call_____mypyc___3_get_coroutine_fn_env_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +call____get_coroutine_fn_env_traverse(dank_mids___brownie_patch___call____get_coroutine_fn_envObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_self__); + Py_VISIT(self->_w3); + if (CPyTagged_CheckLong(self->_len_inputs)) { + Py_VISIT(CPyTagged_LongAsObject(self->_len_inputs)); + } + Py_VISIT(self->_get_request_data); + Py_VISIT(self->_coroutine); + return 0; +} + +static int +call____get_coroutine_fn_env_clear(dank_mids___brownie_patch___call____get_coroutine_fn_envObject *self) +{ + Py_CLEAR(self->___mypyc_self__); + Py_CLEAR(self->_w3); + if (CPyTagged_CheckLong(self->_len_inputs)) { + CPyTagged __tmp = self->_len_inputs; + self->_len_inputs = CPY_INT_TAG; + Py_XDECREF(CPyTagged_LongAsObject(__tmp)); + } + Py_CLEAR(self->_get_request_data); + Py_CLEAR(self->_coroutine); + return 0; +} + +static void +call____get_coroutine_fn_env_dealloc(dank_mids___brownie_patch___call____get_coroutine_fn_envObject *self) +{ + PyObject_GC_UnTrack(self); + if (call____get_coroutine_fn_env_free_instance == NULL) { + call____get_coroutine_fn_env_free_instance = self; + Py_CLEAR(self->___mypyc_self__); + Py_CLEAR(self->_w3); + if (CPyTagged_CheckLong(self->_len_inputs)) { + CPyTagged __tmp = self->_len_inputs; + self->_len_inputs = CPY_INT_TAG; + Py_XDECREF(CPyTagged_LongAsObject(__tmp)); + } else { + self->_len_inputs = CPY_INT_TAG; + } + Py_CLEAR(self->_get_request_data); + Py_CLEAR(self->_coroutine); + return; + } + CPy_TRASHCAN_BEGIN(self, call____get_coroutine_fn_env_dealloc) + call____get_coroutine_fn_env_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem call____get_coroutine_fn_env_vtable[1]; +static bool +CPyDef_call____get_coroutine_fn_env_trait_vtable_setup(void) +{ + CPyVTableItem call____get_coroutine_fn_env_vtable_scratch[] = { + NULL + }; + memcpy(call____get_coroutine_fn_env_vtable, call____get_coroutine_fn_env_vtable_scratch, sizeof(call____get_coroutine_fn_env_vtable)); + return 1; +} + +static PyMethodDef call____get_coroutine_fn_env_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_call____get_coroutine_fn_env_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "_get_coroutine_fn_env", + .tp_new = call____get_coroutine_fn_env_new, + .tp_dealloc = (destructor)call____get_coroutine_fn_env_dealloc, + .tp_traverse = (traverseproc)call____get_coroutine_fn_env_traverse, + .tp_clear = (inquiry)call____get_coroutine_fn_env_clear, + .tp_methods = call____get_coroutine_fn_env_methods, + .tp_basicsize = sizeof(dank_mids___brownie_patch___call____get_coroutine_fn_envObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("_get_coroutine_fn_env()\n--\n\n"), +}; +static PyTypeObject *CPyType_call____get_coroutine_fn_env_template = &CPyType_call____get_coroutine_fn_env_template_; + +PyObject *CPyDef_call_____mypyc___3_get_coroutine_fn_env_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___call____get_coroutine_fn_envObject *self; + if (call____get_coroutine_fn_env_free_instance != NULL) { + self = call____get_coroutine_fn_env_free_instance; + call____get_coroutine_fn_env_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = call____get_coroutine_fn_env_vtable; + self->_len_inputs = CPY_INT_TAG; + return (PyObject *)self; +} + +PyObject *CPyDef_call____get_coroutine_fn_env(void) +{ + PyObject *self = CPyDef_call_____mypyc___3_get_coroutine_fn_env_setup((PyObject *)CPyType_call____get_coroutine_fn_env); + if (self == NULL) + return NULL; + return self; +} + + +PyObject *CPyDef_call_____mypyc__coroutine__get_coroutine_fn_env_setup(PyObject *cpy_r_type); +PyObject *CPyDef_call___coroutine__get_coroutine_fn_env(void); + +static PyObject * +call___coroutine__get_coroutine_fn_env_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_call___coroutine__get_coroutine_fn_env) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_call_____mypyc__coroutine__get_coroutine_fn_env_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +call___coroutine__get_coroutine_fn_env_traverse(dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_self__); + Py_VISIT(self->___mypyc_env__); + Py_VISIT(self->___mypyc_generator_attribute__self); + Py_VISIT(self->___mypyc_generator_attribute__args); + Py_VISIT(self->___mypyc_generator_attribute__block_identifier); + Py_VISIT(self->___mypyc_generator_attribute__decimals); + Py_VISIT(self->___mypyc_generator_attribute__override); + Py_VISIT(self->_type); + Py_VISIT(self->_value); + Py_VISIT(self->_traceback); + Py_VISIT(self->_arg); + Py_VISIT(self->___mypyc_temp__0); + Py_VISIT(self->___mypyc_temp__1); + Py_VISIT(self->___mypyc_temp__3); + Py_VISIT(self->___mypyc_temp__4.f0); + Py_VISIT(self->___mypyc_temp__4.f1); + Py_VISIT(self->___mypyc_temp__4.f2); + Py_VISIT(self->___mypyc_temp__5); + Py_VISIT(self->___mypyc_temp__6.f0); + Py_VISIT(self->___mypyc_temp__6.f1); + Py_VISIT(self->___mypyc_temp__6.f2); + Py_VISIT(self->___mypyc_generator_attribute__data); + Py_VISIT(self->___mypyc_temp__7); + Py_VISIT(self->___mypyc_temp__8); + Py_VISIT(self->___mypyc_temp__10); + Py_VISIT(self->___mypyc_temp__11.f0); + Py_VISIT(self->___mypyc_temp__11.f1); + Py_VISIT(self->___mypyc_temp__11.f2); + Py_VISIT(self->___mypyc_temp__12); + Py_VISIT(self->___mypyc_temp__13.f0); + Py_VISIT(self->___mypyc_temp__13.f1); + Py_VISIT(self->___mypyc_temp__13.f2); + Py_VISIT(self->___mypyc_generator_attribute__output); + Py_VISIT(self->___mypyc_temp__14.f0); + Py_VISIT(self->___mypyc_temp__14.f1); + Py_VISIT(self->___mypyc_temp__14.f2); + Py_VISIT(self->___mypyc_temp__15); + Py_VISIT(self->___mypyc_temp__16.f0); + Py_VISIT(self->___mypyc_temp__16.f1); + Py_VISIT(self->___mypyc_temp__16.f2); + Py_VISIT(self->___mypyc_temp__17); + Py_VISIT(self->___mypyc_temp__18.f0); + Py_VISIT(self->___mypyc_temp__18.f1); + Py_VISIT(self->___mypyc_temp__18.f2); + Py_VISIT(self->___mypyc_temp__19.f0); + Py_VISIT(self->___mypyc_temp__19.f1); + Py_VISIT(self->___mypyc_temp__19.f2); + Py_VISIT(self->___mypyc_temp__20); + 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->___mypyc_temp__23.f0); + Py_VISIT(self->___mypyc_temp__23.f1); + Py_VISIT(self->___mypyc_temp__23.f2); + Py_VISIT(self->___mypyc_temp__24); + Py_VISIT(self->___mypyc_temp__25.f0); + Py_VISIT(self->___mypyc_temp__25.f1); + Py_VISIT(self->___mypyc_temp__25.f2); + Py_VISIT(self->___mypyc_generator_attribute__decoded); + Py_VISIT(self->___mypyc_temp__26.f0); + Py_VISIT(self->___mypyc_temp__26.f1); + Py_VISIT(self->___mypyc_temp__26.f2); + Py_VISIT(self->___mypyc_generator_attribute__e); + return 0; +} + +static int +call___coroutine__get_coroutine_fn_env_clear(dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *self) +{ + Py_CLEAR(self->___mypyc_self__); + Py_CLEAR(self->___mypyc_env__); + Py_CLEAR(self->___mypyc_generator_attribute__self); + Py_CLEAR(self->___mypyc_generator_attribute__args); + Py_CLEAR(self->___mypyc_generator_attribute__block_identifier); + Py_CLEAR(self->___mypyc_generator_attribute__decimals); + Py_CLEAR(self->___mypyc_generator_attribute__override); + Py_CLEAR(self->_type); + Py_CLEAR(self->_value); + Py_CLEAR(self->_traceback); + Py_CLEAR(self->_arg); + Py_CLEAR(self->___mypyc_temp__0); + Py_CLEAR(self->___mypyc_temp__1); + Py_CLEAR(self->___mypyc_temp__3); + Py_CLEAR(self->___mypyc_temp__4.f0); + Py_CLEAR(self->___mypyc_temp__4.f1); + Py_CLEAR(self->___mypyc_temp__4.f2); + Py_CLEAR(self->___mypyc_temp__5); + Py_CLEAR(self->___mypyc_temp__6.f0); + Py_CLEAR(self->___mypyc_temp__6.f1); + Py_CLEAR(self->___mypyc_temp__6.f2); + Py_CLEAR(self->___mypyc_generator_attribute__data); + Py_CLEAR(self->___mypyc_temp__7); + Py_CLEAR(self->___mypyc_temp__8); + Py_CLEAR(self->___mypyc_temp__10); + Py_CLEAR(self->___mypyc_temp__11.f0); + Py_CLEAR(self->___mypyc_temp__11.f1); + Py_CLEAR(self->___mypyc_temp__11.f2); + Py_CLEAR(self->___mypyc_temp__12); + Py_CLEAR(self->___mypyc_temp__13.f0); + Py_CLEAR(self->___mypyc_temp__13.f1); + Py_CLEAR(self->___mypyc_temp__13.f2); + Py_CLEAR(self->___mypyc_generator_attribute__output); + Py_CLEAR(self->___mypyc_temp__14.f0); + Py_CLEAR(self->___mypyc_temp__14.f1); + Py_CLEAR(self->___mypyc_temp__14.f2); + Py_CLEAR(self->___mypyc_temp__15); + Py_CLEAR(self->___mypyc_temp__16.f0); + Py_CLEAR(self->___mypyc_temp__16.f1); + Py_CLEAR(self->___mypyc_temp__16.f2); + Py_CLEAR(self->___mypyc_temp__17); + Py_CLEAR(self->___mypyc_temp__18.f0); + Py_CLEAR(self->___mypyc_temp__18.f1); + Py_CLEAR(self->___mypyc_temp__18.f2); + Py_CLEAR(self->___mypyc_temp__19.f0); + Py_CLEAR(self->___mypyc_temp__19.f1); + Py_CLEAR(self->___mypyc_temp__19.f2); + Py_CLEAR(self->___mypyc_temp__20); + 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->___mypyc_temp__23.f0); + Py_CLEAR(self->___mypyc_temp__23.f1); + Py_CLEAR(self->___mypyc_temp__23.f2); + Py_CLEAR(self->___mypyc_temp__24); + Py_CLEAR(self->___mypyc_temp__25.f0); + Py_CLEAR(self->___mypyc_temp__25.f1); + Py_CLEAR(self->___mypyc_temp__25.f2); + Py_CLEAR(self->___mypyc_generator_attribute__decoded); + Py_CLEAR(self->___mypyc_temp__26.f0); + Py_CLEAR(self->___mypyc_temp__26.f1); + Py_CLEAR(self->___mypyc_temp__26.f2); + Py_CLEAR(self->___mypyc_generator_attribute__e); + return 0; +} + +static void +call___coroutine__get_coroutine_fn_env_dealloc(dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *self) +{ + PyObject_GC_UnTrack(self); + if (call___coroutine__get_coroutine_fn_env_free_instance == NULL) { + call___coroutine__get_coroutine_fn_env_free_instance = self; + Py_CLEAR(self->___mypyc_self__); + Py_CLEAR(self->___mypyc_env__); + Py_CLEAR(self->___mypyc_generator_attribute__self); + Py_CLEAR(self->___mypyc_generator_attribute__args); + Py_CLEAR(self->___mypyc_generator_attribute__block_identifier); + Py_CLEAR(self->___mypyc_generator_attribute__decimals); + Py_CLEAR(self->___mypyc_generator_attribute__override); + Py_CLEAR(self->_type); + Py_CLEAR(self->_value); + Py_CLEAR(self->_traceback); + Py_CLEAR(self->_arg); + self->_stop_iter_ptr = NULL; + self->___mypyc_next_label__ = -113; + Py_CLEAR(self->___mypyc_temp__0); + Py_CLEAR(self->___mypyc_temp__1); + self->___mypyc_temp__2 = 2; + Py_CLEAR(self->___mypyc_temp__3); + Py_CLEAR(self->___mypyc_temp__4.f0); + Py_CLEAR(self->___mypyc_temp__4.f1); + Py_CLEAR(self->___mypyc_temp__4.f2); + Py_CLEAR(self->___mypyc_temp__5); + Py_CLEAR(self->___mypyc_temp__6.f0); + Py_CLEAR(self->___mypyc_temp__6.f1); + Py_CLEAR(self->___mypyc_temp__6.f2); + Py_CLEAR(self->___mypyc_generator_attribute__data); + Py_CLEAR(self->___mypyc_temp__7); + Py_CLEAR(self->___mypyc_temp__8); + self->___mypyc_temp__9 = 2; + Py_CLEAR(self->___mypyc_temp__10); + Py_CLEAR(self->___mypyc_temp__11.f0); + Py_CLEAR(self->___mypyc_temp__11.f1); + Py_CLEAR(self->___mypyc_temp__11.f2); + Py_CLEAR(self->___mypyc_temp__12); + Py_CLEAR(self->___mypyc_temp__13.f0); + Py_CLEAR(self->___mypyc_temp__13.f1); + Py_CLEAR(self->___mypyc_temp__13.f2); + Py_CLEAR(self->___mypyc_generator_attribute__output); + Py_CLEAR(self->___mypyc_temp__14.f0); + Py_CLEAR(self->___mypyc_temp__14.f1); + Py_CLEAR(self->___mypyc_temp__14.f2); + Py_CLEAR(self->___mypyc_temp__15); + Py_CLEAR(self->___mypyc_temp__16.f0); + Py_CLEAR(self->___mypyc_temp__16.f1); + Py_CLEAR(self->___mypyc_temp__16.f2); + Py_CLEAR(self->___mypyc_temp__17); + Py_CLEAR(self->___mypyc_temp__18.f0); + Py_CLEAR(self->___mypyc_temp__18.f1); + Py_CLEAR(self->___mypyc_temp__18.f2); + Py_CLEAR(self->___mypyc_temp__19.f0); + Py_CLEAR(self->___mypyc_temp__19.f1); + Py_CLEAR(self->___mypyc_temp__19.f2); + Py_CLEAR(self->___mypyc_temp__20); + 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->___mypyc_temp__23.f0); + Py_CLEAR(self->___mypyc_temp__23.f1); + Py_CLEAR(self->___mypyc_temp__23.f2); + Py_CLEAR(self->___mypyc_temp__24); + Py_CLEAR(self->___mypyc_temp__25.f0); + Py_CLEAR(self->___mypyc_temp__25.f1); + Py_CLEAR(self->___mypyc_temp__25.f2); + Py_CLEAR(self->___mypyc_generator_attribute__decoded); + Py_CLEAR(self->___mypyc_temp__26.f0); + Py_CLEAR(self->___mypyc_temp__26.f1); + Py_CLEAR(self->___mypyc_temp__26.f2); + Py_CLEAR(self->___mypyc_generator_attribute__e); + return; + } + CPy_TRASHCAN_BEGIN(self, call___coroutine__get_coroutine_fn_env_dealloc) + call___coroutine__get_coroutine_fn_env_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem call___coroutine__get_coroutine_fn_env_vtable[1]; +static bool +CPyDef_call___coroutine__get_coroutine_fn_env_trait_vtable_setup(void) +{ + CPyVTableItem call___coroutine__get_coroutine_fn_env_vtable_scratch[] = { + NULL + }; + memcpy(call___coroutine__get_coroutine_fn_env_vtable, call___coroutine__get_coroutine_fn_env_vtable_scratch, sizeof(call___coroutine__get_coroutine_fn_env_vtable)); + return 1; +} + +static PyMethodDef call___coroutine__get_coroutine_fn_env_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_call___coroutine__get_coroutine_fn_env_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "coroutine__get_coroutine_fn_env", + .tp_new = call___coroutine__get_coroutine_fn_env_new, + .tp_dealloc = (destructor)call___coroutine__get_coroutine_fn_env_dealloc, + .tp_traverse = (traverseproc)call___coroutine__get_coroutine_fn_env_traverse, + .tp_clear = (inquiry)call___coroutine__get_coroutine_fn_env_clear, + .tp_methods = call___coroutine__get_coroutine_fn_env_methods, + .tp_basicsize = sizeof(dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("coroutine__get_coroutine_fn_env()\n--\n\n"), +}; +static PyTypeObject *CPyType_call___coroutine__get_coroutine_fn_env_template = &CPyType_call___coroutine__get_coroutine_fn_env_template_; + +PyObject *CPyDef_call_____mypyc__coroutine__get_coroutine_fn_env_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *self; + if (call___coroutine__get_coroutine_fn_env_free_instance != NULL) { + self = call___coroutine__get_coroutine_fn_env_free_instance; + call___coroutine__get_coroutine_fn_env_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = call___coroutine__get_coroutine_fn_env_vtable; + self->___mypyc_next_label__ = -113; + self->___mypyc_temp__2 = 2; + self->___mypyc_temp__4 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__6 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__9 = 2; + self->___mypyc_temp__11 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__13 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__14 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__16 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__18 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__19 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__21 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__23 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__25 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__26 = (tuple_T3OOO) { NULL, NULL, NULL }; + return (PyObject *)self; +} + +PyObject *CPyDef_call___coroutine__get_coroutine_fn_env(void) +{ + PyObject *self = CPyDef_call_____mypyc__coroutine__get_coroutine_fn_env_setup((PyObject *)CPyType_call___coroutine__get_coroutine_fn_env); + if (self == NULL) + return NULL; + return self; +} + + +static PyObject *CPyDunder___get__call___coroutine__get_coroutine_fn_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef_call___coroutine__get_coroutine_fn_obj_____get__(self, instance, owner); +} +PyObject *CPyDef_call_____mypyc__coroutine__get_coroutine_fn_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef_call___coroutine__get_coroutine_fn_obj(void); + +static PyObject * +call___coroutine__get_coroutine_fn_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_call___coroutine__get_coroutine_fn_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_call_____mypyc__coroutine__get_coroutine_fn_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +call___coroutine__get_coroutine_fn_obj_traverse(dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_env__); + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +call___coroutine__get_coroutine_fn_obj_clear(dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *self) +{ + Py_CLEAR(self->___mypyc_env__); + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +call___coroutine__get_coroutine_fn_obj_dealloc(dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (call___coroutine__get_coroutine_fn_obj_free_instance == NULL) { + call___coroutine__get_coroutine_fn_obj_free_instance = self; + Py_CLEAR(self->___mypyc_env__); + return; + } + CPy_TRASHCAN_BEGIN(self, call___coroutine__get_coroutine_fn_obj_dealloc) + call___coroutine__get_coroutine_fn_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem call___coroutine__get_coroutine_fn_obj_vtable[2]; +static bool +CPyDef_call___coroutine__get_coroutine_fn_obj_trait_vtable_setup(void) +{ + CPyVTableItem call___coroutine__get_coroutine_fn_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef_call___coroutine__get_coroutine_fn_obj_____call__, + (CPyVTableItem)CPyDef_call___coroutine__get_coroutine_fn_obj_____get__, + }; + memcpy(call___coroutine__get_coroutine_fn_obj_vtable, call___coroutine__get_coroutine_fn_obj_vtable_scratch, sizeof(call___coroutine__get_coroutine_fn_obj_vtable)); + return 1; +} + +static PyObject * +call___coroutine__get_coroutine_fn_obj_get___3_mypyc_env__(dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *self, void *closure); +static int +call___coroutine__get_coroutine_fn_obj_set___3_mypyc_env__(dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *self, PyObject *value, void *closure); + +static PyGetSetDef call___coroutine__get_coroutine_fn_obj_getseters[] = { + {"__mypyc_env__", + (getter)call___coroutine__get_coroutine_fn_obj_get___3_mypyc_env__, (setter)call___coroutine__get_coroutine_fn_obj_set___3_mypyc_env__, + NULL, NULL}, + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef call___coroutine__get_coroutine_fn_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy_call___coroutine__get_coroutine_fn_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__($self, *args, block_identifier=None, decimals=None, override=None)\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy_call___coroutine__get_coroutine_fn_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_call___coroutine__get_coroutine_fn_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "coroutine__get_coroutine_fn_obj", + .tp_new = call___coroutine__get_coroutine_fn_obj_new, + .tp_dealloc = (destructor)call___coroutine__get_coroutine_fn_obj_dealloc, + .tp_traverse = (traverseproc)call___coroutine__get_coroutine_fn_obj_traverse, + .tp_clear = (inquiry)call___coroutine__get_coroutine_fn_obj_clear, + .tp_getset = call___coroutine__get_coroutine_fn_obj_getseters, + .tp_methods = call___coroutine__get_coroutine_fn_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get__call___coroutine__get_coroutine_fn_obj, + .tp_basicsize = sizeof(dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject), + .tp_vectorcall_offset = offsetof(dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("coroutine__get_coroutine_fn_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType_call___coroutine__get_coroutine_fn_obj_template = &CPyType_call___coroutine__get_coroutine_fn_obj_template_; + +PyObject *CPyDef_call_____mypyc__coroutine__get_coroutine_fn_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *self; + if (call___coroutine__get_coroutine_fn_obj_free_instance != NULL) { + self = call___coroutine__get_coroutine_fn_obj_free_instance; + call___coroutine__get_coroutine_fn_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = call___coroutine__get_coroutine_fn_obj_vtable; + self->vectorcall = CPyPy_call___coroutine__get_coroutine_fn_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_call___coroutine__get_coroutine_fn_obj(void) +{ + PyObject *self = CPyDef_call_____mypyc__coroutine__get_coroutine_fn_obj_setup((PyObject *)CPyType_call___coroutine__get_coroutine_fn_obj); + if (self == NULL) + return NULL; + return self; +} + +static PyObject * +call___coroutine__get_coroutine_fn_obj_get___3_mypyc_env__(dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *self, void *closure) +{ + if (unlikely(self->___mypyc_env__ == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '__mypyc_env__' of 'coroutine__get_coroutine_fn_obj' undefined"); + return NULL; + } + CPy_INCREF_NO_IMM(self->___mypyc_env__); + PyObject *retval = self->___mypyc_env__; + return retval; +} + +static int +call___coroutine__get_coroutine_fn_obj_set___3_mypyc_env__(dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'coroutine__get_coroutine_fn_obj' object attribute '__mypyc_env__' cannot be deleted"); + return -1; + } + if (self->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(self->___mypyc_env__); + } + PyObject *tmp; + if (likely(Py_TYPE(value) == CPyType_call____get_coroutine_fn_env)) + tmp = value; + else { + CPy_TypeError("dank_mids.brownie_patch.call._get_coroutine_fn_env", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF_NO_IMM(tmp); + self->___mypyc_env__ = tmp; + return 0; +} + +static PyAsyncMethods call___coroutine_gen___3_147_as_async = { + .am_await = CPyDef_call___coroutine_gen___3_147_____await__, +}; +PyObject *CPyDef_call_____mypyc__coroutine_gen___3_147_setup(PyObject *cpy_r_type); +PyObject *CPyDef_call___coroutine_gen___3_147(void); + +static PyObject * +call___coroutine_gen___3_147_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_call___coroutine_gen___3_147) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_call_____mypyc__coroutine_gen___3_147_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +call___coroutine_gen___3_147_traverse(dank_mids___brownie_patch___call___coroutine_gen___3_147Object *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_env__); + return 0; +} + +static int +call___coroutine_gen___3_147_clear(dank_mids___brownie_patch___call___coroutine_gen___3_147Object *self) +{ + Py_CLEAR(self->___mypyc_env__); + return 0; +} + +static void +call___coroutine_gen___3_147_dealloc(dank_mids___brownie_patch___call___coroutine_gen___3_147Object *self) +{ + PyObject_GC_UnTrack(self); + if (call___coroutine_gen___3_147_free_instance == NULL) { + call___coroutine_gen___3_147_free_instance = self; + Py_CLEAR(self->___mypyc_env__); + return; + } + CPy_TRASHCAN_BEGIN(self, call___coroutine_gen___3_147_dealloc) + call___coroutine_gen___3_147_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem call___coroutine_gen___3_147_vtable[7]; +static bool +CPyDef_call___coroutine_gen___3_147_trait_vtable_setup(void) +{ + CPyVTableItem call___coroutine_gen___3_147_vtable_scratch[] = { + (CPyVTableItem)CPyDef_call___coroutine_gen___3_147_____mypyc_generator_helper__, + (CPyVTableItem)CPyDef_call___coroutine_gen___3_147_____next__, + (CPyVTableItem)CPyDef_call___coroutine_gen___3_147___send, + (CPyVTableItem)CPyDef_call___coroutine_gen___3_147_____iter__, + (CPyVTableItem)CPyDef_call___coroutine_gen___3_147___throw, + (CPyVTableItem)CPyDef_call___coroutine_gen___3_147___close, + (CPyVTableItem)CPyDef_call___coroutine_gen___3_147_____await__, + }; + memcpy(call___coroutine_gen___3_147_vtable, call___coroutine_gen___3_147_vtable_scratch, sizeof(call___coroutine_gen___3_147_vtable)); + return 1; +} + +static PyMethodDef call___coroutine_gen___3_147_methods[] = { + {"__next__", + (PyCFunction)CPyPy_call___coroutine_gen___3_147_____next__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__next__()\n--\n\n")}, + {"send", + (PyCFunction)CPyPy_call___coroutine_gen___3_147___send, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("send($arg)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy_call___coroutine_gen___3_147_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__()\n--\n\n")}, + {"throw", + (PyCFunction)CPyPy_call___coroutine_gen___3_147___throw, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"close", + (PyCFunction)CPyPy_call___coroutine_gen___3_147___close, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("close()\n--\n\n")}, + {"__await__", + (PyCFunction)CPyPy_call___coroutine_gen___3_147_____await__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__await__()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_call___coroutine_gen___3_147_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "coroutine_gen___147", + .tp_new = call___coroutine_gen___3_147_new, + .tp_dealloc = (destructor)call___coroutine_gen___3_147_dealloc, + .tp_traverse = (traverseproc)call___coroutine_gen___3_147_traverse, + .tp_clear = (inquiry)call___coroutine_gen___3_147_clear, + .tp_methods = call___coroutine_gen___3_147_methods, + .tp_iter = CPyDef_call___coroutine_gen___3_147_____iter__, + .tp_iternext = CPyDef_call___coroutine_gen___3_147_____next__, + .tp_as_async = &call___coroutine_gen___3_147_as_async, + .tp_basicsize = sizeof(dank_mids___brownie_patch___call___coroutine_gen___3_147Object), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("coroutine_gen___147()\n--\n\n"), +}; +static PyTypeObject *CPyType_call___coroutine_gen___3_147_template = &CPyType_call___coroutine_gen___3_147_template_; + +PyObject *CPyDef_call_____mypyc__coroutine_gen___3_147_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___call___coroutine_gen___3_147Object *self; + if (call___coroutine_gen___3_147_free_instance != NULL) { + self = call___coroutine_gen___3_147_free_instance; + call___coroutine_gen___3_147_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch___call___coroutine_gen___3_147Object *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = call___coroutine_gen___3_147_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef_call___coroutine_gen___3_147(void) +{ + PyObject *self = CPyDef_call_____mypyc__coroutine_gen___3_147_setup((PyObject *)CPyType_call___coroutine_gen___3_147); + if (self == NULL) + return NULL; + return self; +} + + +static PyAsyncMethods call___encode_input_gen_as_async = { + .am_await = CPyDef_call___encode_input_gen_____await__, +}; +PyObject *CPyDef_call_____mypyc__encode_input_gen_setup(PyObject *cpy_r_type); +PyObject *CPyDef_call___encode_input_gen(void); + +static PyObject * +call___encode_input_gen_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_call___encode_input_gen) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_call_____mypyc__encode_input_gen_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +call___encode_input_gen_traverse(dank_mids___brownie_patch___call___encode_input_genObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_generator_attribute__call); + if (CPyTagged_CheckLong(self->___mypyc_generator_attribute__len_inputs)) { + Py_VISIT(CPyTagged_LongAsObject(self->___mypyc_generator_attribute__len_inputs)); + } + Py_VISIT(self->___mypyc_generator_attribute__get_request_data); + Py_VISIT(self->___mypyc_generator_attribute__args); + Py_VISIT(self->___mypyc_temp__27); + Py_VISIT(self->___mypyc_generator_attribute__arg); + Py_VISIT(self->___mypyc_generator_attribute__data); + Py_VISIT(self->___mypyc_temp__30); + Py_VISIT(self->___mypyc_temp__31.f0); + Py_VISIT(self->___mypyc_temp__31.f1); + Py_VISIT(self->___mypyc_temp__31.f2); + Py_VISIT(self->___mypyc_temp__32.f0); + Py_VISIT(self->___mypyc_temp__32.f1); + Py_VISIT(self->___mypyc_temp__32.f2); + Py_VISIT(self->___mypyc_generator_attribute__exc_str); + return 0; +} + +static int +call___encode_input_gen_clear(dank_mids___brownie_patch___call___encode_input_genObject *self) +{ + Py_CLEAR(self->___mypyc_generator_attribute__call); + if (CPyTagged_CheckLong(self->___mypyc_generator_attribute__len_inputs)) { + CPyTagged __tmp = self->___mypyc_generator_attribute__len_inputs; + self->___mypyc_generator_attribute__len_inputs = CPY_INT_TAG; + Py_XDECREF(CPyTagged_LongAsObject(__tmp)); + } + Py_CLEAR(self->___mypyc_generator_attribute__get_request_data); + Py_CLEAR(self->___mypyc_generator_attribute__args); + Py_CLEAR(self->___mypyc_temp__27); + Py_CLEAR(self->___mypyc_generator_attribute__arg); + Py_CLEAR(self->___mypyc_generator_attribute__data); + Py_CLEAR(self->___mypyc_temp__30); + Py_CLEAR(self->___mypyc_temp__31.f0); + Py_CLEAR(self->___mypyc_temp__31.f1); + Py_CLEAR(self->___mypyc_temp__31.f2); + Py_CLEAR(self->___mypyc_temp__32.f0); + Py_CLEAR(self->___mypyc_temp__32.f1); + Py_CLEAR(self->___mypyc_temp__32.f2); + Py_CLEAR(self->___mypyc_generator_attribute__exc_str); + return 0; +} + +static void +call___encode_input_gen_dealloc(dank_mids___brownie_patch___call___encode_input_genObject *self) +{ + PyObject_GC_UnTrack(self); + if (call___encode_input_gen_free_instance == NULL) { + call___encode_input_gen_free_instance = self; + Py_CLEAR(self->___mypyc_generator_attribute__call); + if (CPyTagged_CheckLong(self->___mypyc_generator_attribute__len_inputs)) { + CPyTagged __tmp = self->___mypyc_generator_attribute__len_inputs; + self->___mypyc_generator_attribute__len_inputs = CPY_INT_TAG; + Py_XDECREF(CPyTagged_LongAsObject(__tmp)); + } else { + self->___mypyc_generator_attribute__len_inputs = CPY_INT_TAG; + } + Py_CLEAR(self->___mypyc_generator_attribute__get_request_data); + Py_CLEAR(self->___mypyc_generator_attribute__args); + self->___mypyc_next_label__ = -113; + Py_CLEAR(self->___mypyc_temp__27); + self->___mypyc_temp__28 = -113; + self->___mypyc_temp__29 = -113; + Py_CLEAR(self->___mypyc_generator_attribute__arg); + Py_CLEAR(self->___mypyc_generator_attribute__data); + Py_CLEAR(self->___mypyc_temp__30); + Py_CLEAR(self->___mypyc_temp__31.f0); + Py_CLEAR(self->___mypyc_temp__31.f1); + Py_CLEAR(self->___mypyc_temp__31.f2); + Py_CLEAR(self->___mypyc_temp__32.f0); + Py_CLEAR(self->___mypyc_temp__32.f1); + Py_CLEAR(self->___mypyc_temp__32.f2); + Py_CLEAR(self->___mypyc_generator_attribute__exc_str); + return; + } + CPy_TRASHCAN_BEGIN(self, call___encode_input_gen_dealloc) + call___encode_input_gen_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem call___encode_input_gen_vtable[7]; +static bool +CPyDef_call___encode_input_gen_trait_vtable_setup(void) +{ + CPyVTableItem call___encode_input_gen_vtable_scratch[] = { + (CPyVTableItem)CPyDef_call___encode_input_gen_____mypyc_generator_helper__, + (CPyVTableItem)CPyDef_call___encode_input_gen_____next__, + (CPyVTableItem)CPyDef_call___encode_input_gen___send, + (CPyVTableItem)CPyDef_call___encode_input_gen_____iter__, + (CPyVTableItem)CPyDef_call___encode_input_gen___throw, + (CPyVTableItem)CPyDef_call___encode_input_gen___close, + (CPyVTableItem)CPyDef_call___encode_input_gen_____await__, + }; + memcpy(call___encode_input_gen_vtable, call___encode_input_gen_vtable_scratch, sizeof(call___encode_input_gen_vtable)); + return 1; +} + +static PyMethodDef call___encode_input_gen_methods[] = { + {"__next__", + (PyCFunction)CPyPy_call___encode_input_gen_____next__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__next__()\n--\n\n")}, + {"send", + (PyCFunction)CPyPy_call___encode_input_gen___send, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("send($arg)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy_call___encode_input_gen_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__()\n--\n\n")}, + {"throw", + (PyCFunction)CPyPy_call___encode_input_gen___throw, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"close", + (PyCFunction)CPyPy_call___encode_input_gen___close, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("close()\n--\n\n")}, + {"__await__", + (PyCFunction)CPyPy_call___encode_input_gen_____await__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__await__()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_call___encode_input_gen_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "encode_input_gen", + .tp_new = call___encode_input_gen_new, + .tp_dealloc = (destructor)call___encode_input_gen_dealloc, + .tp_traverse = (traverseproc)call___encode_input_gen_traverse, + .tp_clear = (inquiry)call___encode_input_gen_clear, + .tp_methods = call___encode_input_gen_methods, + .tp_iter = CPyDef_call___encode_input_gen_____iter__, + .tp_iternext = CPyDef_call___encode_input_gen_____next__, + .tp_as_async = &call___encode_input_gen_as_async, + .tp_basicsize = sizeof(dank_mids___brownie_patch___call___encode_input_genObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("encode_input_gen()\n--\n\n"), +}; +static PyTypeObject *CPyType_call___encode_input_gen_template = &CPyType_call___encode_input_gen_template_; + +PyObject *CPyDef_call_____mypyc__encode_input_gen_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___call___encode_input_genObject *self; + if (call___encode_input_gen_free_instance != NULL) { + self = call___encode_input_gen_free_instance; + call___encode_input_gen_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch___call___encode_input_genObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = call___encode_input_gen_vtable; + self->___mypyc_generator_attribute__len_inputs = CPY_INT_TAG; + self->___mypyc_next_label__ = -113; + self->___mypyc_temp__28 = -113; + self->___mypyc_temp__29 = -113; + self->___mypyc_temp__31 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__32 = (tuple_T3OOO) { NULL, NULL, NULL }; + return (PyObject *)self; +} + +PyObject *CPyDef_call___encode_input_gen(void) +{ + PyObject *self = CPyDef_call_____mypyc__encode_input_gen_setup((PyObject *)CPyType_call___encode_input_gen); + if (self == NULL) + return NULL; + return self; +} + + +static PyAsyncMethods call___decode_output_gen_as_async = { + .am_await = CPyDef_call___decode_output_gen_____await__, +}; +PyObject *CPyDef_call_____mypyc__decode_output_gen_setup(PyObject *cpy_r_type); +PyObject *CPyDef_call___decode_output_gen(void); + +static PyObject * +call___decode_output_gen_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_call___decode_output_gen) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_call_____mypyc__decode_output_gen_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +call___decode_output_gen_traverse(dank_mids___brownie_patch___call___decode_output_genObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_generator_attribute__call); + Py_VISIT(self->___mypyc_generator_attribute__data); + Py_VISIT(self->___mypyc_generator_attribute__decoded); + Py_VISIT(self->___mypyc_temp__33); + Py_VISIT(self->___mypyc_temp__34.f0); + Py_VISIT(self->___mypyc_temp__34.f1); + Py_VISIT(self->___mypyc_temp__34.f2); + Py_VISIT(self->___mypyc_temp__35.f0); + Py_VISIT(self->___mypyc_temp__35.f1); + Py_VISIT(self->___mypyc_temp__35.f2); + Py_VISIT(self->___mypyc_temp__36.f0); + Py_VISIT(self->___mypyc_temp__36.f1); + Py_VISIT(self->___mypyc_temp__36.f2); + Py_VISIT(self->___mypyc_generator_attribute__e); + Py_VISIT(self->___mypyc_temp__37); + Py_VISIT(self->___mypyc_temp__38.f0); + Py_VISIT(self->___mypyc_temp__38.f1); + Py_VISIT(self->___mypyc_temp__38.f2); + return 0; +} + +static int +call___decode_output_gen_clear(dank_mids___brownie_patch___call___decode_output_genObject *self) +{ + Py_CLEAR(self->___mypyc_generator_attribute__call); + Py_CLEAR(self->___mypyc_generator_attribute__data); + Py_CLEAR(self->___mypyc_generator_attribute__decoded); + Py_CLEAR(self->___mypyc_temp__33); + Py_CLEAR(self->___mypyc_temp__34.f0); + Py_CLEAR(self->___mypyc_temp__34.f1); + Py_CLEAR(self->___mypyc_temp__34.f2); + Py_CLEAR(self->___mypyc_temp__35.f0); + Py_CLEAR(self->___mypyc_temp__35.f1); + Py_CLEAR(self->___mypyc_temp__35.f2); + Py_CLEAR(self->___mypyc_temp__36.f0); + Py_CLEAR(self->___mypyc_temp__36.f1); + Py_CLEAR(self->___mypyc_temp__36.f2); + Py_CLEAR(self->___mypyc_generator_attribute__e); + Py_CLEAR(self->___mypyc_temp__37); + Py_CLEAR(self->___mypyc_temp__38.f0); + Py_CLEAR(self->___mypyc_temp__38.f1); + Py_CLEAR(self->___mypyc_temp__38.f2); + return 0; +} + +static void +call___decode_output_gen_dealloc(dank_mids___brownie_patch___call___decode_output_genObject *self) +{ + PyObject_GC_UnTrack(self); + if (call___decode_output_gen_free_instance == NULL) { + call___decode_output_gen_free_instance = self; + Py_CLEAR(self->___mypyc_generator_attribute__call); + Py_CLEAR(self->___mypyc_generator_attribute__data); + self->___mypyc_next_label__ = -113; + Py_CLEAR(self->___mypyc_generator_attribute__decoded); + Py_CLEAR(self->___mypyc_temp__33); + Py_CLEAR(self->___mypyc_temp__34.f0); + Py_CLEAR(self->___mypyc_temp__34.f1); + Py_CLEAR(self->___mypyc_temp__34.f2); + Py_CLEAR(self->___mypyc_temp__35.f0); + Py_CLEAR(self->___mypyc_temp__35.f1); + Py_CLEAR(self->___mypyc_temp__35.f2); + Py_CLEAR(self->___mypyc_temp__36.f0); + Py_CLEAR(self->___mypyc_temp__36.f1); + Py_CLEAR(self->___mypyc_temp__36.f2); + Py_CLEAR(self->___mypyc_generator_attribute__e); + Py_CLEAR(self->___mypyc_temp__37); + Py_CLEAR(self->___mypyc_temp__38.f0); + Py_CLEAR(self->___mypyc_temp__38.f1); + Py_CLEAR(self->___mypyc_temp__38.f2); + return; + } + CPy_TRASHCAN_BEGIN(self, call___decode_output_gen_dealloc) + call___decode_output_gen_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem call___decode_output_gen_vtable[7]; +static bool +CPyDef_call___decode_output_gen_trait_vtable_setup(void) +{ + CPyVTableItem call___decode_output_gen_vtable_scratch[] = { + (CPyVTableItem)CPyDef_call___decode_output_gen_____mypyc_generator_helper__, + (CPyVTableItem)CPyDef_call___decode_output_gen_____next__, + (CPyVTableItem)CPyDef_call___decode_output_gen___send, + (CPyVTableItem)CPyDef_call___decode_output_gen_____iter__, + (CPyVTableItem)CPyDef_call___decode_output_gen___throw, + (CPyVTableItem)CPyDef_call___decode_output_gen___close, + (CPyVTableItem)CPyDef_call___decode_output_gen_____await__, + }; + memcpy(call___decode_output_gen_vtable, call___decode_output_gen_vtable_scratch, sizeof(call___decode_output_gen_vtable)); + return 1; +} + +static PyMethodDef call___decode_output_gen_methods[] = { + {"__next__", + (PyCFunction)CPyPy_call___decode_output_gen_____next__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__next__()\n--\n\n")}, + {"send", + (PyCFunction)CPyPy_call___decode_output_gen___send, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("send($arg)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy_call___decode_output_gen_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__()\n--\n\n")}, + {"throw", + (PyCFunction)CPyPy_call___decode_output_gen___throw, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"close", + (PyCFunction)CPyPy_call___decode_output_gen___close, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("close()\n--\n\n")}, + {"__await__", + (PyCFunction)CPyPy_call___decode_output_gen_____await__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__await__()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_call___decode_output_gen_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "decode_output_gen", + .tp_new = call___decode_output_gen_new, + .tp_dealloc = (destructor)call___decode_output_gen_dealloc, + .tp_traverse = (traverseproc)call___decode_output_gen_traverse, + .tp_clear = (inquiry)call___decode_output_gen_clear, + .tp_methods = call___decode_output_gen_methods, + .tp_iter = CPyDef_call___decode_output_gen_____iter__, + .tp_iternext = CPyDef_call___decode_output_gen_____next__, + .tp_as_async = &call___decode_output_gen_as_async, + .tp_basicsize = sizeof(dank_mids___brownie_patch___call___decode_output_genObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("decode_output_gen()\n--\n\n"), +}; +static PyTypeObject *CPyType_call___decode_output_gen_template = &CPyType_call___decode_output_gen_template_; + +PyObject *CPyDef_call_____mypyc__decode_output_gen_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___call___decode_output_genObject *self; + if (call___decode_output_gen_free_instance != NULL) { + self = call___decode_output_gen_free_instance; + call___decode_output_gen_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch___call___decode_output_genObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = call___decode_output_gen_vtable; + self->___mypyc_next_label__ = -113; + self->___mypyc_temp__34 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__35 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__36 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__38 = (tuple_T3OOO) { NULL, NULL, NULL }; + return (PyObject *)self; +} + +PyObject *CPyDef_call___decode_output_gen(void) +{ + PyObject *self = CPyDef_call_____mypyc__decode_output_gen_setup((PyObject *)CPyType_call___decode_output_gen); + if (self == NULL) + return NULL; + return self; +} + + +static PyAsyncMethods call____request_data_no_args_gen_as_async = { + .am_await = CPyDef_call____request_data_no_args_gen_____await__, +}; +PyObject *CPyDef_call_____mypyc___3_request_data_no_args_gen_setup(PyObject *cpy_r_type); +PyObject *CPyDef_call____request_data_no_args_gen(void); + +static PyObject * +call____request_data_no_args_gen_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_call____request_data_no_args_gen) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_call_____mypyc___3_request_data_no_args_gen_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +call____request_data_no_args_gen_traverse(dank_mids___brownie_patch___call____request_data_no_args_genObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_generator_attribute__call); + return 0; +} + +static int +call____request_data_no_args_gen_clear(dank_mids___brownie_patch___call____request_data_no_args_genObject *self) +{ + Py_CLEAR(self->___mypyc_generator_attribute__call); + return 0; +} + +static void +call____request_data_no_args_gen_dealloc(dank_mids___brownie_patch___call____request_data_no_args_genObject *self) +{ + PyObject_GC_UnTrack(self); + if (call____request_data_no_args_gen_free_instance == NULL) { + call____request_data_no_args_gen_free_instance = self; + Py_CLEAR(self->___mypyc_generator_attribute__call); + self->___mypyc_next_label__ = -113; + return; + } + CPy_TRASHCAN_BEGIN(self, call____request_data_no_args_gen_dealloc) + call____request_data_no_args_gen_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem call____request_data_no_args_gen_vtable[7]; +static bool +CPyDef_call____request_data_no_args_gen_trait_vtable_setup(void) +{ + CPyVTableItem call____request_data_no_args_gen_vtable_scratch[] = { + (CPyVTableItem)CPyDef_call____request_data_no_args_gen_____mypyc_generator_helper__, + (CPyVTableItem)CPyDef_call____request_data_no_args_gen_____next__, + (CPyVTableItem)CPyDef_call____request_data_no_args_gen___send, + (CPyVTableItem)CPyDef_call____request_data_no_args_gen_____iter__, + (CPyVTableItem)CPyDef_call____request_data_no_args_gen___throw, + (CPyVTableItem)CPyDef_call____request_data_no_args_gen___close, + (CPyVTableItem)CPyDef_call____request_data_no_args_gen_____await__, + }; + memcpy(call____request_data_no_args_gen_vtable, call____request_data_no_args_gen_vtable_scratch, sizeof(call____request_data_no_args_gen_vtable)); + return 1; +} + +static PyMethodDef call____request_data_no_args_gen_methods[] = { + {"__next__", + (PyCFunction)CPyPy_call____request_data_no_args_gen_____next__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__next__()\n--\n\n")}, + {"send", + (PyCFunction)CPyPy_call____request_data_no_args_gen___send, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("send($arg)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy_call____request_data_no_args_gen_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__()\n--\n\n")}, + {"throw", + (PyCFunction)CPyPy_call____request_data_no_args_gen___throw, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"close", + (PyCFunction)CPyPy_call____request_data_no_args_gen___close, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("close()\n--\n\n")}, + {"__await__", + (PyCFunction)CPyPy_call____request_data_no_args_gen_____await__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__await__()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_call____request_data_no_args_gen_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "_request_data_no_args_gen", + .tp_new = call____request_data_no_args_gen_new, + .tp_dealloc = (destructor)call____request_data_no_args_gen_dealloc, + .tp_traverse = (traverseproc)call____request_data_no_args_gen_traverse, + .tp_clear = (inquiry)call____request_data_no_args_gen_clear, + .tp_methods = call____request_data_no_args_gen_methods, + .tp_iter = CPyDef_call____request_data_no_args_gen_____iter__, + .tp_iternext = CPyDef_call____request_data_no_args_gen_____next__, + .tp_as_async = &call____request_data_no_args_gen_as_async, + .tp_basicsize = sizeof(dank_mids___brownie_patch___call____request_data_no_args_genObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("_request_data_no_args_gen()\n--\n\n"), +}; +static PyTypeObject *CPyType_call____request_data_no_args_gen_template = &CPyType_call____request_data_no_args_gen_template_; + +PyObject *CPyDef_call_____mypyc___3_request_data_no_args_gen_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___call____request_data_no_args_genObject *self; + if (call____request_data_no_args_gen_free_instance != NULL) { + self = call____request_data_no_args_gen_free_instance; + call____request_data_no_args_gen_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch___call____request_data_no_args_genObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = call____request_data_no_args_gen_vtable; + self->___mypyc_next_label__ = -113; + return (PyObject *)self; +} + +PyObject *CPyDef_call____request_data_no_args_gen(void) +{ + PyObject *self = CPyDef_call_____mypyc___3_request_data_no_args_gen_setup((PyObject *)CPyType_call____request_data_no_args_gen); + if (self == NULL) + return NULL; + return self; +} + +static PyMethodDef callmodule_methods[] = { + {"_patch_call", (PyCFunction)CPyPy_call____patch_call, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_patch_call(call, w3)\n--\n\n") /* docstring */}, + {"_get_coroutine_fn", (PyCFunction)CPyPy_call____get_coroutine_fn, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_get_coroutine_fn(w3, len_inputs)\n--\n\n") /* docstring */}, + {"_call_no_args", (PyCFunction)CPyPy_call____call_no_args, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_call_no_args(self)\n--\n\n") /* docstring */}, + {"encode_input", (PyCFunction)CPyPy_call___encode_input, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("encode_input(call, len_inputs, get_request_data, *args)\n--\n\n") /* docstring */}, + {"decode_output", (PyCFunction)CPyPy_call___decode_output, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("decode_output(call, data)\n--\n\n") /* docstring */}, + {"_request_data_no_args", (PyCFunction)CPyPy_call____request_data_no_args, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_request_data_no_args(call)\n--\n\n") /* docstring */}, + {"__encode_input", (PyCFunction)CPyPy_call_____encode_input, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__encode_input(abi, signature, *args)\n--\n\n") /* docstring */}, + {"__decode_output", (PyCFunction)CPyPy_call_____decode_output, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__decode_output(hexstr, abi)\n--\n\n") /* docstring */}, + {"__validate_output", (PyCFunction)CPyPy_call_____validate_output, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__validate_output(abi, hexstr)\n--\n\n") /* docstring */}, + {"format_input_but_cache_checksums", (PyCFunction)CPyPy_call___format_input_but_cache_checksums, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("format_input_but_cache_checksums(abi, inputs)\n--\n\n") /* docstring */}, + {"format_output_but_cache_checksums", (PyCFunction)CPyPy_call___format_output_but_cache_checksums, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("format_output_but_cache_checksums(abi, outputs)\n--\n\n") /* docstring */}, + {"_format_tuple_but_cache_checksums", (PyCFunction)CPyPy_call____format_tuple_but_cache_checksums, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_format_tuple_but_cache_checksums(abi_types, values)\n--\n\n") /* docstring */}, + {"_format_array_but_cache_checksums", (PyCFunction)CPyPy_call____format_array_but_cache_checksums, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_format_array_but_cache_checksums(abi_type, values)\n--\n\n") /* docstring */}, + {"_format_single_but_cache_checksums", (PyCFunction)CPyPy_call____format_single_but_cache_checksums, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_format_single_but_cache_checksums(type_str, value)\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___brownie_patch___call(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___brownie_patch___call__internal, "__name__"); + CPyStatic_call___globals = PyModule_GetDict(CPyModule_dank_mids___brownie_patch___call__internal); + if (unlikely(CPyStatic_call___globals == NULL)) + goto fail; + CPyType_call_____mypyc_lambda__0_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_call_____mypyc_lambda__0_obj_template, NULL, modname); + if (unlikely(!CPyType_call_____mypyc_lambda__0_obj)) + goto fail; + CPyType_call_____mypyc_lambda__1_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_call_____mypyc_lambda__1_obj_template, NULL, modname); + if (unlikely(!CPyType_call_____mypyc_lambda__1_obj)) + goto fail; + CPyType_call____get_coroutine_fn_env = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_call____get_coroutine_fn_env_template, NULL, modname); + if (unlikely(!CPyType_call____get_coroutine_fn_env)) + goto fail; + CPyType_call___coroutine__get_coroutine_fn_env = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_call___coroutine__get_coroutine_fn_env_template, NULL, modname); + if (unlikely(!CPyType_call___coroutine__get_coroutine_fn_env)) + goto fail; + CPyType_call___coroutine__get_coroutine_fn_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_call___coroutine__get_coroutine_fn_obj_template, NULL, modname); + if (unlikely(!CPyType_call___coroutine__get_coroutine_fn_obj)) + goto fail; + CPyType_call___coroutine_gen___3_147 = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_call___coroutine_gen___3_147_template, NULL, modname); + if (unlikely(!CPyType_call___coroutine_gen___3_147)) + goto fail; + CPyType_call___encode_input_gen = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_call___encode_input_gen_template, NULL, modname); + if (unlikely(!CPyType_call___encode_input_gen)) + goto fail; + CPyType_call___decode_output_gen = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_call___decode_output_gen_template, NULL, modname); + if (unlikely(!CPyType_call___decode_output_gen)) + goto fail; + CPyType_call____request_data_no_args_gen = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_call____request_data_no_args_gen_template, NULL, modname); + if (unlikely(!CPyType_call____request_data_no_args_gen)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_call_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___brownie_patch___call__internal); + Py_CLEAR(modname); + CPyStatic_call___APPLICATION_MODE = 2; + CPy_XDECREF(CPyStatic_call___Decimal); + CPyStatic_call___Decimal = NULL; + CPy_XDECREF(CPyStatic_call___HexBytes); + CPyStatic_call___HexBytes = NULL; + CPy_XDECREF(CPyStatic_call___Contract); + CPyStatic_call___Contract = NULL; + CPy_XDECREF(CPyStatic_call___ReturnValue); + CPyStatic_call___ReturnValue = NULL; + CPy_XDECREF(CPyStatic_call___HexString); + CPyStatic_call___HexString = NULL; + CPy_XDECREF(CPyStatic_call___TupleType); + CPyStatic_call___TupleType = NULL; + CPy_XDECREF(CPyStatic_call___Revert); + CPyStatic_call___Revert = NULL; + CPy_XDECREF(CPyStatic_call___to_bool); + CPyStatic_call___to_bool = NULL; + CPy_XDECREF(CPyStatic_call___to_decimal); + CPyStatic_call___to_decimal = NULL; + CPy_XDECREF(CPyStatic_call___to_int); + CPyStatic_call___to_int = NULL; + CPy_XDECREF(CPyStatic_call___to_string); + CPyStatic_call___to_string = NULL; + CPy_XDECREF(CPyStatic_call___to_uint); + CPyStatic_call___to_uint = NULL; + CPy_XDECREF(CPyStatic_call____check_array); + CPyStatic_call____check_array = NULL; + CPy_XDECREF(CPyStatic_call____get_abi_types); + CPyStatic_call____get_abi_types = NULL; + CPy_XDECREF(CPyStatic_call___logger); + CPyStatic_call___logger = NULL; + CPy_XDECREF_NO_IMM(CPyStatic_call___encode); + CPyStatic_call___encode = NULL; + CPy_XDECREF_NO_IMM(CPyStatic_call___decode); + CPyStatic_call___decode = NULL; + CPy_XDECREF(CPyStatic_call___to_checksum_address); + CPyStatic_call___to_checksum_address = NULL; + CPy_XDECREF(CPyStatic_call_____eth_abi_encode); + CPyStatic_call_____eth_abi_encode = NULL; + CPy_XDECREF(CPyStatic_call_____eth_abi_decode); + CPyStatic_call_____eth_abi_decode = NULL; + Py_CLEAR(CPyType_call_____mypyc_lambda__0_obj); + Py_CLEAR(CPyType_call_____mypyc_lambda__1_obj); + Py_CLEAR(CPyType_call____get_coroutine_fn_env); + Py_CLEAR(CPyType_call___coroutine__get_coroutine_fn_env); + Py_CLEAR(CPyType_call___coroutine__get_coroutine_fn_obj); + Py_CLEAR(CPyType_call___coroutine_gen___3_147); + Py_CLEAR(CPyType_call___encode_input_gen); + Py_CLEAR(CPyType_call___decode_output_gen); + Py_CLEAR(CPyType_call____request_data_no_args_gen); + return -1; +} +static struct PyModuleDef callmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.brownie_patch.call", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + callmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___brownie_patch___call(void) +{ + if (CPyModule_dank_mids___brownie_patch___call__internal) { + Py_INCREF(CPyModule_dank_mids___brownie_patch___call__internal); + return CPyModule_dank_mids___brownie_patch___call__internal; + } + CPyModule_dank_mids___brownie_patch___call__internal = PyModule_Create(&callmodule); + if (unlikely(CPyModule_dank_mids___brownie_patch___call__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___brownie_patch___call(CPyModule_dank_mids___brownie_patch___call__internal) != 0) + goto fail; + return CPyModule_dank_mids___brownie_patch___call__internal; + fail: + return NULL; +} + +PyObject *CPyDef_call_____mypyc_lambda__0_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy_call_____mypyc_lambda__0_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef_call_____mypyc_lambda__0_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__get__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call_____mypyc_lambda__0_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_args) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + CPyPtr cpy_r_r15; + CPyPtr cpy_r_r16; + CPyPtr cpy_r_r17; + CPyPtr cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + cpy_r_r0 = CPyStatic_call___globals; + cpy_r_r1 = CPyStatics[358]; /* 'ENVS' */ + cpy_r_r2 = CPyDict_GetItem(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 82, CPyStatic_call___globals); + goto CPyL11; + } + cpy_r_r3 = CPyStatics[359]; /* 'BROWNIE_ENCODER_PROCESSES' */ + cpy_r_r4 = CPyObject_GetAttr(cpy_r_r2, cpy_r_r3); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 82, CPyStatic_call___globals); + goto CPyL11; + } + cpy_r_r5 = CPyStatic_call___globals; + cpy_r_r6 = CPyStatics[360]; /* '__encode_input' */ + cpy_r_r7 = CPyDict_GetItem(cpy_r_r5, cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 82, CPyStatic_call___globals); + goto CPyL12; + } + cpy_r_r8 = CPyStatics[330]; /* 'abi' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_self, cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 82, CPyStatic_call___globals); + goto CPyL13; + } + cpy_r_r10 = CPyStatics[332]; /* 'signature' */ + cpy_r_r11 = CPyObject_GetAttr(cpy_r_self, cpy_r_r10); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 82, CPyStatic_call___globals); + goto CPyL14; + } + cpy_r_r12 = CPyStatics[361]; /* 'run' */ + cpy_r_r13 = CPyObject_GetAttr(cpy_r_r4, cpy_r_r12); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 82, CPyStatic_call___globals); + goto CPyL15; + } + cpy_r_r14 = PyList_New(3); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 82, CPyStatic_call___globals); + goto CPyL16; + } + cpy_r_r15 = (CPyPtr)&((PyListObject *)cpy_r_r14)->ob_item; + cpy_r_r16 = *(CPyPtr *)cpy_r_r15; + *(PyObject * *)cpy_r_r16 = cpy_r_r7; + cpy_r_r17 = cpy_r_r16 + 8; + *(PyObject * *)cpy_r_r17 = cpy_r_r9; + cpy_r_r18 = cpy_r_r16 + 16; + *(PyObject * *)cpy_r_r18 = cpy_r_r11; + cpy_r_r19 = CPyList_Extend(cpy_r_r14, cpy_r_args); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 82, CPyStatic_call___globals); + goto CPyL17; + } else + goto CPyL18; +CPyL8: ; + cpy_r_r20 = PyList_AsTuple(cpy_r_r14); + CPy_DECREF_NO_IMM(cpy_r_r14); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 82, CPyStatic_call___globals); + goto CPyL19; + } + cpy_r_r21 = PyObject_CallObject(cpy_r_r13, cpy_r_r20); + CPy_DECREF(cpy_r_r13); + CPy_DECREF(cpy_r_r20); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 82, CPyStatic_call___globals); + goto CPyL11; + } + return cpy_r_r21; +CPyL11: ; + cpy_r_r22 = NULL; + return cpy_r_r22; +CPyL12: ; + CPy_DecRef(cpy_r_r4); + goto CPyL11; +CPyL13: ; + CPy_DecRef(cpy_r_r4); + CPy_DecRef(cpy_r_r7); + goto CPyL11; +CPyL14: ; + CPy_DecRef(cpy_r_r4); + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r9); + goto CPyL11; +CPyL15: ; + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r11); + goto CPyL11; +CPyL16: ; + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r11); + CPy_DecRef(cpy_r_r13); + goto CPyL11; +CPyL17: ; + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r14); + goto CPyL11; +CPyL18: ; + CPy_DECREF(cpy_r_r19); + goto CPyL8; +CPyL19: ; + CPy_DecRef(cpy_r_r13); + goto CPyL11; +} + +PyObject *CPyPy_call_____mypyc_lambda__0_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"self", 0}; + static CPyArg_Parser parser = {"%O:__call__", kwlist, 0}; + PyObject *obj_self; + PyObject *obj_args; + if (!CPyArg_ParseStackAndKeywords(args, PyVectorcall_NARGS(nargs), kwnames, &parser, &obj_args, NULL, &obj_self)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_self = obj_self; + PyObject *arg_args = obj_args; + PyObject *retval = CPyDef_call_____mypyc_lambda__0_obj_____call__(arg___mypyc_self__, arg_self, arg_args); + CPy_DECREF(obj_args); + return retval; +fail: ; + CPy_DECREF(obj_args); + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 82, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call_____mypyc_lambda__1_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy_call_____mypyc_lambda__1_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef_call_____mypyc_lambda__1_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__get__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call_____mypyc_lambda__1_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_data) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject **cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + cpy_r_r0 = CPyStatic_call___globals; + cpy_r_r1 = CPyStatics[358]; /* 'ENVS' */ + cpy_r_r2 = CPyDict_GetItem(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 101, CPyStatic_call___globals); + goto CPyL6; + } + cpy_r_r3 = CPyStatics[362]; /* 'BROWNIE_DECODER_PROCESSES' */ + cpy_r_r4 = CPyObject_GetAttr(cpy_r_r2, cpy_r_r3); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 101, CPyStatic_call___globals); + goto CPyL6; + } + cpy_r_r5 = CPyStatic_call___globals; + cpy_r_r6 = CPyStatics[363]; /* '__decode_output' */ + cpy_r_r7 = CPyDict_GetItem(cpy_r_r5, cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 101, CPyStatic_call___globals); + goto CPyL7; + } + cpy_r_r8 = CPyStatics[330]; /* 'abi' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_self, cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 101, CPyStatic_call___globals); + goto CPyL8; + } + cpy_r_r10 = CPyStatics[361]; /* 'run' */ + PyObject *cpy_r_r11[4] = {cpy_r_r4, cpy_r_r7, cpy_r_data, cpy_r_r9}; + cpy_r_r12 = (PyObject **)&cpy_r_r11; + cpy_r_r13 = PyObject_VectorcallMethod(cpy_r_r10, cpy_r_r12, 9223372036854775812ULL, 0); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 101, CPyStatic_call___globals); + goto CPyL9; + } + CPy_DECREF(cpy_r_r4); + CPy_DECREF(cpy_r_r7); + CPy_DECREF(cpy_r_r9); + return cpy_r_r13; +CPyL6: ; + cpy_r_r14 = NULL; + return cpy_r_r14; +CPyL7: ; + CPy_DecRef(cpy_r_r4); + goto CPyL6; +CPyL8: ; + CPy_DecRef(cpy_r_r4); + CPy_DecRef(cpy_r_r7); + goto CPyL6; +CPyL9: ; + CPy_DecRef(cpy_r_r4); + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r9); + goto CPyL6; +} + +PyObject *CPyPy_call_____mypyc_lambda__1_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"self", "data", 0}; + static CPyArg_Parser parser = {"OO:__call__", kwlist, 0}; + PyObject *obj_self; + PyObject *obj_data; + if (!CPyArg_ParseStackAndKeywordsSimple(args, PyVectorcall_NARGS(nargs), kwnames, &parser, &obj_self, &obj_data)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_self = obj_self; + PyObject *arg_data; + if (likely(PyBytes_Check(obj_data) || PyByteArray_Check(obj_data))) + arg_data = obj_data; + else { + CPy_TypeError("bytes", obj_data); + goto fail; + } + PyObject *retval = CPyDef_call_____mypyc_lambda__1_obj_____call__(arg___mypyc_self__, arg_self, arg_data); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 101, CPyStatic_call___globals); + return NULL; +} + +char CPyDef_call____patch_call(PyObject *cpy_r_call, PyObject *cpy_r_w3) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + int32_t cpy_r_r6; + char cpy_r_r7; + char cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + int32_t cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + CPyTagged cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject **cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject **cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + int32_t cpy_r_r32; + char cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject **cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + int32_t cpy_r_r44; + char cpy_r_r45; + char cpy_r_r46; + cpy_r_r0 = CPyStatics[364]; /* '_address' */ + cpy_r_r1 = CPyObject_GetAttr(cpy_r_call, cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 135, CPyStatic_call___globals); + goto CPyL18; + } + cpy_r_r2 = CPyStatic_call___globals; + cpy_r_r3 = CPyStatics[365]; /* '_skip_proc_pool' */ + cpy_r_r4 = CPyDict_GetItem(cpy_r_r2, cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 135, CPyStatic_call___globals); + goto CPyL19; + } + if (likely(PySet_Check(cpy_r_r4))) + cpy_r_r5 = cpy_r_r4; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 135, CPyStatic_call___globals, "set", cpy_r_r4); + goto CPyL19; + } + cpy_r_r6 = PySet_Contains(cpy_r_r5, cpy_r_r1); + CPy_DECREF(cpy_r_r5); + CPy_DECREF(cpy_r_r1); + cpy_r_r7 = cpy_r_r6 >= 0; + if (unlikely(!cpy_r_r7)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 135, CPyStatic_call___globals); + goto CPyL18; + } + cpy_r_r8 = cpy_r_r6; + cpy_r_r9 = CPyStatics[366]; /* '_skip_decoder_proc_pool' */ + cpy_r_r10 = cpy_r_r8 ? Py_True : Py_False; + cpy_r_r11 = PyObject_SetAttr(cpy_r_call, cpy_r_r9, cpy_r_r10); + cpy_r_r12 = cpy_r_r11 >= 0; + if (unlikely(!cpy_r_r12)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 135, CPyStatic_call___globals); + goto CPyL18; + } + cpy_r_r13 = CPyStatics[330]; /* 'abi' */ + cpy_r_r14 = CPyObject_GetAttr(cpy_r_call, cpy_r_r13); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 136, CPyStatic_call___globals); + goto CPyL18; + } + cpy_r_r15 = CPyStatics[340]; /* 'inputs' */ + cpy_r_r16 = PyObject_GetItem(cpy_r_r14, cpy_r_r15); + CPy_DECREF(cpy_r_r14); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 136, CPyStatic_call___globals); + goto CPyL18; + } + cpy_r_r17 = CPyObject_Size(cpy_r_r16); + CPy_DECREF(cpy_r_r16); + if (unlikely(cpy_r_r17 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 136, CPyStatic_call___globals); + goto CPyL18; + } + cpy_r_r18 = CPyStatic_call___globals; + cpy_r_r19 = CPyStatics[367]; /* '_get_coroutine_fn' */ + cpy_r_r20 = CPyDict_GetItem(cpy_r_r18, cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 136, CPyStatic_call___globals); + goto CPyL20; + } + cpy_r_r21 = CPyTagged_StealAsObject(cpy_r_r17); + PyObject *cpy_r_r22[2] = {cpy_r_w3, cpy_r_r21}; + cpy_r_r23 = (PyObject **)&cpy_r_r22; + cpy_r_r24 = PyObject_Vectorcall(cpy_r_r20, cpy_r_r23, 2, 0); + CPy_DECREF(cpy_r_r20); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 136, CPyStatic_call___globals); + goto CPyL21; + } + CPy_DECREF(cpy_r_r21); + cpy_r_r25 = CPyStatic_call___globals; + cpy_r_r26 = CPyStatics[368]; /* 'MethodType' */ + cpy_r_r27 = CPyDict_GetItem(cpy_r_r25, cpy_r_r26); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 136, CPyStatic_call___globals); + goto CPyL22; + } + PyObject *cpy_r_r28[2] = {cpy_r_r24, cpy_r_call}; + cpy_r_r29 = (PyObject **)&cpy_r_r28; + cpy_r_r30 = PyObject_Vectorcall(cpy_r_r27, cpy_r_r29, 2, 0); + CPy_DECREF(cpy_r_r27); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 136, CPyStatic_call___globals); + goto CPyL22; + } + CPy_DECREF(cpy_r_r24); + cpy_r_r31 = CPyStatics[369]; /* 'coroutine' */ + cpy_r_r32 = PyObject_SetAttr(cpy_r_call, cpy_r_r31, cpy_r_r30); + CPy_DECREF(cpy_r_r30); + cpy_r_r33 = cpy_r_r32 >= 0; + if (unlikely(!cpy_r_r33)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 136, CPyStatic_call___globals); + goto CPyL18; + } + cpy_r_r34 = CPyStatic_call___globals; + cpy_r_r35 = CPyStatics[370]; /* '_call_no_args' */ + cpy_r_r36 = CPyDict_GetItem(cpy_r_r34, cpy_r_r35); + if (unlikely(cpy_r_r36 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 137, CPyStatic_call___globals); + goto CPyL18; + } + cpy_r_r37 = CPyStatic_call___globals; + cpy_r_r38 = CPyStatics[368]; /* 'MethodType' */ + cpy_r_r39 = CPyDict_GetItem(cpy_r_r37, cpy_r_r38); + if (unlikely(cpy_r_r39 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 137, CPyStatic_call___globals); + goto CPyL23; + } + PyObject *cpy_r_r40[2] = {cpy_r_r36, cpy_r_call}; + cpy_r_r41 = (PyObject **)&cpy_r_r40; + cpy_r_r42 = PyObject_Vectorcall(cpy_r_r39, cpy_r_r41, 2, 0); + CPy_DECREF(cpy_r_r39); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 137, CPyStatic_call___globals); + goto CPyL23; + } + CPy_DECREF(cpy_r_r36); + cpy_r_r43 = CPyStatics[15]; /* '__await__' */ + cpy_r_r44 = PyObject_SetAttr(cpy_r_call, cpy_r_r43, cpy_r_r42); + CPy_DECREF(cpy_r_r42); + cpy_r_r45 = cpy_r_r44 >= 0; + if (unlikely(!cpy_r_r45)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 137, CPyStatic_call___globals); + goto CPyL18; + } + return 1; +CPyL18: ; + cpy_r_r46 = 2; + return cpy_r_r46; +CPyL19: ; + CPy_DecRef(cpy_r_r1); + goto CPyL18; +CPyL20: ; + CPyTagged_DecRef(cpy_r_r17); + goto CPyL18; +CPyL21: ; + CPy_DecRef(cpy_r_r21); + goto CPyL18; +CPyL22: ; + CPy_DecRef(cpy_r_r24); + goto CPyL18; +CPyL23: ; + CPy_DecRef(cpy_r_r36); + goto CPyL18; +} + +PyObject *CPyPy_call____patch_call(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"call", "w3", 0}; + static CPyArg_Parser parser = {"OO:_patch_call", kwlist, 0}; + PyObject *obj_call; + PyObject *obj_w3; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_call, &obj_w3)) { + return NULL; + } + PyObject *arg_call = obj_call; + PyObject *arg_w3 = obj_w3; + char retval = CPyDef_call____patch_call(arg_call, arg_w3); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_patch_call", 125, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___coroutine__get_coroutine_fn_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy_call___coroutine__get_coroutine_fn_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef_call___coroutine__get_coroutine_fn_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__get__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___coroutine_gen___3_147_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + tuple_T3OOO cpy_r_r12; + tuple_T3OOO cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + tuple_T3OOO cpy_r_r18; + tuple_T3OOO cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + int32_t cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + char cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + char cpy_r_r31; + PyObject *cpy_r_r32; + int64_t cpy_r_r33; + CPyTagged cpy_r_r34; + char cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject **cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + char cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + char cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject **cpy_r_r54; + PyObject *cpy_r_r55; + char cpy_r_r56; + char cpy_r_r57; + PyObject *cpy_r_r58; + char cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + char cpy_r_r65; + PyObject *cpy_r_r66; + char cpy_r_r67; + PyObject *cpy_r_r68; + char cpy_r_r69; + tuple_T3OOO cpy_r_r70; + char cpy_r_r71; + PyObject **cpy_r_r72; + PyObject *cpy_r_r73; + char cpy_r_r74; + tuple_T3OOO cpy_r_r75; + tuple_T3OOO cpy_r_r76; + tuple_T3OOO cpy_r_r77; + char cpy_r_r78; + PyObject *cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + CPyTagged cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + PyObject *cpy_r_r88; + PyObject *cpy_r_r89; + PyObject *cpy_r_r90; + CPyPtr cpy_r_r91; + CPyPtr cpy_r_r92; + CPyPtr cpy_r_r93; + CPyPtr cpy_r_r94; + PyObject *cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + PyObject *cpy_r_r98; + char cpy_r_r99; + PyObject *cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + PyObject *cpy_r_r104; + char cpy_r_r105; + PyObject *cpy_r_r106; + char cpy_r_r107; + PyObject *cpy_r_r108; + char cpy_r_r109; + tuple_T3OOO cpy_r_r110; + char cpy_r_r111; + PyObject **cpy_r_r112; + PyObject *cpy_r_r113; + char cpy_r_r114; + tuple_T3OOO cpy_r_r115; + tuple_T3OOO cpy_r_r116; + tuple_T3OOO cpy_r_r117; + char cpy_r_r118; + PyObject *cpy_r_r119; + PyObject *cpy_r_r120; + PyObject *cpy_r_r121; + PyObject *cpy_r_r122; + char cpy_r_r123; + PyObject *cpy_r_r124; + char cpy_r_r125; + PyObject *cpy_r_r126; + PyObject *cpy_r_r127; + PyObject *cpy_r_r128; + PyObject *cpy_r_r129; + PyObject *cpy_r_r130; + char cpy_r_r131; + PyObject *cpy_r_r132; + PyObject *cpy_r_r133; + PyObject **cpy_r_r135; + PyObject *cpy_r_r136; + char cpy_r_r137; + char cpy_r_r138; + PyObject *cpy_r_r139; + char cpy_r_r140; + PyObject *cpy_r_r141; + PyObject *cpy_r_r142; + PyObject *cpy_r_r143; + PyObject *cpy_r_r144; + PyObject *cpy_r_r145; + char cpy_r_r146; + PyObject *cpy_r_r147; + char cpy_r_r148; + PyObject *cpy_r_r149; + char cpy_r_r150; + tuple_T3OOO cpy_r_r151; + char cpy_r_r152; + PyObject **cpy_r_r153; + PyObject *cpy_r_r154; + char cpy_r_r155; + tuple_T3OOO cpy_r_r156; + tuple_T3OOO cpy_r_r157; + tuple_T3OOO cpy_r_r158; + char cpy_r_r159; + PyObject *cpy_r_r160; + PyObject *cpy_r_r161; + PyObject *cpy_r_r162; + PyObject *cpy_r_r163; + PyObject *cpy_r_r164; + PyObject *cpy_r_r165; + PyObject *cpy_r_r166; + PyObject *cpy_r_r167; + PyObject *cpy_r_r168; + PyObject *cpy_r_r169; + PyObject *cpy_r_r170; + PyObject *cpy_r_r171; + PyObject *cpy_r_r172; + PyObject *cpy_r_r173; + PyObject *cpy_r_r174; + PyObject **cpy_r_r176; + PyObject *cpy_r_r177; + PyObject *cpy_r_r178; + char cpy_r_r179; + PyObject *cpy_r_r180; + PyObject *cpy_r_r181; + PyObject *cpy_r_r182; + PyObject *cpy_r_r183; + PyObject *cpy_r_r184; + char cpy_r_r185; + PyObject *cpy_r_r186; + char cpy_r_r187; + PyObject *cpy_r_r188; + char cpy_r_r189; + tuple_T3OOO cpy_r_r190; + char cpy_r_r191; + PyObject **cpy_r_r192; + PyObject *cpy_r_r193; + char cpy_r_r194; + tuple_T3OOO cpy_r_r195; + tuple_T3OOO cpy_r_r196; + tuple_T3OOO cpy_r_r197; + char cpy_r_r198; + PyObject *cpy_r_r199; + PyObject *cpy_r_r200; + PyObject *cpy_r_r201; + char cpy_r_r202; + tuple_T3OOO cpy_r_r203; + char cpy_r_r204; + char cpy_r_r205; + tuple_T3OOO cpy_r_r206; + PyObject *cpy_r_r207; + PyObject *cpy_r_r208; + PyObject *cpy_r_r209; + PyObject *cpy_r_r210; + PyObject *cpy_r_r211; + PyObject **cpy_r_r213; + PyObject *cpy_r_r214; + PyObject *cpy_r_r215; + char cpy_r_r216; + PyObject *cpy_r_r217; + PyObject *cpy_r_r218; + PyObject *cpy_r_r219; + PyObject *cpy_r_r220; + PyObject *cpy_r_r221; + char cpy_r_r222; + PyObject *cpy_r_r223; + char cpy_r_r224; + PyObject *cpy_r_r225; + char cpy_r_r226; + tuple_T3OOO cpy_r_r227; + char cpy_r_r228; + PyObject **cpy_r_r229; + PyObject *cpy_r_r230; + char cpy_r_r231; + tuple_T3OOO cpy_r_r232; + tuple_T3OOO cpy_r_r233; + tuple_T3OOO cpy_r_r234; + char cpy_r_r235; + PyObject *cpy_r_r236; + PyObject *cpy_r_r237; + PyObject *cpy_r_r238; + int32_t cpy_r_r239; + char cpy_r_r240; + char cpy_r_r241; + tuple_T3OOO cpy_r_r242; + tuple_T3OOO cpy_r_r243; + char cpy_r_r244; + tuple_T3OOO cpy_r_r245; + tuple_T3OOO cpy_r_r246; + char cpy_r_r247; + PyObject *cpy_r_r248; + PyObject *cpy_r_r249; + PyObject *cpy_r_r250; + PyObject **cpy_r_r252; + PyObject *cpy_r_r253; + PyObject *cpy_r_r254; + char cpy_r_r255; + PyObject *cpy_r_r256; + PyObject *cpy_r_r257; + PyObject *cpy_r_r258; + PyObject *cpy_r_r259; + PyObject *cpy_r_r260; + char cpy_r_r261; + PyObject *cpy_r_r262; + char cpy_r_r263; + PyObject *cpy_r_r264; + char cpy_r_r265; + tuple_T3OOO cpy_r_r266; + char cpy_r_r267; + PyObject **cpy_r_r268; + PyObject *cpy_r_r269; + char cpy_r_r270; + tuple_T3OOO cpy_r_r271; + tuple_T3OOO cpy_r_r272; + tuple_T3OOO cpy_r_r273; + char cpy_r_r274; + PyObject *cpy_r_r275; + PyObject *cpy_r_r276; + PyObject *cpy_r_r277; + char cpy_r_r278; + tuple_T3OOO cpy_r_r279; + char cpy_r_r280; + char cpy_r_r281; + tuple_T3OOO cpy_r_r282; + PyObject *cpy_r_r283; + PyObject *cpy_r_r284; + PyObject *cpy_r_r285; + PyObject *cpy_r_r286; + PyObject *cpy_r_r287; + PyObject **cpy_r_r289; + PyObject *cpy_r_r290; + PyObject *cpy_r_r291; + char cpy_r_r292; + PyObject *cpy_r_r293; + PyObject *cpy_r_r294; + PyObject *cpy_r_r295; + PyObject *cpy_r_r296; + PyObject *cpy_r_r297; + char cpy_r_r298; + PyObject *cpy_r_r299; + char cpy_r_r300; + PyObject *cpy_r_r301; + char cpy_r_r302; + tuple_T3OOO cpy_r_r303; + char cpy_r_r304; + PyObject **cpy_r_r305; + PyObject *cpy_r_r306; + char cpy_r_r307; + tuple_T3OOO cpy_r_r308; + tuple_T3OOO cpy_r_r309; + tuple_T3OOO cpy_r_r310; + char cpy_r_r311; + PyObject *cpy_r_r312; + PyObject *cpy_r_r313; + PyObject *cpy_r_r314; + int32_t cpy_r_r315; + char cpy_r_r316; + char cpy_r_r317; + tuple_T3OOO cpy_r_r318; + tuple_T3OOO cpy_r_r319; + char cpy_r_r320; + tuple_T3OOO cpy_r_r321; + tuple_T3OOO cpy_r_r322; + char cpy_r_r323; + PyObject *cpy_r_r324; + PyObject *cpy_r_r325; + PyObject *cpy_r_r326; + PyObject **cpy_r_r328; + PyObject *cpy_r_r329; + PyObject *cpy_r_r330; + char cpy_r_r331; + PyObject *cpy_r_r332; + PyObject *cpy_r_r333; + PyObject *cpy_r_r334; + PyObject *cpy_r_r335; + PyObject *cpy_r_r336; + char cpy_r_r337; + PyObject *cpy_r_r338; + char cpy_r_r339; + PyObject *cpy_r_r340; + char cpy_r_r341; + tuple_T3OOO cpy_r_r342; + char cpy_r_r343; + PyObject **cpy_r_r344; + PyObject *cpy_r_r345; + char cpy_r_r346; + tuple_T3OOO cpy_r_r347; + tuple_T3OOO cpy_r_r348; + tuple_T3OOO cpy_r_r349; + char cpy_r_r350; + PyObject *cpy_r_r351; + PyObject *cpy_r_r352; + PyObject *cpy_r_r353; + char cpy_r_r354; + PyObject *cpy_r_r355; + PyObject *cpy_r_r356; + PyObject *cpy_r_r357; + PyObject *cpy_r_r358; + char cpy_r_r359; + PyObject *cpy_r_r360; + PyObject *cpy_r_r361; + PyObject *cpy_r_r362; + PyObject **cpy_r_r363; + PyObject *cpy_r_r364; + char cpy_r_r365; + PyObject *cpy_r_r366; + PyObject *cpy_r_r367; + char cpy_r_r368; + PyObject *cpy_r_r369; + char cpy_r_r370; + PyObject *cpy_r_r371; + char cpy_r_r372; + tuple_T3OOO cpy_r_r373; + char cpy_r_r374; + PyObject **cpy_r_r375; + PyObject *cpy_r_r376; + char cpy_r_r377; + tuple_T3OOO cpy_r_r378; + tuple_T3OOO cpy_r_r379; + tuple_T3OOO cpy_r_r380; + char cpy_r_r381; + PyObject *cpy_r_r382; + PyObject *cpy_r_r383; + PyObject *cpy_r_r384; + char cpy_r_r385; + tuple_T3OOO cpy_r_r386; + char cpy_r_r387; + PyObject *cpy_r_r388; + PyObject *cpy_r_r389; + PyObject *cpy_r_r390; + char cpy_r_r391; + PyObject *cpy_r_r392; + char cpy_r_r393; + PyObject *cpy_r_r394; + PyObject *cpy_r_r395; + PyObject *cpy_r_r396; + PyObject *cpy_r_r397; + PyObject *cpy_r_r398; + PyObject *cpy_r_r399; + PyObject *cpy_r_r400; + PyObject *cpy_r_r401; + PyObject *cpy_r_r402; + PyObject *cpy_r_r403; + PyObject *cpy_r_r404; + PyObject *cpy_r_r405; + PyObject *cpy_r_r406; + PyObject *cpy_r_r407; + PyObject *cpy_r_r408; + PyObject *cpy_r_r409; + PyObject *cpy_r_r410; + PyObject *cpy_r_r411; + PyObject *cpy_r_r412; + PyObject *cpy_r_r413; + PyObject *cpy_r_r414; + PyObject **cpy_r_r416; + PyObject *cpy_r_r417; + tuple_T3OOO cpy_r_r418; + char cpy_r_r419; + PyObject *cpy_r_r420; + PyObject *cpy_r_r421; + char cpy_r_r422; + PyObject *cpy_r_r423; + PyObject *cpy_r_r424; + PyObject *cpy_r_r425; + PyObject *cpy_r_r426; + CPyTagged cpy_r_r427; + PyObject *cpy_r_r428; + char cpy_r_r429; + PyObject *cpy_r_r430; + PyObject **cpy_r_r432; + PyObject *cpy_r_r433; + PyObject *cpy_r_r434; + PyObject *cpy_r_r435; + PyObject *cpy_r_r436; + char cpy_r_r437; + char cpy_r_r438; + char cpy_r_r439; + char cpy_r_r440; + char cpy_r_r441; + char cpy_r_r442; + char cpy_r_r443; + char cpy_r_r444; + char cpy_r_r445; + char cpy_r_r446; + char cpy_r_r447; + char cpy_r_r448; + PyObject *cpy_r_r449; + cpy_r_r0 = NULL; + cpy_r_r1 = cpy_r_r0; + cpy_r_r2 = NULL; + cpy_r_r3 = cpy_r_r2; + cpy_r_r4 = NULL; + cpy_r_r5 = cpy_r_r4; + cpy_r_r6 = NULL; + cpy_r_r7 = cpy_r_r6; + cpy_r_r8 = NULL; + cpy_r_r9 = cpy_r_r8; + cpy_r_r10 = NULL; + cpy_r_r11 = cpy_r_r10; + tuple_T3OOO __tmp129 = { NULL, NULL, NULL }; + cpy_r_r12 = __tmp129; + cpy_r_r13 = cpy_r_r12; + cpy_r_r14 = NULL; + cpy_r_r15 = cpy_r_r14; + cpy_r_r16 = NULL; + cpy_r_r17 = cpy_r_r16; + tuple_T3OOO __tmp130 = { NULL, NULL, NULL }; + cpy_r_r18 = __tmp130; + cpy_r_r19 = cpy_r_r18; + cpy_r_r20 = NULL; + cpy_r_r21 = cpy_r_r20; + CPy_XDECREF(cpy_r_r21); + cpy_r_r22 = NULL; + cpy_r_r23 = cpy_r_r22; + cpy_r_r24 = ((dank_mids___brownie_patch___call___coroutine_gen___3_147Object *)cpy_r___mypyc_self__)->___mypyc_env__; + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine_gen___147", "__mypyc_env__", 147, CPyStatic_call___globals); + goto CPyL422; + } + CPy_INCREF_NO_IMM(cpy_r_r24); +CPyL1: ; + cpy_r_r25 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_next_label__; + cpy_r_r26 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_env__; + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_env__", 147, CPyStatic_call___globals); + goto CPyL423; + } + CPy_INCREF_NO_IMM(cpy_r_r26); + goto CPyL409; +CPyL2: ; + cpy_r_r27 = (PyObject *)&_Py_NoneStruct; + cpy_r_r28 = cpy_r_type != cpy_r_r27; + if (cpy_r_r28) { + goto CPyL424; + } else + goto CPyL5; +CPyL3: ; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 147, CPyStatic_call___globals); + goto CPyL421; + } + CPy_Unreachable(); +CPyL5: ; + cpy_r_r29 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__override; + if (unlikely(cpy_r_r29 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "override", 154, CPyStatic_call___globals); + goto CPyL425; + } + CPy_INCREF(cpy_r_r29); +CPyL6: ; + cpy_r_r30 = (PyObject *)&_Py_NoneStruct; + cpy_r_r31 = cpy_r_r29 != cpy_r_r30; + if (!cpy_r_r31) goto CPyL426; + if (likely(cpy_r_r29 != Py_None)) + cpy_r_r32 = cpy_r_r29; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 154, CPyStatic_call___globals, "dict", cpy_r_r29); + goto CPyL425; + } + cpy_r_r33 = PyDict_Size(cpy_r_r32); + CPy_DECREF(cpy_r_r32); + cpy_r_r34 = cpy_r_r33 << 1; + cpy_r_r35 = cpy_r_r34 != 0; + if (cpy_r_r35) { + goto CPyL427; + } else + goto CPyL13; +CPyL9: ; + cpy_r_r36 = CPyStatics[371]; /* 'Cannot use state override with `coroutine`.' */ + cpy_r_r37 = CPyModule_builtins; + cpy_r_r38 = CPyStatics[177]; /* 'ValueError' */ + cpy_r_r39 = CPyObject_GetAttr(cpy_r_r37, cpy_r_r38); + if (unlikely(cpy_r_r39 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 155, CPyStatic_call___globals); + goto CPyL421; + } + PyObject *cpy_r_r40[1] = {cpy_r_r36}; + cpy_r_r41 = (PyObject **)&cpy_r_r40; + cpy_r_r42 = PyObject_Vectorcall(cpy_r_r39, cpy_r_r41, 1, 0); + CPy_DECREF(cpy_r_r39); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 155, CPyStatic_call___globals); + goto CPyL421; + } + CPy_Raise(cpy_r_r42); + CPy_DECREF(cpy_r_r42); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 155, CPyStatic_call___globals); + goto CPyL421; + } + CPy_Unreachable(); +CPyL13: ; + cpy_r_r43 = CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_ENCODER_SEMAPHORE; + if (unlikely(cpy_r_r43 == NULL)) { + goto CPyL428; + } else + goto CPyL16; +CPyL14: ; + PyErr_SetString(PyExc_NameError, "value for final name \"BROWNIE_ENCODER_SEMAPHORE\" was not set"); + cpy_r_r44 = 0; + if (unlikely(!cpy_r_r44)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL421; + } + CPy_Unreachable(); +CPyL16: ; + cpy_r_r45 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__block_identifier; + if (unlikely(cpy_r_r45 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "block_identifier", 156, CPyStatic_call___globals); + goto CPyL425; + } + CPy_INCREF(cpy_r_r45); +CPyL17: ; + cpy_r_r46 = PyObject_GetItem(cpy_r_r43, cpy_r_r45); + CPy_DECREF(cpy_r_r45); + if (unlikely(cpy_r_r46 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL425; + } + cpy_r_r47 = CPy_TYPE(cpy_r_r46); + cpy_r_r48 = CPyStatics[372]; /* '__aexit__' */ + cpy_r_r49 = CPyObject_GetAttr(cpy_r_r47, cpy_r_r48); + if (unlikely(cpy_r_r49 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL429; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__0); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__0 = cpy_r_r49; + cpy_r_r50 = 1; + if (unlikely(!cpy_r_r50)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL429; + } + cpy_r_r51 = CPyStatics[373]; /* '__aenter__' */ + cpy_r_r52 = CPyObject_GetAttr(cpy_r_r47, cpy_r_r51); + CPy_DECREF(cpy_r_r47); + if (unlikely(cpy_r_r52 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL430; + } + PyObject *cpy_r_r53[1] = {cpy_r_r46}; + cpy_r_r54 = (PyObject **)&cpy_r_r53; + cpy_r_r55 = PyObject_Vectorcall(cpy_r_r52, cpy_r_r54, 1, 0); + CPy_DECREF(cpy_r_r52); + if (unlikely(cpy_r_r55 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL430; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__1 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__1); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__1 = cpy_r_r46; + cpy_r_r56 = 1; + if (unlikely(!cpy_r_r56)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL431; + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__2 = 1; + cpy_r_r57 = 1; + if (unlikely(!cpy_r_r57)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL431; + } + cpy_r_r58 = CPy_GetCoro(cpy_r_r55); + CPy_DECREF(cpy_r_r55); + if (unlikely(cpy_r_r58 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL425; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__3 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__3); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__3 = cpy_r_r58; + cpy_r_r59 = 1; + if (unlikely(!cpy_r_r59)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL425; + } + cpy_r_r60 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__3; + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__3", -1, CPyStatic_call___globals); + goto CPyL425; + } + CPy_INCREF(cpy_r_r60); +CPyL27: ; + cpy_r_r61 = CPyIter_Next(cpy_r_r60); + CPy_DECREF(cpy_r_r60); + if (cpy_r_r61 != NULL) goto CPyL432; + cpy_r_r62 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r62 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL425; + } + cpy_r_r63 = cpy_r_r62; + CPy_DECREF(cpy_r_r63); + cpy_r_r64 = NULL; + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__3 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__3); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__3 = cpy_r_r64; + cpy_r_r65 = 1; + if (unlikely(!cpy_r_r65)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL425; + } else + goto CPyL52; +CPyL30: ; + cpy_r_r66 = cpy_r_r61; +CPyL31: ; + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_next_label__ = 1; + CPy_DECREF_NO_IMM(cpy_r_r24); + return cpy_r_r66; +CPyL32: ; + cpy_r_r68 = (PyObject *)&_Py_NoneStruct; + cpy_r_r69 = cpy_r_type != cpy_r_r68; + if (!cpy_r_r69) goto CPyL433; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL36; + } else + goto CPyL434; +CPyL34: ; + CPy_Unreachable(); +CPyL35: ; + CPy_INCREF(cpy_r_arg); + goto CPyL47; +CPyL36: ; + cpy_r_r70 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__4.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__4.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__4.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__4.f2); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__4 = cpy_r_r70; + cpy_r_r71 = 1; + if (unlikely(!cpy_r_r71)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL435; + } + cpy_r_r72 = (PyObject **)&cpy_r_r1; + cpy_r_r73 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__3; + if (unlikely(cpy_r_r73 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__3", -1, CPyStatic_call___globals); + goto CPyL435; + } + CPy_INCREF(cpy_r_r73); +CPyL38: ; + cpy_r_r74 = CPy_YieldFromErrorHandle(cpy_r_r73, cpy_r_r72); + CPy_DecRef(cpy_r_r73); + if (unlikely(cpy_r_r74 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL435; + } + if (cpy_r_r74) { + goto CPyL42; + } else + goto CPyL436; +CPyL40: ; + cpy_r_r66 = cpy_r_r1; + cpy_r_r75 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__4; + if (unlikely(cpy_r_r75.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__4", -1, CPyStatic_call___globals); + goto CPyL437; + } + CPy_INCREF(cpy_r_r75.f0); + CPy_INCREF(cpy_r_r75.f1); + CPy_INCREF(cpy_r_r75.f2); +CPyL41: ; + CPy_RestoreExcInfo(cpy_r_r75); + CPy_DecRef(cpy_r_r75.f0); + CPy_DecRef(cpy_r_r75.f1); + CPy_DecRef(cpy_r_r75.f2); + goto CPyL31; +CPyL42: ; + cpy_r_r63 = cpy_r_r1; + CPy_DecRef(cpy_r_r63); + cpy_r_r76 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__4; + if (unlikely(cpy_r_r76.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__4", -1, CPyStatic_call___globals); + goto CPyL438; + } + CPy_INCREF(cpy_r_r76.f0); + CPy_INCREF(cpy_r_r76.f1); + CPy_INCREF(cpy_r_r76.f2); +CPyL43: ; + CPy_RestoreExcInfo(cpy_r_r76); + CPy_DecRef(cpy_r_r76.f0); + CPy_DecRef(cpy_r_r76.f1); + CPy_DecRef(cpy_r_r76.f2); + goto CPyL52; +CPyL44: ; + cpy_r_r77 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__4; + if (unlikely(cpy_r_r77.f0 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute '__mypyc_temp__4' of 'coroutine__get_coroutine_fn_env' undefined"); + } else { + CPy_INCREF(cpy_r_r77.f0); + CPy_INCREF(cpy_r_r77.f1); + CPy_INCREF(cpy_r_r77.f2); + } + CPy_DecRef(cpy_r_r24); + if (unlikely(cpy_r_r77.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL421; + } +CPyL45: ; + CPy_RestoreExcInfo(cpy_r_r77); + CPy_DecRef(cpy_r_r77.f0); + CPy_DecRef(cpy_r_r77.f1); + CPy_DecRef(cpy_r_r77.f2); + cpy_r_r78 = CPy_KeepPropagating(); + if (!cpy_r_r78) goto CPyL421; + CPy_Unreachable(); +CPyL47: ; + cpy_r_r79 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__3; + if (unlikely(cpy_r_r79 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__3", -1, CPyStatic_call___globals); + goto CPyL439; + } + CPy_INCREF(cpy_r_r79); +CPyL48: ; + cpy_r_r80 = CPyIter_Send(cpy_r_r79, cpy_r_arg); + CPy_DECREF(cpy_r_r79); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r80 == NULL) { + goto CPyL50; + } else + goto CPyL440; +CPyL49: ; + cpy_r_r66 = cpy_r_r80; + goto CPyL31; +CPyL50: ; + cpy_r_r81 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r81 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL425; + } + cpy_r_r63 = cpy_r_r81; + CPy_DECREF(cpy_r_r63); +CPyL52: ; + cpy_r_r82 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r82 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "self", 157, CPyStatic_call___globals); + goto CPyL441; + } + CPy_INCREF(cpy_r_r82); +CPyL53: ; + cpy_r_r83 = ((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r26)->_len_inputs; + if (unlikely(cpy_r_r83 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "_get_coroutine_fn_env", "len_inputs", 157, CPyStatic_call___globals); + goto CPyL442; + } + CPyTagged_INCREF(cpy_r_r83); +CPyL54: ; + cpy_r_r84 = ((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r26)->_get_request_data; + if (unlikely(cpy_r_r84 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "_get_coroutine_fn_env", "get_request_data", 157, CPyStatic_call___globals); + goto CPyL443; + } + CPy_INCREF(cpy_r_r84); +CPyL55: ; + cpy_r_r85 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__args; + if (unlikely(cpy_r_r85 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "args", 157, CPyStatic_call___globals); + goto CPyL444; + } + CPy_INCREF(cpy_r_r85); +CPyL56: ; + cpy_r_r86 = CPyStatic_call___globals; + cpy_r_r87 = CPyStatics[374]; /* 'encode_input' */ + cpy_r_r88 = CPyDict_GetItem(cpy_r_r86, cpy_r_r87); + if (unlikely(cpy_r_r88 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 157, CPyStatic_call___globals); + goto CPyL445; + } + cpy_r_r89 = PyList_New(3); + if (unlikely(cpy_r_r89 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 157, CPyStatic_call___globals); + goto CPyL446; + } + cpy_r_r90 = CPyTagged_StealAsObject(cpy_r_r83); + cpy_r_r91 = (CPyPtr)&((PyListObject *)cpy_r_r89)->ob_item; + cpy_r_r92 = *(CPyPtr *)cpy_r_r91; + *(PyObject * *)cpy_r_r92 = cpy_r_r82; + cpy_r_r93 = cpy_r_r92 + 8; + *(PyObject * *)cpy_r_r93 = cpy_r_r90; + cpy_r_r94 = cpy_r_r92 + 16; + *(PyObject * *)cpy_r_r94 = cpy_r_r84; + cpy_r_r95 = CPyList_Extend(cpy_r_r89, cpy_r_r85); + CPy_DECREF(cpy_r_r85); + if (unlikely(cpy_r_r95 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 157, CPyStatic_call___globals); + goto CPyL447; + } else + goto CPyL448; +CPyL59: ; + cpy_r_r96 = PyList_AsTuple(cpy_r_r89); + CPy_DECREF_NO_IMM(cpy_r_r89); + if (unlikely(cpy_r_r96 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 157, CPyStatic_call___globals); + goto CPyL449; + } + cpy_r_r97 = PyObject_CallObject(cpy_r_r88, cpy_r_r96); + CPy_DECREF(cpy_r_r88); + CPy_DECREF(cpy_r_r96); + if (unlikely(cpy_r_r97 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 157, CPyStatic_call___globals); + goto CPyL441; + } + cpy_r_r98 = CPy_GetCoro(cpy_r_r97); + CPy_DECREF(cpy_r_r97); + if (unlikely(cpy_r_r98 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 157, CPyStatic_call___globals); + goto CPyL441; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__5 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__5); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__5 = cpy_r_r98; + cpy_r_r99 = 1; + if (unlikely(!cpy_r_r99)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL441; + } + cpy_r_r100 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__5; + if (unlikely(cpy_r_r100 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__5", -1, CPyStatic_call___globals); + goto CPyL441; + } + CPy_INCREF(cpy_r_r100); +CPyL64: ; + cpy_r_r101 = CPyIter_Next(cpy_r_r100); + CPy_DECREF(cpy_r_r100); + if (cpy_r_r101 != NULL) goto CPyL450; + cpy_r_r102 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r102 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 157, CPyStatic_call___globals); + goto CPyL441; + } + cpy_r_r103 = cpy_r_r102; + cpy_r_r104 = NULL; + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__5 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__5); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__5 = cpy_r_r104; + cpy_r_r105 = 1; + if (unlikely(!cpy_r_r105)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 157, CPyStatic_call___globals); + goto CPyL451; + } else + goto CPyL89; +CPyL67: ; + cpy_r_r106 = cpy_r_r101; +CPyL68: ; + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_next_label__ = 2; + CPy_DECREF_NO_IMM(cpy_r_r24); + return cpy_r_r106; +CPyL69: ; + cpy_r_r108 = (PyObject *)&_Py_NoneStruct; + cpy_r_r109 = cpy_r_type != cpy_r_r108; + if (!cpy_r_r109) goto CPyL452; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 157, CPyStatic_call___globals); + goto CPyL73; + } else + goto CPyL453; +CPyL71: ; + CPy_Unreachable(); +CPyL72: ; + CPy_INCREF(cpy_r_arg); + goto CPyL84; +CPyL73: ; + cpy_r_r110 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__6.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__6.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__6.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__6.f2); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__6 = cpy_r_r110; + cpy_r_r111 = 1; + if (unlikely(!cpy_r_r111)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL454; + } + cpy_r_r112 = (PyObject **)&cpy_r_r3; + cpy_r_r113 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__5; + if (unlikely(cpy_r_r113 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__5", -1, CPyStatic_call___globals); + goto CPyL454; + } + CPy_INCREF(cpy_r_r113); +CPyL75: ; + cpy_r_r114 = CPy_YieldFromErrorHandle(cpy_r_r113, cpy_r_r112); + CPy_DecRef(cpy_r_r113); + if (unlikely(cpy_r_r114 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 157, CPyStatic_call___globals); + goto CPyL454; + } + if (cpy_r_r114) { + goto CPyL79; + } else + goto CPyL455; +CPyL77: ; + cpy_r_r106 = cpy_r_r3; + cpy_r_r115 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__6; + if (unlikely(cpy_r_r115.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__6", -1, CPyStatic_call___globals); + goto CPyL456; + } + CPy_INCREF(cpy_r_r115.f0); + CPy_INCREF(cpy_r_r115.f1); + CPy_INCREF(cpy_r_r115.f2); +CPyL78: ; + CPy_RestoreExcInfo(cpy_r_r115); + CPy_DecRef(cpy_r_r115.f0); + CPy_DecRef(cpy_r_r115.f1); + CPy_DecRef(cpy_r_r115.f2); + goto CPyL68; +CPyL79: ; + cpy_r_r103 = cpy_r_r3; + cpy_r_r116 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__6; + if (unlikely(cpy_r_r116.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__6", -1, CPyStatic_call___globals); + goto CPyL457; + } + CPy_INCREF(cpy_r_r116.f0); + CPy_INCREF(cpy_r_r116.f1); + CPy_INCREF(cpy_r_r116.f2); +CPyL80: ; + CPy_RestoreExcInfo(cpy_r_r116); + CPy_DecRef(cpy_r_r116.f0); + CPy_DecRef(cpy_r_r116.f1); + CPy_DecRef(cpy_r_r116.f2); + goto CPyL89; +CPyL81: ; + cpy_r_r117 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__6; + if (unlikely(cpy_r_r117.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__6", -1, CPyStatic_call___globals); + goto CPyL251; + } + CPy_INCREF(cpy_r_r117.f0); + CPy_INCREF(cpy_r_r117.f1); + CPy_INCREF(cpy_r_r117.f2); +CPyL82: ; + CPy_RestoreExcInfo(cpy_r_r117); + CPy_DecRef(cpy_r_r117.f0); + CPy_DecRef(cpy_r_r117.f1); + CPy_DecRef(cpy_r_r117.f2); + cpy_r_r118 = CPy_KeepPropagating(); + if (!cpy_r_r118) { + goto CPyL251; + } else + goto CPyL458; +CPyL83: ; + CPy_Unreachable(); +CPyL84: ; + cpy_r_r119 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__5; + if (unlikely(cpy_r_r119 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__5", -1, CPyStatic_call___globals); + goto CPyL459; + } + CPy_INCREF(cpy_r_r119); +CPyL85: ; + cpy_r_r120 = CPyIter_Send(cpy_r_r119, cpy_r_arg); + CPy_DECREF(cpy_r_r119); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r120 == NULL) { + goto CPyL87; + } else + goto CPyL460; +CPyL86: ; + cpy_r_r106 = cpy_r_r120; + goto CPyL68; +CPyL87: ; + cpy_r_r121 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r121 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 157, CPyStatic_call___globals); + goto CPyL441; + } + cpy_r_r103 = cpy_r_r121; +CPyL89: ; + if (likely(PyUnicode_Check(cpy_r_r103))) + cpy_r_r122 = cpy_r_r103; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 157, CPyStatic_call___globals, "str", cpy_r_r103); + goto CPyL441; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__data != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__data); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__data = cpy_r_r122; + cpy_r_r123 = 1; + if (unlikely(!cpy_r_r123)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 157, CPyStatic_call___globals); + goto CPyL441; + } + cpy_r_r124 = CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_CALL_SEMAPHORE; + if (unlikely(cpy_r_r124 == NULL)) { + goto CPyL461; + } else + goto CPyL94; +CPyL92: ; + PyErr_SetString(PyExc_NameError, "value for final name \"BROWNIE_CALL_SEMAPHORE\" was not set"); + cpy_r_r125 = 0; + if (unlikely(!cpy_r_r125)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL251; + } else + goto CPyL462; +CPyL93: ; + CPy_Unreachable(); +CPyL94: ; + cpy_r_r126 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__block_identifier; + if (unlikely(cpy_r_r126 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "block_identifier", 158, CPyStatic_call___globals); + goto CPyL441; + } + CPy_INCREF(cpy_r_r126); +CPyL95: ; + cpy_r_r127 = PyObject_GetItem(cpy_r_r124, cpy_r_r126); + CPy_DECREF(cpy_r_r126); + if (unlikely(cpy_r_r127 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL441; + } + cpy_r_r128 = CPy_TYPE(cpy_r_r127); + cpy_r_r129 = CPyStatics[372]; /* '__aexit__' */ + cpy_r_r130 = CPyObject_GetAttr(cpy_r_r128, cpy_r_r129); + if (unlikely(cpy_r_r130 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL463; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__7 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__7); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__7 = cpy_r_r130; + cpy_r_r131 = 1; + if (unlikely(!cpy_r_r131)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL463; + } + cpy_r_r132 = CPyStatics[373]; /* '__aenter__' */ + cpy_r_r133 = CPyObject_GetAttr(cpy_r_r128, cpy_r_r132); + CPy_DECREF(cpy_r_r128); + if (unlikely(cpy_r_r133 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL464; + } + PyObject *cpy_r_r134[1] = {cpy_r_r127}; + cpy_r_r135 = (PyObject **)&cpy_r_r134; + cpy_r_r136 = PyObject_Vectorcall(cpy_r_r133, cpy_r_r135, 1, 0); + CPy_DECREF(cpy_r_r133); + if (unlikely(cpy_r_r136 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL464; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__8 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__8); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__8 = cpy_r_r127; + cpy_r_r137 = 1; + if (unlikely(!cpy_r_r137)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL465; + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__9 = 1; + cpy_r_r138 = 1; + if (unlikely(!cpy_r_r138)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL465; + } + cpy_r_r139 = CPy_GetCoro(cpy_r_r136); + CPy_DECREF(cpy_r_r136); + if (unlikely(cpy_r_r139 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL441; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__10 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__10); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__10 = cpy_r_r139; + cpy_r_r140 = 1; + if (unlikely(!cpy_r_r140)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL441; + } + cpy_r_r141 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__10; + if (unlikely(cpy_r_r141 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__10", -1, CPyStatic_call___globals); + goto CPyL441; + } + CPy_INCREF(cpy_r_r141); +CPyL105: ; + cpy_r_r142 = CPyIter_Next(cpy_r_r141); + CPy_DECREF(cpy_r_r141); + if (cpy_r_r142 != NULL) goto CPyL466; + cpy_r_r143 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r143 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL441; + } + cpy_r_r144 = cpy_r_r143; + CPy_DECREF(cpy_r_r144); + cpy_r_r145 = NULL; + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__10 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__10); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__10 = cpy_r_r145; + cpy_r_r146 = 1; + if (unlikely(!cpy_r_r146)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL441; + } else + goto CPyL130; +CPyL108: ; + cpy_r_r147 = cpy_r_r142; +CPyL109: ; + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_next_label__ = 3; + CPy_DECREF_NO_IMM(cpy_r_r24); + return cpy_r_r147; +CPyL110: ; + cpy_r_r149 = (PyObject *)&_Py_NoneStruct; + cpy_r_r150 = cpy_r_type != cpy_r_r149; + if (!cpy_r_r150) goto CPyL467; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL114; + } else + goto CPyL468; +CPyL112: ; + CPy_Unreachable(); +CPyL113: ; + CPy_INCREF(cpy_r_arg); + goto CPyL125; +CPyL114: ; + cpy_r_r151 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__11.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__11.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__11.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__11.f2); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__11 = cpy_r_r151; + cpy_r_r152 = 1; + if (unlikely(!cpy_r_r152)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL469; + } + cpy_r_r153 = (PyObject **)&cpy_r_r5; + cpy_r_r154 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__10; + if (unlikely(cpy_r_r154 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__10", -1, CPyStatic_call___globals); + goto CPyL469; + } + CPy_INCREF(cpy_r_r154); +CPyL116: ; + 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\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL469; + } + if (cpy_r_r155) { + goto CPyL120; + } else + goto CPyL470; +CPyL118: ; + cpy_r_r147 = cpy_r_r5; + cpy_r_r156 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__11; + if (unlikely(cpy_r_r156.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__11", -1, CPyStatic_call___globals); + goto CPyL471; + } + CPy_INCREF(cpy_r_r156.f0); + CPy_INCREF(cpy_r_r156.f1); + CPy_INCREF(cpy_r_r156.f2); +CPyL119: ; + CPy_RestoreExcInfo(cpy_r_r156); + CPy_DecRef(cpy_r_r156.f0); + CPy_DecRef(cpy_r_r156.f1); + CPy_DecRef(cpy_r_r156.f2); + goto CPyL109; +CPyL120: ; + cpy_r_r144 = cpy_r_r5; + CPy_DecRef(cpy_r_r144); + cpy_r_r157 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__11; + if (unlikely(cpy_r_r157.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__11", -1, CPyStatic_call___globals); + goto CPyL472; + } + CPy_INCREF(cpy_r_r157.f0); + CPy_INCREF(cpy_r_r157.f1); + CPy_INCREF(cpy_r_r157.f2); +CPyL121: ; + CPy_RestoreExcInfo(cpy_r_r157); + CPy_DecRef(cpy_r_r157.f0); + CPy_DecRef(cpy_r_r157.f1); + CPy_DecRef(cpy_r_r157.f2); + goto CPyL130; +CPyL122: ; + cpy_r_r158 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__11; + if (unlikely(cpy_r_r158.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__11", -1, CPyStatic_call___globals); + goto CPyL251; + } + CPy_INCREF(cpy_r_r158.f0); + CPy_INCREF(cpy_r_r158.f1); + CPy_INCREF(cpy_r_r158.f2); +CPyL123: ; + CPy_RestoreExcInfo(cpy_r_r158); + CPy_DecRef(cpy_r_r158.f0); + CPy_DecRef(cpy_r_r158.f1); + CPy_DecRef(cpy_r_r158.f2); + cpy_r_r159 = CPy_KeepPropagating(); + if (!cpy_r_r159) { + goto CPyL251; + } else + goto CPyL473; +CPyL124: ; + CPy_Unreachable(); +CPyL125: ; + cpy_r_r160 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__10; + if (unlikely(cpy_r_r160 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__10", -1, CPyStatic_call___globals); + goto CPyL474; + } + CPy_INCREF(cpy_r_r160); +CPyL126: ; + cpy_r_r161 = CPyIter_Send(cpy_r_r160, cpy_r_arg); + CPy_DECREF(cpy_r_r160); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r161 == NULL) { + goto CPyL128; + } else + goto CPyL475; +CPyL127: ; + cpy_r_r147 = cpy_r_r161; + goto CPyL109; +CPyL128: ; + cpy_r_r162 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r162 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL441; + } + cpy_r_r144 = cpy_r_r162; + CPy_DECREF(cpy_r_r144); +CPyL130: ; + cpy_r_r163 = ((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r26)->_w3; + if (unlikely(cpy_r_r163 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute 'w3' of '_get_coroutine_fn_env' undefined"); + } else { + CPy_INCREF(cpy_r_r163); + } + CPy_DECREF_NO_IMM(cpy_r_r26); + if (unlikely(cpy_r_r163 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 159, CPyStatic_call___globals); + goto CPyL167; + } +CPyL131: ; + cpy_r_r164 = CPyStatics[329]; /* 'eth' */ + cpy_r_r165 = CPyObject_GetAttr(cpy_r_r163, cpy_r_r164); + CPy_DECREF(cpy_r_r163); + if (unlikely(cpy_r_r165 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 159, CPyStatic_call___globals); + goto CPyL167; + } + cpy_r_r166 = CPyStatics[375]; /* 'to' */ + cpy_r_r167 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r167 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "self", 159, CPyStatic_call___globals); + goto CPyL476; + } + CPy_INCREF(cpy_r_r167); +CPyL133: ; + cpy_r_r168 = CPyStatics[364]; /* '_address' */ + cpy_r_r169 = CPyObject_GetAttr(cpy_r_r167, cpy_r_r168); + CPy_DECREF(cpy_r_r167); + if (unlikely(cpy_r_r169 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 159, CPyStatic_call___globals); + goto CPyL476; + } + cpy_r_r170 = CPyStatics[167]; /* 'data' */ + cpy_r_r171 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r171 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "data", 159, CPyStatic_call___globals); + goto CPyL477; + } + CPy_INCREF(cpy_r_r171); +CPyL135: ; + cpy_r_r172 = CPyDict_Build(2, cpy_r_r166, cpy_r_r169, cpy_r_r170, cpy_r_r171); + CPy_DECREF(cpy_r_r169); + CPy_DECREF(cpy_r_r171); + if (unlikely(cpy_r_r172 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 159, CPyStatic_call___globals); + goto CPyL476; + } + cpy_r_r173 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__block_identifier; + if (unlikely(cpy_r_r173 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "block_identifier", 159, CPyStatic_call___globals); + goto CPyL478; + } + CPy_INCREF(cpy_r_r173); +CPyL137: ; + cpy_r_r174 = CPyStatics[376]; /* 'call' */ + PyObject *cpy_r_r175[3] = {cpy_r_r165, cpy_r_r172, cpy_r_r173}; + cpy_r_r176 = (PyObject **)&cpy_r_r175; + cpy_r_r177 = PyObject_VectorcallMethod(cpy_r_r174, cpy_r_r176, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r177 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 159, CPyStatic_call___globals); + goto CPyL479; + } + CPy_DECREF(cpy_r_r165); + CPy_DECREF(cpy_r_r172); + CPy_DECREF(cpy_r_r173); + cpy_r_r178 = CPy_GetCoro(cpy_r_r177); + CPy_DECREF(cpy_r_r177); + if (unlikely(cpy_r_r178 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 159, CPyStatic_call___globals); + goto CPyL167; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__12 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__12); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__12 = cpy_r_r178; + cpy_r_r179 = 1; + if (unlikely(!cpy_r_r179)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL167; + } + cpy_r_r180 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__12; + if (unlikely(cpy_r_r180 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__12", -1, CPyStatic_call___globals); + goto CPyL167; + } + CPy_INCREF(cpy_r_r180); +CPyL141: ; + cpy_r_r181 = CPyIter_Next(cpy_r_r180); + CPy_DECREF(cpy_r_r180); + if (cpy_r_r181 != NULL) goto CPyL144; + cpy_r_r182 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r182 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 159, CPyStatic_call___globals); + goto CPyL167; + } + cpy_r_r183 = cpy_r_r182; + cpy_r_r184 = NULL; + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__12 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__12); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__12 = cpy_r_r184; + cpy_r_r185 = 1; + if (unlikely(!cpy_r_r185)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 159, CPyStatic_call___globals); + goto CPyL480; + } else + goto CPyL166; +CPyL144: ; + cpy_r_r186 = cpy_r_r181; +CPyL145: ; + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_next_label__ = 4; + CPy_DECREF_NO_IMM(cpy_r_r24); + return cpy_r_r186; +CPyL146: ; + cpy_r_r188 = (PyObject *)&_Py_NoneStruct; + cpy_r_r189 = cpy_r_type != cpy_r_r188; + if (!cpy_r_r189) goto CPyL481; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 159, CPyStatic_call___globals); + goto CPyL150; + } else + goto CPyL482; +CPyL148: ; + CPy_Unreachable(); +CPyL149: ; + CPy_INCREF(cpy_r_arg); + goto CPyL161; +CPyL150: ; + cpy_r_r190 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__13.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__13.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__13.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__13.f2); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__13 = cpy_r_r190; + cpy_r_r191 = 1; + if (unlikely(!cpy_r_r191)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL483; + } + cpy_r_r192 = (PyObject **)&cpy_r_r7; + cpy_r_r193 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__12; + if (unlikely(cpy_r_r193 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__12", -1, CPyStatic_call___globals); + goto CPyL483; + } + CPy_INCREF(cpy_r_r193); +CPyL152: ; + cpy_r_r194 = CPy_YieldFromErrorHandle(cpy_r_r193, cpy_r_r192); + CPy_DecRef(cpy_r_r193); + if (unlikely(cpy_r_r194 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 159, CPyStatic_call___globals); + goto CPyL483; + } + if (cpy_r_r194) goto CPyL156; + cpy_r_r186 = cpy_r_r7; + cpy_r_r195 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__13; + if (unlikely(cpy_r_r195.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__13", -1, CPyStatic_call___globals); + goto CPyL484; + } + CPy_INCREF(cpy_r_r195.f0); + CPy_INCREF(cpy_r_r195.f1); + CPy_INCREF(cpy_r_r195.f2); +CPyL155: ; + CPy_RestoreExcInfo(cpy_r_r195); + CPy_DecRef(cpy_r_r195.f0); + CPy_DecRef(cpy_r_r195.f1); + CPy_DecRef(cpy_r_r195.f2); + goto CPyL145; +CPyL156: ; + cpy_r_r183 = cpy_r_r7; + cpy_r_r196 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__13; + if (unlikely(cpy_r_r196.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__13", -1, CPyStatic_call___globals); + goto CPyL485; + } + CPy_INCREF(cpy_r_r196.f0); + CPy_INCREF(cpy_r_r196.f1); + CPy_INCREF(cpy_r_r196.f2); +CPyL157: ; + CPy_RestoreExcInfo(cpy_r_r196); + CPy_DecRef(cpy_r_r196.f0); + CPy_DecRef(cpy_r_r196.f1); + CPy_DecRef(cpy_r_r196.f2); + goto CPyL166; +CPyL158: ; + cpy_r_r197 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__13; + if (unlikely(cpy_r_r197.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__13", -1, CPyStatic_call___globals); + goto CPyL167; + } + CPy_INCREF(cpy_r_r197.f0); + CPy_INCREF(cpy_r_r197.f1); + CPy_INCREF(cpy_r_r197.f2); +CPyL159: ; + CPy_RestoreExcInfo(cpy_r_r197); + CPy_DecRef(cpy_r_r197.f0); + CPy_DecRef(cpy_r_r197.f1); + CPy_DecRef(cpy_r_r197.f2); + cpy_r_r198 = CPy_KeepPropagating(); + if (!cpy_r_r198) { + goto CPyL167; + } else + goto CPyL486; +CPyL160: ; + CPy_Unreachable(); +CPyL161: ; + cpy_r_r199 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__12; + if (unlikely(cpy_r_r199 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__12", -1, CPyStatic_call___globals); + goto CPyL487; + } + CPy_INCREF(cpy_r_r199); +CPyL162: ; + cpy_r_r200 = CPyIter_Send(cpy_r_r199, cpy_r_arg); + CPy_DECREF(cpy_r_r199); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r200 == NULL) goto CPyL164; + cpy_r_r186 = cpy_r_r200; + goto CPyL145; +CPyL164: ; + cpy_r_r201 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r201 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 159, CPyStatic_call___globals); + goto CPyL167; + } + cpy_r_r183 = cpy_r_r201; +CPyL166: ; + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__output != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__output); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__output = cpy_r_r183; + cpy_r_r202 = 1; + if (unlikely(!cpy_r_r202)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 159, CPyStatic_call___globals); + } else + goto CPyL209; +CPyL167: ; + cpy_r_r203 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__14.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__14.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__14.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__14.f2); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__14 = cpy_r_r203; + cpy_r_r204 = 1; + if (unlikely(!cpy_r_r204)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL206; + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__9 = 0; + cpy_r_r205 = 1; + if (unlikely(!cpy_r_r205)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL206; + } + cpy_r_r206 = CPy_GetExcInfo(); + cpy_r_r207 = cpy_r_r206.f0; + CPy_INCREF(cpy_r_r207); + cpy_r_r208 = cpy_r_r206.f1; + CPy_INCREF(cpy_r_r208); + cpy_r_r209 = cpy_r_r206.f2; + CPy_INCREF(cpy_r_r209); + CPy_DecRef(cpy_r_r206.f0); + CPy_DecRef(cpy_r_r206.f1); + CPy_DecRef(cpy_r_r206.f2); + cpy_r_r210 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__7; + if (unlikely(cpy_r_r210 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__7", -1, CPyStatic_call___globals); + goto CPyL488; + } + CPy_INCREF(cpy_r_r210); +CPyL170: ; + cpy_r_r211 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__8; + if (unlikely(cpy_r_r211 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__8", -1, CPyStatic_call___globals); + goto CPyL489; + } + CPy_INCREF(cpy_r_r211); +CPyL171: ; + PyObject *cpy_r_r212[4] = {cpy_r_r211, cpy_r_r207, cpy_r_r208, cpy_r_r209}; + cpy_r_r213 = (PyObject **)&cpy_r_r212; + cpy_r_r214 = PyObject_Vectorcall(cpy_r_r210, cpy_r_r213, 4, 0); + CPy_DecRef(cpy_r_r210); + if (unlikely(cpy_r_r214 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL490; + } + CPy_DecRef(cpy_r_r211); + CPy_DecRef(cpy_r_r207); + CPy_DecRef(cpy_r_r208); + CPy_DecRef(cpy_r_r209); + cpy_r_r215 = CPy_GetCoro(cpy_r_r214); + CPy_DecRef(cpy_r_r214); + if (unlikely(cpy_r_r215 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL206; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__15 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__15); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__15 = cpy_r_r215; + cpy_r_r216 = 1; + if (unlikely(!cpy_r_r216)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL206; + } + cpy_r_r217 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__15; + if (unlikely(cpy_r_r217 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__15", -1, CPyStatic_call___globals); + goto CPyL206; + } + CPy_INCREF(cpy_r_r217); +CPyL175: ; + cpy_r_r218 = CPyIter_Next(cpy_r_r217); + CPy_DecRef(cpy_r_r217); + if (cpy_r_r218 != NULL) goto CPyL178; + cpy_r_r219 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r219 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL206; + } + cpy_r_r220 = cpy_r_r219; + cpy_r_r221 = NULL; + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__15 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__15); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__15 = cpy_r_r221; + cpy_r_r222 = 1; + if (unlikely(!cpy_r_r222)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL491; + } else + goto CPyL200; +CPyL178: ; + cpy_r_r223 = cpy_r_r218; +CPyL179: ; + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_next_label__ = 5; + CPy_DECREF_NO_IMM(cpy_r_r24); + return cpy_r_r223; +CPyL180: ; + cpy_r_r225 = (PyObject *)&_Py_NoneStruct; + cpy_r_r226 = cpy_r_type != cpy_r_r225; + if (!cpy_r_r226) goto CPyL492; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL184; + } else + goto CPyL493; +CPyL182: ; + CPy_Unreachable(); +CPyL183: ; + CPy_INCREF(cpy_r_arg); + goto CPyL195; +CPyL184: ; + cpy_r_r227 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__16.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__16.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__16.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__16.f2); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__16 = cpy_r_r227; + cpy_r_r228 = 1; + if (unlikely(!cpy_r_r228)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL494; + } + cpy_r_r229 = (PyObject **)&cpy_r_r9; + cpy_r_r230 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__15; + if (unlikely(cpy_r_r230 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__15", -1, CPyStatic_call___globals); + goto CPyL494; + } + CPy_INCREF(cpy_r_r230); +CPyL186: ; + cpy_r_r231 = CPy_YieldFromErrorHandle(cpy_r_r230, cpy_r_r229); + CPy_DecRef(cpy_r_r230); + if (unlikely(cpy_r_r231 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL494; + } + if (cpy_r_r231) goto CPyL190; + cpy_r_r223 = cpy_r_r9; + cpy_r_r232 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__16; + if (unlikely(cpy_r_r232.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__16", -1, CPyStatic_call___globals); + goto CPyL495; + } + CPy_INCREF(cpy_r_r232.f0); + CPy_INCREF(cpy_r_r232.f1); + CPy_INCREF(cpy_r_r232.f2); +CPyL189: ; + CPy_RestoreExcInfo(cpy_r_r232); + CPy_DecRef(cpy_r_r232.f0); + CPy_DecRef(cpy_r_r232.f1); + CPy_DecRef(cpy_r_r232.f2); + goto CPyL179; +CPyL190: ; + cpy_r_r220 = cpy_r_r9; + cpy_r_r233 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__16; + if (unlikely(cpy_r_r233.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__16", -1, CPyStatic_call___globals); + goto CPyL496; + } + CPy_INCREF(cpy_r_r233.f0); + CPy_INCREF(cpy_r_r233.f1); + CPy_INCREF(cpy_r_r233.f2); +CPyL191: ; + CPy_RestoreExcInfo(cpy_r_r233); + CPy_DecRef(cpy_r_r233.f0); + CPy_DecRef(cpy_r_r233.f1); + CPy_DecRef(cpy_r_r233.f2); + goto CPyL200; +CPyL192: ; + cpy_r_r234 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__16; + if (unlikely(cpy_r_r234.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__16", -1, CPyStatic_call___globals); + goto CPyL206; + } + CPy_INCREF(cpy_r_r234.f0); + CPy_INCREF(cpy_r_r234.f1); + CPy_INCREF(cpy_r_r234.f2); +CPyL193: ; + CPy_RestoreExcInfo(cpy_r_r234); + CPy_DecRef(cpy_r_r234.f0); + CPy_DecRef(cpy_r_r234.f1); + CPy_DecRef(cpy_r_r234.f2); + cpy_r_r235 = CPy_KeepPropagating(); + if (!cpy_r_r235) { + goto CPyL206; + } else + goto CPyL497; +CPyL194: ; + CPy_Unreachable(); +CPyL195: ; + cpy_r_r236 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__15; + if (unlikely(cpy_r_r236 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__15", -1, CPyStatic_call___globals); + goto CPyL498; + } + CPy_INCREF(cpy_r_r236); +CPyL196: ; + cpy_r_r237 = CPyIter_Send(cpy_r_r236, cpy_r_arg); + CPy_DECREF(cpy_r_r236); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r237 == NULL) goto CPyL198; + cpy_r_r223 = cpy_r_r237; + goto CPyL179; +CPyL198: ; + cpy_r_r238 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r238 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL206; + } + cpy_r_r220 = cpy_r_r238; +CPyL200: ; + cpy_r_r239 = PyObject_IsTrue(cpy_r_r220); + CPy_DECREF(cpy_r_r220); + cpy_r_r240 = cpy_r_r239 >= 0; + if (unlikely(!cpy_r_r240)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL206; + } + cpy_r_r241 = cpy_r_r239; + if (cpy_r_r241) goto CPyL204; + CPy_Reraise(); + if (!0) { + goto CPyL206; + } else + goto CPyL499; +CPyL203: ; + CPy_Unreachable(); +CPyL204: ; + cpy_r_r242 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__14; + if (unlikely(cpy_r_r242.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__14", -1, CPyStatic_call___globals); + goto CPyL210; + } + CPy_INCREF(cpy_r_r242.f0); + CPy_INCREF(cpy_r_r242.f1); + CPy_INCREF(cpy_r_r242.f2); +CPyL205: ; + CPy_RestoreExcInfo(cpy_r_r242); + CPy_DECREF(cpy_r_r242.f0); + CPy_DECREF(cpy_r_r242.f1); + CPy_DECREF(cpy_r_r242.f2); + goto CPyL209; +CPyL206: ; + cpy_r_r243 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__14; + if (unlikely(cpy_r_r243.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__14", -1, CPyStatic_call___globals); + goto CPyL210; + } + CPy_INCREF(cpy_r_r243.f0); + CPy_INCREF(cpy_r_r243.f1); + CPy_INCREF(cpy_r_r243.f2); +CPyL207: ; + CPy_RestoreExcInfo(cpy_r_r243); + CPy_DECREF(cpy_r_r243.f0); + CPy_DECREF(cpy_r_r243.f1); + CPy_DECREF(cpy_r_r243.f2); + cpy_r_r244 = CPy_KeepPropagating(); + if (!cpy_r_r244) { + goto CPyL210; + } else + goto CPyL500; +CPyL208: ; + CPy_Unreachable(); +CPyL209: ; + tuple_T3OOO __tmp131 = { NULL, NULL, NULL }; + cpy_r_r245 = __tmp131; + cpy_r_r13 = cpy_r_r245; + goto CPyL211; +CPyL210: ; + cpy_r_r246 = CPy_CatchError(); + cpy_r_r13 = cpy_r_r246; +CPyL211: ; + cpy_r_r247 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__9; + if (unlikely(cpy_r_r247 == 2)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__9", -1, CPyStatic_call___globals); + goto CPyL247; + } +CPyL212: ; + if (!cpy_r_r247) goto CPyL244; +CPyL213: ; + cpy_r_r248 = (PyObject *)&_Py_NoneStruct; + cpy_r_r249 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__7; + if (unlikely(cpy_r_r249 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__7", -1, CPyStatic_call___globals); + goto CPyL247; + } + CPy_INCREF(cpy_r_r249); +CPyL214: ; + cpy_r_r250 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__8; + if (unlikely(cpy_r_r250 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__8", -1, CPyStatic_call___globals); + goto CPyL501; + } + CPy_INCREF(cpy_r_r250); +CPyL215: ; + PyObject *cpy_r_r251[4] = {cpy_r_r250, cpy_r_r248, cpy_r_r248, cpy_r_r248}; + cpy_r_r252 = (PyObject **)&cpy_r_r251; + cpy_r_r253 = PyObject_Vectorcall(cpy_r_r249, cpy_r_r252, 4, 0); + CPy_DECREF(cpy_r_r249); + if (unlikely(cpy_r_r253 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL502; + } + CPy_DECREF(cpy_r_r250); + cpy_r_r254 = CPy_GetCoro(cpy_r_r253); + CPy_DECREF(cpy_r_r253); + if (unlikely(cpy_r_r254 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL247; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__17 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__17); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__17 = cpy_r_r254; + cpy_r_r255 = 1; + if (unlikely(!cpy_r_r255)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL247; + } + cpy_r_r256 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__17; + if (unlikely(cpy_r_r256 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__17", -1, CPyStatic_call___globals); + goto CPyL247; + } + CPy_INCREF(cpy_r_r256); +CPyL219: ; + cpy_r_r257 = CPyIter_Next(cpy_r_r256); + CPy_DECREF(cpy_r_r256); + if (cpy_r_r257 != NULL) goto CPyL503; + cpy_r_r258 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r258 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL247; + } + cpy_r_r259 = cpy_r_r258; + CPy_DECREF(cpy_r_r259); + cpy_r_r260 = NULL; + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__17 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__17); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__17 = cpy_r_r260; + cpy_r_r261 = 1; + if (unlikely(!cpy_r_r261)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL247; + } else + goto CPyL244; +CPyL222: ; + cpy_r_r262 = cpy_r_r257; +CPyL223: ; + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_next_label__ = 6; + CPy_DECREF_NO_IMM(cpy_r_r24); + return cpy_r_r262; +CPyL224: ; + cpy_r_r264 = (PyObject *)&_Py_NoneStruct; + cpy_r_r265 = cpy_r_type != cpy_r_r264; + if (!cpy_r_r265) goto CPyL504; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL228; + } else + goto CPyL505; +CPyL226: ; + CPy_Unreachable(); +CPyL227: ; + CPy_INCREF(cpy_r_arg); + goto CPyL239; +CPyL228: ; + cpy_r_r266 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__18.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__18.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__18.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__18.f2); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__18 = cpy_r_r266; + cpy_r_r267 = 1; + if (unlikely(!cpy_r_r267)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL506; + } + cpy_r_r268 = (PyObject **)&cpy_r_r11; + cpy_r_r269 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__17; + if (unlikely(cpy_r_r269 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__17", -1, CPyStatic_call___globals); + goto CPyL506; + } + CPy_INCREF(cpy_r_r269); +CPyL230: ; + cpy_r_r270 = CPy_YieldFromErrorHandle(cpy_r_r269, cpy_r_r268); + CPy_DecRef(cpy_r_r269); + if (unlikely(cpy_r_r270 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL506; + } + if (cpy_r_r270) goto CPyL234; + cpy_r_r262 = cpy_r_r11; + cpy_r_r271 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__18; + if (unlikely(cpy_r_r271.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__18", -1, CPyStatic_call___globals); + goto CPyL507; + } + CPy_INCREF(cpy_r_r271.f0); + CPy_INCREF(cpy_r_r271.f1); + CPy_INCREF(cpy_r_r271.f2); + goto CPyL508; +CPyL233: ; + CPy_RestoreExcInfo(cpy_r_r271); + CPy_DecRef(cpy_r_r271.f0); + CPy_DecRef(cpy_r_r271.f1); + CPy_DecRef(cpy_r_r271.f2); + goto CPyL223; +CPyL234: ; + cpy_r_r259 = cpy_r_r11; + CPy_DecRef(cpy_r_r259); + cpy_r_r272 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__18; + if (unlikely(cpy_r_r272.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__18", -1, CPyStatic_call___globals); + goto CPyL236; + } + CPy_INCREF(cpy_r_r272.f0); + CPy_INCREF(cpy_r_r272.f1); + CPy_INCREF(cpy_r_r272.f2); +CPyL235: ; + CPy_RestoreExcInfo(cpy_r_r272); + CPy_DecRef(cpy_r_r272.f0); + CPy_DecRef(cpy_r_r272.f1); + CPy_DecRef(cpy_r_r272.f2); + goto CPyL244; +CPyL236: ; + cpy_r_r273 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__18; + if (unlikely(cpy_r_r273.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__18", -1, CPyStatic_call___globals); + goto CPyL247; + } + CPy_INCREF(cpy_r_r273.f0); + CPy_INCREF(cpy_r_r273.f1); + CPy_INCREF(cpy_r_r273.f2); +CPyL237: ; + CPy_RestoreExcInfo(cpy_r_r273); + CPy_DecRef(cpy_r_r273.f0); + CPy_DecRef(cpy_r_r273.f1); + CPy_DecRef(cpy_r_r273.f2); + cpy_r_r274 = CPy_KeepPropagating(); + if (!cpy_r_r274) { + goto CPyL247; + } else + goto CPyL509; +CPyL238: ; + CPy_Unreachable(); +CPyL239: ; + cpy_r_r275 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__17; + if (unlikely(cpy_r_r275 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__17", -1, CPyStatic_call___globals); + goto CPyL510; + } + CPy_INCREF(cpy_r_r275); +CPyL240: ; + cpy_r_r276 = CPyIter_Send(cpy_r_r275, cpy_r_arg); + CPy_DECREF(cpy_r_r275); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r276 == NULL) { + goto CPyL242; + } else + goto CPyL511; +CPyL241: ; + cpy_r_r262 = cpy_r_r276; + goto CPyL223; +CPyL242: ; + cpy_r_r277 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r277 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 158, CPyStatic_call___globals); + goto CPyL247; + } + cpy_r_r259 = cpy_r_r277; + CPy_DECREF(cpy_r_r259); +CPyL244: ; + if (cpy_r_r13.f0 == NULL) goto CPyL293; + CPy_Reraise(); + if (!0) { + goto CPyL247; + } else + goto CPyL512; +CPyL246: ; + CPy_Unreachable(); +CPyL247: ; + if (cpy_r_r13.f0 == NULL) goto CPyL249; + CPy_RestoreExcInfo(cpy_r_r13); + CPy_XDECREF(cpy_r_r13.f0); + CPy_XDECREF(cpy_r_r13.f1); + CPy_XDECREF(cpy_r_r13.f2); +CPyL249: ; + cpy_r_r278 = CPy_KeepPropagating(); + if (!cpy_r_r278) { + goto CPyL251; + } else + goto CPyL513; +CPyL250: ; + CPy_Unreachable(); +CPyL251: ; + cpy_r_r279 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__19.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__19.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__19.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__19.f2); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__19 = cpy_r_r279; + cpy_r_r280 = 1; + if (unlikely(!cpy_r_r280)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL290; + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__2 = 0; + cpy_r_r281 = 1; + if (unlikely(!cpy_r_r281)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL290; + } + cpy_r_r282 = CPy_GetExcInfo(); + cpy_r_r283 = cpy_r_r282.f0; + CPy_INCREF(cpy_r_r283); + cpy_r_r284 = cpy_r_r282.f1; + CPy_INCREF(cpy_r_r284); + cpy_r_r285 = cpy_r_r282.f2; + CPy_INCREF(cpy_r_r285); + CPy_DECREF(cpy_r_r282.f0); + CPy_DECREF(cpy_r_r282.f1); + CPy_DECREF(cpy_r_r282.f2); + cpy_r_r286 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__0; + if (unlikely(cpy_r_r286 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__0", -1, CPyStatic_call___globals); + goto CPyL514; + } + CPy_INCREF(cpy_r_r286); +CPyL254: ; + cpy_r_r287 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__1; + if (unlikely(cpy_r_r287 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__1", -1, CPyStatic_call___globals); + goto CPyL515; + } + CPy_INCREF(cpy_r_r287); +CPyL255: ; + PyObject *cpy_r_r288[4] = {cpy_r_r287, cpy_r_r283, cpy_r_r284, cpy_r_r285}; + cpy_r_r289 = (PyObject **)&cpy_r_r288; + cpy_r_r290 = PyObject_Vectorcall(cpy_r_r286, cpy_r_r289, 4, 0); + CPy_DECREF(cpy_r_r286); + if (unlikely(cpy_r_r290 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL516; + } + CPy_DECREF(cpy_r_r287); + CPy_DECREF(cpy_r_r283); + CPy_DECREF(cpy_r_r284); + CPy_DECREF(cpy_r_r285); + cpy_r_r291 = CPy_GetCoro(cpy_r_r290); + CPy_DECREF(cpy_r_r290); + if (unlikely(cpy_r_r291 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL290; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__20 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__20); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__20 = cpy_r_r291; + cpy_r_r292 = 1; + if (unlikely(!cpy_r_r292)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL290; + } + cpy_r_r293 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__20; + if (unlikely(cpy_r_r293 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__20", -1, CPyStatic_call___globals); + goto CPyL290; + } + CPy_INCREF(cpy_r_r293); +CPyL259: ; + cpy_r_r294 = CPyIter_Next(cpy_r_r293); + CPy_DECREF(cpy_r_r293); + if (cpy_r_r294 != NULL) goto CPyL262; + cpy_r_r295 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r295 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL290; + } + cpy_r_r296 = cpy_r_r295; + cpy_r_r297 = NULL; + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__20 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__20); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__20 = cpy_r_r297; + cpy_r_r298 = 1; + if (unlikely(!cpy_r_r298)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL517; + } else + goto CPyL284; +CPyL262: ; + cpy_r_r299 = cpy_r_r294; +CPyL263: ; + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_next_label__ = 7; + CPy_DECREF_NO_IMM(cpy_r_r24); + return cpy_r_r299; +CPyL264: ; + cpy_r_r301 = (PyObject *)&_Py_NoneStruct; + cpy_r_r302 = cpy_r_type != cpy_r_r301; + if (!cpy_r_r302) goto CPyL518; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL268; + } else + goto CPyL519; +CPyL266: ; + CPy_Unreachable(); +CPyL267: ; + CPy_INCREF(cpy_r_arg); + goto CPyL279; +CPyL268: ; + cpy_r_r303 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__21.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__21.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__21.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__21.f2); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__21 = cpy_r_r303; + cpy_r_r304 = 1; + if (unlikely(!cpy_r_r304)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL520; + } + cpy_r_r305 = (PyObject **)&cpy_r_r15; + cpy_r_r306 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__20; + if (unlikely(cpy_r_r306 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__20", -1, CPyStatic_call___globals); + goto CPyL520; + } + CPy_INCREF(cpy_r_r306); +CPyL270: ; + cpy_r_r307 = CPy_YieldFromErrorHandle(cpy_r_r306, cpy_r_r305); + CPy_DecRef(cpy_r_r306); + if (unlikely(cpy_r_r307 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL520; + } + if (cpy_r_r307) goto CPyL274; + cpy_r_r299 = cpy_r_r15; + cpy_r_r308 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__21; + if (unlikely(cpy_r_r308.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__21", -1, CPyStatic_call___globals); + goto CPyL521; + } + CPy_INCREF(cpy_r_r308.f0); + CPy_INCREF(cpy_r_r308.f1); + CPy_INCREF(cpy_r_r308.f2); +CPyL273: ; + CPy_RestoreExcInfo(cpy_r_r308); + CPy_DecRef(cpy_r_r308.f0); + CPy_DecRef(cpy_r_r308.f1); + CPy_DecRef(cpy_r_r308.f2); + goto CPyL263; +CPyL274: ; + cpy_r_r296 = cpy_r_r15; + cpy_r_r309 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__21; + if (unlikely(cpy_r_r309.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__21", -1, CPyStatic_call___globals); + goto CPyL522; + } + CPy_INCREF(cpy_r_r309.f0); + CPy_INCREF(cpy_r_r309.f1); + CPy_INCREF(cpy_r_r309.f2); +CPyL275: ; + CPy_RestoreExcInfo(cpy_r_r309); + CPy_DecRef(cpy_r_r309.f0); + CPy_DecRef(cpy_r_r309.f1); + CPy_DecRef(cpy_r_r309.f2); + goto CPyL284; +CPyL276: ; + cpy_r_r310 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__21; + if (unlikely(cpy_r_r310.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__21", -1, CPyStatic_call___globals); + goto CPyL290; + } + CPy_INCREF(cpy_r_r310.f0); + CPy_INCREF(cpy_r_r310.f1); + CPy_INCREF(cpy_r_r310.f2); +CPyL277: ; + CPy_RestoreExcInfo(cpy_r_r310); + CPy_DecRef(cpy_r_r310.f0); + CPy_DecRef(cpy_r_r310.f1); + CPy_DecRef(cpy_r_r310.f2); + cpy_r_r311 = CPy_KeepPropagating(); + if (!cpy_r_r311) { + goto CPyL290; + } else + goto CPyL523; +CPyL278: ; + CPy_Unreachable(); +CPyL279: ; + cpy_r_r312 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__20; + if (unlikely(cpy_r_r312 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__20", -1, CPyStatic_call___globals); + goto CPyL524; + } + CPy_INCREF(cpy_r_r312); +CPyL280: ; + cpy_r_r313 = CPyIter_Send(cpy_r_r312, cpy_r_arg); + CPy_DECREF(cpy_r_r312); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r313 == NULL) goto CPyL282; + cpy_r_r299 = cpy_r_r313; + goto CPyL263; +CPyL282: ; + cpy_r_r314 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r314 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL290; + } + cpy_r_r296 = cpy_r_r314; +CPyL284: ; + cpy_r_r315 = PyObject_IsTrue(cpy_r_r296); + CPy_DECREF(cpy_r_r296); + cpy_r_r316 = cpy_r_r315 >= 0; + if (unlikely(!cpy_r_r316)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL290; + } + cpy_r_r317 = cpy_r_r315; + if (cpy_r_r317) goto CPyL288; + CPy_Reraise(); + if (!0) { + goto CPyL290; + } else + goto CPyL525; +CPyL287: ; + CPy_Unreachable(); +CPyL288: ; + cpy_r_r318 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__19; + if (unlikely(cpy_r_r318.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__19", -1, CPyStatic_call___globals); + goto CPyL294; + } + CPy_INCREF(cpy_r_r318.f0); + CPy_INCREF(cpy_r_r318.f1); + CPy_INCREF(cpy_r_r318.f2); +CPyL289: ; + CPy_RestoreExcInfo(cpy_r_r318); + CPy_DECREF(cpy_r_r318.f0); + CPy_DECREF(cpy_r_r318.f1); + CPy_DECREF(cpy_r_r318.f2); + goto CPyL293; +CPyL290: ; + cpy_r_r319 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__19; + if (unlikely(cpy_r_r319.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__19", -1, CPyStatic_call___globals); + goto CPyL294; + } + CPy_INCREF(cpy_r_r319.f0); + CPy_INCREF(cpy_r_r319.f1); + CPy_INCREF(cpy_r_r319.f2); +CPyL291: ; + CPy_RestoreExcInfo(cpy_r_r319); + CPy_DECREF(cpy_r_r319.f0); + CPy_DECREF(cpy_r_r319.f1); + CPy_DECREF(cpy_r_r319.f2); + cpy_r_r320 = CPy_KeepPropagating(); + if (!cpy_r_r320) { + goto CPyL294; + } else + goto CPyL526; +CPyL292: ; + CPy_Unreachable(); +CPyL293: ; + tuple_T3OOO __tmp132 = { NULL, NULL, NULL }; + cpy_r_r321 = __tmp132; + cpy_r_r19 = cpy_r_r321; + goto CPyL295; +CPyL294: ; + cpy_r_r322 = CPy_CatchError(); + cpy_r_r19 = cpy_r_r322; +CPyL295: ; + cpy_r_r323 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__2; + if (unlikely(cpy_r_r323 == 2)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__2", -1, CPyStatic_call___globals); + goto CPyL527; + } +CPyL296: ; + if (!cpy_r_r323) goto CPyL328; +CPyL297: ; + cpy_r_r324 = (PyObject *)&_Py_NoneStruct; + cpy_r_r325 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__0; + if (unlikely(cpy_r_r325 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__0", -1, CPyStatic_call___globals); + goto CPyL527; + } + CPy_INCREF(cpy_r_r325); +CPyL298: ; + cpy_r_r326 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__1; + if (unlikely(cpy_r_r326 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__1", -1, CPyStatic_call___globals); + goto CPyL528; + } + CPy_INCREF(cpy_r_r326); +CPyL299: ; + PyObject *cpy_r_r327[4] = {cpy_r_r326, cpy_r_r324, cpy_r_r324, cpy_r_r324}; + cpy_r_r328 = (PyObject **)&cpy_r_r327; + cpy_r_r329 = PyObject_Vectorcall(cpy_r_r325, cpy_r_r328, 4, 0); + CPy_DECREF(cpy_r_r325); + if (unlikely(cpy_r_r329 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL529; + } + CPy_DECREF(cpy_r_r326); + cpy_r_r330 = CPy_GetCoro(cpy_r_r329); + CPy_DECREF(cpy_r_r329); + if (unlikely(cpy_r_r330 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL527; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__22 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__22); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__22 = cpy_r_r330; + cpy_r_r331 = 1; + if (unlikely(!cpy_r_r331)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL527; + } + cpy_r_r332 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__22; + if (unlikely(cpy_r_r332 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__22", -1, CPyStatic_call___globals); + goto CPyL527; + } + CPy_INCREF(cpy_r_r332); +CPyL303: ; + cpy_r_r333 = CPyIter_Next(cpy_r_r332); + CPy_DECREF(cpy_r_r332); + if (cpy_r_r333 != NULL) goto CPyL530; + cpy_r_r334 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r334 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL527; + } + cpy_r_r335 = cpy_r_r334; + CPy_DECREF(cpy_r_r335); + cpy_r_r336 = NULL; + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__22 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__22); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__22 = cpy_r_r336; + cpy_r_r337 = 1; + if (unlikely(!cpy_r_r337)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL527; + } else + goto CPyL328; +CPyL306: ; + cpy_r_r338 = cpy_r_r333; +CPyL307: ; + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_next_label__ = 8; + CPy_DECREF_NO_IMM(cpy_r_r24); + return cpy_r_r338; +CPyL308: ; + cpy_r_r340 = (PyObject *)&_Py_NoneStruct; + cpy_r_r341 = cpy_r_type != cpy_r_r340; + if (!cpy_r_r341) goto CPyL531; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL312; + } else + goto CPyL532; +CPyL310: ; + CPy_Unreachable(); +CPyL311: ; + CPy_INCREF(cpy_r_arg); + goto CPyL323; +CPyL312: ; + cpy_r_r342 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__23.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__23.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__23.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__23.f2); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__23 = cpy_r_r342; + cpy_r_r343 = 1; + if (unlikely(!cpy_r_r343)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL533; + } + cpy_r_r344 = (PyObject **)&cpy_r_r17; + cpy_r_r345 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__22; + if (unlikely(cpy_r_r345 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__22", -1, CPyStatic_call___globals); + goto CPyL533; + } + CPy_INCREF(cpy_r_r345); +CPyL314: ; + cpy_r_r346 = CPy_YieldFromErrorHandle(cpy_r_r345, cpy_r_r344); + CPy_DecRef(cpy_r_r345); + if (unlikely(cpy_r_r346 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL533; + } + if (cpy_r_r346) goto CPyL318; + cpy_r_r338 = cpy_r_r17; + cpy_r_r347 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__23; + if (unlikely(cpy_r_r347.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__23", -1, CPyStatic_call___globals); + goto CPyL534; + } + CPy_INCREF(cpy_r_r347.f0); + CPy_INCREF(cpy_r_r347.f1); + CPy_INCREF(cpy_r_r347.f2); + goto CPyL535; +CPyL317: ; + CPy_RestoreExcInfo(cpy_r_r347); + CPy_DecRef(cpy_r_r347.f0); + CPy_DecRef(cpy_r_r347.f1); + CPy_DecRef(cpy_r_r347.f2); + goto CPyL307; +CPyL318: ; + cpy_r_r335 = cpy_r_r17; + CPy_DecRef(cpy_r_r335); + cpy_r_r348 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__23; + if (unlikely(cpy_r_r348.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__23", -1, CPyStatic_call___globals); + goto CPyL320; + } + CPy_INCREF(cpy_r_r348.f0); + CPy_INCREF(cpy_r_r348.f1); + CPy_INCREF(cpy_r_r348.f2); +CPyL319: ; + CPy_RestoreExcInfo(cpy_r_r348); + CPy_DecRef(cpy_r_r348.f0); + CPy_DecRef(cpy_r_r348.f1); + CPy_DecRef(cpy_r_r348.f2); + goto CPyL328; +CPyL320: ; + cpy_r_r349 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__23; + if (unlikely(cpy_r_r349.f0 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute '__mypyc_temp__23' of 'coroutine__get_coroutine_fn_env' undefined"); + } else { + CPy_INCREF(cpy_r_r349.f0); + CPy_INCREF(cpy_r_r349.f1); + CPy_INCREF(cpy_r_r349.f2); + } + CPy_DecRef(cpy_r_r24); + if (unlikely(cpy_r_r349.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL331; + } +CPyL321: ; + CPy_RestoreExcInfo(cpy_r_r349); + CPy_DecRef(cpy_r_r349.f0); + CPy_DecRef(cpy_r_r349.f1); + CPy_DecRef(cpy_r_r349.f2); + cpy_r_r350 = CPy_KeepPropagating(); + if (!cpy_r_r350) { + goto CPyL331; + } else + goto CPyL536; +CPyL322: ; + CPy_Unreachable(); +CPyL323: ; + cpy_r_r351 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__22; + if (unlikely(cpy_r_r351 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__22", -1, CPyStatic_call___globals); + goto CPyL537; + } + CPy_INCREF(cpy_r_r351); +CPyL324: ; + cpy_r_r352 = CPyIter_Send(cpy_r_r351, cpy_r_arg); + CPy_DECREF(cpy_r_r351); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r352 == NULL) { + goto CPyL326; + } else + goto CPyL538; +CPyL325: ; + cpy_r_r338 = cpy_r_r352; + goto CPyL307; +CPyL326: ; + cpy_r_r353 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r353 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 156, CPyStatic_call___globals); + goto CPyL527; + } + cpy_r_r335 = cpy_r_r353; + CPy_DECREF(cpy_r_r335); +CPyL328: ; + if (cpy_r_r19.f0 == NULL) { + goto CPyL335; + } else + goto CPyL539; +CPyL329: ; + CPy_Reraise(); + if (!0) { + goto CPyL331; + } else + goto CPyL540; +CPyL330: ; + CPy_Unreachable(); +CPyL331: ; + if (cpy_r_r19.f0 == NULL) goto CPyL333; + CPy_RestoreExcInfo(cpy_r_r19); + CPy_XDECREF(cpy_r_r19.f0); + CPy_XDECREF(cpy_r_r19.f1); + CPy_XDECREF(cpy_r_r19.f2); +CPyL333: ; + cpy_r_r354 = CPy_KeepPropagating(); + if (!cpy_r_r354) goto CPyL421; + CPy_Unreachable(); +CPyL335: ; + cpy_r_r355 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r355 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "self", 161, CPyStatic_call___globals); + goto CPyL367; + } + CPy_INCREF(cpy_r_r355); +CPyL336: ; + cpy_r_r356 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__output; + if (unlikely(cpy_r_r356 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "output", 161, CPyStatic_call___globals); + goto CPyL541; + } + CPy_INCREF(cpy_r_r356); +CPyL337: ; + if (likely(PyBytes_Check(cpy_r_r356) || PyByteArray_Check(cpy_r_r356))) + cpy_r_r357 = cpy_r_r356; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 161, CPyStatic_call___globals, "bytes", cpy_r_r356); + goto CPyL541; + } + cpy_r_r358 = CPyDef_call___decode_output(cpy_r_r355, cpy_r_r357); + CPy_DECREF(cpy_r_r355); + CPy_DECREF(cpy_r_r357); + if (unlikely(cpy_r_r358 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 161, CPyStatic_call___globals); + goto CPyL367; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__24 != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__24); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__24 = cpy_r_r358; + cpy_r_r359 = 1; + if (unlikely(!cpy_r_r359)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL367; + } + cpy_r_r360 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__24; + if (unlikely(cpy_r_r360 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__24", -1, CPyStatic_call___globals); + goto CPyL367; + } + CPy_INCREF_NO_IMM(cpy_r_r360); +CPyL341: ; + cpy_r_r361 = (PyObject *)&_Py_NoneStruct; + cpy_r_r362 = NULL; + cpy_r_r21 = cpy_r_r362; + cpy_r_r363 = (PyObject **)&cpy_r_r21; + cpy_r_r364 = CPyDef_call___decode_output_gen_____mypyc_generator_helper__(cpy_r_r360, cpy_r_r361, cpy_r_r361, cpy_r_r361, cpy_r_r361, cpy_r_r363); + CPy_DECREF_NO_IMM(cpy_r_r360); + if (cpy_r_r364 != NULL) goto CPyL542; + cpy_r_r365 = cpy_r_r21 != 0; + if (unlikely(!cpy_r_r365)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL543; + } + cpy_r_r366 = cpy_r_r21; + cpy_r_r367 = NULL; + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__24 != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__24); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__24 = cpy_r_r367; + cpy_r_r368 = 1; + if (unlikely(!cpy_r_r368)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 161, CPyStatic_call___globals); + goto CPyL544; + } else + goto CPyL366; +CPyL344: ; + cpy_r_r369 = cpy_r_r364; +CPyL345: ; + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_next_label__ = 9; + CPy_DECREF_NO_IMM(cpy_r_r24); + return cpy_r_r369; +CPyL346: ; + cpy_r_r371 = (PyObject *)&_Py_NoneStruct; + cpy_r_r372 = cpy_r_type != cpy_r_r371; + if (!cpy_r_r372) goto CPyL545; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 161, CPyStatic_call___globals); + goto CPyL350; + } else + goto CPyL546; +CPyL348: ; + CPy_Unreachable(); +CPyL349: ; + CPy_INCREF(cpy_r_arg); + goto CPyL361; +CPyL350: ; + cpy_r_r373 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__25.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__25.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__25.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__25.f2); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__25 = cpy_r_r373; + cpy_r_r374 = 1; + if (unlikely(!cpy_r_r374)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL547; + } + cpy_r_r375 = (PyObject **)&cpy_r_r23; + cpy_r_r376 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__24; + if (unlikely(cpy_r_r376 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__24", -1, CPyStatic_call___globals); + goto CPyL547; + } + CPy_INCREF_NO_IMM(cpy_r_r376); +CPyL352: ; + cpy_r_r377 = CPy_YieldFromErrorHandle(cpy_r_r376, cpy_r_r375); + CPy_DecRef(cpy_r_r376); + if (unlikely(cpy_r_r377 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 161, CPyStatic_call___globals); + goto CPyL547; + } + if (cpy_r_r377) goto CPyL356; + cpy_r_r369 = cpy_r_r23; + cpy_r_r378 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__25; + if (unlikely(cpy_r_r378.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__25", -1, CPyStatic_call___globals); + goto CPyL548; + } + CPy_INCREF(cpy_r_r378.f0); + CPy_INCREF(cpy_r_r378.f1); + CPy_INCREF(cpy_r_r378.f2); +CPyL355: ; + CPy_RestoreExcInfo(cpy_r_r378); + CPy_DecRef(cpy_r_r378.f0); + CPy_DecRef(cpy_r_r378.f1); + CPy_DecRef(cpy_r_r378.f2); + goto CPyL345; +CPyL356: ; + cpy_r_r366 = cpy_r_r23; + cpy_r_r379 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__25; + if (unlikely(cpy_r_r379.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__25", -1, CPyStatic_call___globals); + goto CPyL549; + } + CPy_INCREF(cpy_r_r379.f0); + CPy_INCREF(cpy_r_r379.f1); + CPy_INCREF(cpy_r_r379.f2); +CPyL357: ; + CPy_RestoreExcInfo(cpy_r_r379); + CPy_DecRef(cpy_r_r379.f0); + CPy_DecRef(cpy_r_r379.f1); + CPy_DecRef(cpy_r_r379.f2); + goto CPyL366; +CPyL358: ; + cpy_r_r380 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__25; + if (unlikely(cpy_r_r380.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__25", -1, CPyStatic_call___globals); + goto CPyL367; + } + CPy_INCREF(cpy_r_r380.f0); + CPy_INCREF(cpy_r_r380.f1); + CPy_INCREF(cpy_r_r380.f2); +CPyL359: ; + CPy_RestoreExcInfo(cpy_r_r380); + CPy_DecRef(cpy_r_r380.f0); + CPy_DecRef(cpy_r_r380.f1); + CPy_DecRef(cpy_r_r380.f2); + cpy_r_r381 = CPy_KeepPropagating(); + if (!cpy_r_r381) { + goto CPyL367; + } else + goto CPyL550; +CPyL360: ; + CPy_Unreachable(); +CPyL361: ; + cpy_r_r382 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__24; + if (unlikely(cpy_r_r382 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "__mypyc_temp__24", -1, CPyStatic_call___globals); + goto CPyL551; + } + CPy_INCREF_NO_IMM(cpy_r_r382); +CPyL362: ; + cpy_r_r383 = CPyIter_Send(cpy_r_r382, cpy_r_arg); + CPy_DECREF_NO_IMM(cpy_r_r382); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r383 == NULL) goto CPyL364; + cpy_r_r369 = cpy_r_r383; + goto CPyL345; +CPyL364: ; + cpy_r_r384 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r384 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 161, CPyStatic_call___globals); + goto CPyL367; + } + cpy_r_r366 = cpy_r_r384; +CPyL366: ; + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__decoded != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__decoded); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__decoded = cpy_r_r366; + cpy_r_r385 = 1; + if (unlikely(!cpy_r_r385)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 161, CPyStatic_call___globals); + } else + goto CPyL390; +CPyL367: ; + cpy_r_r386 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__26.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__26.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__26.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__26.f2); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__26 = cpy_r_r386; + cpy_r_r387 = 1; + if (unlikely(!cpy_r_r387)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL387; + } + cpy_r_r388 = CPyStatic_call___globals; + cpy_r_r389 = CPyStatics[377]; /* 'InsufficientDataBytes' */ + cpy_r_r390 = CPyDict_GetItem(cpy_r_r388, cpy_r_r389); + if (unlikely(cpy_r_r390 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 162, CPyStatic_call___globals); + goto CPyL387; + } + cpy_r_r391 = CPy_ExceptionMatches(cpy_r_r390); + CPy_DecRef(cpy_r_r390); + if (!cpy_r_r391) goto CPyL385; + cpy_r_r392 = CPy_GetExcValue(); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__e != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__e); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__e = cpy_r_r392; + cpy_r_r393 = 1; + if (unlikely(!cpy_r_r393)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 162, CPyStatic_call___globals); + goto CPyL387; + } + cpy_r_r394 = CPyStatics[142]; /* 'error' */ + cpy_r_r395 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__e; + if (unlikely(cpy_r_r395 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "e", 165, CPyStatic_call___globals); + goto CPyL387; + } + CPy_INCREF(cpy_r_r395); +CPyL372: ; + cpy_r_r396 = PyObject_Str(cpy_r_r395); + CPy_DecRef(cpy_r_r395); + if (unlikely(cpy_r_r396 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 165, CPyStatic_call___globals); + goto CPyL387; + } + cpy_r_r397 = CPyStatics[378]; /* ' when decoding response' */ + cpy_r_r398 = CPyStr_Build(2, cpy_r_r396, cpy_r_r397); + CPy_DecRef(cpy_r_r396); + if (unlikely(cpy_r_r398 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 165, CPyStatic_call___globals); + goto CPyL387; + } + cpy_r_r399 = CPyStatics[379]; /* 'method' */ + cpy_r_r400 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r400 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "self", 166, CPyStatic_call___globals); + goto CPyL552; + } + CPy_INCREF(cpy_r_r400); +CPyL375: ; + cpy_r_r401 = CPyStatics[380]; /* 'contract' */ + cpy_r_r402 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r402 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "self", 167, CPyStatic_call___globals); + goto CPyL553; + } + CPy_INCREF(cpy_r_r402); +CPyL376: ; + cpy_r_r403 = CPyStatics[364]; /* '_address' */ + cpy_r_r404 = CPyObject_GetAttr(cpy_r_r402, cpy_r_r403); + CPy_DecRef(cpy_r_r402); + if (unlikely(cpy_r_r404 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 167, CPyStatic_call___globals); + goto CPyL553; + } + cpy_r_r405 = CPyStatics[186]; /* 'args' */ + cpy_r_r406 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__args; + if (unlikely(cpy_r_r406 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "args", 168, CPyStatic_call___globals); + goto CPyL554; + } + CPy_INCREF(cpy_r_r406); +CPyL378: ; + cpy_r_r407 = CPyStatics[381]; /* 'block' */ + cpy_r_r408 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__block_identifier; + if (unlikely(cpy_r_r408 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "block_identifier", 169, CPyStatic_call___globals); + goto CPyL555; + } + CPy_INCREF(cpy_r_r408); +CPyL379: ; + cpy_r_r409 = CPyStatics[140]; /* 'response' */ + cpy_r_r410 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__output; + if (unlikely(cpy_r_r410 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "output", 170, CPyStatic_call___globals); + goto CPyL556; + } + CPy_INCREF(cpy_r_r410); +CPyL380: ; + cpy_r_r411 = CPyDict_Build(6, cpy_r_r394, cpy_r_r398, cpy_r_r399, cpy_r_r400, cpy_r_r401, cpy_r_r404, cpy_r_r405, cpy_r_r406, cpy_r_r407, cpy_r_r408, cpy_r_r409, cpy_r_r410); + CPy_DecRef(cpy_r_r398); + CPy_DecRef(cpy_r_r400); + CPy_DecRef(cpy_r_r404); + CPy_DecRef(cpy_r_r406); + CPy_DecRef(cpy_r_r408); + CPy_DecRef(cpy_r_r410); + if (unlikely(cpy_r_r411 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 164, CPyStatic_call___globals); + goto CPyL387; + } + cpy_r_r412 = CPyStatic_call___globals; + cpy_r_r413 = CPyStatics[377]; /* 'InsufficientDataBytes' */ + cpy_r_r414 = CPyDict_GetItem(cpy_r_r412, cpy_r_r413); + if (unlikely(cpy_r_r414 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 163, CPyStatic_call___globals); + goto CPyL557; + } + PyObject *cpy_r_r415[1] = {cpy_r_r411}; + cpy_r_r416 = (PyObject **)&cpy_r_r415; + cpy_r_r417 = PyObject_Vectorcall(cpy_r_r414, cpy_r_r416, 1, 0); + CPy_DecRef(cpy_r_r414); + if (unlikely(cpy_r_r417 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 163, CPyStatic_call___globals); + goto CPyL557; + } + CPy_DecRef(cpy_r_r411); + CPy_Raise(cpy_r_r417); + CPy_DecRef(cpy_r_r417); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 163, CPyStatic_call___globals); + goto CPyL387; + } else + goto CPyL558; +CPyL384: ; + CPy_Unreachable(); +CPyL385: ; + CPy_Reraise(); + if (!0) { + goto CPyL387; + } else + goto CPyL559; +CPyL386: ; + CPy_Unreachable(); +CPyL387: ; + cpy_r_r418 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_temp__26; + if (unlikely(cpy_r_r418.f0 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute '__mypyc_temp__26' of 'coroutine__get_coroutine_fn_env' undefined"); + } else { + CPy_INCREF(cpy_r_r418.f0); + CPy_INCREF(cpy_r_r418.f1); + CPy_INCREF(cpy_r_r418.f2); + } + CPy_DecRef(cpy_r_r24); + if (unlikely(cpy_r_r418.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", -1, CPyStatic_call___globals); + goto CPyL421; + } +CPyL388: ; + CPy_RestoreExcInfo(cpy_r_r418); + CPy_DecRef(cpy_r_r418.f0); + CPy_DecRef(cpy_r_r418.f1); + CPy_DecRef(cpy_r_r418.f2); + cpy_r_r419 = CPy_KeepPropagating(); + if (!cpy_r_r419) goto CPyL421; + CPy_Unreachable(); +CPyL390: ; + cpy_r_r420 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__decimals; + if (unlikely(cpy_r_r420 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "decimals", 174, CPyStatic_call___globals); + goto CPyL560; + } + CPy_INCREF(cpy_r_r420); +CPyL391: ; + cpy_r_r421 = (PyObject *)&_Py_NoneStruct; + cpy_r_r422 = cpy_r_r420 == cpy_r_r421; + CPy_DECREF(cpy_r_r420); + if (!cpy_r_r422) goto CPyL394; + cpy_r_r423 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__decoded; + if (unlikely(cpy_r_r423 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "decoded", 174, CPyStatic_call___globals); + goto CPyL560; + } + CPy_INCREF(cpy_r_r423); +CPyL393: ; + cpy_r_r424 = cpy_r_r423; + goto CPyL404; +CPyL394: ; + cpy_r_r425 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__decoded; + if (unlikely(cpy_r_r425 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "decoded", 174, CPyStatic_call___globals); + goto CPyL560; + } + CPy_INCREF(cpy_r_r425); +CPyL395: ; + cpy_r_r426 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_generator_attribute__decimals; + if (unlikely(cpy_r_r426 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_env", "decimals", 174, CPyStatic_call___globals); + goto CPyL561; + } + CPy_INCREF(cpy_r_r426); +CPyL396: ; + if (likely(PyLong_Check(cpy_r_r426))) + cpy_r_r427 = CPyTagged_FromObject(cpy_r_r426); + else { + CPy_TypeError("int", cpy_r_r426); cpy_r_r427 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_r426); + if (unlikely(cpy_r_r427 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 174, CPyStatic_call___globals); + goto CPyL561; + } + cpy_r_r428 = CPyStatic_call___Decimal; + if (unlikely(cpy_r_r428 == NULL)) { + goto CPyL562; + } else + goto CPyL400; +CPyL398: ; + PyErr_SetString(PyExc_NameError, "value for final name \"Decimal\" was not set"); + cpy_r_r429 = 0; + if (unlikely(!cpy_r_r429)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 174, CPyStatic_call___globals); + goto CPyL421; + } + CPy_Unreachable(); +CPyL400: ; + cpy_r_r430 = CPyTagged_StealAsObject(cpy_r_r427); + PyObject *cpy_r_r431[1] = {cpy_r_r430}; + cpy_r_r432 = (PyObject **)&cpy_r_r431; + cpy_r_r433 = PyObject_Vectorcall(cpy_r_r428, cpy_r_r432, 1, 0); + if (unlikely(cpy_r_r433 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 174, CPyStatic_call___globals); + goto CPyL563; + } + CPy_DECREF(cpy_r_r430); + cpy_r_r434 = CPyStatics[878]; /* 10 */ + cpy_r_r435 = CPyNumber_Power(cpy_r_r434, cpy_r_r433); + CPy_DECREF(cpy_r_r433); + if (unlikely(cpy_r_r435 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 174, CPyStatic_call___globals); + goto CPyL561; + } + cpy_r_r436 = PyNumber_TrueDivide(cpy_r_r425, cpy_r_r435); + CPy_DECREF(cpy_r_r425); + CPy_DECREF(cpy_r_r435); + if (unlikely(cpy_r_r436 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 174, CPyStatic_call___globals); + goto CPyL560; + } + cpy_r_r424 = cpy_r_r436; +CPyL404: ; + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r24)->___mypyc_next_label__ = -1; + CPy_DECREF_NO_IMM(cpy_r_r24); + if (cpy_r_stop_iter_ptr != NULL) goto CPyL408; + CPyGen_SetStopIterationValue(cpy_r_r424); + CPy_DECREF(cpy_r_r424); + if (!0) goto CPyL421; + CPy_Unreachable(); +CPyL408: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r424; + return 0; +CPyL409: ; + cpy_r_r438 = cpy_r_r25 == 0; + if (cpy_r_r438) goto CPyL564; + cpy_r_r439 = cpy_r_r25 == 1; + if (cpy_r_r439) { + goto CPyL565; + } else + goto CPyL566; +CPyL411: ; + cpy_r_r440 = cpy_r_r25 == 2; + if (cpy_r_r440) { + goto CPyL567; + } else + goto CPyL568; +CPyL412: ; + cpy_r_r441 = cpy_r_r25 == 3; + if (cpy_r_r441) { + goto CPyL569; + } else + goto CPyL570; +CPyL413: ; + cpy_r_r442 = cpy_r_r25 == 4; + if (cpy_r_r442) { + goto CPyL571; + } else + goto CPyL572; +CPyL414: ; + cpy_r_r443 = cpy_r_r25 == 5; + if (cpy_r_r443) { + goto CPyL573; + } else + goto CPyL574; +CPyL415: ; + cpy_r_r444 = cpy_r_r25 == 6; + if (cpy_r_r444) { + goto CPyL575; + } else + goto CPyL576; +CPyL416: ; + cpy_r_r445 = cpy_r_r25 == 7; + if (cpy_r_r445) { + goto CPyL577; + } else + goto CPyL578; +CPyL417: ; + cpy_r_r446 = cpy_r_r25 == 8; + if (cpy_r_r446) { + goto CPyL579; + } else + goto CPyL580; +CPyL418: ; + cpy_r_r447 = cpy_r_r25 == 9; + if (cpy_r_r447) { + goto CPyL346; + } else + goto CPyL581; +CPyL419: ; + PyErr_SetNone(PyExc_StopIteration); + cpy_r_r448 = 0; + if (unlikely(!cpy_r_r448)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 147, CPyStatic_call___globals); + goto CPyL421; + } + CPy_Unreachable(); +CPyL421: ; + cpy_r_r449 = NULL; + return cpy_r_r449; +CPyL422: ; + CPy_XDecRef(cpy_r_r1); + CPy_XDecRef(cpy_r_r3); + CPy_XDecRef(cpy_r_r5); + CPy_XDecRef(cpy_r_r7); + CPy_XDecRef(cpy_r_r9); + CPy_XDecRef(cpy_r_r11); + CPy_XDecRef(cpy_r_r13.f0); + CPy_XDecRef(cpy_r_r13.f1); + CPy_XDecRef(cpy_r_r13.f2); + CPy_XDecRef(cpy_r_r15); + CPy_XDecRef(cpy_r_r17); + CPy_XDecRef(cpy_r_r19.f0); + CPy_XDecRef(cpy_r_r19.f1); + CPy_XDecRef(cpy_r_r19.f2); + CPy_XDecRef(cpy_r_r23); + goto CPyL421; +CPyL423: ; + CPy_XDecRef(cpy_r_r1); + CPy_XDecRef(cpy_r_r3); + CPy_XDecRef(cpy_r_r5); + CPy_XDecRef(cpy_r_r7); + CPy_XDecRef(cpy_r_r9); + CPy_XDecRef(cpy_r_r11); + CPy_XDecRef(cpy_r_r13.f0); + CPy_XDecRef(cpy_r_r13.f1); + CPy_XDecRef(cpy_r_r13.f2); + CPy_XDecRef(cpy_r_r15); + CPy_XDecRef(cpy_r_r17); + CPy_XDecRef(cpy_r_r19.f0); + CPy_XDecRef(cpy_r_r19.f1); + CPy_XDecRef(cpy_r_r19.f2); + CPy_XDecRef(cpy_r_r23); + CPy_DecRef(cpy_r_r24); + goto CPyL421; +CPyL424: ; + CPy_DECREF_NO_IMM(cpy_r_r24); + CPy_DECREF_NO_IMM(cpy_r_r26); + goto CPyL3; +CPyL425: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r26); + goto CPyL421; +CPyL426: ; + CPy_DECREF(cpy_r_r29); + goto CPyL13; +CPyL427: ; + CPy_DECREF_NO_IMM(cpy_r_r24); + CPy_DECREF_NO_IMM(cpy_r_r26); + goto CPyL9; +CPyL428: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r26); + goto CPyL14; +CPyL429: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r46); + CPy_DecRef(cpy_r_r47); + goto CPyL421; +CPyL430: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r46); + goto CPyL421; +CPyL431: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r55); + goto CPyL421; +CPyL432: ; + CPy_DECREF_NO_IMM(cpy_r_r26); + goto CPyL30; +CPyL433: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL35; +CPyL434: ; + CPy_XDECREF(cpy_r_r1); + CPy_DECREF_NO_IMM(cpy_r_r24); + CPy_DECREF_NO_IMM(cpy_r_r26); + goto CPyL34; +CPyL435: ; + CPy_XDecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r26); + goto CPyL44; +CPyL436: ; + CPy_DecRef(cpy_r_r26); + goto CPyL40; +CPyL437: ; + CPy_DecRef(cpy_r_r66); + goto CPyL44; +CPyL438: ; + CPy_DecRef(cpy_r_r26); + goto CPyL44; +CPyL439: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_arg); + goto CPyL421; +CPyL440: ; + CPy_DECREF_NO_IMM(cpy_r_r26); + goto CPyL49; +CPyL441: ; + CPy_DecRef(cpy_r_r26); + goto CPyL251; +CPyL442: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r82); + goto CPyL251; +CPyL443: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r82); + CPyTagged_DecRef(cpy_r_r83); + goto CPyL251; +CPyL444: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r82); + CPyTagged_DecRef(cpy_r_r83); + CPy_DecRef(cpy_r_r84); + goto CPyL251; +CPyL445: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r82); + CPyTagged_DecRef(cpy_r_r83); + CPy_DecRef(cpy_r_r84); + CPy_DecRef(cpy_r_r85); + goto CPyL251; +CPyL446: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r82); + CPyTagged_DecRef(cpy_r_r83); + CPy_DecRef(cpy_r_r84); + CPy_DecRef(cpy_r_r85); + CPy_DecRef(cpy_r_r88); + goto CPyL251; +CPyL447: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r88); + CPy_DecRef(cpy_r_r89); + goto CPyL251; +CPyL448: ; + CPy_DECREF(cpy_r_r95); + goto CPyL59; +CPyL449: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r88); + goto CPyL251; +CPyL450: ; + CPy_DECREF_NO_IMM(cpy_r_r26); + goto CPyL67; +CPyL451: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r103); + goto CPyL251; +CPyL452: ; + CPy_XDECREF(cpy_r_r3); + goto CPyL72; +CPyL453: ; + CPy_XDECREF(cpy_r_r3); + CPy_DECREF_NO_IMM(cpy_r_r24); + CPy_DECREF_NO_IMM(cpy_r_r26); + goto CPyL71; +CPyL454: ; + CPy_XDecRef(cpy_r_r3); + CPy_DecRef(cpy_r_r26); + goto CPyL81; +CPyL455: ; + CPy_DecRef(cpy_r_r26); + goto CPyL77; +CPyL456: ; + CPy_DecRef(cpy_r_r106); + goto CPyL81; +CPyL457: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r103); + goto CPyL81; +CPyL458: ; + CPy_DecRef(cpy_r_r24); + goto CPyL83; +CPyL459: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_arg); + goto CPyL251; +CPyL460: ; + CPy_DECREF_NO_IMM(cpy_r_r26); + goto CPyL86; +CPyL461: ; + CPy_DecRef(cpy_r_r26); + goto CPyL92; +CPyL462: ; + CPy_DecRef(cpy_r_r24); + goto CPyL93; +CPyL463: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r127); + CPy_DecRef(cpy_r_r128); + goto CPyL251; +CPyL464: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r127); + goto CPyL251; +CPyL465: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r136); + goto CPyL251; +CPyL466: ; + CPy_DECREF_NO_IMM(cpy_r_r26); + goto CPyL108; +CPyL467: ; + CPy_XDECREF(cpy_r_r5); + goto CPyL113; +CPyL468: ; + CPy_XDECREF(cpy_r_r5); + CPy_DECREF_NO_IMM(cpy_r_r24); + CPy_DECREF_NO_IMM(cpy_r_r26); + goto CPyL112; +CPyL469: ; + CPy_XDecRef(cpy_r_r5); + CPy_DecRef(cpy_r_r26); + goto CPyL122; +CPyL470: ; + CPy_DecRef(cpy_r_r26); + goto CPyL118; +CPyL471: ; + CPy_DecRef(cpy_r_r147); + goto CPyL122; +CPyL472: ; + CPy_DecRef(cpy_r_r26); + goto CPyL122; +CPyL473: ; + CPy_DecRef(cpy_r_r24); + goto CPyL124; +CPyL474: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_arg); + goto CPyL251; +CPyL475: ; + CPy_DECREF_NO_IMM(cpy_r_r26); + goto CPyL127; +CPyL476: ; + CPy_DecRef(cpy_r_r165); + goto CPyL167; +CPyL477: ; + CPy_DecRef(cpy_r_r165); + CPy_DecRef(cpy_r_r169); + goto CPyL167; +CPyL478: ; + CPy_DecRef(cpy_r_r165); + CPy_DecRef(cpy_r_r172); + goto CPyL167; +CPyL479: ; + CPy_DecRef(cpy_r_r165); + CPy_DecRef(cpy_r_r172); + CPy_DecRef(cpy_r_r173); + goto CPyL167; +CPyL480: ; + CPy_DecRef(cpy_r_r183); + goto CPyL167; +CPyL481: ; + CPy_XDECREF(cpy_r_r7); + goto CPyL149; +CPyL482: ; + CPy_XDECREF(cpy_r_r7); + CPy_DECREF_NO_IMM(cpy_r_r24); + goto CPyL148; +CPyL483: ; + CPy_XDecRef(cpy_r_r7); + goto CPyL158; +CPyL484: ; + CPy_DecRef(cpy_r_r186); + goto CPyL158; +CPyL485: ; + CPy_DecRef(cpy_r_r183); + goto CPyL158; +CPyL486: ; + CPy_DecRef(cpy_r_r24); + goto CPyL160; +CPyL487: ; + CPy_DecRef(cpy_r_arg); + goto CPyL167; +CPyL488: ; + CPy_DecRef(cpy_r_r207); + CPy_DecRef(cpy_r_r208); + CPy_DecRef(cpy_r_r209); + goto CPyL206; +CPyL489: ; + CPy_DecRef(cpy_r_r207); + CPy_DecRef(cpy_r_r208); + CPy_DecRef(cpy_r_r209); + CPy_DecRef(cpy_r_r210); + goto CPyL206; +CPyL490: ; + CPy_DecRef(cpy_r_r207); + CPy_DecRef(cpy_r_r208); + CPy_DecRef(cpy_r_r209); + CPy_DecRef(cpy_r_r211); + goto CPyL206; +CPyL491: ; + CPy_DecRef(cpy_r_r220); + goto CPyL206; +CPyL492: ; + CPy_XDECREF(cpy_r_r9); + goto CPyL183; +CPyL493: ; + CPy_XDECREF(cpy_r_r9); + CPy_DECREF_NO_IMM(cpy_r_r24); + goto CPyL182; +CPyL494: ; + CPy_XDecRef(cpy_r_r9); + goto CPyL192; +CPyL495: ; + CPy_DecRef(cpy_r_r223); + goto CPyL192; +CPyL496: ; + CPy_DecRef(cpy_r_r220); + goto CPyL192; +CPyL497: ; + CPy_DecRef(cpy_r_r24); + goto CPyL194; +CPyL498: ; + CPy_DecRef(cpy_r_arg); + goto CPyL206; +CPyL499: ; + CPy_DECREF_NO_IMM(cpy_r_r24); + goto CPyL203; +CPyL500: ; + CPy_DECREF_NO_IMM(cpy_r_r24); + goto CPyL208; +CPyL501: ; + CPy_DecRef(cpy_r_r249); + goto CPyL247; +CPyL502: ; + CPy_DecRef(cpy_r_r250); + goto CPyL247; +CPyL503: ; + CPy_XDECREF(cpy_r_r13.f0); + CPy_XDECREF(cpy_r_r13.f1); + CPy_XDECREF(cpy_r_r13.f2); + goto CPyL222; +CPyL504: ; + CPy_XDECREF(cpy_r_r11); + goto CPyL227; +CPyL505: ; + CPy_XDECREF(cpy_r_r11); + CPy_XDECREF(cpy_r_r13.f0); + CPy_XDECREF(cpy_r_r13.f1); + CPy_XDECREF(cpy_r_r13.f2); + CPy_DECREF_NO_IMM(cpy_r_r24); + goto CPyL226; +CPyL506: ; + CPy_XDecRef(cpy_r_r11); + goto CPyL236; +CPyL507: ; + CPy_DecRef(cpy_r_r262); + goto CPyL236; +CPyL508: ; + CPy_XDecRef(cpy_r_r13.f0); + CPy_XDecRef(cpy_r_r13.f1); + CPy_XDecRef(cpy_r_r13.f2); + goto CPyL233; +CPyL509: ; + CPy_XDecRef(cpy_r_r13.f0); + CPy_XDecRef(cpy_r_r13.f1); + CPy_XDecRef(cpy_r_r13.f2); + CPy_DecRef(cpy_r_r24); + goto CPyL238; +CPyL510: ; + CPy_DecRef(cpy_r_arg); + goto CPyL247; +CPyL511: ; + CPy_XDECREF(cpy_r_r13.f0); + CPy_XDECREF(cpy_r_r13.f1); + CPy_XDECREF(cpy_r_r13.f2); + goto CPyL241; +CPyL512: ; + CPy_XDECREF(cpy_r_r13.f0); + CPy_XDECREF(cpy_r_r13.f1); + CPy_XDECREF(cpy_r_r13.f2); + CPy_DECREF_NO_IMM(cpy_r_r24); + goto CPyL246; +CPyL513: ; + CPy_DECREF_NO_IMM(cpy_r_r24); + goto CPyL250; +CPyL514: ; + CPy_DecRef(cpy_r_r283); + CPy_DecRef(cpy_r_r284); + CPy_DecRef(cpy_r_r285); + goto CPyL290; +CPyL515: ; + CPy_DecRef(cpy_r_r283); + CPy_DecRef(cpy_r_r284); + CPy_DecRef(cpy_r_r285); + CPy_DecRef(cpy_r_r286); + goto CPyL290; +CPyL516: ; + CPy_DecRef(cpy_r_r283); + CPy_DecRef(cpy_r_r284); + CPy_DecRef(cpy_r_r285); + CPy_DecRef(cpy_r_r287); + goto CPyL290; +CPyL517: ; + CPy_DecRef(cpy_r_r296); + goto CPyL290; +CPyL518: ; + CPy_XDECREF(cpy_r_r15); + goto CPyL267; +CPyL519: ; + CPy_XDECREF(cpy_r_r15); + CPy_DECREF_NO_IMM(cpy_r_r24); + goto CPyL266; +CPyL520: ; + CPy_XDecRef(cpy_r_r15); + goto CPyL276; +CPyL521: ; + CPy_DecRef(cpy_r_r299); + goto CPyL276; +CPyL522: ; + CPy_DecRef(cpy_r_r296); + goto CPyL276; +CPyL523: ; + CPy_DecRef(cpy_r_r24); + goto CPyL278; +CPyL524: ; + CPy_DecRef(cpy_r_arg); + goto CPyL290; +CPyL525: ; + CPy_DECREF_NO_IMM(cpy_r_r24); + goto CPyL287; +CPyL526: ; + CPy_DECREF_NO_IMM(cpy_r_r24); + goto CPyL292; +CPyL527: ; + CPy_DecRef(cpy_r_r24); + goto CPyL331; +CPyL528: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r325); + goto CPyL331; +CPyL529: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r326); + goto CPyL331; +CPyL530: ; + CPy_XDECREF(cpy_r_r19.f0); + CPy_XDECREF(cpy_r_r19.f1); + CPy_XDECREF(cpy_r_r19.f2); + goto CPyL306; +CPyL531: ; + CPy_XDECREF(cpy_r_r17); + goto CPyL311; +CPyL532: ; + CPy_XDECREF(cpy_r_r17); + CPy_XDECREF(cpy_r_r19.f0); + CPy_XDECREF(cpy_r_r19.f1); + CPy_XDECREF(cpy_r_r19.f2); + CPy_DECREF_NO_IMM(cpy_r_r24); + goto CPyL310; +CPyL533: ; + CPy_XDecRef(cpy_r_r17); + goto CPyL320; +CPyL534: ; + CPy_DecRef(cpy_r_r338); + goto CPyL320; +CPyL535: ; + CPy_XDecRef(cpy_r_r19.f0); + CPy_XDecRef(cpy_r_r19.f1); + CPy_XDecRef(cpy_r_r19.f2); + goto CPyL317; +CPyL536: ; + CPy_XDecRef(cpy_r_r19.f0); + CPy_XDecRef(cpy_r_r19.f1); + CPy_XDecRef(cpy_r_r19.f2); + goto CPyL322; +CPyL537: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_arg); + goto CPyL331; +CPyL538: ; + CPy_XDECREF(cpy_r_r19.f0); + CPy_XDECREF(cpy_r_r19.f1); + CPy_XDECREF(cpy_r_r19.f2); + goto CPyL325; +CPyL539: ; + CPy_DECREF_NO_IMM(cpy_r_r24); + goto CPyL329; +CPyL540: ; + CPy_XDECREF(cpy_r_r19.f0); + CPy_XDECREF(cpy_r_r19.f1); + CPy_XDECREF(cpy_r_r19.f2); + goto CPyL330; +CPyL541: ; + CPy_DecRef(cpy_r_r355); + goto CPyL367; +CPyL542: ; + CPy_XDECREF(cpy_r_r21); + goto CPyL344; +CPyL543: ; + CPy_XDecRef(cpy_r_r21); + goto CPyL367; +CPyL544: ; + CPy_DecRef(cpy_r_r366); + goto CPyL367; +CPyL545: ; + CPy_XDECREF(cpy_r_r23); + goto CPyL349; +CPyL546: ; + CPy_XDECREF(cpy_r_r23); + CPy_DECREF_NO_IMM(cpy_r_r24); + goto CPyL348; +CPyL547: ; + CPy_XDecRef(cpy_r_r23); + goto CPyL358; +CPyL548: ; + CPy_DecRef(cpy_r_r369); + goto CPyL358; +CPyL549: ; + CPy_DecRef(cpy_r_r366); + goto CPyL358; +CPyL550: ; + CPy_DecRef(cpy_r_r24); + goto CPyL360; +CPyL551: ; + CPy_DecRef(cpy_r_arg); + goto CPyL367; +CPyL552: ; + CPy_DecRef(cpy_r_r398); + goto CPyL387; +CPyL553: ; + CPy_DecRef(cpy_r_r398); + CPy_DecRef(cpy_r_r400); + goto CPyL387; +CPyL554: ; + CPy_DecRef(cpy_r_r398); + CPy_DecRef(cpy_r_r400); + CPy_DecRef(cpy_r_r404); + goto CPyL387; +CPyL555: ; + CPy_DecRef(cpy_r_r398); + CPy_DecRef(cpy_r_r400); + CPy_DecRef(cpy_r_r404); + CPy_DecRef(cpy_r_r406); + goto CPyL387; +CPyL556: ; + CPy_DecRef(cpy_r_r398); + CPy_DecRef(cpy_r_r400); + CPy_DecRef(cpy_r_r404); + CPy_DecRef(cpy_r_r406); + CPy_DecRef(cpy_r_r408); + goto CPyL387; +CPyL557: ; + CPy_DecRef(cpy_r_r411); + goto CPyL387; +CPyL558: ; + CPy_DecRef(cpy_r_r24); + goto CPyL384; +CPyL559: ; + CPy_DecRef(cpy_r_r24); + goto CPyL386; +CPyL560: ; + CPy_DecRef(cpy_r_r24); + goto CPyL421; +CPyL561: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r425); + goto CPyL421; +CPyL562: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r425); + CPyTagged_DecRef(cpy_r_r427); + goto CPyL398; +CPyL563: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r425); + CPy_DecRef(cpy_r_r430); + goto CPyL421; +CPyL564: ; + CPy_XDECREF(cpy_r_r1); + CPy_XDECREF(cpy_r_r3); + CPy_XDECREF(cpy_r_r5); + CPy_XDECREF(cpy_r_r7); + CPy_XDECREF(cpy_r_r9); + CPy_XDECREF(cpy_r_r11); + CPy_XDECREF(cpy_r_r13.f0); + CPy_XDECREF(cpy_r_r13.f1); + CPy_XDECREF(cpy_r_r13.f2); + CPy_XDECREF(cpy_r_r15); + CPy_XDECREF(cpy_r_r17); + CPy_XDECREF(cpy_r_r19.f0); + CPy_XDECREF(cpy_r_r19.f1); + CPy_XDECREF(cpy_r_r19.f2); + CPy_XDECREF(cpy_r_r23); + goto CPyL2; +CPyL565: ; + CPy_XDECREF(cpy_r_r3); + CPy_XDECREF(cpy_r_r5); + CPy_XDECREF(cpy_r_r7); + CPy_XDECREF(cpy_r_r9); + CPy_XDECREF(cpy_r_r11); + CPy_XDECREF(cpy_r_r13.f0); + CPy_XDECREF(cpy_r_r13.f1); + CPy_XDECREF(cpy_r_r13.f2); + CPy_XDECREF(cpy_r_r15); + CPy_XDECREF(cpy_r_r17); + CPy_XDECREF(cpy_r_r19.f0); + CPy_XDECREF(cpy_r_r19.f1); + CPy_XDECREF(cpy_r_r19.f2); + CPy_XDECREF(cpy_r_r23); + goto CPyL32; +CPyL566: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL411; +CPyL567: ; + CPy_XDECREF(cpy_r_r5); + CPy_XDECREF(cpy_r_r7); + CPy_XDECREF(cpy_r_r9); + CPy_XDECREF(cpy_r_r11); + CPy_XDECREF(cpy_r_r13.f0); + CPy_XDECREF(cpy_r_r13.f1); + CPy_XDECREF(cpy_r_r13.f2); + CPy_XDECREF(cpy_r_r15); + CPy_XDECREF(cpy_r_r17); + CPy_XDECREF(cpy_r_r19.f0); + CPy_XDECREF(cpy_r_r19.f1); + CPy_XDECREF(cpy_r_r19.f2); + CPy_XDECREF(cpy_r_r23); + goto CPyL69; +CPyL568: ; + CPy_XDECREF(cpy_r_r3); + goto CPyL412; +CPyL569: ; + CPy_XDECREF(cpy_r_r7); + CPy_XDECREF(cpy_r_r9); + CPy_XDECREF(cpy_r_r11); + CPy_XDECREF(cpy_r_r13.f0); + CPy_XDECREF(cpy_r_r13.f1); + CPy_XDECREF(cpy_r_r13.f2); + CPy_XDECREF(cpy_r_r15); + CPy_XDECREF(cpy_r_r17); + CPy_XDECREF(cpy_r_r19.f0); + CPy_XDECREF(cpy_r_r19.f1); + CPy_XDECREF(cpy_r_r19.f2); + CPy_XDECREF(cpy_r_r23); + goto CPyL110; +CPyL570: ; + CPy_XDECREF(cpy_r_r5); + CPy_DECREF_NO_IMM(cpy_r_r26); + goto CPyL413; +CPyL571: ; + CPy_XDECREF(cpy_r_r9); + CPy_XDECREF(cpy_r_r11); + CPy_XDECREF(cpy_r_r13.f0); + CPy_XDECREF(cpy_r_r13.f1); + CPy_XDECREF(cpy_r_r13.f2); + CPy_XDECREF(cpy_r_r15); + CPy_XDECREF(cpy_r_r17); + CPy_XDECREF(cpy_r_r19.f0); + CPy_XDECREF(cpy_r_r19.f1); + CPy_XDECREF(cpy_r_r19.f2); + CPy_XDECREF(cpy_r_r23); + goto CPyL146; +CPyL572: ; + CPy_XDECREF(cpy_r_r7); + goto CPyL414; +CPyL573: ; + CPy_XDECREF(cpy_r_r11); + CPy_XDECREF(cpy_r_r13.f0); + CPy_XDECREF(cpy_r_r13.f1); + CPy_XDECREF(cpy_r_r13.f2); + CPy_XDECREF(cpy_r_r15); + CPy_XDECREF(cpy_r_r17); + CPy_XDECREF(cpy_r_r19.f0); + CPy_XDECREF(cpy_r_r19.f1); + CPy_XDECREF(cpy_r_r19.f2); + CPy_XDECREF(cpy_r_r23); + goto CPyL180; +CPyL574: ; + CPy_XDECREF(cpy_r_r9); + goto CPyL415; +CPyL575: ; + CPy_XDECREF(cpy_r_r15); + CPy_XDECREF(cpy_r_r17); + CPy_XDECREF(cpy_r_r19.f0); + CPy_XDECREF(cpy_r_r19.f1); + CPy_XDECREF(cpy_r_r19.f2); + CPy_XDECREF(cpy_r_r23); + goto CPyL224; +CPyL576: ; + CPy_XDECREF(cpy_r_r11); + CPy_XDECREF(cpy_r_r13.f0); + CPy_XDECREF(cpy_r_r13.f1); + CPy_XDECREF(cpy_r_r13.f2); + goto CPyL416; +CPyL577: ; + CPy_XDECREF(cpy_r_r17); + CPy_XDECREF(cpy_r_r19.f0); + CPy_XDECREF(cpy_r_r19.f1); + CPy_XDECREF(cpy_r_r19.f2); + CPy_XDECREF(cpy_r_r23); + goto CPyL264; +CPyL578: ; + CPy_XDECREF(cpy_r_r15); + goto CPyL417; +CPyL579: ; + CPy_XDECREF(cpy_r_r23); + goto CPyL308; +CPyL580: ; + CPy_XDECREF(cpy_r_r17); + CPy_XDECREF(cpy_r_r19.f0); + CPy_XDECREF(cpy_r_r19.f1); + CPy_XDECREF(cpy_r_r19.f2); + goto CPyL418; +CPyL581: ; + CPy_XDECREF(cpy_r_r23); + CPy_DECREF_NO_IMM(cpy_r_r24); + goto CPyL419; +} + +PyObject *CPyDef_call___coroutine_gen___3_147_____next__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_call___coroutine_gen___3_147_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_r0, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_call___coroutine_gen___3_147_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__next__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___coroutine_gen___3_147)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.coroutine_gen___147", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call___coroutine_gen___3_147_____next__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__next__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___coroutine_gen___3_147___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_call___coroutine_gen___3_147_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_arg, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_call___coroutine_gen___3_147___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"arg", 0}; + static CPyArg_Parser parser = {"O:send", kwlist, 0}; + PyObject *obj_arg; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_arg)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___coroutine_gen___3_147)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.coroutine_gen___147", obj___mypyc_self__); + goto fail; + } + PyObject *arg_arg = obj_arg; + PyObject *retval = CPyDef_call___coroutine_gen___3_147___send(arg___mypyc_self__, arg_arg); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "send", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___coroutine_gen___3_147_____iter__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_call___coroutine_gen___3_147_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___coroutine_gen___3_147)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.coroutine_gen___147", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call___coroutine_gen___3_147_____iter__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__iter__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___coroutine_gen___3_147___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + if (cpy_r_value != NULL) goto CPyL7; + CPy_INCREF(cpy_r_r0); + cpy_r_value = cpy_r_r0; +CPyL2: ; + if (cpy_r_traceback != NULL) goto CPyL8; + CPy_INCREF(cpy_r_r0); + cpy_r_traceback = cpy_r_r0; +CPyL4: ; + cpy_r_r1 = CPyDef_call___coroutine_gen___3_147_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_type, cpy_r_value, cpy_r_traceback, cpy_r_r0, 0); + CPy_DECREF(cpy_r_value); + CPy_DECREF(cpy_r_traceback); + if (cpy_r_r1 == NULL) goto CPyL6; + return cpy_r_r1; +CPyL6: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +CPyL7: ; + CPy_INCREF(cpy_r_value); + goto CPyL2; +CPyL8: ; + CPy_INCREF(cpy_r_traceback); + goto CPyL4; +} + +PyObject *CPyPy_call___coroutine_gen___3_147___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"type", "value", "traceback", 0}; + static CPyArg_Parser parser = {"O|OO:throw", kwlist, 0}; + PyObject *obj_type; + PyObject *obj_value = NULL; + PyObject *obj_traceback = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type, &obj_value, &obj_traceback)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___coroutine_gen___3_147)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.coroutine_gen___147", obj___mypyc_self__); + goto fail; + } + PyObject *arg_type = obj_type; + PyObject *arg_value; + if (obj_value == NULL) { + arg_value = NULL; + } else { + arg_value = obj_value; + } + PyObject *arg_traceback; + if (obj_traceback == NULL) { + arg_traceback = NULL; + } else { + arg_traceback = obj_traceback; + } + PyObject *retval = CPyDef_call___coroutine_gen___3_147___throw(arg___mypyc_self__, arg_type, arg_value, arg_traceback); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "throw", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___coroutine_gen___3_147___close(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[17]; /* 'GeneratorExit' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = CPyDef_call___coroutine_gen___3_147___throw(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r3, cpy_r_r4); + if (cpy_r_r5 != NULL) goto CPyL11; +CPyL3: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyModule_builtins; + cpy_r_r8 = CPyStatics[18]; /* 'StopIteration' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL12; + cpy_r_r10.f0 = cpy_r_r2; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp133 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp133); + PyObject *__tmp134 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp134); + cpy_r_r12 = CPy_ExceptionMatches(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (!cpy_r_r12) goto CPyL13; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + cpy_r_r13 = (PyObject *)&_Py_NoneStruct; + CPy_INCREF(cpy_r_r13); + return cpy_r_r13; +CPyL6: ; + CPy_Reraise(); + if (!0) goto CPyL10; + CPy_Unreachable(); +CPyL8: ; + PyErr_SetString(PyExc_RuntimeError, "generator ignored GeneratorExit"); + cpy_r_r14 = 0; + if (!cpy_r_r14) goto CPyL10; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL11: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r5); + goto CPyL8; +CPyL12: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL10; +CPyL13: ; + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL6; +} + +PyObject *CPyPy_call___coroutine_gen___3_147___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":close", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___coroutine_gen___3_147)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.coroutine_gen___147", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call___coroutine_gen___3_147___close(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "close", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___coroutine_gen___3_147_____await__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_call___coroutine_gen___3_147_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__await__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___coroutine_gen___3_147)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.coroutine_gen___147", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call___coroutine_gen___3_147_____await__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__await__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___coroutine__get_coroutine_fn_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_args, PyObject *cpy_r_block_identifier, PyObject *cpy_r_decimals, PyObject *cpy_r_override) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + char cpy_r_r6; + char cpy_r_r7; + char cpy_r_r8; + char cpy_r_r9; + char cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + char cpy_r_r13; + PyObject *cpy_r_r14; + cpy_r_r0 = ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *)cpy_r___mypyc_self__)->___mypyc_env__; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "coroutine", "coroutine__get_coroutine_fn_obj", "__mypyc_env__", 147, CPyStatic_call___globals); + goto CPyL17; + } + CPy_INCREF_NO_IMM(cpy_r_r0); +CPyL1: ; + if (cpy_r_block_identifier != NULL) goto CPyL18; + cpy_r_r1 = Py_None; + cpy_r_block_identifier = cpy_r_r1; +CPyL3: ; + if (cpy_r_decimals != NULL) goto CPyL19; + cpy_r_r2 = Py_None; + cpy_r_decimals = cpy_r_r2; +CPyL5: ; + if (cpy_r_override != NULL) goto CPyL20; + cpy_r_r3 = Py_None; + cpy_r_override = cpy_r_r3; +CPyL7: ; + cpy_r_r4 = CPyDef_call___coroutine__get_coroutine_fn_env(); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 147, CPyStatic_call___globals); + goto CPyL21; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_env__); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_env__ = cpy_r_r0; + cpy_r_r5 = 1; + if (unlikely(!cpy_r_r5)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 147, CPyStatic_call___globals); + goto CPyL22; + } + CPy_INCREF(cpy_r_self); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__self != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__self); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__self = cpy_r_self; + cpy_r_r6 = 1; + if (unlikely(!cpy_r_r6)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 147, CPyStatic_call___globals); + goto CPyL22; + } + CPy_INCREF(cpy_r_args); + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__args != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__args); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__args = cpy_r_args; + cpy_r_r7 = 1; + if (unlikely(!cpy_r_r7)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 147, CPyStatic_call___globals); + goto CPyL22; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__block_identifier != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__block_identifier); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__block_identifier = cpy_r_block_identifier; + cpy_r_r8 = 1; + if (unlikely(!cpy_r_r8)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 147, CPyStatic_call___globals); + goto CPyL23; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__decimals != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__decimals); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__decimals = cpy_r_decimals; + cpy_r_r9 = 1; + if (unlikely(!cpy_r_r9)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 147, CPyStatic_call___globals); + goto CPyL24; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__override != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__override); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_generator_attribute__override = cpy_r_override; + cpy_r_r10 = 1; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 147, CPyStatic_call___globals); + goto CPyL25; + } + cpy_r_r11 = CPyDef_call___coroutine_gen___3_147(); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 147, CPyStatic_call___globals); + goto CPyL25; + } + CPy_INCREF_NO_IMM(cpy_r_r4); + if (((dank_mids___brownie_patch___call___coroutine_gen___3_147Object *)cpy_r_r11)->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___brownie_patch___call___coroutine_gen___3_147Object *)cpy_r_r11)->___mypyc_env__); + } + ((dank_mids___brownie_patch___call___coroutine_gen___3_147Object *)cpy_r_r11)->___mypyc_env__ = cpy_r_r4; + cpy_r_r12 = 1; + if (unlikely(!cpy_r_r12)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 147, CPyStatic_call___globals); + goto CPyL26; + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *)cpy_r_r4)->___mypyc_next_label__ = 0; + CPy_DECREF_NO_IMM(cpy_r_r4); + return cpy_r_r11; +CPyL17: ; + cpy_r_r14 = NULL; + return cpy_r_r14; +CPyL18: ; + CPy_INCREF(cpy_r_block_identifier); + goto CPyL3; +CPyL19: ; + CPy_INCREF(cpy_r_decimals); + goto CPyL5; +CPyL20: ; + CPy_INCREF(cpy_r_override); + goto CPyL7; +CPyL21: ; + CPy_DecRef(cpy_r_block_identifier); + CPy_DecRef(cpy_r_decimals); + CPy_DecRef(cpy_r_override); + CPy_DecRef(cpy_r_r0); + goto CPyL17; +CPyL22: ; + CPy_DecRef(cpy_r_block_identifier); + CPy_DecRef(cpy_r_decimals); + CPy_DecRef(cpy_r_override); + CPy_DecRef(cpy_r_r4); + goto CPyL17; +CPyL23: ; + CPy_DecRef(cpy_r_decimals); + CPy_DecRef(cpy_r_override); + CPy_DecRef(cpy_r_r4); + goto CPyL17; +CPyL24: ; + CPy_DecRef(cpy_r_override); + CPy_DecRef(cpy_r_r4); + goto CPyL17; +CPyL25: ; + CPy_DecRef(cpy_r_r4); + goto CPyL17; +CPyL26: ; + CPy_DecRef(cpy_r_r4); + CPy_DecRef(cpy_r_r11); + goto CPyL17; +} + +PyObject *CPyPy_call___coroutine__get_coroutine_fn_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"self", "block_identifier", "decimals", "override", 0}; + static CPyArg_Parser parser = {"%O|$OOO:__call__", kwlist, 0}; + PyObject *obj_self; + PyObject *obj_args; + PyObject *obj_block_identifier = NULL; + PyObject *obj_decimals = NULL; + PyObject *obj_override = NULL; + if (!CPyArg_ParseStackAndKeywords(args, PyVectorcall_NARGS(nargs), kwnames, &parser, &obj_args, NULL, &obj_self, &obj_block_identifier, &obj_decimals, &obj_override)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_self = obj_self; + PyObject *arg_args = obj_args; + PyObject *arg_block_identifier; + if (obj_block_identifier == NULL) { + arg_block_identifier = NULL; + goto __LL135; + } + arg_block_identifier = obj_block_identifier; + if (arg_block_identifier != NULL) goto __LL135; + if (obj_block_identifier == Py_None) + arg_block_identifier = obj_block_identifier; + else { + arg_block_identifier = NULL; + } + if (arg_block_identifier != NULL) goto __LL135; + CPy_TypeError("object or None", obj_block_identifier); + goto fail; +__LL135: ; + PyObject *arg_decimals; + if (obj_decimals == NULL) { + arg_decimals = NULL; + goto __LL136; + } + if (PyLong_Check(obj_decimals)) + arg_decimals = obj_decimals; + else { + arg_decimals = NULL; + } + if (arg_decimals != NULL) goto __LL136; + if (obj_decimals == Py_None) + arg_decimals = obj_decimals; + else { + arg_decimals = NULL; + } + if (arg_decimals != NULL) goto __LL136; + CPy_TypeError("int or None", obj_decimals); + goto fail; +__LL136: ; + PyObject *arg_override; + if (obj_override == NULL) { + arg_override = NULL; + goto __LL137; + } + if (PyDict_Check(obj_override)) + arg_override = obj_override; + else { + arg_override = NULL; + } + if (arg_override != NULL) goto __LL137; + if (obj_override == Py_None) + arg_override = obj_override; + else { + arg_override = NULL; + } + if (arg_override != NULL) goto __LL137; + CPy_TypeError("dict or None", obj_override); + goto fail; +__LL137: ; + PyObject *retval = CPyDef_call___coroutine__get_coroutine_fn_obj_____call__(arg___mypyc_self__, arg_self, arg_args, arg_block_identifier, arg_decimals, arg_override); + CPy_DECREF(obj_args); + return retval; +fail: ; + CPy_DECREF(obj_args); + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "coroutine", 147, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call____get_coroutine_fn(PyObject *cpy_r_w3, CPyTagged cpy_r_len_inputs) { + PyObject *cpy_r_r0; + char cpy_r_r1; + char cpy_r_r2; + char cpy_r_r3; + char cpy_r_r4; + CPyTagged cpy_r_r5; + char cpy_r_r6; + PyObject *cpy_r_r7; + char cpy_r_r8; + char cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + char cpy_r_r13; + PyObject *cpy_r_r14; + char cpy_r_r15; + PyObject *cpy_r_coroutine; + PyObject *cpy_r_r16; + cpy_r_r0 = CPyDef_call____get_coroutine_fn_env(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_get_coroutine_fn", 141, CPyStatic_call___globals); + goto CPyL18; + } + CPy_INCREF(cpy_r_w3); + if (((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r0)->_w3 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r0)->_w3); + } + ((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r0)->_w3 = cpy_r_w3; + cpy_r_r1 = 1; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_get_coroutine_fn", 141, CPyStatic_call___globals); + goto CPyL19; + } + CPyTagged_INCREF(cpy_r_len_inputs); + if (((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r0)->_len_inputs != CPY_INT_TAG) { + CPyTagged_DECREF(((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r0)->_len_inputs); + } + ((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r0)->_len_inputs = cpy_r_len_inputs; + cpy_r_r2 = 1; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_get_coroutine_fn", 141, CPyStatic_call___globals); + goto CPyL19; + } + cpy_r_r3 = CPyStatic_call___APPLICATION_MODE; + if (unlikely(cpy_r_r3 == 2)) { + goto CPyL20; + } else + goto CPyL6; +CPyL4: ; + PyErr_SetString(PyExc_NameError, "value for final name \"APPLICATION_MODE\" was not set"); + cpy_r_r4 = 0; + if (unlikely(!cpy_r_r4)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_get_coroutine_fn", 142, CPyStatic_call___globals); + goto CPyL18; + } + CPy_Unreachable(); +CPyL6: ; + if (cpy_r_r3) goto CPyL9; + cpy_r_r5 = ((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r0)->_len_inputs; + if (unlikely(cpy_r_r5 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "_get_coroutine_fn", "_get_coroutine_fn_env", "len_inputs", 142, CPyStatic_call___globals); + goto CPyL19; + } + CPyTagged_INCREF(cpy_r_r5); +CPyL8: ; + cpy_r_r6 = cpy_r_r5 != 0; + CPyTagged_DECREF(cpy_r_r5); + if (!cpy_r_r6) goto CPyL13; +CPyL9: ; + cpy_r_r7 = CPyStatic_call___encode; + if (unlikely(cpy_r_r7 == NULL)) { + goto CPyL21; + } else + goto CPyL12; +CPyL10: ; + PyErr_SetString(PyExc_NameError, "value for final name \"encode\" was not set"); + cpy_r_r8 = 0; + if (unlikely(!cpy_r_r8)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_get_coroutine_fn", 143, CPyStatic_call___globals); + goto CPyL18; + } + CPy_Unreachable(); +CPyL12: ; + CPy_INCREF(cpy_r_r7); + if (((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r0)->_get_request_data != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r0)->_get_request_data); + } + ((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r0)->_get_request_data = cpy_r_r7; + cpy_r_r9 = 1; + if (unlikely(!cpy_r_r9)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_get_coroutine_fn", 143, CPyStatic_call___globals); + goto CPyL19; + } else + goto CPyL15; +CPyL13: ; + cpy_r_r10 = CPyStatic_call___globals; + cpy_r_r11 = CPyStatics[382]; /* '_request_data_no_args' */ + cpy_r_r12 = CPyDict_GetItem(cpy_r_r10, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_get_coroutine_fn", 145, CPyStatic_call___globals); + goto CPyL19; + } + if (((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r0)->_get_request_data != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r0)->_get_request_data); + } + ((dank_mids___brownie_patch___call____get_coroutine_fn_envObject *)cpy_r_r0)->_get_request_data = cpy_r_r12; + cpy_r_r13 = 1; + if (unlikely(!cpy_r_r13)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_get_coroutine_fn", 145, CPyStatic_call___globals); + goto CPyL19; + } +CPyL15: ; + cpy_r_r14 = CPyDef_call___coroutine__get_coroutine_fn_obj(); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_get_coroutine_fn", 147, CPyStatic_call___globals); + goto CPyL19; + } + if (((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *)cpy_r_r14)->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *)cpy_r_r14)->___mypyc_env__); + } + ((dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *)cpy_r_r14)->___mypyc_env__ = cpy_r_r0; + cpy_r_r15 = 1; + if (unlikely(!cpy_r_r15)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_get_coroutine_fn", 147, CPyStatic_call___globals); + goto CPyL22; + } + cpy_r_coroutine = cpy_r_r14; + return cpy_r_coroutine; +CPyL18: ; + cpy_r_r16 = NULL; + return cpy_r_r16; +CPyL19: ; + CPy_DecRef(cpy_r_r0); + goto CPyL18; +CPyL20: ; + CPy_DecRef(cpy_r_r0); + goto CPyL4; +CPyL21: ; + CPy_DecRef(cpy_r_r0); + goto CPyL10; +CPyL22: ; + CPy_DecRef(cpy_r_r14); + goto CPyL18; +} + +PyObject *CPyPy_call____get_coroutine_fn(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"w3", "len_inputs", 0}; + static CPyArg_Parser parser = {"OO:_get_coroutine_fn", kwlist, 0}; + PyObject *obj_w3; + PyObject *obj_len_inputs; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_w3, &obj_len_inputs)) { + return NULL; + } + PyObject *arg_w3 = obj_w3; + CPyTagged arg_len_inputs; + if (likely(PyLong_Check(obj_len_inputs))) + arg_len_inputs = CPyTagged_BorrowFromObject(obj_len_inputs); + else { + CPy_TypeError("int", obj_len_inputs); goto fail; + } + PyObject *retval = CPyDef_call____get_coroutine_fn(arg_w3, arg_len_inputs); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_get_coroutine_fn", 141, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call____call_no_args(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject **cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + cpy_r_r0 = CPyStatics[369]; /* 'coroutine' */ + PyObject *cpy_r_r1[1] = {cpy_r_self}; + cpy_r_r2 = (PyObject **)&cpy_r_r1; + cpy_r_r3 = PyObject_VectorcallMethod(cpy_r_r0, cpy_r_r2, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_call_no_args", 181, CPyStatic_call___globals); + goto CPyL3; + } + cpy_r_r4 = CPyStatics[15]; /* '__await__' */ + PyObject *cpy_r_r5[1] = {cpy_r_r3}; + cpy_r_r6 = (PyObject **)&cpy_r_r5; + cpy_r_r7 = PyObject_VectorcallMethod(cpy_r_r4, cpy_r_r6, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_call_no_args", 181, CPyStatic_call___globals); + goto CPyL4; + } + CPy_DECREF(cpy_r_r3); + return cpy_r_r7; +CPyL3: ; + cpy_r_r8 = NULL; + return cpy_r_r8; +CPyL4: ; + CPy_DecRef(cpy_r_r3); + goto CPyL3; +} + +PyObject *CPyPy_call____call_no_args(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"self", 0}; + static CPyArg_Parser parser = {"O:_call_no_args", kwlist, 0}; + PyObject *obj_self; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_self)) { + return NULL; + } + PyObject *arg_self = obj_self; + PyObject *retval = CPyDef_call____call_no_args(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_call_no_args", 179, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___encode_input_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + int32_t cpy_r_r2; + PyObject *cpy_r_r3; + char cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + char cpy_r_r7; + PyObject *cpy_r_r8; + CPyPtr cpy_r_r9; + int64_t cpy_r_r10; + char cpy_r_r11; + char cpy_r_r12; + int64_t cpy_r_r13; + int64_t cpy_r_r14; + char cpy_r_r15; + PyObject *cpy_r_r16; + int64_t cpy_r_r17; + PyObject *cpy_r_r18; + char cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + char cpy_r_r22; + int32_t cpy_r_r23; + char cpy_r_r24; + char cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + char cpy_r_r28; + int64_t cpy_r_r29; + int64_t cpy_r_r30; + char cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + CPyPtr cpy_r_r43; + CPyPtr cpy_r_r44; + CPyPtr cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + char cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + CPyPtr cpy_r_r54; + CPyPtr cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + char cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + char cpy_r_r66; + PyObject *cpy_r_r67; + char cpy_r_r68; + PyObject *cpy_r_r69; + char cpy_r_r70; + tuple_T3OOO cpy_r_r71; + char cpy_r_r72; + PyObject **cpy_r_r73; + PyObject *cpy_r_r74; + char cpy_r_r75; + tuple_T3OOO cpy_r_r76; + tuple_T3OOO cpy_r_r77; + tuple_T3OOO cpy_r_r78; + char cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + char cpy_r_r83; + tuple_T3OOO cpy_r_r84; + char cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + PyObject *cpy_r_r88; + PyObject *cpy_r_r89; + PyObject *cpy_r_r90; + PyObject *cpy_r_r91; + tuple_T2OO cpy_r_r92; + PyObject *cpy_r_r93; + char cpy_r_r94; + PyObject *cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + PyObject *cpy_r_r98; + PyObject *cpy_r_r99; + PyObject *cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + PyObject *cpy_r_r104; + PyObject *cpy_r_r105; + CPyPtr cpy_r_r106; + CPyPtr cpy_r_r107; + CPyPtr cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + PyObject *cpy_r_r111; + char cpy_r_r112; + PyObject *cpy_r_r113; + PyObject *cpy_r_r114; + PyObject *cpy_r_r115; + char cpy_r_r116; + PyObject *cpy_r_r117; + char cpy_r_r118; + PyObject *cpy_r_r119; + PyObject *cpy_r_r120; + PyObject *cpy_r_r121; + PyObject *cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + PyObject *cpy_r_r126; + PyObject *cpy_r_r127; + PyObject *cpy_r_r128; + PyObject *cpy_r_r129; + PyObject **cpy_r_r131; + PyObject *cpy_r_r132; + PyObject *cpy_r_r133; + PyObject *cpy_r_r134; + PyObject *cpy_r_r135; + PyObject *cpy_r_r136; + PyObject *cpy_r_r137; + PyObject *cpy_r_r138; + PyObject *cpy_r_r139; + PyObject *cpy_r_r140; + PyObject *cpy_r_r141; + PyObject *cpy_r_r142; + PyObject **cpy_r_r144; + PyObject *cpy_r_r145; + PyObject *cpy_r_r146; + PyObject *cpy_r_r147; + PyObject *cpy_r_r148; + PyObject *cpy_r_r149; + int32_t cpy_r_r150; + char cpy_r_r151; + CPyTagged cpy_r_r152; + char cpy_r_r153; + PyObject *cpy_r_r154; + PyObject *cpy_r_r155; + PyObject *cpy_r_r156; + PyObject *cpy_r_r157; + PyObject *cpy_r_r158; + PyObject *cpy_r_r159; + PyObject *cpy_r_r160; + PyObject *cpy_r_r161; + PyObject *cpy_r_r162; + PyObject *cpy_r_r163; + PyObject *cpy_r_r164; + CPyPtr cpy_r_r165; + CPyPtr cpy_r_r166; + CPyPtr cpy_r_r167; + PyObject *cpy_r_r168; + PyObject *cpy_r_r169; + PyObject *cpy_r_r170; + PyObject *cpy_r_r171; + PyObject *cpy_r_r172; + PyObject *cpy_r_r173; + PyObject *cpy_r_r174; + char cpy_r_r175; + PyObject *cpy_r_r176; + PyObject *cpy_r_r177; + PyObject *cpy_r_r178; + char cpy_r_r179; + CPyTagged cpy_r_r180; + char cpy_r_r181; + PyObject *cpy_r_r182; + PyObject *cpy_r_r183; + PyObject *cpy_r_r184; + PyObject *cpy_r_r185; + PyObject *cpy_r_r186; + PyObject *cpy_r_r187; + PyObject *cpy_r_r188; + PyObject *cpy_r_r189; + PyObject *cpy_r_r190; + PyObject *cpy_r_r191; + PyObject *cpy_r_r192; + CPyPtr cpy_r_r193; + CPyPtr cpy_r_r194; + CPyPtr cpy_r_r195; + PyObject *cpy_r_r196; + PyObject *cpy_r_r197; + PyObject *cpy_r_r198; + PyObject *cpy_r_r199; + PyObject *cpy_r_r200; + PyObject *cpy_r_r201; + PyObject *cpy_r_r202; + char cpy_r_r203; + tuple_T3OOO cpy_r_r204; + tuple_T3OOO cpy_r_r205; + char cpy_r_r206; + PyObject *cpy_r_r207; + PyObject *cpy_r_r208; + PyObject *cpy_r_r209; + PyObject *cpy_r_r210; + int32_t cpy_r_r211; + char cpy_r_r212; + char cpy_r_r213; + PyObject *cpy_r_r214; + PyObject *cpy_r_r215; + PyObject *cpy_r_r216; + PyObject *cpy_r_r217; + PyObject *cpy_r_r218; + CPyPtr cpy_r_r219; + int64_t cpy_r_r220; + CPyTagged cpy_r_r221; + char cpy_r_r222; + PyObject *cpy_r_r223; + PyObject *cpy_r_r224; + PyObject *cpy_r_r225; + char cpy_r_r226; + PyObject *cpy_r_r227; + PyObject *cpy_r_r228; + PyObject *cpy_r_r229; + PyObject *cpy_r_r230; + PyObject *cpy_r_r231; + PyObject **cpy_r_r233; + PyObject *cpy_r_r234; + char cpy_r_r235; + PyObject *cpy_r_r236; + PyObject *cpy_r_r237; + PyObject *cpy_r_r238; + PyObject *cpy_r_r239; + PyObject *cpy_r_r240; + char cpy_r_r241; + PyObject *cpy_r_r242; + PyObject *cpy_r_r243; + PyObject *cpy_r_r244; + char cpy_r_r245; + PyObject *cpy_r_r246; + PyObject *cpy_r_r247; + PyObject *cpy_r_r248; + PyObject *cpy_r_r249; + PyObject *cpy_r_r250; + PyObject *cpy_r_r251; + PyObject *cpy_r_r252; + PyObject *cpy_r_r253; + PyObject *cpy_r_r254; + PyObject *cpy_r_r255; + PyObject *cpy_r_r256; + PyObject *cpy_r_r257; + PyObject *cpy_r_r258; + PyObject *cpy_r_r259; + PyObject *cpy_r_r260; + PyObject **cpy_r_r262; + PyObject *cpy_r_r263; + PyObject *cpy_r_r264; + PyObject *cpy_r_r265; + char cpy_r_r266; + char cpy_r_r267; + char cpy_r_r268; + char cpy_r_r269; + PyObject *cpy_r_r270; + cpy_r_r0 = NULL; + cpy_r_r1 = cpy_r_r0; + cpy_r_r2 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__; + goto CPyL199; +CPyL1: ; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = cpy_r_type != cpy_r_r3; + if (!cpy_r_r4) goto CPyL4; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 184, CPyStatic_call___globals); + goto CPyL203; + } + CPy_Unreachable(); +CPyL4: ; + cpy_r_r5 = 0; + cpy_r_r6 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__args; + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "args", 186, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r6); +CPyL5: ; + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__27 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__27); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__27 = cpy_r_r6; + cpy_r_r7 = 1; + if (unlikely(!cpy_r_r7)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", -1, CPyStatic_call___globals); + goto CPyL203; + } + cpy_r_r8 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__27; + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "__mypyc_temp__27", 186, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r8); +CPyL7: ; + cpy_r_r9 = (CPyPtr)&((PyVarObject *)cpy_r_r8)->ob_size; + cpy_r_r10 = *(int64_t *)cpy_r_r9; + CPy_DECREF(cpy_r_r8); + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__28 = cpy_r_r10; + cpy_r_r11 = 1; + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", -1, CPyStatic_call___globals); + goto CPyL203; + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__29 = 0; + cpy_r_r12 = 1; + if (unlikely(!cpy_r_r12)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", -1, CPyStatic_call___globals); + goto CPyL203; + } +CPyL9: ; + cpy_r_r13 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__28; + if (unlikely(cpy_r_r13 == -113)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "__mypyc_temp__28", 186, CPyStatic_call___globals); + goto CPyL203; + } +CPyL10: ; + cpy_r_r14 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__29; + if (unlikely(cpy_r_r14 == -113)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "__mypyc_temp__29", 186, CPyStatic_call___globals); + goto CPyL203; + } +CPyL11: ; + cpy_r_r15 = cpy_r_r14 < cpy_r_r13; + if (!cpy_r_r15) goto CPyL27; + cpy_r_r16 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__27; + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "__mypyc_temp__27", 186, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r16); +CPyL13: ; + cpy_r_r17 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__29; + if (unlikely(cpy_r_r17 == -113)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "__mypyc_temp__29", 186, CPyStatic_call___globals); + goto CPyL204; + } +CPyL14: ; + cpy_r_r18 = CPySequenceTuple_GetItemUnsafe(cpy_r_r16, cpy_r_r17); + CPy_DECREF(cpy_r_r16); + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__arg != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__arg); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__arg = cpy_r_r18; + cpy_r_r19 = 1; + if (unlikely(!cpy_r_r19)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 186, CPyStatic_call___globals); + goto CPyL203; + } + cpy_r_r20 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__arg; + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "arg", 186, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r20); +CPyL16: ; + cpy_r_r21 = CPyStatic_call___Contract; + if (unlikely(cpy_r_r21 == NULL)) { + goto CPyL205; + } else + goto CPyL19; +CPyL17: ; + PyErr_SetString(PyExc_NameError, "value for final name \"Contract\" was not set"); + cpy_r_r22 = 0; + if (unlikely(!cpy_r_r22)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 186, CPyStatic_call___globals); + goto CPyL203; + } + CPy_Unreachable(); +CPyL19: ; + cpy_r_r23 = PyObject_IsInstance(cpy_r_r20, cpy_r_r21); + CPy_DECREF(cpy_r_r20); + cpy_r_r24 = cpy_r_r23 >= 0; + if (unlikely(!cpy_r_r24)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 186, CPyStatic_call___globals); + goto CPyL203; + } + cpy_r_r25 = cpy_r_r23; + if (!cpy_r_r25) goto CPyL22; + if (cpy_r_r25) { + goto CPyL24; + } else + goto CPyL25; +CPyL22: ; + cpy_r_r26 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__arg; + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "arg", 186, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r26); +CPyL23: ; + cpy_r_r27 = CPyStatics[383]; /* '__contains__' */ + cpy_r_r28 = PyObject_HasAttr(cpy_r_r26, cpy_r_r27); + CPy_DECREF(cpy_r_r26); + if (!cpy_r_r28) goto CPyL25; +CPyL24: ; + cpy_r_r5 = 1; + goto CPyL27; +CPyL25: ; + cpy_r_r29 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__29; + if (unlikely(cpy_r_r29 == -113)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "__mypyc_temp__29", 186, CPyStatic_call___globals); + goto CPyL203; + } +CPyL26: ; + cpy_r_r30 = cpy_r_r29 + 1; + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__29 = cpy_r_r30; + cpy_r_r31 = 1; + if (unlikely(!cpy_r_r31)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 186, CPyStatic_call___globals); + goto CPyL203; + } else + goto CPyL9; +CPyL27: ; + if (!cpy_r_r5) goto CPyL39; + cpy_r_r32 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 188, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r32); +CPyL29: ; + cpy_r_r33 = CPyStatics[330]; /* 'abi' */ + cpy_r_r34 = CPyObject_GetAttr(cpy_r_r32, cpy_r_r33); + CPy_DECREF(cpy_r_r32); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 188, CPyStatic_call___globals); + goto CPyL203; + } + cpy_r_r35 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r35 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 188, CPyStatic_call___globals); + goto CPyL206; + } + CPy_INCREF(cpy_r_r35); +CPyL31: ; + cpy_r_r36 = CPyStatics[332]; /* 'signature' */ + cpy_r_r37 = CPyObject_GetAttr(cpy_r_r35, cpy_r_r36); + CPy_DECREF(cpy_r_r35); + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 188, CPyStatic_call___globals); + goto CPyL206; + } + cpy_r_r38 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__args; + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "args", 188, CPyStatic_call___globals); + goto CPyL207; + } + CPy_INCREF(cpy_r_r38); +CPyL33: ; + cpy_r_r39 = CPyStatic_call___globals; + cpy_r_r40 = CPyStatics[360]; /* '__encode_input' */ + cpy_r_r41 = CPyDict_GetItem(cpy_r_r39, cpy_r_r40); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 188, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r42 = PyList_New(2); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 188, CPyStatic_call___globals); + goto CPyL209; + } + cpy_r_r43 = (CPyPtr)&((PyListObject *)cpy_r_r42)->ob_item; + cpy_r_r44 = *(CPyPtr *)cpy_r_r43; + *(PyObject * *)cpy_r_r44 = cpy_r_r34; + cpy_r_r45 = cpy_r_r44 + 8; + *(PyObject * *)cpy_r_r45 = cpy_r_r37; + cpy_r_r46 = CPyList_Extend(cpy_r_r42, cpy_r_r38); + CPy_DECREF(cpy_r_r38); + if (unlikely(cpy_r_r46 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 188, CPyStatic_call___globals); + goto CPyL210; + } else + goto CPyL211; +CPyL36: ; + cpy_r_r47 = PyList_AsTuple(cpy_r_r42); + CPy_DECREF_NO_IMM(cpy_r_r42); + if (unlikely(cpy_r_r47 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 188, CPyStatic_call___globals); + goto CPyL212; + } + cpy_r_r48 = PyObject_CallObject(cpy_r_r41, cpy_r_r47); + CPy_DECREF(cpy_r_r41); + CPy_DECREF(cpy_r_r47); + if (unlikely(cpy_r_r48 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 188, CPyStatic_call___globals); + goto CPyL203; + } + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data = cpy_r_r48; + cpy_r_r49 = 1; + if (unlikely(!cpy_r_r49)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 188, CPyStatic_call___globals); + goto CPyL203; + } else + goto CPyL151; +CPyL39: ; + cpy_r_r50 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r50 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 191, CPyStatic_call___globals); + goto CPyL75; + } + CPy_INCREF(cpy_r_r50); +CPyL40: ; + cpy_r_r51 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__args; + if (unlikely(cpy_r_r51 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "args", 191, CPyStatic_call___globals); + goto CPyL213; + } + CPy_INCREF(cpy_r_r51); +CPyL41: ; + cpy_r_r52 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__get_request_data; + if (unlikely(cpy_r_r52 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "get_request_data", 191, CPyStatic_call___globals); + goto CPyL214; + } + CPy_INCREF(cpy_r_r52); +CPyL42: ; + cpy_r_r53 = PyList_New(1); + if (unlikely(cpy_r_r53 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 191, CPyStatic_call___globals); + goto CPyL215; + } + cpy_r_r54 = (CPyPtr)&((PyListObject *)cpy_r_r53)->ob_item; + cpy_r_r55 = *(CPyPtr *)cpy_r_r54; + *(PyObject * *)cpy_r_r55 = cpy_r_r50; + cpy_r_r56 = CPyList_Extend(cpy_r_r53, cpy_r_r51); + CPy_DECREF(cpy_r_r51); + if (unlikely(cpy_r_r56 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 191, CPyStatic_call___globals); + goto CPyL216; + } else + goto CPyL217; +CPyL44: ; + cpy_r_r57 = PyList_AsTuple(cpy_r_r53); + CPy_DECREF_NO_IMM(cpy_r_r53); + if (unlikely(cpy_r_r57 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 191, CPyStatic_call___globals); + goto CPyL218; + } + cpy_r_r58 = PyObject_CallObject(cpy_r_r52, cpy_r_r57); + CPy_DECREF(cpy_r_r52); + CPy_DECREF(cpy_r_r57); + if (unlikely(cpy_r_r58 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 191, CPyStatic_call___globals); + goto CPyL75; + } + cpy_r_r59 = CPy_GetCoro(cpy_r_r58); + CPy_DECREF(cpy_r_r58); + if (unlikely(cpy_r_r59 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 191, CPyStatic_call___globals); + goto CPyL75; + } + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__30 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__30); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__30 = cpy_r_r59; + cpy_r_r60 = 1; + if (unlikely(!cpy_r_r60)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", -1, CPyStatic_call___globals); + goto CPyL75; + } + cpy_r_r61 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__30; + if (unlikely(cpy_r_r61 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "__mypyc_temp__30", -1, CPyStatic_call___globals); + goto CPyL75; + } + CPy_INCREF(cpy_r_r61); +CPyL49: ; + cpy_r_r62 = CPyIter_Next(cpy_r_r61); + CPy_DECREF(cpy_r_r61); + if (cpy_r_r62 != NULL) goto CPyL52; + cpy_r_r63 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r63 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 191, CPyStatic_call___globals); + goto CPyL75; + } + cpy_r_r64 = cpy_r_r63; + cpy_r_r65 = NULL; + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__30 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__30); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__30 = cpy_r_r65; + cpy_r_r66 = 1; + if (unlikely(!cpy_r_r66)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 191, CPyStatic_call___globals); + goto CPyL219; + } else + goto CPyL74; +CPyL52: ; + cpy_r_r67 = cpy_r_r62; +CPyL53: ; + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 1; + return cpy_r_r67; +CPyL54: ; + cpy_r_r69 = (PyObject *)&_Py_NoneStruct; + cpy_r_r70 = cpy_r_type != cpy_r_r69; + if (!cpy_r_r70) goto CPyL220; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 191, CPyStatic_call___globals); + goto CPyL58; + } else + goto CPyL221; +CPyL56: ; + CPy_Unreachable(); +CPyL57: ; + CPy_INCREF(cpy_r_arg); + goto CPyL69; +CPyL58: ; + cpy_r_r71 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__31.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__31.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__31.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__31.f2); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__31 = cpy_r_r71; + cpy_r_r72 = 1; + if (unlikely(!cpy_r_r72)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", -1, CPyStatic_call___globals); + goto CPyL222; + } + cpy_r_r73 = (PyObject **)&cpy_r_r1; + cpy_r_r74 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__30; + if (unlikely(cpy_r_r74 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "__mypyc_temp__30", -1, CPyStatic_call___globals); + goto CPyL222; + } + CPy_INCREF(cpy_r_r74); +CPyL60: ; + cpy_r_r75 = CPy_YieldFromErrorHandle(cpy_r_r74, cpy_r_r73); + CPy_DecRef(cpy_r_r74); + if (unlikely(cpy_r_r75 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 191, CPyStatic_call___globals); + goto CPyL222; + } + if (cpy_r_r75) goto CPyL64; + cpy_r_r67 = cpy_r_r1; + cpy_r_r76 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__31; + if (unlikely(cpy_r_r76.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "__mypyc_temp__31", -1, CPyStatic_call___globals); + goto CPyL223; + } + CPy_INCREF(cpy_r_r76.f0); + CPy_INCREF(cpy_r_r76.f1); + CPy_INCREF(cpy_r_r76.f2); +CPyL63: ; + CPy_RestoreExcInfo(cpy_r_r76); + CPy_DecRef(cpy_r_r76.f0); + CPy_DecRef(cpy_r_r76.f1); + CPy_DecRef(cpy_r_r76.f2); + goto CPyL53; +CPyL64: ; + cpy_r_r64 = cpy_r_r1; + cpy_r_r77 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__31; + if (unlikely(cpy_r_r77.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "__mypyc_temp__31", -1, CPyStatic_call___globals); + goto CPyL224; + } + CPy_INCREF(cpy_r_r77.f0); + CPy_INCREF(cpy_r_r77.f1); + CPy_INCREF(cpy_r_r77.f2); +CPyL65: ; + CPy_RestoreExcInfo(cpy_r_r77); + CPy_DecRef(cpy_r_r77.f0); + CPy_DecRef(cpy_r_r77.f1); + CPy_DecRef(cpy_r_r77.f2); + goto CPyL74; +CPyL66: ; + cpy_r_r78 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__31; + if (unlikely(cpy_r_r78.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "__mypyc_temp__31", -1, CPyStatic_call___globals); + goto CPyL75; + } + CPy_INCREF(cpy_r_r78.f0); + CPy_INCREF(cpy_r_r78.f1); + CPy_INCREF(cpy_r_r78.f2); +CPyL67: ; + CPy_RestoreExcInfo(cpy_r_r78); + CPy_DecRef(cpy_r_r78.f0); + CPy_DecRef(cpy_r_r78.f1); + CPy_DecRef(cpy_r_r78.f2); + cpy_r_r79 = CPy_KeepPropagating(); + if (!cpy_r_r79) goto CPyL75; + CPy_Unreachable(); +CPyL69: ; + cpy_r_r80 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__30; + if (unlikely(cpy_r_r80 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "__mypyc_temp__30", -1, CPyStatic_call___globals); + goto CPyL225; + } + CPy_INCREF(cpy_r_r80); +CPyL70: ; + cpy_r_r81 = CPyIter_Send(cpy_r_r80, cpy_r_arg); + CPy_DECREF(cpy_r_r80); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r81 == NULL) goto CPyL72; + cpy_r_r67 = cpy_r_r81; + goto CPyL53; +CPyL72: ; + cpy_r_r82 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r82 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 191, CPyStatic_call___globals); + goto CPyL75; + } + cpy_r_r64 = cpy_r_r82; +CPyL74: ; + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data = cpy_r_r64; + cpy_r_r83 = 1; + if (unlikely(!cpy_r_r83)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 191, CPyStatic_call___globals); + } else + goto CPyL151; +CPyL75: ; + cpy_r_r84 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__32.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__32.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__32.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__32.f2); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__32 = cpy_r_r84; + cpy_r_r85 = 1; + if (unlikely(!cpy_r_r85)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", -1, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r86 = CPyModule_builtins; + cpy_r_r87 = CPyStatics[189]; /* 'AttributeError' */ + cpy_r_r88 = CPyObject_GetAttr(cpy_r_r86, cpy_r_r87); + if (unlikely(cpy_r_r88 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 192, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r89 = CPyModule_builtins; + cpy_r_r90 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r91 = CPyObject_GetAttr(cpy_r_r89, cpy_r_r90); + if (unlikely(cpy_r_r91 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 192, CPyStatic_call___globals); + goto CPyL226; + } + cpy_r_r92.f0 = cpy_r_r88; + cpy_r_r92.f1 = cpy_r_r91; + cpy_r_r93 = PyTuple_New(2); + if (unlikely(cpy_r_r93 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp138 = cpy_r_r92.f0; + PyTuple_SET_ITEM(cpy_r_r93, 0, __tmp138); + PyObject *__tmp139 = cpy_r_r92.f1; + PyTuple_SET_ITEM(cpy_r_r93, 1, __tmp139); + cpy_r_r94 = CPy_ExceptionMatches(cpy_r_r93); + CPy_DecRef(cpy_r_r93); + if (!cpy_r_r94) goto CPyL90; + cpy_r_r95 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r95 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 194, CPyStatic_call___globals); + goto CPyL148; + } + CPy_INCREF(cpy_r_r95); +CPyL80: ; + cpy_r_r96 = CPyStatics[330]; /* 'abi' */ + cpy_r_r97 = CPyObject_GetAttr(cpy_r_r95, cpy_r_r96); + CPy_DecRef(cpy_r_r95); + if (unlikely(cpy_r_r97 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 194, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r98 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r98 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 194, CPyStatic_call___globals); + goto CPyL227; + } + CPy_INCREF(cpy_r_r98); +CPyL82: ; + cpy_r_r99 = CPyStatics[332]; /* 'signature' */ + cpy_r_r100 = CPyObject_GetAttr(cpy_r_r98, cpy_r_r99); + CPy_DecRef(cpy_r_r98); + if (unlikely(cpy_r_r100 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 194, CPyStatic_call___globals); + goto CPyL227; + } + cpy_r_r101 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__args; + if (unlikely(cpy_r_r101 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "args", 194, CPyStatic_call___globals); + goto CPyL228; + } + CPy_INCREF(cpy_r_r101); +CPyL84: ; + cpy_r_r102 = CPyStatic_call___globals; + cpy_r_r103 = CPyStatics[360]; /* '__encode_input' */ + cpy_r_r104 = CPyDict_GetItem(cpy_r_r102, cpy_r_r103); + if (unlikely(cpy_r_r104 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 194, CPyStatic_call___globals); + goto CPyL229; + } + cpy_r_r105 = PyList_New(2); + if (unlikely(cpy_r_r105 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 194, CPyStatic_call___globals); + goto CPyL230; + } + cpy_r_r106 = (CPyPtr)&((PyListObject *)cpy_r_r105)->ob_item; + cpy_r_r107 = *(CPyPtr *)cpy_r_r106; + *(PyObject * *)cpy_r_r107 = cpy_r_r97; + cpy_r_r108 = cpy_r_r107 + 8; + *(PyObject * *)cpy_r_r108 = cpy_r_r100; + cpy_r_r109 = CPyList_Extend(cpy_r_r105, cpy_r_r101); + CPy_DecRef(cpy_r_r101); + if (unlikely(cpy_r_r109 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 194, CPyStatic_call___globals); + goto CPyL231; + } else + goto CPyL232; +CPyL87: ; + cpy_r_r110 = PyList_AsTuple(cpy_r_r105); + CPy_DecRef(cpy_r_r105); + if (unlikely(cpy_r_r110 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 194, CPyStatic_call___globals); + goto CPyL233; + } + cpy_r_r111 = PyObject_CallObject(cpy_r_r104, cpy_r_r110); + CPy_DecRef(cpy_r_r104); + CPy_DecRef(cpy_r_r110); + if (unlikely(cpy_r_r111 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 194, CPyStatic_call___globals); + goto CPyL148; + } + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data = cpy_r_r111; + cpy_r_r112 = 1; + if (unlikely(!cpy_r_r112)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 194, CPyStatic_call___globals); + goto CPyL148; + } else + goto CPyL146; +CPyL90: ; + cpy_r_r113 = CPyStatic_call___globals; + cpy_r_r114 = CPyStatics[384]; /* 'BrokenProcessPool' */ + cpy_r_r115 = CPyDict_GetItem(cpy_r_r113, cpy_r_r114); + if (unlikely(cpy_r_r115 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 196, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r116 = CPy_ExceptionMatches(cpy_r_r115); + CPy_DecRef(cpy_r_r115); + if (!cpy_r_r116) goto CPyL125; + cpy_r_r117 = CPyStatic_call___logger; + if (likely(cpy_r_r117 != NULL)) goto CPyL95; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r118 = 0; + if (unlikely(!cpy_r_r118)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 197, CPyStatic_call___globals); + goto CPyL148; + } + CPy_Unreachable(); +CPyL95: ; + cpy_r_r119 = CPyStatics[385]; /* 'Oh fuck, you broke the %s while decoding %s with abi %s' */ + cpy_r_r120 = CPyStatic_call___globals; + cpy_r_r121 = CPyStatics[358]; /* 'ENVS' */ + cpy_r_r122 = CPyDict_GetItem(cpy_r_r120, cpy_r_r121); + if (unlikely(cpy_r_r122 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 197, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r123 = CPyStatics[359]; /* 'BROWNIE_ENCODER_PROCESSES' */ + cpy_r_r124 = CPyObject_GetAttr(cpy_r_r122, cpy_r_r123); + CPy_DecRef(cpy_r_r122); + if (unlikely(cpy_r_r124 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 197, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r125 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r125 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "data", 197, CPyStatic_call___globals); + goto CPyL234; + } + CPy_INCREF(cpy_r_r125); +CPyL98: ; + cpy_r_r126 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r126 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 197, CPyStatic_call___globals); + goto CPyL235; + } + CPy_INCREF(cpy_r_r126); +CPyL99: ; + cpy_r_r127 = CPyStatics[330]; /* 'abi' */ + cpy_r_r128 = CPyObject_GetAttr(cpy_r_r126, cpy_r_r127); + CPy_DecRef(cpy_r_r126); + if (unlikely(cpy_r_r128 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 197, CPyStatic_call___globals); + goto CPyL235; + } + cpy_r_r129 = CPyStatics[386]; /* 'critical' */ + PyObject *cpy_r_r130[5] = {cpy_r_r117, cpy_r_r119, cpy_r_r124, cpy_r_r125, cpy_r_r128}; + cpy_r_r131 = (PyObject **)&cpy_r_r130; + cpy_r_r132 = PyObject_VectorcallMethod(cpy_r_r129, cpy_r_r131, 9223372036854775813ULL, 0); + if (unlikely(cpy_r_r132 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 197, CPyStatic_call___globals); + goto CPyL236; + } else + goto CPyL237; +CPyL101: ; + CPy_DecRef(cpy_r_r124); + CPy_DecRef(cpy_r_r125); + CPy_DecRef(cpy_r_r128); + cpy_r_r133 = CPyStatic_call___globals; + cpy_r_r134 = CPyStatics[358]; /* 'ENVS' */ + cpy_r_r135 = CPyDict_GetItem(cpy_r_r133, cpy_r_r134); + if (unlikely(cpy_r_r135 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 199, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r136 = CPyStatics[359]; /* 'BROWNIE_ENCODER_PROCESSES' */ + cpy_r_r137 = CPyObject_GetAttr(cpy_r_r135, cpy_r_r136); + CPy_DecRef(cpy_r_r135); + if (unlikely(cpy_r_r137 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 199, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r138 = CPyStatics[387]; /* '_max_workers' */ + cpy_r_r139 = CPyObject_GetAttr(cpy_r_r137, cpy_r_r138); + CPy_DecRef(cpy_r_r137); + if (unlikely(cpy_r_r139 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 199, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r140 = CPyStatic_call___globals; + cpy_r_r141 = CPyStatics[388]; /* 'AsyncProcessPoolExecutor' */ + cpy_r_r142 = CPyDict_GetItem(cpy_r_r140, cpy_r_r141); + if (unlikely(cpy_r_r142 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 199, CPyStatic_call___globals); + goto CPyL238; + } + PyObject *cpy_r_r143[1] = {cpy_r_r139}; + cpy_r_r144 = (PyObject **)&cpy_r_r143; + cpy_r_r145 = PyObject_Vectorcall(cpy_r_r142, cpy_r_r144, 1, 0); + CPy_DecRef(cpy_r_r142); + if (unlikely(cpy_r_r145 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 199, CPyStatic_call___globals); + goto CPyL238; + } + CPy_DecRef(cpy_r_r139); + cpy_r_r146 = CPyStatic_call___globals; + cpy_r_r147 = CPyStatics[358]; /* 'ENVS' */ + cpy_r_r148 = CPyDict_GetItem(cpy_r_r146, cpy_r_r147); + if (unlikely(cpy_r_r148 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 199, CPyStatic_call___globals); + goto CPyL239; + } + cpy_r_r149 = CPyStatics[359]; /* 'BROWNIE_ENCODER_PROCESSES' */ + cpy_r_r150 = PyObject_SetAttr(cpy_r_r148, cpy_r_r149, cpy_r_r145); + CPy_DecRef(cpy_r_r148); + CPy_DecRef(cpy_r_r145); + cpy_r_r151 = cpy_r_r150 >= 0; + if (unlikely(!cpy_r_r151)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 199, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r152 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__len_inputs; + if (unlikely(cpy_r_r152 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "len_inputs", 200, CPyStatic_call___globals); + goto CPyL148; + } + CPyTagged_INCREF(cpy_r_r152); +CPyL109: ; + cpy_r_r153 = cpy_r_r152 != 0; + CPyTagged_DecRef(cpy_r_r152); + if (!cpy_r_r153) goto CPyL121; + cpy_r_r154 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r154 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 200, CPyStatic_call___globals); + goto CPyL148; + } + CPy_INCREF(cpy_r_r154); +CPyL111: ; + cpy_r_r155 = CPyStatics[330]; /* 'abi' */ + cpy_r_r156 = CPyObject_GetAttr(cpy_r_r154, cpy_r_r155); + CPy_DecRef(cpy_r_r154); + if (unlikely(cpy_r_r156 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 200, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r157 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r157 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 200, CPyStatic_call___globals); + goto CPyL240; + } + CPy_INCREF(cpy_r_r157); +CPyL113: ; + cpy_r_r158 = CPyStatics[332]; /* 'signature' */ + cpy_r_r159 = CPyObject_GetAttr(cpy_r_r157, cpy_r_r158); + CPy_DecRef(cpy_r_r157); + if (unlikely(cpy_r_r159 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 200, CPyStatic_call___globals); + goto CPyL240; + } + cpy_r_r160 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__args; + if (unlikely(cpy_r_r160 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "args", 200, CPyStatic_call___globals); + goto CPyL241; + } + CPy_INCREF(cpy_r_r160); +CPyL115: ; + cpy_r_r161 = CPyStatic_call___globals; + cpy_r_r162 = CPyStatics[360]; /* '__encode_input' */ + cpy_r_r163 = CPyDict_GetItem(cpy_r_r161, cpy_r_r162); + if (unlikely(cpy_r_r163 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 200, CPyStatic_call___globals); + goto CPyL242; + } + cpy_r_r164 = PyList_New(2); + if (unlikely(cpy_r_r164 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 200, CPyStatic_call___globals); + goto CPyL243; + } + cpy_r_r165 = (CPyPtr)&((PyListObject *)cpy_r_r164)->ob_item; + cpy_r_r166 = *(CPyPtr *)cpy_r_r165; + *(PyObject * *)cpy_r_r166 = cpy_r_r156; + cpy_r_r167 = cpy_r_r166 + 8; + *(PyObject * *)cpy_r_r167 = cpy_r_r159; + cpy_r_r168 = CPyList_Extend(cpy_r_r164, cpy_r_r160); + CPy_DecRef(cpy_r_r160); + if (unlikely(cpy_r_r168 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 200, CPyStatic_call___globals); + goto CPyL244; + } else + goto CPyL245; +CPyL118: ; + cpy_r_r169 = PyList_AsTuple(cpy_r_r164); + CPy_DecRef(cpy_r_r164); + if (unlikely(cpy_r_r169 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 200, CPyStatic_call___globals); + goto CPyL246; + } + cpy_r_r170 = PyObject_CallObject(cpy_r_r163, cpy_r_r169); + CPy_DecRef(cpy_r_r163); + CPy_DecRef(cpy_r_r169); + if (unlikely(cpy_r_r170 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 200, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r171 = cpy_r_r170; + goto CPyL124; +CPyL121: ; + cpy_r_r172 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r172 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 200, CPyStatic_call___globals); + goto CPyL148; + } + CPy_INCREF(cpy_r_r172); +CPyL122: ; + cpy_r_r173 = CPyStatics[332]; /* 'signature' */ + cpy_r_r174 = CPyObject_GetAttr(cpy_r_r172, cpy_r_r173); + CPy_DecRef(cpy_r_r172); + if (unlikely(cpy_r_r174 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 200, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r171 = cpy_r_r174; +CPyL124: ; + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data = cpy_r_r171; + cpy_r_r175 = 1; + if (unlikely(!cpy_r_r175)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 200, CPyStatic_call___globals); + goto CPyL148; + } else + goto CPyL146; +CPyL125: ; + cpy_r_r176 = CPyStatic_call___globals; + cpy_r_r177 = CPyStatics[389]; /* 'PicklingError' */ + cpy_r_r178 = CPyDict_GetItem(cpy_r_r176, cpy_r_r177); + if (unlikely(cpy_r_r178 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 201, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r179 = CPy_ExceptionMatches(cpy_r_r178); + CPy_DecRef(cpy_r_r178); + if (!cpy_r_r179) goto CPyL144; + cpy_r_r180 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__len_inputs; + if (unlikely(cpy_r_r180 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "len_inputs", 202, CPyStatic_call___globals); + goto CPyL148; + } + CPyTagged_INCREF(cpy_r_r180); +CPyL128: ; + cpy_r_r181 = cpy_r_r180 != 0; + CPyTagged_DecRef(cpy_r_r180); + if (!cpy_r_r181) goto CPyL140; + cpy_r_r182 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r182 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 202, CPyStatic_call___globals); + goto CPyL148; + } + CPy_INCREF(cpy_r_r182); +CPyL130: ; + cpy_r_r183 = CPyStatics[330]; /* 'abi' */ + cpy_r_r184 = CPyObject_GetAttr(cpy_r_r182, cpy_r_r183); + CPy_DecRef(cpy_r_r182); + if (unlikely(cpy_r_r184 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 202, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r185 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r185 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 202, CPyStatic_call___globals); + goto CPyL247; + } + CPy_INCREF(cpy_r_r185); +CPyL132: ; + cpy_r_r186 = CPyStatics[332]; /* 'signature' */ + cpy_r_r187 = CPyObject_GetAttr(cpy_r_r185, cpy_r_r186); + CPy_DecRef(cpy_r_r185); + if (unlikely(cpy_r_r187 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 202, CPyStatic_call___globals); + goto CPyL247; + } + cpy_r_r188 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__args; + if (unlikely(cpy_r_r188 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "args", 202, CPyStatic_call___globals); + goto CPyL248; + } + CPy_INCREF(cpy_r_r188); +CPyL134: ; + cpy_r_r189 = CPyStatic_call___globals; + cpy_r_r190 = CPyStatics[360]; /* '__encode_input' */ + cpy_r_r191 = CPyDict_GetItem(cpy_r_r189, cpy_r_r190); + if (unlikely(cpy_r_r191 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 202, CPyStatic_call___globals); + goto CPyL249; + } + cpy_r_r192 = PyList_New(2); + if (unlikely(cpy_r_r192 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 202, CPyStatic_call___globals); + goto CPyL250; + } + cpy_r_r193 = (CPyPtr)&((PyListObject *)cpy_r_r192)->ob_item; + cpy_r_r194 = *(CPyPtr *)cpy_r_r193; + *(PyObject * *)cpy_r_r194 = cpy_r_r184; + cpy_r_r195 = cpy_r_r194 + 8; + *(PyObject * *)cpy_r_r195 = cpy_r_r187; + cpy_r_r196 = CPyList_Extend(cpy_r_r192, cpy_r_r188); + CPy_DecRef(cpy_r_r188); + if (unlikely(cpy_r_r196 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 202, CPyStatic_call___globals); + goto CPyL251; + } else + goto CPyL252; +CPyL137: ; + cpy_r_r197 = PyList_AsTuple(cpy_r_r192); + CPy_DecRef(cpy_r_r192); + if (unlikely(cpy_r_r197 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 202, CPyStatic_call___globals); + goto CPyL253; + } + cpy_r_r198 = PyObject_CallObject(cpy_r_r191, cpy_r_r197); + CPy_DecRef(cpy_r_r191); + CPy_DecRef(cpy_r_r197); + if (unlikely(cpy_r_r198 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 202, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r199 = cpy_r_r198; + goto CPyL143; +CPyL140: ; + cpy_r_r200 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r200 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 202, CPyStatic_call___globals); + goto CPyL148; + } + CPy_INCREF(cpy_r_r200); +CPyL141: ; + cpy_r_r201 = CPyStatics[332]; /* 'signature' */ + cpy_r_r202 = CPyObject_GetAttr(cpy_r_r200, cpy_r_r201); + CPy_DecRef(cpy_r_r200); + if (unlikely(cpy_r_r202 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 202, CPyStatic_call___globals); + goto CPyL148; + } + cpy_r_r199 = cpy_r_r202; +CPyL143: ; + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data = cpy_r_r199; + cpy_r_r203 = 1; + if (unlikely(!cpy_r_r203)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 202, CPyStatic_call___globals); + goto CPyL148; + } else + goto CPyL146; +CPyL144: ; + CPy_Reraise(); + if (!0) goto CPyL148; + CPy_Unreachable(); +CPyL146: ; + cpy_r_r204 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__32; + if (unlikely(cpy_r_r204.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "__mypyc_temp__32", -1, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r204.f0); + CPy_INCREF(cpy_r_r204.f1); + CPy_INCREF(cpy_r_r204.f2); +CPyL147: ; + CPy_RestoreExcInfo(cpy_r_r204); + CPy_DecRef(cpy_r_r204.f0); + CPy_DecRef(cpy_r_r204.f1); + CPy_DecRef(cpy_r_r204.f2); + goto CPyL151; +CPyL148: ; + cpy_r_r205 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__32; + if (unlikely(cpy_r_r205.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "__mypyc_temp__32", -1, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r205.f0); + CPy_INCREF(cpy_r_r205.f1); + CPy_INCREF(cpy_r_r205.f2); +CPyL149: ; + CPy_RestoreExcInfo(cpy_r_r205); + CPy_DecRef(cpy_r_r205.f0); + CPy_DecRef(cpy_r_r205.f1); + CPy_DecRef(cpy_r_r205.f2); + cpy_r_r206 = CPy_KeepPropagating(); + if (!cpy_r_r206) goto CPyL203; + CPy_Unreachable(); +CPyL151: ; + cpy_r_r207 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r207 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "data", 204, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r207); +CPyL152: ; + cpy_r_r208 = CPyModule_builtins; + cpy_r_r209 = CPyStatics[16]; /* 'Exception' */ + cpy_r_r210 = CPyObject_GetAttr(cpy_r_r208, cpy_r_r209); + if (unlikely(cpy_r_r210 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 204, CPyStatic_call___globals); + goto CPyL254; + } + cpy_r_r211 = PyObject_IsInstance(cpy_r_r207, cpy_r_r210); + CPy_DECREF(cpy_r_r207); + CPy_DECREF(cpy_r_r210); + cpy_r_r212 = cpy_r_r211 >= 0; + if (unlikely(!cpy_r_r212)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 204, CPyStatic_call___globals); + goto CPyL203; + } + cpy_r_r213 = cpy_r_r211; + if (!cpy_r_r213) goto CPyL192; + cpy_r_r214 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r214 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "data", 205, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r214); +CPyL156: ; + cpy_r_r215 = cpy_r_r214; + cpy_r_r216 = CPyStatics[186]; /* 'args' */ + cpy_r_r217 = CPyObject_GetAttr(cpy_r_r215, cpy_r_r216); + CPy_DECREF(cpy_r_r215); + if (unlikely(cpy_r_r217 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 205, CPyStatic_call___globals); + goto CPyL203; + } + if (likely(PyTuple_Check(cpy_r_r217))) + cpy_r_r218 = cpy_r_r217; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 205, CPyStatic_call___globals, "tuple", cpy_r_r217); + goto CPyL203; + } + cpy_r_r219 = (CPyPtr)&((PyVarObject *)cpy_r_r218)->ob_size; + cpy_r_r220 = *(int64_t *)cpy_r_r219; + CPy_DECREF(cpy_r_r218); + cpy_r_r221 = cpy_r_r220 << 1; + cpy_r_r222 = cpy_r_r221 != 2; + if (!cpy_r_r222) goto CPyL163; + cpy_r_r223 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r223 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "data", 206, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r223); +CPyL161: ; + CPy_Raise(cpy_r_r223); + CPy_DECREF(cpy_r_r223); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 206, CPyStatic_call___globals); + goto CPyL203; + } + CPy_Unreachable(); +CPyL163: ; + cpy_r_r224 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r224 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "data", 207, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r224); +CPyL164: ; + cpy_r_r225 = PyObject_Str(cpy_r_r224); + CPy_DECREF(cpy_r_r224); + if (unlikely(cpy_r_r225 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 207, CPyStatic_call___globals); + goto CPyL203; + } + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__exc_str != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__exc_str); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__exc_str = cpy_r_r225; + cpy_r_r226 = 1; + if (unlikely(!cpy_r_r226)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 207, CPyStatic_call___globals); + goto CPyL203; + } + cpy_r_r227 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__exc_str; + if (unlikely(cpy_r_r227 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "exc_str", 208, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r227); +CPyL167: ; + cpy_r_r228 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r228 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 208, CPyStatic_call___globals); + goto CPyL255; + } + CPy_INCREF(cpy_r_r228); +CPyL168: ; + cpy_r_r229 = CPyStatics[390]; /* '_name' */ + cpy_r_r230 = CPyObject_GetAttr(cpy_r_r228, cpy_r_r229); + CPy_DECREF(cpy_r_r228); + if (unlikely(cpy_r_r230 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 208, CPyStatic_call___globals); + goto CPyL255; + } + cpy_r_r231 = CPyStatics[391]; /* 'startswith' */ + PyObject *cpy_r_r232[2] = {cpy_r_r227, cpy_r_r230}; + cpy_r_r233 = (PyObject **)&cpy_r_r232; + cpy_r_r234 = PyObject_VectorcallMethod(cpy_r_r231, cpy_r_r233, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r234 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 208, CPyStatic_call___globals); + goto CPyL256; + } + CPy_DECREF(cpy_r_r227); + CPy_DECREF(cpy_r_r230); + if (unlikely(!PyBool_Check(cpy_r_r234))) { + CPy_TypeError("bool", cpy_r_r234); cpy_r_r235 = 2; + } else + cpy_r_r235 = cpy_r_r234 == Py_True; + CPy_DECREF(cpy_r_r234); + if (unlikely(cpy_r_r235 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 208, CPyStatic_call___globals); + goto CPyL203; + } + if (!cpy_r_r235) goto CPyL177; + cpy_r_r236 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__exc_str; + if (unlikely(cpy_r_r236 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "exc_str", 209, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r236); +CPyL173: ; + cpy_r_r237 = CPyStatics[392]; /* ' ' */ + cpy_r_r238 = CPyStr_Split(cpy_r_r236, cpy_r_r237, 2); + CPy_DECREF(cpy_r_r236); + if (unlikely(cpy_r_r238 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 209, CPyStatic_call___globals); + goto CPyL203; + } + cpy_r_r239 = CPyList_GetItemShort(cpy_r_r238, 2); + CPy_DECREF_NO_IMM(cpy_r_r238); + if (unlikely(cpy_r_r239 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 209, CPyStatic_call___globals); + goto CPyL203; + } + if (likely(PyUnicode_Check(cpy_r_r239))) + cpy_r_r240 = cpy_r_r239; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 209, CPyStatic_call___globals, "str", cpy_r_r239); + goto CPyL203; + } + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__exc_str != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__exc_str); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__exc_str = cpy_r_r240; + cpy_r_r241 = 1; + if (unlikely(!cpy_r_r241)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 209, CPyStatic_call___globals); + goto CPyL203; + } else + goto CPyL180; +CPyL177: ; + cpy_r_r242 = CPyStatics[393]; /* ': ' */ + cpy_r_r243 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__exc_str; + if (unlikely(cpy_r_r243 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "exc_str", 211, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r243); +CPyL178: ; + cpy_r_r244 = CPyStr_Build(2, cpy_r_r242, cpy_r_r243); + CPy_DECREF(cpy_r_r243); + if (unlikely(cpy_r_r244 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 211, CPyStatic_call___globals); + goto CPyL203; + } + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__exc_str != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__exc_str); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__exc_str = cpy_r_r244; + cpy_r_r245 = 1; + if (unlikely(!cpy_r_r245)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 211, CPyStatic_call___globals); + goto CPyL203; + } +CPyL180: ; + cpy_r_r246 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r246 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "data", 212, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r246); +CPyL181: ; + cpy_r_r247 = CPy_TYPE(cpy_r_r246); + CPy_DECREF(cpy_r_r246); + cpy_r_r248 = CPyStatics[394]; /* "Contract('" */ + cpy_r_r249 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r249 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 212, CPyStatic_call___globals); + goto CPyL257; + } + CPy_INCREF(cpy_r_r249); +CPyL182: ; + cpy_r_r250 = CPyStatics[364]; /* '_address' */ + cpy_r_r251 = CPyObject_GetAttr(cpy_r_r249, cpy_r_r250); + CPy_DECREF(cpy_r_r249); + if (unlikely(cpy_r_r251 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 212, CPyStatic_call___globals); + goto CPyL257; + } + cpy_r_r252 = PyObject_Str(cpy_r_r251); + CPy_DECREF(cpy_r_r251); + if (unlikely(cpy_r_r252 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 212, CPyStatic_call___globals); + goto CPyL257; + } + cpy_r_r253 = CPyStatics[395]; /* "')." */ + cpy_r_r254 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r254 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "call", 212, CPyStatic_call___globals); + goto CPyL258; + } + CPy_INCREF(cpy_r_r254); +CPyL185: ; + cpy_r_r255 = CPyStatics[390]; /* '_name' */ + cpy_r_r256 = CPyObject_GetAttr(cpy_r_r254, cpy_r_r255); + CPy_DECREF(cpy_r_r254); + if (unlikely(cpy_r_r256 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 212, CPyStatic_call___globals); + goto CPyL258; + } + cpy_r_r257 = PyObject_Str(cpy_r_r256); + CPy_DECREF(cpy_r_r256); + if (unlikely(cpy_r_r257 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 212, CPyStatic_call___globals); + goto CPyL258; + } + cpy_r_r258 = CPyStatics[393]; /* ': ' */ + cpy_r_r259 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__exc_str; + if (unlikely(cpy_r_r259 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "exc_str", 212, CPyStatic_call___globals); + goto CPyL259; + } + CPy_INCREF(cpy_r_r259); +CPyL188: ; + cpy_r_r260 = CPyStr_Build(6, cpy_r_r248, cpy_r_r252, cpy_r_r253, cpy_r_r257, cpy_r_r258, cpy_r_r259); + CPy_DECREF(cpy_r_r252); + CPy_DECREF(cpy_r_r257); + CPy_DECREF(cpy_r_r259); + if (unlikely(cpy_r_r260 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 212, CPyStatic_call___globals); + goto CPyL257; + } + PyObject *cpy_r_r261[1] = {cpy_r_r260}; + cpy_r_r262 = (PyObject **)&cpy_r_r261; + cpy_r_r263 = PyObject_Vectorcall(cpy_r_r247, cpy_r_r262, 1, 0); + CPy_DECREF(cpy_r_r247); + if (unlikely(cpy_r_r263 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 212, CPyStatic_call___globals); + goto CPyL260; + } + CPy_DECREF(cpy_r_r260); + CPy_Raise(cpy_r_r263); + CPy_DECREF(cpy_r_r263); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 212, CPyStatic_call___globals); + goto CPyL203; + } + CPy_Unreachable(); +CPyL192: ; + cpy_r_r264 = ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r264 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "encode_input", "encode_input_gen", "data", 213, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r264); +CPyL193: ; + if (likely(PyUnicode_Check(cpy_r_r264))) + cpy_r_r265 = cpy_r_r264; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 213, CPyStatic_call___globals, "str", cpy_r_r264); + goto CPyL203; + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = -1; + if (cpy_r_stop_iter_ptr != NULL) goto CPyL198; + CPyGen_SetStopIterationValue(cpy_r_r265); + CPy_DECREF(cpy_r_r265); + if (!0) goto CPyL203; + CPy_Unreachable(); +CPyL198: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r265; + return 0; +CPyL199: ; + cpy_r_r267 = cpy_r_r2 == 0; + if (cpy_r_r267) goto CPyL261; + cpy_r_r268 = cpy_r_r2 == 1; + if (cpy_r_r268) { + goto CPyL54; + } else + goto CPyL262; +CPyL201: ; + PyErr_SetNone(PyExc_StopIteration); + cpy_r_r269 = 0; + if (unlikely(!cpy_r_r269)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 184, CPyStatic_call___globals); + goto CPyL203; + } + CPy_Unreachable(); +CPyL203: ; + cpy_r_r270 = NULL; + return cpy_r_r270; +CPyL204: ; + CPy_DecRef(cpy_r_r16); + goto CPyL203; +CPyL205: ; + CPy_DecRef(cpy_r_r20); + goto CPyL17; +CPyL206: ; + CPy_DecRef(cpy_r_r34); + goto CPyL203; +CPyL207: ; + CPy_DecRef(cpy_r_r34); + CPy_DecRef(cpy_r_r37); + goto CPyL203; +CPyL208: ; + CPy_DecRef(cpy_r_r34); + CPy_DecRef(cpy_r_r37); + CPy_DecRef(cpy_r_r38); + goto CPyL203; +CPyL209: ; + CPy_DecRef(cpy_r_r34); + CPy_DecRef(cpy_r_r37); + CPy_DecRef(cpy_r_r38); + CPy_DecRef(cpy_r_r41); + goto CPyL203; +CPyL210: ; + CPy_DecRef(cpy_r_r41); + CPy_DecRef(cpy_r_r42); + goto CPyL203; +CPyL211: ; + CPy_DECREF(cpy_r_r46); + goto CPyL36; +CPyL212: ; + CPy_DecRef(cpy_r_r41); + goto CPyL203; +CPyL213: ; + CPy_DecRef(cpy_r_r50); + goto CPyL75; +CPyL214: ; + CPy_DecRef(cpy_r_r50); + CPy_DecRef(cpy_r_r51); + goto CPyL75; +CPyL215: ; + CPy_DecRef(cpy_r_r50); + CPy_DecRef(cpy_r_r51); + CPy_DecRef(cpy_r_r52); + goto CPyL75; +CPyL216: ; + CPy_DecRef(cpy_r_r52); + CPy_DecRef(cpy_r_r53); + goto CPyL75; +CPyL217: ; + CPy_DECREF(cpy_r_r56); + goto CPyL44; +CPyL218: ; + CPy_DecRef(cpy_r_r52); + goto CPyL75; +CPyL219: ; + CPy_DecRef(cpy_r_r64); + goto CPyL75; +CPyL220: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL57; +CPyL221: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL56; +CPyL222: ; + CPy_XDecRef(cpy_r_r1); + goto CPyL66; +CPyL223: ; + CPy_DecRef(cpy_r_r67); + goto CPyL66; +CPyL224: ; + CPy_DecRef(cpy_r_r64); + goto CPyL66; +CPyL225: ; + CPy_DecRef(cpy_r_arg); + goto CPyL75; +CPyL226: ; + CPy_DecRef(cpy_r_r88); + goto CPyL148; +CPyL227: ; + CPy_DecRef(cpy_r_r97); + goto CPyL148; +CPyL228: ; + CPy_DecRef(cpy_r_r97); + CPy_DecRef(cpy_r_r100); + goto CPyL148; +CPyL229: ; + CPy_DecRef(cpy_r_r97); + CPy_DecRef(cpy_r_r100); + CPy_DecRef(cpy_r_r101); + goto CPyL148; +CPyL230: ; + CPy_DecRef(cpy_r_r97); + CPy_DecRef(cpy_r_r100); + CPy_DecRef(cpy_r_r101); + CPy_DecRef(cpy_r_r104); + goto CPyL148; +CPyL231: ; + CPy_DecRef(cpy_r_r104); + CPy_DecRef(cpy_r_r105); + goto CPyL148; +CPyL232: ; + CPy_DecRef(cpy_r_r109); + goto CPyL87; +CPyL233: ; + CPy_DecRef(cpy_r_r104); + goto CPyL148; +CPyL234: ; + CPy_DecRef(cpy_r_r124); + goto CPyL148; +CPyL235: ; + CPy_DecRef(cpy_r_r124); + CPy_DecRef(cpy_r_r125); + goto CPyL148; +CPyL236: ; + CPy_DecRef(cpy_r_r124); + CPy_DecRef(cpy_r_r125); + CPy_DecRef(cpy_r_r128); + goto CPyL148; +CPyL237: ; + CPy_DecRef(cpy_r_r132); + goto CPyL101; +CPyL238: ; + CPy_DecRef(cpy_r_r139); + goto CPyL148; +CPyL239: ; + CPy_DecRef(cpy_r_r145); + goto CPyL148; +CPyL240: ; + CPy_DecRef(cpy_r_r156); + goto CPyL148; +CPyL241: ; + CPy_DecRef(cpy_r_r156); + CPy_DecRef(cpy_r_r159); + goto CPyL148; +CPyL242: ; + CPy_DecRef(cpy_r_r156); + CPy_DecRef(cpy_r_r159); + CPy_DecRef(cpy_r_r160); + goto CPyL148; +CPyL243: ; + CPy_DecRef(cpy_r_r156); + CPy_DecRef(cpy_r_r159); + CPy_DecRef(cpy_r_r160); + CPy_DecRef(cpy_r_r163); + goto CPyL148; +CPyL244: ; + CPy_DecRef(cpy_r_r163); + CPy_DecRef(cpy_r_r164); + goto CPyL148; +CPyL245: ; + CPy_DecRef(cpy_r_r168); + goto CPyL118; +CPyL246: ; + CPy_DecRef(cpy_r_r163); + goto CPyL148; +CPyL247: ; + CPy_DecRef(cpy_r_r184); + goto CPyL148; +CPyL248: ; + CPy_DecRef(cpy_r_r184); + CPy_DecRef(cpy_r_r187); + goto CPyL148; +CPyL249: ; + CPy_DecRef(cpy_r_r184); + CPy_DecRef(cpy_r_r187); + CPy_DecRef(cpy_r_r188); + goto CPyL148; +CPyL250: ; + CPy_DecRef(cpy_r_r184); + CPy_DecRef(cpy_r_r187); + CPy_DecRef(cpy_r_r188); + CPy_DecRef(cpy_r_r191); + goto CPyL148; +CPyL251: ; + CPy_DecRef(cpy_r_r191); + CPy_DecRef(cpy_r_r192); + goto CPyL148; +CPyL252: ; + CPy_DecRef(cpy_r_r196); + goto CPyL137; +CPyL253: ; + CPy_DecRef(cpy_r_r191); + goto CPyL148; +CPyL254: ; + CPy_DecRef(cpy_r_r207); + goto CPyL203; +CPyL255: ; + CPy_DecRef(cpy_r_r227); + goto CPyL203; +CPyL256: ; + CPy_DecRef(cpy_r_r227); + CPy_DecRef(cpy_r_r230); + goto CPyL203; +CPyL257: ; + CPy_DecRef(cpy_r_r247); + goto CPyL203; +CPyL258: ; + CPy_DecRef(cpy_r_r247); + CPy_DecRef(cpy_r_r252); + goto CPyL203; +CPyL259: ; + CPy_DecRef(cpy_r_r247); + CPy_DecRef(cpy_r_r252); + CPy_DecRef(cpy_r_r257); + goto CPyL203; +CPyL260: ; + CPy_DecRef(cpy_r_r260); + goto CPyL203; +CPyL261: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL1; +CPyL262: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL201; +} + +PyObject *CPyDef_call___encode_input_gen_____next__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_call___encode_input_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_r0, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_call___encode_input_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__next__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___encode_input_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.encode_input_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call___encode_input_gen_____next__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__next__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___encode_input_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_call___encode_input_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_arg, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_call___encode_input_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"arg", 0}; + static CPyArg_Parser parser = {"O:send", kwlist, 0}; + PyObject *obj_arg; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_arg)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___encode_input_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.encode_input_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_arg = obj_arg; + PyObject *retval = CPyDef_call___encode_input_gen___send(arg___mypyc_self__, arg_arg); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "send", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___encode_input_gen_____iter__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_call___encode_input_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___encode_input_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.encode_input_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call___encode_input_gen_____iter__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__iter__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___encode_input_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + if (cpy_r_value != NULL) goto CPyL7; + CPy_INCREF(cpy_r_r0); + cpy_r_value = cpy_r_r0; +CPyL2: ; + if (cpy_r_traceback != NULL) goto CPyL8; + CPy_INCREF(cpy_r_r0); + cpy_r_traceback = cpy_r_r0; +CPyL4: ; + cpy_r_r1 = CPyDef_call___encode_input_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_type, cpy_r_value, cpy_r_traceback, cpy_r_r0, 0); + CPy_DECREF(cpy_r_value); + CPy_DECREF(cpy_r_traceback); + if (cpy_r_r1 == NULL) goto CPyL6; + return cpy_r_r1; +CPyL6: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +CPyL7: ; + CPy_INCREF(cpy_r_value); + goto CPyL2; +CPyL8: ; + CPy_INCREF(cpy_r_traceback); + goto CPyL4; +} + +PyObject *CPyPy_call___encode_input_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"type", "value", "traceback", 0}; + static CPyArg_Parser parser = {"O|OO:throw", kwlist, 0}; + PyObject *obj_type; + PyObject *obj_value = NULL; + PyObject *obj_traceback = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type, &obj_value, &obj_traceback)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___encode_input_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.encode_input_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_type = obj_type; + PyObject *arg_value; + if (obj_value == NULL) { + arg_value = NULL; + } else { + arg_value = obj_value; + } + PyObject *arg_traceback; + if (obj_traceback == NULL) { + arg_traceback = NULL; + } else { + arg_traceback = obj_traceback; + } + PyObject *retval = CPyDef_call___encode_input_gen___throw(arg___mypyc_self__, arg_type, arg_value, arg_traceback); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "throw", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___encode_input_gen___close(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[17]; /* 'GeneratorExit' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = CPyDef_call___encode_input_gen___throw(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r3, cpy_r_r4); + if (cpy_r_r5 != NULL) goto CPyL11; +CPyL3: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyModule_builtins; + cpy_r_r8 = CPyStatics[18]; /* 'StopIteration' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL12; + cpy_r_r10.f0 = cpy_r_r2; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp140 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp140); + PyObject *__tmp141 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp141); + cpy_r_r12 = CPy_ExceptionMatches(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (!cpy_r_r12) goto CPyL13; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + cpy_r_r13 = (PyObject *)&_Py_NoneStruct; + CPy_INCREF(cpy_r_r13); + return cpy_r_r13; +CPyL6: ; + CPy_Reraise(); + if (!0) goto CPyL10; + CPy_Unreachable(); +CPyL8: ; + PyErr_SetString(PyExc_RuntimeError, "generator ignored GeneratorExit"); + cpy_r_r14 = 0; + if (!cpy_r_r14) goto CPyL10; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL11: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r5); + goto CPyL8; +CPyL12: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL10; +CPyL13: ; + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL6; +} + +PyObject *CPyPy_call___encode_input_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":close", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___encode_input_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.encode_input_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call___encode_input_gen___close(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "close", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___encode_input_gen_____await__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_call___encode_input_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__await__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___encode_input_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.encode_input_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call___encode_input_gen_____await__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__await__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___encode_input(PyObject *cpy_r_call, CPyTagged cpy_r_len_inputs, PyObject *cpy_r_get_request_data, PyObject *cpy_r_args) { + PyObject *cpy_r_r0; + char cpy_r_r1; + char cpy_r_r2; + char cpy_r_r3; + char cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + cpy_r_r0 = CPyDef_call___encode_input_gen(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 184, CPyStatic_call___globals); + goto CPyL6; + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r_r0)->___mypyc_next_label__ = 0; + CPy_INCREF(cpy_r_call); + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r_r0)->___mypyc_generator_attribute__call != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r_r0)->___mypyc_generator_attribute__call); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r_r0)->___mypyc_generator_attribute__call = cpy_r_call; + cpy_r_r2 = 1; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 184, CPyStatic_call___globals); + goto CPyL7; + } + CPyTagged_INCREF(cpy_r_len_inputs); + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r_r0)->___mypyc_generator_attribute__len_inputs != CPY_INT_TAG) { + CPyTagged_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r_r0)->___mypyc_generator_attribute__len_inputs); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r_r0)->___mypyc_generator_attribute__len_inputs = cpy_r_len_inputs; + cpy_r_r3 = 1; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 184, CPyStatic_call___globals); + goto CPyL7; + } + CPy_INCREF(cpy_r_get_request_data); + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r_r0)->___mypyc_generator_attribute__get_request_data != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r_r0)->___mypyc_generator_attribute__get_request_data); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r_r0)->___mypyc_generator_attribute__get_request_data = cpy_r_get_request_data; + cpy_r_r4 = 1; + if (unlikely(!cpy_r_r4)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 184, CPyStatic_call___globals); + goto CPyL7; + } + CPy_INCREF(cpy_r_args); + if (((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r_r0)->___mypyc_generator_attribute__args != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r_r0)->___mypyc_generator_attribute__args); + } + ((dank_mids___brownie_patch___call___encode_input_genObject *)cpy_r_r0)->___mypyc_generator_attribute__args = cpy_r_args; + cpy_r_r5 = 1; + if (unlikely(!cpy_r_r5)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 184, CPyStatic_call___globals); + goto CPyL7; + } + return cpy_r_r0; +CPyL6: ; + cpy_r_r6 = NULL; + return cpy_r_r6; +CPyL7: ; + CPy_DecRef(cpy_r_r0); + goto CPyL6; +} + +PyObject *CPyPy_call___encode_input(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"call", "len_inputs", "get_request_data", 0}; + static CPyArg_Parser parser = {"%OOO:encode_input", kwlist, 0}; + PyObject *obj_call; + PyObject *obj_len_inputs; + PyObject *obj_get_request_data; + PyObject *obj_args; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_args, NULL, &obj_call, &obj_len_inputs, &obj_get_request_data)) { + return NULL; + } + PyObject *arg_call = obj_call; + CPyTagged arg_len_inputs; + if (likely(PyLong_Check(obj_len_inputs))) + arg_len_inputs = CPyTagged_BorrowFromObject(obj_len_inputs); + else { + CPy_TypeError("int", obj_len_inputs); goto fail; + } + PyObject *arg_get_request_data = obj_get_request_data; + PyObject *arg_args = obj_args; + PyObject *retval = CPyDef_call___encode_input(arg_call, arg_len_inputs, arg_get_request_data, arg_args); + CPy_DECREF(obj_args); + return retval; +fail: ; + CPy_DECREF(obj_args); + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "encode_input", 184, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___decode_output_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + int32_t cpy_r_r6; + PyObject *cpy_r_r7; + char cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + int32_t cpy_r_r18; + char cpy_r_r19; + char cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + int32_t cpy_r_r23; + char cpy_r_r24; + char cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + char cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + char cpy_r_r36; + PyObject **cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + char cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + char cpy_r_r47; + PyObject *cpy_r_r48; + char cpy_r_r49; + PyObject *cpy_r_r50; + char cpy_r_r51; + tuple_T3OOO cpy_r_r52; + char cpy_r_r53; + PyObject **cpy_r_r54; + PyObject *cpy_r_r55; + char cpy_r_r56; + tuple_T3OOO cpy_r_r57; + tuple_T3OOO cpy_r_r58; + tuple_T3OOO cpy_r_r59; + char cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + char cpy_r_r64; + tuple_T3OOO cpy_r_r65; + char cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + PyObject *cpy_r_r69; + char cpy_r_r70; + PyObject *cpy_r_r71; + char cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + PyObject *cpy_r_r77; + PyObject *cpy_r_r78; + PyObject *cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject **cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + 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; + PyObject *cpy_r_r95; + PyObject *cpy_r_r96; + PyObject **cpy_r_r98; + PyObject *cpy_r_r99; + PyObject *cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + int32_t cpy_r_r104; + char cpy_r_r105; + PyObject *cpy_r_r106; + PyObject *cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + PyObject *cpy_r_r111; + char cpy_r_r112; + tuple_T3OOO cpy_r_r113; + tuple_T3OOO cpy_r_r114; + char cpy_r_r115; + PyObject *cpy_r_r116; + PyObject *cpy_r_r117; + PyObject *cpy_r_r118; + PyObject *cpy_r_r119; + int32_t cpy_r_r120; + char cpy_r_r121; + char cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + char cpy_r_r125; + tuple_T3OOO cpy_r_r126; + char cpy_r_r127; + PyObject *cpy_r_r128; + PyObject *cpy_r_r129; + PyObject *cpy_r_r130; + char cpy_r_r131; + PyObject *cpy_r_r132; + char cpy_r_r133; + PyObject *cpy_r_r134; + PyObject *cpy_r_r135; + PyObject *cpy_r_r136; + PyObject *cpy_r_r137; + PyObject *cpy_r_r138; + PyObject *cpy_r_r139; + PyObject *cpy_r_r140; + PyObject *cpy_r_r141; + PyObject *cpy_r_r142; + PyObject *cpy_r_r143; + int32_t cpy_r_r144; + char cpy_r_r145; + int32_t cpy_r_r146; + char cpy_r_r147; + int32_t cpy_r_r148; + char cpy_r_r149; + PyObject *cpy_r_r150; + PyObject *cpy_r_r151; + PyObject *cpy_r_r152; + int32_t cpy_r_r153; + char cpy_r_r154; + PyObject *cpy_r_r155; + PyObject *cpy_r_r156; + PyObject *cpy_r_r157; + char cpy_r_r158; + PyObject *cpy_r_r159; + char cpy_r_r160; + PyObject *cpy_r_r161; + PyObject *cpy_r_r162; + PyObject *cpy_r_r163; + int32_t cpy_r_r164; + char cpy_r_r165; + PyObject *cpy_r_r166; + char cpy_r_r167; + PyObject *cpy_r_r168; + PyObject *cpy_r_r169; + PyObject *cpy_r_r170; + PyObject **cpy_r_r172; + PyObject *cpy_r_r173; + PyObject *cpy_r_r174; + PyObject *cpy_r_r175; + PyObject *cpy_r_r176; + PyObject *cpy_r_r177; + PyObject *cpy_r_r178; + PyObject *cpy_r_r179; + PyObject *cpy_r_r180; + int32_t cpy_r_r181; + char cpy_r_r182; + char cpy_r_r183; + PyObject *cpy_r_r184; + PyObject *cpy_r_r185; + PyObject *cpy_r_r186; + int32_t cpy_r_r187; + char cpy_r_r188; + PyObject *cpy_r_r189; + PyObject *cpy_r_r190; + PyObject *cpy_r_r191; + char cpy_r_r192; + PyObject *cpy_r_r193; + PyObject *cpy_r_r194; + PyObject *cpy_r_r195; + PyObject **cpy_r_r196; + PyObject *cpy_r_r197; + char cpy_r_r198; + PyObject *cpy_r_r199; + PyObject *cpy_r_r200; + char cpy_r_r201; + PyObject *cpy_r_r202; + char cpy_r_r203; + PyObject *cpy_r_r204; + char cpy_r_r205; + tuple_T3OOO cpy_r_r206; + char cpy_r_r207; + PyObject **cpy_r_r208; + PyObject *cpy_r_r209; + char cpy_r_r210; + tuple_T3OOO cpy_r_r211; + tuple_T3OOO cpy_r_r212; + tuple_T3OOO cpy_r_r213; + char cpy_r_r214; + PyObject *cpy_r_r215; + PyObject *cpy_r_r216; + PyObject *cpy_r_r217; + tuple_T3OOO cpy_r_r218; + char cpy_r_r219; + tuple_T3OOO cpy_r_r220; + char cpy_r_r221; + char cpy_r_r222; + char cpy_r_r223; + char cpy_r_r224; + char cpy_r_r225; + PyObject *cpy_r_r226; + cpy_r_r0 = NULL; + cpy_r_r1 = cpy_r_r0; + cpy_r_r2 = NULL; + cpy_r_r3 = cpy_r_r2; + CPy_XDECREF(cpy_r_r3); + cpy_r_r4 = NULL; + cpy_r_r5 = cpy_r_r4; + cpy_r_r6 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__; + goto CPyL183; +CPyL1: ; + cpy_r_r7 = (PyObject *)&_Py_NoneStruct; + cpy_r_r8 = cpy_r_type != cpy_r_r7; + if (!cpy_r_r8) goto CPyL4; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 216, CPyStatic_call___globals); + goto CPyL188; + } + CPy_Unreachable(); +CPyL4: ; + cpy_r_r9 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "call", 217, CPyStatic_call___globals); + goto CPyL188; + } + CPy_INCREF(cpy_r_r9); +CPyL5: ; + cpy_r_r10 = CPyStatics[330]; /* 'abi' */ + cpy_r_r11 = CPyObject_GetAttr(cpy_r_r9, cpy_r_r10); + CPy_DECREF(cpy_r_r9); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 217, CPyStatic_call___globals); + goto CPyL188; + } + cpy_r_r12 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "data", 217, CPyStatic_call___globals); + goto CPyL189; + } + CPy_INCREF(cpy_r_r12); +CPyL7: ; + if (likely(PyDict_Check(cpy_r_r11))) + cpy_r_r13 = cpy_r_r11; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 217, CPyStatic_call___globals, "dict", cpy_r_r11); + goto CPyL190; + } + cpy_r_r14 = CPyDef_call_____validate_output(cpy_r_r13, cpy_r_r12); + CPy_DECREF(cpy_r_r13); + CPy_DECREF(cpy_r_r12); + if (unlikely(cpy_r_r14 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 217, CPyStatic_call___globals); + goto CPyL188; + } + cpy_r_r15 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "call", 219, CPyStatic_call___globals); + goto CPyL102; + } + CPy_INCREF(cpy_r_r15); +CPyL10: ; + cpy_r_r16 = CPyStatics[366]; /* '_skip_decoder_proc_pool' */ + cpy_r_r17 = CPyObject_GetAttr(cpy_r_r15, cpy_r_r16); + CPy_DECREF(cpy_r_r15); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 219, CPyStatic_call___globals); + goto CPyL102; + } + cpy_r_r18 = PyObject_IsTrue(cpy_r_r17); + CPy_DECREF(cpy_r_r17); + cpy_r_r19 = cpy_r_r18 >= 0; + if (unlikely(!cpy_r_r19)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 219, CPyStatic_call___globals); + goto CPyL102; + } + cpy_r_r20 = cpy_r_r18; + if (cpy_r_r20) goto CPyL16; + cpy_r_r21 = CPyStatics[868]; /* b'Unexpected error' */ + cpy_r_r22 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "data", 219, CPyStatic_call___globals); + goto CPyL102; + } + CPy_INCREF(cpy_r_r22); +CPyL14: ; + cpy_r_r23 = PySequence_Contains(cpy_r_r22, cpy_r_r21); + CPy_DECREF(cpy_r_r22); + cpy_r_r24 = cpy_r_r23 >= 0; + if (unlikely(!cpy_r_r24)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 219, CPyStatic_call___globals); + goto CPyL102; + } + cpy_r_r25 = cpy_r_r23; + if (!cpy_r_r25) goto CPyL22; +CPyL16: ; + cpy_r_r26 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "data", 221, CPyStatic_call___globals); + goto CPyL102; + } + CPy_INCREF(cpy_r_r26); +CPyL17: ; + cpy_r_r27 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "call", 221, CPyStatic_call___globals); + goto CPyL191; + } + CPy_INCREF(cpy_r_r27); +CPyL18: ; + cpy_r_r28 = CPyStatics[330]; /* 'abi' */ + cpy_r_r29 = CPyObject_GetAttr(cpy_r_r27, cpy_r_r28); + CPy_DECREF(cpy_r_r27); + if (unlikely(cpy_r_r29 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 221, CPyStatic_call___globals); + goto CPyL191; + } + if (likely(PyDict_Check(cpy_r_r29))) + cpy_r_r30 = cpy_r_r29; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 221, CPyStatic_call___globals, "dict", cpy_r_r29); + goto CPyL191; + } + cpy_r_r31 = CPyDef_call_____decode_output(cpy_r_r26, cpy_r_r30); + CPy_DECREF(cpy_r_r26); + CPy_DECREF(cpy_r_r30); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 221, CPyStatic_call___globals); + goto CPyL102; + } + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__decoded != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__decoded); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__decoded = cpy_r_r31; + cpy_r_r32 = 1; + if (unlikely(!cpy_r_r32)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 221, CPyStatic_call___globals); + goto CPyL102; + } else + goto CPyL89; +CPyL22: ; + cpy_r_r33 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r33 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "call", 224, CPyStatic_call___globals); + goto CPyL57; + } + CPy_INCREF(cpy_r_r33); +CPyL23: ; + cpy_r_r34 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "data", 224, CPyStatic_call___globals); + goto CPyL192; + } + CPy_INCREF(cpy_r_r34); +CPyL24: ; + cpy_r_r35 = CPyStatic_call___decode; + if (unlikely(cpy_r_r35 == NULL)) { + goto CPyL193; + } else + goto CPyL27; +CPyL25: ; + PyErr_SetString(PyExc_NameError, "value for final name \"decode\" was not set"); + cpy_r_r36 = 0; + if (unlikely(!cpy_r_r36)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 224, CPyStatic_call___globals); + goto CPyL57; + } + CPy_Unreachable(); +CPyL27: ; + PyObject *cpy_r_r37[2] = {cpy_r_r33, cpy_r_r34}; + cpy_r_r38 = (PyObject **)&cpy_r_r37; + cpy_r_r39 = PyObject_Vectorcall(cpy_r_r35, cpy_r_r38, 2, 0); + if (unlikely(cpy_r_r39 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 224, CPyStatic_call___globals); + goto CPyL194; + } + CPy_DECREF(cpy_r_r33); + CPy_DECREF(cpy_r_r34); + cpy_r_r40 = CPy_GetCoro(cpy_r_r39); + CPy_DECREF(cpy_r_r39); + if (unlikely(cpy_r_r40 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 224, CPyStatic_call___globals); + goto CPyL57; + } + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__33 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__33); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__33 = cpy_r_r40; + cpy_r_r41 = 1; + if (unlikely(!cpy_r_r41)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", -1, CPyStatic_call___globals); + goto CPyL57; + } + cpy_r_r42 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__33; + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__33", -1, CPyStatic_call___globals); + goto CPyL57; + } + CPy_INCREF(cpy_r_r42); +CPyL31: ; + cpy_r_r43 = CPyIter_Next(cpy_r_r42); + CPy_DECREF(cpy_r_r42); + if (cpy_r_r43 != NULL) goto CPyL34; + cpy_r_r44 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r44 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 224, CPyStatic_call___globals); + goto CPyL57; + } + cpy_r_r45 = cpy_r_r44; + cpy_r_r46 = NULL; + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__33 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__33); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__33 = cpy_r_r46; + cpy_r_r47 = 1; + if (unlikely(!cpy_r_r47)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 224, CPyStatic_call___globals); + goto CPyL195; + } else + goto CPyL56; +CPyL34: ; + cpy_r_r48 = cpy_r_r43; +CPyL35: ; + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 1; + return cpy_r_r48; +CPyL36: ; + cpy_r_r50 = (PyObject *)&_Py_NoneStruct; + cpy_r_r51 = cpy_r_type != cpy_r_r50; + if (!cpy_r_r51) goto CPyL196; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 224, CPyStatic_call___globals); + goto CPyL40; + } else + goto CPyL197; +CPyL38: ; + CPy_Unreachable(); +CPyL39: ; + CPy_INCREF(cpy_r_arg); + goto CPyL51; +CPyL40: ; + cpy_r_r52 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__34.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__34.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__34.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__34.f2); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__34 = cpy_r_r52; + cpy_r_r53 = 1; + if (unlikely(!cpy_r_r53)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", -1, CPyStatic_call___globals); + goto CPyL198; + } + cpy_r_r54 = (PyObject **)&cpy_r_r1; + cpy_r_r55 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__33; + if (unlikely(cpy_r_r55 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__33", -1, CPyStatic_call___globals); + goto CPyL198; + } + CPy_INCREF(cpy_r_r55); +CPyL42: ; + cpy_r_r56 = CPy_YieldFromErrorHandle(cpy_r_r55, cpy_r_r54); + CPy_DecRef(cpy_r_r55); + if (unlikely(cpy_r_r56 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 224, CPyStatic_call___globals); + goto CPyL198; + } + if (cpy_r_r56) goto CPyL46; + cpy_r_r48 = cpy_r_r1; + cpy_r_r57 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__34; + if (unlikely(cpy_r_r57.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__34", -1, CPyStatic_call___globals); + goto CPyL199; + } + CPy_INCREF(cpy_r_r57.f0); + CPy_INCREF(cpy_r_r57.f1); + CPy_INCREF(cpy_r_r57.f2); +CPyL45: ; + CPy_RestoreExcInfo(cpy_r_r57); + CPy_DecRef(cpy_r_r57.f0); + CPy_DecRef(cpy_r_r57.f1); + CPy_DecRef(cpy_r_r57.f2); + goto CPyL35; +CPyL46: ; + cpy_r_r45 = cpy_r_r1; + cpy_r_r58 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__34; + if (unlikely(cpy_r_r58.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__34", -1, CPyStatic_call___globals); + goto CPyL200; + } + CPy_INCREF(cpy_r_r58.f0); + CPy_INCREF(cpy_r_r58.f1); + CPy_INCREF(cpy_r_r58.f2); +CPyL47: ; + CPy_RestoreExcInfo(cpy_r_r58); + CPy_DecRef(cpy_r_r58.f0); + CPy_DecRef(cpy_r_r58.f1); + CPy_DecRef(cpy_r_r58.f2); + goto CPyL56; +CPyL48: ; + cpy_r_r59 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__34; + if (unlikely(cpy_r_r59.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__34", -1, CPyStatic_call___globals); + goto CPyL57; + } + CPy_INCREF(cpy_r_r59.f0); + CPy_INCREF(cpy_r_r59.f1); + CPy_INCREF(cpy_r_r59.f2); +CPyL49: ; + CPy_RestoreExcInfo(cpy_r_r59); + CPy_DecRef(cpy_r_r59.f0); + CPy_DecRef(cpy_r_r59.f1); + CPy_DecRef(cpy_r_r59.f2); + cpy_r_r60 = CPy_KeepPropagating(); + if (!cpy_r_r60) goto CPyL57; + CPy_Unreachable(); +CPyL51: ; + cpy_r_r61 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__33; + if (unlikely(cpy_r_r61 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__33", -1, CPyStatic_call___globals); + goto CPyL201; + } + CPy_INCREF(cpy_r_r61); +CPyL52: ; + cpy_r_r62 = CPyIter_Send(cpy_r_r61, cpy_r_arg); + CPy_DECREF(cpy_r_r61); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r62 == NULL) goto CPyL54; + cpy_r_r48 = cpy_r_r62; + goto CPyL35; +CPyL54: ; + cpy_r_r63 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r63 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 224, CPyStatic_call___globals); + goto CPyL57; + } + cpy_r_r45 = cpy_r_r63; +CPyL56: ; + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__decoded != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__decoded); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__decoded = cpy_r_r45; + cpy_r_r64 = 1; + if (unlikely(!cpy_r_r64)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 224, CPyStatic_call___globals); + } else + goto CPyL89; +CPyL57: ; + cpy_r_r65 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__35.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__35.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__35.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__35.f2); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__35 = cpy_r_r65; + cpy_r_r66 = 1; + if (unlikely(!cpy_r_r66)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", -1, CPyStatic_call___globals); + goto CPyL86; + } + cpy_r_r67 = CPyStatic_call___globals; + cpy_r_r68 = CPyStatics[384]; /* 'BrokenProcessPool' */ + cpy_r_r69 = CPyDict_GetItem(cpy_r_r67, cpy_r_r68); + if (unlikely(cpy_r_r69 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 226, CPyStatic_call___globals); + goto CPyL86; + } + cpy_r_r70 = CPy_ExceptionMatches(cpy_r_r69); + CPy_DecRef(cpy_r_r69); + if (!cpy_r_r70) goto CPyL82; + cpy_r_r71 = CPyStatic_call___logger; + if (likely(cpy_r_r71 != NULL)) goto CPyL63; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r72 = 0; + if (unlikely(!cpy_r_r72)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 228, CPyStatic_call___globals); + goto CPyL86; + } + CPy_Unreachable(); +CPyL63: ; + cpy_r_r73 = CPyStatics[385]; /* 'Oh fuck, you broke the %s while decoding %s with abi %s' */ + cpy_r_r74 = CPyStatic_call___globals; + cpy_r_r75 = CPyStatics[358]; /* 'ENVS' */ + cpy_r_r76 = CPyDict_GetItem(cpy_r_r74, cpy_r_r75); + if (unlikely(cpy_r_r76 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 228, CPyStatic_call___globals); + goto CPyL86; + } + cpy_r_r77 = CPyStatics[362]; /* 'BROWNIE_DECODER_PROCESSES' */ + cpy_r_r78 = CPyObject_GetAttr(cpy_r_r76, cpy_r_r77); + CPy_DecRef(cpy_r_r76); + if (unlikely(cpy_r_r78 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 228, CPyStatic_call___globals); + goto CPyL86; + } + cpy_r_r79 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r79 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "data", 228, CPyStatic_call___globals); + goto CPyL202; + } + CPy_INCREF(cpy_r_r79); +CPyL66: ; + cpy_r_r80 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r80 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "call", 228, CPyStatic_call___globals); + goto CPyL203; + } + CPy_INCREF(cpy_r_r80); +CPyL67: ; + cpy_r_r81 = CPyStatics[330]; /* 'abi' */ + 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\\brownie_patch\\call.py", "decode_output", 228, CPyStatic_call___globals); + goto CPyL203; + } + cpy_r_r83 = CPyStatics[386]; /* 'critical' */ + PyObject *cpy_r_r84[5] = {cpy_r_r71, cpy_r_r73, cpy_r_r78, cpy_r_r79, cpy_r_r82}; + cpy_r_r85 = (PyObject **)&cpy_r_r84; + cpy_r_r86 = PyObject_VectorcallMethod(cpy_r_r83, cpy_r_r85, 9223372036854775813ULL, 0); + if (unlikely(cpy_r_r86 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 228, CPyStatic_call___globals); + goto CPyL204; + } else + goto CPyL205; +CPyL69: ; + CPy_DecRef(cpy_r_r78); + CPy_DecRef(cpy_r_r79); + CPy_DecRef(cpy_r_r82); + cpy_r_r87 = CPyStatic_call___globals; + cpy_r_r88 = CPyStatics[358]; /* 'ENVS' */ + cpy_r_r89 = CPyDict_GetItem(cpy_r_r87, cpy_r_r88); + if (unlikely(cpy_r_r89 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 229, CPyStatic_call___globals); + goto CPyL86; + } + cpy_r_r90 = CPyStatics[362]; /* 'BROWNIE_DECODER_PROCESSES' */ + cpy_r_r91 = CPyObject_GetAttr(cpy_r_r89, cpy_r_r90); + CPy_DecRef(cpy_r_r89); + if (unlikely(cpy_r_r91 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 229, CPyStatic_call___globals); + goto CPyL86; + } + cpy_r_r92 = CPyStatics[387]; /* '_max_workers' */ + 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\\brownie_patch\\call.py", "decode_output", 229, CPyStatic_call___globals); + goto CPyL86; + } + cpy_r_r94 = CPyStatic_call___globals; + cpy_r_r95 = CPyStatics[388]; /* 'AsyncProcessPoolExecutor' */ + cpy_r_r96 = CPyDict_GetItem(cpy_r_r94, cpy_r_r95); + if (unlikely(cpy_r_r96 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 229, CPyStatic_call___globals); + goto CPyL206; + } + PyObject *cpy_r_r97[1] = {cpy_r_r93}; + cpy_r_r98 = (PyObject **)&cpy_r_r97; + cpy_r_r99 = PyObject_Vectorcall(cpy_r_r96, cpy_r_r98, 1, 0); + CPy_DecRef(cpy_r_r96); + if (unlikely(cpy_r_r99 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 229, CPyStatic_call___globals); + goto CPyL206; + } + CPy_DecRef(cpy_r_r93); + cpy_r_r100 = CPyStatic_call___globals; + cpy_r_r101 = CPyStatics[358]; /* 'ENVS' */ + cpy_r_r102 = CPyDict_GetItem(cpy_r_r100, cpy_r_r101); + if (unlikely(cpy_r_r102 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 229, CPyStatic_call___globals); + goto CPyL207; + } + cpy_r_r103 = CPyStatics[362]; /* 'BROWNIE_DECODER_PROCESSES' */ + cpy_r_r104 = PyObject_SetAttr(cpy_r_r102, cpy_r_r103, cpy_r_r99); + CPy_DecRef(cpy_r_r102); + CPy_DecRef(cpy_r_r99); + cpy_r_r105 = cpy_r_r104 >= 0; + if (unlikely(!cpy_r_r105)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 229, CPyStatic_call___globals); + goto CPyL86; + } + cpy_r_r106 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r106 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "data", 230, CPyStatic_call___globals); + goto CPyL86; + } + CPy_INCREF(cpy_r_r106); +CPyL77: ; + cpy_r_r107 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r107 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "call", 230, CPyStatic_call___globals); + goto CPyL208; + } + CPy_INCREF(cpy_r_r107); +CPyL78: ; + cpy_r_r108 = CPyStatics[330]; /* 'abi' */ + 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\\brownie_patch\\call.py", "decode_output", 230, CPyStatic_call___globals); + goto CPyL208; + } + if (likely(PyDict_Check(cpy_r_r109))) + cpy_r_r110 = cpy_r_r109; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 230, CPyStatic_call___globals, "dict", cpy_r_r109); + goto CPyL208; + } + cpy_r_r111 = CPyDef_call_____decode_output(cpy_r_r106, cpy_r_r110); + CPy_DecRef(cpy_r_r106); + CPy_DecRef(cpy_r_r110); + if (unlikely(cpy_r_r111 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 230, CPyStatic_call___globals); + goto CPyL86; + } + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__decoded != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__decoded); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__decoded = cpy_r_r111; + cpy_r_r112 = 1; + if (unlikely(!cpy_r_r112)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 230, CPyStatic_call___globals); + goto CPyL86; + } else + goto CPyL84; +CPyL82: ; + CPy_Reraise(); + if (!0) goto CPyL86; + CPy_Unreachable(); +CPyL84: ; + cpy_r_r113 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__35; + if (unlikely(cpy_r_r113.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__35", -1, CPyStatic_call___globals); + goto CPyL102; + } + CPy_INCREF(cpy_r_r113.f0); + CPy_INCREF(cpy_r_r113.f1); + CPy_INCREF(cpy_r_r113.f2); +CPyL85: ; + CPy_RestoreExcInfo(cpy_r_r113); + CPy_DecRef(cpy_r_r113.f0); + CPy_DecRef(cpy_r_r113.f1); + CPy_DecRef(cpy_r_r113.f2); + goto CPyL89; +CPyL86: ; + cpy_r_r114 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__35; + if (unlikely(cpy_r_r114.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__35", -1, CPyStatic_call___globals); + goto CPyL102; + } + CPy_INCREF(cpy_r_r114.f0); + CPy_INCREF(cpy_r_r114.f1); + CPy_INCREF(cpy_r_r114.f2); +CPyL87: ; + CPy_RestoreExcInfo(cpy_r_r114); + CPy_DecRef(cpy_r_r114.f0); + CPy_DecRef(cpy_r_r114.f1); + CPy_DecRef(cpy_r_r114.f2); + cpy_r_r115 = CPy_KeepPropagating(); + if (!cpy_r_r115) goto CPyL102; + CPy_Unreachable(); +CPyL89: ; + cpy_r_r116 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__decoded; + if (unlikely(cpy_r_r116 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "decoded", 232, CPyStatic_call___globals); + goto CPyL102; + } + CPy_INCREF(cpy_r_r116); +CPyL90: ; + cpy_r_r117 = CPyModule_builtins; + cpy_r_r118 = CPyStatics[16]; /* 'Exception' */ + cpy_r_r119 = CPyObject_GetAttr(cpy_r_r117, cpy_r_r118); + if (unlikely(cpy_r_r119 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 232, CPyStatic_call___globals); + goto CPyL209; + } + cpy_r_r120 = PyObject_IsInstance(cpy_r_r116, cpy_r_r119); + CPy_DECREF(cpy_r_r116); + CPy_DECREF(cpy_r_r119); + cpy_r_r121 = cpy_r_r120 >= 0; + if (unlikely(!cpy_r_r121)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 232, CPyStatic_call___globals); + goto CPyL102; + } + cpy_r_r122 = cpy_r_r120; + if (!cpy_r_r122) goto CPyL96; + cpy_r_r123 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__decoded; + if (unlikely(cpy_r_r123 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "decoded", 233, CPyStatic_call___globals); + goto CPyL102; + } + CPy_INCREF(cpy_r_r123); +CPyL94: ; + CPy_Raise(cpy_r_r123); + CPy_DECREF(cpy_r_r123); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 233, CPyStatic_call___globals); + goto CPyL102; + } + CPy_Unreachable(); +CPyL96: ; + cpy_r_r124 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__decoded; + if (unlikely(cpy_r_r124 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "decoded", 234, CPyStatic_call___globals); + goto CPyL102; + } + CPy_INCREF(cpy_r_r124); +CPyL97: ; + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = -1; + if (cpy_r_stop_iter_ptr != NULL) goto CPyL101; + CPyGen_SetStopIterationValue(cpy_r_r124); + CPy_DECREF(cpy_r_r124); + if (!0) goto CPyL188; + CPy_Unreachable(); +CPyL101: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r124; + return 0; +CPyL102: ; + cpy_r_r126 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__36.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__36.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__36.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__36.f2); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__36 = cpy_r_r126; + cpy_r_r127 = 1; + if (unlikely(!cpy_r_r127)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", -1, CPyStatic_call___globals); + goto CPyL180; + } + cpy_r_r128 = CPyStatic_call___globals; + cpy_r_r129 = CPyStatics[377]; /* 'InsufficientDataBytes' */ + cpy_r_r130 = CPyDict_GetItem(cpy_r_r128, cpy_r_r129); + if (unlikely(cpy_r_r130 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 235, CPyStatic_call___globals); + goto CPyL180; + } + cpy_r_r131 = CPy_ExceptionMatches(cpy_r_r130); + CPy_DecRef(cpy_r_r130); + if (!cpy_r_r131) goto CPyL122; + cpy_r_r132 = CPy_GetExcValue(); + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e = cpy_r_r132; + cpy_r_r133 = 1; + if (unlikely(!cpy_r_r133)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 235, CPyStatic_call___globals); + goto CPyL180; + } + cpy_r_r134 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e; + if (unlikely(cpy_r_r134 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "e", 237, CPyStatic_call___globals); + goto CPyL180; + } + CPy_INCREF(cpy_r_r134); +CPyL107: ; + cpy_r_r135 = CPyStatics[186]; /* 'args' */ + cpy_r_r136 = CPyObject_GetAttr(cpy_r_r134, cpy_r_r135); + CPy_DecRef(cpy_r_r134); + if (unlikely(cpy_r_r136 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 237, CPyStatic_call___globals); + goto CPyL180; + } + cpy_r_r137 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r137 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "call", 237, CPyStatic_call___globals); + goto CPyL210; + } + CPy_INCREF(cpy_r_r137); +CPyL109: ; + cpy_r_r138 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r138 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "call", 237, CPyStatic_call___globals); + goto CPyL211; + } + CPy_INCREF(cpy_r_r138); +CPyL110: ; + cpy_r_r139 = CPyStatics[364]; /* '_address' */ + cpy_r_r140 = CPyObject_GetAttr(cpy_r_r138, cpy_r_r139); + CPy_DecRef(cpy_r_r138); + if (unlikely(cpy_r_r140 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 237, CPyStatic_call___globals); + goto CPyL211; + } + cpy_r_r141 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r141 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "data", 237, CPyStatic_call___globals); + goto CPyL212; + } + CPy_INCREF(cpy_r_r141); +CPyL112: ; + cpy_r_r142 = PyList_New(0); + if (unlikely(cpy_r_r142 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 237, CPyStatic_call___globals); + goto CPyL213; + } + cpy_r_r143 = CPyList_Extend(cpy_r_r142, cpy_r_r136); + CPy_DecRef(cpy_r_r136); + if (unlikely(cpy_r_r143 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 237, CPyStatic_call___globals); + goto CPyL214; + } else + goto CPyL215; +CPyL114: ; + cpy_r_r144 = PyList_Append(cpy_r_r142, cpy_r_r137); + CPy_DecRef(cpy_r_r137); + cpy_r_r145 = cpy_r_r144 >= 0; + if (unlikely(!cpy_r_r145)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 237, CPyStatic_call___globals); + goto CPyL216; + } + cpy_r_r146 = PyList_Append(cpy_r_r142, cpy_r_r140); + CPy_DecRef(cpy_r_r140); + cpy_r_r147 = cpy_r_r146 >= 0; + if (unlikely(!cpy_r_r147)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 237, CPyStatic_call___globals); + goto CPyL217; + } + cpy_r_r148 = PyList_Append(cpy_r_r142, cpy_r_r141); + CPy_DecRef(cpy_r_r141); + cpy_r_r149 = cpy_r_r148 >= 0; + if (unlikely(!cpy_r_r149)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 237, CPyStatic_call___globals); + goto CPyL218; + } + cpy_r_r150 = PyList_AsTuple(cpy_r_r142); + CPy_DecRef(cpy_r_r142); + if (unlikely(cpy_r_r150 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 237, CPyStatic_call___globals); + goto CPyL180; + } + cpy_r_r151 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e; + if (unlikely(cpy_r_r151 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "e", 237, CPyStatic_call___globals); + goto CPyL219; + } + CPy_INCREF(cpy_r_r151); +CPyL119: ; + cpy_r_r152 = CPyStatics[186]; /* 'args' */ + cpy_r_r153 = PyObject_SetAttr(cpy_r_r151, cpy_r_r152, cpy_r_r150); + CPy_DecRef(cpy_r_r151); + CPy_DecRef(cpy_r_r150); + cpy_r_r154 = cpy_r_r153 >= 0; + if (unlikely(!cpy_r_r154)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 237, CPyStatic_call___globals); + goto CPyL180; + } + CPy_Reraise(); + if (!0) goto CPyL180; + CPy_Unreachable(); +CPyL122: ; + cpy_r_r155 = CPyModule_builtins; + cpy_r_r156 = CPyStatics[189]; /* 'AttributeError' */ + cpy_r_r157 = CPyObject_GetAttr(cpy_r_r155, cpy_r_r156); + if (unlikely(cpy_r_r157 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 239, CPyStatic_call___globals); + goto CPyL180; + } + cpy_r_r158 = CPy_ExceptionMatches(cpy_r_r157); + CPy_DecRef(cpy_r_r157); + if (!cpy_r_r158) goto CPyL178; + cpy_r_r159 = CPy_GetExcValue(); + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e = cpy_r_r159; + cpy_r_r160 = 1; + if (unlikely(!cpy_r_r160)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 239, CPyStatic_call___globals); + goto CPyL180; + } + cpy_r_r161 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e; + if (unlikely(cpy_r_r161 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "e", 241, CPyStatic_call___globals); + goto CPyL180; + } + CPy_INCREF(cpy_r_r161); +CPyL126: ; + cpy_r_r162 = PyObject_Str(cpy_r_r161); + CPy_DecRef(cpy_r_r161); + if (unlikely(cpy_r_r162 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 241, CPyStatic_call___globals); + goto CPyL180; + } + cpy_r_r163 = CPyStatics[396]; /* " object has no attribute '_skip_decoder_proc_pool'" */ + cpy_r_r164 = CPyStr_Endswith(cpy_r_r162, cpy_r_r163); + CPy_DecRef(cpy_r_r162); + cpy_r_r165 = cpy_r_r164; + if (cpy_r_r165) goto CPyL130; + CPy_Reraise(); + if (!0) goto CPyL180; + CPy_Unreachable(); +CPyL130: ; + cpy_r_r166 = CPyStatic_call___logger; + if (likely(cpy_r_r166 != NULL)) goto CPyL133; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r167 = 0; + if (unlikely(!cpy_r_r167)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 243, CPyStatic_call___globals); + goto CPyL180; + } + CPy_Unreachable(); +CPyL133: ; + cpy_r_r168 = CPyStatics[397]; /* 'DEBUG ME BRO: %s' */ + cpy_r_r169 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__e; + if (unlikely(cpy_r_r169 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "e", 243, CPyStatic_call___globals); + goto CPyL180; + } + CPy_INCREF(cpy_r_r169); +CPyL134: ; + cpy_r_r170 = CPyStatics[398]; /* 'debug' */ + PyObject *cpy_r_r171[3] = {cpy_r_r166, cpy_r_r168, cpy_r_r169}; + cpy_r_r172 = (PyObject **)&cpy_r_r171; + cpy_r_r173 = PyObject_VectorcallMethod(cpy_r_r170, cpy_r_r172, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r173 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 243, CPyStatic_call___globals); + goto CPyL220; + } else + goto CPyL221; +CPyL135: ; + CPy_DecRef(cpy_r_r169); + cpy_r_r174 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r174 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "call", 244, CPyStatic_call___globals); + goto CPyL180; + } + CPy_INCREF(cpy_r_r174); +CPyL136: ; + cpy_r_r175 = CPyStatics[364]; /* '_address' */ + cpy_r_r176 = CPyObject_GetAttr(cpy_r_r174, cpy_r_r175); + CPy_DecRef(cpy_r_r174); + if (unlikely(cpy_r_r176 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 244, CPyStatic_call___globals); + goto CPyL180; + } + cpy_r_r177 = CPyStatic_call___globals; + cpy_r_r178 = CPyStatics[365]; /* '_skip_proc_pool' */ + cpy_r_r179 = CPyDict_GetItem(cpy_r_r177, cpy_r_r178); + if (unlikely(cpy_r_r179 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 244, CPyStatic_call___globals); + goto CPyL222; + } + if (likely(PySet_Check(cpy_r_r179))) + cpy_r_r180 = cpy_r_r179; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 244, CPyStatic_call___globals, "set", cpy_r_r179); + goto CPyL222; + } + cpy_r_r181 = PySet_Contains(cpy_r_r180, cpy_r_r176); + CPy_DecRef(cpy_r_r180); + CPy_DecRef(cpy_r_r176); + cpy_r_r182 = cpy_r_r181 >= 0; + if (unlikely(!cpy_r_r182)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 244, CPyStatic_call___globals); + goto CPyL180; + } + cpy_r_r183 = cpy_r_r181; + cpy_r_r184 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r184 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "call", 244, CPyStatic_call___globals); + goto CPyL180; + } + CPy_INCREF(cpy_r_r184); +CPyL141: ; + cpy_r_r185 = CPyStatics[366]; /* '_skip_decoder_proc_pool' */ + cpy_r_r186 = cpy_r_r183 ? Py_True : Py_False; + cpy_r_r187 = PyObject_SetAttr(cpy_r_r184, cpy_r_r185, cpy_r_r186); + CPy_DecRef(cpy_r_r184); + cpy_r_r188 = cpy_r_r187 >= 0; + if (unlikely(!cpy_r_r188)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 244, CPyStatic_call___globals); + goto CPyL180; + } + cpy_r_r189 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r189 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "call", 245, CPyStatic_call___globals); + goto CPyL180; + } + CPy_INCREF(cpy_r_r189); +CPyL143: ; + cpy_r_r190 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__data; + if (unlikely(cpy_r_r190 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "data", 245, CPyStatic_call___globals); + goto CPyL223; + } + CPy_INCREF(cpy_r_r190); +CPyL144: ; + cpy_r_r191 = CPyDef_call___decode_output(cpy_r_r189, cpy_r_r190); + CPy_DecRef(cpy_r_r189); + CPy_DecRef(cpy_r_r190); + if (unlikely(cpy_r_r191 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 245, CPyStatic_call___globals); + goto CPyL180; + } + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__37 != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__37); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__37 = cpy_r_r191; + cpy_r_r192 = 1; + if (unlikely(!cpy_r_r192)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", -1, CPyStatic_call___globals); + goto CPyL180; + } + cpy_r_r193 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__37; + if (unlikely(cpy_r_r193 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__37", -1, CPyStatic_call___globals); + goto CPyL180; + } + CPy_INCREF_NO_IMM(cpy_r_r193); +CPyL147: ; + cpy_r_r194 = (PyObject *)&_Py_NoneStruct; + cpy_r_r195 = NULL; + cpy_r_r3 = cpy_r_r195; + cpy_r_r196 = (PyObject **)&cpy_r_r3; + cpy_r_r197 = CPyDef_call___decode_output_gen_____mypyc_generator_helper__(cpy_r_r193, cpy_r_r194, cpy_r_r194, cpy_r_r194, cpy_r_r194, cpy_r_r196); + CPy_DecRef(cpy_r_r193); + if (cpy_r_r197 != NULL) goto CPyL224; + cpy_r_r198 = cpy_r_r3 != 0; + if (unlikely(!cpy_r_r198)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", -1, CPyStatic_call___globals); + goto CPyL225; + } + cpy_r_r199 = cpy_r_r3; + cpy_r_r200 = NULL; + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__37 != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__37); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__37 = cpy_r_r200; + cpy_r_r201 = 1; + if (unlikely(!cpy_r_r201)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 245, CPyStatic_call___globals); + goto CPyL226; + } else + goto CPyL172; +CPyL150: ; + cpy_r_r202 = cpy_r_r197; +CPyL151: ; + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 2; + return cpy_r_r202; +CPyL152: ; + cpy_r_r204 = (PyObject *)&_Py_NoneStruct; + cpy_r_r205 = cpy_r_type != cpy_r_r204; + if (!cpy_r_r205) goto CPyL227; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 245, CPyStatic_call___globals); + goto CPyL156; + } else + goto CPyL228; +CPyL154: ; + CPy_Unreachable(); +CPyL155: ; + CPy_INCREF(cpy_r_arg); + goto CPyL167; +CPyL156: ; + cpy_r_r206 = CPy_CatchError(); + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__38.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__38.f0); + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__38.f1); + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__38.f2); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__38 = cpy_r_r206; + cpy_r_r207 = 1; + if (unlikely(!cpy_r_r207)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", -1, CPyStatic_call___globals); + goto CPyL229; + } + cpy_r_r208 = (PyObject **)&cpy_r_r5; + cpy_r_r209 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__37; + if (unlikely(cpy_r_r209 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__37", -1, CPyStatic_call___globals); + goto CPyL229; + } + CPy_INCREF_NO_IMM(cpy_r_r209); +CPyL158: ; + cpy_r_r210 = CPy_YieldFromErrorHandle(cpy_r_r209, cpy_r_r208); + CPy_DecRef(cpy_r_r209); + if (unlikely(cpy_r_r210 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 245, CPyStatic_call___globals); + goto CPyL229; + } + if (cpy_r_r210) goto CPyL162; + cpy_r_r202 = cpy_r_r5; + cpy_r_r211 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__38; + if (unlikely(cpy_r_r211.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__38", -1, CPyStatic_call___globals); + goto CPyL230; + } + CPy_INCREF(cpy_r_r211.f0); + CPy_INCREF(cpy_r_r211.f1); + CPy_INCREF(cpy_r_r211.f2); +CPyL161: ; + CPy_RestoreExcInfo(cpy_r_r211); + CPy_DecRef(cpy_r_r211.f0); + CPy_DecRef(cpy_r_r211.f1); + CPy_DecRef(cpy_r_r211.f2); + goto CPyL151; +CPyL162: ; + cpy_r_r199 = cpy_r_r5; + cpy_r_r212 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__38; + if (unlikely(cpy_r_r212.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__38", -1, CPyStatic_call___globals); + goto CPyL231; + } + CPy_INCREF(cpy_r_r212.f0); + CPy_INCREF(cpy_r_r212.f1); + CPy_INCREF(cpy_r_r212.f2); +CPyL163: ; + CPy_RestoreExcInfo(cpy_r_r212); + CPy_DecRef(cpy_r_r212.f0); + CPy_DecRef(cpy_r_r212.f1); + CPy_DecRef(cpy_r_r212.f2); + goto CPyL172; +CPyL164: ; + cpy_r_r213 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__38; + if (unlikely(cpy_r_r213.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__38", -1, CPyStatic_call___globals); + goto CPyL180; + } + CPy_INCREF(cpy_r_r213.f0); + CPy_INCREF(cpy_r_r213.f1); + CPy_INCREF(cpy_r_r213.f2); +CPyL165: ; + CPy_RestoreExcInfo(cpy_r_r213); + CPy_DecRef(cpy_r_r213.f0); + CPy_DecRef(cpy_r_r213.f1); + CPy_DecRef(cpy_r_r213.f2); + cpy_r_r214 = CPy_KeepPropagating(); + if (!cpy_r_r214) goto CPyL180; + CPy_Unreachable(); +CPyL167: ; + cpy_r_r215 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__37; + if (unlikely(cpy_r_r215 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__37", -1, CPyStatic_call___globals); + goto CPyL232; + } + CPy_INCREF_NO_IMM(cpy_r_r215); +CPyL168: ; + cpy_r_r216 = CPyIter_Send(cpy_r_r215, cpy_r_arg); + CPy_DECREF_NO_IMM(cpy_r_r215); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r216 == NULL) goto CPyL170; + cpy_r_r202 = cpy_r_r216; + goto CPyL151; +CPyL170: ; + cpy_r_r217 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r217 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 245, CPyStatic_call___globals); + goto CPyL180; + } + cpy_r_r199 = cpy_r_r217; +CPyL172: ; + cpy_r_r218 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__36; + if (unlikely(cpy_r_r218.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__36", -1, CPyStatic_call___globals); + goto CPyL226; + } + CPy_INCREF(cpy_r_r218.f0); + CPy_INCREF(cpy_r_r218.f1); + CPy_INCREF(cpy_r_r218.f2); +CPyL173: ; + CPy_RestoreExcInfo(cpy_r_r218); + CPy_DECREF(cpy_r_r218.f0); + CPy_DECREF(cpy_r_r218.f1); + CPy_DECREF(cpy_r_r218.f2); + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = -1; + if (cpy_r_stop_iter_ptr != NULL) goto CPyL177; + CPyGen_SetStopIterationValue(cpy_r_r199); + CPy_DECREF(cpy_r_r199); + if (!0) goto CPyL188; + CPy_Unreachable(); +CPyL177: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r199; + return 0; +CPyL178: ; + CPy_Reraise(); + if (!0) goto CPyL180; + CPy_Unreachable(); +CPyL180: ; + cpy_r_r220 = ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__36; + if (unlikely(cpy_r_r220.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_gen", "__mypyc_temp__36", -1, CPyStatic_call___globals); + goto CPyL188; + } + CPy_INCREF(cpy_r_r220.f0); + CPy_INCREF(cpy_r_r220.f1); + CPy_INCREF(cpy_r_r220.f2); +CPyL181: ; + CPy_RestoreExcInfo(cpy_r_r220); + CPy_DecRef(cpy_r_r220.f0); + CPy_DecRef(cpy_r_r220.f1); + CPy_DecRef(cpy_r_r220.f2); + cpy_r_r221 = CPy_KeepPropagating(); + if (!cpy_r_r221) goto CPyL188; + CPy_Unreachable(); +CPyL183: ; + cpy_r_r222 = cpy_r_r6 == 0; + if (cpy_r_r222) goto CPyL233; + cpy_r_r223 = cpy_r_r6 == 1; + if (cpy_r_r223) { + goto CPyL234; + } else + goto CPyL235; +CPyL185: ; + cpy_r_r224 = cpy_r_r6 == 2; + if (cpy_r_r224) { + goto CPyL152; + } else + goto CPyL236; +CPyL186: ; + PyErr_SetNone(PyExc_StopIteration); + cpy_r_r225 = 0; + if (unlikely(!cpy_r_r225)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 216, CPyStatic_call___globals); + goto CPyL188; + } + CPy_Unreachable(); +CPyL188: ; + cpy_r_r226 = NULL; + return cpy_r_r226; +CPyL189: ; + CPy_DecRef(cpy_r_r11); + goto CPyL188; +CPyL190: ; + CPy_DecRef(cpy_r_r12); + goto CPyL188; +CPyL191: ; + CPy_DecRef(cpy_r_r26); + goto CPyL102; +CPyL192: ; + CPy_DecRef(cpy_r_r33); + goto CPyL57; +CPyL193: ; + CPy_DecRef(cpy_r_r33); + CPy_DecRef(cpy_r_r34); + goto CPyL25; +CPyL194: ; + CPy_DecRef(cpy_r_r33); + CPy_DecRef(cpy_r_r34); + goto CPyL57; +CPyL195: ; + CPy_DecRef(cpy_r_r45); + goto CPyL57; +CPyL196: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL39; +CPyL197: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL38; +CPyL198: ; + CPy_XDecRef(cpy_r_r1); + goto CPyL48; +CPyL199: ; + CPy_DecRef(cpy_r_r48); + goto CPyL48; +CPyL200: ; + CPy_DecRef(cpy_r_r45); + goto CPyL48; +CPyL201: ; + CPy_DecRef(cpy_r_arg); + goto CPyL57; +CPyL202: ; + CPy_DecRef(cpy_r_r78); + goto CPyL86; +CPyL203: ; + CPy_DecRef(cpy_r_r78); + CPy_DecRef(cpy_r_r79); + goto CPyL86; +CPyL204: ; + CPy_DecRef(cpy_r_r78); + CPy_DecRef(cpy_r_r79); + CPy_DecRef(cpy_r_r82); + goto CPyL86; +CPyL205: ; + CPy_DecRef(cpy_r_r86); + goto CPyL69; +CPyL206: ; + CPy_DecRef(cpy_r_r93); + goto CPyL86; +CPyL207: ; + CPy_DecRef(cpy_r_r99); + goto CPyL86; +CPyL208: ; + CPy_DecRef(cpy_r_r106); + goto CPyL86; +CPyL209: ; + CPy_DecRef(cpy_r_r116); + goto CPyL102; +CPyL210: ; + CPy_DecRef(cpy_r_r136); + goto CPyL180; +CPyL211: ; + CPy_DecRef(cpy_r_r136); + CPy_DecRef(cpy_r_r137); + goto CPyL180; +CPyL212: ; + CPy_DecRef(cpy_r_r136); + CPy_DecRef(cpy_r_r137); + CPy_DecRef(cpy_r_r140); + goto CPyL180; +CPyL213: ; + CPy_DecRef(cpy_r_r136); + CPy_DecRef(cpy_r_r137); + CPy_DecRef(cpy_r_r140); + CPy_DecRef(cpy_r_r141); + goto CPyL180; +CPyL214: ; + CPy_DecRef(cpy_r_r137); + CPy_DecRef(cpy_r_r140); + CPy_DecRef(cpy_r_r141); + CPy_DecRef(cpy_r_r142); + goto CPyL180; +CPyL215: ; + CPy_DecRef(cpy_r_r143); + goto CPyL114; +CPyL216: ; + CPy_DecRef(cpy_r_r140); + CPy_DecRef(cpy_r_r141); + CPy_DecRef(cpy_r_r142); + goto CPyL180; +CPyL217: ; + CPy_DecRef(cpy_r_r141); + CPy_DecRef(cpy_r_r142); + goto CPyL180; +CPyL218: ; + CPy_DecRef(cpy_r_r142); + goto CPyL180; +CPyL219: ; + CPy_DecRef(cpy_r_r150); + goto CPyL180; +CPyL220: ; + CPy_DecRef(cpy_r_r169); + goto CPyL180; +CPyL221: ; + CPy_DecRef(cpy_r_r173); + goto CPyL135; +CPyL222: ; + CPy_DecRef(cpy_r_r176); + goto CPyL180; +CPyL223: ; + CPy_DecRef(cpy_r_r189); + goto CPyL180; +CPyL224: ; + CPy_XDecRef(cpy_r_r3); + goto CPyL150; +CPyL225: ; + CPy_XDecRef(cpy_r_r3); + goto CPyL180; +CPyL226: ; + CPy_DecRef(cpy_r_r199); + goto CPyL180; +CPyL227: ; + CPy_XDECREF(cpy_r_r5); + goto CPyL155; +CPyL228: ; + CPy_XDECREF(cpy_r_r5); + goto CPyL154; +CPyL229: ; + CPy_XDecRef(cpy_r_r5); + goto CPyL164; +CPyL230: ; + CPy_DecRef(cpy_r_r202); + goto CPyL164; +CPyL231: ; + CPy_DecRef(cpy_r_r199); + goto CPyL164; +CPyL232: ; + CPy_DecRef(cpy_r_arg); + goto CPyL180; +CPyL233: ; + CPy_XDECREF(cpy_r_r1); + CPy_XDECREF(cpy_r_r5); + goto CPyL1; +CPyL234: ; + CPy_XDECREF(cpy_r_r5); + goto CPyL36; +CPyL235: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL185; +CPyL236: ; + CPy_XDECREF(cpy_r_r5); + goto CPyL186; +} + +PyObject *CPyDef_call___decode_output_gen_____next__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_call___decode_output_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_r0, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_call___decode_output_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__next__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___decode_output_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.decode_output_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call___decode_output_gen_____next__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__next__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___decode_output_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_call___decode_output_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_arg, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_call___decode_output_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"arg", 0}; + static CPyArg_Parser parser = {"O:send", kwlist, 0}; + PyObject *obj_arg; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_arg)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___decode_output_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.decode_output_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_arg = obj_arg; + PyObject *retval = CPyDef_call___decode_output_gen___send(arg___mypyc_self__, arg_arg); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "send", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___decode_output_gen_____iter__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_call___decode_output_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___decode_output_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.decode_output_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call___decode_output_gen_____iter__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__iter__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___decode_output_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + if (cpy_r_value != NULL) goto CPyL7; + CPy_INCREF(cpy_r_r0); + cpy_r_value = cpy_r_r0; +CPyL2: ; + if (cpy_r_traceback != NULL) goto CPyL8; + CPy_INCREF(cpy_r_r0); + cpy_r_traceback = cpy_r_r0; +CPyL4: ; + cpy_r_r1 = CPyDef_call___decode_output_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_type, cpy_r_value, cpy_r_traceback, cpy_r_r0, 0); + CPy_DECREF(cpy_r_value); + CPy_DECREF(cpy_r_traceback); + if (cpy_r_r1 == NULL) goto CPyL6; + return cpy_r_r1; +CPyL6: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +CPyL7: ; + CPy_INCREF(cpy_r_value); + goto CPyL2; +CPyL8: ; + CPy_INCREF(cpy_r_traceback); + goto CPyL4; +} + +PyObject *CPyPy_call___decode_output_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"type", "value", "traceback", 0}; + static CPyArg_Parser parser = {"O|OO:throw", kwlist, 0}; + PyObject *obj_type; + PyObject *obj_value = NULL; + PyObject *obj_traceback = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type, &obj_value, &obj_traceback)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___decode_output_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.decode_output_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_type = obj_type; + PyObject *arg_value; + if (obj_value == NULL) { + arg_value = NULL; + } else { + arg_value = obj_value; + } + PyObject *arg_traceback; + if (obj_traceback == NULL) { + arg_traceback = NULL; + } else { + arg_traceback = obj_traceback; + } + PyObject *retval = CPyDef_call___decode_output_gen___throw(arg___mypyc_self__, arg_type, arg_value, arg_traceback); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "throw", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___decode_output_gen___close(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[17]; /* 'GeneratorExit' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = CPyDef_call___decode_output_gen___throw(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r3, cpy_r_r4); + if (cpy_r_r5 != NULL) goto CPyL11; +CPyL3: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyModule_builtins; + cpy_r_r8 = CPyStatics[18]; /* 'StopIteration' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL12; + cpy_r_r10.f0 = cpy_r_r2; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp142 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp142); + PyObject *__tmp143 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp143); + cpy_r_r12 = CPy_ExceptionMatches(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (!cpy_r_r12) goto CPyL13; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + cpy_r_r13 = (PyObject *)&_Py_NoneStruct; + CPy_INCREF(cpy_r_r13); + return cpy_r_r13; +CPyL6: ; + CPy_Reraise(); + if (!0) goto CPyL10; + CPy_Unreachable(); +CPyL8: ; + PyErr_SetString(PyExc_RuntimeError, "generator ignored GeneratorExit"); + cpy_r_r14 = 0; + if (!cpy_r_r14) goto CPyL10; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL11: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r5); + goto CPyL8; +CPyL12: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL10; +CPyL13: ; + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL6; +} + +PyObject *CPyPy_call___decode_output_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":close", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___decode_output_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.decode_output_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call___decode_output_gen___close(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "close", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___decode_output_gen_____await__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_call___decode_output_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__await__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call___decode_output_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call.decode_output_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call___decode_output_gen_____await__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__await__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___decode_output(PyObject *cpy_r_call, PyObject *cpy_r_data) { + PyObject *cpy_r_r0; + char cpy_r_r1; + char cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + cpy_r_r0 = CPyDef_call___decode_output_gen(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 216, CPyStatic_call___globals); + goto CPyL4; + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r_r0)->___mypyc_next_label__ = 0; + CPy_INCREF(cpy_r_call); + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r_r0)->___mypyc_generator_attribute__call != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r_r0)->___mypyc_generator_attribute__call); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r_r0)->___mypyc_generator_attribute__call = cpy_r_call; + cpy_r_r2 = 1; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 216, CPyStatic_call___globals); + goto CPyL5; + } + CPy_INCREF(cpy_r_data); + if (((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r_r0)->___mypyc_generator_attribute__data != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r_r0)->___mypyc_generator_attribute__data); + } + ((dank_mids___brownie_patch___call___decode_output_genObject *)cpy_r_r0)->___mypyc_generator_attribute__data = cpy_r_data; + cpy_r_r3 = 1; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 216, CPyStatic_call___globals); + goto CPyL5; + } + return cpy_r_r0; +CPyL4: ; + cpy_r_r4 = NULL; + return cpy_r_r4; +CPyL5: ; + CPy_DecRef(cpy_r_r0); + goto CPyL4; +} + +PyObject *CPyPy_call___decode_output(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"call", "data", 0}; + static CPyArg_Parser parser = {"OO:decode_output", kwlist, 0}; + PyObject *obj_call; + PyObject *obj_data; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_call, &obj_data)) { + return NULL; + } + PyObject *arg_call = obj_call; + PyObject *arg_data; + if (likely(PyBytes_Check(obj_data) || PyByteArray_Check(obj_data))) + arg_data = obj_data; + else { + CPy_TypeError("bytes", obj_data); + goto fail; + } + PyObject *retval = CPyDef_call___decode_output(arg_call, arg_data); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "decode_output", 216, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call____request_data_no_args_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr) { + int32_t cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + char cpy_r_r6; + char cpy_r_r7; + char cpy_r_r8; + PyObject *cpy_r_r9; + cpy_r_r0 = ((dank_mids___brownie_patch___call____request_data_no_args_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__; + goto CPyL11; +CPyL1: ; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_type != cpy_r_r1; + if (!cpy_r_r2) goto CPyL4; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_request_data_no_args", 248, CPyStatic_call___globals); + goto CPyL14; + } + CPy_Unreachable(); +CPyL4: ; + cpy_r_r3 = ((dank_mids___brownie_patch___call____request_data_no_args_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "_request_data_no_args", "_request_data_no_args_gen", "call", 249, CPyStatic_call___globals); + goto CPyL14; + } + CPy_INCREF(cpy_r_r3); +CPyL5: ; + cpy_r_r4 = CPyStatics[332]; /* 'signature' */ + cpy_r_r5 = CPyObject_GetAttr(cpy_r_r3, cpy_r_r4); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_request_data_no_args", 249, CPyStatic_call___globals); + goto CPyL14; + } + ((dank_mids___brownie_patch___call____request_data_no_args_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = -1; + if (cpy_r_stop_iter_ptr != NULL) goto CPyL10; + CPyGen_SetStopIterationValue(cpy_r_r5); + CPy_DECREF(cpy_r_r5); + if (!0) goto CPyL14; + CPy_Unreachable(); +CPyL10: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r5; + return 0; +CPyL11: ; + cpy_r_r7 = cpy_r_r0 == 0; + if (cpy_r_r7) goto CPyL1; + PyErr_SetNone(PyExc_StopIteration); + cpy_r_r8 = 0; + if (unlikely(!cpy_r_r8)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_request_data_no_args", 248, CPyStatic_call___globals); + goto CPyL14; + } + CPy_Unreachable(); +CPyL14: ; + cpy_r_r9 = NULL; + return cpy_r_r9; +} + +PyObject *CPyDef_call____request_data_no_args_gen_____next__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_call____request_data_no_args_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_r0, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_call____request_data_no_args_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__next__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call____request_data_no_args_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call._request_data_no_args_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call____request_data_no_args_gen_____next__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__next__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call____request_data_no_args_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_call____request_data_no_args_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_arg, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_call____request_data_no_args_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"arg", 0}; + static CPyArg_Parser parser = {"O:send", kwlist, 0}; + PyObject *obj_arg; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_arg)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call____request_data_no_args_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call._request_data_no_args_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_arg = obj_arg; + PyObject *retval = CPyDef_call____request_data_no_args_gen___send(arg___mypyc_self__, arg_arg); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "send", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call____request_data_no_args_gen_____iter__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_call____request_data_no_args_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call____request_data_no_args_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call._request_data_no_args_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call____request_data_no_args_gen_____iter__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__iter__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call____request_data_no_args_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + if (cpy_r_value != NULL) goto CPyL7; + CPy_INCREF(cpy_r_r0); + cpy_r_value = cpy_r_r0; +CPyL2: ; + if (cpy_r_traceback != NULL) goto CPyL8; + CPy_INCREF(cpy_r_r0); + cpy_r_traceback = cpy_r_r0; +CPyL4: ; + cpy_r_r1 = CPyDef_call____request_data_no_args_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_type, cpy_r_value, cpy_r_traceback, cpy_r_r0, 0); + CPy_DECREF(cpy_r_value); + CPy_DECREF(cpy_r_traceback); + if (cpy_r_r1 == NULL) goto CPyL6; + return cpy_r_r1; +CPyL6: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +CPyL7: ; + CPy_INCREF(cpy_r_value); + goto CPyL2; +CPyL8: ; + CPy_INCREF(cpy_r_traceback); + goto CPyL4; +} + +PyObject *CPyPy_call____request_data_no_args_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"type", "value", "traceback", 0}; + static CPyArg_Parser parser = {"O|OO:throw", kwlist, 0}; + PyObject *obj_type; + PyObject *obj_value = NULL; + PyObject *obj_traceback = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type, &obj_value, &obj_traceback)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call____request_data_no_args_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call._request_data_no_args_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_type = obj_type; + PyObject *arg_value; + if (obj_value == NULL) { + arg_value = NULL; + } else { + arg_value = obj_value; + } + PyObject *arg_traceback; + if (obj_traceback == NULL) { + arg_traceback = NULL; + } else { + arg_traceback = obj_traceback; + } + PyObject *retval = CPyDef_call____request_data_no_args_gen___throw(arg___mypyc_self__, arg_type, arg_value, arg_traceback); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "throw", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call____request_data_no_args_gen___close(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[17]; /* 'GeneratorExit' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = CPyDef_call____request_data_no_args_gen___throw(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r3, cpy_r_r4); + if (cpy_r_r5 != NULL) goto CPyL11; +CPyL3: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyModule_builtins; + cpy_r_r8 = CPyStatics[18]; /* 'StopIteration' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL12; + cpy_r_r10.f0 = cpy_r_r2; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp144 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp144); + PyObject *__tmp145 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp145); + cpy_r_r12 = CPy_ExceptionMatches(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (!cpy_r_r12) goto CPyL13; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + cpy_r_r13 = (PyObject *)&_Py_NoneStruct; + CPy_INCREF(cpy_r_r13); + return cpy_r_r13; +CPyL6: ; + CPy_Reraise(); + if (!0) goto CPyL10; + CPy_Unreachable(); +CPyL8: ; + PyErr_SetString(PyExc_RuntimeError, "generator ignored GeneratorExit"); + cpy_r_r14 = 0; + if (!cpy_r_r14) goto CPyL10; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL11: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r5); + goto CPyL8; +CPyL12: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL10; +CPyL13: ; + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL6; +} + +PyObject *CPyPy_call____request_data_no_args_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":close", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call____request_data_no_args_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call._request_data_no_args_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call____request_data_no_args_gen___close(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "close", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call____request_data_no_args_gen_____await__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_call____request_data_no_args_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__await__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_call____request_data_no_args_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.call._request_data_no_args_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_call____request_data_no_args_gen_____await__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__await__", -1, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call____request_data_no_args(PyObject *cpy_r_call) { + PyObject *cpy_r_r0; + char cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = CPyDef_call____request_data_no_args_gen(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_request_data_no_args", 248, CPyStatic_call___globals); + goto CPyL3; + } + ((dank_mids___brownie_patch___call____request_data_no_args_genObject *)cpy_r_r0)->___mypyc_next_label__ = 0; + CPy_INCREF(cpy_r_call); + if (((dank_mids___brownie_patch___call____request_data_no_args_genObject *)cpy_r_r0)->___mypyc_generator_attribute__call != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___call____request_data_no_args_genObject *)cpy_r_r0)->___mypyc_generator_attribute__call); + } + ((dank_mids___brownie_patch___call____request_data_no_args_genObject *)cpy_r_r0)->___mypyc_generator_attribute__call = cpy_r_call; + cpy_r_r2 = 1; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_request_data_no_args", 248, CPyStatic_call___globals); + goto CPyL4; + } + return cpy_r_r0; +CPyL3: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +CPyL4: ; + CPy_DecRef(cpy_r_r0); + goto CPyL3; +} + +PyObject *CPyPy_call____request_data_no_args(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"call", 0}; + static CPyArg_Parser parser = {"O:_request_data_no_args", kwlist, 0}; + PyObject *obj_call; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_call)) { + return NULL; + } + PyObject *arg_call = obj_call; + PyObject *retval = CPyDef_call____request_data_no_args(arg_call); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_request_data_no_args", 248, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call_____encode_input(PyObject *cpy_r_abi, PyObject *cpy_r_signature, PyObject *cpy_r_args) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject **cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + char cpy_r_r10; + PyObject **cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject **cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + tuple_T3OOO cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + char cpy_r_r25; + PyObject *cpy_r_r26; + char cpy_r_r27; + PyObject *cpy_r_r28; + cpy_r_r0 = CPyDef_call___format_input_but_cache_checksums(cpy_r_abi, cpy_r_args); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__encode_input", 260, CPyStatic_call___globals); + goto CPyL14; + } + cpy_r_r1 = CPyStatics[340]; /* 'inputs' */ + cpy_r_r2 = CPyDict_GetItem(cpy_r_abi, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__encode_input", 261, CPyStatic_call___globals); + goto CPyL22; + } + cpy_r_r3 = CPyStatic_call___globals; + cpy_r_r4 = CPyStatics[399]; /* 'get_type_strings' */ + cpy_r_r5 = CPyDict_GetItem(cpy_r_r3, cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__encode_input", 261, CPyStatic_call___globals); + goto CPyL23; + } + PyObject *cpy_r_r6[1] = {cpy_r_r2}; + cpy_r_r7 = (PyObject **)&cpy_r_r6; + cpy_r_r8 = PyObject_Vectorcall(cpy_r_r5, cpy_r_r7, 1, 0); + CPy_DECREF(cpy_r_r5); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__encode_input", 261, CPyStatic_call___globals); + goto CPyL23; + } + CPy_DECREF(cpy_r_r2); + cpy_r_r9 = CPyStatic_call_____eth_abi_encode; + if (unlikely(cpy_r_r9 == NULL)) { + goto CPyL24; + } else + goto CPyL8; +CPyL6: ; + PyErr_SetString(PyExc_NameError, "value for final name \"__eth_abi_encode\" was not set"); + cpy_r_r10 = 0; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__encode_input", 262, CPyStatic_call___globals); + goto CPyL14; + } + CPy_Unreachable(); +CPyL8: ; + PyObject *cpy_r_r11[2] = {cpy_r_r8, cpy_r_r0}; + cpy_r_r12 = (PyObject **)&cpy_r_r11; + cpy_r_r13 = PyObject_Vectorcall(cpy_r_r9, cpy_r_r12, 2, 0); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__encode_input", 262, CPyStatic_call___globals); + goto CPyL25; + } + CPy_DECREF(cpy_r_r8); + CPy_DECREF_NO_IMM(cpy_r_r0); + if (likely(PyBytes_Check(cpy_r_r13) || PyByteArray_Check(cpy_r_r13))) + cpy_r_r14 = cpy_r_r13; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "__encode_input", 262, CPyStatic_call___globals, "bytes", cpy_r_r13); + goto CPyL14; + } + cpy_r_r15 = CPyStatics[8]; /* 'hex' */ + PyObject *cpy_r_r16[1] = {cpy_r_r14}; + cpy_r_r17 = (PyObject **)&cpy_r_r16; + cpy_r_r18 = PyObject_VectorcallMethod(cpy_r_r15, cpy_r_r17, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__encode_input", 262, CPyStatic_call___globals); + goto CPyL26; + } + CPy_DECREF(cpy_r_r14); + if (likely(PyUnicode_Check(cpy_r_r18))) + cpy_r_r19 = cpy_r_r18; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "__encode_input", 262, CPyStatic_call___globals, "str", cpy_r_r18); + goto CPyL14; + } + cpy_r_r20 = PyUnicode_Concat(cpy_r_signature, cpy_r_r19); + CPy_DECREF(cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__encode_input", 262, CPyStatic_call___globals); + goto CPyL14; + } + return cpy_r_r20; +CPyL14: ; + cpy_r_r21 = CPy_CatchError(); + cpy_r_r22 = CPyModule_builtins; + cpy_r_r23 = CPyStatics[16]; /* 'Exception' */ + cpy_r_r24 = CPyObject_GetAttr(cpy_r_r22, cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__encode_input", 263, CPyStatic_call___globals); + goto CPyL19; + } + cpy_r_r25 = CPy_ExceptionMatches(cpy_r_r24); + CPy_DecRef(cpy_r_r24); + if (!cpy_r_r25) goto CPyL17; + cpy_r_r26 = CPy_GetExcValue(); + CPy_RestoreExcInfo(cpy_r_r21); + CPy_DecRef(cpy_r_r21.f0); + CPy_DecRef(cpy_r_r21.f1); + CPy_DecRef(cpy_r_r21.f2); + return cpy_r_r26; +CPyL17: ; + CPy_Reraise(); + if (!0) { + goto CPyL19; + } else + goto CPyL27; +CPyL18: ; + CPy_Unreachable(); +CPyL19: ; + CPy_RestoreExcInfo(cpy_r_r21); + CPy_DecRef(cpy_r_r21.f0); + CPy_DecRef(cpy_r_r21.f1); + CPy_DecRef(cpy_r_r21.f2); + cpy_r_r27 = CPy_KeepPropagating(); + if (!cpy_r_r27) goto CPyL21; + CPy_Unreachable(); +CPyL21: ; + cpy_r_r28 = NULL; + return cpy_r_r28; +CPyL22: ; + CPy_DecRef(cpy_r_r0); + goto CPyL14; +CPyL23: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r2); + goto CPyL14; +CPyL24: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r8); + goto CPyL6; +CPyL25: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r8); + goto CPyL14; +CPyL26: ; + CPy_DecRef(cpy_r_r14); + goto CPyL14; +CPyL27: ; + CPy_DecRef(cpy_r_r21.f0); + CPy_DecRef(cpy_r_r21.f1); + CPy_DecRef(cpy_r_r21.f2); + goto CPyL18; +} + +PyObject *CPyPy_call_____encode_input(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"abi", "signature", 0}; + static CPyArg_Parser parser = {"%OO:__encode_input", kwlist, 0}; + PyObject *obj_abi; + PyObject *obj_signature; + PyObject *obj_args; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_args, NULL, &obj_abi, &obj_signature)) { + return NULL; + } + PyObject *arg_abi; + if (likely(PyDict_Check(obj_abi))) + arg_abi = obj_abi; + else { + CPy_TypeError("dict", obj_abi); + goto fail; + } + PyObject *arg_signature; + if (likely(PyUnicode_Check(obj_signature))) + arg_signature = obj_signature; + else { + CPy_TypeError("str", obj_signature); + goto fail; + } + PyObject *arg_args = obj_args; + PyObject *retval = CPyDef_call_____encode_input(arg_abi, arg_signature, arg_args); + CPy_DECREF(obj_args); + return retval; +fail: ; + CPy_DECREF(obj_args); + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__encode_input", 258, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call_____decode_output(PyObject *cpy_r_hexstr, PyObject *cpy_r_abi) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + char cpy_r_r9; + PyObject **cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject **cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_result; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + CPyPtr cpy_r_r21; + int64_t cpy_r_r22; + CPyTagged cpy_r_r23; + char cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + tuple_T3OOO cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + char cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_e; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + int32_t cpy_r_r40; + char cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + int32_t cpy_r_r44; + char cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + char cpy_r_r49; + PyObject *cpy_r_r50; + char cpy_r_r51; + PyObject *cpy_r_r52; + cpy_r_r0 = CPyStatics[400]; /* 'outputs' */ + cpy_r_r1 = CPyDict_GetItem(cpy_r_abi, cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 282, CPyStatic_call___globals); + goto CPyL20; + } + cpy_r_r2 = CPyStatic_call___globals; + cpy_r_r3 = CPyStatics[399]; /* 'get_type_strings' */ + cpy_r_r4 = CPyDict_GetItem(cpy_r_r2, cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 282, CPyStatic_call___globals); + goto CPyL38; + } + PyObject *cpy_r_r5[1] = {cpy_r_r1}; + cpy_r_r6 = (PyObject **)&cpy_r_r5; + cpy_r_r7 = PyObject_Vectorcall(cpy_r_r4, cpy_r_r6, 1, 0); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 282, CPyStatic_call___globals); + goto CPyL38; + } + CPy_DECREF(cpy_r_r1); + cpy_r_r8 = CPyStatic_call___HexBytes; + if (unlikely(cpy_r_r8 == NULL)) { + goto CPyL39; + } else + goto CPyL7; +CPyL5: ; + PyErr_SetString(PyExc_NameError, "value for final name \"HexBytes\" was not set"); + cpy_r_r9 = 0; + if (unlikely(!cpy_r_r9)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 283, CPyStatic_call___globals); + goto CPyL20; + } + CPy_Unreachable(); +CPyL7: ; + PyObject *cpy_r_r10[1] = {cpy_r_hexstr}; + cpy_r_r11 = (PyObject **)&cpy_r_r10; + cpy_r_r12 = PyObject_Vectorcall(cpy_r_r8, cpy_r_r11, 1, 0); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 283, CPyStatic_call___globals); + goto CPyL40; + } + cpy_r_r13 = CPyStatic_call_____eth_abi_decode; + if (unlikely(cpy_r_r13 == NULL)) { + goto CPyL41; + } else + goto CPyL11; +CPyL9: ; + PyErr_SetString(PyExc_NameError, "value for final name \"__eth_abi_decode\" was not set"); + cpy_r_r14 = 0; + if (unlikely(!cpy_r_r14)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 283, CPyStatic_call___globals); + goto CPyL20; + } + CPy_Unreachable(); +CPyL11: ; + PyObject *cpy_r_r15[2] = {cpy_r_r7, cpy_r_r12}; + cpy_r_r16 = (PyObject **)&cpy_r_r15; + cpy_r_r17 = PyObject_Vectorcall(cpy_r_r13, cpy_r_r16, 2, 0); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 283, CPyStatic_call___globals); + goto CPyL42; + } + CPy_DECREF(cpy_r_r7); + CPy_DECREF(cpy_r_r12); + if (likely(PyTuple_Check(cpy_r_r17))) + cpy_r_r18 = cpy_r_r17; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 283, CPyStatic_call___globals, "tuple", cpy_r_r17); + goto CPyL20; + } + cpy_r_result = cpy_r_r18; + cpy_r_r19 = CPyDef_call___format_output_but_cache_checksums(cpy_r_abi, cpy_r_result); + CPy_DECREF(cpy_r_result); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 284, CPyStatic_call___globals); + goto CPyL20; + } + if (likely(PyTuple_Check(cpy_r_r19))) + cpy_r_r20 = cpy_r_r19; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 284, CPyStatic_call___globals, "tuple", cpy_r_r19); + goto CPyL20; + } + cpy_r_result = cpy_r_r20; + cpy_r_r21 = (CPyPtr)&((PyVarObject *)cpy_r_result)->ob_size; + cpy_r_r22 = *(int64_t *)cpy_r_r21; + cpy_r_r23 = cpy_r_r22 << 1; + cpy_r_r24 = cpy_r_r23 == 2; + if (!cpy_r_r24) goto CPyL18; + cpy_r_r25 = CPySequenceTuple_GetItem(cpy_r_result, 0); + CPy_DECREF(cpy_r_result); + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 285, CPyStatic_call___globals); + goto CPyL20; + } + cpy_r_r26 = cpy_r_r25; + goto CPyL19; +CPyL18: ; + cpy_r_r26 = cpy_r_result; +CPyL19: ; + return cpy_r_r26; +CPyL20: ; + cpy_r_r27 = CPy_CatchError(); + cpy_r_r28 = CPyStatic_call___globals; + cpy_r_r29 = CPyStatics[401]; /* 'DecodingError' */ + cpy_r_r30 = CPyDict_GetItem(cpy_r_r28, cpy_r_r29); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 286, CPyStatic_call___globals); + goto CPyL35; + } + cpy_r_r31 = CPy_ExceptionMatches(cpy_r_r30); + CPy_DecRef(cpy_r_r30); + if (!cpy_r_r31) goto CPyL30; + cpy_r_r32 = CPy_GetExcValue(); + cpy_r_e = cpy_r_r32; + cpy_r_r33 = CPyStatics[186]; /* 'args' */ + cpy_r_r34 = CPyObject_GetAttr(cpy_r_e, cpy_r_r33); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 287, CPyStatic_call___globals); + goto CPyL43; + } + cpy_r_r35 = CPyStatics[402]; /* 'hexstr' */ + cpy_r_r36 = CPyStatics[330]; /* 'abi' */ + cpy_r_r37 = CPyDict_Build(2, cpy_r_r35, cpy_r_hexstr, cpy_r_r36, cpy_r_abi); + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 287, CPyStatic_call___globals); + goto CPyL44; + } + cpy_r_r38 = PyList_New(0); + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 287, CPyStatic_call___globals); + goto CPyL45; + } + cpy_r_r39 = CPyList_Extend(cpy_r_r38, cpy_r_r34); + CPy_DecRef(cpy_r_r34); + if (unlikely(cpy_r_r39 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 287, CPyStatic_call___globals); + goto CPyL46; + } else + goto CPyL47; +CPyL26: ; + cpy_r_r40 = PyList_Append(cpy_r_r38, cpy_r_r37); + CPy_DecRef(cpy_r_r37); + cpy_r_r41 = cpy_r_r40 >= 0; + if (unlikely(!cpy_r_r41)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 287, CPyStatic_call___globals); + goto CPyL48; + } + cpy_r_r42 = PyList_AsTuple(cpy_r_r38); + CPy_DecRef(cpy_r_r38); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 287, CPyStatic_call___globals); + goto CPyL43; + } + cpy_r_r43 = CPyStatics[186]; /* 'args' */ + cpy_r_r44 = PyObject_SetAttr(cpy_r_e, cpy_r_r43, cpy_r_r42); + CPy_DecRef(cpy_r_r42); + cpy_r_r45 = cpy_r_r44 >= 0; + if (unlikely(!cpy_r_r45)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 287, CPyStatic_call___globals); + goto CPyL43; + } + CPy_RestoreExcInfo(cpy_r_r27); + CPy_DecRef(cpy_r_r27.f0); + CPy_DecRef(cpy_r_r27.f1); + CPy_DecRef(cpy_r_r27.f2); + return cpy_r_e; +CPyL30: ; + cpy_r_r46 = CPyModule_builtins; + cpy_r_r47 = CPyStatics[16]; /* 'Exception' */ + cpy_r_r48 = CPyObject_GetAttr(cpy_r_r46, cpy_r_r47); + if (unlikely(cpy_r_r48 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 289, CPyStatic_call___globals); + goto CPyL35; + } + cpy_r_r49 = CPy_ExceptionMatches(cpy_r_r48); + CPy_DecRef(cpy_r_r48); + if (!cpy_r_r49) goto CPyL33; + cpy_r_r50 = CPy_GetExcValue(); + cpy_r_e = cpy_r_r50; + CPy_RestoreExcInfo(cpy_r_r27); + CPy_DecRef(cpy_r_r27.f0); + CPy_DecRef(cpy_r_r27.f1); + CPy_DecRef(cpy_r_r27.f2); + return cpy_r_e; +CPyL33: ; + CPy_Reraise(); + if (!0) { + goto CPyL35; + } else + goto CPyL49; +CPyL34: ; + CPy_Unreachable(); +CPyL35: ; + CPy_RestoreExcInfo(cpy_r_r27); + CPy_DecRef(cpy_r_r27.f0); + CPy_DecRef(cpy_r_r27.f1); + CPy_DecRef(cpy_r_r27.f2); + cpy_r_r51 = CPy_KeepPropagating(); + if (!cpy_r_r51) goto CPyL37; + CPy_Unreachable(); +CPyL37: ; + cpy_r_r52 = NULL; + return cpy_r_r52; +CPyL38: ; + CPy_DecRef(cpy_r_r1); + goto CPyL20; +CPyL39: ; + CPy_DecRef(cpy_r_r7); + goto CPyL5; +CPyL40: ; + CPy_DecRef(cpy_r_r7); + goto CPyL20; +CPyL41: ; + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r12); + goto CPyL9; +CPyL42: ; + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r12); + goto CPyL20; +CPyL43: ; + CPy_DecRef(cpy_r_e); + goto CPyL35; +CPyL44: ; + CPy_DecRef(cpy_r_e); + CPy_DecRef(cpy_r_r34); + goto CPyL35; +CPyL45: ; + CPy_DecRef(cpy_r_e); + CPy_DecRef(cpy_r_r34); + CPy_DecRef(cpy_r_r37); + goto CPyL35; +CPyL46: ; + CPy_DecRef(cpy_r_e); + CPy_DecRef(cpy_r_r37); + CPy_DecRef(cpy_r_r38); + goto CPyL35; +CPyL47: ; + CPy_DecRef(cpy_r_r39); + goto CPyL26; +CPyL48: ; + CPy_DecRef(cpy_r_e); + CPy_DecRef(cpy_r_r38); + goto CPyL35; +CPyL49: ; + CPy_DecRef(cpy_r_r27.f0); + CPy_DecRef(cpy_r_r27.f1); + CPy_DecRef(cpy_r_r27.f2); + goto CPyL34; +} + +PyObject *CPyPy_call_____decode_output(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"hexstr", "abi", 0}; + static CPyArg_Parser parser = {"OO:__decode_output", kwlist, 0}; + PyObject *obj_hexstr; + PyObject *obj_abi; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_hexstr, &obj_abi)) { + return NULL; + } + PyObject *arg_hexstr = obj_hexstr; + PyObject *arg_abi; + if (likely(PyDict_Check(obj_abi))) + arg_abi = obj_abi; + else { + CPy_TypeError("dict", obj_abi); + goto fail; + } + PyObject *retval = CPyDef_call_____decode_output(arg_hexstr, arg_abi); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__decode_output", 280, CPyStatic_call___globals); + return NULL; +} + +char CPyDef_call_____validate_output(PyObject *cpy_r_abi, PyObject *cpy_r_hexstr) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject **cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject **cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + int32_t cpy_r_r16; + char cpy_r_r17; + char cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + CPyPtr cpy_r_r21; + CPyPtr cpy_r_r22; + PyObject *cpy_r_r23; + char cpy_r_r24; + PyObject **cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + char cpy_r_r34; + PyObject **cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_revert_str; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + char cpy_r_r44; + PyObject **cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + int32_t cpy_r_r50; + char cpy_r_r51; + char cpy_r_r52; + PyObject *cpy_r_r53; + char cpy_r_r54; + PyObject **cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject **cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + PyObject **cpy_r_r70; + PyObject *cpy_r_r71; + CPyTagged cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + int32_t cpy_r_r77; + char cpy_r_r78; + char cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + PyObject *cpy_r_r88; + PyObject *cpy_r_r89; + PyObject *cpy_r_r90; + PyObject *cpy_r_r91; + PyObject *cpy_r_r92; + char cpy_r_r93; + PyObject **cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + PyObject *cpy_r_r98; + int32_t cpy_r_r99; + char cpy_r_r100; + char cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + char cpy_r_r104; + PyObject **cpy_r_r106; + PyObject *cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + int32_t cpy_r_r110; + char cpy_r_r111; + char cpy_r_r112; + int32_t cpy_r_r113; + char cpy_r_r114; + char cpy_r_r115; + PyObject *cpy_r_r116; + PyObject *cpy_r_r117; + char cpy_r_r118; + PyObject **cpy_r_r120; + PyObject *cpy_r_r121; + tuple_T3OOO cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + char cpy_r_r126; + PyObject *cpy_r_r127; + PyObject *cpy_r_r128; + PyObject *cpy_r_r129; + PyObject *cpy_r_r130; + PyObject **cpy_r_r132; + PyObject *cpy_r_r133; + tuple_T3OOO cpy_r_r134; + char cpy_r_r135; + char cpy_r_r136; + char cpy_r_r137; + cpy_r_r0 = CPyStatic_call___HexBytes; + if (likely(cpy_r_r0 != NULL)) goto CPyL4; + PyErr_SetString(PyExc_NameError, "value for final name \"HexBytes\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 295, CPyStatic_call___globals); + goto CPyL81; + } + CPy_Unreachable(); +CPyL4: ; + PyObject *cpy_r_r2[1] = {cpy_r_hexstr}; + cpy_r_r3 = (PyObject **)&cpy_r_r2; + cpy_r_r4 = PyObject_Vectorcall(cpy_r_r0, cpy_r_r3, 1, 0); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 295, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r5 = (PyObject *)&_Py_NoneStruct; + cpy_r_r6 = (PyObject *)&_Py_NoneStruct; + cpy_r_r7 = CPyStatics[880]; /* 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", 295, CPyStatic_call___globals); + goto CPyL98; + } + cpy_r_r9 = PyObject_GetItem(cpy_r_r4, cpy_r_r8); + CPy_DECREF(cpy_r_r4); + CPy_DECREF(cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 295, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r10 = CPyStatics[8]; /* 'hex' */ + PyObject *cpy_r_r11[1] = {cpy_r_r9}; + cpy_r_r12 = (PyObject **)&cpy_r_r11; + cpy_r_r13 = PyObject_VectorcallMethod(cpy_r_r10, cpy_r_r12, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 295, CPyStatic_call___globals); + goto CPyL99; + } + CPy_DECREF(cpy_r_r9); + cpy_r_r14 = CPyStatics[403]; /* '0x08c379a0' */ + cpy_r_r15 = PyObject_RichCompare(cpy_r_r13, cpy_r_r14, 2); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 296, CPyStatic_call___globals); + goto CPyL100; + } + cpy_r_r16 = PyObject_IsTrue(cpy_r_r15); + CPy_DECREF(cpy_r_r15); + cpy_r_r17 = cpy_r_r16 >= 0; + if (unlikely(!cpy_r_r17)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 296, CPyStatic_call___globals); + goto CPyL100; + } + cpy_r_r18 = cpy_r_r16; + if (cpy_r_r18) { + goto CPyL101; + } else + goto CPyL32; +CPyL11: ; + cpy_r_r19 = CPyStatics[404]; /* 'string' */ + cpy_r_r20 = PyList_New(1); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 297, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r21 = (CPyPtr)&((PyListObject *)cpy_r_r20)->ob_item; + cpy_r_r22 = *(CPyPtr *)cpy_r_r21; + CPy_INCREF(cpy_r_r19); + *(PyObject * *)cpy_r_r22 = cpy_r_r19; + cpy_r_r23 = CPyStatic_call___HexBytes; + if (unlikely(cpy_r_r23 == NULL)) { + goto CPyL102; + } else + goto CPyL15; +CPyL13: ; + PyErr_SetString(PyExc_NameError, "value for final name \"HexBytes\" was not set"); + cpy_r_r24 = 0; + if (unlikely(!cpy_r_r24)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 297, CPyStatic_call___globals); + goto CPyL81; + } + CPy_Unreachable(); +CPyL15: ; + PyObject *cpy_r_r25[1] = {cpy_r_hexstr}; + cpy_r_r26 = (PyObject **)&cpy_r_r25; + cpy_r_r27 = PyObject_Vectorcall(cpy_r_r23, cpy_r_r26, 1, 0); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 297, CPyStatic_call___globals); + goto CPyL103; + } + cpy_r_r28 = (PyObject *)&_Py_NoneStruct; + cpy_r_r29 = (PyObject *)&_Py_NoneStruct; + cpy_r_r30 = CPyStatics[880]; /* 4 */ + cpy_r_r31 = PySlice_New(cpy_r_r30, cpy_r_r28, cpy_r_r29); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 297, CPyStatic_call___globals); + goto CPyL104; + } + cpy_r_r32 = PyObject_GetItem(cpy_r_r27, cpy_r_r31); + CPy_DECREF(cpy_r_r27); + CPy_DECREF(cpy_r_r31); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 297, CPyStatic_call___globals); + goto CPyL103; + } + cpy_r_r33 = CPyStatic_call_____eth_abi_decode; + if (unlikely(cpy_r_r33 == NULL)) { + goto CPyL105; + } else + goto CPyL21; +CPyL19: ; + PyErr_SetString(PyExc_NameError, "value for final name \"__eth_abi_decode\" was not set"); + cpy_r_r34 = 0; + if (unlikely(!cpy_r_r34)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 297, CPyStatic_call___globals); + goto CPyL81; + } + CPy_Unreachable(); +CPyL21: ; + PyObject *cpy_r_r35[2] = {cpy_r_r20, cpy_r_r32}; + cpy_r_r36 = (PyObject **)&cpy_r_r35; + cpy_r_r37 = PyObject_Vectorcall(cpy_r_r33, cpy_r_r36, 2, 0); + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 297, CPyStatic_call___globals); + goto CPyL106; + } + CPy_DECREF_NO_IMM(cpy_r_r20); + CPy_DECREF(cpy_r_r32); + if (likely(PyTuple_Check(cpy_r_r37))) + cpy_r_r38 = cpy_r_r37; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 297, CPyStatic_call___globals, "tuple", cpy_r_r37); + goto CPyL81; + } + cpy_r_r39 = CPySequenceTuple_GetItem(cpy_r_r38, 0); + CPy_DECREF(cpy_r_r38); + if (unlikely(cpy_r_r39 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 297, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_revert_str = cpy_r_r39; + cpy_r_r40 = CPyStatics[405]; /* 'Call reverted: ' */ + cpy_r_r41 = PyObject_Str(cpy_r_revert_str); + CPy_DECREF(cpy_r_revert_str); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 298, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r42 = CPyStr_Build(2, cpy_r_r40, cpy_r_r41); + CPy_DECREF(cpy_r_r41); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 298, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r43 = CPyStatic_call___Revert; + if (unlikely(cpy_r_r43 == NULL)) { + goto CPyL107; + } else + goto CPyL29; +CPyL27: ; + PyErr_SetString(PyExc_NameError, "value for final name \"Revert\" was not set"); + cpy_r_r44 = 0; + if (unlikely(!cpy_r_r44)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 298, CPyStatic_call___globals); + goto CPyL81; + } + CPy_Unreachable(); +CPyL29: ; + PyObject *cpy_r_r45[1] = {cpy_r_r42}; + cpy_r_r46 = (PyObject **)&cpy_r_r45; + cpy_r_r47 = PyObject_Vectorcall(cpy_r_r43, cpy_r_r46, 1, 0); + if (unlikely(cpy_r_r47 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 298, CPyStatic_call___globals); + goto CPyL108; + } + CPy_DECREF(cpy_r_r42); + CPy_Raise(cpy_r_r47); + CPy_DECREF(cpy_r_r47); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 298, CPyStatic_call___globals); + goto CPyL81; + } + CPy_Unreachable(); +CPyL32: ; + cpy_r_r48 = CPyStatics[406]; /* '0x4e487b71' */ + cpy_r_r49 = PyObject_RichCompare(cpy_r_r13, cpy_r_r48, 2); + if (unlikely(cpy_r_r49 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 299, CPyStatic_call___globals); + goto CPyL100; + } + cpy_r_r50 = PyObject_IsTrue(cpy_r_r49); + CPy_DECREF(cpy_r_r49); + cpy_r_r51 = cpy_r_r50 >= 0; + if (unlikely(!cpy_r_r51)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 299, CPyStatic_call___globals); + goto CPyL100; + } + cpy_r_r52 = cpy_r_r50; + if (cpy_r_r52) { + goto CPyL109; + } else + goto CPyL61; +CPyL35: ; + cpy_r_r53 = CPyStatic_call___HexBytes; + if (likely(cpy_r_r53 != NULL)) goto CPyL38; + PyErr_SetString(PyExc_NameError, "value for final name \"HexBytes\" was not set"); + cpy_r_r54 = 0; + if (unlikely(!cpy_r_r54)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 300, CPyStatic_call___globals); + goto CPyL81; + } + CPy_Unreachable(); +CPyL38: ; + PyObject *cpy_r_r55[1] = {cpy_r_hexstr}; + cpy_r_r56 = (PyObject **)&cpy_r_r55; + cpy_r_r57 = PyObject_Vectorcall(cpy_r_r53, cpy_r_r56, 1, 0); + if (unlikely(cpy_r_r57 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 300, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r58 = (PyObject *)&_Py_NoneStruct; + cpy_r_r59 = (PyObject *)&_Py_NoneStruct; + cpy_r_r60 = CPyStatics[880]; /* 4 */ + cpy_r_r61 = PySlice_New(cpy_r_r60, cpy_r_r58, cpy_r_r59); + if (unlikely(cpy_r_r61 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 300, CPyStatic_call___globals); + goto CPyL110; + } + cpy_r_r62 = PyObject_GetItem(cpy_r_r57, cpy_r_r61); + CPy_DECREF(cpy_r_r57); + CPy_DECREF(cpy_r_r61); + if (unlikely(cpy_r_r62 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 300, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r63 = CPyStatics[8]; /* 'hex' */ + PyObject *cpy_r_r64[1] = {cpy_r_r62}; + cpy_r_r65 = (PyObject **)&cpy_r_r64; + cpy_r_r66 = PyObject_VectorcallMethod(cpy_r_r63, cpy_r_r65, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r66 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 300, CPyStatic_call___globals); + goto CPyL111; + } + CPy_DECREF(cpy_r_r62); + cpy_r_r67 = (PyObject *)&PyLong_Type; + cpy_r_r68 = CPyStatics[881]; /* 16 */ + PyObject *cpy_r_r69[2] = {cpy_r_r66, cpy_r_r68}; + cpy_r_r70 = (PyObject **)&cpy_r_r69; + cpy_r_r71 = PyObject_Vectorcall(cpy_r_r67, cpy_r_r70, 2, 0); + if (unlikely(cpy_r_r71 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 300, CPyStatic_call___globals); + goto CPyL112; + } + CPy_DECREF(cpy_r_r66); + if (likely(PyLong_Check(cpy_r_r71))) + cpy_r_r72 = CPyTagged_FromObject(cpy_r_r71); + else { + CPy_TypeError("int", cpy_r_r71); cpy_r_r72 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_r71); + if (unlikely(cpy_r_r72 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 300, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r73 = CPyStatic_call___globals; + cpy_r_r74 = CPyStatics[407]; /* 'SOLIDITY_ERROR_CODES' */ + cpy_r_r75 = CPyDict_GetItem(cpy_r_r73, cpy_r_r74); + if (unlikely(cpy_r_r75 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 301, CPyStatic_call___globals); + goto CPyL113; + } + CPyTagged_INCREF(cpy_r_r72); + cpy_r_r76 = CPyTagged_StealAsObject(cpy_r_r72); + cpy_r_r77 = PySequence_Contains(cpy_r_r75, cpy_r_r76); + CPy_DECREF(cpy_r_r75); + CPy_DECREF(cpy_r_r76); + cpy_r_r78 = cpy_r_r77 >= 0; + if (unlikely(!cpy_r_r78)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 301, CPyStatic_call___globals); + goto CPyL113; + } + cpy_r_r79 = cpy_r_r77; + if (!cpy_r_r79) goto CPyL50; + cpy_r_r80 = CPyStatic_call___globals; + cpy_r_r81 = CPyStatics[407]; /* 'SOLIDITY_ERROR_CODES' */ + cpy_r_r82 = CPyDict_GetItem(cpy_r_r80, cpy_r_r81); + if (unlikely(cpy_r_r82 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 302, CPyStatic_call___globals); + goto CPyL113; + } + cpy_r_r83 = CPyTagged_StealAsObject(cpy_r_r72); + cpy_r_r84 = PyObject_GetItem(cpy_r_r82, cpy_r_r83); + CPy_DECREF(cpy_r_r82); + CPy_DECREF(cpy_r_r83); + if (unlikely(cpy_r_r84 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 302, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_revert_str = cpy_r_r84; + goto CPyL53; +CPyL50: ; + cpy_r_r85 = CPyStatics[408]; /* 'Panic (error code: ' */ + cpy_r_r86 = CPyTagged_Str(cpy_r_r72); + CPyTagged_DECREF(cpy_r_r72); + if (unlikely(cpy_r_r86 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 304, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r87 = CPyStatics[338]; /* ')' */ + cpy_r_r88 = CPyStr_Build(3, cpy_r_r85, cpy_r_r86, cpy_r_r87); + CPy_DECREF(cpy_r_r86); + if (unlikely(cpy_r_r88 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 304, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_revert_str = cpy_r_r88; +CPyL53: ; + cpy_r_r89 = CPyStatics[405]; /* 'Call reverted: ' */ + cpy_r_r90 = PyObject_Str(cpy_r_revert_str); + CPy_DECREF(cpy_r_revert_str); + if (unlikely(cpy_r_r90 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 305, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r91 = CPyStr_Build(2, cpy_r_r89, cpy_r_r90); + CPy_DECREF(cpy_r_r90); + if (unlikely(cpy_r_r91 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 305, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r92 = CPyStatic_call___Revert; + if (unlikely(cpy_r_r92 == NULL)) { + goto CPyL114; + } else + goto CPyL58; +CPyL56: ; + PyErr_SetString(PyExc_NameError, "value for final name \"Revert\" was not set"); + cpy_r_r93 = 0; + if (unlikely(!cpy_r_r93)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 305, CPyStatic_call___globals); + goto CPyL81; + } + CPy_Unreachable(); +CPyL58: ; + PyObject *cpy_r_r94[1] = {cpy_r_r91}; + cpy_r_r95 = (PyObject **)&cpy_r_r94; + cpy_r_r96 = PyObject_Vectorcall(cpy_r_r92, cpy_r_r95, 1, 0); + if (unlikely(cpy_r_r96 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 305, CPyStatic_call___globals); + goto CPyL115; + } + CPy_DECREF(cpy_r_r91); + CPy_Raise(cpy_r_r96); + CPy_DECREF(cpy_r_r96); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 305, CPyStatic_call___globals); + goto CPyL81; + } + CPy_Unreachable(); +CPyL61: ; + cpy_r_r97 = CPyStatics[409]; /* '0xc1b84b2f' */ + cpy_r_r98 = PyObject_RichCompare(cpy_r_r13, cpy_r_r97, 2); + CPy_DECREF(cpy_r_r13); + if (unlikely(cpy_r_r98 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 306, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r99 = PyObject_IsTrue(cpy_r_r98); + CPy_DECREF(cpy_r_r98); + cpy_r_r100 = cpy_r_r99 >= 0; + if (unlikely(!cpy_r_r100)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 306, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r101 = cpy_r_r99; + if (!cpy_r_r101) goto CPyL70; + cpy_r_r102 = CPyStatics[410]; /* 'Call reverted: execution reverted' */ + cpy_r_r103 = CPyStatic_call___Revert; + if (likely(cpy_r_r103 != NULL)) goto CPyL67; + PyErr_SetString(PyExc_NameError, "value for final name \"Revert\" was not set"); + cpy_r_r104 = 0; + if (unlikely(!cpy_r_r104)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 307, CPyStatic_call___globals); + goto CPyL81; + } + CPy_Unreachable(); +CPyL67: ; + PyObject *cpy_r_r105[1] = {cpy_r_r102}; + cpy_r_r106 = (PyObject **)&cpy_r_r105; + cpy_r_r107 = PyObject_Vectorcall(cpy_r_r103, cpy_r_r106, 1, 0); + if (unlikely(cpy_r_r107 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 307, CPyStatic_call___globals); + goto CPyL81; + } + CPy_Raise(cpy_r_r107); + CPy_DECREF(cpy_r_r107); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 307, CPyStatic_call___globals); + goto CPyL81; + } + CPy_Unreachable(); +CPyL70: ; + cpy_r_r108 = CPyStatics[400]; /* 'outputs' */ + cpy_r_r109 = CPyDict_GetItem(cpy_r_abi, cpy_r_r108); + if (unlikely(cpy_r_r109 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 308, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r110 = PyObject_IsTrue(cpy_r_r109); + CPy_DECREF(cpy_r_r109); + cpy_r_r111 = cpy_r_r110 >= 0; + if (unlikely(!cpy_r_r111)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 308, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r112 = cpy_r_r110; + if (!cpy_r_r112) goto CPyL96; + cpy_r_r113 = PyObject_IsTrue(cpy_r_hexstr); + cpy_r_r114 = cpy_r_r113 >= 0; + if (unlikely(!cpy_r_r114)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 293, CPyStatic_call___globals); + goto CPyL81; + } + cpy_r_r115 = cpy_r_r113; + if (cpy_r_r115) goto CPyL96; + cpy_r_r116 = CPyStatics[411]; /* 'No data was returned - the call likely reverted' */ + cpy_r_r117 = CPyStatic_call___Revert; + if (likely(cpy_r_r117 != NULL)) goto CPyL78; + PyErr_SetString(PyExc_NameError, "value for final name \"Revert\" was not set"); + cpy_r_r118 = 0; + if (unlikely(!cpy_r_r118)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 309, CPyStatic_call___globals); + goto CPyL81; + } + CPy_Unreachable(); +CPyL78: ; + PyObject *cpy_r_r119[1] = {cpy_r_r116}; + cpy_r_r120 = (PyObject **)&cpy_r_r119; + cpy_r_r121 = PyObject_Vectorcall(cpy_r_r117, cpy_r_r120, 1, 0); + if (unlikely(cpy_r_r121 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 309, CPyStatic_call___globals); + goto CPyL81; + } + CPy_Raise(cpy_r_r121); + CPy_DECREF(cpy_r_r121); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 309, CPyStatic_call___globals); + goto CPyL81; + } + CPy_Unreachable(); +CPyL81: ; + cpy_r_r122 = CPy_CatchError(); + cpy_r_r123 = CPyModule_builtins; + cpy_r_r124 = CPyStatics[177]; /* 'ValueError' */ + cpy_r_r125 = CPyObject_GetAttr(cpy_r_r123, cpy_r_r124); + if (unlikely(cpy_r_r125 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 310, CPyStatic_call___globals); + goto CPyL94; + } + cpy_r_r126 = CPy_ExceptionMatches(cpy_r_r125); + CPy_DecRef(cpy_r_r125); + if (!cpy_r_r126) goto CPyL92; + cpy_r_r127 = CPy_GetExcValue(); + cpy_r_r128 = CPyStatic_call___globals; + cpy_r_r129 = CPyStatics[412]; /* 'VirtualMachineError' */ + cpy_r_r130 = CPyDict_GetItem(cpy_r_r128, cpy_r_r129); + if (unlikely(cpy_r_r130 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 312, CPyStatic_call___globals); + goto CPyL88; + } + PyObject *cpy_r_r131[1] = {cpy_r_r127}; + cpy_r_r132 = (PyObject **)&cpy_r_r131; + cpy_r_r133 = PyObject_Vectorcall(cpy_r_r130, cpy_r_r132, 1, 0); + CPy_DecRef(cpy_r_r130); + if (unlikely(cpy_r_r133 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 312, CPyStatic_call___globals); + goto CPyL88; + } + CPy_Raise(cpy_r_r133); + CPy_DecRef(cpy_r_r133); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 312, CPyStatic_call___globals); + goto CPyL88; + } else + goto CPyL116; +CPyL87: ; + CPy_Unreachable(); +CPyL88: ; + cpy_r_r134 = CPy_CatchError(); + CPy_Raise(cpy_r_r127); + CPy_DecRef(cpy_r_r127); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 314, CPyStatic_call___globals); + goto CPyL90; + } else + goto CPyL117; +CPyL89: ; + CPy_Unreachable(); +CPyL90: ; + CPy_RestoreExcInfo(cpy_r_r134); + CPy_DecRef(cpy_r_r134.f0); + CPy_DecRef(cpy_r_r134.f1); + CPy_DecRef(cpy_r_r134.f2); + cpy_r_r135 = CPy_KeepPropagating(); + if (!cpy_r_r135) { + goto CPyL94; + } else + goto CPyL118; +CPyL91: ; + CPy_Unreachable(); +CPyL92: ; + CPy_Reraise(); + if (!0) { + goto CPyL94; + } else + goto CPyL119; +CPyL93: ; + CPy_Unreachable(); +CPyL94: ; + CPy_RestoreExcInfo(cpy_r_r122); + CPy_DecRef(cpy_r_r122.f0); + CPy_DecRef(cpy_r_r122.f1); + CPy_DecRef(cpy_r_r122.f2); + cpy_r_r136 = CPy_KeepPropagating(); + if (!cpy_r_r136) goto CPyL97; + CPy_Unreachable(); +CPyL96: ; + return 1; +CPyL97: ; + cpy_r_r137 = 2; + return cpy_r_r137; +CPyL98: ; + CPy_DecRef(cpy_r_r4); + goto CPyL81; +CPyL99: ; + CPy_DecRef(cpy_r_r9); + goto CPyL81; +CPyL100: ; + CPy_DecRef(cpy_r_r13); + goto CPyL81; +CPyL101: ; + CPy_DECREF(cpy_r_r13); + goto CPyL11; +CPyL102: ; + CPy_DecRef(cpy_r_r20); + goto CPyL13; +CPyL103: ; + CPy_DecRef(cpy_r_r20); + goto CPyL81; +CPyL104: ; + CPy_DecRef(cpy_r_r20); + CPy_DecRef(cpy_r_r27); + goto CPyL81; +CPyL105: ; + CPy_DecRef(cpy_r_r20); + CPy_DecRef(cpy_r_r32); + goto CPyL19; +CPyL106: ; + CPy_DecRef(cpy_r_r20); + CPy_DecRef(cpy_r_r32); + goto CPyL81; +CPyL107: ; + CPy_DecRef(cpy_r_r42); + goto CPyL27; +CPyL108: ; + CPy_DecRef(cpy_r_r42); + goto CPyL81; +CPyL109: ; + CPy_DECREF(cpy_r_r13); + goto CPyL35; +CPyL110: ; + CPy_DecRef(cpy_r_r57); + goto CPyL81; +CPyL111: ; + CPy_DecRef(cpy_r_r62); + goto CPyL81; +CPyL112: ; + CPy_DecRef(cpy_r_r66); + goto CPyL81; +CPyL113: ; + CPyTagged_DecRef(cpy_r_r72); + goto CPyL81; +CPyL114: ; + CPy_DecRef(cpy_r_r91); + goto CPyL56; +CPyL115: ; + CPy_DecRef(cpy_r_r91); + goto CPyL81; +CPyL116: ; + CPy_DecRef(cpy_r_r122.f0); + CPy_DecRef(cpy_r_r122.f1); + CPy_DecRef(cpy_r_r122.f2); + CPy_DecRef(cpy_r_r127); + goto CPyL87; +CPyL117: ; + CPy_DecRef(cpy_r_r122.f0); + CPy_DecRef(cpy_r_r122.f1); + CPy_DecRef(cpy_r_r122.f2); + CPy_DecRef(cpy_r_r134.f0); + CPy_DecRef(cpy_r_r134.f1); + CPy_DecRef(cpy_r_r134.f2); + goto CPyL89; +CPyL118: ; + CPy_DecRef(cpy_r_r122.f0); + CPy_DecRef(cpy_r_r122.f1); + CPy_DecRef(cpy_r_r122.f2); + goto CPyL91; +CPyL119: ; + CPy_DecRef(cpy_r_r122.f0); + CPy_DecRef(cpy_r_r122.f1); + CPy_DecRef(cpy_r_r122.f2); + goto CPyL93; +} + +PyObject *CPyPy_call_____validate_output(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"abi", "hexstr", 0}; + static CPyArg_Parser parser = {"OO:__validate_output", kwlist, 0}; + PyObject *obj_abi; + PyObject *obj_hexstr; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_abi, &obj_hexstr)) { + return NULL; + } + PyObject *arg_abi; + if (likely(PyDict_Check(obj_abi))) + arg_abi = obj_abi; + else { + CPy_TypeError("dict", obj_abi); + goto fail; + } + PyObject *arg_hexstr = obj_hexstr; + char retval = CPyDef_call_____validate_output(arg_abi, arg_hexstr); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 293, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___format_input_but_cache_checksums(PyObject *cpy_r_abi, PyObject *cpy_r_inputs) { + CPyTagged cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + CPyTagged cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject **cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + char cpy_r_r20; + PyObject **cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + tuple_T3OOO cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + char cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject **cpy_r_r39; + PyObject *cpy_r_r40; + char cpy_r_r41; + PyObject *cpy_r_r42; + cpy_r_r0 = CPyObject_Size(cpy_r_inputs); + if (unlikely(cpy_r_r0 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 322, CPyStatic_call___globals); + goto CPyL33; + } + cpy_r_r1 = cpy_r_r0 != 0; + CPyTagged_DECREF(cpy_r_r0); + if (!cpy_r_r1) goto CPyL12; + cpy_r_r2 = CPyStatics[340]; /* 'inputs' */ + cpy_r_r3 = CPyDict_GetItem(cpy_r_abi, cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 322, CPyStatic_call___globals); + goto CPyL33; + } + cpy_r_r4 = CPyObject_Size(cpy_r_r3); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r4 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 322, CPyStatic_call___globals); + goto CPyL33; + } + cpy_r_r5 = cpy_r_r4 != 0; + CPyTagged_DECREF(cpy_r_r4); + if (cpy_r_r5) goto CPyL12; + cpy_r_r6 = CPyStatics[4]; /* 'name' */ + cpy_r_r7 = CPyDict_GetItem(cpy_r_abi, cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 323, CPyStatic_call___globals); + goto CPyL33; + } + cpy_r_r8 = PyObject_Str(cpy_r_r7); + CPy_DECREF(cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 323, CPyStatic_call___globals); + goto CPyL33; + } + cpy_r_r9 = CPyStatics[413]; /* ' requires no arguments' */ + cpy_r_r10 = CPyStr_Build(2, cpy_r_r8, cpy_r_r9); + CPy_DECREF(cpy_r_r8); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 323, CPyStatic_call___globals); + goto CPyL33; + } + cpy_r_r11 = CPyModule_builtins; + cpy_r_r12 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r13 = CPyObject_GetAttr(cpy_r_r11, cpy_r_r12); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 323, CPyStatic_call___globals); + goto CPyL34; + } + PyObject *cpy_r_r14[1] = {cpy_r_r10}; + cpy_r_r15 = (PyObject **)&cpy_r_r14; + cpy_r_r16 = PyObject_Vectorcall(cpy_r_r13, cpy_r_r15, 1, 0); + CPy_DECREF(cpy_r_r13); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 323, CPyStatic_call___globals); + goto CPyL34; + } + CPy_DECREF(cpy_r_r10); + CPy_Raise(cpy_r_r16); + CPy_DECREF(cpy_r_r16); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 323, CPyStatic_call___globals); + goto CPyL33; + } + CPy_Unreachable(); +CPyL12: ; + cpy_r_r17 = CPyStatics[340]; /* 'inputs' */ + cpy_r_r18 = CPyDict_GetItem(cpy_r_abi, cpy_r_r17); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 324, CPyStatic_call___globals); + goto CPyL33; + } + cpy_r_r19 = CPyStatic_call____get_abi_types; + if (unlikely(cpy_r_r19 == NULL)) { + goto CPyL35; + } else + goto CPyL16; +CPyL14: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_get_abi_types\" was not set"); + cpy_r_r20 = 0; + if (unlikely(!cpy_r_r20)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 324, CPyStatic_call___globals); + goto CPyL33; + } + CPy_Unreachable(); +CPyL16: ; + PyObject *cpy_r_r21[1] = {cpy_r_r18}; + cpy_r_r22 = (PyObject **)&cpy_r_r21; + cpy_r_r23 = PyObject_Vectorcall(cpy_r_r19, cpy_r_r22, 1, 0); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 324, CPyStatic_call___globals); + goto CPyL36; + } + CPy_DECREF(cpy_r_r18); + cpy_r_r24 = CPyDef_call____format_tuple_but_cache_checksums(cpy_r_r23, cpy_r_inputs); + CPy_DECREF(cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 326, CPyStatic_call___globals); + goto CPyL20; + } + return cpy_r_r24; +CPyL20: ; + cpy_r_r25 = CPy_CatchError(); + cpy_r_r26 = CPyModule_builtins; + cpy_r_r27 = CPyStatics[16]; /* 'Exception' */ + cpy_r_r28 = CPyObject_GetAttr(cpy_r_r26, cpy_r_r27); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 327, CPyStatic_call___globals); + goto CPyL31; + } + cpy_r_r29 = CPy_ExceptionMatches(cpy_r_r28); + CPy_DecRef(cpy_r_r28); + if (!cpy_r_r29) goto CPyL29; + cpy_r_r30 = CPy_GetExcValue(); + cpy_r_r31 = CPy_TYPE(cpy_r_r30); + cpy_r_r32 = CPyStatics[4]; /* 'name' */ + cpy_r_r33 = CPyDict_GetItem(cpy_r_abi, cpy_r_r32); + if (unlikely(cpy_r_r33 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 328, CPyStatic_call___globals); + goto CPyL37; + } + cpy_r_r34 = PyObject_Str(cpy_r_r33); + CPy_DecRef(cpy_r_r33); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 328, CPyStatic_call___globals); + goto CPyL37; + } + cpy_r_r35 = CPyStatics[392]; /* ' ' */ + cpy_r_r36 = PyObject_Str(cpy_r_r30); + CPy_DecRef(cpy_r_r30); + if (unlikely(cpy_r_r36 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 328, CPyStatic_call___globals); + goto CPyL38; + } + cpy_r_r37 = CPyStr_Build(3, cpy_r_r34, cpy_r_r35, cpy_r_r36); + CPy_DecRef(cpy_r_r34); + CPy_DecRef(cpy_r_r36); + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 328, CPyStatic_call___globals); + goto CPyL39; + } + PyObject *cpy_r_r38[1] = {cpy_r_r37}; + cpy_r_r39 = (PyObject **)&cpy_r_r38; + cpy_r_r40 = PyObject_Vectorcall(cpy_r_r31, cpy_r_r39, 1, 0); + CPy_DecRef(cpy_r_r31); + if (unlikely(cpy_r_r40 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 328, CPyStatic_call___globals); + goto CPyL40; + } + CPy_DecRef(cpy_r_r37); + CPy_Raise(cpy_r_r40); + CPy_DecRef(cpy_r_r40); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 328, CPyStatic_call___globals); + goto CPyL31; + } else + goto CPyL41; +CPyL28: ; + CPy_Unreachable(); +CPyL29: ; + CPy_Reraise(); + if (!0) { + goto CPyL31; + } else + goto CPyL42; +CPyL30: ; + CPy_Unreachable(); +CPyL31: ; + CPy_RestoreExcInfo(cpy_r_r25); + CPy_DecRef(cpy_r_r25.f0); + CPy_DecRef(cpy_r_r25.f1); + CPy_DecRef(cpy_r_r25.f2); + cpy_r_r41 = CPy_KeepPropagating(); + if (!cpy_r_r41) goto CPyL33; + CPy_Unreachable(); +CPyL33: ; + cpy_r_r42 = NULL; + return cpy_r_r42; +CPyL34: ; + CPy_DecRef(cpy_r_r10); + goto CPyL33; +CPyL35: ; + CPy_DecRef(cpy_r_r18); + goto CPyL14; +CPyL36: ; + CPy_DecRef(cpy_r_r18); + goto CPyL33; +CPyL37: ; + CPy_DecRef(cpy_r_r30); + CPy_DecRef(cpy_r_r31); + goto CPyL31; +CPyL38: ; + CPy_DecRef(cpy_r_r31); + CPy_DecRef(cpy_r_r34); + goto CPyL31; +CPyL39: ; + CPy_DecRef(cpy_r_r31); + goto CPyL31; +CPyL40: ; + CPy_DecRef(cpy_r_r37); + goto CPyL31; +CPyL41: ; + CPy_DecRef(cpy_r_r25.f0); + CPy_DecRef(cpy_r_r25.f1); + CPy_DecRef(cpy_r_r25.f2); + goto CPyL28; +CPyL42: ; + CPy_DecRef(cpy_r_r25.f0); + CPy_DecRef(cpy_r_r25.f1); + CPy_DecRef(cpy_r_r25.f2); + goto CPyL30; +} + +PyObject *CPyPy_call___format_input_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"abi", "inputs", 0}; + static CPyArg_Parser parser = {"OO:format_input_but_cache_checksums", kwlist, 0}; + PyObject *obj_abi; + PyObject *obj_inputs; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_abi, &obj_inputs)) { + return NULL; + } + PyObject *arg_abi; + if (likely(PyDict_Check(obj_abi))) + arg_abi = obj_abi; + else { + CPy_TypeError("dict", obj_abi); + goto fail; + } + PyObject *arg_inputs; + if (PyList_Check(obj_inputs)) + arg_inputs = obj_inputs; + else { + arg_inputs = NULL; + } + if (arg_inputs != NULL) goto __LL146; + if (PyTuple_Check(obj_inputs)) + arg_inputs = obj_inputs; + else { + arg_inputs = NULL; + } + if (arg_inputs != NULL) goto __LL146; + CPy_TypeError("union[list, tuple]", obj_inputs); + goto fail; +__LL146: ; + PyObject *retval = CPyDef_call___format_input_but_cache_checksums(arg_abi, arg_inputs); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_input_but_cache_checksums", 320, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call___format_output_but_cache_checksums(PyObject *cpy_r_abi, PyObject *cpy_r_outputs) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + char cpy_r_r3; + PyObject **cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + char cpy_r_r11; + PyObject **cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyStatics[400]; /* 'outputs' */ + cpy_r_r1 = CPyDict_GetItem(cpy_r_abi, cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_output_but_cache_checksums", 335, CPyStatic_call___globals); + goto CPyL12; + } + cpy_r_r2 = CPyStatic_call____get_abi_types; + if (unlikely(cpy_r_r2 == NULL)) { + goto CPyL13; + } else + goto CPyL4; +CPyL2: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_get_abi_types\" was not set"); + cpy_r_r3 = 0; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_output_but_cache_checksums", 335, CPyStatic_call___globals); + goto CPyL12; + } + CPy_Unreachable(); +CPyL4: ; + PyObject *cpy_r_r4[1] = {cpy_r_r1}; + cpy_r_r5 = (PyObject **)&cpy_r_r4; + cpy_r_r6 = PyObject_Vectorcall(cpy_r_r2, cpy_r_r5, 1, 0); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_output_but_cache_checksums", 335, CPyStatic_call___globals); + goto CPyL14; + } + CPy_DECREF(cpy_r_r1); + cpy_r_r7 = CPyDef_call____format_tuple_but_cache_checksums(cpy_r_r6, cpy_r_outputs); + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_output_but_cache_checksums", 336, CPyStatic_call___globals); + goto CPyL12; + } + cpy_r_r8 = CPyStatics[400]; /* 'outputs' */ + cpy_r_r9 = CPyDict_GetItem(cpy_r_abi, cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_output_but_cache_checksums", 337, CPyStatic_call___globals); + goto CPyL15; + } + cpy_r_r10 = CPyStatic_call___ReturnValue; + if (unlikely(cpy_r_r10 == NULL)) { + goto CPyL16; + } else + goto CPyL10; +CPyL8: ; + PyErr_SetString(PyExc_NameError, "value for final name \"ReturnValue\" was not set"); + cpy_r_r11 = 0; + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_output_but_cache_checksums", 337, CPyStatic_call___globals); + goto CPyL12; + } + CPy_Unreachable(); +CPyL10: ; + PyObject *cpy_r_r12[2] = {cpy_r_r7, cpy_r_r9}; + cpy_r_r13 = (PyObject **)&cpy_r_r12; + cpy_r_r14 = PyObject_Vectorcall(cpy_r_r10, cpy_r_r13, 2, 0); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_output_but_cache_checksums", 337, CPyStatic_call___globals); + goto CPyL17; + } + CPy_DECREF_NO_IMM(cpy_r_r7); + CPy_DECREF(cpy_r_r9); + return cpy_r_r14; +CPyL12: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL13: ; + CPy_DecRef(cpy_r_r1); + goto CPyL2; +CPyL14: ; + CPy_DecRef(cpy_r_r1); + goto CPyL12; +CPyL15: ; + CPy_DecRef(cpy_r_r7); + goto CPyL12; +CPyL16: ; + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r9); + goto CPyL8; +CPyL17: ; + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r9); + goto CPyL12; +} + +PyObject *CPyPy_call___format_output_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"abi", "outputs", 0}; + static CPyArg_Parser parser = {"OO:format_output_but_cache_checksums", kwlist, 0}; + PyObject *obj_abi; + PyObject *obj_outputs; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_abi, &obj_outputs)) { + return NULL; + } + PyObject *arg_abi; + if (likely(PyDict_Check(obj_abi))) + arg_abi = obj_abi; + else { + CPy_TypeError("dict", obj_abi); + goto fail; + } + PyObject *arg_outputs; + if (PyList_Check(obj_outputs)) + arg_outputs = obj_outputs; + else { + arg_outputs = NULL; + } + if (arg_outputs != NULL) goto __LL147; + if (PyTuple_Check(obj_outputs)) + arg_outputs = obj_outputs; + else { + arg_outputs = NULL; + } + if (arg_outputs != NULL) goto __LL147; + CPy_TypeError("union[list, tuple]", obj_outputs); + goto fail; +__LL147: ; + PyObject *retval = CPyDef_call___format_output_but_cache_checksums(arg_abi, arg_outputs); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "format_output_but_cache_checksums", 331, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call____format_tuple_but_cache_checksums(PyObject *cpy_r_abi_types, PyObject *cpy_r_values) { + PyObject *cpy_r_r0; + CPyTagged cpy_r_r1; + PyObject *cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + int32_t cpy_r_r14; + char cpy_r_r15; + char cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + int32_t cpy_r_r19; + char cpy_r_r20; + PyObject *cpy_r_r21; + char cpy_r_r22; + int32_t cpy_r_r23; + char cpy_r_r24; + char cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + int32_t cpy_r_r30; + char cpy_r_r31; + PyObject *cpy_r_r32; + PyObject **cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + int32_t cpy_r_r38; + char cpy_r_r39; + tuple_T3OOO cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + char cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject **cpy_r_r53; + PyObject *cpy_r_r54; + char cpy_r_r55; + char cpy_r_r56; + char cpy_r_r57; + PyObject *cpy_r_r58; + cpy_r_r0 = PyList_New(0); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 347, CPyStatic_call___globals); + goto CPyL45; + } + cpy_r_r1 = CPyObject_Size(cpy_r_abi_types); + if (unlikely(cpy_r_r1 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 348, CPyStatic_call___globals); + goto CPyL46; + } + cpy_r_r2 = CPyStatic_call____check_array; + if (unlikely(cpy_r_r2 == NULL)) { + goto CPyL47; + } else + goto CPyL5; +CPyL3: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_check_array\" was not set"); + cpy_r_r3 = 0; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 348, CPyStatic_call___globals); + goto CPyL45; + } + CPy_Unreachable(); +CPyL5: ; + cpy_r_r4 = CPyTagged_StealAsObject(cpy_r_r1); + PyObject *cpy_r_r5[2] = {cpy_r_values, cpy_r_r4}; + cpy_r_r6 = (PyObject **)&cpy_r_r5; + cpy_r_r7 = PyObject_Vectorcall(cpy_r_r2, cpy_r_r6, 2, 0); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 348, CPyStatic_call___globals); + goto CPyL48; + } else + goto CPyL49; +CPyL6: ; + CPy_DECREF(cpy_r_r4); + cpy_r_r8 = PyObject_GetIter(cpy_r_abi_types); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 349, CPyStatic_call___globals); + goto CPyL46; + } + cpy_r_r9 = PyObject_GetIter(cpy_r_values); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 349, CPyStatic_call___globals); + goto CPyL50; + } +CPyL8: ; + cpy_r_r10 = PyIter_Next(cpy_r_r8); + if (cpy_r_r10 == NULL) goto CPyL51; + cpy_r_r11 = PyIter_Next(cpy_r_r9); + if (cpy_r_r11 == NULL) goto CPyL52; + cpy_r_r12 = CPyStatics[243]; /* 'is_array' */ + cpy_r_r13 = CPyObject_GetAttr(cpy_r_r10, cpy_r_r12); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 351, CPyStatic_call___globals); + goto CPyL53; + } + cpy_r_r14 = PyObject_IsTrue(cpy_r_r13); + CPy_DECREF(cpy_r_r13); + cpy_r_r15 = cpy_r_r14 >= 0; + if (unlikely(!cpy_r_r15)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 351, CPyStatic_call___globals); + goto CPyL53; + } + cpy_r_r16 = cpy_r_r14; + if (!cpy_r_r16) goto CPyL17; + CPy_INCREF(cpy_r_r11); + if (PyList_Check(cpy_r_r11)) + cpy_r_r17 = cpy_r_r11; + else { + cpy_r_r17 = NULL; + } + if (cpy_r_r17 != NULL) goto __LL148; + if (PyTuple_Check(cpy_r_r11)) + cpy_r_r17 = cpy_r_r11; + else { + cpy_r_r17 = NULL; + } + if (cpy_r_r17 != NULL) goto __LL148; + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 352, CPyStatic_call___globals, "union[list, tuple]", cpy_r_r11); + goto CPyL53; +__LL148: ; + cpy_r_r18 = CPyDef_call____format_array_but_cache_checksums(cpy_r_r10, cpy_r_r17); + CPy_DECREF(cpy_r_r10); + CPy_DECREF(cpy_r_r17); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 352, CPyStatic_call___globals); + goto CPyL54; + } + cpy_r_r19 = PyList_Append(cpy_r_r0, cpy_r_r18); + CPy_DECREF_NO_IMM(cpy_r_r18); + cpy_r_r20 = cpy_r_r19 >= 0; + if (unlikely(!cpy_r_r20)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 352, CPyStatic_call___globals); + goto CPyL54; + } else + goto CPyL55; +CPyL17: ; + cpy_r_r21 = CPyStatic_call___TupleType; + if (unlikely(cpy_r_r21 == NULL)) { + goto CPyL56; + } else + goto CPyL20; +CPyL18: ; + PyErr_SetString(PyExc_NameError, "value for final name \"TupleType\" was not set"); + cpy_r_r22 = 0; + if (unlikely(!cpy_r_r22)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 353, CPyStatic_call___globals); + goto CPyL30; + } else + goto CPyL57; +CPyL19: ; + CPy_Unreachable(); +CPyL20: ; + cpy_r_r23 = PyObject_IsInstance(cpy_r_r10, cpy_r_r21); + cpy_r_r24 = cpy_r_r23 >= 0; + if (unlikely(!cpy_r_r24)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 353, CPyStatic_call___globals); + goto CPyL53; + } + cpy_r_r25 = cpy_r_r23; + if (!cpy_r_r25) goto CPyL26; + cpy_r_r26 = CPyStatics[246]; /* 'components' */ + cpy_r_r27 = CPyObject_GetAttr(cpy_r_r10, cpy_r_r26); + CPy_DECREF(cpy_r_r10); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 354, CPyStatic_call___globals); + goto CPyL54; + } + CPy_INCREF(cpy_r_r11); + if (PyList_Check(cpy_r_r11)) + cpy_r_r28 = cpy_r_r11; + else { + cpy_r_r28 = NULL; + } + if (cpy_r_r28 != NULL) goto __LL149; + if (PyTuple_Check(cpy_r_r11)) + cpy_r_r28 = cpy_r_r11; + else { + cpy_r_r28 = NULL; + } + if (cpy_r_r28 != NULL) goto __LL149; + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 354, CPyStatic_call___globals, "union[list, tuple]", cpy_r_r11); + goto CPyL58; +__LL149: ; + cpy_r_r29 = CPyDef_call____format_tuple_but_cache_checksums(cpy_r_r27, cpy_r_r28); + CPy_DECREF(cpy_r_r27); + CPy_DECREF(cpy_r_r28); + if (unlikely(cpy_r_r29 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 354, CPyStatic_call___globals); + goto CPyL54; + } + cpy_r_r30 = PyList_Append(cpy_r_r0, cpy_r_r29); + CPy_DECREF_NO_IMM(cpy_r_r29); + cpy_r_r31 = cpy_r_r30 >= 0; + if (unlikely(!cpy_r_r31)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 354, CPyStatic_call___globals); + goto CPyL54; + } else + goto CPyL59; +CPyL26: ; + cpy_r_r32 = CPyStatics[247]; /* 'to_type_str' */ + PyObject *cpy_r_r33[1] = {cpy_r_r10}; + cpy_r_r34 = (PyObject **)&cpy_r_r33; + cpy_r_r35 = PyObject_VectorcallMethod(cpy_r_r32, cpy_r_r34, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r35 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 356, CPyStatic_call___globals); + goto CPyL53; + } + CPy_DECREF(cpy_r_r10); + if (likely(PyUnicode_Check(cpy_r_r35))) + cpy_r_r36 = cpy_r_r35; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 356, CPyStatic_call___globals, "str", cpy_r_r35); + goto CPyL54; + } + cpy_r_r37 = CPyDef_call____format_single_but_cache_checksums(cpy_r_r36, cpy_r_r11); + CPy_DECREF(cpy_r_r36); + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 356, CPyStatic_call___globals); + goto CPyL54; + } + cpy_r_r38 = PyList_Append(cpy_r_r0, cpy_r_r37); + CPy_DECREF(cpy_r_r37); + cpy_r_r39 = cpy_r_r38 >= 0; + if (unlikely(!cpy_r_r39)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 356, CPyStatic_call___globals); + goto CPyL54; + } else + goto CPyL60; +CPyL30: ; + cpy_r_r40 = CPy_CatchError(); + cpy_r_r41 = CPyModule_builtins; + cpy_r_r42 = CPyStatics[16]; /* 'Exception' */ + cpy_r_r43 = CPyObject_GetAttr(cpy_r_r41, cpy_r_r42); + if (unlikely(cpy_r_r43 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 357, CPyStatic_call___globals); + goto CPyL61; + } + cpy_r_r44 = CPy_ExceptionMatches(cpy_r_r43); + CPy_DecRef(cpy_r_r43); + if (!cpy_r_r44) goto CPyL62; + cpy_r_r45 = CPy_GetExcValue(); + cpy_r_r46 = CPy_TYPE(cpy_r_r45); + cpy_r_r47 = CPyStatics[414]; /* "'" */ + cpy_r_r48 = PyObject_Str(cpy_r_r11); + CPy_DecRef(cpy_r_r11); + if (unlikely(cpy_r_r48 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 358, CPyStatic_call___globals); + goto CPyL63; + } + cpy_r_r49 = CPyStatics[415]; /* "' - " */ + cpy_r_r50 = PyObject_Str(cpy_r_r45); + CPy_DecRef(cpy_r_r45); + if (unlikely(cpy_r_r50 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 358, CPyStatic_call___globals); + goto CPyL64; + } + cpy_r_r51 = CPyStr_Build(4, cpy_r_r47, cpy_r_r48, cpy_r_r49, cpy_r_r50); + CPy_DecRef(cpy_r_r48); + CPy_DecRef(cpy_r_r50); + if (unlikely(cpy_r_r51 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 358, CPyStatic_call___globals); + goto CPyL65; + } + PyObject *cpy_r_r52[1] = {cpy_r_r51}; + cpy_r_r53 = (PyObject **)&cpy_r_r52; + cpy_r_r54 = PyObject_Vectorcall(cpy_r_r46, cpy_r_r53, 1, 0); + CPy_DecRef(cpy_r_r46); + if (unlikely(cpy_r_r54 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 358, CPyStatic_call___globals); + goto CPyL66; + } + CPy_DecRef(cpy_r_r51); + CPy_Raise(cpy_r_r54); + CPy_DecRef(cpy_r_r54); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 358, CPyStatic_call___globals); + goto CPyL40; + } else + goto CPyL67; +CPyL37: ; + CPy_Unreachable(); +CPyL38: ; + CPy_Reraise(); + if (!0) { + goto CPyL40; + } else + goto CPyL68; +CPyL39: ; + CPy_Unreachable(); +CPyL40: ; + CPy_RestoreExcInfo(cpy_r_r40); + CPy_DecRef(cpy_r_r40.f0); + CPy_DecRef(cpy_r_r40.f1); + CPy_DecRef(cpy_r_r40.f2); + cpy_r_r55 = CPy_KeepPropagating(); + if (!cpy_r_r55) goto CPyL45; + CPy_Unreachable(); +CPyL42: ; + cpy_r_r56 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r56)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 349, CPyStatic_call___globals); + goto CPyL46; + } + cpy_r_r57 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r57)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 349, CPyStatic_call___globals); + goto CPyL46; + } + return cpy_r_r0; +CPyL45: ; + cpy_r_r58 = NULL; + return cpy_r_r58; +CPyL46: ; + CPy_DecRef(cpy_r_r0); + goto CPyL45; +CPyL47: ; + CPy_DecRef(cpy_r_r0); + CPyTagged_DecRef(cpy_r_r1); + goto CPyL3; +CPyL48: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r4); + goto CPyL45; +CPyL49: ; + CPy_DECREF(cpy_r_r7); + goto CPyL6; +CPyL50: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r8); + goto CPyL45; +CPyL51: ; + CPy_DECREF(cpy_r_r8); + CPy_DECREF(cpy_r_r9); + goto CPyL42; +CPyL52: ; + CPy_DECREF(cpy_r_r8); + CPy_DECREF(cpy_r_r9); + CPy_DECREF(cpy_r_r10); + goto CPyL42; +CPyL53: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r8); + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r10); + goto CPyL30; +CPyL54: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r8); + CPy_DecRef(cpy_r_r9); + goto CPyL30; +CPyL55: ; + CPy_DECREF(cpy_r_r11); + goto CPyL8; +CPyL56: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r8); + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r10); + goto CPyL18; +CPyL57: ; + CPy_DecRef(cpy_r_r11); + goto CPyL19; +CPyL58: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r8); + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r27); + goto CPyL30; +CPyL59: ; + CPy_DECREF(cpy_r_r11); + goto CPyL8; +CPyL60: ; + CPy_DECREF(cpy_r_r11); + goto CPyL8; +CPyL61: ; + CPy_DecRef(cpy_r_r11); + goto CPyL40; +CPyL62: ; + CPy_DecRef(cpy_r_r11); + goto CPyL38; +CPyL63: ; + CPy_DecRef(cpy_r_r45); + CPy_DecRef(cpy_r_r46); + goto CPyL40; +CPyL64: ; + CPy_DecRef(cpy_r_r46); + CPy_DecRef(cpy_r_r48); + goto CPyL40; +CPyL65: ; + CPy_DecRef(cpy_r_r46); + goto CPyL40; +CPyL66: ; + CPy_DecRef(cpy_r_r51); + goto CPyL40; +CPyL67: ; + CPy_DecRef(cpy_r_r40.f0); + CPy_DecRef(cpy_r_r40.f1); + CPy_DecRef(cpy_r_r40.f2); + goto CPyL37; +CPyL68: ; + CPy_DecRef(cpy_r_r40.f0); + CPy_DecRef(cpy_r_r40.f1); + CPy_DecRef(cpy_r_r40.f2); + goto CPyL39; +} + +PyObject *CPyPy_call____format_tuple_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"abi_types", "values", 0}; + static CPyArg_Parser parser = {"OO:_format_tuple_but_cache_checksums", kwlist, 0}; + PyObject *obj_abi_types; + PyObject *obj_values; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_abi_types, &obj_values)) { + return NULL; + } + PyObject *arg_abi_types = obj_abi_types; + PyObject *arg_values; + if (PyList_Check(obj_values)) + arg_values = obj_values; + else { + arg_values = NULL; + } + if (arg_values != NULL) goto __LL150; + if (PyTuple_Check(obj_values)) + arg_values = obj_values; + else { + arg_values = NULL; + } + if (arg_values != NULL) goto __LL150; + CPy_TypeError("union[list, tuple]", obj_values); + goto fail; +__LL150: ; + PyObject *retval = CPyDef_call____format_tuple_but_cache_checksums(arg_abi_types, arg_values); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_tuple_but_cache_checksums", 344, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call____format_array_but_cache_checksums(PyObject *cpy_r_abi_type, PyObject *cpy_r_values) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + CPyTagged cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + char cpy_r_r15; + PyObject **cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + int32_t cpy_r_r23; + char cpy_r_r24; + char cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + int32_t cpy_r_r31; + char cpy_r_r32; + char cpy_r_r33; + PyObject *cpy_r_r34; + char cpy_r_r35; + int32_t cpy_r_r36; + char cpy_r_r37; + char cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + int32_t cpy_r_r46; + char cpy_r_r47; + char cpy_r_r48; + PyObject *cpy_r_r49; + PyObject **cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + int32_t cpy_r_r58; + char cpy_r_r59; + char cpy_r_r60; + PyObject *cpy_r_r61; + cpy_r_r0 = CPyStatics[416]; /* 'arrlist' */ + cpy_r_r1 = CPyObject_GetAttr(cpy_r_abi_type, cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 363, CPyStatic_call___globals); + goto CPyL48; + } + cpy_r_r2 = CPyStatics[882]; /* -1 */ + cpy_r_r3 = PyObject_GetItem(cpy_r_r1, cpy_r_r2); + CPy_DECREF(cpy_r_r1); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 363, CPyStatic_call___globals); + goto CPyL48; + } + cpy_r_r4 = CPyObject_Size(cpy_r_r3); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r4 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 363, CPyStatic_call___globals); + goto CPyL48; + } + cpy_r_r5 = cpy_r_r4 != 0; + CPyTagged_DECREF(cpy_r_r4); + if (!cpy_r_r5) goto CPyL8; + cpy_r_r6 = CPyStatics[416]; /* 'arrlist' */ + cpy_r_r7 = CPyObject_GetAttr(cpy_r_abi_type, cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 363, CPyStatic_call___globals); + goto CPyL48; + } + cpy_r_r8 = CPyStatics[882]; /* -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", 363, CPyStatic_call___globals); + goto CPyL48; + } + cpy_r_r10 = CPyStatics[872]; /* 0 */ + cpy_r_r11 = PyObject_GetItem(cpy_r_r9, cpy_r_r10); + CPy_DECREF(cpy_r_r9); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 363, CPyStatic_call___globals); + goto CPyL48; + } + cpy_r_r12 = cpy_r_r11; + goto CPyL9; +CPyL8: ; + cpy_r_r13 = Py_None; + cpy_r_r12 = cpy_r_r13; +CPyL9: ; + cpy_r_r14 = CPyStatic_call____check_array; + if (unlikely(cpy_r_r14 == NULL)) { + goto CPyL49; + } else + goto CPyL12; +CPyL10: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_check_array\" was not set"); + cpy_r_r15 = 0; + if (unlikely(!cpy_r_r15)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 363, CPyStatic_call___globals); + goto CPyL48; + } + CPy_Unreachable(); +CPyL12: ; + PyObject *cpy_r_r16[2] = {cpy_r_values, cpy_r_r12}; + cpy_r_r17 = (PyObject **)&cpy_r_r16; + cpy_r_r18 = PyObject_Vectorcall(cpy_r_r14, cpy_r_r17, 2, 0); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 363, CPyStatic_call___globals); + goto CPyL50; + } else + goto CPyL51; +CPyL13: ; + CPy_DECREF(cpy_r_r12); + cpy_r_r19 = CPyStatics[244]; /* 'item_type' */ + cpy_r_r20 = CPyObject_GetAttr(cpy_r_abi_type, cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 364, CPyStatic_call___globals); + goto CPyL48; + } + cpy_r_r21 = CPyStatics[243]; /* 'is_array' */ + cpy_r_r22 = CPyObject_GetAttr(cpy_r_r20, cpy_r_r21); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 365, CPyStatic_call___globals); + goto CPyL52; + } + cpy_r_r23 = PyObject_IsTrue(cpy_r_r22); + CPy_DECREF(cpy_r_r22); + cpy_r_r24 = cpy_r_r23 >= 0; + if (unlikely(!cpy_r_r24)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 365, CPyStatic_call___globals); + goto CPyL52; + } + cpy_r_r25 = cpy_r_r23; + if (!cpy_r_r25) goto CPyL25; + cpy_r_r26 = PyList_New(0); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 366, CPyStatic_call___globals); + goto CPyL52; + } + cpy_r_r27 = PyObject_GetIter(cpy_r_values); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 366, CPyStatic_call___globals); + goto CPyL53; + } +CPyL19: ; + cpy_r_r28 = PyIter_Next(cpy_r_r27); + if (cpy_r_r28 == NULL) goto CPyL54; + if (PyList_Check(cpy_r_r28)) + cpy_r_r29 = cpy_r_r28; + else { + cpy_r_r29 = NULL; + } + if (cpy_r_r29 != NULL) goto __LL151; + if (PyTuple_Check(cpy_r_r28)) + cpy_r_r29 = cpy_r_r28; + else { + cpy_r_r29 = NULL; + } + if (cpy_r_r29 != NULL) goto __LL151; + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 366, CPyStatic_call___globals, "union[list, tuple]", cpy_r_r28); + goto CPyL55; +__LL151: ; + cpy_r_r30 = CPyDef_call____format_array_but_cache_checksums(cpy_r_r20, cpy_r_r29); + CPy_DECREF(cpy_r_r29); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 366, CPyStatic_call___globals); + goto CPyL55; + } + cpy_r_r31 = PyList_Append(cpy_r_r26, cpy_r_r30); + CPy_DECREF_NO_IMM(cpy_r_r30); + cpy_r_r32 = cpy_r_r31 >= 0; + if (unlikely(!cpy_r_r32)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 366, CPyStatic_call___globals); + goto CPyL55; + } else + goto CPyL19; +CPyL23: ; + cpy_r_r33 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r33)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 366, CPyStatic_call___globals); + goto CPyL56; + } + return cpy_r_r26; +CPyL25: ; + cpy_r_r34 = CPyStatic_call___TupleType; + if (unlikely(cpy_r_r34 == NULL)) { + goto CPyL57; + } else + goto CPyL28; +CPyL26: ; + PyErr_SetString(PyExc_NameError, "value for final name \"TupleType\" was not set"); + cpy_r_r35 = 0; + if (unlikely(!cpy_r_r35)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 367, CPyStatic_call___globals); + goto CPyL48; + } + CPy_Unreachable(); +CPyL28: ; + cpy_r_r36 = PyObject_IsInstance(cpy_r_r20, cpy_r_r34); + cpy_r_r37 = cpy_r_r36 >= 0; + if (unlikely(!cpy_r_r37)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 367, CPyStatic_call___globals); + goto CPyL52; + } + cpy_r_r38 = cpy_r_r36; + if (!cpy_r_r38) goto CPyL39; + cpy_r_r39 = CPyStatics[246]; /* 'components' */ + cpy_r_r40 = CPyObject_GetAttr(cpy_r_r20, cpy_r_r39); + CPy_DECREF(cpy_r_r20); + if (unlikely(cpy_r_r40 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 368, CPyStatic_call___globals); + goto CPyL48; + } + cpy_r_r41 = PyList_New(0); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 369, CPyStatic_call___globals); + goto CPyL58; + } + cpy_r_r42 = PyObject_GetIter(cpy_r_values); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 369, CPyStatic_call___globals); + goto CPyL59; + } +CPyL33: ; + cpy_r_r43 = PyIter_Next(cpy_r_r42); + if (cpy_r_r43 == NULL) goto CPyL60; + if (PyList_Check(cpy_r_r43)) + cpy_r_r44 = cpy_r_r43; + else { + cpy_r_r44 = NULL; + } + if (cpy_r_r44 != NULL) goto __LL152; + if (PyTuple_Check(cpy_r_r43)) + cpy_r_r44 = cpy_r_r43; + else { + cpy_r_r44 = NULL; + } + if (cpy_r_r44 != NULL) goto __LL152; + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 369, CPyStatic_call___globals, "union[list, tuple]", cpy_r_r43); + goto CPyL61; +__LL152: ; + cpy_r_r45 = CPyDef_call____format_tuple_but_cache_checksums(cpy_r_r40, cpy_r_r44); + CPy_DECREF(cpy_r_r44); + if (unlikely(cpy_r_r45 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 369, CPyStatic_call___globals); + goto CPyL61; + } + cpy_r_r46 = PyList_Append(cpy_r_r41, cpy_r_r45); + CPy_DECREF_NO_IMM(cpy_r_r45); + cpy_r_r47 = cpy_r_r46 >= 0; + if (unlikely(!cpy_r_r47)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 369, CPyStatic_call___globals); + goto CPyL61; + } else + goto CPyL33; +CPyL37: ; + cpy_r_r48 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r48)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 369, CPyStatic_call___globals); + goto CPyL62; + } + return cpy_r_r41; +CPyL39: ; + cpy_r_r49 = CPyStatics[247]; /* 'to_type_str' */ + PyObject *cpy_r_r50[1] = {cpy_r_r20}; + cpy_r_r51 = (PyObject **)&cpy_r_r50; + cpy_r_r52 = PyObject_VectorcallMethod(cpy_r_r49, cpy_r_r51, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r52 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 371, CPyStatic_call___globals); + goto CPyL52; + } + CPy_DECREF(cpy_r_r20); + if (likely(PyUnicode_Check(cpy_r_r52))) + cpy_r_r53 = cpy_r_r52; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 371, CPyStatic_call___globals, "str", cpy_r_r52); + goto CPyL48; + } + cpy_r_r54 = PyList_New(0); + if (unlikely(cpy_r_r54 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 372, CPyStatic_call___globals); + goto CPyL63; + } + cpy_r_r55 = PyObject_GetIter(cpy_r_values); + if (unlikely(cpy_r_r55 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 372, CPyStatic_call___globals); + goto CPyL64; + } +CPyL43: ; + cpy_r_r56 = PyIter_Next(cpy_r_r55); + if (cpy_r_r56 == NULL) goto CPyL65; + cpy_r_r57 = CPyDef_call____format_single_but_cache_checksums(cpy_r_r53, cpy_r_r56); + CPy_DECREF(cpy_r_r56); + if (unlikely(cpy_r_r57 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 372, CPyStatic_call___globals); + goto CPyL66; + } + cpy_r_r58 = PyList_Append(cpy_r_r54, cpy_r_r57); + CPy_DECREF(cpy_r_r57); + cpy_r_r59 = cpy_r_r58 >= 0; + if (unlikely(!cpy_r_r59)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 372, CPyStatic_call___globals); + goto CPyL66; + } else + goto CPyL43; +CPyL46: ; + cpy_r_r60 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r60)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 372, CPyStatic_call___globals); + goto CPyL67; + } + return cpy_r_r54; +CPyL48: ; + cpy_r_r61 = NULL; + return cpy_r_r61; +CPyL49: ; + CPy_DecRef(cpy_r_r12); + goto CPyL10; +CPyL50: ; + CPy_DecRef(cpy_r_r12); + goto CPyL48; +CPyL51: ; + CPy_DECREF(cpy_r_r18); + goto CPyL13; +CPyL52: ; + CPy_DecRef(cpy_r_r20); + goto CPyL48; +CPyL53: ; + CPy_DecRef(cpy_r_r20); + CPy_DecRef(cpy_r_r26); + goto CPyL48; +CPyL54: ; + CPy_DECREF(cpy_r_r20); + CPy_DECREF(cpy_r_r27); + goto CPyL23; +CPyL55: ; + CPy_DecRef(cpy_r_r20); + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r27); + goto CPyL48; +CPyL56: ; + CPy_DecRef(cpy_r_r26); + goto CPyL48; +CPyL57: ; + CPy_DecRef(cpy_r_r20); + goto CPyL26; +CPyL58: ; + CPy_DecRef(cpy_r_r40); + goto CPyL48; +CPyL59: ; + CPy_DecRef(cpy_r_r40); + CPy_DecRef(cpy_r_r41); + goto CPyL48; +CPyL60: ; + CPy_DECREF(cpy_r_r40); + CPy_DECREF(cpy_r_r42); + goto CPyL37; +CPyL61: ; + CPy_DecRef(cpy_r_r40); + CPy_DecRef(cpy_r_r41); + CPy_DecRef(cpy_r_r42); + goto CPyL48; +CPyL62: ; + CPy_DecRef(cpy_r_r41); + goto CPyL48; +CPyL63: ; + CPy_DecRef(cpy_r_r53); + goto CPyL48; +CPyL64: ; + CPy_DecRef(cpy_r_r53); + CPy_DecRef(cpy_r_r54); + goto CPyL48; +CPyL65: ; + CPy_DECREF(cpy_r_r53); + CPy_DECREF(cpy_r_r55); + goto CPyL46; +CPyL66: ; + CPy_DecRef(cpy_r_r53); + CPy_DecRef(cpy_r_r54); + CPy_DecRef(cpy_r_r55); + goto CPyL48; +CPyL67: ; + CPy_DecRef(cpy_r_r54); + goto CPyL48; +} + +PyObject *CPyPy_call____format_array_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"abi_type", "values", 0}; + static CPyArg_Parser parser = {"OO:_format_array_but_cache_checksums", kwlist, 0}; + PyObject *obj_abi_type; + PyObject *obj_values; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_abi_type, &obj_values)) { + return NULL; + } + PyObject *arg_abi_type = obj_abi_type; + PyObject *arg_values; + if (PyList_Check(obj_values)) + arg_values = obj_values; + else { + arg_values = NULL; + } + if (arg_values != NULL) goto __LL153; + if (PyTuple_Check(obj_values)) + arg_values = obj_values; + else { + arg_values = NULL; + } + if (arg_values != NULL) goto __LL153; + CPy_TypeError("union[list, tuple]", obj_values); + goto fail; +__LL153: ; + PyObject *retval = CPyDef_call____format_array_but_cache_checksums(arg_abi_type, arg_values); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 362, CPyStatic_call___globals); + return NULL; +} + +PyObject *CPyDef_call____format_single_but_cache_checksums(PyObject *cpy_r_type_str, PyObject *cpy_r_value) { + PyObject *cpy_r_r0; + int32_t cpy_r_r1; + char cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + PyObject **cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + int32_t cpy_r_r10; + char cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject **cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + char cpy_r_r19; + PyObject *cpy_r_r20; + char cpy_r_r21; + PyObject **cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + char cpy_r_r26; + PyObject *cpy_r_r27; + char cpy_r_r28; + PyObject **cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + char cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + tuple_T5OOOOO cpy_r_r41; + PyObject *cpy_r_r42; + int32_t cpy_r_r43; + char cpy_r_r44; + char cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + char cpy_r_r49; + PyObject **cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + int32_t cpy_r_r54; + char cpy_r_r55; + char cpy_r_r56; + PyObject *cpy_r_r57; + char cpy_r_r58; + PyObject **cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + int32_t cpy_r_r63; + char cpy_r_r64; + char cpy_r_r65; + PyObject *cpy_r_r66; + char cpy_r_r67; + PyObject **cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + PyObject *cpy_r_r75; + PyObject **cpy_r_r77; + PyObject *cpy_r_r78; + PyObject *cpy_r_r79; + cpy_r_r0 = CPyStatics[417]; /* 'uint' */ + cpy_r_r1 = PyUnicode_Contains(cpy_r_type_str, cpy_r_r0); + cpy_r_r2 = cpy_r_r1 >= 0; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 377, CPyStatic_call___globals); + goto CPyL57; + } + cpy_r_r3 = cpy_r_r1; + if (!cpy_r_r3) goto CPyL7; + cpy_r_r4 = CPyStatic_call___to_uint; + if (likely(cpy_r_r4 != NULL)) goto CPyL5; + PyErr_SetString(PyExc_NameError, "value for final name \"to_uint\" was not set"); + cpy_r_r5 = 0; + if (unlikely(!cpy_r_r5)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 378, CPyStatic_call___globals); + goto CPyL57; + } + CPy_Unreachable(); +CPyL5: ; + PyObject *cpy_r_r6[2] = {cpy_r_value, cpy_r_type_str}; + cpy_r_r7 = (PyObject **)&cpy_r_r6; + cpy_r_r8 = PyObject_Vectorcall(cpy_r_r4, cpy_r_r7, 2, 0); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 378, CPyStatic_call___globals); + goto CPyL57; + } + return cpy_r_r8; +CPyL7: ; + cpy_r_r9 = CPyStatics[418]; /* 'int' */ + cpy_r_r10 = PyUnicode_Contains(cpy_r_type_str, cpy_r_r9); + cpy_r_r11 = cpy_r_r10 >= 0; + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 379, CPyStatic_call___globals); + goto CPyL57; + } + cpy_r_r12 = cpy_r_r10; + if (!cpy_r_r12) goto CPyL14; + cpy_r_r13 = CPyStatic_call___to_int; + if (likely(cpy_r_r13 != NULL)) goto CPyL12; + PyErr_SetString(PyExc_NameError, "value for final name \"to_int\" was not set"); + cpy_r_r14 = 0; + if (unlikely(!cpy_r_r14)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 380, CPyStatic_call___globals); + goto CPyL57; + } + CPy_Unreachable(); +CPyL12: ; + PyObject *cpy_r_r15[2] = {cpy_r_value, cpy_r_type_str}; + cpy_r_r16 = (PyObject **)&cpy_r_r15; + cpy_r_r17 = PyObject_Vectorcall(cpy_r_r13, cpy_r_r16, 2, 0); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 380, CPyStatic_call___globals); + goto CPyL57; + } + return cpy_r_r17; +CPyL14: ; + cpy_r_r18 = CPyStatics[419]; /* 'fixed168x10' */ + cpy_r_r19 = CPyStr_Equal(cpy_r_type_str, cpy_r_r18); + if (!cpy_r_r19) goto CPyL20; + cpy_r_r20 = CPyStatic_call___to_decimal; + if (likely(cpy_r_r20 != NULL)) goto CPyL18; + PyErr_SetString(PyExc_NameError, "value for final name \"to_decimal\" was not set"); + cpy_r_r21 = 0; + if (unlikely(!cpy_r_r21)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 382, CPyStatic_call___globals); + goto CPyL57; + } + CPy_Unreachable(); +CPyL18: ; + PyObject *cpy_r_r22[1] = {cpy_r_value}; + cpy_r_r23 = (PyObject **)&cpy_r_r22; + cpy_r_r24 = PyObject_Vectorcall(cpy_r_r20, cpy_r_r23, 1, 0); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 382, CPyStatic_call___globals); + goto CPyL57; + } + return cpy_r_r24; +CPyL20: ; + cpy_r_r25 = CPyStatics[420]; /* 'bool' */ + cpy_r_r26 = CPyStr_Equal(cpy_r_type_str, cpy_r_r25); + if (!cpy_r_r26) goto CPyL26; + cpy_r_r27 = CPyStatic_call___to_bool; + if (likely(cpy_r_r27 != NULL)) goto CPyL24; + PyErr_SetString(PyExc_NameError, "value for final name \"to_bool\" was not set"); + cpy_r_r28 = 0; + if (unlikely(!cpy_r_r28)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 384, CPyStatic_call___globals); + goto CPyL57; + } + CPy_Unreachable(); +CPyL24: ; + PyObject *cpy_r_r29[1] = {cpy_r_value}; + cpy_r_r30 = (PyObject **)&cpy_r_r29; + cpy_r_r31 = PyObject_Vectorcall(cpy_r_r27, cpy_r_r30, 1, 0); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 384, CPyStatic_call___globals); + goto CPyL57; + } + return cpy_r_r31; +CPyL26: ; + cpy_r_r32 = CPyStatics[421]; /* 'address' */ + cpy_r_r33 = CPyStr_Equal(cpy_r_type_str, cpy_r_r32); + if (!cpy_r_r33) goto CPyL38; + cpy_r_r34 = (PyObject *)&PyUnicode_Type; + cpy_r_r35 = (PyObject *)&PyBytes_Type; + cpy_r_r36 = CPyModule_builtins; + cpy_r_r37 = CPyStatics[117]; /* 'bytearray' */ + cpy_r_r38 = CPyObject_GetAttr(cpy_r_r36, cpy_r_r37); + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 388, CPyStatic_call___globals); + goto CPyL57; + } + cpy_r_r39 = (PyObject *)&PyLong_Type; + cpy_r_r40 = (PyObject *)&PyBool_Type; + CPy_INCREF(cpy_r_r34); + CPy_INCREF(cpy_r_r35); + CPy_INCREF(cpy_r_r39); + CPy_INCREF(cpy_r_r40); + cpy_r_r41.f0 = cpy_r_r34; + cpy_r_r41.f1 = cpy_r_r35; + cpy_r_r41.f2 = cpy_r_r38; + cpy_r_r41.f3 = cpy_r_r39; + cpy_r_r41.f4 = cpy_r_r40; + cpy_r_r42 = PyTuple_New(5); + if (unlikely(cpy_r_r42 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp154 = cpy_r_r41.f0; + PyTuple_SET_ITEM(cpy_r_r42, 0, __tmp154); + PyObject *__tmp155 = cpy_r_r41.f1; + PyTuple_SET_ITEM(cpy_r_r42, 1, __tmp155); + PyObject *__tmp156 = cpy_r_r41.f2; + PyTuple_SET_ITEM(cpy_r_r42, 2, __tmp156); + PyObject *__tmp157 = cpy_r_r41.f3; + PyTuple_SET_ITEM(cpy_r_r42, 3, __tmp157); + PyObject *__tmp158 = cpy_r_r41.f4; + PyTuple_SET_ITEM(cpy_r_r42, 4, __tmp158); + cpy_r_r43 = PyObject_IsInstance(cpy_r_value, cpy_r_r42); + CPy_DECREF(cpy_r_r42); + cpy_r_r44 = cpy_r_r43 >= 0; + if (unlikely(!cpy_r_r44)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 388, CPyStatic_call___globals); + goto CPyL57; + } + cpy_r_r45 = cpy_r_r43; + if (!cpy_r_r45) goto CPyL31; + CPy_INCREF(cpy_r_value); + cpy_r_r46 = cpy_r_value; + goto CPyL33; +CPyL31: ; + cpy_r_r47 = PyObject_Str(cpy_r_value); + if (unlikely(cpy_r_r47 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 388, CPyStatic_call___globals); + goto CPyL57; + } + cpy_r_r46 = cpy_r_r47; +CPyL33: ; + cpy_r_r48 = CPyStatic_call___to_checksum_address; + if (unlikely(cpy_r_r48 == NULL)) { + goto CPyL58; + } else + goto CPyL36; +CPyL34: ; + PyErr_SetString(PyExc_NameError, "value for final name \"to_checksum_address\" was not set"); + cpy_r_r49 = 0; + if (unlikely(!cpy_r_r49)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 387, CPyStatic_call___globals); + goto CPyL57; + } + CPy_Unreachable(); +CPyL36: ; + PyObject *cpy_r_r50[1] = {cpy_r_r46}; + cpy_r_r51 = (PyObject **)&cpy_r_r50; + cpy_r_r52 = PyObject_Vectorcall(cpy_r_r48, cpy_r_r51, 1, 0); + if (unlikely(cpy_r_r52 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 387, CPyStatic_call___globals); + goto CPyL59; + } + CPy_DECREF(cpy_r_r46); + return cpy_r_r52; +CPyL38: ; + cpy_r_r53 = CPyStatics[422]; /* 'byte' */ + cpy_r_r54 = PyUnicode_Contains(cpy_r_type_str, cpy_r_r53); + cpy_r_r55 = cpy_r_r54 >= 0; + if (unlikely(!cpy_r_r55)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 390, CPyStatic_call___globals); + goto CPyL57; + } + cpy_r_r56 = cpy_r_r54; + if (!cpy_r_r56) goto CPyL45; + cpy_r_r57 = CPyStatic_call___HexString; + if (likely(cpy_r_r57 != NULL)) goto CPyL43; + PyErr_SetString(PyExc_NameError, "value for final name \"HexString\" was not set"); + cpy_r_r58 = 0; + if (unlikely(!cpy_r_r58)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 391, CPyStatic_call___globals); + goto CPyL57; + } + CPy_Unreachable(); +CPyL43: ; + PyObject *cpy_r_r59[2] = {cpy_r_value, cpy_r_type_str}; + cpy_r_r60 = (PyObject **)&cpy_r_r59; + cpy_r_r61 = PyObject_Vectorcall(cpy_r_r57, cpy_r_r60, 2, 0); + if (unlikely(cpy_r_r61 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 391, CPyStatic_call___globals); + goto CPyL57; + } + return cpy_r_r61; +CPyL45: ; + cpy_r_r62 = CPyStatics[404]; /* 'string' */ + cpy_r_r63 = PyUnicode_Contains(cpy_r_type_str, cpy_r_r62); + cpy_r_r64 = cpy_r_r63 >= 0; + if (unlikely(!cpy_r_r64)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 392, CPyStatic_call___globals); + goto CPyL57; + } + cpy_r_r65 = cpy_r_r63; + if (!cpy_r_r65) goto CPyL52; + cpy_r_r66 = CPyStatic_call___to_string; + if (likely(cpy_r_r66 != NULL)) goto CPyL50; + PyErr_SetString(PyExc_NameError, "value for final name \"to_string\" was not set"); + cpy_r_r67 = 0; + if (unlikely(!cpy_r_r67)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 393, CPyStatic_call___globals); + goto CPyL57; + } + CPy_Unreachable(); +CPyL50: ; + PyObject *cpy_r_r68[1] = {cpy_r_value}; + cpy_r_r69 = (PyObject **)&cpy_r_r68; + cpy_r_r70 = PyObject_Vectorcall(cpy_r_r66, cpy_r_r69, 1, 0); + if (unlikely(cpy_r_r70 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 393, CPyStatic_call___globals); + goto CPyL57; + } + return cpy_r_r70; +CPyL52: ; + cpy_r_r71 = CPyStatics[423]; /* 'Unknown type: ' */ + cpy_r_r72 = CPyStr_Build(2, cpy_r_r71, cpy_r_type_str); + if (unlikely(cpy_r_r72 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 394, CPyStatic_call___globals); + goto CPyL57; + } + cpy_r_r73 = CPyModule_builtins; + cpy_r_r74 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r75 = CPyObject_GetAttr(cpy_r_r73, cpy_r_r74); + if (unlikely(cpy_r_r75 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 394, CPyStatic_call___globals); + goto CPyL60; + } + PyObject *cpy_r_r76[1] = {cpy_r_r72}; + cpy_r_r77 = (PyObject **)&cpy_r_r76; + cpy_r_r78 = PyObject_Vectorcall(cpy_r_r75, cpy_r_r77, 1, 0); + CPy_DECREF(cpy_r_r75); + if (unlikely(cpy_r_r78 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 394, CPyStatic_call___globals); + goto CPyL60; + } + CPy_DECREF(cpy_r_r72); + CPy_Raise(cpy_r_r78); + CPy_DECREF(cpy_r_r78); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 394, CPyStatic_call___globals); + goto CPyL57; + } + CPy_Unreachable(); +CPyL57: ; + cpy_r_r79 = NULL; + return cpy_r_r79; +CPyL58: ; + CPy_DecRef(cpy_r_r46); + goto CPyL34; +CPyL59: ; + CPy_DecRef(cpy_r_r46); + goto CPyL57; +CPyL60: ; + CPy_DecRef(cpy_r_r72); + goto CPyL57; +} + +PyObject *CPyPy_call____format_single_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"type_str", "value", 0}; + static CPyArg_Parser parser = {"OO:_format_single_but_cache_checksums", kwlist, 0}; + PyObject *obj_type_str; + PyObject *obj_value; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type_str, &obj_value)) { + return NULL; + } + PyObject *arg_type_str; + if (likely(PyUnicode_Check(obj_type_str))) + arg_type_str = obj_type_str; + else { + CPy_TypeError("str", obj_type_str); + goto fail; + } + PyObject *arg_value = obj_value; + PyObject *retval = CPyDef_call____format_single_but_cache_checksums(arg_type_str, arg_value); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_single_but_cache_checksums", 375, CPyStatic_call___globals); + return NULL; +} + +char CPyDef_call_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r5; + void *cpy_r_r7; + void *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject **cpy_r_r35; + PyObject **cpy_r_r36; + PyObject **cpy_r_r37; + PyObject **cpy_r_r38; + PyObject **cpy_r_r39; + void *cpy_r_r41; + void *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + char cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + PyObject *cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + PyObject *cpy_r_r77; + PyObject *cpy_r_r78; + PyObject *cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + 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; + PyObject *cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + PyObject *cpy_r_r98; + PyObject *cpy_r_r99; + PyObject *cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + PyObject *cpy_r_r104; + PyObject *cpy_r_r105; + PyObject *cpy_r_r106; + PyObject *cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + PyObject *cpy_r_r111; + PyObject *cpy_r_r112; + PyObject *cpy_r_r113; + PyObject *cpy_r_r114; + PyObject *cpy_r_r115; + PyObject *cpy_r_r116; + PyObject *cpy_r_r117; + PyObject *cpy_r_r118; + PyObject *cpy_r_r119; + PyObject *cpy_r_r120; + PyObject *cpy_r_r121; + PyObject *cpy_r_r122; + char cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + char cpy_r_r126; + PyObject *cpy_r_r127; + PyObject *cpy_r_r128; + int32_t cpy_r_r129; + char cpy_r_r130; + PyObject *cpy_r_r131; + PyObject *cpy_r_r132; + PyObject *cpy_r_r133; + PyObject *cpy_r_r134; + PyObject **cpy_r_r136; + PyObject *cpy_r_r137; + PyObject *cpy_r_r138; + PyObject *cpy_r_r139; + int32_t cpy_r_r140; + char cpy_r_r141; + PyObject *cpy_r_r142; + PyObject *cpy_r_r143; + PyObject *cpy_r_r144; + PyObject *cpy_r_r145; + PyObject *cpy_r_r146; + PyObject **cpy_r_r148; + PyObject *cpy_r_r149; + PyObject *cpy_r_r150; + PyObject *cpy_r_r151; + int32_t cpy_r_r152; + char cpy_r_r153; + PyObject *cpy_r_r154; + PyObject *cpy_r_r155; + PyObject *cpy_r_r156; + PyObject *cpy_r_r157; + PyObject *cpy_r_r158; + PyObject *cpy_r_r159; + PyObject *cpy_r_r160; + PyObject *cpy_r_r161; + PyObject *cpy_r_r162; + int32_t cpy_r_r163; + char cpy_r_r164; + PyObject *cpy_r_r165; + PyObject *cpy_r_r166; + PyObject *cpy_r_r167; + PyObject *cpy_r_r168; + PyObject *cpy_r_r169; + PyObject *cpy_r_r170; + PyObject *cpy_r_r171; + PyObject *cpy_r_r172; + PyObject *cpy_r_r173; + PyObject *cpy_r_r174; + PyObject *cpy_r_r175; + PyObject *cpy_r_r176; + PyObject *cpy_r_r177; + PyObject *cpy_r_r178; + PyObject *cpy_r_r179; + PyObject *cpy_r_r180; + PyObject *cpy_r_r181; + tuple_T2OO cpy_r_r182; + PyObject *cpy_r_r183; + PyObject *cpy_r_r184; + tuple_T2OO cpy_r_r185; + PyObject *cpy_r_r186; + PyObject *cpy_r_r187; + PyObject *cpy_r_r188; + PyObject *cpy_r_r189; + int32_t cpy_r_r190; + char cpy_r_r191; + PyObject *cpy_r_r192; + PyObject *cpy_r_r193; + PyObject *cpy_r_r194; + PyObject *cpy_r_r195; + PyObject *cpy_r_r196; + PyObject *cpy_r_r197; + PyObject *cpy_r_r198; + PyObject *cpy_r_r199; + tuple_T2OO cpy_r_r200; + PyObject *cpy_r_r201; + PyObject *cpy_r_r202; + PyObject *cpy_r_r203; + PyObject *cpy_r_r204; + PyObject *cpy_r_r205; + PyObject **cpy_r_r207; + PyObject *cpy_r_r208; + PyObject *cpy_r_r209; + PyObject *cpy_r_r210; + int32_t cpy_r_r211; + char cpy_r_r212; + PyObject *cpy_r_r213; + PyObject *cpy_r_r214; + PyObject *cpy_r_r215; + PyObject *cpy_r_r216; + PyObject *cpy_r_r217; + int32_t cpy_r_r218; + char cpy_r_r219; + PyObject *cpy_r_r220; + PyObject *cpy_r_r221; + PyObject *cpy_r_r222; + PyObject *cpy_r_r223; + PyObject *cpy_r_r224; + PyObject *cpy_r_r225; + PyObject *cpy_r_r226; + int32_t cpy_r_r227; + char cpy_r_r228; + PyObject *cpy_r_r229; + PyObject *cpy_r_r230; + PyObject *cpy_r_r231; + PyObject *cpy_r_r232; + PyObject *cpy_r_r233; + PyObject *cpy_r_r234; + PyObject *cpy_r_r235; + PyObject *cpy_r_r236; + PyObject *cpy_r_r237; + PyObject *cpy_r_r238; + PyObject *cpy_r_r239; + int32_t cpy_r_r240; + char cpy_r_r241; + PyObject *cpy_r_r242; + PyObject *cpy_r_r243; + PyObject *cpy_r_r244; + PyObject *cpy_r_r245; + PyObject *cpy_r_r246; + PyObject *cpy_r_r247; + PyObject *cpy_r_r248; + PyObject *cpy_r_r249; + PyObject *cpy_r_r250; + PyObject *cpy_r_r251; + PyObject *cpy_r_r252; + int32_t cpy_r_r253; + char cpy_r_r254; + PyObject *cpy_r_r255; + PyObject *cpy_r_r256; + PyObject *cpy_r_r257; + PyObject *cpy_r_r258; + PyObject *cpy_r_r259; + PyObject *cpy_r_r260; + PyObject *cpy_r_r261; + PyObject *cpy_r_r262; + PyObject *cpy_r_r263; + PyObject *cpy_r_r264; + PyObject *cpy_r_r265; + int32_t cpy_r_r266; + char cpy_r_r267; + PyObject *cpy_r_r268; + PyObject *cpy_r_r269; + PyObject *cpy_r_r270; + PyObject *cpy_r_r271; + PyObject *cpy_r_r272; + PyObject *cpy_r_r273; + PyObject *cpy_r_r274; + PyObject *cpy_r_r275; + PyObject *cpy_r_r276; + PyObject *cpy_r_r277; + PyObject *cpy_r_r278; + int32_t cpy_r_r279; + char cpy_r_r280; + PyObject *cpy_r_r281; + PyObject *cpy_r_r282; + PyObject *cpy_r_r283; + PyObject *cpy_r_r284; + PyObject *cpy_r_r285; + PyObject *cpy_r_r286; + PyObject *cpy_r_r287; + int32_t cpy_r_r288; + char cpy_r_r289; + PyObject *cpy_r_r290; + PyObject *cpy_r_r291; + PyObject *cpy_r_r292; + PyObject *cpy_r_r293; + PyObject *cpy_r_r294; + PyObject *cpy_r_r295; + PyObject *cpy_r_r296; + PyObject *cpy_r_r297; + PyObject *cpy_r_r298; + PyObject *cpy_r_r299; + PyObject *cpy_r_r300; + int32_t cpy_r_r301; + char cpy_r_r302; + PyObject *cpy_r_r303; + PyObject *cpy_r_r304; + PyObject *cpy_r_r305; + PyObject *cpy_r_r306; + PyObject *cpy_r_r307; + PyObject *cpy_r_r308; + PyObject *cpy_r_r309; + PyObject *cpy_r_r310; + PyObject *cpy_r_r311; + PyObject *cpy_r_r312; + PyObject *cpy_r_r313; + int32_t cpy_r_r314; + char cpy_r_r315; + PyObject *cpy_r_r316; + PyObject *cpy_r_r317; + PyObject *cpy_r_r318; + PyObject *cpy_r_r319; + PyObject *cpy_r_r320; + PyObject *cpy_r_r321; + PyObject *cpy_r_r322; + PyObject *cpy_r_r323; + PyObject *cpy_r_r324; + PyObject *cpy_r_r325; + PyObject *cpy_r_r326; + int32_t cpy_r_r327; + char cpy_r_r328; + PyObject *cpy_r_r329; + PyObject *cpy_r_r330; + PyObject *cpy_r_r331; + PyObject *cpy_r_r332; + PyObject *cpy_r_r333; + PyObject *cpy_r_r334; + PyObject *cpy_r_r335; + PyObject *cpy_r_r336; + PyObject *cpy_r_r337; + PyObject *cpy_r_r338; + PyObject *cpy_r_r339; + int32_t cpy_r_r340; + char cpy_r_r341; + PyObject *cpy_r_r342; + PyObject *cpy_r_r343; + PyObject *cpy_r_r344; + PyObject *cpy_r_r345; + PyObject *cpy_r_r346; + PyObject *cpy_r_r347; + PyObject *cpy_r_r348; + PyObject *cpy_r_r349; + PyObject *cpy_r_r350; + PyObject *cpy_r_r351; + PyObject *cpy_r_r352; + int32_t cpy_r_r353; + char cpy_r_r354; + PyObject *cpy_r_r355; + PyObject *cpy_r_r356; + PyObject *cpy_r_r357; + PyObject *cpy_r_r358; + PyObject *cpy_r_r359; + PyObject *cpy_r_r360; + PyObject *cpy_r_r361; + PyObject *cpy_r_r362; + PyObject *cpy_r_r363; + PyObject *cpy_r_r364; + PyObject *cpy_r_r365; + int32_t cpy_r_r366; + char cpy_r_r367; + PyObject *cpy_r_r368; + PyObject *cpy_r_r369; + PyObject *cpy_r_r370; + PyObject *cpy_r_r371; + PyObject *cpy_r_r372; + PyObject *cpy_r_r373; + PyObject *cpy_r_r374; + PyObject *cpy_r_r375; + PyObject *cpy_r_r376; + PyObject *cpy_r_r377; + PyObject *cpy_r_r378; + int32_t cpy_r_r379; + char cpy_r_r380; + PyObject *cpy_r_r381; + PyObject *cpy_r_r382; + PyObject *cpy_r_r383; + PyObject *cpy_r_r384; + PyObject *cpy_r_r385; + char cpy_r_r386; + PyObject **cpy_r_r388; + PyObject *cpy_r_r389; + PyObject *cpy_r_r390; + PyObject *cpy_r_r391; + int32_t cpy_r_r392; + char cpy_r_r393; + PyObject *cpy_r_r394; + PyObject *cpy_r_r395; + PyObject *cpy_r_r396; + int32_t cpy_r_r397; + char cpy_r_r398; + PyObject *cpy_r_r399; + PyObject *cpy_r_r400; + PyObject *cpy_r_r401; + int32_t cpy_r_r402; + char cpy_r_r403; + PyObject *cpy_r_r404; + PyObject *cpy_r_r405; + PyObject *cpy_r_r406; + PyObject *cpy_r_r407; + PyObject *cpy_r_r408; + PyObject *cpy_r_r409; + PyObject *cpy_r_r410; + int32_t cpy_r_r411; + char cpy_r_r412; + PyObject *cpy_r_r413; + PyObject *cpy_r_r414; + PyObject *cpy_r_r415; + PyObject *cpy_r_r416; + PyObject *cpy_r_r417; + PyObject *cpy_r_r418; + PyObject **cpy_r_r420; + PyObject *cpy_r_r421; + PyObject *cpy_r_r422; + PyObject *cpy_r_r423; + int32_t cpy_r_r424; + char cpy_r_r425; + PyObject *cpy_r_r426; + PyObject *cpy_r_r427; + PyObject *cpy_r_r428; + PyObject *cpy_r_r429; + PyObject *cpy_r_r430; + PyObject *cpy_r_r431; + PyObject *cpy_r_r432; + int32_t cpy_r_r433; + char cpy_r_r434; + PyObject *cpy_r_r435; + PyObject *cpy_r_r436; + PyObject *cpy_r_r437; + PyObject *cpy_r_r438; + PyObject *cpy_r_r439; + PyObject *cpy_r_r440; + PyObject *cpy_r_r441; + int32_t cpy_r_r442; + char cpy_r_r443; + PyObject *cpy_r_r444; + PyObject *cpy_r_r445; + int32_t cpy_r_r446; + char cpy_r_r447; + PyObject *cpy_r_r448; + PyObject *cpy_r_r449; + int32_t cpy_r_r450; + char cpy_r_r451; + PyObject *cpy_r_r452; + PyObject *cpy_r_r453; + PyObject *cpy_r_r454; + PyObject *cpy_r_r455; + PyObject *cpy_r_r456; + PyObject *cpy_r_r457; + PyObject *cpy_r_r458; + int32_t cpy_r_r459; + char cpy_r_r460; + tuple_T3OOO cpy_r_r461; + PyObject *cpy_r_r462; + PyObject *cpy_r_r463; + PyObject *cpy_r_r464; + char cpy_r_r465; + PyObject *cpy_r_r466; + PyObject *cpy_r_r467; + PyObject *cpy_r_r468; + int32_t cpy_r_r469; + char cpy_r_r470; + PyObject *cpy_r_r471; + PyObject *cpy_r_r472; + PyObject *cpy_r_r473; + PyObject *cpy_r_r474; + PyObject *cpy_r_r475; + int32_t cpy_r_r476; + char cpy_r_r477; + char cpy_r_r478; + char cpy_r_r479; + char cpy_r_r480; + PyObject *cpy_r_r481; + PyObject *cpy_r_r482; + PyObject *cpy_r_r483; + PyObject *cpy_r_r484; + PyObject *cpy_r_r485; + PyObject *cpy_r_r486; + PyObject *cpy_r_r487; + PyObject *cpy_r_r488; + PyObject **cpy_r_r490; + PyObject *cpy_r_r491; + PyObject *cpy_r_r492; + PyObject *cpy_r_r493; + int32_t cpy_r_r494; + char cpy_r_r495; + int32_t cpy_r_r496; + char cpy_r_r497; + char cpy_r_r498; + PyObject *cpy_r_r499; + PyObject *cpy_r_r500; + PyObject *cpy_r_r501; + PyObject *cpy_r_r502; + PyObject *cpy_r_r503; + PyObject *cpy_r_r504; + PyObject *cpy_r_r505; + PyObject *cpy_r_r506; + char cpy_r_r507; + PyObject **cpy_r_r509; + PyObject *cpy_r_r510; + int32_t cpy_r_r511; + char cpy_r_r512; + PyObject *cpy_r_r513; + PyObject *cpy_r_r514; + PyObject *cpy_r_r515; + PyObject *cpy_r_r516; + PyObject *cpy_r_r517; + PyObject *cpy_r_r518; + PyObject *cpy_r_r519; + PyObject *cpy_r_r520; + PyObject *cpy_r_r521; + PyObject *cpy_r_r522; + PyObject *cpy_r_r523; + int32_t cpy_r_r524; + char cpy_r_r525; + PyObject *cpy_r_r526; + PyObject *cpy_r_r527; + PyObject *cpy_r_r528; + PyObject *cpy_r_r529; + PyObject *cpy_r_r530; + PyObject *cpy_r_r531; + PyObject *cpy_r_r532; + PyObject *cpy_r_r533; + PyObject *cpy_r_r534; + PyObject *cpy_r_r535; + PyObject *cpy_r_r536; + int32_t cpy_r_r537; + char cpy_r_r538; + PyObject *cpy_r_r539; + PyObject *cpy_r_r540; + PyObject *cpy_r_r541; + PyObject *cpy_r_r542; + PyObject *cpy_r_r543; + PyObject *cpy_r_r544; + PyObject *cpy_r_r545; + PyObject *cpy_r_r546; + PyObject *cpy_r_r547; + PyObject *cpy_r_r548; + PyObject *cpy_r_r549; + int32_t cpy_r_r550; + char cpy_r_r551; + PyObject *cpy_r_r552; + PyObject *cpy_r_r553; + PyObject *cpy_r_r554; + PyObject *cpy_r_r555; + PyObject *cpy_r_r556; + PyObject *cpy_r_r557; + PyObject *cpy_r_r558; + PyObject *cpy_r_r559; + PyObject *cpy_r_r560; + PyObject *cpy_r_r561; + PyObject *cpy_r_r562; + int32_t cpy_r_r563; + char cpy_r_r564; + PyObject *cpy_r_r565; + PyObject *cpy_r_r566; + PyObject *cpy_r_r567; + PyObject *cpy_r_r568; + PyObject *cpy_r_r569; + PyObject *cpy_r_r570; + PyObject *cpy_r_r571; + PyObject *cpy_r_r572; + PyObject *cpy_r_r573; + PyObject *cpy_r_r574; + PyObject *cpy_r_r575; + int32_t cpy_r_r576; + char cpy_r_r577; + char cpy_r_r578; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", -1, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = (PyObject **)&CPyModule_decimal; + PyObject **cpy_r_r6[1] = {cpy_r_r5}; + 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[970]; /* (('decimal', 'decimal', 'decimal'),) */ + cpy_r_r11 = CPyStatic_call___globals; + cpy_r_r12 = CPyStatics[425]; /* 'dank_mids\\brownie_patch\\call.py' */ + cpy_r_r13 = CPyStatics[43]; /* '' */ + 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 CPyL208; + cpy_r_r15 = CPyStatics[971]; /* ('BrokenProcessPool',) */ + cpy_r_r16 = CPyStatics[426]; /* '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); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 2, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_concurrent___futures___process = cpy_r_r18; + CPy_INCREF(CPyModule_concurrent___futures___process); + CPy_DECREF(cpy_r_r18); + cpy_r_r19 = CPyStatics[972]; /* ('Logger',) */ + cpy_r_r20 = CPyStatics[169]; /* 'logging' */ + cpy_r_r21 = CPyStatic_call___globals; + cpy_r_r22 = CPyImport_ImportFromMany(cpy_r_r20, cpy_r_r19, cpy_r_r19, cpy_r_r21); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 3, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_logging = cpy_r_r22; + CPy_INCREF(CPyModule_logging); + CPy_DECREF(cpy_r_r22); + cpy_r_r23 = CPyStatics[973]; /* ('PicklingError',) */ + cpy_r_r24 = CPyStatics[428]; /* 'pickle' */ + cpy_r_r25 = CPyStatic_call___globals; + cpy_r_r26 = CPyImport_ImportFromMany(cpy_r_r24, cpy_r_r23, cpy_r_r23, cpy_r_r25); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 4, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_pickle = cpy_r_r26; + CPy_INCREF(CPyModule_pickle); + CPy_DECREF(cpy_r_r26); + cpy_r_r27 = CPyStatics[974]; /* ('MethodType',) */ + cpy_r_r28 = CPyStatics[267]; /* 'types' */ + cpy_r_r29 = CPyStatic_call___globals; + cpy_r_r30 = CPyImport_ImportFromMany(cpy_r_r28, cpy_r_r27, cpy_r_r27, cpy_r_r29); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 5, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_types = cpy_r_r30; + CPy_INCREF(CPyModule_types); + CPy_DECREF(cpy_r_r30); + cpy_r_r31 = CPyStatics[975]; /* ('TYPE_CHECKING', 'Any', 'Callable', 'Dict', 'Final', + 'List', 'NewType', 'Optional', 'Sequence', 'Tuple', + 'TypeVar', 'Union') */ + cpy_r_r32 = CPyStatics[40]; /* 'typing' */ + cpy_r_r33 = CPyStatic_call___globals; + cpy_r_r34 = CPyImport_ImportFromMany(cpy_r_r32, cpy_r_r31, cpy_r_r31, cpy_r_r33); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 6, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_typing = cpy_r_r34; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r34); + cpy_r_r35 = (PyObject **)&CPyModule_brownie___convert___datatypes; + cpy_r_r36 = (PyObject **)&CPyModule_brownie___convert___normalize; + cpy_r_r37 = (PyObject **)&CPyModule_brownie___network___contract; + cpy_r_r38 = (PyObject **)&CPyModule_faster_eth_abi; + cpy_r_r39 = (PyObject **)&CPyModule_hexbytes; + PyObject **cpy_r_r40[5] = {cpy_r_r35, cpy_r_r36, cpy_r_r37, cpy_r_r38, cpy_r_r39}; + cpy_r_r41 = (void *)&cpy_r_r40; + int64_t cpy_r_r42[5] = {21, 22, 23, 24, 25}; + cpy_r_r43 = (void *)&cpy_r_r42; + cpy_r_r44 = CPyStatics[981]; /* (('brownie.convert.datatypes', 'brownie', 'brownie'), + ('brownie.convert.normalize', 'brownie', 'brownie'), + ('brownie.network.contract', 'brownie', 'brownie'), + ('faster_eth_abi', 'faster_eth_abi', 'faster_eth_abi'), + ('hexbytes', 'hexbytes', 'hexbytes')) */ + cpy_r_r45 = CPyStatic_call___globals; + cpy_r_r46 = CPyStatics[425]; /* 'dank_mids\\brownie_patch\\call.py' */ + cpy_r_r47 = CPyStatics[43]; /* '' */ + 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 CPyL208; + cpy_r_r49 = CPyStatics[982]; /* ('AsyncProcessPoolExecutor',) */ + cpy_r_r50 = CPyStatics[41]; /* '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); + if (unlikely(cpy_r_r52 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 26, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_a_sync = cpy_r_r52; + CPy_INCREF(CPyModule_a_sync); + CPy_DECREF(cpy_r_r52); + cpy_r_r53 = CPyStatics[983]; /* ('chain',) */ + cpy_r_r54 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r55 = CPyStatic_call___globals; + cpy_r_r56 = CPyImport_ImportFromMany(cpy_r_r54, cpy_r_r53, cpy_r_r53, cpy_r_r55); + if (unlikely(cpy_r_r56 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 27, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_brownie = cpy_r_r56; + CPy_INCREF(CPyModule_brownie); + CPy_DECREF(cpy_r_r56); + cpy_r_r57 = CPyStatics[984]; /* ('ABIType',) */ + cpy_r_r58 = CPyStatics[431]; /* '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); + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 28, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_brownie___convert___normalize = cpy_r_r60; + CPy_INCREF(CPyModule_brownie___convert___normalize); + CPy_DECREF(cpy_r_r60); + cpy_r_r61 = CPyStatics[985]; /* ('get_type_strings',) */ + cpy_r_r62 = CPyStatics[435]; /* '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); + if (unlikely(cpy_r_r64 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 29, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_brownie___convert___utils = cpy_r_r64; + CPy_INCREF(CPyModule_brownie___convert___utils); + CPy_DECREF(cpy_r_r64); + cpy_r_r65 = CPyStatics[986]; /* ('VirtualMachineError',) */ + cpy_r_r66 = CPyStatics[436]; /* '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); + if (unlikely(cpy_r_r68 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 30, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_brownie___exceptions = cpy_r_r68; + CPy_INCREF(CPyModule_brownie___exceptions); + CPy_DECREF(cpy_r_r68); + cpy_r_r69 = CPyStatics[987]; /* ('ContractCall',) */ + cpy_r_r70 = CPyStatics[432]; /* '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); + if (unlikely(cpy_r_r72 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 31, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_brownie___network___contract = cpy_r_r72; + CPy_INCREF(CPyModule_brownie___network___contract); + CPy_DECREF(cpy_r_r72); + cpy_r_r73 = CPyStatics[988]; /* ('SOLIDITY_ERROR_CODES',) */ + cpy_r_r74 = CPyStatics[438]; /* '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); + if (unlikely(cpy_r_r76 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 32, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_brownie___project___compiler___solidity = cpy_r_r76; + CPy_INCREF(CPyModule_brownie___project___compiler___solidity); + CPy_DECREF(cpy_r_r76); + cpy_r_r77 = CPyStatics[989]; /* ('DecodingError', 'InsufficientDataBytes') */ + cpy_r_r78 = CPyStatics[439]; /* 'faster_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); + if (unlikely(cpy_r_r80 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 33, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_faster_eth_abi___exceptions = cpy_r_r80; + CPy_INCREF(CPyModule_faster_eth_abi___exceptions); + CPy_DECREF(cpy_r_r80); + cpy_r_r81 = CPyStatics[926]; /* ('HexStr',) */ + cpy_r_r82 = CPyStatics[137]; /* '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); + if (unlikely(cpy_r_r84 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 34, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_eth_typing = cpy_r_r84; + CPy_INCREF(CPyModule_eth_typing); + CPy_DECREF(cpy_r_r84); + cpy_r_r85 = CPyStatics[990]; /* ('Address',) */ + cpy_r_r86 = CPyStatics[441]; /* '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); + if (unlikely(cpy_r_r88 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 35, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_evmspec___data = cpy_r_r88; + CPy_INCREF(CPyModule_evmspec___data); + CPy_DECREF(cpy_r_r88); + cpy_r_r89 = CPyStatics[991]; /* ('BytesLike',) */ + cpy_r_r90 = CPyStatics[443]; /* '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); + if (unlikely(cpy_r_r92 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 36, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_hexbytes___main = cpy_r_r92; + CPy_INCREF(CPyModule_hexbytes___main); + CPy_DECREF(cpy_r_r92); + cpy_r_r93 = CPyStatics[992]; /* ('MULTICALL2_ADDRESSES',) */ + cpy_r_r94 = CPyStatics[445]; /* '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); + if (unlikely(cpy_r_r96 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 37, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_multicall___constants = cpy_r_r96; + CPy_INCREF(CPyModule_multicall___constants); + CPy_DECREF(cpy_r_r96); + cpy_r_r97 = CPyStatics[993]; /* ('BlockIdentifier',) */ + cpy_r_r98 = CPyStatics[296]; /* '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); + if (unlikely(cpy_r_r100 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 38, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_web3___types = cpy_r_r100; + CPy_INCREF(CPyModule_web3___types); + CPy_DECREF(cpy_r_r100); + cpy_r_r101 = CPyStatics[919]; /* ('ENVIRONMENT_VARIABLES',) */ + cpy_r_r102 = CPyStatics[994]; /* ('ENVS',) */ + cpy_r_r103 = CPyStatics[71]; /* 'dank_mids' */ + cpy_r_r104 = CPyStatic_call___globals; + cpy_r_r105 = CPyImport_ImportFromMany(cpy_r_r103, cpy_r_r101, cpy_r_r102, cpy_r_r104); + if (unlikely(cpy_r_r105 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 40, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_dank_mids = cpy_r_r105; + CPy_INCREF(CPyModule_dank_mids); + CPy_DECREF(cpy_r_r105); + cpy_r_r106 = CPyStatics[995]; /* ('exceptions',) */ + cpy_r_r107 = CPyStatics[71]; /* 'dank_mids' */ + cpy_r_r108 = CPyStatic_call___globals; + cpy_r_r109 = CPyImport_ImportFromMany(cpy_r_r107, cpy_r_r106, cpy_r_r106, cpy_r_r108); + if (unlikely(cpy_r_r109 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 41, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_dank_mids = cpy_r_r109; + CPy_INCREF(CPyModule_dank_mids); + CPy_DECREF(cpy_r_r109); + cpy_r_r110 = CPyStatics[913]; /* ('getLogger',) */ + cpy_r_r111 = CPyStatics[47]; /* 'dank_mids._logging' */ + cpy_r_r112 = CPyStatic_call___globals; + cpy_r_r113 = CPyImport_ImportFromMany(cpy_r_r111, cpy_r_r110, cpy_r_r110, cpy_r_r112); + if (unlikely(cpy_r_r113 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 42, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_dank_mids____logging = cpy_r_r113; + CPy_INCREF(CPyModule_dank_mids____logging); + CPy_DECREF(cpy_r_r113); + cpy_r_r114 = CPyStatics[996]; /* ('lru_cache_lite_nonull',) */ + cpy_r_r115 = CPyStatics[449]; /* 'dank_mids.helpers.lru_cache' */ + cpy_r_r116 = CPyStatic_call___globals; + cpy_r_r117 = CPyImport_ImportFromMany(cpy_r_r115, cpy_r_r114, cpy_r_r114, cpy_r_r116); + if (unlikely(cpy_r_r117 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 43, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_dank_mids___helpers___lru_cache = cpy_r_r117; + CPy_INCREF(CPyModule_dank_mids___helpers___lru_cache); + CPy_DECREF(cpy_r_r117); + cpy_r_r118 = CPyStatics[960]; /* ('DankWeb3',) */ + cpy_r_r119 = CPyStatics[319]; /* 'dank_mids.helpers._helpers' */ + cpy_r_r120 = CPyStatic_call___globals; + cpy_r_r121 = CPyImport_ImportFromMany(cpy_r_r119, cpy_r_r118, cpy_r_r118, cpy_r_r120); + if (unlikely(cpy_r_r121 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 44, CPyStatic_call___globals); + goto CPyL208; + } + CPyModule_dank_mids___helpers____helpers = cpy_r_r121; + CPy_INCREF(CPyModule_dank_mids___helpers____helpers); + CPy_DECREF(cpy_r_r121); + cpy_r_r122 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; + if (likely(cpy_r_r122 != NULL)) goto CPyL32; + PyErr_SetString(PyExc_NameError, "value for final name \"OPERATION_MODE\" was not set"); + cpy_r_r123 = 0; + if (unlikely(!cpy_r_r123)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 50, CPyStatic_call___globals); + goto CPyL208; + } + CPy_Unreachable(); +CPyL32: ; + cpy_r_r124 = CPyStatics[450]; /* 'application' */ + cpy_r_r125 = CPyObject_GetAttr(cpy_r_r122, cpy_r_r124); + if (unlikely(cpy_r_r125 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 50, CPyStatic_call___globals); + goto CPyL208; + } + if (unlikely(!PyBool_Check(cpy_r_r125))) { + CPy_TypeError("bool", cpy_r_r125); cpy_r_r126 = 2; + } else + cpy_r_r126 = cpy_r_r125 == Py_True; + if (unlikely(cpy_r_r126 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 50, CPyStatic_call___globals); + goto CPyL209; + } + CPyStatic_call___APPLICATION_MODE = cpy_r_r126; + cpy_r_r127 = CPyStatic_call___globals; + cpy_r_r128 = CPyStatics[451]; /* 'APPLICATION_MODE' */ + cpy_r_r129 = CPyDict_SetItem(cpy_r_r127, cpy_r_r128, cpy_r_r125); + CPy_DECREF(cpy_r_r125); + cpy_r_r130 = cpy_r_r129 >= 0; + if (unlikely(!cpy_r_r130)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 50, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r131 = CPyStatics[259]; /* '_T' */ + cpy_r_r132 = CPyStatic_call___globals; + cpy_r_r133 = CPyStatics[37]; /* 'TypeVar' */ + cpy_r_r134 = CPyDict_GetItem(cpy_r_r132, cpy_r_r133); + if (unlikely(cpy_r_r134 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 53, CPyStatic_call___globals); + goto CPyL208; + } + PyObject *cpy_r_r135[1] = {cpy_r_r131}; + cpy_r_r136 = (PyObject **)&cpy_r_r135; + cpy_r_r137 = PyObject_Vectorcall(cpy_r_r134, cpy_r_r136, 1, 0); + CPy_DECREF(cpy_r_r134); + if (unlikely(cpy_r_r137 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 53, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r138 = CPyStatic_call___globals; + cpy_r_r139 = CPyStatics[259]; /* '_T' */ + cpy_r_r140 = CPyDict_SetItem(cpy_r_r138, cpy_r_r139, cpy_r_r137); + CPy_DECREF(cpy_r_r137); + cpy_r_r141 = cpy_r_r140 >= 0; + if (unlikely(!cpy_r_r141)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 53, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r142 = CPyStatics[254]; /* 'TypeStr' */ + cpy_r_r143 = (PyObject *)&PyUnicode_Type; + cpy_r_r144 = CPyStatic_call___globals; + cpy_r_r145 = CPyStatics[429]; /* 'NewType' */ + cpy_r_r146 = CPyDict_GetItem(cpy_r_r144, cpy_r_r145); + if (unlikely(cpy_r_r146 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 54, CPyStatic_call___globals); + goto CPyL208; + } + PyObject *cpy_r_r147[2] = {cpy_r_r142, cpy_r_r143}; + cpy_r_r148 = (PyObject **)&cpy_r_r147; + cpy_r_r149 = PyObject_Vectorcall(cpy_r_r146, cpy_r_r148, 2, 0); + CPy_DECREF(cpy_r_r146); + if (unlikely(cpy_r_r149 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 54, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r150 = CPyStatic_call___globals; + cpy_r_r151 = CPyStatics[254]; /* 'TypeStr' */ + cpy_r_r152 = CPyDict_SetItem(cpy_r_r150, cpy_r_r151, cpy_r_r149); + CPy_DECREF(cpy_r_r149); + cpy_r_r153 = cpy_r_r152 >= 0; + if (unlikely(!cpy_r_r153)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 54, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r154 = CPyStatic_call___globals; + cpy_r_r155 = CPyStatics[172]; /* 'List' */ + cpy_r_r156 = CPyDict_GetItem(cpy_r_r154, cpy_r_r155); + if (unlikely(cpy_r_r156 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 55, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r157 = CPyStatic_call___globals; + cpy_r_r158 = CPyStatics[254]; /* 'TypeStr' */ + cpy_r_r159 = CPyDict_GetItem(cpy_r_r157, cpy_r_r158); + if (unlikely(cpy_r_r159 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 55, CPyStatic_call___globals); + goto CPyL210; + } + cpy_r_r160 = PyObject_GetItem(cpy_r_r156, cpy_r_r159); + CPy_DECREF(cpy_r_r156); + CPy_DECREF(cpy_r_r159); + if (unlikely(cpy_r_r160 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 55, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r161 = CPyStatic_call___globals; + cpy_r_r162 = CPyStatics[452]; /* 'TypeStrs' */ + 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; + if (unlikely(!cpy_r_r164)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 55, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r165 = CPyStatic_call___globals; + cpy_r_r166 = CPyStatics[38]; /* 'Union' */ + cpy_r_r167 = CPyDict_GetItem(cpy_r_r165, cpy_r_r166); + if (unlikely(cpy_r_r167 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 56, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r168 = CPyStatic_call___globals; + cpy_r_r169 = CPyStatics[172]; /* 'List' */ + cpy_r_r170 = CPyDict_GetItem(cpy_r_r168, cpy_r_r169); + if (unlikely(cpy_r_r170 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 56, CPyStatic_call___globals); + goto CPyL211; + } + cpy_r_r171 = CPyStatic_call___globals; + cpy_r_r172 = CPyStatics[259]; /* '_T' */ + cpy_r_r173 = CPyDict_GetItem(cpy_r_r171, cpy_r_r172); + if (unlikely(cpy_r_r173 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 56, CPyStatic_call___globals); + goto CPyL212; + } + cpy_r_r174 = PyObject_GetItem(cpy_r_r170, cpy_r_r173); + CPy_DECREF(cpy_r_r170); + CPy_DECREF(cpy_r_r173); + if (unlikely(cpy_r_r174 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 56, CPyStatic_call___globals); + goto CPyL211; + } + cpy_r_r175 = CPyStatic_call___globals; + cpy_r_r176 = CPyStatics[253]; /* 'Tuple' */ + cpy_r_r177 = CPyDict_GetItem(cpy_r_r175, cpy_r_r176); + if (unlikely(cpy_r_r177 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 56, CPyStatic_call___globals); + goto CPyL213; + } + cpy_r_r178 = CPyStatic_call___globals; + cpy_r_r179 = CPyStatics[259]; /* '_T' */ + cpy_r_r180 = CPyDict_GetItem(cpy_r_r178, cpy_r_r179); + if (unlikely(cpy_r_r180 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 56, CPyStatic_call___globals); + goto CPyL214; + } + cpy_r_r181 = (PyObject *)&_Py_EllipsisObject; + CPy_INCREF(cpy_r_r181); + cpy_r_r182.f0 = cpy_r_r180; + cpy_r_r182.f1 = cpy_r_r181; + cpy_r_r183 = PyTuple_New(2); + if (unlikely(cpy_r_r183 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp159 = cpy_r_r182.f0; + PyTuple_SET_ITEM(cpy_r_r183, 0, __tmp159); + PyObject *__tmp160 = cpy_r_r182.f1; + PyTuple_SET_ITEM(cpy_r_r183, 1, __tmp160); + cpy_r_r184 = PyObject_GetItem(cpy_r_r177, cpy_r_r183); + CPy_DECREF(cpy_r_r177); + CPy_DECREF(cpy_r_r183); + if (unlikely(cpy_r_r184 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 56, CPyStatic_call___globals); + goto CPyL213; + } + cpy_r_r185.f0 = cpy_r_r174; + cpy_r_r185.f1 = cpy_r_r184; + cpy_r_r186 = PyTuple_New(2); + if (unlikely(cpy_r_r186 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp161 = cpy_r_r185.f0; + PyTuple_SET_ITEM(cpy_r_r186, 0, __tmp161); + PyObject *__tmp162 = cpy_r_r185.f1; + PyTuple_SET_ITEM(cpy_r_r186, 1, __tmp162); + cpy_r_r187 = PyObject_GetItem(cpy_r_r167, cpy_r_r186); + CPy_DECREF(cpy_r_r167); + CPy_DECREF(cpy_r_r186); + if (unlikely(cpy_r_r187 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 56, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r188 = CPyStatic_call___globals; + cpy_r_r189 = CPyStatics[453]; /* 'ListOrTuple' */ + 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; + if (unlikely(!cpy_r_r191)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 56, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r192 = CPyStatics[454]; /* 'AbiDict' */ + cpy_r_r193 = CPyStatic_call___globals; + cpy_r_r194 = CPyStatics[252]; /* 'Dict' */ + cpy_r_r195 = CPyDict_GetItem(cpy_r_r193, cpy_r_r194); + if (unlikely(cpy_r_r195 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 57, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r196 = (PyObject *)&PyUnicode_Type; + cpy_r_r197 = CPyStatic_call___globals; + cpy_r_r198 = CPyStatics[33]; /* 'Any' */ + cpy_r_r199 = CPyDict_GetItem(cpy_r_r197, cpy_r_r198); + if (unlikely(cpy_r_r199 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 57, CPyStatic_call___globals); + goto CPyL215; + } + CPy_INCREF(cpy_r_r196); + cpy_r_r200.f0 = cpy_r_r196; + cpy_r_r200.f1 = cpy_r_r199; + cpy_r_r201 = PyTuple_New(2); + if (unlikely(cpy_r_r201 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp163 = cpy_r_r200.f0; + PyTuple_SET_ITEM(cpy_r_r201, 0, __tmp163); + PyObject *__tmp164 = cpy_r_r200.f1; + PyTuple_SET_ITEM(cpy_r_r201, 1, __tmp164); + cpy_r_r202 = PyObject_GetItem(cpy_r_r195, cpy_r_r201); + CPy_DECREF(cpy_r_r195); + CPy_DECREF(cpy_r_r201); + if (unlikely(cpy_r_r202 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 57, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r203 = CPyStatic_call___globals; + cpy_r_r204 = CPyStatics[429]; /* 'NewType' */ + cpy_r_r205 = CPyDict_GetItem(cpy_r_r203, cpy_r_r204); + if (unlikely(cpy_r_r205 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 57, CPyStatic_call___globals); + goto CPyL216; + } + PyObject *cpy_r_r206[2] = {cpy_r_r192, cpy_r_r202}; + cpy_r_r207 = (PyObject **)&cpy_r_r206; + cpy_r_r208 = PyObject_Vectorcall(cpy_r_r205, cpy_r_r207, 2, 0); + CPy_DECREF(cpy_r_r205); + if (unlikely(cpy_r_r208 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 57, CPyStatic_call___globals); + goto CPyL216; + } + CPy_DECREF(cpy_r_r202); + cpy_r_r209 = CPyStatic_call___globals; + cpy_r_r210 = CPyStatics[454]; /* 'AbiDict' */ + cpy_r_r211 = CPyDict_SetItem(cpy_r_r209, cpy_r_r210, cpy_r_r208); + CPy_DECREF(cpy_r_r208); + cpy_r_r212 = cpy_r_r211 >= 0; + if (unlikely(!cpy_r_r212)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 57, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r213 = CPyModule_decimal; + cpy_r_r214 = CPyStatics[455]; /* 'Decimal' */ + cpy_r_r215 = CPyObject_GetAttr(cpy_r_r213, cpy_r_r214); + if (unlikely(cpy_r_r215 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 61, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___Decimal = cpy_r_r215; + CPy_INCREF(CPyStatic_call___Decimal); + cpy_r_r216 = CPyStatic_call___globals; + cpy_r_r217 = CPyStatics[455]; /* 'Decimal' */ + cpy_r_r218 = CPyDict_SetItem(cpy_r_r216, cpy_r_r217, cpy_r_r215); + CPy_DECREF(cpy_r_r215); + cpy_r_r219 = cpy_r_r218 >= 0; + if (unlikely(!cpy_r_r219)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 61, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r220 = CPyStatic_call___globals; + cpy_r_r221 = CPyStatics[433]; /* 'hexbytes' */ + cpy_r_r222 = CPyDict_GetItem(cpy_r_r220, cpy_r_r221); + if (unlikely(cpy_r_r222 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 62, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r223 = CPyStatics[456]; /* 'HexBytes' */ + cpy_r_r224 = CPyObject_GetAttr(cpy_r_r222, cpy_r_r223); + CPy_DECREF(cpy_r_r222); + if (unlikely(cpy_r_r224 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 62, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___HexBytes = cpy_r_r224; + CPy_INCREF(CPyStatic_call___HexBytes); + cpy_r_r225 = CPyStatic_call___globals; + cpy_r_r226 = CPyStatics[456]; /* 'HexBytes' */ + cpy_r_r227 = CPyDict_SetItem(cpy_r_r225, cpy_r_r226, cpy_r_r224); + CPy_DECREF(cpy_r_r224); + cpy_r_r228 = cpy_r_r227 >= 0; + if (unlikely(!cpy_r_r228)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 62, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r229 = CPyStatic_call___globals; + cpy_r_r230 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r231 = CPyDict_GetItem(cpy_r_r229, cpy_r_r230); + if (unlikely(cpy_r_r231 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 63, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r232 = CPyStatics[323]; /* 'network' */ + cpy_r_r233 = CPyObject_GetAttr(cpy_r_r231, cpy_r_r232); + CPy_DECREF(cpy_r_r231); + if (unlikely(cpy_r_r233 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 63, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r234 = CPyStatics[380]; /* 'contract' */ + cpy_r_r235 = CPyObject_GetAttr(cpy_r_r233, cpy_r_r234); + CPy_DECREF(cpy_r_r233); + if (unlikely(cpy_r_r235 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 63, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r236 = CPyStatics[326]; /* 'Contract' */ + cpy_r_r237 = CPyObject_GetAttr(cpy_r_r235, cpy_r_r236); + CPy_DECREF(cpy_r_r235); + if (unlikely(cpy_r_r237 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 63, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___Contract = cpy_r_r237; + CPy_INCREF(CPyStatic_call___Contract); + cpy_r_r238 = CPyStatic_call___globals; + cpy_r_r239 = CPyStatics[326]; /* 'Contract' */ + 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; + if (unlikely(!cpy_r_r241)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 63, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r242 = CPyStatic_call___globals; + cpy_r_r243 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r244 = CPyDict_GetItem(cpy_r_r242, cpy_r_r243); + if (unlikely(cpy_r_r244 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 64, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r245 = CPyStatics[457]; /* 'convert' */ + cpy_r_r246 = CPyObject_GetAttr(cpy_r_r244, cpy_r_r245); + CPy_DECREF(cpy_r_r244); + if (unlikely(cpy_r_r246 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 64, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r247 = CPyStatics[458]; /* 'datatypes' */ + cpy_r_r248 = CPyObject_GetAttr(cpy_r_r246, cpy_r_r247); + CPy_DECREF(cpy_r_r246); + if (unlikely(cpy_r_r248 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 64, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r249 = CPyStatics[459]; /* 'ReturnValue' */ + cpy_r_r250 = CPyObject_GetAttr(cpy_r_r248, cpy_r_r249); + CPy_DECREF(cpy_r_r248); + if (unlikely(cpy_r_r250 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 64, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___ReturnValue = cpy_r_r250; + CPy_INCREF(CPyStatic_call___ReturnValue); + cpy_r_r251 = CPyStatic_call___globals; + cpy_r_r252 = CPyStatics[459]; /* 'ReturnValue' */ + 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; + if (unlikely(!cpy_r_r254)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 64, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r255 = CPyStatic_call___globals; + cpy_r_r256 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r257 = CPyDict_GetItem(cpy_r_r255, cpy_r_r256); + if (unlikely(cpy_r_r257 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 65, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r258 = CPyStatics[457]; /* 'convert' */ + cpy_r_r259 = CPyObject_GetAttr(cpy_r_r257, cpy_r_r258); + CPy_DECREF(cpy_r_r257); + if (unlikely(cpy_r_r259 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 65, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r260 = CPyStatics[460]; /* 'normalize' */ + cpy_r_r261 = CPyObject_GetAttr(cpy_r_r259, cpy_r_r260); + CPy_DECREF(cpy_r_r259); + if (unlikely(cpy_r_r261 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 65, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r262 = CPyStatics[461]; /* 'HexString' */ + cpy_r_r263 = CPyObject_GetAttr(cpy_r_r261, cpy_r_r262); + CPy_DECREF(cpy_r_r261); + if (unlikely(cpy_r_r263 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 65, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___HexString = cpy_r_r263; + CPy_INCREF(CPyStatic_call___HexString); + cpy_r_r264 = CPyStatic_call___globals; + cpy_r_r265 = CPyStatics[461]; /* 'HexString' */ + cpy_r_r266 = CPyDict_SetItem(cpy_r_r264, cpy_r_r265, cpy_r_r263); + CPy_DECREF(cpy_r_r263); + cpy_r_r267 = cpy_r_r266 >= 0; + if (unlikely(!cpy_r_r267)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 65, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r268 = CPyStatic_call___globals; + cpy_r_r269 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r270 = CPyDict_GetItem(cpy_r_r268, cpy_r_r269); + if (unlikely(cpy_r_r270 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 66, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r271 = CPyStatics[457]; /* 'convert' */ + cpy_r_r272 = CPyObject_GetAttr(cpy_r_r270, cpy_r_r271); + CPy_DECREF(cpy_r_r270); + if (unlikely(cpy_r_r272 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 66, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r273 = CPyStatics[460]; /* 'normalize' */ + cpy_r_r274 = CPyObject_GetAttr(cpy_r_r272, cpy_r_r273); + CPy_DECREF(cpy_r_r272); + if (unlikely(cpy_r_r274 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 66, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r275 = CPyStatics[245]; /* 'TupleType' */ + cpy_r_r276 = CPyObject_GetAttr(cpy_r_r274, cpy_r_r275); + CPy_DECREF(cpy_r_r274); + if (unlikely(cpy_r_r276 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 66, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___TupleType = cpy_r_r276; + CPy_INCREF(CPyStatic_call___TupleType); + cpy_r_r277 = CPyStatic_call___globals; + cpy_r_r278 = CPyStatics[245]; /* 'TupleType' */ + cpy_r_r279 = CPyDict_SetItem(cpy_r_r277, cpy_r_r278, cpy_r_r276); + CPy_DECREF(cpy_r_r276); + cpy_r_r280 = cpy_r_r279 >= 0; + if (unlikely(!cpy_r_r280)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 66, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r281 = CPyStatic_call___globals; + cpy_r_r282 = CPyStatics[447]; /* 'exceptions' */ + cpy_r_r283 = CPyDict_GetItem(cpy_r_r281, cpy_r_r282); + if (unlikely(cpy_r_r283 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 68, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r284 = CPyStatics[462]; /* 'Revert' */ + cpy_r_r285 = CPyObject_GetAttr(cpy_r_r283, cpy_r_r284); + CPy_DECREF(cpy_r_r283); + if (unlikely(cpy_r_r285 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 68, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___Revert = cpy_r_r285; + CPy_INCREF(CPyStatic_call___Revert); + cpy_r_r286 = CPyStatic_call___globals; + cpy_r_r287 = CPyStatics[462]; /* 'Revert' */ + cpy_r_r288 = CPyDict_SetItem(cpy_r_r286, cpy_r_r287, cpy_r_r285); + CPy_DECREF(cpy_r_r285); + cpy_r_r289 = cpy_r_r288 >= 0; + if (unlikely(!cpy_r_r289)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 68, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r290 = CPyStatic_call___globals; + cpy_r_r291 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r292 = CPyDict_GetItem(cpy_r_r290, cpy_r_r291); + if (unlikely(cpy_r_r292 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 70, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r293 = CPyStatics[457]; /* 'convert' */ + cpy_r_r294 = CPyObject_GetAttr(cpy_r_r292, cpy_r_r293); + CPy_DECREF(cpy_r_r292); + if (unlikely(cpy_r_r294 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 70, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r295 = CPyStatics[460]; /* 'normalize' */ + cpy_r_r296 = CPyObject_GetAttr(cpy_r_r294, cpy_r_r295); + CPy_DECREF(cpy_r_r294); + if (unlikely(cpy_r_r296 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 70, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r297 = CPyStatics[463]; /* 'to_bool' */ + cpy_r_r298 = CPyObject_GetAttr(cpy_r_r296, cpy_r_r297); + CPy_DECREF(cpy_r_r296); + if (unlikely(cpy_r_r298 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 70, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___to_bool = cpy_r_r298; + CPy_INCREF(CPyStatic_call___to_bool); + cpy_r_r299 = CPyStatic_call___globals; + cpy_r_r300 = CPyStatics[463]; /* 'to_bool' */ + cpy_r_r301 = CPyDict_SetItem(cpy_r_r299, cpy_r_r300, cpy_r_r298); + CPy_DECREF(cpy_r_r298); + cpy_r_r302 = cpy_r_r301 >= 0; + if (unlikely(!cpy_r_r302)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 70, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r303 = CPyStatic_call___globals; + cpy_r_r304 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r305 = CPyDict_GetItem(cpy_r_r303, cpy_r_r304); + if (unlikely(cpy_r_r305 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 71, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r306 = CPyStatics[457]; /* 'convert' */ + cpy_r_r307 = CPyObject_GetAttr(cpy_r_r305, cpy_r_r306); + CPy_DECREF(cpy_r_r305); + if (unlikely(cpy_r_r307 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 71, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r308 = CPyStatics[460]; /* 'normalize' */ + cpy_r_r309 = CPyObject_GetAttr(cpy_r_r307, cpy_r_r308); + CPy_DECREF(cpy_r_r307); + if (unlikely(cpy_r_r309 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 71, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r310 = CPyStatics[464]; /* 'to_decimal' */ + cpy_r_r311 = CPyObject_GetAttr(cpy_r_r309, cpy_r_r310); + CPy_DECREF(cpy_r_r309); + if (unlikely(cpy_r_r311 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 71, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___to_decimal = cpy_r_r311; + CPy_INCREF(CPyStatic_call___to_decimal); + cpy_r_r312 = CPyStatic_call___globals; + cpy_r_r313 = CPyStatics[464]; /* 'to_decimal' */ + cpy_r_r314 = CPyDict_SetItem(cpy_r_r312, cpy_r_r313, cpy_r_r311); + CPy_DECREF(cpy_r_r311); + cpy_r_r315 = cpy_r_r314 >= 0; + if (unlikely(!cpy_r_r315)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 71, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r316 = CPyStatic_call___globals; + cpy_r_r317 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r318 = CPyDict_GetItem(cpy_r_r316, cpy_r_r317); + if (unlikely(cpy_r_r318 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 72, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r319 = CPyStatics[457]; /* 'convert' */ + cpy_r_r320 = CPyObject_GetAttr(cpy_r_r318, cpy_r_r319); + CPy_DECREF(cpy_r_r318); + if (unlikely(cpy_r_r320 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 72, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r321 = CPyStatics[460]; /* 'normalize' */ + cpy_r_r322 = CPyObject_GetAttr(cpy_r_r320, cpy_r_r321); + CPy_DECREF(cpy_r_r320); + if (unlikely(cpy_r_r322 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 72, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r323 = CPyStatics[465]; /* 'to_int' */ + cpy_r_r324 = CPyObject_GetAttr(cpy_r_r322, cpy_r_r323); + CPy_DECREF(cpy_r_r322); + if (unlikely(cpy_r_r324 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 72, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___to_int = cpy_r_r324; + CPy_INCREF(CPyStatic_call___to_int); + cpy_r_r325 = CPyStatic_call___globals; + cpy_r_r326 = CPyStatics[465]; /* 'to_int' */ + cpy_r_r327 = CPyDict_SetItem(cpy_r_r325, cpy_r_r326, cpy_r_r324); + CPy_DECREF(cpy_r_r324); + cpy_r_r328 = cpy_r_r327 >= 0; + if (unlikely(!cpy_r_r328)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 72, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r329 = CPyStatic_call___globals; + cpy_r_r330 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r331 = CPyDict_GetItem(cpy_r_r329, cpy_r_r330); + if (unlikely(cpy_r_r331 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 73, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r332 = CPyStatics[457]; /* 'convert' */ + cpy_r_r333 = CPyObject_GetAttr(cpy_r_r331, cpy_r_r332); + CPy_DECREF(cpy_r_r331); + if (unlikely(cpy_r_r333 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 73, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r334 = CPyStatics[460]; /* 'normalize' */ + cpy_r_r335 = CPyObject_GetAttr(cpy_r_r333, cpy_r_r334); + CPy_DECREF(cpy_r_r333); + if (unlikely(cpy_r_r335 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 73, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r336 = CPyStatics[466]; /* 'to_string' */ + cpy_r_r337 = CPyObject_GetAttr(cpy_r_r335, cpy_r_r336); + CPy_DECREF(cpy_r_r335); + if (unlikely(cpy_r_r337 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 73, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___to_string = cpy_r_r337; + CPy_INCREF(CPyStatic_call___to_string); + cpy_r_r338 = CPyStatic_call___globals; + cpy_r_r339 = CPyStatics[466]; /* 'to_string' */ + cpy_r_r340 = CPyDict_SetItem(cpy_r_r338, cpy_r_r339, cpy_r_r337); + CPy_DECREF(cpy_r_r337); + cpy_r_r341 = cpy_r_r340 >= 0; + if (unlikely(!cpy_r_r341)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 73, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r342 = CPyStatic_call___globals; + cpy_r_r343 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r344 = CPyDict_GetItem(cpy_r_r342, cpy_r_r343); + if (unlikely(cpy_r_r344 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 74, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r345 = CPyStatics[457]; /* 'convert' */ + cpy_r_r346 = CPyObject_GetAttr(cpy_r_r344, cpy_r_r345); + CPy_DECREF(cpy_r_r344); + if (unlikely(cpy_r_r346 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 74, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r347 = CPyStatics[460]; /* 'normalize' */ + cpy_r_r348 = CPyObject_GetAttr(cpy_r_r346, cpy_r_r347); + CPy_DECREF(cpy_r_r346); + if (unlikely(cpy_r_r348 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 74, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r349 = CPyStatics[467]; /* 'to_uint' */ + cpy_r_r350 = CPyObject_GetAttr(cpy_r_r348, cpy_r_r349); + CPy_DECREF(cpy_r_r348); + if (unlikely(cpy_r_r350 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 74, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___to_uint = cpy_r_r350; + CPy_INCREF(CPyStatic_call___to_uint); + cpy_r_r351 = CPyStatic_call___globals; + cpy_r_r352 = CPyStatics[467]; /* 'to_uint' */ + cpy_r_r353 = CPyDict_SetItem(cpy_r_r351, cpy_r_r352, cpy_r_r350); + CPy_DECREF(cpy_r_r350); + cpy_r_r354 = cpy_r_r353 >= 0; + if (unlikely(!cpy_r_r354)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 74, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r355 = CPyStatic_call___globals; + cpy_r_r356 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r357 = CPyDict_GetItem(cpy_r_r355, cpy_r_r356); + if (unlikely(cpy_r_r357 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 75, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r358 = CPyStatics[457]; /* 'convert' */ + cpy_r_r359 = CPyObject_GetAttr(cpy_r_r357, cpy_r_r358); + CPy_DECREF(cpy_r_r357); + if (unlikely(cpy_r_r359 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 75, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r360 = CPyStatics[460]; /* 'normalize' */ + cpy_r_r361 = CPyObject_GetAttr(cpy_r_r359, cpy_r_r360); + CPy_DECREF(cpy_r_r359); + if (unlikely(cpy_r_r361 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 75, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r362 = CPyStatics[468]; /* '_check_array' */ + cpy_r_r363 = CPyObject_GetAttr(cpy_r_r361, cpy_r_r362); + CPy_DECREF(cpy_r_r361); + if (unlikely(cpy_r_r363 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 75, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call____check_array = cpy_r_r363; + CPy_INCREF(CPyStatic_call____check_array); + cpy_r_r364 = CPyStatic_call___globals; + cpy_r_r365 = CPyStatics[468]; /* '_check_array' */ + cpy_r_r366 = CPyDict_SetItem(cpy_r_r364, cpy_r_r365, cpy_r_r363); + CPy_DECREF(cpy_r_r363); + cpy_r_r367 = cpy_r_r366 >= 0; + if (unlikely(!cpy_r_r367)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 75, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r368 = CPyStatic_call___globals; + cpy_r_r369 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r370 = CPyDict_GetItem(cpy_r_r368, cpy_r_r369); + if (unlikely(cpy_r_r370 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 76, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r371 = CPyStatics[457]; /* 'convert' */ + cpy_r_r372 = CPyObject_GetAttr(cpy_r_r370, cpy_r_r371); + CPy_DECREF(cpy_r_r370); + if (unlikely(cpy_r_r372 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 76, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r373 = CPyStatics[460]; /* 'normalize' */ + cpy_r_r374 = CPyObject_GetAttr(cpy_r_r372, cpy_r_r373); + CPy_DECREF(cpy_r_r372); + if (unlikely(cpy_r_r374 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 76, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r375 = CPyStatics[469]; /* '_get_abi_types' */ + cpy_r_r376 = CPyObject_GetAttr(cpy_r_r374, cpy_r_r375); + CPy_DECREF(cpy_r_r374); + if (unlikely(cpy_r_r376 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 76, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call____get_abi_types = cpy_r_r376; + CPy_INCREF(CPyStatic_call____get_abi_types); + cpy_r_r377 = CPyStatic_call___globals; + cpy_r_r378 = CPyStatics[469]; /* '_get_abi_types' */ + cpy_r_r379 = CPyDict_SetItem(cpy_r_r377, cpy_r_r378, cpy_r_r376); + CPy_DECREF(cpy_r_r376); + cpy_r_r380 = cpy_r_r379 >= 0; + if (unlikely(!cpy_r_r380)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 76, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r381 = CPyStatic_call___globals; + cpy_r_r382 = CPyStatics[59]; /* '__name__' */ + cpy_r_r383 = CPyDict_GetItem(cpy_r_r381, cpy_r_r382); + if (unlikely(cpy_r_r383 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 79, CPyStatic_call___globals); + goto CPyL208; + } + if (likely(PyUnicode_Check(cpy_r_r383))) + cpy_r_r384 = cpy_r_r383; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "", 79, CPyStatic_call___globals, "str", cpy_r_r383); + goto CPyL208; + } + cpy_r_r385 = CPyStatic__logging___getLogger; + if (unlikely(cpy_r_r385 == NULL)) { + goto CPyL217; + } else + goto CPyL128; +CPyL126: ; + PyErr_SetString(PyExc_NameError, "value for final name \"getLogger\" was not set"); + cpy_r_r386 = 0; + if (unlikely(!cpy_r_r386)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 79, CPyStatic_call___globals); + goto CPyL208; + } + CPy_Unreachable(); +CPyL128: ; + PyObject *cpy_r_r387[1] = {cpy_r_r384}; + cpy_r_r388 = (PyObject **)&cpy_r_r387; + cpy_r_r389 = PyObject_Vectorcall(cpy_r_r385, cpy_r_r388, 1, 0); + if (unlikely(cpy_r_r389 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 79, CPyStatic_call___globals); + goto CPyL218; + } + CPy_DECREF(cpy_r_r384); + CPyStatic_call___logger = cpy_r_r389; + CPy_INCREF(CPyStatic_call___logger); + cpy_r_r390 = CPyStatic_call___globals; + cpy_r_r391 = CPyStatics[60]; /* 'logger' */ + cpy_r_r392 = CPyDict_SetItem(cpy_r_r390, cpy_r_r391, cpy_r_r389); + CPy_DECREF(cpy_r_r389); + cpy_r_r393 = cpy_r_r392 >= 0; + if (unlikely(!cpy_r_r393)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 79, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r394 = CPyDef_call_____mypyc_lambda__0_obj(); + if (unlikely(cpy_r_r394 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 82, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___encode = cpy_r_r394; + CPy_INCREF_NO_IMM(CPyStatic_call___encode); + cpy_r_r395 = CPyStatic_call___globals; + cpy_r_r396 = CPyStatics[470]; /* 'encode' */ + cpy_r_r397 = CPyDict_SetItem(cpy_r_r395, cpy_r_r396, cpy_r_r394); + CPy_DECREF_NO_IMM(cpy_r_r394); + cpy_r_r398 = cpy_r_r397 >= 0; + if (unlikely(!cpy_r_r398)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 82, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r399 = CPyDef_call_____mypyc_lambda__1_obj(); + if (unlikely(cpy_r_r399 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 101, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___decode = cpy_r_r399; + CPy_INCREF_NO_IMM(CPyStatic_call___decode); + cpy_r_r400 = CPyStatic_call___globals; + cpy_r_r401 = CPyStatics[471]; /* 'decode' */ + cpy_r_r402 = CPyDict_SetItem(cpy_r_r400, cpy_r_r401, cpy_r_r399); + CPy_DECREF_NO_IMM(cpy_r_r399); + cpy_r_r403 = cpy_r_r402 >= 0; + if (unlikely(!cpy_r_r403)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 101, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r404 = CPyStatic_call___globals; + cpy_r_r405 = CPyStatics[440]; /* 'Address' */ + cpy_r_r406 = CPyDict_GetItem(cpy_r_r404, cpy_r_r405); + if (unlikely(cpy_r_r406 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 122, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r407 = CPyStatics[472]; /* 'checksum' */ + cpy_r_r408 = CPyObject_GetAttr(cpy_r_r406, cpy_r_r407); + CPy_DECREF(cpy_r_r406); + if (unlikely(cpy_r_r408 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 122, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call___to_checksum_address = cpy_r_r408; + CPy_INCREF(CPyStatic_call___to_checksum_address); + cpy_r_r409 = CPyStatic_call___globals; + cpy_r_r410 = CPyStatics[473]; /* 'to_checksum_address' */ + cpy_r_r411 = CPyDict_SetItem(cpy_r_r409, cpy_r_r410, cpy_r_r408); + CPy_DECREF(cpy_r_r408); + cpy_r_r412 = cpy_r_r411 >= 0; + if (unlikely(!cpy_r_r412)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 122, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r413 = CPyStatic_call___globals; + cpy_r_r414 = CPyStatics[367]; /* '_get_coroutine_fn' */ + cpy_r_r415 = CPyDict_GetItem(cpy_r_r413, cpy_r_r414); + if (unlikely(cpy_r_r415 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 140, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r416 = CPyStatic_call___globals; + cpy_r_r417 = CPyStatics[448]; /* 'lru_cache_lite_nonull' */ + cpy_r_r418 = CPyDict_GetItem(cpy_r_r416, cpy_r_r417); + if (unlikely(cpy_r_r418 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 140, CPyStatic_call___globals); + goto CPyL219; + } + PyObject *cpy_r_r419[1] = {cpy_r_r415}; + cpy_r_r420 = (PyObject **)&cpy_r_r419; + cpy_r_r421 = PyObject_Vectorcall(cpy_r_r418, cpy_r_r420, 1, 0); + CPy_DECREF(cpy_r_r418); + if (unlikely(cpy_r_r421 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 140, CPyStatic_call___globals); + goto CPyL219; + } + CPy_DECREF(cpy_r_r415); + cpy_r_r422 = CPyStatic_call___globals; + cpy_r_r423 = CPyStatics[367]; /* '_get_coroutine_fn' */ + cpy_r_r424 = PyDict_SetItem(cpy_r_r422, cpy_r_r423, cpy_r_r421); + CPy_DECREF(cpy_r_r421); + cpy_r_r425 = cpy_r_r424 >= 0; + if (unlikely(!cpy_r_r425)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 140, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r426 = CPyStatic_call___globals; + cpy_r_r427 = CPyStatics[256]; /* 'faster_eth_abi' */ + cpy_r_r428 = CPyDict_GetItem(cpy_r_r426, cpy_r_r427); + if (unlikely(cpy_r_r428 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 252, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r429 = CPyStatics[470]; /* 'encode' */ + cpy_r_r430 = CPyObject_GetAttr(cpy_r_r428, cpy_r_r429); + CPy_DECREF(cpy_r_r428); + if (unlikely(cpy_r_r430 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 252, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call_____eth_abi_encode = cpy_r_r430; + CPy_INCREF(CPyStatic_call_____eth_abi_encode); + cpy_r_r431 = CPyStatic_call___globals; + cpy_r_r432 = CPyStatics[474]; /* '__eth_abi_encode' */ + cpy_r_r433 = CPyDict_SetItem(cpy_r_r431, cpy_r_r432, cpy_r_r430); + CPy_DECREF(cpy_r_r430); + cpy_r_r434 = cpy_r_r433 >= 0; + if (unlikely(!cpy_r_r434)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 252, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r435 = CPyStatic_call___globals; + cpy_r_r436 = CPyStatics[256]; /* 'faster_eth_abi' */ + cpy_r_r437 = CPyDict_GetItem(cpy_r_r435, cpy_r_r436); + if (unlikely(cpy_r_r437 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 254, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r438 = CPyStatics[471]; /* 'decode' */ + cpy_r_r439 = CPyObject_GetAttr(cpy_r_r437, cpy_r_r438); + CPy_DECREF(cpy_r_r437); + if (unlikely(cpy_r_r439 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 254, CPyStatic_call___globals); + goto CPyL208; + } + CPyStatic_call_____eth_abi_decode = cpy_r_r439; + CPy_INCREF(CPyStatic_call_____eth_abi_decode); + cpy_r_r440 = CPyStatic_call___globals; + cpy_r_r441 = CPyStatics[475]; /* '__eth_abi_decode' */ + 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; + if (unlikely(!cpy_r_r443)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 254, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r444 = CPyStatics[476]; /* '0xcA11bde05977b3631167028862bE2a173976CA11' */ + cpy_r_r445 = PySet_New(NULL); + if (unlikely(cpy_r_r445 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 267, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r446 = PySet_Add(cpy_r_r445, cpy_r_r444); + cpy_r_r447 = cpy_r_r446 >= 0; + if (unlikely(!cpy_r_r447)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 267, CPyStatic_call___globals); + goto CPyL220; + } + cpy_r_r448 = CPyStatic_call___globals; + cpy_r_r449 = CPyStatics[365]; /* '_skip_proc_pool' */ + cpy_r_r450 = CPyDict_SetItem(cpy_r_r448, cpy_r_r449, cpy_r_r445); + CPy_DECREF(cpy_r_r445); + cpy_r_r451 = cpy_r_r450 >= 0; + if (unlikely(!cpy_r_r451)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 267, CPyStatic_call___globals); + goto CPyL208; + } +CPyL150: ; + if (!1) goto CPyL168; + cpy_r_r452 = CPyStatic_call___globals; + cpy_r_r453 = CPyStatics[434]; /* 'chain' */ + cpy_r_r454 = CPyDict_GetItem(cpy_r_r452, cpy_r_r453); + if (unlikely(cpy_r_r454 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 271, CPyStatic_call___globals); + goto CPyL154; + } + cpy_r_r455 = CPyStatics[477]; /* 'id' */ + cpy_r_r456 = CPyObject_GetAttr(cpy_r_r454, cpy_r_r455); + CPy_DECREF(cpy_r_r454); + if (unlikely(cpy_r_r456 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 271, CPyStatic_call___globals); + goto CPyL154; + } + cpy_r_r457 = CPyStatic_call___globals; + cpy_r_r458 = CPyStatics[478]; /* 'chainid' */ + cpy_r_r459 = CPyDict_SetItem(cpy_r_r457, cpy_r_r458, cpy_r_r456); + CPy_DECREF(cpy_r_r456); + cpy_r_r460 = cpy_r_r459 >= 0; + if (unlikely(!cpy_r_r460)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 271, CPyStatic_call___globals); + } else + goto CPyL168; +CPyL154: ; + cpy_r_r461 = CPy_CatchError(); + cpy_r_r462 = CPyModule_builtins; + cpy_r_r463 = CPyStatics[16]; /* 'Exception' */ + cpy_r_r464 = CPyObject_GetAttr(cpy_r_r462, cpy_r_r463); + if (unlikely(cpy_r_r464 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 273, CPyStatic_call___globals); + goto CPyL166; + } + cpy_r_r465 = CPy_ExceptionMatches(cpy_r_r464); + CPy_DecRef(cpy_r_r464); + if (!cpy_r_r465) goto CPyL163; + cpy_r_r466 = CPyStatic_call___globals; + cpy_r_r467 = CPyStatics[479]; /* 'e' */ + cpy_r_r468 = CPy_GetExcValue(); + cpy_r_r469 = CPyDict_SetItem(cpy_r_r466, cpy_r_r467, cpy_r_r468); + CPy_DecRef(cpy_r_r468); + cpy_r_r470 = cpy_r_r469 >= 0; + if (unlikely(!cpy_r_r470)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 273, CPyStatic_call___globals); + goto CPyL166; + } + cpy_r_r471 = CPyStatics[480]; /* '429' */ + cpy_r_r472 = CPyStatic_call___globals; + cpy_r_r473 = CPyStatics[479]; /* 'e' */ + cpy_r_r474 = CPyDict_GetItem(cpy_r_r472, cpy_r_r473); + if (unlikely(cpy_r_r474 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 274, CPyStatic_call___globals); + goto CPyL166; + } + cpy_r_r475 = PyObject_Str(cpy_r_r474); + CPy_DecRef(cpy_r_r474); + if (unlikely(cpy_r_r475 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 274, CPyStatic_call___globals); + goto CPyL166; + } + cpy_r_r476 = PyUnicode_Contains(cpy_r_r475, cpy_r_r471); + CPy_DecRef(cpy_r_r475); + cpy_r_r477 = cpy_r_r476 >= 0; + if (unlikely(!cpy_r_r477)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 274, CPyStatic_call___globals); + goto CPyL166; + } + cpy_r_r478 = cpy_r_r476; + cpy_r_r479 = cpy_r_r478 ^ 1; + if (!cpy_r_r479) goto CPyL165; + CPy_Reraise(); + if (!0) { + goto CPyL166; + } else + goto CPyL221; +CPyL162: ; + CPy_Unreachable(); +CPyL163: ; + CPy_Reraise(); + if (!0) { + goto CPyL166; + } else + goto CPyL222; +CPyL164: ; + CPy_Unreachable(); +CPyL165: ; + CPy_RestoreExcInfo(cpy_r_r461); + CPy_DecRef(cpy_r_r461.f0); + CPy_DecRef(cpy_r_r461.f1); + CPy_DecRef(cpy_r_r461.f2); + goto CPyL150; +CPyL166: ; + CPy_RestoreExcInfo(cpy_r_r461); + CPy_DecRef(cpy_r_r461.f0); + CPy_DecRef(cpy_r_r461.f1); + CPy_DecRef(cpy_r_r461.f2); + cpy_r_r480 = CPy_KeepPropagating(); + if (!cpy_r_r480) goto CPyL208; + CPy_Unreachable(); +CPyL168: ; + cpy_r_r481 = CPyStatic_call___globals; + cpy_r_r482 = CPyStatics[444]; /* 'MULTICALL2_ADDRESSES' */ + cpy_r_r483 = CPyDict_GetItem(cpy_r_r481, cpy_r_r482); + if (unlikely(cpy_r_r483 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 276, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r484 = CPyStatic_call___globals; + cpy_r_r485 = CPyStatics[478]; /* 'chainid' */ + cpy_r_r486 = CPyDict_GetItem(cpy_r_r484, cpy_r_r485); + if (unlikely(cpy_r_r486 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 276, CPyStatic_call___globals); + goto CPyL223; + } + cpy_r_r487 = CPyStatics[279]; /* 'get' */ + cpy_r_r488 = Py_None; + PyObject *cpy_r_r489[3] = {cpy_r_r483, cpy_r_r486, cpy_r_r488}; + cpy_r_r490 = (PyObject **)&cpy_r_r489; + cpy_r_r491 = PyObject_VectorcallMethod(cpy_r_r487, cpy_r_r490, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r491 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 276, CPyStatic_call___globals); + goto CPyL224; + } + CPy_DECREF(cpy_r_r483); + CPy_DECREF(cpy_r_r486); + cpy_r_r492 = CPyStatic_call___globals; + cpy_r_r493 = CPyStatics[481]; /* 'multicall2' */ + cpy_r_r494 = CPyDict_SetItem(cpy_r_r492, cpy_r_r493, cpy_r_r491); + cpy_r_r495 = cpy_r_r494 >= 0; + if (unlikely(!cpy_r_r495)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 276, CPyStatic_call___globals); + goto CPyL225; + } + cpy_r_r496 = PyObject_IsTrue(cpy_r_r491); + CPy_DECREF(cpy_r_r491); + cpy_r_r497 = cpy_r_r496 >= 0; + if (unlikely(!cpy_r_r497)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 276, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r498 = cpy_r_r496; + if (!cpy_r_r498) goto CPyL182; + cpy_r_r499 = CPyStatic_call___globals; + cpy_r_r500 = CPyStatics[365]; /* '_skip_proc_pool' */ + cpy_r_r501 = CPyDict_GetItem(cpy_r_r499, cpy_r_r500); + if (unlikely(cpy_r_r501 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 277, CPyStatic_call___globals); + goto CPyL208; + } + if (likely(PySet_Check(cpy_r_r501))) + cpy_r_r502 = cpy_r_r501; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\call.py", "", 277, CPyStatic_call___globals, "set", cpy_r_r501); + goto CPyL208; + } + cpy_r_r503 = CPyStatic_call___globals; + cpy_r_r504 = CPyStatics[481]; /* 'multicall2' */ + cpy_r_r505 = CPyDict_GetItem(cpy_r_r503, cpy_r_r504); + if (unlikely(cpy_r_r505 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 277, CPyStatic_call___globals); + goto CPyL226; + } + cpy_r_r506 = CPyStatic_call___to_checksum_address; + if (unlikely(cpy_r_r506 == NULL)) { + goto CPyL227; + } else + goto CPyL180; +CPyL178: ; + PyErr_SetString(PyExc_NameError, "value for final name \"to_checksum_address\" was not set"); + cpy_r_r507 = 0; + if (unlikely(!cpy_r_r507)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 277, CPyStatic_call___globals); + goto CPyL208; + } + CPy_Unreachable(); +CPyL180: ; + PyObject *cpy_r_r508[1] = {cpy_r_r505}; + cpy_r_r509 = (PyObject **)&cpy_r_r508; + cpy_r_r510 = PyObject_Vectorcall(cpy_r_r506, cpy_r_r509, 1, 0); + if (unlikely(cpy_r_r510 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 277, CPyStatic_call___globals); + goto CPyL228; + } + CPy_DECREF(cpy_r_r505); + cpy_r_r511 = PySet_Add(cpy_r_r502, cpy_r_r510); + CPy_DECREF(cpy_r_r502); + CPy_DECREF(cpy_r_r510); + cpy_r_r512 = cpy_r_r511 >= 0; + if (unlikely(!cpy_r_r512)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 277, CPyStatic_call___globals); + goto CPyL208; + } +CPyL182: ; + cpy_r_r513 = CPyStatic_call___globals; + cpy_r_r514 = CPyStatics[482]; /* 'format_input_but_cache_checksums' */ + cpy_r_r515 = CPyDict_GetItem(cpy_r_r513, cpy_r_r514); + if (unlikely(cpy_r_r515 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 340, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r516 = CPyStatic_call___globals; + cpy_r_r517 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r518 = CPyDict_GetItem(cpy_r_r516, cpy_r_r517); + if (unlikely(cpy_r_r518 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 340, CPyStatic_call___globals); + goto CPyL229; + } + cpy_r_r519 = CPyStatics[323]; /* 'network' */ + cpy_r_r520 = CPyObject_GetAttr(cpy_r_r518, cpy_r_r519); + CPy_DECREF(cpy_r_r518); + if (unlikely(cpy_r_r520 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 340, CPyStatic_call___globals); + goto CPyL229; + } + cpy_r_r521 = CPyStatics[380]; /* 'contract' */ + cpy_r_r522 = CPyObject_GetAttr(cpy_r_r520, cpy_r_r521); + CPy_DECREF(cpy_r_r520); + if (unlikely(cpy_r_r522 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 340, CPyStatic_call___globals); + goto CPyL229; + } + cpy_r_r523 = CPyStatics[483]; /* 'format_input' */ + cpy_r_r524 = PyObject_SetAttr(cpy_r_r522, cpy_r_r523, cpy_r_r515); + CPy_DECREF(cpy_r_r522); + CPy_DECREF(cpy_r_r515); + cpy_r_r525 = cpy_r_r524 >= 0; + if (unlikely(!cpy_r_r525)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 340, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r526 = CPyStatic_call___globals; + cpy_r_r527 = CPyStatics[484]; /* 'format_output_but_cache_checksums' */ + cpy_r_r528 = CPyDict_GetItem(cpy_r_r526, cpy_r_r527); + if (unlikely(cpy_r_r528 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 341, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r529 = CPyStatic_call___globals; + cpy_r_r530 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r531 = CPyDict_GetItem(cpy_r_r529, cpy_r_r530); + if (unlikely(cpy_r_r531 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 341, CPyStatic_call___globals); + goto CPyL230; + } + cpy_r_r532 = CPyStatics[323]; /* 'network' */ + cpy_r_r533 = CPyObject_GetAttr(cpy_r_r531, cpy_r_r532); + CPy_DECREF(cpy_r_r531); + if (unlikely(cpy_r_r533 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 341, CPyStatic_call___globals); + goto CPyL230; + } + cpy_r_r534 = CPyStatics[380]; /* 'contract' */ + cpy_r_r535 = CPyObject_GetAttr(cpy_r_r533, cpy_r_r534); + CPy_DECREF(cpy_r_r533); + if (unlikely(cpy_r_r535 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 341, CPyStatic_call___globals); + goto CPyL230; + } + cpy_r_r536 = CPyStatics[485]; /* 'format_output' */ + cpy_r_r537 = PyObject_SetAttr(cpy_r_r535, cpy_r_r536, cpy_r_r528); + CPy_DECREF(cpy_r_r535); + CPy_DECREF(cpy_r_r528); + cpy_r_r538 = cpy_r_r537 >= 0; + if (unlikely(!cpy_r_r538)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 341, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r539 = CPyStatic_call___globals; + cpy_r_r540 = CPyStatics[486]; /* '_format_array_but_cache_checksums' */ + cpy_r_r541 = CPyDict_GetItem(cpy_r_r539, cpy_r_r540); + if (unlikely(cpy_r_r541 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 398, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r542 = CPyStatic_call___globals; + cpy_r_r543 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r544 = CPyDict_GetItem(cpy_r_r542, cpy_r_r543); + if (unlikely(cpy_r_r544 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 398, CPyStatic_call___globals); + goto CPyL231; + } + cpy_r_r545 = CPyStatics[457]; /* 'convert' */ + cpy_r_r546 = CPyObject_GetAttr(cpy_r_r544, cpy_r_r545); + CPy_DECREF(cpy_r_r544); + if (unlikely(cpy_r_r546 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 398, CPyStatic_call___globals); + goto CPyL231; + } + cpy_r_r547 = CPyStatics[460]; /* 'normalize' */ + cpy_r_r548 = CPyObject_GetAttr(cpy_r_r546, cpy_r_r547); + CPy_DECREF(cpy_r_r546); + if (unlikely(cpy_r_r548 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 398, CPyStatic_call___globals); + goto CPyL231; + } + cpy_r_r549 = CPyStatics[487]; /* '_format_array' */ + cpy_r_r550 = PyObject_SetAttr(cpy_r_r548, cpy_r_r549, cpy_r_r541); + CPy_DECREF(cpy_r_r548); + CPy_DECREF(cpy_r_r541); + cpy_r_r551 = cpy_r_r550 >= 0; + if (unlikely(!cpy_r_r551)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 398, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r552 = CPyStatic_call___globals; + cpy_r_r553 = CPyStatics[488]; /* '_format_single_but_cache_checksums' */ + cpy_r_r554 = CPyDict_GetItem(cpy_r_r552, cpy_r_r553); + if (unlikely(cpy_r_r554 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 399, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r555 = CPyStatic_call___globals; + cpy_r_r556 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r557 = CPyDict_GetItem(cpy_r_r555, cpy_r_r556); + if (unlikely(cpy_r_r557 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 399, CPyStatic_call___globals); + goto CPyL232; + } + cpy_r_r558 = CPyStatics[457]; /* 'convert' */ + cpy_r_r559 = CPyObject_GetAttr(cpy_r_r557, cpy_r_r558); + CPy_DECREF(cpy_r_r557); + if (unlikely(cpy_r_r559 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 399, CPyStatic_call___globals); + goto CPyL232; + } + cpy_r_r560 = CPyStatics[460]; /* 'normalize' */ + cpy_r_r561 = CPyObject_GetAttr(cpy_r_r559, cpy_r_r560); + CPy_DECREF(cpy_r_r559); + if (unlikely(cpy_r_r561 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 399, CPyStatic_call___globals); + goto CPyL232; + } + cpy_r_r562 = CPyStatics[489]; /* '_format_single' */ + cpy_r_r563 = PyObject_SetAttr(cpy_r_r561, cpy_r_r562, cpy_r_r554); + CPy_DECREF(cpy_r_r561); + CPy_DECREF(cpy_r_r554); + cpy_r_r564 = cpy_r_r563 >= 0; + if (unlikely(!cpy_r_r564)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 399, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r565 = CPyStatic_call___globals; + cpy_r_r566 = CPyStatics[490]; /* '_format_tuple_but_cache_checksums' */ + cpy_r_r567 = CPyDict_GetItem(cpy_r_r565, cpy_r_r566); + if (unlikely(cpy_r_r567 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 400, CPyStatic_call___globals); + goto CPyL208; + } + cpy_r_r568 = CPyStatic_call___globals; + cpy_r_r569 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r570 = CPyDict_GetItem(cpy_r_r568, cpy_r_r569); + if (unlikely(cpy_r_r570 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 400, CPyStatic_call___globals); + goto CPyL233; + } + cpy_r_r571 = CPyStatics[457]; /* 'convert' */ + cpy_r_r572 = CPyObject_GetAttr(cpy_r_r570, cpy_r_r571); + CPy_DECREF(cpy_r_r570); + if (unlikely(cpy_r_r572 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 400, CPyStatic_call___globals); + goto CPyL233; + } + cpy_r_r573 = CPyStatics[460]; /* 'normalize' */ + cpy_r_r574 = CPyObject_GetAttr(cpy_r_r572, cpy_r_r573); + CPy_DECREF(cpy_r_r572); + if (unlikely(cpy_r_r574 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 400, CPyStatic_call___globals); + goto CPyL233; + } + cpy_r_r575 = CPyStatics[491]; /* '_format_tuple' */ + cpy_r_r576 = PyObject_SetAttr(cpy_r_r574, cpy_r_r575, cpy_r_r567); + CPy_DECREF(cpy_r_r574); + CPy_DECREF(cpy_r_r567); + cpy_r_r577 = cpy_r_r576 >= 0; + if (unlikely(!cpy_r_r577)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "", 400, CPyStatic_call___globals); + goto CPyL208; + } + return 1; +CPyL208: ; + cpy_r_r578 = 2; + return cpy_r_r578; +CPyL209: ; + CPy_DecRef(cpy_r_r125); + goto CPyL208; +CPyL210: ; + CPy_DecRef(cpy_r_r156); + goto CPyL208; +CPyL211: ; + CPy_DecRef(cpy_r_r167); + goto CPyL208; +CPyL212: ; + CPy_DecRef(cpy_r_r167); + CPy_DecRef(cpy_r_r170); + goto CPyL208; +CPyL213: ; + CPy_DecRef(cpy_r_r167); + CPy_DecRef(cpy_r_r174); + goto CPyL208; +CPyL214: ; + CPy_DecRef(cpy_r_r167); + CPy_DecRef(cpy_r_r174); + CPy_DecRef(cpy_r_r177); + goto CPyL208; +CPyL215: ; + CPy_DecRef(cpy_r_r195); + goto CPyL208; +CPyL216: ; + CPy_DecRef(cpy_r_r202); + goto CPyL208; +CPyL217: ; + CPy_DecRef(cpy_r_r384); + goto CPyL126; +CPyL218: ; + CPy_DecRef(cpy_r_r384); + goto CPyL208; +CPyL219: ; + CPy_DecRef(cpy_r_r415); + goto CPyL208; +CPyL220: ; + CPy_DecRef(cpy_r_r445); + goto CPyL208; +CPyL221: ; + CPy_DecRef(cpy_r_r461.f0); + CPy_DecRef(cpy_r_r461.f1); + CPy_DecRef(cpy_r_r461.f2); + goto CPyL162; +CPyL222: ; + CPy_DecRef(cpy_r_r461.f0); + CPy_DecRef(cpy_r_r461.f1); + CPy_DecRef(cpy_r_r461.f2); + goto CPyL164; +CPyL223: ; + CPy_DecRef(cpy_r_r483); + goto CPyL208; +CPyL224: ; + CPy_DecRef(cpy_r_r483); + CPy_DecRef(cpy_r_r486); + goto CPyL208; +CPyL225: ; + CPy_DecRef(cpy_r_r491); + goto CPyL208; +CPyL226: ; + CPy_DecRef(cpy_r_r502); + goto CPyL208; +CPyL227: ; + CPy_DecRef(cpy_r_r502); + CPy_DecRef(cpy_r_r505); + goto CPyL178; +CPyL228: ; + CPy_DecRef(cpy_r_r502); + CPy_DecRef(cpy_r_r505); + goto CPyL208; +CPyL229: ; + CPy_DecRef(cpy_r_r515); + goto CPyL208; +CPyL230: ; + CPy_DecRef(cpy_r_r528); + goto CPyL208; +CPyL231: ; + CPy_DecRef(cpy_r_r541); + goto CPyL208; +CPyL232: ; + CPy_DecRef(cpy_r_r554); + goto CPyL208; +CPyL233: ; + CPy_DecRef(cpy_r_r567); + goto CPyL208; +} + +PyObject *CPyDef_overloaded_____mypyc___3_patch_overloaded_method_env_setup(PyObject *cpy_r_type); +PyObject *CPyDef_overloaded____patch_overloaded_method_env(void); + +static PyObject * +overloaded____patch_overloaded_method_env_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_overloaded____patch_overloaded_method_env) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_overloaded_____mypyc___3_patch_overloaded_method_env_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +overloaded____patch_overloaded_method_env_traverse(dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_self__); + Py_VISIT(self->_call); + Py_VISIT(self->_coroutine); + Py_VISIT(self->_w3); + return 0; +} + +static int +overloaded____patch_overloaded_method_env_clear(dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *self) +{ + Py_CLEAR(self->___mypyc_self__); + Py_CLEAR(self->_call); + Py_CLEAR(self->_coroutine); + Py_CLEAR(self->_w3); + return 0; +} + +static void +overloaded____patch_overloaded_method_env_dealloc(dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *self) +{ + PyObject_GC_UnTrack(self); + if (overloaded____patch_overloaded_method_env_free_instance == NULL) { + overloaded____patch_overloaded_method_env_free_instance = self; + Py_CLEAR(self->___mypyc_self__); + Py_CLEAR(self->_call); + Py_CLEAR(self->_coroutine); + Py_CLEAR(self->_w3); + return; + } + CPy_TRASHCAN_BEGIN(self, overloaded____patch_overloaded_method_env_dealloc) + overloaded____patch_overloaded_method_env_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem overloaded____patch_overloaded_method_env_vtable[1]; +static bool +CPyDef_overloaded____patch_overloaded_method_env_trait_vtable_setup(void) +{ + CPyVTableItem overloaded____patch_overloaded_method_env_vtable_scratch[] = { + NULL + }; + memcpy(overloaded____patch_overloaded_method_env_vtable, overloaded____patch_overloaded_method_env_vtable_scratch, sizeof(overloaded____patch_overloaded_method_env_vtable)); + return 1; +} + +static PyMethodDef overloaded____patch_overloaded_method_env_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_overloaded____patch_overloaded_method_env_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "_patch_overloaded_method_env", + .tp_new = overloaded____patch_overloaded_method_env_new, + .tp_dealloc = (destructor)overloaded____patch_overloaded_method_env_dealloc, + .tp_traverse = (traverseproc)overloaded____patch_overloaded_method_env_traverse, + .tp_clear = (inquiry)overloaded____patch_overloaded_method_env_clear, + .tp_methods = overloaded____patch_overloaded_method_env_methods, + .tp_basicsize = sizeof(dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("_patch_overloaded_method_env()\n--\n\n"), +}; +static PyTypeObject *CPyType_overloaded____patch_overloaded_method_env_template = &CPyType_overloaded____patch_overloaded_method_env_template_; + +PyObject *CPyDef_overloaded_____mypyc___3_patch_overloaded_method_env_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *self; + if (overloaded____patch_overloaded_method_env_free_instance != NULL) { + self = overloaded____patch_overloaded_method_env_free_instance; + overloaded____patch_overloaded_method_env_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = overloaded____patch_overloaded_method_env_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef_overloaded____patch_overloaded_method_env(void) +{ + PyObject *self = CPyDef_overloaded_____mypyc___3_patch_overloaded_method_env_setup((PyObject *)CPyType_overloaded____patch_overloaded_method_env); + if (self == NULL) + return NULL; + return self; +} + + +PyObject *CPyDef_overloaded_____mypyc__coroutine__patch_overloaded_method_env_setup(PyObject *cpy_r_type); +PyObject *CPyDef_overloaded___coroutine__patch_overloaded_method_env(void); + +static PyObject * +overloaded___coroutine__patch_overloaded_method_env_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_overloaded___coroutine__patch_overloaded_method_env) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_overloaded_____mypyc__coroutine__patch_overloaded_method_env_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +overloaded___coroutine__patch_overloaded_method_env_traverse(dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_self__); + Py_VISIT(self->___mypyc_env__); + Py_VISIT(self->___mypyc_generator_attribute__self); + Py_VISIT(self->___mypyc_generator_attribute__args); + Py_VISIT(self->___mypyc_generator_attribute__block_identifier); + Py_VISIT(self->___mypyc_generator_attribute__decimals); + Py_VISIT(self->___mypyc_generator_attribute__override); + Py_VISIT(self->_type); + Py_VISIT(self->_value); + Py_VISIT(self->_traceback); + Py_VISIT(self->_arg); + Py_VISIT(self->___mypyc_generator_attribute__fn); + Py_VISIT(self->___mypyc_temp__0.f0); + Py_VISIT(self->___mypyc_temp__0.f1); + Py_VISIT(self->___mypyc_temp__0.f2); + Py_VISIT(self->___mypyc_generator_attribute__e); + Py_VISIT(self->___mypyc_generator_attribute__exc_str); + Py_VISIT(self->___mypyc_generator_attribute__match_on.f0); + Py_VISIT(self->___mypyc_generator_attribute__match_on.f1); + Py_VISIT(self->___mypyc_temp__1.f0); + Py_VISIT(self->___mypyc_temp__1.f1); + Py_VISIT(self->___mypyc_temp__2); + Py_VISIT(self->___mypyc_generator_attribute__s); + if (CPyTagged_CheckLong(self->___mypyc_generator_attribute__breakpoint)) { + Py_VISIT(CPyTagged_LongAsObject(self->___mypyc_generator_attribute__breakpoint)); + } + Py_VISIT(self->___mypyc_generator_attribute__kwargs); + Py_VISIT(self->___mypyc_temp__3); + Py_VISIT(self->___mypyc_temp__4); + Py_VISIT(self->___mypyc_temp__7); + Py_VISIT(self->___mypyc_generator_attribute__k); + Py_VISIT(self->___mypyc_generator_attribute__v); + Py_VISIT(self->___mypyc_temp__8); + Py_VISIT(self->___mypyc_temp__9.f0); + Py_VISIT(self->___mypyc_temp__9.f1); + Py_VISIT(self->___mypyc_temp__9.f2); + return 0; +} + +static int +overloaded___coroutine__patch_overloaded_method_env_clear(dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *self) +{ + Py_CLEAR(self->___mypyc_self__); + Py_CLEAR(self->___mypyc_env__); + Py_CLEAR(self->___mypyc_generator_attribute__self); + Py_CLEAR(self->___mypyc_generator_attribute__args); + Py_CLEAR(self->___mypyc_generator_attribute__block_identifier); + Py_CLEAR(self->___mypyc_generator_attribute__decimals); + Py_CLEAR(self->___mypyc_generator_attribute__override); + Py_CLEAR(self->_type); + Py_CLEAR(self->_value); + Py_CLEAR(self->_traceback); + Py_CLEAR(self->_arg); + Py_CLEAR(self->___mypyc_generator_attribute__fn); + Py_CLEAR(self->___mypyc_temp__0.f0); + Py_CLEAR(self->___mypyc_temp__0.f1); + Py_CLEAR(self->___mypyc_temp__0.f2); + Py_CLEAR(self->___mypyc_generator_attribute__e); + Py_CLEAR(self->___mypyc_generator_attribute__exc_str); + Py_CLEAR(self->___mypyc_generator_attribute__match_on.f0); + Py_CLEAR(self->___mypyc_generator_attribute__match_on.f1); + Py_CLEAR(self->___mypyc_temp__1.f0); + Py_CLEAR(self->___mypyc_temp__1.f1); + Py_CLEAR(self->___mypyc_temp__2); + Py_CLEAR(self->___mypyc_generator_attribute__s); + if (CPyTagged_CheckLong(self->___mypyc_generator_attribute__breakpoint)) { + CPyTagged __tmp = self->___mypyc_generator_attribute__breakpoint; + self->___mypyc_generator_attribute__breakpoint = CPY_INT_TAG; + Py_XDECREF(CPyTagged_LongAsObject(__tmp)); + } + Py_CLEAR(self->___mypyc_generator_attribute__kwargs); + Py_CLEAR(self->___mypyc_temp__3); + Py_CLEAR(self->___mypyc_temp__4); + Py_CLEAR(self->___mypyc_temp__7); + Py_CLEAR(self->___mypyc_generator_attribute__k); + Py_CLEAR(self->___mypyc_generator_attribute__v); + Py_CLEAR(self->___mypyc_temp__8); + Py_CLEAR(self->___mypyc_temp__9.f0); + Py_CLEAR(self->___mypyc_temp__9.f1); + Py_CLEAR(self->___mypyc_temp__9.f2); + return 0; +} + +static void +overloaded___coroutine__patch_overloaded_method_env_dealloc(dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *self) +{ + PyObject_GC_UnTrack(self); + if (overloaded___coroutine__patch_overloaded_method_env_free_instance == NULL) { + overloaded___coroutine__patch_overloaded_method_env_free_instance = self; + Py_CLEAR(self->___mypyc_self__); + Py_CLEAR(self->___mypyc_env__); + Py_CLEAR(self->___mypyc_generator_attribute__self); + Py_CLEAR(self->___mypyc_generator_attribute__args); + Py_CLEAR(self->___mypyc_generator_attribute__block_identifier); + Py_CLEAR(self->___mypyc_generator_attribute__decimals); + Py_CLEAR(self->___mypyc_generator_attribute__override); + Py_CLEAR(self->_type); + Py_CLEAR(self->_value); + Py_CLEAR(self->_traceback); + Py_CLEAR(self->_arg); + self->_stop_iter_ptr = NULL; + self->___mypyc_next_label__ = -113; + Py_CLEAR(self->___mypyc_generator_attribute__fn); + Py_CLEAR(self->___mypyc_temp__0.f0); + Py_CLEAR(self->___mypyc_temp__0.f1); + Py_CLEAR(self->___mypyc_temp__0.f2); + Py_CLEAR(self->___mypyc_generator_attribute__e); + Py_CLEAR(self->___mypyc_generator_attribute__exc_str); + Py_CLEAR(self->___mypyc_generator_attribute__match_on.f0); + Py_CLEAR(self->___mypyc_generator_attribute__match_on.f1); + Py_CLEAR(self->___mypyc_temp__1.f0); + Py_CLEAR(self->___mypyc_temp__1.f1); + Py_CLEAR(self->___mypyc_temp__2); + Py_CLEAR(self->___mypyc_generator_attribute__s); + if (CPyTagged_CheckLong(self->___mypyc_generator_attribute__breakpoint)) { + CPyTagged __tmp = self->___mypyc_generator_attribute__breakpoint; + self->___mypyc_generator_attribute__breakpoint = CPY_INT_TAG; + Py_XDECREF(CPyTagged_LongAsObject(__tmp)); + } else { + self->___mypyc_generator_attribute__breakpoint = CPY_INT_TAG; + } + Py_CLEAR(self->___mypyc_generator_attribute__kwargs); + Py_CLEAR(self->___mypyc_temp__3); + Py_CLEAR(self->___mypyc_temp__4); + self->___mypyc_temp__5 = CPY_INT_TAG; + self->___mypyc_temp__6 = -113; + Py_CLEAR(self->___mypyc_temp__7); + Py_CLEAR(self->___mypyc_generator_attribute__k); + Py_CLEAR(self->___mypyc_generator_attribute__v); + Py_CLEAR(self->___mypyc_temp__8); + Py_CLEAR(self->___mypyc_temp__9.f0); + Py_CLEAR(self->___mypyc_temp__9.f1); + Py_CLEAR(self->___mypyc_temp__9.f2); + return; + } + CPy_TRASHCAN_BEGIN(self, overloaded___coroutine__patch_overloaded_method_env_dealloc) + overloaded___coroutine__patch_overloaded_method_env_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem overloaded___coroutine__patch_overloaded_method_env_vtable[1]; +static bool +CPyDef_overloaded___coroutine__patch_overloaded_method_env_trait_vtable_setup(void) +{ + CPyVTableItem overloaded___coroutine__patch_overloaded_method_env_vtable_scratch[] = { + NULL + }; + memcpy(overloaded___coroutine__patch_overloaded_method_env_vtable, overloaded___coroutine__patch_overloaded_method_env_vtable_scratch, sizeof(overloaded___coroutine__patch_overloaded_method_env_vtable)); + return 1; +} + +static PyMethodDef overloaded___coroutine__patch_overloaded_method_env_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_overloaded___coroutine__patch_overloaded_method_env_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "coroutine__patch_overloaded_method_env", + .tp_new = overloaded___coroutine__patch_overloaded_method_env_new, + .tp_dealloc = (destructor)overloaded___coroutine__patch_overloaded_method_env_dealloc, + .tp_traverse = (traverseproc)overloaded___coroutine__patch_overloaded_method_env_traverse, + .tp_clear = (inquiry)overloaded___coroutine__patch_overloaded_method_env_clear, + .tp_methods = overloaded___coroutine__patch_overloaded_method_env_methods, + .tp_basicsize = sizeof(dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("coroutine__patch_overloaded_method_env()\n--\n\n"), +}; +static PyTypeObject *CPyType_overloaded___coroutine__patch_overloaded_method_env_template = &CPyType_overloaded___coroutine__patch_overloaded_method_env_template_; + +PyObject *CPyDef_overloaded_____mypyc__coroutine__patch_overloaded_method_env_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *self; + if (overloaded___coroutine__patch_overloaded_method_env_free_instance != NULL) { + self = overloaded___coroutine__patch_overloaded_method_env_free_instance; + overloaded___coroutine__patch_overloaded_method_env_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = overloaded___coroutine__patch_overloaded_method_env_vtable; + self->___mypyc_next_label__ = -113; + self->___mypyc_temp__0 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_generator_attribute__match_on = (tuple_T2OO) { NULL, NULL }; + self->___mypyc_temp__1 = (tuple_T2OO) { NULL, NULL }; + self->___mypyc_generator_attribute__breakpoint = CPY_INT_TAG; + self->___mypyc_temp__5 = CPY_INT_TAG; + self->___mypyc_temp__6 = -113; + self->___mypyc_temp__9 = (tuple_T3OOO) { NULL, NULL, NULL }; + return (PyObject *)self; +} + +PyObject *CPyDef_overloaded___coroutine__patch_overloaded_method_env(void) +{ + PyObject *self = CPyDef_overloaded_____mypyc__coroutine__patch_overloaded_method_env_setup((PyObject *)CPyType_overloaded___coroutine__patch_overloaded_method_env); + if (self == NULL) + return NULL; + return self; +} + + +static PyObject *CPyDunder___get__overloaded___coroutine__patch_overloaded_method_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef_overloaded___coroutine__patch_overloaded_method_obj_____get__(self, instance, owner); +} +PyObject *CPyDef_overloaded_____mypyc__coroutine__patch_overloaded_method_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef_overloaded___coroutine__patch_overloaded_method_obj(void); + +static PyObject * +overloaded___coroutine__patch_overloaded_method_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_overloaded___coroutine__patch_overloaded_method_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_overloaded_____mypyc__coroutine__patch_overloaded_method_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +overloaded___coroutine__patch_overloaded_method_obj_traverse(dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_env__); + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +overloaded___coroutine__patch_overloaded_method_obj_clear(dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *self) +{ + Py_CLEAR(self->___mypyc_env__); + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +overloaded___coroutine__patch_overloaded_method_obj_dealloc(dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (overloaded___coroutine__patch_overloaded_method_obj_free_instance == NULL) { + overloaded___coroutine__patch_overloaded_method_obj_free_instance = self; + Py_CLEAR(self->___mypyc_env__); + return; + } + CPy_TRASHCAN_BEGIN(self, overloaded___coroutine__patch_overloaded_method_obj_dealloc) + overloaded___coroutine__patch_overloaded_method_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem overloaded___coroutine__patch_overloaded_method_obj_vtable[2]; +static bool +CPyDef_overloaded___coroutine__patch_overloaded_method_obj_trait_vtable_setup(void) +{ + CPyVTableItem overloaded___coroutine__patch_overloaded_method_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef_overloaded___coroutine__patch_overloaded_method_obj_____call__, + (CPyVTableItem)CPyDef_overloaded___coroutine__patch_overloaded_method_obj_____get__, + }; + memcpy(overloaded___coroutine__patch_overloaded_method_obj_vtable, overloaded___coroutine__patch_overloaded_method_obj_vtable_scratch, sizeof(overloaded___coroutine__patch_overloaded_method_obj_vtable)); + return 1; +} + +static PyObject * +overloaded___coroutine__patch_overloaded_method_obj_get___3_mypyc_env__(dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *self, void *closure); +static int +overloaded___coroutine__patch_overloaded_method_obj_set___3_mypyc_env__(dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *self, PyObject *value, void *closure); + +static PyGetSetDef overloaded___coroutine__patch_overloaded_method_obj_getseters[] = { + {"__mypyc_env__", + (getter)overloaded___coroutine__patch_overloaded_method_obj_get___3_mypyc_env__, (setter)overloaded___coroutine__patch_overloaded_method_obj_set___3_mypyc_env__, + NULL, NULL}, + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef overloaded___coroutine__patch_overloaded_method_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy_overloaded___coroutine__patch_overloaded_method_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__($self, *args, block_identifier=None, decimals=None, override=None)\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy_overloaded___coroutine__patch_overloaded_method_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_overloaded___coroutine__patch_overloaded_method_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "coroutine__patch_overloaded_method_obj", + .tp_new = overloaded___coroutine__patch_overloaded_method_obj_new, + .tp_dealloc = (destructor)overloaded___coroutine__patch_overloaded_method_obj_dealloc, + .tp_traverse = (traverseproc)overloaded___coroutine__patch_overloaded_method_obj_traverse, + .tp_clear = (inquiry)overloaded___coroutine__patch_overloaded_method_obj_clear, + .tp_getset = overloaded___coroutine__patch_overloaded_method_obj_getseters, + .tp_methods = overloaded___coroutine__patch_overloaded_method_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get__overloaded___coroutine__patch_overloaded_method_obj, + .tp_basicsize = sizeof(dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject), + .tp_vectorcall_offset = offsetof(dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("coroutine__patch_overloaded_method_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType_overloaded___coroutine__patch_overloaded_method_obj_template = &CPyType_overloaded___coroutine__patch_overloaded_method_obj_template_; + +PyObject *CPyDef_overloaded_____mypyc__coroutine__patch_overloaded_method_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *self; + if (overloaded___coroutine__patch_overloaded_method_obj_free_instance != NULL) { + self = overloaded___coroutine__patch_overloaded_method_obj_free_instance; + overloaded___coroutine__patch_overloaded_method_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = overloaded___coroutine__patch_overloaded_method_obj_vtable; + self->vectorcall = CPyPy_overloaded___coroutine__patch_overloaded_method_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_overloaded___coroutine__patch_overloaded_method_obj(void) +{ + PyObject *self = CPyDef_overloaded_____mypyc__coroutine__patch_overloaded_method_obj_setup((PyObject *)CPyType_overloaded___coroutine__patch_overloaded_method_obj); + if (self == NULL) + return NULL; + return self; +} + +static PyObject * +overloaded___coroutine__patch_overloaded_method_obj_get___3_mypyc_env__(dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *self, void *closure) +{ + if (unlikely(self->___mypyc_env__ == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '__mypyc_env__' of 'coroutine__patch_overloaded_method_obj' undefined"); + return NULL; + } + CPy_INCREF_NO_IMM(self->___mypyc_env__); + PyObject *retval = self->___mypyc_env__; + return retval; +} + +static int +overloaded___coroutine__patch_overloaded_method_obj_set___3_mypyc_env__(dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'coroutine__patch_overloaded_method_obj' object attribute '__mypyc_env__' cannot be deleted"); + return -1; + } + if (self->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(self->___mypyc_env__); + } + PyObject *tmp; + if (likely(Py_TYPE(value) == CPyType_overloaded____patch_overloaded_method_env)) + tmp = value; + else { + CPy_TypeError("dank_mids.brownie_patch.overloaded._patch_overloaded_method_env", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF_NO_IMM(tmp); + self->___mypyc_env__ = tmp; + return 0; +} + +static PyAsyncMethods overloaded___coroutine_gen___3_23_as_async = { + .am_await = CPyDef_overloaded___coroutine_gen___3_23_____await__, +}; +PyObject *CPyDef_overloaded_____mypyc__coroutine_gen___3_23_setup(PyObject *cpy_r_type); +PyObject *CPyDef_overloaded___coroutine_gen___3_23(void); + +static PyObject * +overloaded___coroutine_gen___3_23_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_overloaded___coroutine_gen___3_23) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_overloaded_____mypyc__coroutine_gen___3_23_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +overloaded___coroutine_gen___3_23_traverse(dank_mids___brownie_patch___overloaded___coroutine_gen___3_23Object *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_env__); + return 0; +} + +static int +overloaded___coroutine_gen___3_23_clear(dank_mids___brownie_patch___overloaded___coroutine_gen___3_23Object *self) +{ + Py_CLEAR(self->___mypyc_env__); + return 0; +} + +static void +overloaded___coroutine_gen___3_23_dealloc(dank_mids___brownie_patch___overloaded___coroutine_gen___3_23Object *self) +{ + PyObject_GC_UnTrack(self); + if (overloaded___coroutine_gen___3_23_free_instance == NULL) { + overloaded___coroutine_gen___3_23_free_instance = self; + Py_CLEAR(self->___mypyc_env__); + return; + } + CPy_TRASHCAN_BEGIN(self, overloaded___coroutine_gen___3_23_dealloc) + overloaded___coroutine_gen___3_23_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem overloaded___coroutine_gen___3_23_vtable[7]; +static bool +CPyDef_overloaded___coroutine_gen___3_23_trait_vtable_setup(void) +{ + CPyVTableItem overloaded___coroutine_gen___3_23_vtable_scratch[] = { + (CPyVTableItem)CPyDef_overloaded___coroutine_gen___3_23_____mypyc_generator_helper__, + (CPyVTableItem)CPyDef_overloaded___coroutine_gen___3_23_____next__, + (CPyVTableItem)CPyDef_overloaded___coroutine_gen___3_23___send, + (CPyVTableItem)CPyDef_overloaded___coroutine_gen___3_23_____iter__, + (CPyVTableItem)CPyDef_overloaded___coroutine_gen___3_23___throw, + (CPyVTableItem)CPyDef_overloaded___coroutine_gen___3_23___close, + (CPyVTableItem)CPyDef_overloaded___coroutine_gen___3_23_____await__, + }; + memcpy(overloaded___coroutine_gen___3_23_vtable, overloaded___coroutine_gen___3_23_vtable_scratch, sizeof(overloaded___coroutine_gen___3_23_vtable)); + return 1; +} + +static PyMethodDef overloaded___coroutine_gen___3_23_methods[] = { + {"__next__", + (PyCFunction)CPyPy_overloaded___coroutine_gen___3_23_____next__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__next__()\n--\n\n")}, + {"send", + (PyCFunction)CPyPy_overloaded___coroutine_gen___3_23___send, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("send($arg)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy_overloaded___coroutine_gen___3_23_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__()\n--\n\n")}, + {"throw", + (PyCFunction)CPyPy_overloaded___coroutine_gen___3_23___throw, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"close", + (PyCFunction)CPyPy_overloaded___coroutine_gen___3_23___close, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("close()\n--\n\n")}, + {"__await__", + (PyCFunction)CPyPy_overloaded___coroutine_gen___3_23_____await__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__await__()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_overloaded___coroutine_gen___3_23_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "coroutine_gen___23", + .tp_new = overloaded___coroutine_gen___3_23_new, + .tp_dealloc = (destructor)overloaded___coroutine_gen___3_23_dealloc, + .tp_traverse = (traverseproc)overloaded___coroutine_gen___3_23_traverse, + .tp_clear = (inquiry)overloaded___coroutine_gen___3_23_clear, + .tp_methods = overloaded___coroutine_gen___3_23_methods, + .tp_iter = CPyDef_overloaded___coroutine_gen___3_23_____iter__, + .tp_iternext = CPyDef_overloaded___coroutine_gen___3_23_____next__, + .tp_as_async = &overloaded___coroutine_gen___3_23_as_async, + .tp_basicsize = sizeof(dank_mids___brownie_patch___overloaded___coroutine_gen___3_23Object), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("coroutine_gen___23()\n--\n\n"), +}; +static PyTypeObject *CPyType_overloaded___coroutine_gen___3_23_template = &CPyType_overloaded___coroutine_gen___3_23_template_; + +PyObject *CPyDef_overloaded_____mypyc__coroutine_gen___3_23_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___overloaded___coroutine_gen___3_23Object *self; + if (overloaded___coroutine_gen___3_23_free_instance != NULL) { + self = overloaded___coroutine_gen___3_23_free_instance; + overloaded___coroutine_gen___3_23_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch___overloaded___coroutine_gen___3_23Object *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = overloaded___coroutine_gen___3_23_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef_overloaded___coroutine_gen___3_23(void) +{ + PyObject *self = CPyDef_overloaded_____mypyc__coroutine_gen___3_23_setup((PyObject *)CPyType_overloaded___coroutine_gen___3_23); + if (self == NULL) + return NULL; + return self; +} + +static PyMethodDef overloadedmodule_methods[] = { + {"_patch_overloaded_method", (PyCFunction)CPyPy_overloaded____patch_overloaded_method, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_patch_overloaded_method(call, w3)\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___brownie_patch___overloaded(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___brownie_patch___overloaded__internal, "__name__"); + CPyStatic_overloaded___globals = PyModule_GetDict(CPyModule_dank_mids___brownie_patch___overloaded__internal); + if (unlikely(CPyStatic_overloaded___globals == NULL)) + goto fail; + CPyType_overloaded____patch_overloaded_method_env = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_overloaded____patch_overloaded_method_env_template, NULL, modname); + if (unlikely(!CPyType_overloaded____patch_overloaded_method_env)) + goto fail; + CPyType_overloaded___coroutine__patch_overloaded_method_env = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_overloaded___coroutine__patch_overloaded_method_env_template, NULL, modname); + if (unlikely(!CPyType_overloaded___coroutine__patch_overloaded_method_env)) + goto fail; + CPyType_overloaded___coroutine__patch_overloaded_method_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_overloaded___coroutine__patch_overloaded_method_obj_template, NULL, modname); + if (unlikely(!CPyType_overloaded___coroutine__patch_overloaded_method_obj)) + goto fail; + CPyType_overloaded___coroutine_gen___3_23 = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_overloaded___coroutine_gen___3_23_template, NULL, modname); + if (unlikely(!CPyType_overloaded___coroutine_gen___3_23)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_overloaded_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___brownie_patch___overloaded__internal); + Py_CLEAR(modname); + Py_CLEAR(CPyType_overloaded____patch_overloaded_method_env); + Py_CLEAR(CPyType_overloaded___coroutine__patch_overloaded_method_env); + Py_CLEAR(CPyType_overloaded___coroutine__patch_overloaded_method_obj); + Py_CLEAR(CPyType_overloaded___coroutine_gen___3_23); + return -1; +} +static struct PyModuleDef overloadedmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.brownie_patch.overloaded", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + overloadedmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___brownie_patch___overloaded(void) +{ + if (CPyModule_dank_mids___brownie_patch___overloaded__internal) { + Py_INCREF(CPyModule_dank_mids___brownie_patch___overloaded__internal); + return CPyModule_dank_mids___brownie_patch___overloaded__internal; + } + CPyModule_dank_mids___brownie_patch___overloaded__internal = PyModule_Create(&overloadedmodule); + if (unlikely(CPyModule_dank_mids___brownie_patch___overloaded__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___brownie_patch___overloaded(CPyModule_dank_mids___brownie_patch___overloaded__internal) != 0) + goto fail; + return CPyModule_dank_mids___brownie_patch___overloaded__internal; + fail: + return NULL; +} + +PyObject *CPyDef_overloaded___coroutine__patch_overloaded_method_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy_overloaded___coroutine__patch_overloaded_method_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef_overloaded___coroutine__patch_overloaded_method_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "__get__", -1, CPyStatic_overloaded___globals); + return NULL; +} + +PyObject *CPyDef_overloaded___coroutine_gen___3_23_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + int32_t cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + char cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject **cpy_r_r11; + PyObject *cpy_r_r12; + char cpy_r_r13; + tuple_T3OOO cpy_r_r14; + char cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + char cpy_r_r19; + PyObject *cpy_r_r20; + char cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + char cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + tuple_T2OO cpy_r_r37; + char cpy_r_r38; + char cpy_r_r39; + tuple_T2OO cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + char cpy_r_r43; + char cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + char cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + int32_t cpy_r_r51; + char cpy_r_r52; + char cpy_r_r53; + char cpy_r_r54; + char cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + CPyTagged cpy_r_r58; + char cpy_r_r59; + PyObject *cpy_r_r60; + CPyTagged cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + CPyTagged cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + PyObject *cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + PyObject **cpy_r_r74; + PyObject *cpy_r_r75; + tuple_T3OOO cpy_r_r76; + char cpy_r_r77; + PyObject *cpy_r_r78; + PyObject *cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + char cpy_r_r85; + PyObject *cpy_r_r86; + char cpy_r_r87; + PyObject *cpy_r_r88; + char cpy_r_r89; + char cpy_r_r90; + PyObject *cpy_r_r91; + int64_t cpy_r_r92; + char cpy_r_r93; + PyObject *cpy_r_r94; + char cpy_r_r95; + PyObject *cpy_r_r96; + CPyTagged cpy_r_r97; + tuple_T4CIOO cpy_r_r98; + CPyTagged cpy_r_r99; + char cpy_r_r100; + char cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + PyObject *cpy_r_r104; + PyObject *cpy_r_r105; + char cpy_r_r106; + char cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + char cpy_r_r110; + PyObject *cpy_r_r111; + PyObject *cpy_r_r112; + PyObject *cpy_r_r113; + PyObject *cpy_r_r114; + int32_t cpy_r_r115; + char cpy_r_r116; + PyObject *cpy_r_r117; + int64_t cpy_r_r118; + char cpy_r_r119; + char cpy_r_r120; + PyObject *cpy_r_r121; + char cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + PyObject *cpy_r_r126; + PyObject *cpy_r_r127; + PyObject *cpy_r_r128; + PyObject *cpy_r_r129; + PyObject *cpy_r_r130; + char cpy_r_r131; + PyObject *cpy_r_r132; + PyObject *cpy_r_r133; + PyObject *cpy_r_r134; + PyObject *cpy_r_r135; + PyObject *cpy_r_r136; + char cpy_r_r137; + PyObject *cpy_r_r138; + char cpy_r_r139; + PyObject *cpy_r_r140; + char cpy_r_r141; + tuple_T3OOO cpy_r_r142; + char cpy_r_r143; + PyObject **cpy_r_r144; + PyObject *cpy_r_r145; + char cpy_r_r146; + tuple_T3OOO cpy_r_r147; + tuple_T3OOO cpy_r_r148; + tuple_T3OOO cpy_r_r149; + char cpy_r_r150; + PyObject *cpy_r_r151; + PyObject *cpy_r_r152; + PyObject *cpy_r_r153; + char cpy_r_r154; + char cpy_r_r155; + char cpy_r_r156; + char cpy_r_r157; + PyObject *cpy_r_r158; + cpy_r_r0 = NULL; + cpy_r_r1 = cpy_r_r0; + cpy_r_r2 = ((dank_mids___brownie_patch___overloaded___coroutine_gen___3_23Object *)cpy_r___mypyc_self__)->___mypyc_env__; + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine_gen___23", "__mypyc_env__", 23, CPyStatic_overloaded___globals); + goto CPyL142; + } + CPy_INCREF_NO_IMM(cpy_r_r2); +CPyL1: ; + cpy_r_r3 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_next_label__; + cpy_r_r4 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_env__; + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "__mypyc_env__", 23, CPyStatic_overloaded___globals); + goto CPyL143; + } + CPy_INCREF_NO_IMM(cpy_r_r4); + goto CPyL137; +CPyL2: ; + cpy_r_r5 = (PyObject *)&_Py_NoneStruct; + cpy_r_r6 = cpy_r_type != cpy_r_r5; + if (cpy_r_r6) { + goto CPyL144; + } else + goto CPyL5; +CPyL3: ; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 23, CPyStatic_overloaded___globals); + goto CPyL141; + } + CPy_Unreachable(); +CPyL5: ; + cpy_r_r7 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "self", 44, CPyStatic_overloaded___globals); + goto CPyL9; + } + CPy_INCREF(cpy_r_r7); +CPyL6: ; + cpy_r_r8 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__args; + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "args", 44, CPyStatic_overloaded___globals); + goto CPyL145; + } + CPy_INCREF(cpy_r_r8); +CPyL7: ; + cpy_r_r9 = CPyStatics[492]; /* '_get_fn_from_args' */ + PyObject *cpy_r_r10[2] = {cpy_r_r7, cpy_r_r8}; + cpy_r_r11 = (PyObject **)&cpy_r_r10; + cpy_r_r12 = PyObject_VectorcallMethod(cpy_r_r9, cpy_r_r11, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 44, CPyStatic_overloaded___globals); + goto CPyL146; + } + CPy_DECREF(cpy_r_r7); + CPy_DECREF(cpy_r_r8); + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__fn != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__fn); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__fn = cpy_r_r12; + cpy_r_r13 = 1; + if (unlikely(!cpy_r_r13)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 44, CPyStatic_overloaded___globals); + } else + goto CPyL147; +CPyL9: ; + cpy_r_r14 = CPy_CatchError(); + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__0.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__0.f0); + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__0.f1); + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__0.f2); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__0 = cpy_r_r14; + cpy_r_r15 = 1; + if (unlikely(!cpy_r_r15)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", -1, CPyStatic_overloaded___globals); + goto CPyL148; + } + cpy_r_r16 = CPyModule_builtins; + cpy_r_r17 = CPyStatics[177]; /* 'ValueError' */ + cpy_r_r18 = CPyObject_GetAttr(cpy_r_r16, cpy_r_r17); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 45, CPyStatic_overloaded___globals); + goto CPyL148; + } + cpy_r_r19 = CPy_ExceptionMatches(cpy_r_r18); + CPy_DecRef(cpy_r_r18); + if (!cpy_r_r19) goto CPyL149; + cpy_r_r20 = CPy_GetExcValue(); + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__e != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__e); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__e = cpy_r_r20; + cpy_r_r21 = 1; + if (unlikely(!cpy_r_r21)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 45, CPyStatic_overloaded___globals); + goto CPyL148; + } + cpy_r_r22 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__e; + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "e", 46, CPyStatic_overloaded___globals); + goto CPyL148; + } + CPy_INCREF(cpy_r_r22); +CPyL14: ; + cpy_r_r23 = PyObject_Str(cpy_r_r22); + CPy_DecRef(cpy_r_r22); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 46, CPyStatic_overloaded___globals); + goto CPyL148; + } + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__exc_str != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__exc_str); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__exc_str = cpy_r_r23; + cpy_r_r24 = 1; + if (unlikely(!cpy_r_r24)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 46, CPyStatic_overloaded___globals); + goto CPyL148; + } + cpy_r_r25 = CPyStatics[493]; /* "Contract has more than one function '." */ + cpy_r_r26 = ((dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *)cpy_r_r4)->_call; + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "_patch_overloaded_method_env", "call", 48, CPyStatic_overloaded___globals); + goto CPyL148; + } + CPy_INCREF(cpy_r_r26); +CPyL17: ; + cpy_r_r27 = CPyStatics[390]; /* '_name' */ + cpy_r_r28 = CPyObject_GetAttr(cpy_r_r26, cpy_r_r27); + CPy_DecRef(cpy_r_r26); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 48, CPyStatic_overloaded___globals); + goto CPyL148; + } + cpy_r_r29 = PyObject_Str(cpy_r_r28); + CPy_DecRef(cpy_r_r28); + if (unlikely(cpy_r_r29 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 48, CPyStatic_overloaded___globals); + goto CPyL148; + } + cpy_r_r30 = CPyStr_Build(2, cpy_r_r25, cpy_r_r29); + CPy_DecRef(cpy_r_r29); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 48, CPyStatic_overloaded___globals); + goto CPyL148; + } + cpy_r_r31 = CPyStatics[494]; /* ('You must explicitly declare which function you are ' + 'calling, e.g. .') */ + cpy_r_r32 = ((dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *)cpy_r_r4)->_call; + if (unlikely(cpy_r_r32 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute 'call' of '_patch_overloaded_method_env' undefined"); + } else { + CPy_INCREF(cpy_r_r32); + } + CPy_DecRef(cpy_r_r4); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 49, CPyStatic_overloaded___globals); + goto CPyL150; + } +CPyL21: ; + cpy_r_r33 = CPyStatics[390]; /* '_name' */ + cpy_r_r34 = CPyObject_GetAttr(cpy_r_r32, cpy_r_r33); + CPy_DecRef(cpy_r_r32); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 49, CPyStatic_overloaded___globals); + goto CPyL150; + } + cpy_r_r35 = PyObject_Str(cpy_r_r34); + CPy_DecRef(cpy_r_r34); + if (unlikely(cpy_r_r35 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 49, CPyStatic_overloaded___globals); + goto CPyL150; + } + cpy_r_r36 = CPyStr_Build(2, cpy_r_r31, cpy_r_r35); + CPy_DecRef(cpy_r_r35); + if (unlikely(cpy_r_r36 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 49, CPyStatic_overloaded___globals); + goto CPyL150; + } + cpy_r_r37.f0 = cpy_r_r30; + cpy_r_r37.f1 = cpy_r_r36; + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__match_on.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__match_on.f0); + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__match_on.f1); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__match_on = cpy_r_r37; + cpy_r_r38 = 1; + if (unlikely(!cpy_r_r38)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 47, CPyStatic_overloaded___globals); + goto CPyL60; + } + cpy_r_r39 = 1; + cpy_r_r40 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__match_on; + if (unlikely(cpy_r_r40.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "match_on", 51, CPyStatic_overloaded___globals); + goto CPyL60; + } + CPy_INCREF(cpy_r_r40.f0); + CPy_INCREF(cpy_r_r40.f1); +CPyL26: ; + CPy_INCREF(cpy_r_r40.f0); + CPy_INCREF(cpy_r_r40.f1); + cpy_r_r41 = PyTuple_New(2); + if (unlikely(cpy_r_r41 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp165 = cpy_r_r40.f0; + PyTuple_SET_ITEM(cpy_r_r41, 0, __tmp165); + PyObject *__tmp166 = cpy_r_r40.f1; + PyTuple_SET_ITEM(cpy_r_r41, 1, __tmp166); + cpy_r_r42 = PyObject_GetIter(cpy_r_r41); + CPy_DecRef(cpy_r_r41); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 51, CPyStatic_overloaded___globals); + goto CPyL151; + } + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__1.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__1.f0); + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__1.f1); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__1 = cpy_r_r40; + cpy_r_r43 = 1; + if (unlikely(!cpy_r_r43)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", -1, CPyStatic_overloaded___globals); + goto CPyL152; + } + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__2 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__2); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__2 = cpy_r_r42; + cpy_r_r44 = 1; + if (unlikely(!cpy_r_r44)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", -1, CPyStatic_overloaded___globals); + goto CPyL60; + } +CPyL29: ; + cpy_r_r45 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__2; + if (unlikely(cpy_r_r45 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "__mypyc_temp__2", 51, CPyStatic_overloaded___globals); + goto CPyL60; + } + CPy_INCREF(cpy_r_r45); +CPyL30: ; + cpy_r_r46 = PyIter_Next(cpy_r_r45); + CPy_DecRef(cpy_r_r45); + if (cpy_r_r46 == NULL) goto CPyL38; + if (likely(PyUnicode_Check(cpy_r_r46))) + cpy_r_r47 = cpy_r_r46; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 51, CPyStatic_overloaded___globals, "str", cpy_r_r46); + goto CPyL60; + } + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__s != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__s); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__s = cpy_r_r47; + cpy_r_r48 = 1; + if (unlikely(!cpy_r_r48)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 51, CPyStatic_overloaded___globals); + goto CPyL60; + } + cpy_r_r49 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__s; + if (unlikely(cpy_r_r49 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "s", 51, CPyStatic_overloaded___globals); + goto CPyL60; + } + CPy_INCREF(cpy_r_r49); +CPyL34: ; + cpy_r_r50 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__exc_str; + if (unlikely(cpy_r_r50 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "exc_str", 51, CPyStatic_overloaded___globals); + goto CPyL153; + } + CPy_INCREF(cpy_r_r50); +CPyL35: ; + cpy_r_r51 = PyUnicode_Contains(cpy_r_r50, cpy_r_r49); + CPy_DecRef(cpy_r_r50); + CPy_DecRef(cpy_r_r49); + cpy_r_r52 = cpy_r_r51 >= 0; + if (unlikely(!cpy_r_r52)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 51, CPyStatic_overloaded___globals); + goto CPyL60; + } + cpy_r_r53 = cpy_r_r51; + cpy_r_r54 = cpy_r_r53 ^ 1; + if (!cpy_r_r54) goto CPyL29; + cpy_r_r39 = 0; + goto CPyL39; +CPyL38: ; + cpy_r_r55 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r55)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 51, CPyStatic_overloaded___globals); + goto CPyL60; + } +CPyL39: ; + if (!cpy_r_r39) goto CPyL56; + cpy_r_r56 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__exc_str; + if (unlikely(cpy_r_r56 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "exc_str", 52, CPyStatic_overloaded___globals); + goto CPyL60; + } + CPy_INCREF(cpy_r_r56); +CPyL41: ; + cpy_r_r57 = CPyStatics[495]; /* '(*args)' */ + cpy_r_r58 = CPyStr_Find(cpy_r_r56, cpy_r_r57, 0, 1); + CPy_DecRef(cpy_r_r56); + if (unlikely(cpy_r_r58 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 52, CPyStatic_overloaded___globals); + goto CPyL60; + } + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__breakpoint != CPY_INT_TAG) { + CPyTagged_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__breakpoint); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__breakpoint = cpy_r_r58; + cpy_r_r59 = 1; + if (unlikely(!cpy_r_r59)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 52, CPyStatic_overloaded___globals); + goto CPyL60; + } + cpy_r_r60 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__exc_str; + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "exc_str", 53, CPyStatic_overloaded___globals); + goto CPyL60; + } + CPy_INCREF(cpy_r_r60); +CPyL44: ; + cpy_r_r61 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__breakpoint; + if (unlikely(cpy_r_r61 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "breakpoint", 53, CPyStatic_overloaded___globals); + goto CPyL154; + } + CPyTagged_INCREF(cpy_r_r61); +CPyL45: ; + cpy_r_r62 = CPyStr_GetSlice(cpy_r_r60, 0, cpy_r_r61); + CPy_DecRef(cpy_r_r60); + CPyTagged_DecRef(cpy_r_r61); + if (unlikely(cpy_r_r62 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 53, CPyStatic_overloaded___globals); + goto CPyL60; + } + if (likely(PyUnicode_Check(cpy_r_r62))) + cpy_r_r63 = cpy_r_r62; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 53, CPyStatic_overloaded___globals, "str", cpy_r_r62); + goto CPyL60; + } + cpy_r_r64 = CPyStatics[496]; /* '.coroutine' */ + cpy_r_r65 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__exc_str; + if (unlikely(cpy_r_r65 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "exc_str", 53, CPyStatic_overloaded___globals); + goto CPyL155; + } + CPy_INCREF(cpy_r_r65); +CPyL48: ; + cpy_r_r66 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__breakpoint; + if (unlikely(cpy_r_r66 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "breakpoint", 53, CPyStatic_overloaded___globals); + goto CPyL156; + } + CPyTagged_INCREF(cpy_r_r66); +CPyL49: ; + cpy_r_r67 = CPyStr_GetSlice(cpy_r_r65, cpy_r_r66, 9223372036854775806LL); + CPy_DecRef(cpy_r_r65); + CPyTagged_DecRef(cpy_r_r66); + if (unlikely(cpy_r_r67 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 53, CPyStatic_overloaded___globals); + goto CPyL155; + } + if (likely(PyUnicode_Check(cpy_r_r67))) + cpy_r_r68 = cpy_r_r67; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 53, CPyStatic_overloaded___globals, "str", cpy_r_r67); + goto CPyL155; + } + cpy_r_r69 = CPyStr_Build(3, cpy_r_r63, cpy_r_r64, cpy_r_r68); + CPy_DecRef(cpy_r_r63); + CPy_DecRef(cpy_r_r68); + if (unlikely(cpy_r_r69 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 53, CPyStatic_overloaded___globals); + goto CPyL60; + } + cpy_r_r70 = CPyModule_builtins; + cpy_r_r71 = CPyStatics[177]; /* 'ValueError' */ + cpy_r_r72 = CPyObject_GetAttr(cpy_r_r70, cpy_r_r71); + if (unlikely(cpy_r_r72 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 53, CPyStatic_overloaded___globals); + goto CPyL157; + } + PyObject *cpy_r_r73[1] = {cpy_r_r69}; + cpy_r_r74 = (PyObject **)&cpy_r_r73; + cpy_r_r75 = PyObject_Vectorcall(cpy_r_r72, cpy_r_r74, 1, 0); + CPy_DecRef(cpy_r_r72); + if (unlikely(cpy_r_r75 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 53, CPyStatic_overloaded___globals); + goto CPyL157; + } + CPy_DecRef(cpy_r_r69); + CPy_Raise(cpy_r_r75); + CPy_DecRef(cpy_r_r75); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 53, CPyStatic_overloaded___globals); + goto CPyL60; + } else + goto CPyL158; +CPyL55: ; + CPy_Unreachable(); +CPyL56: ; + CPy_Reraise(); + if (!0) { + goto CPyL60; + } else + goto CPyL159; +CPyL57: ; + CPy_Unreachable(); +CPyL58: ; + CPy_Reraise(); + if (!0) { + goto CPyL60; + } else + goto CPyL160; +CPyL59: ; + CPy_Unreachable(); +CPyL60: ; + cpy_r_r76 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__0; + if (unlikely(cpy_r_r76.f0 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute '__mypyc_temp__0' of 'coroutine__patch_overloaded_method_env' undefined"); + } else { + CPy_INCREF(cpy_r_r76.f0); + CPy_INCREF(cpy_r_r76.f1); + CPy_INCREF(cpy_r_r76.f2); + } + CPy_DecRef(cpy_r_r2); + if (unlikely(cpy_r_r76.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", -1, CPyStatic_overloaded___globals); + goto CPyL141; + } +CPyL61: ; + CPy_RestoreExcInfo(cpy_r_r76); + CPy_DecRef(cpy_r_r76.f0); + CPy_DecRef(cpy_r_r76.f1); + CPy_DecRef(cpy_r_r76.f2); + cpy_r_r77 = CPy_KeepPropagating(); + if (!cpy_r_r77) goto CPyL141; + CPy_Unreachable(); +CPyL63: ; + cpy_r_r78 = CPyStatics[497]; /* 'block_identifier' */ + cpy_r_r79 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__block_identifier; + if (unlikely(cpy_r_r79 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "block_identifier", 56, CPyStatic_overloaded___globals); + goto CPyL161; + } + CPy_INCREF(cpy_r_r79); +CPyL64: ; + cpy_r_r80 = CPyStatics[498]; /* 'decimals' */ + cpy_r_r81 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__decimals; + if (unlikely(cpy_r_r81 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "decimals", 56, CPyStatic_overloaded___globals); + goto CPyL162; + } + CPy_INCREF(cpy_r_r81); +CPyL65: ; + cpy_r_r82 = CPyStatics[499]; /* 'override' */ + cpy_r_r83 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__override; + if (unlikely(cpy_r_r83 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "override", 56, CPyStatic_overloaded___globals); + goto CPyL163; + } + CPy_INCREF(cpy_r_r83); +CPyL66: ; + cpy_r_r84 = CPyDict_Build(3, cpy_r_r78, cpy_r_r79, cpy_r_r80, cpy_r_r81, cpy_r_r82, cpy_r_r83); + CPy_DECREF(cpy_r_r79); + CPy_DECREF(cpy_r_r81); + CPy_DECREF(cpy_r_r83); + if (unlikely(cpy_r_r84 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 56, CPyStatic_overloaded___globals); + goto CPyL161; + } + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__kwargs != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__kwargs); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__kwargs = cpy_r_r84; + cpy_r_r85 = 1; + if (unlikely(!cpy_r_r85)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 56, CPyStatic_overloaded___globals); + goto CPyL161; + } + cpy_r_r86 = PyDict_New(); + if (unlikely(cpy_r_r86 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 57, CPyStatic_overloaded___globals); + goto CPyL161; + } + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__3 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__3); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__3 = cpy_r_r86; + cpy_r_r87 = 1; + if (unlikely(!cpy_r_r87)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", -1, CPyStatic_overloaded___globals); + goto CPyL161; + } + cpy_r_r88 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__kwargs; + if (unlikely(cpy_r_r88 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "kwargs", 57, CPyStatic_overloaded___globals); + goto CPyL161; + } + CPy_INCREF(cpy_r_r88); +CPyL71: ; + CPy_INCREF(cpy_r_r88); + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__4 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__4); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__4 = cpy_r_r88; + cpy_r_r89 = 1; + if (unlikely(!cpy_r_r89)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", -1, CPyStatic_overloaded___globals); + goto CPyL164; + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__5 = 0; + cpy_r_r90 = 1; + if (unlikely(!cpy_r_r90)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", -1, CPyStatic_overloaded___globals); + goto CPyL164; + } + cpy_r_r91 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__4; + if (unlikely(cpy_r_r91 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "__mypyc_temp__4", 57, CPyStatic_overloaded___globals); + goto CPyL164; + } + CPy_INCREF(cpy_r_r91); +CPyL74: ; + cpy_r_r92 = PyDict_Size(cpy_r_r91); + CPy_DECREF(cpy_r_r91); + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__6 = cpy_r_r92; + cpy_r_r93 = 1; + if (unlikely(!cpy_r_r93)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", -1, CPyStatic_overloaded___globals); + goto CPyL164; + } + cpy_r_r94 = CPyDict_GetItemsIter(cpy_r_r88); + CPy_DECREF(cpy_r_r88); + if (unlikely(cpy_r_r94 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 57, CPyStatic_overloaded___globals); + goto CPyL161; + } + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__7 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__7); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__7 = cpy_r_r94; + cpy_r_r95 = 1; + if (unlikely(!cpy_r_r95)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", -1, CPyStatic_overloaded___globals); + goto CPyL161; + } +CPyL77: ; + cpy_r_r96 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__7; + if (unlikely(cpy_r_r96 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "__mypyc_temp__7", 57, CPyStatic_overloaded___globals); + goto CPyL161; + } + CPy_INCREF(cpy_r_r96); +CPyL78: ; + cpy_r_r97 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__5; + if (unlikely(cpy_r_r97 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "__mypyc_temp__5", 57, CPyStatic_overloaded___globals); + goto CPyL165; + } +CPyL79: ; + cpy_r_r98 = CPyDict_NextItem(cpy_r_r96, cpy_r_r97); + CPy_DECREF(cpy_r_r96); + cpy_r_r99 = cpy_r_r98.f1; + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__5 = cpy_r_r99; + cpy_r_r100 = 1; + if (unlikely(!cpy_r_r100)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 57, CPyStatic_overloaded___globals); + goto CPyL166; + } + cpy_r_r101 = cpy_r_r98.f0; + if (!cpy_r_r101) goto CPyL167; + cpy_r_r102 = cpy_r_r98.f2; + CPy_INCREF(cpy_r_r102); + cpy_r_r103 = cpy_r_r98.f3; + CPy_INCREF(cpy_r_r103); + CPy_DECREF(cpy_r_r98.f2); + CPy_DECREF(cpy_r_r98.f3); + if (likely(PyUnicode_Check(cpy_r_r102))) + cpy_r_r104 = cpy_r_r102; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 57, CPyStatic_overloaded___globals, "str", cpy_r_r102); + goto CPyL168; + } + if (PyLong_Check(cpy_r_r103)) + cpy_r_r105 = cpy_r_r103; + else { + cpy_r_r105 = NULL; + } + if (cpy_r_r105 != NULL) goto __LL167; + if (PyUnicode_Check(cpy_r_r103)) + cpy_r_r105 = cpy_r_r103; + else { + cpy_r_r105 = NULL; + } + if (cpy_r_r105 != NULL) goto __LL167; + if (PyBytes_Check(cpy_r_r103) || PyByteArray_Check(cpy_r_r103)) + cpy_r_r105 = cpy_r_r103; + else { + cpy_r_r105 = NULL; + } + if (cpy_r_r105 != NULL) goto __LL167; + if (cpy_r_r103 == Py_None) + cpy_r_r105 = cpy_r_r103; + else { + cpy_r_r105 = NULL; + } + if (cpy_r_r105 != NULL) goto __LL167; + if (PyDict_Check(cpy_r_r103)) + cpy_r_r105 = cpy_r_r103; + else { + cpy_r_r105 = NULL; + } + if (cpy_r_r105 != NULL) goto __LL167; + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 57, CPyStatic_overloaded___globals, "union[int, str, bytes, None, dict]", cpy_r_r103); + goto CPyL169; +__LL167: ; + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__k != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__k); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__k = cpy_r_r104; + cpy_r_r106 = 1; + if (unlikely(!cpy_r_r106)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 57, CPyStatic_overloaded___globals); + goto CPyL170; + } + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__v != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__v); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__v = cpy_r_r105; + cpy_r_r107 = 1; + if (unlikely(!cpy_r_r107)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 57, CPyStatic_overloaded___globals); + goto CPyL161; + } + cpy_r_r108 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__v; + if (unlikely(cpy_r_r108 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "v", 57, CPyStatic_overloaded___globals); + goto CPyL161; + } + CPy_INCREF(cpy_r_r108); +CPyL86: ; + cpy_r_r109 = (PyObject *)&_Py_NoneStruct; + cpy_r_r110 = cpy_r_r108 != cpy_r_r109; + CPy_DECREF(cpy_r_r108); + if (!cpy_r_r110) goto CPyL92; + cpy_r_r111 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__k; + if (unlikely(cpy_r_r111 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "k", 57, CPyStatic_overloaded___globals); + goto CPyL161; + } + CPy_INCREF(cpy_r_r111); +CPyL88: ; + cpy_r_r112 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__v; + if (unlikely(cpy_r_r112 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "v", 57, CPyStatic_overloaded___globals); + goto CPyL171; + } + CPy_INCREF(cpy_r_r112); +CPyL89: ; + if (PyLong_Check(cpy_r_r112)) + cpy_r_r113 = cpy_r_r112; + else { + cpy_r_r113 = NULL; + } + if (cpy_r_r113 != NULL) goto __LL168; + if (PyUnicode_Check(cpy_r_r112)) + cpy_r_r113 = cpy_r_r112; + else { + cpy_r_r113 = NULL; + } + if (cpy_r_r113 != NULL) goto __LL168; + if (PyBytes_Check(cpy_r_r112) || PyByteArray_Check(cpy_r_r112)) + cpy_r_r113 = cpy_r_r112; + else { + cpy_r_r113 = NULL; + } + if (cpy_r_r113 != NULL) goto __LL168; + if (PyDict_Check(cpy_r_r112)) + cpy_r_r113 = cpy_r_r112; + else { + cpy_r_r113 = NULL; + } + if (cpy_r_r113 != NULL) goto __LL168; + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 57, CPyStatic_overloaded___globals, "union[int, str, bytes, dict]", cpy_r_r112); + goto CPyL171; +__LL168: ; + cpy_r_r114 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__3; + if (unlikely(cpy_r_r114 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "__mypyc_temp__3", -1, CPyStatic_overloaded___globals); + goto CPyL172; + } + CPy_INCREF(cpy_r_r114); +CPyL91: ; + cpy_r_r115 = PyDict_SetItem(cpy_r_r114, cpy_r_r111, cpy_r_r113); + CPy_DECREF(cpy_r_r114); + CPy_DECREF(cpy_r_r111); + CPy_DECREF(cpy_r_r113); + cpy_r_r116 = cpy_r_r115 >= 0; + if (unlikely(!cpy_r_r116)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 57, CPyStatic_overloaded___globals); + goto CPyL161; + } +CPyL92: ; + cpy_r_r117 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__4; + if (unlikely(cpy_r_r117 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "__mypyc_temp__4", 57, CPyStatic_overloaded___globals); + goto CPyL161; + } + CPy_INCREF(cpy_r_r117); +CPyL93: ; + cpy_r_r118 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__6; + if (unlikely(cpy_r_r118 == -113)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "__mypyc_temp__6", 57, CPyStatic_overloaded___globals); + goto CPyL173; + } +CPyL94: ; + cpy_r_r119 = CPyDict_CheckSize(cpy_r_r117, cpy_r_r118); + CPy_DECREF(cpy_r_r117); + if (unlikely(!cpy_r_r119)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 57, CPyStatic_overloaded___globals); + goto CPyL161; + } else + goto CPyL77; +CPyL95: ; + cpy_r_r120 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r120)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 57, CPyStatic_overloaded___globals); + goto CPyL161; + } + cpy_r_r121 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__3; + if (unlikely(cpy_r_r121 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "__mypyc_temp__3", -1, CPyStatic_overloaded___globals); + goto CPyL161; + } + CPy_INCREF(cpy_r_r121); +CPyL97: ; + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__kwargs != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__kwargs); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__kwargs = cpy_r_r121; + cpy_r_r122 = 1; + if (unlikely(!cpy_r_r122)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 57, CPyStatic_overloaded___globals); + goto CPyL161; + } + cpy_r_r123 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__fn; + if (unlikely(cpy_r_r123 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "fn", 58, CPyStatic_overloaded___globals); + goto CPyL161; + } + CPy_INCREF(cpy_r_r123); +CPyL99: ; + cpy_r_r124 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__args; + if (unlikely(cpy_r_r124 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "args", 58, CPyStatic_overloaded___globals); + goto CPyL174; + } + CPy_INCREF(cpy_r_r124); +CPyL100: ; + cpy_r_r125 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_generator_attribute__kwargs; + if (unlikely(cpy_r_r125 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "kwargs", 58, CPyStatic_overloaded___globals); + goto CPyL175; + } + CPy_INCREF(cpy_r_r125); +CPyL101: ; + cpy_r_r126 = CPyStatics[369]; /* 'coroutine' */ + cpy_r_r127 = CPyObject_GetAttr(cpy_r_r123, cpy_r_r126); + CPy_DECREF(cpy_r_r123); + if (unlikely(cpy_r_r127 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 58, CPyStatic_overloaded___globals); + goto CPyL176; + } + cpy_r_r128 = PyDict_Copy(cpy_r_r125); + CPy_DECREF(cpy_r_r125); + if (unlikely(cpy_r_r128 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 58, CPyStatic_overloaded___globals); + goto CPyL177; + } + cpy_r_r129 = PyObject_Call(cpy_r_r127, cpy_r_r124, cpy_r_r128); + CPy_DECREF(cpy_r_r127); + CPy_DECREF(cpy_r_r124); + CPy_DECREF(cpy_r_r128); + if (unlikely(cpy_r_r129 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 58, CPyStatic_overloaded___globals); + goto CPyL161; + } + cpy_r_r130 = CPy_GetCoro(cpy_r_r129); + CPy_DECREF(cpy_r_r129); + if (unlikely(cpy_r_r130 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 58, CPyStatic_overloaded___globals); + goto CPyL161; + } + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__8 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__8); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__8 = cpy_r_r130; + cpy_r_r131 = 1; + if (unlikely(!cpy_r_r131)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", -1, CPyStatic_overloaded___globals); + goto CPyL161; + } + cpy_r_r132 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__8; + if (unlikely(cpy_r_r132 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "__mypyc_temp__8", -1, CPyStatic_overloaded___globals); + goto CPyL161; + } + CPy_INCREF(cpy_r_r132); +CPyL107: ; + cpy_r_r133 = CPyIter_Next(cpy_r_r132); + CPy_DECREF(cpy_r_r132); + if (cpy_r_r133 != NULL) goto CPyL110; + cpy_r_r134 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r134 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 58, CPyStatic_overloaded___globals); + goto CPyL161; + } + cpy_r_r135 = cpy_r_r134; + cpy_r_r136 = NULL; + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__8 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__8); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__8 = cpy_r_r136; + cpy_r_r137 = 1; + if (unlikely(!cpy_r_r137)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 58, CPyStatic_overloaded___globals); + goto CPyL178; + } else + goto CPyL132; +CPyL110: ; + cpy_r_r138 = cpy_r_r133; +CPyL111: ; + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_next_label__ = 1; + CPy_DECREF_NO_IMM(cpy_r_r2); + return cpy_r_r138; +CPyL112: ; + cpy_r_r140 = (PyObject *)&_Py_NoneStruct; + cpy_r_r141 = cpy_r_type != cpy_r_r140; + if (!cpy_r_r141) goto CPyL179; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 58, CPyStatic_overloaded___globals); + goto CPyL116; + } else + goto CPyL180; +CPyL114: ; + CPy_Unreachable(); +CPyL115: ; + CPy_INCREF(cpy_r_arg); + goto CPyL127; +CPyL116: ; + cpy_r_r142 = CPy_CatchError(); + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__9.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__9.f0); + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__9.f1); + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__9.f2); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__9 = cpy_r_r142; + cpy_r_r143 = 1; + if (unlikely(!cpy_r_r143)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", -1, CPyStatic_overloaded___globals); + goto CPyL181; + } + cpy_r_r144 = (PyObject **)&cpy_r_r1; + cpy_r_r145 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__8; + if (unlikely(cpy_r_r145 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "__mypyc_temp__8", -1, CPyStatic_overloaded___globals); + goto CPyL181; + } + CPy_INCREF(cpy_r_r145); +CPyL118: ; + cpy_r_r146 = CPy_YieldFromErrorHandle(cpy_r_r145, cpy_r_r144); + CPy_DecRef(cpy_r_r145); + if (unlikely(cpy_r_r146 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 58, CPyStatic_overloaded___globals); + goto CPyL181; + } + if (cpy_r_r146) goto CPyL122; + cpy_r_r138 = cpy_r_r1; + cpy_r_r147 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__9; + if (unlikely(cpy_r_r147.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "__mypyc_temp__9", -1, CPyStatic_overloaded___globals); + goto CPyL182; + } + CPy_INCREF(cpy_r_r147.f0); + CPy_INCREF(cpy_r_r147.f1); + CPy_INCREF(cpy_r_r147.f2); +CPyL121: ; + CPy_RestoreExcInfo(cpy_r_r147); + CPy_DecRef(cpy_r_r147.f0); + CPy_DecRef(cpy_r_r147.f1); + CPy_DecRef(cpy_r_r147.f2); + goto CPyL111; +CPyL122: ; + cpy_r_r135 = cpy_r_r1; + cpy_r_r148 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__9; + if (unlikely(cpy_r_r148.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "__mypyc_temp__9", -1, CPyStatic_overloaded___globals); + goto CPyL183; + } + CPy_INCREF(cpy_r_r148.f0); + CPy_INCREF(cpy_r_r148.f1); + CPy_INCREF(cpy_r_r148.f2); +CPyL123: ; + CPy_RestoreExcInfo(cpy_r_r148); + CPy_DecRef(cpy_r_r148.f0); + CPy_DecRef(cpy_r_r148.f1); + CPy_DecRef(cpy_r_r148.f2); + goto CPyL132; +CPyL124: ; + cpy_r_r149 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__9; + if (unlikely(cpy_r_r149.f0 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute '__mypyc_temp__9' of 'coroutine__patch_overloaded_method_env' undefined"); + } else { + CPy_INCREF(cpy_r_r149.f0); + CPy_INCREF(cpy_r_r149.f1); + CPy_INCREF(cpy_r_r149.f2); + } + CPy_DecRef(cpy_r_r2); + if (unlikely(cpy_r_r149.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", -1, CPyStatic_overloaded___globals); + goto CPyL141; + } +CPyL125: ; + CPy_RestoreExcInfo(cpy_r_r149); + CPy_DecRef(cpy_r_r149.f0); + CPy_DecRef(cpy_r_r149.f1); + CPy_DecRef(cpy_r_r149.f2); + cpy_r_r150 = CPy_KeepPropagating(); + if (!cpy_r_r150) goto CPyL141; + CPy_Unreachable(); +CPyL127: ; + cpy_r_r151 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_temp__8; + if (unlikely(cpy_r_r151 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_env", "__mypyc_temp__8", -1, CPyStatic_overloaded___globals); + goto CPyL184; + } + CPy_INCREF(cpy_r_r151); +CPyL128: ; + cpy_r_r152 = CPyIter_Send(cpy_r_r151, cpy_r_arg); + CPy_DECREF(cpy_r_r151); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r152 == NULL) goto CPyL130; + cpy_r_r138 = cpy_r_r152; + goto CPyL111; +CPyL130: ; + cpy_r_r153 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r153 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 58, CPyStatic_overloaded___globals); + goto CPyL161; + } + cpy_r_r135 = cpy_r_r153; +CPyL132: ; + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r2)->___mypyc_next_label__ = -1; + CPy_DECREF_NO_IMM(cpy_r_r2); + if (cpy_r_stop_iter_ptr != NULL) goto CPyL136; + CPyGen_SetStopIterationValue(cpy_r_r135); + CPy_DECREF(cpy_r_r135); + if (!0) goto CPyL141; + CPy_Unreachable(); +CPyL136: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r135; + return 0; +CPyL137: ; + cpy_r_r155 = cpy_r_r3 == 0; + if (cpy_r_r155) { + goto CPyL185; + } else + goto CPyL186; +CPyL138: ; + cpy_r_r156 = cpy_r_r3 == 1; + if (cpy_r_r156) { + goto CPyL112; + } else + goto CPyL187; +CPyL139: ; + PyErr_SetNone(PyExc_StopIteration); + cpy_r_r157 = 0; + if (unlikely(!cpy_r_r157)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 23, CPyStatic_overloaded___globals); + goto CPyL141; + } + CPy_Unreachable(); +CPyL141: ; + cpy_r_r158 = NULL; + return cpy_r_r158; +CPyL142: ; + CPy_XDecRef(cpy_r_r1); + goto CPyL141; +CPyL143: ; + CPy_XDecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r2); + goto CPyL141; +CPyL144: ; + CPy_DECREF_NO_IMM(cpy_r_r2); + CPy_DECREF_NO_IMM(cpy_r_r4); + goto CPyL3; +CPyL145: ; + CPy_DecRef(cpy_r_r7); + goto CPyL9; +CPyL146: ; + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r8); + goto CPyL9; +CPyL147: ; + CPy_DECREF_NO_IMM(cpy_r_r4); + goto CPyL63; +CPyL148: ; + CPy_DecRef(cpy_r_r4); + goto CPyL60; +CPyL149: ; + CPy_DecRef(cpy_r_r4); + goto CPyL58; +CPyL150: ; + CPy_DecRef(cpy_r_r30); + goto CPyL60; +CPyL151: ; + CPy_DecRef(cpy_r_r40.f0); + CPy_DecRef(cpy_r_r40.f1); + goto CPyL60; +CPyL152: ; + CPy_DecRef(cpy_r_r42); + goto CPyL60; +CPyL153: ; + CPy_DecRef(cpy_r_r49); + goto CPyL60; +CPyL154: ; + CPy_DecRef(cpy_r_r60); + goto CPyL60; +CPyL155: ; + CPy_DecRef(cpy_r_r63); + goto CPyL60; +CPyL156: ; + CPy_DecRef(cpy_r_r63); + CPy_DecRef(cpy_r_r65); + goto CPyL60; +CPyL157: ; + CPy_DecRef(cpy_r_r69); + goto CPyL60; +CPyL158: ; + CPy_DecRef(cpy_r_r2); + goto CPyL55; +CPyL159: ; + CPy_DecRef(cpy_r_r2); + goto CPyL57; +CPyL160: ; + CPy_DecRef(cpy_r_r2); + goto CPyL59; +CPyL161: ; + CPy_DecRef(cpy_r_r2); + goto CPyL141; +CPyL162: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r79); + goto CPyL141; +CPyL163: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r79); + CPy_DecRef(cpy_r_r81); + goto CPyL141; +CPyL164: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r88); + goto CPyL141; +CPyL165: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r96); + goto CPyL141; +CPyL166: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r98.f2); + CPy_DecRef(cpy_r_r98.f3); + goto CPyL141; +CPyL167: ; + CPy_DECREF(cpy_r_r98.f2); + CPy_DECREF(cpy_r_r98.f3); + goto CPyL95; +CPyL168: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r103); + goto CPyL141; +CPyL169: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r104); + goto CPyL141; +CPyL170: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r105); + goto CPyL141; +CPyL171: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r111); + goto CPyL141; +CPyL172: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r111); + CPy_DecRef(cpy_r_r113); + goto CPyL141; +CPyL173: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r117); + goto CPyL141; +CPyL174: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r123); + goto CPyL141; +CPyL175: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r123); + CPy_DecRef(cpy_r_r124); + goto CPyL141; +CPyL176: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r124); + CPy_DecRef(cpy_r_r125); + goto CPyL141; +CPyL177: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r124); + CPy_DecRef(cpy_r_r127); + goto CPyL141; +CPyL178: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r135); + goto CPyL141; +CPyL179: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL115; +CPyL180: ; + CPy_XDECREF(cpy_r_r1); + CPy_DECREF_NO_IMM(cpy_r_r2); + goto CPyL114; +CPyL181: ; + CPy_XDecRef(cpy_r_r1); + goto CPyL124; +CPyL182: ; + CPy_DecRef(cpy_r_r138); + goto CPyL124; +CPyL183: ; + CPy_DecRef(cpy_r_r135); + goto CPyL124; +CPyL184: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_arg); + goto CPyL141; +CPyL185: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL2; +CPyL186: ; + CPy_DECREF_NO_IMM(cpy_r_r4); + goto CPyL138; +CPyL187: ; + CPy_XDECREF(cpy_r_r1); + CPy_DECREF_NO_IMM(cpy_r_r2); + goto CPyL139; +} + +PyObject *CPyDef_overloaded___coroutine_gen___3_23_____next__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_overloaded___coroutine_gen___3_23_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_r0, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_overloaded___coroutine_gen___3_23_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__next__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_overloaded___coroutine_gen___3_23)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.overloaded.coroutine_gen___23", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_overloaded___coroutine_gen___3_23_____next__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "__next__", -1, CPyStatic_overloaded___globals); + return NULL; +} + +PyObject *CPyDef_overloaded___coroutine_gen___3_23___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_overloaded___coroutine_gen___3_23_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_arg, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_overloaded___coroutine_gen___3_23___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"arg", 0}; + static CPyArg_Parser parser = {"O:send", kwlist, 0}; + PyObject *obj_arg; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_arg)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_overloaded___coroutine_gen___3_23)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.overloaded.coroutine_gen___23", obj___mypyc_self__); + goto fail; + } + PyObject *arg_arg = obj_arg; + PyObject *retval = CPyDef_overloaded___coroutine_gen___3_23___send(arg___mypyc_self__, arg_arg); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "send", -1, CPyStatic_overloaded___globals); + return NULL; +} + +PyObject *CPyDef_overloaded___coroutine_gen___3_23_____iter__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_overloaded___coroutine_gen___3_23_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_overloaded___coroutine_gen___3_23)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.overloaded.coroutine_gen___23", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_overloaded___coroutine_gen___3_23_____iter__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "__iter__", -1, CPyStatic_overloaded___globals); + return NULL; +} + +PyObject *CPyDef_overloaded___coroutine_gen___3_23___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + if (cpy_r_value != NULL) goto CPyL7; + CPy_INCREF(cpy_r_r0); + cpy_r_value = cpy_r_r0; +CPyL2: ; + if (cpy_r_traceback != NULL) goto CPyL8; + CPy_INCREF(cpy_r_r0); + cpy_r_traceback = cpy_r_r0; +CPyL4: ; + cpy_r_r1 = CPyDef_overloaded___coroutine_gen___3_23_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_type, cpy_r_value, cpy_r_traceback, cpy_r_r0, 0); + CPy_DECREF(cpy_r_value); + CPy_DECREF(cpy_r_traceback); + if (cpy_r_r1 == NULL) goto CPyL6; + return cpy_r_r1; +CPyL6: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +CPyL7: ; + CPy_INCREF(cpy_r_value); + goto CPyL2; +CPyL8: ; + CPy_INCREF(cpy_r_traceback); + goto CPyL4; +} + +PyObject *CPyPy_overloaded___coroutine_gen___3_23___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"type", "value", "traceback", 0}; + static CPyArg_Parser parser = {"O|OO:throw", kwlist, 0}; + PyObject *obj_type; + PyObject *obj_value = NULL; + PyObject *obj_traceback = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type, &obj_value, &obj_traceback)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_overloaded___coroutine_gen___3_23)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.overloaded.coroutine_gen___23", obj___mypyc_self__); + goto fail; + } + PyObject *arg_type = obj_type; + PyObject *arg_value; + if (obj_value == NULL) { + arg_value = NULL; + } else { + arg_value = obj_value; + } + PyObject *arg_traceback; + if (obj_traceback == NULL) { + arg_traceback = NULL; + } else { + arg_traceback = obj_traceback; + } + PyObject *retval = CPyDef_overloaded___coroutine_gen___3_23___throw(arg___mypyc_self__, arg_type, arg_value, arg_traceback); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "throw", -1, CPyStatic_overloaded___globals); + return NULL; +} + +PyObject *CPyDef_overloaded___coroutine_gen___3_23___close(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[17]; /* 'GeneratorExit' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = CPyDef_overloaded___coroutine_gen___3_23___throw(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r3, cpy_r_r4); + if (cpy_r_r5 != NULL) goto CPyL11; +CPyL3: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyModule_builtins; + cpy_r_r8 = CPyStatics[18]; /* 'StopIteration' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL12; + cpy_r_r10.f0 = cpy_r_r2; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp169 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp169); + PyObject *__tmp170 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp170); + cpy_r_r12 = CPy_ExceptionMatches(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (!cpy_r_r12) goto CPyL13; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + cpy_r_r13 = (PyObject *)&_Py_NoneStruct; + CPy_INCREF(cpy_r_r13); + return cpy_r_r13; +CPyL6: ; + CPy_Reraise(); + if (!0) goto CPyL10; + CPy_Unreachable(); +CPyL8: ; + PyErr_SetString(PyExc_RuntimeError, "generator ignored GeneratorExit"); + cpy_r_r14 = 0; + if (!cpy_r_r14) goto CPyL10; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL11: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r5); + goto CPyL8; +CPyL12: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL10; +CPyL13: ; + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL6; +} + +PyObject *CPyPy_overloaded___coroutine_gen___3_23___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":close", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_overloaded___coroutine_gen___3_23)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.overloaded.coroutine_gen___23", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_overloaded___coroutine_gen___3_23___close(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "close", -1, CPyStatic_overloaded___globals); + return NULL; +} + +PyObject *CPyDef_overloaded___coroutine_gen___3_23_____await__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_overloaded___coroutine_gen___3_23_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__await__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_overloaded___coroutine_gen___3_23)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.overloaded.coroutine_gen___23", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_overloaded___coroutine_gen___3_23_____await__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "__await__", -1, CPyStatic_overloaded___globals); + return NULL; +} + +PyObject *CPyDef_overloaded___coroutine__patch_overloaded_method_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_args, PyObject *cpy_r_block_identifier, PyObject *cpy_r_decimals, PyObject *cpy_r_override) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + char cpy_r_r6; + char cpy_r_r7; + char cpy_r_r8; + char cpy_r_r9; + char cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + char cpy_r_r13; + PyObject *cpy_r_r14; + cpy_r_r0 = ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *)cpy_r___mypyc_self__)->___mypyc_env__; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "coroutine", "coroutine__patch_overloaded_method_obj", "__mypyc_env__", 23, CPyStatic_overloaded___globals); + goto CPyL17; + } + CPy_INCREF_NO_IMM(cpy_r_r0); +CPyL1: ; + if (cpy_r_block_identifier != NULL) goto CPyL18; + cpy_r_r1 = Py_None; + cpy_r_block_identifier = cpy_r_r1; +CPyL3: ; + if (cpy_r_decimals != NULL) goto CPyL19; + cpy_r_r2 = Py_None; + cpy_r_decimals = cpy_r_r2; +CPyL5: ; + if (cpy_r_override != NULL) goto CPyL20; + cpy_r_r3 = Py_None; + cpy_r_override = cpy_r_r3; +CPyL7: ; + cpy_r_r4 = CPyDef_overloaded___coroutine__patch_overloaded_method_env(); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 23, CPyStatic_overloaded___globals); + goto CPyL21; + } + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_env__); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_env__ = cpy_r_r0; + cpy_r_r5 = 1; + if (unlikely(!cpy_r_r5)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 23, CPyStatic_overloaded___globals); + goto CPyL22; + } + CPy_INCREF(cpy_r_self); + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__self != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__self); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__self = cpy_r_self; + cpy_r_r6 = 1; + if (unlikely(!cpy_r_r6)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 23, CPyStatic_overloaded___globals); + goto CPyL22; + } + CPy_INCREF(cpy_r_args); + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__args != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__args); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__args = cpy_r_args; + cpy_r_r7 = 1; + if (unlikely(!cpy_r_r7)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 23, CPyStatic_overloaded___globals); + goto CPyL22; + } + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__block_identifier != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__block_identifier); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__block_identifier = cpy_r_block_identifier; + cpy_r_r8 = 1; + if (unlikely(!cpy_r_r8)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 23, CPyStatic_overloaded___globals); + goto CPyL23; + } + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__decimals != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__decimals); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__decimals = cpy_r_decimals; + cpy_r_r9 = 1; + if (unlikely(!cpy_r_r9)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 23, CPyStatic_overloaded___globals); + goto CPyL24; + } + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__override != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__override); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_generator_attribute__override = cpy_r_override; + cpy_r_r10 = 1; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 23, CPyStatic_overloaded___globals); + goto CPyL25; + } + cpy_r_r11 = CPyDef_overloaded___coroutine_gen___3_23(); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 23, CPyStatic_overloaded___globals); + goto CPyL25; + } + CPy_INCREF_NO_IMM(cpy_r_r4); + if (((dank_mids___brownie_patch___overloaded___coroutine_gen___3_23Object *)cpy_r_r11)->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___brownie_patch___overloaded___coroutine_gen___3_23Object *)cpy_r_r11)->___mypyc_env__); + } + ((dank_mids___brownie_patch___overloaded___coroutine_gen___3_23Object *)cpy_r_r11)->___mypyc_env__ = cpy_r_r4; + cpy_r_r12 = 1; + if (unlikely(!cpy_r_r12)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 23, CPyStatic_overloaded___globals); + goto CPyL26; + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *)cpy_r_r4)->___mypyc_next_label__ = 0; + CPy_DECREF_NO_IMM(cpy_r_r4); + return cpy_r_r11; +CPyL17: ; + cpy_r_r14 = NULL; + return cpy_r_r14; +CPyL18: ; + CPy_INCREF(cpy_r_block_identifier); + goto CPyL3; +CPyL19: ; + CPy_INCREF(cpy_r_decimals); + goto CPyL5; +CPyL20: ; + CPy_INCREF(cpy_r_override); + goto CPyL7; +CPyL21: ; + CPy_DecRef(cpy_r_block_identifier); + CPy_DecRef(cpy_r_decimals); + CPy_DecRef(cpy_r_override); + CPy_DecRef(cpy_r_r0); + goto CPyL17; +CPyL22: ; + CPy_DecRef(cpy_r_block_identifier); + CPy_DecRef(cpy_r_decimals); + CPy_DecRef(cpy_r_override); + CPy_DecRef(cpy_r_r4); + goto CPyL17; +CPyL23: ; + CPy_DecRef(cpy_r_decimals); + CPy_DecRef(cpy_r_override); + CPy_DecRef(cpy_r_r4); + goto CPyL17; +CPyL24: ; + CPy_DecRef(cpy_r_override); + CPy_DecRef(cpy_r_r4); + goto CPyL17; +CPyL25: ; + CPy_DecRef(cpy_r_r4); + goto CPyL17; +CPyL26: ; + CPy_DecRef(cpy_r_r4); + CPy_DecRef(cpy_r_r11); + goto CPyL17; +} + +PyObject *CPyPy_overloaded___coroutine__patch_overloaded_method_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"self", "block_identifier", "decimals", "override", 0}; + static CPyArg_Parser parser = {"%O|$OOO:__call__", kwlist, 0}; + PyObject *obj_self; + PyObject *obj_args; + PyObject *obj_block_identifier = NULL; + PyObject *obj_decimals = NULL; + PyObject *obj_override = NULL; + if (!CPyArg_ParseStackAndKeywords(args, PyVectorcall_NARGS(nargs), kwnames, &parser, &obj_args, NULL, &obj_self, &obj_block_identifier, &obj_decimals, &obj_override)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_self = obj_self; + PyObject *arg_args = obj_args; + PyObject *arg_block_identifier; + if (obj_block_identifier == NULL) { + arg_block_identifier = NULL; + goto __LL171; + } + if (PyLong_Check(obj_block_identifier)) + arg_block_identifier = obj_block_identifier; + else { + arg_block_identifier = NULL; + } + if (arg_block_identifier != NULL) goto __LL171; + if (PyUnicode_Check(obj_block_identifier)) + arg_block_identifier = obj_block_identifier; + else { + arg_block_identifier = NULL; + } + if (arg_block_identifier != NULL) goto __LL171; + if (PyBytes_Check(obj_block_identifier) || PyByteArray_Check(obj_block_identifier)) + arg_block_identifier = obj_block_identifier; + else { + arg_block_identifier = NULL; + } + if (arg_block_identifier != NULL) goto __LL171; + if (obj_block_identifier == Py_None) + arg_block_identifier = obj_block_identifier; + else { + arg_block_identifier = NULL; + } + if (arg_block_identifier != NULL) goto __LL171; + CPy_TypeError("union[int, str, bytes, None]", obj_block_identifier); + goto fail; +__LL171: ; + PyObject *arg_decimals; + if (obj_decimals == NULL) { + arg_decimals = NULL; + goto __LL172; + } + if (PyLong_Check(obj_decimals)) + arg_decimals = obj_decimals; + else { + arg_decimals = NULL; + } + if (arg_decimals != NULL) goto __LL172; + if (obj_decimals == Py_None) + arg_decimals = obj_decimals; + else { + arg_decimals = NULL; + } + if (arg_decimals != NULL) goto __LL172; + CPy_TypeError("int or None", obj_decimals); + goto fail; +__LL172: ; + PyObject *arg_override; + if (obj_override == NULL) { + arg_override = NULL; + goto __LL173; + } + if (PyDict_Check(obj_override)) + arg_override = obj_override; + else { + arg_override = NULL; + } + if (arg_override != NULL) goto __LL173; + if (obj_override == Py_None) + arg_override = obj_override; + else { + arg_override = NULL; + } + if (arg_override != NULL) goto __LL173; + CPy_TypeError("dict or None", obj_override); + goto fail; +__LL173: ; + PyObject *retval = CPyDef_overloaded___coroutine__patch_overloaded_method_obj_____call__(arg___mypyc_self__, arg_self, arg_args, arg_block_identifier, arg_decimals, arg_override); + CPy_DECREF(obj_args); + return retval; +fail: ; + CPy_DECREF(obj_args); + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "coroutine", 23, CPyStatic_overloaded___globals); + return NULL; +} + +char CPyDef_overloaded____patch_overloaded_method(PyObject *cpy_r_call, PyObject *cpy_r_w3) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject **cpy_r_r9; + PyObject *cpy_r_r10; + PyObject **cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + int32_t cpy_r_r16; + char cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject **cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + tuple_T2OO cpy_r_r35; + PyObject *cpy_r_r36; + int32_t cpy_r_r37; + char cpy_r_r38; + char cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + int32_t cpy_r_r46; + char cpy_r_r47; + char cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + int32_t cpy_r_r51; + char cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + CPyTagged cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + PyObject **cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject **cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + int32_t cpy_r_r72; + char cpy_r_r73; + char cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + PyObject *cpy_r_r77; + PyObject *cpy_r_r78; + PyObject **cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + int32_t cpy_r_r84; + char cpy_r_r85; + char cpy_r_r86; + cpy_r_r0 = CPyDef_overloaded____patch_overloaded_method_env(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 11, CPyStatic_overloaded___globals); + goto CPyL39; + } + CPy_INCREF(cpy_r_call); + if (((dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *)cpy_r_r0)->_call != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *)cpy_r_r0)->_call); + } + ((dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *)cpy_r_r0)->_call = cpy_r_call; + cpy_r_r1 = 1; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 11, CPyStatic_overloaded___globals); + goto CPyL40; + } + cpy_r_r2 = CPyDef_overloaded___coroutine__patch_overloaded_method_obj(); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 23, CPyStatic_overloaded___globals); + goto CPyL40; + } + CPy_INCREF_NO_IMM(cpy_r_r0); + if (((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *)cpy_r_r2)->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *)cpy_r_r2)->___mypyc_env__); + } + ((dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *)cpy_r_r2)->___mypyc_env__ = cpy_r_r0; + cpy_r_r3 = 1; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 23, CPyStatic_overloaded___globals); + goto CPyL41; + } + cpy_r_r4 = ((dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *)cpy_r_r0)->_call; + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", "_patch_overloaded_method_env", "call", 22, CPyStatic_overloaded___globals); + goto CPyL41; + } + CPy_INCREF(cpy_r_r4); +CPyL5: ; + cpy_r_r5 = CPyStatic_overloaded___globals; + cpy_r_r6 = CPyStatics[500]; /* 'wraps' */ + cpy_r_r7 = CPyDict_GetItem(cpy_r_r5, cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 22, CPyStatic_overloaded___globals); + goto CPyL42; + } + PyObject *cpy_r_r8[1] = {cpy_r_r4}; + cpy_r_r9 = (PyObject **)&cpy_r_r8; + cpy_r_r10 = PyObject_Vectorcall(cpy_r_r7, cpy_r_r9, 1, 0); + CPy_DECREF(cpy_r_r7); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 22, CPyStatic_overloaded___globals); + goto CPyL42; + } + CPy_DECREF(cpy_r_r4); + PyObject *cpy_r_r11[1] = {cpy_r_r2}; + cpy_r_r12 = (PyObject **)&cpy_r_r11; + cpy_r_r13 = PyObject_Vectorcall(cpy_r_r10, cpy_r_r12, 1, 0); + CPy_DECREF(cpy_r_r10); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 23, CPyStatic_overloaded___globals); + goto CPyL41; + } + CPy_DECREF_NO_IMM(cpy_r_r2); + CPy_INCREF(cpy_r_r13); + cpy_r_r14 = CPyStatic_overloaded___globals; + cpy_r_r15 = CPyStatics[369]; /* 'coroutine' */ + cpy_r_r16 = PyDict_SetItem(cpy_r_r14, cpy_r_r15, cpy_r_r13); + CPy_DECREF(cpy_r_r13); + cpy_r_r17 = cpy_r_r16 >= 0; + if (unlikely(!cpy_r_r17)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 23, CPyStatic_overloaded___globals); + goto CPyL43; + } + cpy_r_r18 = ((dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *)cpy_r_r0)->_call; + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", "_patch_overloaded_method_env", "call", 60, CPyStatic_overloaded___globals); + goto CPyL43; + } + CPy_INCREF(cpy_r_r18); +CPyL10: ; + cpy_r_r19 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r20 = CPyObject_GetAttr(cpy_r_r18, cpy_r_r19); + CPy_DECREF(cpy_r_r18); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 60, CPyStatic_overloaded___globals); + goto CPyL43; + } + cpy_r_r21 = CPyStatics[501]; /* 'methods' */ + cpy_r_r22 = PyObject_GetItem(cpy_r_r20, cpy_r_r21); + CPy_DECREF(cpy_r_r20); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 60, CPyStatic_overloaded___globals); + goto CPyL43; + } + cpy_r_r23 = CPyStatics[502]; /* 'values' */ + PyObject *cpy_r_r24[1] = {cpy_r_r22}; + cpy_r_r25 = (PyObject **)&cpy_r_r24; + cpy_r_r26 = PyObject_VectorcallMethod(cpy_r_r23, cpy_r_r25, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 60, CPyStatic_overloaded___globals); + goto CPyL44; + } + CPy_DECREF(cpy_r_r22); + cpy_r_r27 = PyObject_GetIter(cpy_r_r26); + CPy_DECREF(cpy_r_r26); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 60, CPyStatic_overloaded___globals); + goto CPyL43; + } +CPyL14: ; + cpy_r_r28 = PyIter_Next(cpy_r_r27); + if (cpy_r_r28 == NULL) goto CPyL45; + cpy_r_r29 = CPyStatic_overloaded___globals; + cpy_r_r30 = CPyStatics[437]; /* 'ContractCall' */ + cpy_r_r31 = CPyDict_GetItem(cpy_r_r29, cpy_r_r30); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 61, CPyStatic_overloaded___globals); + goto CPyL46; + } + cpy_r_r32 = CPyStatic_overloaded___globals; + cpy_r_r33 = CPyStatics[503]; /* 'ContractTx' */ + cpy_r_r34 = CPyDict_GetItem(cpy_r_r32, cpy_r_r33); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 61, CPyStatic_overloaded___globals); + goto CPyL47; + } + cpy_r_r35.f0 = cpy_r_r31; + cpy_r_r35.f1 = cpy_r_r34; + cpy_r_r36 = PyTuple_New(2); + if (unlikely(cpy_r_r36 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp174 = cpy_r_r35.f0; + PyTuple_SET_ITEM(cpy_r_r36, 0, __tmp174); + PyObject *__tmp175 = cpy_r_r35.f1; + PyTuple_SET_ITEM(cpy_r_r36, 1, __tmp175); + cpy_r_r37 = PyObject_IsInstance(cpy_r_r28, cpy_r_r36); + CPy_DECREF(cpy_r_r36); + cpy_r_r38 = cpy_r_r37 >= 0; + if (unlikely(!cpy_r_r38)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 61, CPyStatic_overloaded___globals); + goto CPyL46; + } + cpy_r_r39 = cpy_r_r37; + if (!cpy_r_r39) goto CPyL48; + cpy_r_r40 = CPyStatics[364]; /* '_address' */ + cpy_r_r41 = CPyObject_GetAttr(cpy_r_r28, cpy_r_r40); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 62, CPyStatic_overloaded___globals); + goto CPyL46; + } + cpy_r_r42 = CPyStatic_overloaded___globals; + cpy_r_r43 = CPyStatics[365]; /* '_skip_proc_pool' */ + cpy_r_r44 = CPyDict_GetItem(cpy_r_r42, cpy_r_r43); + if (unlikely(cpy_r_r44 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 62, CPyStatic_overloaded___globals); + goto CPyL49; + } + if (likely(PySet_Check(cpy_r_r44))) + cpy_r_r45 = cpy_r_r44; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 62, CPyStatic_overloaded___globals, "set", cpy_r_r44); + goto CPyL49; + } + cpy_r_r46 = PySet_Contains(cpy_r_r45, cpy_r_r41); + CPy_DECREF(cpy_r_r45); + CPy_DECREF(cpy_r_r41); + cpy_r_r47 = cpy_r_r46 >= 0; + if (unlikely(!cpy_r_r47)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 62, CPyStatic_overloaded___globals); + goto CPyL46; + } + cpy_r_r48 = cpy_r_r46; + cpy_r_r49 = CPyStatics[366]; /* '_skip_decoder_proc_pool' */ + cpy_r_r50 = cpy_r_r48 ? Py_True : Py_False; + cpy_r_r51 = PyObject_SetAttr(cpy_r_r28, cpy_r_r49, cpy_r_r50); + cpy_r_r52 = cpy_r_r51 >= 0; + if (unlikely(!cpy_r_r52)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 62, CPyStatic_overloaded___globals); + goto CPyL46; + } + cpy_r_r53 = CPyStatics[330]; /* 'abi' */ + cpy_r_r54 = CPyObject_GetAttr(cpy_r_r28, cpy_r_r53); + if (unlikely(cpy_r_r54 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 63, CPyStatic_overloaded___globals); + goto CPyL46; + } + cpy_r_r55 = CPyStatics[340]; /* 'inputs' */ + cpy_r_r56 = PyObject_GetItem(cpy_r_r54, cpy_r_r55); + CPy_DECREF(cpy_r_r54); + if (unlikely(cpy_r_r56 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 63, CPyStatic_overloaded___globals); + goto CPyL46; + } + cpy_r_r57 = CPyObject_Size(cpy_r_r56); + CPy_DECREF(cpy_r_r56); + if (unlikely(cpy_r_r57 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 63, CPyStatic_overloaded___globals); + goto CPyL46; + } + cpy_r_r58 = CPyStatic_overloaded___globals; + cpy_r_r59 = CPyStatics[367]; /* '_get_coroutine_fn' */ + cpy_r_r60 = CPyDict_GetItem(cpy_r_r58, cpy_r_r59); + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 63, CPyStatic_overloaded___globals); + goto CPyL50; + } + cpy_r_r61 = CPyTagged_StealAsObject(cpy_r_r57); + PyObject *cpy_r_r62[2] = {cpy_r_w3, cpy_r_r61}; + cpy_r_r63 = (PyObject **)&cpy_r_r62; + cpy_r_r64 = PyObject_Vectorcall(cpy_r_r60, cpy_r_r63, 2, 0); + CPy_DECREF(cpy_r_r60); + if (unlikely(cpy_r_r64 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 63, CPyStatic_overloaded___globals); + goto CPyL51; + } + CPy_DECREF(cpy_r_r61); + cpy_r_r65 = CPyStatic_overloaded___globals; + cpy_r_r66 = CPyStatics[368]; /* 'MethodType' */ + cpy_r_r67 = CPyDict_GetItem(cpy_r_r65, cpy_r_r66); + if (unlikely(cpy_r_r67 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 63, CPyStatic_overloaded___globals); + goto CPyL52; + } + PyObject *cpy_r_r68[2] = {cpy_r_r64, cpy_r_r28}; + cpy_r_r69 = (PyObject **)&cpy_r_r68; + cpy_r_r70 = PyObject_Vectorcall(cpy_r_r67, cpy_r_r69, 2, 0); + CPy_DECREF(cpy_r_r67); + if (unlikely(cpy_r_r70 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 63, CPyStatic_overloaded___globals); + goto CPyL52; + } + CPy_DECREF(cpy_r_r64); + cpy_r_r71 = CPyStatics[369]; /* 'coroutine' */ + cpy_r_r72 = PyObject_SetAttr(cpy_r_r28, cpy_r_r71, cpy_r_r70); + CPy_DECREF(cpy_r_r28); + CPy_DECREF(cpy_r_r70); + cpy_r_r73 = cpy_r_r72 >= 0; + if (unlikely(!cpy_r_r73)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 63, CPyStatic_overloaded___globals); + goto CPyL53; + } else + goto CPyL14; +CPyL32: ; + cpy_r_r74 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r74)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 60, CPyStatic_overloaded___globals); + goto CPyL43; + } + cpy_r_r75 = ((dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *)cpy_r_r0)->_call; + if (unlikely(cpy_r_r75 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", "_patch_overloaded_method_env", "call", 68, CPyStatic_overloaded___globals); + goto CPyL43; + } + CPy_INCREF(cpy_r_r75); +CPyL34: ; + cpy_r_r76 = CPyStatic_overloaded___globals; + cpy_r_r77 = CPyStatics[368]; /* 'MethodType' */ + cpy_r_r78 = CPyDict_GetItem(cpy_r_r76, cpy_r_r77); + if (unlikely(cpy_r_r78 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 68, CPyStatic_overloaded___globals); + goto CPyL54; + } + PyObject *cpy_r_r79[2] = {cpy_r_r13, cpy_r_r75}; + cpy_r_r80 = (PyObject **)&cpy_r_r79; + cpy_r_r81 = PyObject_Vectorcall(cpy_r_r78, cpy_r_r80, 2, 0); + CPy_DECREF(cpy_r_r78); + if (unlikely(cpy_r_r81 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 68, CPyStatic_overloaded___globals); + goto CPyL54; + } + CPy_DECREF(cpy_r_r13); + CPy_DECREF(cpy_r_r75); + cpy_r_r82 = ((dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *)cpy_r_r0)->_call; + if (unlikely(cpy_r_r82 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute 'call' of '_patch_overloaded_method_env' undefined"); + } else { + CPy_INCREF(cpy_r_r82); + } + CPy_DECREF_NO_IMM(cpy_r_r0); + if (unlikely(cpy_r_r82 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 68, CPyStatic_overloaded___globals); + goto CPyL55; + } +CPyL37: ; + cpy_r_r83 = CPyStatics[369]; /* 'coroutine' */ + cpy_r_r84 = PyObject_SetAttr(cpy_r_r82, cpy_r_r83, cpy_r_r81); + CPy_DECREF(cpy_r_r82); + CPy_DECREF(cpy_r_r81); + cpy_r_r85 = cpy_r_r84 >= 0; + if (unlikely(!cpy_r_r85)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 68, CPyStatic_overloaded___globals); + goto CPyL39; + } + return 1; +CPyL39: ; + cpy_r_r86 = 2; + return cpy_r_r86; +CPyL40: ; + CPy_DecRef(cpy_r_r0); + goto CPyL39; +CPyL41: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r2); + goto CPyL39; +CPyL42: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r4); + goto CPyL39; +CPyL43: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r13); + goto CPyL39; +CPyL44: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r22); + goto CPyL39; +CPyL45: ; + CPy_DECREF(cpy_r_r27); + goto CPyL32; +CPyL46: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r27); + CPy_DecRef(cpy_r_r28); + goto CPyL39; +CPyL47: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r27); + CPy_DecRef(cpy_r_r28); + CPy_DecRef(cpy_r_r31); + goto CPyL39; +CPyL48: ; + CPy_DECREF(cpy_r_r28); + goto CPyL14; +CPyL49: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r27); + CPy_DecRef(cpy_r_r28); + CPy_DecRef(cpy_r_r41); + goto CPyL39; +CPyL50: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r27); + CPy_DecRef(cpy_r_r28); + CPyTagged_DecRef(cpy_r_r57); + goto CPyL39; +CPyL51: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r27); + CPy_DecRef(cpy_r_r28); + CPy_DecRef(cpy_r_r61); + goto CPyL39; +CPyL52: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r27); + CPy_DecRef(cpy_r_r28); + CPy_DecRef(cpy_r_r64); + goto CPyL39; +CPyL53: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r27); + goto CPyL39; +CPyL54: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r75); + goto CPyL39; +CPyL55: ; + CPy_DecRef(cpy_r_r81); + goto CPyL39; +} + +PyObject *CPyPy_overloaded____patch_overloaded_method(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"call", "w3", 0}; + static CPyArg_Parser parser = {"OO:_patch_overloaded_method", kwlist, 0}; + PyObject *obj_call; + PyObject *obj_w3; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_call, &obj_w3)) { + return NULL; + } + PyObject *arg_call = obj_call; + PyObject *arg_w3 = obj_w3; + char retval = CPyDef_overloaded____patch_overloaded_method(arg_call, arg_w3); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "_patch_overloaded_method", 11, CPyStatic_overloaded___globals); + return NULL; +} + +char CPyDef_overloaded_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + char cpy_r_r33; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "", -1, CPyStatic_overloaded___globals); + goto CPyL11; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[997]; /* ('wraps',) */ + cpy_r_r6 = CPyStatics[504]; /* 'functools' */ + cpy_r_r7 = CPyStatic_overloaded___globals; + cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "", 1, CPyStatic_overloaded___globals); + goto CPyL11; + } + CPyModule_functools = cpy_r_r8; + CPy_INCREF(CPyModule_functools); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[974]; /* ('MethodType',) */ + cpy_r_r10 = CPyStatics[267]; /* 'types' */ + cpy_r_r11 = CPyStatic_overloaded___globals; + cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "", 2, CPyStatic_overloaded___globals); + goto CPyL11; + } + CPyModule_types = cpy_r_r12; + CPy_INCREF(CPyModule_types); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = CPyStatics[998]; /* ('Any', 'Dict', 'Optional', 'Union') */ + cpy_r_r14 = CPyStatics[40]; /* 'typing' */ + cpy_r_r15 = CPyStatic_overloaded___globals; + cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "", 3, CPyStatic_overloaded___globals); + goto CPyL11; + } + CPyModule_typing = cpy_r_r16; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r16); + cpy_r_r17 = CPyStatics[999]; /* ('Contract',) */ + cpy_r_r18 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r19 = CPyStatic_overloaded___globals; + cpy_r_r20 = CPyImport_ImportFromMany(cpy_r_r18, cpy_r_r17, cpy_r_r17, cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "", 5, CPyStatic_overloaded___globals); + goto CPyL11; + } + CPyModule_brownie = cpy_r_r20; + CPy_INCREF(CPyModule_brownie); + CPy_DECREF(cpy_r_r20); + cpy_r_r21 = CPyStatics[1000]; /* ('ContractCall', 'ContractTx', 'OverloadedMethod') */ + cpy_r_r22 = CPyStatics[432]; /* '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); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "", 6, CPyStatic_overloaded___globals); + goto CPyL11; + } + CPyModule_brownie___network___contract = cpy_r_r24; + CPy_INCREF(CPyModule_brownie___network___contract); + CPy_DECREF(cpy_r_r24); + cpy_r_r25 = CPyStatics[1001]; /* ('_get_coroutine_fn', '_skip_proc_pool') */ + cpy_r_r26 = CPyStatics[506]; /* '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); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "", 7, CPyStatic_overloaded___globals); + goto CPyL11; + } + 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[960]; /* ('DankWeb3',) */ + cpy_r_r30 = CPyStatics[319]; /* 'dank_mids.helpers._helpers' */ + cpy_r_r31 = CPyStatic_overloaded___globals; + cpy_r_r32 = CPyImport_ImportFromMany(cpy_r_r30, cpy_r_r29, cpy_r_r29, cpy_r_r31); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\overloaded.py", "", 8, CPyStatic_overloaded___globals); + goto CPyL11; + } + CPyModule_dank_mids___helpers____helpers = cpy_r_r32; + CPy_INCREF(CPyModule_dank_mids___helpers____helpers); + CPy_DECREF(cpy_r_r32); + return 1; +CPyL11: ; + cpy_r_r33 = 2; + return cpy_r_r33; +} + +PyObject *CPyDef_types_____mypyc__DankContractCall_setup(PyObject *cpy_r_type); +PyObject *CPyDef_types___DankContractCall(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); + +static PyObject * +types___DankContractCall_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_types___DankContractCall) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_types_____mypyc__DankContractCall_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +types___DankContractCall_traverse(dank_mids___brownie_patch___types___DankContractCallObject *self, visitproc visit, void *arg) +{ + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +types___DankContractCall_clear(dank_mids___brownie_patch___types___DankContractCallObject *self) +{ + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +types___DankContractCall_dealloc(dank_mids___brownie_patch___types___DankContractCallObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, types___DankContractCall_dealloc) + types___DankContractCall_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem types___DankContractCall_vtable[1]; +static bool +CPyDef_types___DankContractCall_trait_vtable_setup(void) +{ + CPyVTableItem types___DankContractCall_vtable_scratch[] = { + NULL + }; + memcpy(types___DankContractCall_vtable, types___DankContractCall_vtable_scratch, sizeof(types___DankContractCall_vtable)); + return 1; +} + + +static PyGetSetDef types___DankContractCall_getseters[] = { + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef types___DankContractCall_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_types___DankContractCall_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "DankContractCall", + .tp_new = types___DankContractCall_new, + .tp_dealloc = (destructor)types___DankContractCall_dealloc, + .tp_traverse = (traverseproc)types___DankContractCall_traverse, + .tp_clear = (inquiry)types___DankContractCall_clear, + .tp_getset = types___DankContractCall_getseters, + .tp_methods = types___DankContractCall_methods, + .tp_basicsize = sizeof(dank_mids___brownie_patch___types___DankContractCallObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("DankContractCall()\n--\n\n"), +}; +static PyTypeObject *CPyType_types___DankContractCall_template = &CPyType_types___DankContractCall_template_; + +PyObject *CPyDef_types_____mypyc__DankContractCall_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___types___DankContractCallObject *self; + self = (dank_mids___brownie_patch___types___DankContractCallObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = types___DankContractCall_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef_types___DankContractCall(PyObject *cpy_r_args, PyObject *cpy_r_kwargs) +{ + PyObject *self = CPyDef_types_____mypyc__DankContractCall_setup((PyObject *)CPyType_types___DankContractCall); + if (self == NULL) + return NULL; + int res = CPyType_types___DankContractCall->tp_init(self, cpy_r_args, cpy_r_kwargs); + if (res < 0) { + Py_DECREF(self); + return NULL; + } + return self; +} + + +PyObject *CPyDef_types_____mypyc__DankContractTx_setup(PyObject *cpy_r_type); +PyObject *CPyDef_types___DankContractTx(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); + +static PyObject * +types___DankContractTx_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_types___DankContractTx) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_types_____mypyc__DankContractTx_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +types___DankContractTx_traverse(dank_mids___brownie_patch___types___DankContractTxObject *self, visitproc visit, void *arg) +{ + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +types___DankContractTx_clear(dank_mids___brownie_patch___types___DankContractTxObject *self) +{ + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +types___DankContractTx_dealloc(dank_mids___brownie_patch___types___DankContractTxObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, types___DankContractTx_dealloc) + types___DankContractTx_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem types___DankContractTx_vtable[1]; +static bool +CPyDef_types___DankContractTx_trait_vtable_setup(void) +{ + CPyVTableItem types___DankContractTx_vtable_scratch[] = { + NULL + }; + memcpy(types___DankContractTx_vtable, types___DankContractTx_vtable_scratch, sizeof(types___DankContractTx_vtable)); + return 1; +} + + +static PyGetSetDef types___DankContractTx_getseters[] = { + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef types___DankContractTx_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_types___DankContractTx_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "DankContractTx", + .tp_new = types___DankContractTx_new, + .tp_dealloc = (destructor)types___DankContractTx_dealloc, + .tp_traverse = (traverseproc)types___DankContractTx_traverse, + .tp_clear = (inquiry)types___DankContractTx_clear, + .tp_getset = types___DankContractTx_getseters, + .tp_methods = types___DankContractTx_methods, + .tp_basicsize = sizeof(dank_mids___brownie_patch___types___DankContractTxObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("DankContractTx()\n--\n\n"), +}; +static PyTypeObject *CPyType_types___DankContractTx_template = &CPyType_types___DankContractTx_template_; + +PyObject *CPyDef_types_____mypyc__DankContractTx_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___types___DankContractTxObject *self; + self = (dank_mids___brownie_patch___types___DankContractTxObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = types___DankContractTx_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef_types___DankContractTx(PyObject *cpy_r_args, PyObject *cpy_r_kwargs) +{ + PyObject *self = CPyDef_types_____mypyc__DankContractTx_setup((PyObject *)CPyType_types___DankContractTx); + if (self == NULL) + return NULL; + int res = CPyType_types___DankContractTx->tp_init(self, cpy_r_args, cpy_r_kwargs); + if (res < 0) { + Py_DECREF(self); + return NULL; + } + return self; +} + + +PyObject *CPyDef_types_____mypyc__DankOverloadedMethod_setup(PyObject *cpy_r_type); +PyObject *CPyDef_types___DankOverloadedMethod(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); + +static PyObject * +types___DankOverloadedMethod_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_types___DankOverloadedMethod) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_types_____mypyc__DankOverloadedMethod_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +types___DankOverloadedMethod_traverse(dank_mids___brownie_patch___types___DankOverloadedMethodObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->_methods); + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +types___DankOverloadedMethod_clear(dank_mids___brownie_patch___types___DankOverloadedMethodObject *self) +{ + Py_CLEAR(self->_methods); + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +types___DankOverloadedMethod_dealloc(dank_mids___brownie_patch___types___DankOverloadedMethodObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, types___DankOverloadedMethod_dealloc) + types___DankOverloadedMethod_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem types___DankOverloadedMethod_vtable[2]; +static bool +CPyDef_types___DankOverloadedMethod_trait_vtable_setup(void) +{ + CPyVTableItem types___DankOverloadedMethod_vtable_scratch[] = { + (CPyVTableItem)CPyDef_types___DankOverloadedMethod___coroutine, + (CPyVTableItem)CPyDef_types___DankOverloadedMethod____add_fn, + }; + memcpy(types___DankOverloadedMethod_vtable, types___DankOverloadedMethod_vtable_scratch, sizeof(types___DankOverloadedMethod_vtable)); + return 1; +} + +static PyObject * +types___DankOverloadedMethod_get_methods(dank_mids___brownie_patch___types___DankOverloadedMethodObject *self, void *closure); +static int +types___DankOverloadedMethod_set_methods(dank_mids___brownie_patch___types___DankOverloadedMethodObject *self, PyObject *value, void *closure); + +static PyGetSetDef types___DankOverloadedMethod_getseters[] = { + {"methods", + (getter)types___DankOverloadedMethod_get_methods, (setter)types___DankOverloadedMethod_set_methods, + NULL, NULL}, + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef types___DankOverloadedMethod_methods[] = { + {"coroutine", + (PyCFunction)CPyPy_types___DankOverloadedMethod___coroutine, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("coroutine($self, *args, block_identifier=None, decimals=None, override=None)\n--\n\n")}, + {"_add_fn", + (PyCFunction)CPyPy_types___DankOverloadedMethod____add_fn, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_add_fn($self, abi, natspec)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_types___DankOverloadedMethod_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "DankOverloadedMethod", + .tp_new = types___DankOverloadedMethod_new, + .tp_dealloc = (destructor)types___DankOverloadedMethod_dealloc, + .tp_traverse = (traverseproc)types___DankOverloadedMethod_traverse, + .tp_clear = (inquiry)types___DankOverloadedMethod_clear, + .tp_getset = types___DankOverloadedMethod_getseters, + .tp_methods = types___DankOverloadedMethod_methods, + .tp_basicsize = sizeof(dank_mids___brownie_patch___types___DankOverloadedMethodObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("DankOverloadedMethod()\n--\n\n"), +}; +static PyTypeObject *CPyType_types___DankOverloadedMethod_template = &CPyType_types___DankOverloadedMethod_template_; + +PyObject *CPyDef_types_____mypyc__DankOverloadedMethod_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___types___DankOverloadedMethodObject *self; + self = (dank_mids___brownie_patch___types___DankOverloadedMethodObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = types___DankOverloadedMethod_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef_types___DankOverloadedMethod(PyObject *cpy_r_args, PyObject *cpy_r_kwargs) +{ + PyObject *self = CPyDef_types_____mypyc__DankOverloadedMethod_setup((PyObject *)CPyType_types___DankOverloadedMethod); + if (self == NULL) + return NULL; + int res = CPyType_types___DankOverloadedMethod->tp_init(self, cpy_r_args, cpy_r_kwargs); + if (res < 0) { + Py_DECREF(self); + return NULL; + } + return self; +} + +static PyObject * +types___DankOverloadedMethod_get_methods(dank_mids___brownie_patch___types___DankOverloadedMethodObject *self, void *closure) +{ + if (unlikely(self->_methods == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'methods' of 'DankOverloadedMethod' undefined"); + return NULL; + } + CPy_INCREF(self->_methods); + PyObject *retval = self->_methods; + return retval; +} + +static int +types___DankOverloadedMethod_set_methods(dank_mids___brownie_patch___types___DankOverloadedMethodObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'DankOverloadedMethod' object attribute 'methods' cannot be deleted"); + return -1; + } + if (self->_methods != NULL) { + CPy_DECREF(self->_methods); + } + PyObject *tmp; + if (likely(PyDict_Check(value))) + tmp = value; + else { + CPy_TypeError("dict", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_methods = tmp; + return 0; +} + +static PyAsyncMethods types___coroutine_DankOverloadedMethod_gen_as_async = { + .am_await = CPyDef_types___coroutine_DankOverloadedMethod_gen_____await__, +}; +PyObject *CPyDef_types_____mypyc__coroutine_DankOverloadedMethod_gen_setup(PyObject *cpy_r_type); +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen(void); + +static PyObject * +types___coroutine_DankOverloadedMethod_gen_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_types___coroutine_DankOverloadedMethod_gen) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_types_____mypyc__coroutine_DankOverloadedMethod_gen_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +types___coroutine_DankOverloadedMethod_gen_traverse(dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_generator_attribute__self); + Py_VISIT(self->___mypyc_generator_attribute__args); + Py_VISIT(self->___mypyc_generator_attribute__block_identifier); + Py_VISIT(self->___mypyc_generator_attribute__decimals); + Py_VISIT(self->___mypyc_generator_attribute__override); + Py_VISIT(self->___mypyc_generator_attribute__call); + Py_VISIT(self->___mypyc_temp__0); + Py_VISIT(self->___mypyc_temp__1.f0); + Py_VISIT(self->___mypyc_temp__1.f1); + Py_VISIT(self->___mypyc_temp__1.f2); + return 0; +} + +static int +types___coroutine_DankOverloadedMethod_gen_clear(dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *self) +{ + Py_CLEAR(self->___mypyc_generator_attribute__self); + Py_CLEAR(self->___mypyc_generator_attribute__args); + Py_CLEAR(self->___mypyc_generator_attribute__block_identifier); + Py_CLEAR(self->___mypyc_generator_attribute__decimals); + Py_CLEAR(self->___mypyc_generator_attribute__override); + Py_CLEAR(self->___mypyc_generator_attribute__call); + Py_CLEAR(self->___mypyc_temp__0); + Py_CLEAR(self->___mypyc_temp__1.f0); + Py_CLEAR(self->___mypyc_temp__1.f1); + Py_CLEAR(self->___mypyc_temp__1.f2); + return 0; +} + +static void +types___coroutine_DankOverloadedMethod_gen_dealloc(dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *self) +{ + PyObject_GC_UnTrack(self); + if (types___coroutine_DankOverloadedMethod_gen_free_instance == NULL) { + types___coroutine_DankOverloadedMethod_gen_free_instance = self; + Py_CLEAR(self->___mypyc_generator_attribute__self); + Py_CLEAR(self->___mypyc_generator_attribute__args); + Py_CLEAR(self->___mypyc_generator_attribute__block_identifier); + Py_CLEAR(self->___mypyc_generator_attribute__decimals); + Py_CLEAR(self->___mypyc_generator_attribute__override); + self->___mypyc_next_label__ = -113; + Py_CLEAR(self->___mypyc_generator_attribute__call); + Py_CLEAR(self->___mypyc_temp__0); + Py_CLEAR(self->___mypyc_temp__1.f0); + Py_CLEAR(self->___mypyc_temp__1.f1); + Py_CLEAR(self->___mypyc_temp__1.f2); + return; + } + CPy_TRASHCAN_BEGIN(self, types___coroutine_DankOverloadedMethod_gen_dealloc) + types___coroutine_DankOverloadedMethod_gen_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem types___coroutine_DankOverloadedMethod_gen_vtable[7]; +static bool +CPyDef_types___coroutine_DankOverloadedMethod_gen_trait_vtable_setup(void) +{ + CPyVTableItem types___coroutine_DankOverloadedMethod_gen_vtable_scratch[] = { + (CPyVTableItem)CPyDef_types___coroutine_DankOverloadedMethod_gen_____mypyc_generator_helper__, + (CPyVTableItem)CPyDef_types___coroutine_DankOverloadedMethod_gen_____next__, + (CPyVTableItem)CPyDef_types___coroutine_DankOverloadedMethod_gen___send, + (CPyVTableItem)CPyDef_types___coroutine_DankOverloadedMethod_gen_____iter__, + (CPyVTableItem)CPyDef_types___coroutine_DankOverloadedMethod_gen___throw, + (CPyVTableItem)CPyDef_types___coroutine_DankOverloadedMethod_gen___close, + (CPyVTableItem)CPyDef_types___coroutine_DankOverloadedMethod_gen_____await__, + }; + memcpy(types___coroutine_DankOverloadedMethod_gen_vtable, types___coroutine_DankOverloadedMethod_gen_vtable_scratch, sizeof(types___coroutine_DankOverloadedMethod_gen_vtable)); + return 1; +} + +static PyMethodDef types___coroutine_DankOverloadedMethod_gen_methods[] = { + {"__next__", + (PyCFunction)CPyPy_types___coroutine_DankOverloadedMethod_gen_____next__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__next__()\n--\n\n")}, + {"send", + (PyCFunction)CPyPy_types___coroutine_DankOverloadedMethod_gen___send, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("send($arg)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy_types___coroutine_DankOverloadedMethod_gen_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__()\n--\n\n")}, + {"throw", + (PyCFunction)CPyPy_types___coroutine_DankOverloadedMethod_gen___throw, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"close", + (PyCFunction)CPyPy_types___coroutine_DankOverloadedMethod_gen___close, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("close()\n--\n\n")}, + {"__await__", + (PyCFunction)CPyPy_types___coroutine_DankOverloadedMethod_gen_____await__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__await__()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_types___coroutine_DankOverloadedMethod_gen_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "coroutine_DankOverloadedMethod_gen", + .tp_new = types___coroutine_DankOverloadedMethod_gen_new, + .tp_dealloc = (destructor)types___coroutine_DankOverloadedMethod_gen_dealloc, + .tp_traverse = (traverseproc)types___coroutine_DankOverloadedMethod_gen_traverse, + .tp_clear = (inquiry)types___coroutine_DankOverloadedMethod_gen_clear, + .tp_methods = types___coroutine_DankOverloadedMethod_gen_methods, + .tp_iter = CPyDef_types___coroutine_DankOverloadedMethod_gen_____iter__, + .tp_iternext = CPyDef_types___coroutine_DankOverloadedMethod_gen_____next__, + .tp_as_async = &types___coroutine_DankOverloadedMethod_gen_as_async, + .tp_basicsize = sizeof(dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("coroutine_DankOverloadedMethod_gen()\n--\n\n"), +}; +static PyTypeObject *CPyType_types___coroutine_DankOverloadedMethod_gen_template = &CPyType_types___coroutine_DankOverloadedMethod_gen_template_; + +PyObject *CPyDef_types_____mypyc__coroutine_DankOverloadedMethod_gen_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *self; + if (types___coroutine_DankOverloadedMethod_gen_free_instance != NULL) { + self = types___coroutine_DankOverloadedMethod_gen_free_instance; + types___coroutine_DankOverloadedMethod_gen_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = types___coroutine_DankOverloadedMethod_gen_vtable; + self->___mypyc_next_label__ = -113; + self->___mypyc_temp__1 = (tuple_T3OOO) { NULL, NULL, NULL }; + return (PyObject *)self; +} + +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen(void) +{ + PyObject *self = CPyDef_types_____mypyc__coroutine_DankOverloadedMethod_gen_setup((PyObject *)CPyType_types___coroutine_DankOverloadedMethod_gen); + if (self == NULL) + return NULL; + return self; +} + +static PyMethodDef typesmodule_methods[] = { + {"_get_method_object", (PyCFunction)CPyPy_types____get_method_object, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_get_method_object(address, abi, name, owner, natspec)\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___brownie_patch___types(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___brownie_patch___types__internal, "__name__"); + CPyStatic_types___globals = PyModule_GetDict(CPyModule_dank_mids___brownie_patch___types__internal); + if (unlikely(CPyStatic_types___globals == NULL)) + goto fail; + CPyType_types___coroutine_DankOverloadedMethod_gen = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_types___coroutine_DankOverloadedMethod_gen_template, NULL, modname); + if (unlikely(!CPyType_types___coroutine_DankOverloadedMethod_gen)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_types_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___brownie_patch___types__internal); + Py_CLEAR(modname); + Py_CLEAR(CPyType_types___DankContractCall); + Py_CLEAR(CPyType_types___DankContractTx); + Py_CLEAR(CPyType_types___DankOverloadedMethod); + Py_CLEAR(CPyType_types___coroutine_DankOverloadedMethod_gen); + return -1; +} +static struct PyModuleDef typesmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.brownie_patch.types", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + typesmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___brownie_patch___types(void) +{ + if (CPyModule_dank_mids___brownie_patch___types__internal) { + Py_INCREF(CPyModule_dank_mids___brownie_patch___types__internal); + return CPyModule_dank_mids___brownie_patch___types__internal; + } + CPyModule_dank_mids___brownie_patch___types__internal = PyModule_Create(&typesmodule); + if (unlikely(CPyModule_dank_mids___brownie_patch___types__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___brownie_patch___types(CPyModule_dank_mids___brownie_patch___types__internal) != 0) + goto fail; + return CPyModule_dank_mids___brownie_patch___types__internal; + fail: + return NULL; +} + +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + int32_t cpy_r_r2; + PyObject *cpy_r_r3; + char cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject **cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + char cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + char cpy_r_r35; + PyObject *cpy_r_r36; + char cpy_r_r37; + PyObject *cpy_r_r38; + char cpy_r_r39; + tuple_T3OOO cpy_r_r40; + char cpy_r_r41; + PyObject **cpy_r_r42; + PyObject *cpy_r_r43; + char cpy_r_r44; + tuple_T3OOO cpy_r_r45; + tuple_T3OOO cpy_r_r46; + tuple_T3OOO cpy_r_r47; + char cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + char cpy_r_r52; + char cpy_r_r53; + char cpy_r_r54; + char cpy_r_r55; + PyObject *cpy_r_r56; + cpy_r_r0 = NULL; + cpy_r_r1 = cpy_r_r0; + cpy_r_r2 = ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__; + goto CPyL53; +CPyL1: ; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = cpy_r_type != cpy_r_r3; + if (!cpy_r_r4) goto CPyL4; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 57, CPyStatic_types___globals); + goto CPyL57; + } + CPy_Unreachable(); +CPyL4: ; + cpy_r_r5 = ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\types.py", "coroutine", "coroutine_DankOverloadedMethod_gen", "self", 75, CPyStatic_types___globals); + goto CPyL57; + } + CPy_INCREF_NO_IMM(cpy_r_r5); +CPyL5: ; + cpy_r_r6 = ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__args; + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\types.py", "coroutine", "coroutine_DankOverloadedMethod_gen", "args", 75, CPyStatic_types___globals); + goto CPyL58; + } + CPy_INCREF(cpy_r_r6); +CPyL6: ; + cpy_r_r7 = CPyStatics[492]; /* '_get_fn_from_args' */ + PyObject *cpy_r_r8[2] = {cpy_r_r5, cpy_r_r6}; + cpy_r_r9 = (PyObject **)&cpy_r_r8; + cpy_r_r10 = PyObject_VectorcallMethod(cpy_r_r7, cpy_r_r9, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 75, CPyStatic_types___globals); + goto CPyL59; + } + CPy_DECREF_NO_IMM(cpy_r_r5); + CPy_DECREF(cpy_r_r6); + if (Py_TYPE(cpy_r_r10) == CPyType_types___DankContractCall) + cpy_r_r11 = cpy_r_r10; + else { + cpy_r_r11 = NULL; + } + if (cpy_r_r11 != NULL) goto __LL176; + if (Py_TYPE(cpy_r_r10) == CPyType_types___DankContractTx) + cpy_r_r11 = cpy_r_r10; + else { + cpy_r_r11 = NULL; + } + if (cpy_r_r11 != NULL) goto __LL176; + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 75, CPyStatic_types___globals, "union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx]", cpy_r_r10); + goto CPyL57; +__LL176: ; + if (((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call); + } + ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call = cpy_r_r11; + cpy_r_r12 = 1; + if (unlikely(!cpy_r_r12)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 75, CPyStatic_types___globals); + goto CPyL57; + } + cpy_r_r13 = ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__call; + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\types.py", "coroutine", "coroutine_DankOverloadedMethod_gen", "call", 76, CPyStatic_types___globals); + goto CPyL57; + } + CPy_INCREF_NO_IMM(cpy_r_r13); +CPyL10: ; + cpy_r_r14 = ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__args; + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\types.py", "coroutine", "coroutine_DankOverloadedMethod_gen", "args", 77, CPyStatic_types___globals); + goto CPyL60; + } + CPy_INCREF(cpy_r_r14); +CPyL11: ; + cpy_r_r15 = ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__block_identifier; + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\types.py", "coroutine", "coroutine_DankOverloadedMethod_gen", "block_identifier", 77, CPyStatic_types___globals); + goto CPyL61; + } + CPy_INCREF(cpy_r_r15); +CPyL12: ; + cpy_r_r16 = ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__decimals; + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\types.py", "coroutine", "coroutine_DankOverloadedMethod_gen", "decimals", 77, CPyStatic_types___globals); + goto CPyL62; + } + CPy_INCREF(cpy_r_r16); +CPyL13: ; + cpy_r_r17 = ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__override; + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\types.py", "coroutine", "coroutine_DankOverloadedMethod_gen", "override", 77, CPyStatic_types___globals); + goto CPyL63; + } + CPy_INCREF(cpy_r_r17); +CPyL14: ; + cpy_r_r18 = CPyStatics[369]; /* 'coroutine' */ + cpy_r_r19 = CPyObject_GetAttr(cpy_r_r13, cpy_r_r18); + CPy_DECREF_NO_IMM(cpy_r_r13); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 76, CPyStatic_types___globals); + goto CPyL64; + } + cpy_r_r20 = PyList_New(0); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 76, CPyStatic_types___globals); + goto CPyL65; + } + cpy_r_r21 = CPyList_Extend(cpy_r_r20, cpy_r_r14); + CPy_DECREF(cpy_r_r14); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 76, CPyStatic_types___globals); + goto CPyL66; + } else + goto CPyL67; +CPyL17: ; + cpy_r_r22 = CPyStatics[497]; /* 'block_identifier' */ + cpy_r_r23 = CPyStatics[498]; /* 'decimals' */ + cpy_r_r24 = CPyStatics[499]; /* 'override' */ + cpy_r_r25 = PyList_AsTuple(cpy_r_r20); + CPy_DECREF_NO_IMM(cpy_r_r20); + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 76, CPyStatic_types___globals); + goto CPyL68; + } + cpy_r_r26 = CPyDict_Build(3, cpy_r_r22, cpy_r_r15, cpy_r_r23, cpy_r_r16, cpy_r_r24, cpy_r_r17); + CPy_DECREF(cpy_r_r15); + CPy_DECREF(cpy_r_r16); + CPy_DECREF(cpy_r_r17); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 76, CPyStatic_types___globals); + goto CPyL69; + } + cpy_r_r27 = PyObject_Call(cpy_r_r19, cpy_r_r25, cpy_r_r26); + CPy_DECREF(cpy_r_r19); + CPy_DECREF(cpy_r_r25); + CPy_DECREF(cpy_r_r26); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 76, CPyStatic_types___globals); + goto CPyL57; + } + cpy_r_r28 = CPy_GetCoro(cpy_r_r27); + CPy_DECREF(cpy_r_r27); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 76, CPyStatic_types___globals); + goto CPyL57; + } + if (((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0); + } + ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 = cpy_r_r28; + cpy_r_r29 = 1; + if (unlikely(!cpy_r_r29)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", -1, CPyStatic_types___globals); + goto CPyL57; + } + cpy_r_r30 = ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0; + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\types.py", "coroutine", "coroutine_DankOverloadedMethod_gen", "__mypyc_temp__0", -1, CPyStatic_types___globals); + goto CPyL57; + } + CPy_INCREF(cpy_r_r30); +CPyL23: ; + cpy_r_r31 = CPyIter_Next(cpy_r_r30); + CPy_DECREF(cpy_r_r30); + if (cpy_r_r31 != NULL) goto CPyL26; + cpy_r_r32 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 76, CPyStatic_types___globals); + goto CPyL57; + } + cpy_r_r33 = cpy_r_r32; + cpy_r_r34 = NULL; + if (((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0); + } + ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 = cpy_r_r34; + cpy_r_r35 = 1; + if (unlikely(!cpy_r_r35)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 76, CPyStatic_types___globals); + goto CPyL70; + } else + goto CPyL48; +CPyL26: ; + cpy_r_r36 = cpy_r_r31; +CPyL27: ; + ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 1; + return cpy_r_r36; +CPyL28: ; + cpy_r_r38 = (PyObject *)&_Py_NoneStruct; + cpy_r_r39 = cpy_r_type != cpy_r_r38; + if (!cpy_r_r39) goto CPyL71; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 76, CPyStatic_types___globals); + goto CPyL32; + } else + goto CPyL72; +CPyL30: ; + CPy_Unreachable(); +CPyL31: ; + CPy_INCREF(cpy_r_arg); + goto CPyL43; +CPyL32: ; + cpy_r_r40 = CPy_CatchError(); + if (((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1.f0 != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1.f0); + CPy_DECREF(((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1.f1); + CPy_DECREF(((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1.f2); + } + ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1 = cpy_r_r40; + cpy_r_r41 = 1; + if (unlikely(!cpy_r_r41)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", -1, CPyStatic_types___globals); + goto CPyL73; + } + cpy_r_r42 = (PyObject **)&cpy_r_r1; + cpy_r_r43 = ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0; + if (unlikely(cpy_r_r43 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\types.py", "coroutine", "coroutine_DankOverloadedMethod_gen", "__mypyc_temp__0", -1, CPyStatic_types___globals); + goto CPyL73; + } + CPy_INCREF(cpy_r_r43); +CPyL34: ; + cpy_r_r44 = CPy_YieldFromErrorHandle(cpy_r_r43, cpy_r_r42); + CPy_DecRef(cpy_r_r43); + if (unlikely(cpy_r_r44 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 76, CPyStatic_types___globals); + goto CPyL73; + } + if (cpy_r_r44) goto CPyL38; + cpy_r_r36 = cpy_r_r1; + cpy_r_r45 = ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1; + if (unlikely(cpy_r_r45.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\types.py", "coroutine", "coroutine_DankOverloadedMethod_gen", "__mypyc_temp__1", -1, CPyStatic_types___globals); + goto CPyL74; + } + CPy_INCREF(cpy_r_r45.f0); + CPy_INCREF(cpy_r_r45.f1); + CPy_INCREF(cpy_r_r45.f2); +CPyL37: ; + CPy_RestoreExcInfo(cpy_r_r45); + CPy_DecRef(cpy_r_r45.f0); + CPy_DecRef(cpy_r_r45.f1); + CPy_DecRef(cpy_r_r45.f2); + goto CPyL27; +CPyL38: ; + cpy_r_r33 = cpy_r_r1; + cpy_r_r46 = ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1; + if (unlikely(cpy_r_r46.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\types.py", "coroutine", "coroutine_DankOverloadedMethod_gen", "__mypyc_temp__1", -1, CPyStatic_types___globals); + goto CPyL75; + } + CPy_INCREF(cpy_r_r46.f0); + CPy_INCREF(cpy_r_r46.f1); + CPy_INCREF(cpy_r_r46.f2); +CPyL39: ; + CPy_RestoreExcInfo(cpy_r_r46); + CPy_DecRef(cpy_r_r46.f0); + CPy_DecRef(cpy_r_r46.f1); + CPy_DecRef(cpy_r_r46.f2); + goto CPyL48; +CPyL40: ; + cpy_r_r47 = ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1; + if (unlikely(cpy_r_r47.f0 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\types.py", "coroutine", "coroutine_DankOverloadedMethod_gen", "__mypyc_temp__1", -1, CPyStatic_types___globals); + goto CPyL57; + } + CPy_INCREF(cpy_r_r47.f0); + CPy_INCREF(cpy_r_r47.f1); + CPy_INCREF(cpy_r_r47.f2); +CPyL41: ; + CPy_RestoreExcInfo(cpy_r_r47); + CPy_DecRef(cpy_r_r47.f0); + CPy_DecRef(cpy_r_r47.f1); + CPy_DecRef(cpy_r_r47.f2); + cpy_r_r48 = CPy_KeepPropagating(); + if (!cpy_r_r48) goto CPyL57; + CPy_Unreachable(); +CPyL43: ; + cpy_r_r49 = ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0; + if (unlikely(cpy_r_r49 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\types.py", "coroutine", "coroutine_DankOverloadedMethod_gen", "__mypyc_temp__0", -1, CPyStatic_types___globals); + goto CPyL76; + } + CPy_INCREF(cpy_r_r49); +CPyL44: ; + cpy_r_r50 = CPyIter_Send(cpy_r_r49, cpy_r_arg); + CPy_DECREF(cpy_r_r49); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r50 == NULL) goto CPyL46; + cpy_r_r36 = cpy_r_r50; + goto CPyL27; +CPyL46: ; + cpy_r_r51 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r51 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 76, CPyStatic_types___globals); + goto CPyL57; + } + cpy_r_r33 = cpy_r_r51; +CPyL48: ; + ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = -1; + if (cpy_r_stop_iter_ptr != NULL) goto CPyL52; + CPyGen_SetStopIterationValue(cpy_r_r33); + CPy_DECREF(cpy_r_r33); + if (!0) goto CPyL57; + CPy_Unreachable(); +CPyL52: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r33; + return 0; +CPyL53: ; + cpy_r_r53 = cpy_r_r2 == 0; + if (cpy_r_r53) goto CPyL77; + cpy_r_r54 = cpy_r_r2 == 1; + if (cpy_r_r54) { + goto CPyL28; + } else + goto CPyL78; +CPyL55: ; + PyErr_SetNone(PyExc_StopIteration); + cpy_r_r55 = 0; + if (unlikely(!cpy_r_r55)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 57, CPyStatic_types___globals); + goto CPyL57; + } + CPy_Unreachable(); +CPyL57: ; + cpy_r_r56 = NULL; + return cpy_r_r56; +CPyL58: ; + CPy_DecRef(cpy_r_r5); + goto CPyL57; +CPyL59: ; + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_r6); + goto CPyL57; +CPyL60: ; + CPy_DecRef(cpy_r_r13); + goto CPyL57; +CPyL61: ; + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r14); + goto CPyL57; +CPyL62: ; + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r14); + CPy_DecRef(cpy_r_r15); + goto CPyL57; +CPyL63: ; + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r14); + CPy_DecRef(cpy_r_r15); + CPy_DecRef(cpy_r_r16); + goto CPyL57; +CPyL64: ; + CPy_DecRef(cpy_r_r14); + CPy_DecRef(cpy_r_r15); + CPy_DecRef(cpy_r_r16); + CPy_DecRef(cpy_r_r17); + goto CPyL57; +CPyL65: ; + CPy_DecRef(cpy_r_r14); + CPy_DecRef(cpy_r_r15); + CPy_DecRef(cpy_r_r16); + CPy_DecRef(cpy_r_r17); + CPy_DecRef(cpy_r_r19); + goto CPyL57; +CPyL66: ; + CPy_DecRef(cpy_r_r15); + CPy_DecRef(cpy_r_r16); + CPy_DecRef(cpy_r_r17); + CPy_DecRef(cpy_r_r19); + CPy_DecRef(cpy_r_r20); + goto CPyL57; +CPyL67: ; + CPy_DECREF(cpy_r_r21); + goto CPyL17; +CPyL68: ; + CPy_DecRef(cpy_r_r15); + CPy_DecRef(cpy_r_r16); + CPy_DecRef(cpy_r_r17); + CPy_DecRef(cpy_r_r19); + goto CPyL57; +CPyL69: ; + CPy_DecRef(cpy_r_r19); + CPy_DecRef(cpy_r_r25); + goto CPyL57; +CPyL70: ; + CPy_DecRef(cpy_r_r33); + goto CPyL57; +CPyL71: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL31; +CPyL72: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL30; +CPyL73: ; + CPy_XDecRef(cpy_r_r1); + goto CPyL40; +CPyL74: ; + CPy_DecRef(cpy_r_r36); + goto CPyL40; +CPyL75: ; + CPy_DecRef(cpy_r_r33); + goto CPyL40; +CPyL76: ; + CPy_DecRef(cpy_r_arg); + goto CPyL57; +CPyL77: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL1; +CPyL78: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL55; +} + +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen_____next__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_types___coroutine_DankOverloadedMethod_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_r0, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__next__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_types___coroutine_DankOverloadedMethod_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_types___coroutine_DankOverloadedMethod_gen_____next__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "__next__", -1, CPyStatic_types___globals); + return NULL; +} + +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_types___coroutine_DankOverloadedMethod_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_arg, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"arg", 0}; + static CPyArg_Parser parser = {"O:send", kwlist, 0}; + PyObject *obj_arg; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_arg)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_types___coroutine_DankOverloadedMethod_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_arg = obj_arg; + PyObject *retval = CPyDef_types___coroutine_DankOverloadedMethod_gen___send(arg___mypyc_self__, arg_arg); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "send", -1, CPyStatic_types___globals); + return NULL; +} + +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen_____iter__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_types___coroutine_DankOverloadedMethod_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_types___coroutine_DankOverloadedMethod_gen_____iter__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "__iter__", -1, CPyStatic_types___globals); + return NULL; +} + +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + if (cpy_r_value != NULL) goto CPyL7; + CPy_INCREF(cpy_r_r0); + cpy_r_value = cpy_r_r0; +CPyL2: ; + if (cpy_r_traceback != NULL) goto CPyL8; + CPy_INCREF(cpy_r_r0); + cpy_r_traceback = cpy_r_r0; +CPyL4: ; + cpy_r_r1 = CPyDef_types___coroutine_DankOverloadedMethod_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_type, cpy_r_value, cpy_r_traceback, cpy_r_r0, 0); + CPy_DECREF(cpy_r_value); + CPy_DECREF(cpy_r_traceback); + if (cpy_r_r1 == NULL) goto CPyL6; + return cpy_r_r1; +CPyL6: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +CPyL7: ; + CPy_INCREF(cpy_r_value); + goto CPyL2; +CPyL8: ; + CPy_INCREF(cpy_r_traceback); + goto CPyL4; +} + +PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"type", "value", "traceback", 0}; + static CPyArg_Parser parser = {"O|OO:throw", kwlist, 0}; + PyObject *obj_type; + PyObject *obj_value = NULL; + PyObject *obj_traceback = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type, &obj_value, &obj_traceback)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_types___coroutine_DankOverloadedMethod_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_type = obj_type; + PyObject *arg_value; + if (obj_value == NULL) { + arg_value = NULL; + } else { + arg_value = obj_value; + } + PyObject *arg_traceback; + if (obj_traceback == NULL) { + arg_traceback = NULL; + } else { + arg_traceback = obj_traceback; + } + PyObject *retval = CPyDef_types___coroutine_DankOverloadedMethod_gen___throw(arg___mypyc_self__, arg_type, arg_value, arg_traceback); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "throw", -1, CPyStatic_types___globals); + return NULL; +} + +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen___close(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[17]; /* 'GeneratorExit' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = CPyDef_types___coroutine_DankOverloadedMethod_gen___throw(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r3, cpy_r_r4); + if (cpy_r_r5 != NULL) goto CPyL11; +CPyL3: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyModule_builtins; + cpy_r_r8 = CPyStatics[18]; /* 'StopIteration' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL12; + cpy_r_r10.f0 = cpy_r_r2; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp177 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp177); + PyObject *__tmp178 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp178); + cpy_r_r12 = CPy_ExceptionMatches(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (!cpy_r_r12) goto CPyL13; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + cpy_r_r13 = (PyObject *)&_Py_NoneStruct; + CPy_INCREF(cpy_r_r13); + return cpy_r_r13; +CPyL6: ; + CPy_Reraise(); + if (!0) goto CPyL10; + CPy_Unreachable(); +CPyL8: ; + PyErr_SetString(PyExc_RuntimeError, "generator ignored GeneratorExit"); + cpy_r_r14 = 0; + if (!cpy_r_r14) goto CPyL10; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL11: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r5); + goto CPyL8; +CPyL12: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL10; +CPyL13: ; + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL6; +} + +PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":close", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_types___coroutine_DankOverloadedMethod_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_types___coroutine_DankOverloadedMethod_gen___close(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "close", -1, CPyStatic_types___globals); + return NULL; +} + +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen_____await__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__await__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_types___coroutine_DankOverloadedMethod_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_types___coroutine_DankOverloadedMethod_gen_____await__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "__await__", -1, CPyStatic_types___globals); + return NULL; +} + +PyObject *CPyDef_types___DankOverloadedMethod___coroutine(PyObject *cpy_r_self, PyObject *cpy_r_args, PyObject *cpy_r_block_identifier, PyObject *cpy_r_decimals, PyObject *cpy_r_override) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + char cpy_r_r4; + char cpy_r_r5; + char cpy_r_r6; + char cpy_r_r7; + char cpy_r_r8; + char cpy_r_r9; + PyObject *cpy_r_r10; + if (cpy_r_block_identifier != NULL) goto CPyL14; + cpy_r_r0 = Py_None; + cpy_r_block_identifier = cpy_r_r0; +CPyL2: ; + if (cpy_r_decimals != NULL) goto CPyL15; + cpy_r_r1 = Py_None; + cpy_r_decimals = cpy_r_r1; +CPyL4: ; + if (cpy_r_override != NULL) goto CPyL16; + cpy_r_r2 = Py_None; + cpy_r_override = cpy_r_r2; +CPyL6: ; + cpy_r_r3 = CPyDef_types___coroutine_DankOverloadedMethod_gen(); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 57, CPyStatic_types___globals); + goto CPyL17; + } + ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_next_label__ = 0; + CPy_INCREF_NO_IMM(cpy_r_self); + if (((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__self != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__self); + } + ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__self = cpy_r_self; + cpy_r_r5 = 1; + if (unlikely(!cpy_r_r5)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 57, CPyStatic_types___globals); + goto CPyL18; + } + CPy_INCREF(cpy_r_args); + if (((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__args != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__args); + } + ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__args = cpy_r_args; + cpy_r_r6 = 1; + if (unlikely(!cpy_r_r6)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 57, CPyStatic_types___globals); + goto CPyL18; + } + if (((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__block_identifier != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__block_identifier); + } + ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__block_identifier = cpy_r_block_identifier; + cpy_r_r7 = 1; + if (unlikely(!cpy_r_r7)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 57, CPyStatic_types___globals); + goto CPyL19; + } + if (((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__decimals != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__decimals); + } + ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__decimals = cpy_r_decimals; + cpy_r_r8 = 1; + if (unlikely(!cpy_r_r8)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 57, CPyStatic_types___globals); + goto CPyL20; + } + if (((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__override != NULL) { + CPy_DECREF(((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__override); + } + ((dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *)cpy_r_r3)->___mypyc_generator_attribute__override = cpy_r_override; + cpy_r_r9 = 1; + if (unlikely(!cpy_r_r9)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 57, CPyStatic_types___globals); + goto CPyL21; + } + return cpy_r_r3; +CPyL13: ; + cpy_r_r10 = NULL; + return cpy_r_r10; +CPyL14: ; + CPy_INCREF(cpy_r_block_identifier); + goto CPyL2; +CPyL15: ; + CPy_INCREF(cpy_r_decimals); + goto CPyL4; +CPyL16: ; + CPy_INCREF(cpy_r_override); + goto CPyL6; +CPyL17: ; + CPy_DecRef(cpy_r_block_identifier); + CPy_DecRef(cpy_r_decimals); + CPy_DecRef(cpy_r_override); + goto CPyL13; +CPyL18: ; + CPy_DecRef(cpy_r_block_identifier); + CPy_DecRef(cpy_r_decimals); + CPy_DecRef(cpy_r_override); + CPy_DecRef(cpy_r_r3); + goto CPyL13; +CPyL19: ; + CPy_DecRef(cpy_r_decimals); + CPy_DecRef(cpy_r_override); + CPy_DecRef(cpy_r_r3); + goto CPyL13; +CPyL20: ; + CPy_DecRef(cpy_r_override); + CPy_DecRef(cpy_r_r3); + goto CPyL13; +CPyL21: ; + CPy_DecRef(cpy_r_r3); + goto CPyL13; +} + +PyObject *CPyPy_types___DankOverloadedMethod___coroutine(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"block_identifier", "decimals", "override", 0}; + static CPyArg_Parser parser = {"%|$OOO:coroutine", kwlist, 0}; + PyObject *obj_args; + PyObject *obj_block_identifier = NULL; + PyObject *obj_decimals = NULL; + PyObject *obj_override = NULL; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_args, NULL, &obj_block_identifier, &obj_decimals, &obj_override)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_types___DankOverloadedMethod)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.brownie_patch.types.DankOverloadedMethod", obj_self); + goto fail; + } + PyObject *arg_args = obj_args; + PyObject *arg_block_identifier; + if (obj_block_identifier == NULL) { + arg_block_identifier = NULL; + goto __LL179; + } + if (PyLong_Check(obj_block_identifier)) + arg_block_identifier = obj_block_identifier; + else { + arg_block_identifier = NULL; + } + if (arg_block_identifier != NULL) goto __LL179; + if (obj_block_identifier == Py_None) + arg_block_identifier = obj_block_identifier; + else { + arg_block_identifier = NULL; + } + if (arg_block_identifier != NULL) goto __LL179; + CPy_TypeError("int or None", obj_block_identifier); + goto fail; +__LL179: ; + PyObject *arg_decimals; + if (obj_decimals == NULL) { + arg_decimals = NULL; + goto __LL180; + } + if (PyLong_Check(obj_decimals)) + arg_decimals = obj_decimals; + else { + arg_decimals = NULL; + } + if (arg_decimals != NULL) goto __LL180; + if (obj_decimals == Py_None) + arg_decimals = obj_decimals; + else { + arg_decimals = NULL; + } + if (arg_decimals != NULL) goto __LL180; + CPy_TypeError("int or None", obj_decimals); + goto fail; +__LL180: ; + PyObject *arg_override; + if (obj_override == NULL) { + arg_override = NULL; + goto __LL181; + } + if (PyDict_Check(obj_override)) + arg_override = obj_override; + else { + arg_override = NULL; + } + if (arg_override != NULL) goto __LL181; + if (obj_override == Py_None) + arg_override = obj_override; + else { + arg_override = NULL; + } + if (arg_override != NULL) goto __LL181; + CPy_TypeError("dict or None", obj_override); + goto fail; +__LL181: ; + PyObject *retval = CPyDef_types___DankOverloadedMethod___coroutine(arg_self, arg_args, arg_block_identifier, arg_decimals, arg_override); + CPy_DECREF(obj_args); + return retval; +fail: ; + CPy_DECREF(obj_args); + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "coroutine", 57, CPyStatic_types___globals); + return NULL; +} + +char CPyDef_types___DankOverloadedMethod____add_fn(PyObject *cpy_r_self, PyObject *cpy_r_abi, PyObject *cpy_r_natspec) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject **cpy_r_r20; + PyObject *cpy_r_r21; + int32_t cpy_r_r22; + char cpy_r_r23; + char cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + int32_t cpy_r_r27; + char cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject **cpy_r_r33; + PyObject *cpy_r_r34; + char cpy_r_r35; + cpy_r_r0 = CPyStatics[364]; /* '_address' */ + cpy_r_r1 = CPyObject_GetAttr(cpy_r_self, cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 91, CPyStatic_types___globals); + goto CPyL20; + } + if (likely(PyUnicode_Check(cpy_r_r1))) + cpy_r_r2 = cpy_r_r1; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 91, CPyStatic_types___globals, "str", cpy_r_r1); + goto CPyL20; + } + cpy_r_r3 = CPyStatics[390]; /* '_name' */ + cpy_r_r4 = CPyObject_GetAttr(cpy_r_self, cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 91, CPyStatic_types___globals); + goto CPyL21; + } + cpy_r_r5 = CPyStatics[507]; /* '_owner' */ + cpy_r_r6 = CPyObject_GetAttr(cpy_r_self, cpy_r_r5); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 91, CPyStatic_types___globals); + goto CPyL22; + } + if (likely(PyUnicode_Check(cpy_r_r4))) + cpy_r_r7 = cpy_r_r4; + else { + CPy_TypeErrorTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 91, CPyStatic_types___globals, "str", cpy_r_r4); + goto CPyL23; + } + cpy_r_r8 = CPyDef_types____get_method_object(cpy_r_r2, cpy_r_abi, cpy_r_r7, cpy_r_r6, cpy_r_natspec); + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r7); + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 91, CPyStatic_types___globals); + goto CPyL20; + } + cpy_r_r9 = PyList_New(0); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 92, CPyStatic_types___globals); + goto CPyL24; + } + cpy_r_r10 = CPyStatics[340]; /* 'inputs' */ + cpy_r_r11 = CPyDict_GetItem(cpy_r_abi, cpy_r_r10); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 92, CPyStatic_types___globals); + goto CPyL25; + } + cpy_r_r12 = PyObject_GetIter(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 92, CPyStatic_types___globals); + goto CPyL25; + } +CPyL9: ; + cpy_r_r13 = PyIter_Next(cpy_r_r12); + if (cpy_r_r13 == NULL) goto CPyL26; + cpy_r_r14 = CPyStatics[334]; /* 'type' */ + cpy_r_r15 = PyObject_GetItem(cpy_r_r13, cpy_r_r14); + CPy_DECREF(cpy_r_r13); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 92, CPyStatic_types___globals); + goto CPyL27; + } + cpy_r_r16 = CPyStatics[508]; /* '256' */ + cpy_r_r17 = CPyStatics[126]; /* '' */ + cpy_r_r18 = CPyStatics[339]; /* 'replace' */ + PyObject *cpy_r_r19[3] = {cpy_r_r15, cpy_r_r16, cpy_r_r17}; + cpy_r_r20 = (PyObject **)&cpy_r_r19; + cpy_r_r21 = PyObject_VectorcallMethod(cpy_r_r18, cpy_r_r20, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 92, CPyStatic_types___globals); + goto CPyL28; + } + CPy_DECREF(cpy_r_r15); + cpy_r_r22 = PyList_Append(cpy_r_r9, cpy_r_r21); + CPy_DECREF(cpy_r_r21); + cpy_r_r23 = cpy_r_r22 >= 0; + if (unlikely(!cpy_r_r23)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 92, CPyStatic_types___globals); + goto CPyL27; + } else + goto CPyL9; +CPyL13: ; + cpy_r_r24 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r24)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 92, CPyStatic_types___globals); + goto CPyL25; + } + cpy_r_r25 = PyList_AsTuple(cpy_r_r9); + CPy_DECREF_NO_IMM(cpy_r_r9); + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 92, CPyStatic_types___globals); + goto CPyL24; + } + cpy_r_r26 = ((dank_mids___brownie_patch___types___DankOverloadedMethodObject *)cpy_r_self)->_methods; + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AttributeError("dank_mids\\brownie_patch\\types.py", "_add_fn", "DankOverloadedMethod", "methods", 93, CPyStatic_types___globals); + goto CPyL29; + } + CPy_INCREF(cpy_r_r26); +CPyL16: ; + cpy_r_r27 = CPyDict_SetItem(cpy_r_r26, cpy_r_r25, cpy_r_r8); + CPy_DECREF(cpy_r_r26); + CPy_DECREF(cpy_r_r25); + CPy_DECREF_NO_IMM(cpy_r_r8); + cpy_r_r28 = cpy_r_r27 >= 0; + if (unlikely(!cpy_r_r28)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 93, CPyStatic_types___globals); + goto CPyL20; + } + cpy_r_r29 = CPyStatics[509]; /* 'natspec' */ + cpy_r_r30 = CPyObject_GetAttr(cpy_r_self, cpy_r_r29); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 94, CPyStatic_types___globals); + goto CPyL20; + } + cpy_r_r31 = CPyStatics[510]; /* 'update' */ + PyObject *cpy_r_r32[2] = {cpy_r_r30, cpy_r_natspec}; + cpy_r_r33 = (PyObject **)&cpy_r_r32; + cpy_r_r34 = PyObject_VectorcallMethod(cpy_r_r31, cpy_r_r33, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 94, CPyStatic_types___globals); + goto CPyL30; + } else + goto CPyL31; +CPyL19: ; + CPy_DECREF(cpy_r_r30); + return 1; +CPyL20: ; + cpy_r_r35 = 2; + return cpy_r_r35; +CPyL21: ; + CPy_DecRef(cpy_r_r2); + goto CPyL20; +CPyL22: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r4); + goto CPyL20; +CPyL23: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r6); + goto CPyL20; +CPyL24: ; + CPy_DecRef(cpy_r_r8); + goto CPyL20; +CPyL25: ; + CPy_DecRef(cpy_r_r8); + CPy_DecRef(cpy_r_r9); + goto CPyL20; +CPyL26: ; + CPy_DECREF(cpy_r_r12); + goto CPyL13; +CPyL27: ; + CPy_DecRef(cpy_r_r8); + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r12); + goto CPyL20; +CPyL28: ; + CPy_DecRef(cpy_r_r8); + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r12); + CPy_DecRef(cpy_r_r15); + goto CPyL20; +CPyL29: ; + CPy_DecRef(cpy_r_r8); + CPy_DecRef(cpy_r_r25); + goto CPyL20; +CPyL30: ; + CPy_DecRef(cpy_r_r30); + goto CPyL20; +CPyL31: ; + CPy_DECREF(cpy_r_r34); + goto CPyL19; +} + +PyObject *CPyPy_types___DankOverloadedMethod____add_fn(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"abi", "natspec", 0}; + static CPyArg_Parser parser = {"OO:_add_fn", kwlist, 0}; + PyObject *obj_abi; + PyObject *obj_natspec; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_abi, &obj_natspec)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_types___DankOverloadedMethod)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.brownie_patch.types.DankOverloadedMethod", obj_self); + goto fail; + } + PyObject *arg_abi; + if (likely(PyDict_Check(obj_abi))) + arg_abi = obj_abi; + else { + CPy_TypeError("dict", obj_abi); + goto fail; + } + PyObject *arg_natspec; + if (likely(PyDict_Check(obj_natspec))) + arg_natspec = obj_natspec; + else { + CPy_TypeError("dict", obj_natspec); + goto fail; + } + char retval = CPyDef_types___DankOverloadedMethod____add_fn(arg_self, arg_abi, arg_natspec); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_add_fn", 80, CPyStatic_types___globals); + return NULL; +} + +PyObject *CPyDef_types____get_method_object(PyObject *cpy_r_address, PyObject *cpy_r_abi, PyObject *cpy_r_name, PyObject *cpy_r_owner, PyObject *cpy_r_natspec) { + PyObject *cpy_r_r0; + int32_t cpy_r_r1; + char cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_constant; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + int32_t cpy_r_r11; + char cpy_r_r12; + char cpy_r_r13; + PyObject *cpy_r_r14; + int32_t cpy_r_r15; + char cpy_r_r16; + char cpy_r_r17; + char cpy_r_r18; + PyObject *cpy_r_r19; + int32_t cpy_r_r20; + char cpy_r_r21; + char cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + cpy_r_r0 = CPyStatics[511]; /* 'constant' */ + cpy_r_r1 = PyDict_Contains(cpy_r_abi, cpy_r_r0); + cpy_r_r2 = cpy_r_r1 >= 0; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 131, CPyStatic_types___globals); + goto CPyL24; + } + cpy_r_r3 = cpy_r_r1; + if (!cpy_r_r3) goto CPyL4; + cpy_r_r4 = CPyStatics[511]; /* 'constant' */ + cpy_r_r5 = CPyDict_GetItem(cpy_r_abi, cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 132, CPyStatic_types___globals); + goto CPyL24; + } + cpy_r_constant = cpy_r_r5; + goto CPyL14; +CPyL4: ; + cpy_r_r6 = CPyStatics[512]; /* 'stateMutability' */ + cpy_r_r7 = CPyDict_GetItem(cpy_r_abi, cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 134, CPyStatic_types___globals); + goto CPyL24; + } + cpy_r_r8 = CPyStatics[513]; /* 'view' */ + cpy_r_r9 = CPyStatics[514]; /* 'pure' */ + cpy_r_r10 = PyObject_RichCompare(cpy_r_r7, cpy_r_r8, 2); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 134, CPyStatic_types___globals); + goto CPyL25; + } + cpy_r_r11 = PyObject_IsTrue(cpy_r_r10); + CPy_DECREF(cpy_r_r10); + cpy_r_r12 = cpy_r_r11 >= 0; + if (unlikely(!cpy_r_r12)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 134, CPyStatic_types___globals); + goto CPyL25; + } + cpy_r_r13 = cpy_r_r11; + if (cpy_r_r13) goto CPyL26; + cpy_r_r14 = PyObject_RichCompare(cpy_r_r7, cpy_r_r9, 2); + CPy_DECREF(cpy_r_r7); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 134, CPyStatic_types___globals); + goto CPyL24; + } + cpy_r_r15 = PyObject_IsTrue(cpy_r_r14); + CPy_DECREF(cpy_r_r14); + cpy_r_r16 = cpy_r_r15 >= 0; + if (unlikely(!cpy_r_r16)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 134, CPyStatic_types___globals); + goto CPyL24; + } + cpy_r_r17 = cpy_r_r15; + if (cpy_r_r17) goto CPyL12; + cpy_r_r18 = 0; + goto CPyL13; +CPyL12: ; + cpy_r_r18 = 1; +CPyL13: ; + cpy_r_r19 = cpy_r_r18 ? Py_True : Py_False; + cpy_r_constant = cpy_r_r19; +CPyL14: ; + cpy_r_r20 = PyObject_IsTrue(cpy_r_constant); + CPy_DECREF(cpy_r_constant); + cpy_r_r21 = cpy_r_r20 >= 0; + if (unlikely(!cpy_r_r21)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 132, CPyStatic_types___globals); + goto CPyL24; + } + cpy_r_r22 = cpy_r_r20; + if (!cpy_r_r22) goto CPyL20; + cpy_r_r23 = PyTuple_Pack(5, cpy_r_address, cpy_r_abi, cpy_r_name, cpy_r_owner, cpy_r_natspec); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 137, CPyStatic_types___globals); + goto CPyL24; + } + cpy_r_r24 = PyDict_New(); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 137, CPyStatic_types___globals); + goto CPyL27; + } + cpy_r_r25 = CPyDef_types___DankContractCall(cpy_r_r23, cpy_r_r24); + CPy_DECREF(cpy_r_r23); + CPy_DECREF(cpy_r_r24); + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 137, CPyStatic_types___globals); + goto CPyL24; + } + return cpy_r_r25; +CPyL20: ; + cpy_r_r26 = PyTuple_Pack(5, cpy_r_address, cpy_r_abi, cpy_r_name, cpy_r_owner, cpy_r_natspec); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 138, CPyStatic_types___globals); + goto CPyL24; + } + cpy_r_r27 = PyDict_New(); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 138, CPyStatic_types___globals); + goto CPyL28; + } + cpy_r_r28 = CPyDef_types___DankContractTx(cpy_r_r26, cpy_r_r27); + CPy_DECREF(cpy_r_r26); + CPy_DECREF(cpy_r_r27); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 138, CPyStatic_types___globals); + goto CPyL24; + } + return cpy_r_r28; +CPyL24: ; + cpy_r_r29 = NULL; + return cpy_r_r29; +CPyL25: ; + CPy_DecRef(cpy_r_r7); + goto CPyL24; +CPyL26: ; + CPy_DECREF(cpy_r_r7); + goto CPyL12; +CPyL27: ; + CPy_DecRef(cpy_r_r23); + goto CPyL24; +CPyL28: ; + CPy_DecRef(cpy_r_r26); + goto CPyL24; +} + +PyObject *CPyPy_types____get_method_object(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"address", "abi", "name", "owner", "natspec", 0}; + static CPyArg_Parser parser = {"OOOOO:_get_method_object", kwlist, 0}; + PyObject *obj_address; + PyObject *obj_abi; + PyObject *obj_name; + PyObject *obj_owner; + PyObject *obj_natspec; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_address, &obj_abi, &obj_name, &obj_owner, &obj_natspec)) { + return NULL; + } + PyObject *arg_address; + if (likely(PyUnicode_Check(obj_address))) + arg_address = obj_address; + else { + CPy_TypeError("str", obj_address); + goto fail; + } + PyObject *arg_abi; + if (likely(PyDict_Check(obj_abi))) + arg_abi = obj_abi; + else { + CPy_TypeError("dict", obj_abi); + goto fail; + } + PyObject *arg_name; + if (likely(PyUnicode_Check(obj_name))) + arg_name = obj_name; + else { + CPy_TypeError("str", obj_name); + goto fail; + } + PyObject *arg_owner; + arg_owner = obj_owner; + if (arg_owner != NULL) goto __LL182; + if (obj_owner == Py_None) + arg_owner = obj_owner; + else { + arg_owner = NULL; + } + if (arg_owner != NULL) goto __LL182; + CPy_TypeError("object or None", obj_owner); + goto fail; +__LL182: ; + PyObject *arg_natspec; + if (likely(PyDict_Check(obj_natspec))) + arg_natspec = obj_natspec; + else { + CPy_TypeError("dict", obj_natspec); + goto fail; + } + PyObject *retval = CPyDef_types____get_method_object(arg_address, arg_abi, arg_name, arg_owner, arg_natspec); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "_get_method_object", 107, CPyStatic_types___globals); + return NULL; +} + +char CPyDef_types_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject **cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + int32_t cpy_r_r34; + char cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + tuple_T3OOO cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + int32_t cpy_r_r53; + char cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + char cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + int32_t cpy_r_r69; + char cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + int32_t cpy_r_r73; + char cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + PyObject *cpy_r_r77; + PyObject *cpy_r_r78; + PyObject *cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + char cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + PyObject *cpy_r_r88; + int32_t cpy_r_r89; + char cpy_r_r90; + PyObject *cpy_r_r91; + PyObject *cpy_r_r92; + int32_t cpy_r_r93; + char cpy_r_r94; + PyObject *cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + PyObject *cpy_r_r98; + PyObject *cpy_r_r99; + tuple_T2OO cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + PyObject *cpy_r_r104; + int32_t cpy_r_r105; + char cpy_r_r106; + PyObject *cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + PyObject *cpy_r_r111; + PyObject *cpy_r_r112; + PyObject *cpy_r_r113; + PyObject *cpy_r_r114; + PyObject *cpy_r_r115; + PyObject *cpy_r_r116; + PyObject *cpy_r_r117; + PyObject *cpy_r_r118; + PyObject *cpy_r_r119; + PyObject *cpy_r_r120; + char cpy_r_r121; + PyObject *cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + int32_t cpy_r_r126; + char cpy_r_r127; + PyObject *cpy_r_r128; + PyObject *cpy_r_r129; + int32_t cpy_r_r130; + char cpy_r_r131; + PyObject *cpy_r_r132; + PyObject *cpy_r_r133; + PyObject *cpy_r_r134; + PyObject *cpy_r_r135; + PyObject *cpy_r_r136; + PyObject *cpy_r_r137; + tuple_T3OOO cpy_r_r138; + PyObject *cpy_r_r139; + PyObject *cpy_r_r140; + PyObject *cpy_r_r141; + PyObject *cpy_r_r142; + int32_t cpy_r_r143; + char cpy_r_r144; + char cpy_r_r145; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", -1, CPyStatic_types___globals); + goto CPyL50; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[1002]; /* ('Any', 'Dict', 'Optional', 'Tuple', 'TypeVar', 'Union', + 'final') */ + cpy_r_r6 = CPyStatics[40]; /* 'typing' */ + cpy_r_r7 = CPyStatic_types___globals; + cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 1, CPyStatic_types___globals); + goto CPyL50; + } + CPyModule_typing = cpy_r_r8; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[1000]; /* ('ContractCall', 'ContractTx', 'OverloadedMethod') */ + cpy_r_r10 = CPyStatics[432]; /* '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); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 3, CPyStatic_types___globals); + goto CPyL50; + } + CPyModule_brownie___network___contract = cpy_r_r12; + CPy_INCREF(CPyModule_brownie___network___contract); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = CPyStatics[1003]; /* ('AccountsType',) */ + cpy_r_r14 = CPyStatics[516]; /* '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); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 4, CPyStatic_types___globals); + goto CPyL50; + } + CPyModule_brownie___typing = cpy_r_r16; + CPy_INCREF(CPyModule_brownie___typing); + CPy_DECREF(cpy_r_r16); + cpy_r_r17 = CPyStatics[1004]; /* ('ChecksumAddress',) */ + cpy_r_r18 = CPyStatics[137]; /* 'eth_typing' */ + cpy_r_r19 = CPyStatic_types___globals; + cpy_r_r20 = CPyImport_ImportFromMany(cpy_r_r18, cpy_r_r17, cpy_r_r17, cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 5, CPyStatic_types___globals); + goto CPyL50; + } + CPyModule_eth_typing = cpy_r_r20; + CPy_INCREF(CPyModule_eth_typing); + CPy_DECREF(cpy_r_r20); + cpy_r_r21 = CPyStatics[1005]; /* ('_DankMethod', '_DankMethodMixin', '_EVMType') */ + cpy_r_r22 = CPyStatics[521]; /* 'dank_mids.brownie_patch._method' */ + cpy_r_r23 = CPyStatic_types___globals; + cpy_r_r24 = CPyImport_ImportFromMany(cpy_r_r22, cpy_r_r21, cpy_r_r21, cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 7, CPyStatic_types___globals); + goto CPyL50; + } + CPyModule_dank_mids___brownie_patch____method = cpy_r_r24; + CPy_INCREF(CPyModule_dank_mids___brownie_patch____method); + CPy_DECREF(cpy_r_r24); + cpy_r_r25 = CPyStatics[259]; /* '_T' */ + cpy_r_r26 = CPyStatic_types___globals; + cpy_r_r27 = CPyStatics[37]; /* 'TypeVar' */ + cpy_r_r28 = CPyDict_GetItem(cpy_r_r26, cpy_r_r27); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 10, CPyStatic_types___globals); + goto CPyL50; + } + PyObject *cpy_r_r29[1] = {cpy_r_r25}; + cpy_r_r30 = (PyObject **)&cpy_r_r29; + cpy_r_r31 = PyObject_Vectorcall(cpy_r_r28, cpy_r_r30, 1, 0); + CPy_DECREF(cpy_r_r28); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 10, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r32 = CPyStatic_types___globals; + cpy_r_r33 = CPyStatics[259]; /* '_T' */ + cpy_r_r34 = CPyDict_SetItem(cpy_r_r32, cpy_r_r33, cpy_r_r31); + CPy_DECREF(cpy_r_r31); + cpy_r_r35 = cpy_r_r34 >= 0; + if (unlikely(!cpy_r_r35)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 10, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r36 = CPyStatic_types___globals; + cpy_r_r37 = CPyStatics[38]; /* 'Union' */ + cpy_r_r38 = CPyDict_GetItem(cpy_r_r36, cpy_r_r37); + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 12, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r39 = CPyStatic_types___globals; + cpy_r_r40 = CPyStatics[437]; /* 'ContractCall' */ + cpy_r_r41 = CPyDict_GetItem(cpy_r_r39, cpy_r_r40); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 12, CPyStatic_types___globals); + goto CPyL51; + } + cpy_r_r42 = CPyStatic_types___globals; + cpy_r_r43 = CPyStatics[503]; /* 'ContractTx' */ + cpy_r_r44 = CPyDict_GetItem(cpy_r_r42, cpy_r_r43); + if (unlikely(cpy_r_r44 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 12, CPyStatic_types___globals); + goto CPyL52; + } + cpy_r_r45 = CPyStatic_types___globals; + cpy_r_r46 = CPyStatics[505]; /* 'OverloadedMethod' */ + cpy_r_r47 = CPyDict_GetItem(cpy_r_r45, cpy_r_r46); + if (unlikely(cpy_r_r47 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 12, CPyStatic_types___globals); + goto CPyL53; + } + cpy_r_r48.f0 = cpy_r_r41; + cpy_r_r48.f1 = cpy_r_r44; + cpy_r_r48.f2 = cpy_r_r47; + cpy_r_r49 = PyTuple_New(3); + if (unlikely(cpy_r_r49 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp183 = cpy_r_r48.f0; + PyTuple_SET_ITEM(cpy_r_r49, 0, __tmp183); + PyObject *__tmp184 = cpy_r_r48.f1; + PyTuple_SET_ITEM(cpy_r_r49, 1, __tmp184); + PyObject *__tmp185 = cpy_r_r48.f2; + PyTuple_SET_ITEM(cpy_r_r49, 2, __tmp185); + cpy_r_r50 = PyObject_GetItem(cpy_r_r38, cpy_r_r49); + CPy_DECREF(cpy_r_r38); + CPy_DECREF(cpy_r_r49); + if (unlikely(cpy_r_r50 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 12, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r51 = CPyStatic_types___globals; + cpy_r_r52 = CPyStatics[522]; /* 'ContractMethod' */ + cpy_r_r53 = CPyDict_SetItem(cpy_r_r51, cpy_r_r52, cpy_r_r50); + CPy_DECREF(cpy_r_r50); + cpy_r_r54 = cpy_r_r53 >= 0; + if (unlikely(!cpy_r_r54)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 12, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r55 = CPyStatic_types___globals; + cpy_r_r56 = CPyStatics[518]; /* '_DankMethod' */ + cpy_r_r57 = CPyDict_GetItem(cpy_r_r55, cpy_r_r56); + if (unlikely(cpy_r_r57 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 17, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r58 = CPyStatic_types___globals; + cpy_r_r59 = CPyStatics[437]; /* 'ContractCall' */ + cpy_r_r60 = CPyDict_GetItem(cpy_r_r58, cpy_r_r59); + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 17, CPyStatic_types___globals); + goto CPyL54; + } + cpy_r_r61 = PyTuple_Pack(2, cpy_r_r57, cpy_r_r60); + CPy_DECREF(cpy_r_r57); + CPy_DECREF(cpy_r_r60); + if (unlikely(cpy_r_r61 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 17, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r62 = CPyStatics[315]; /* 'dank_mids.brownie_patch.types' */ + cpy_r_r63 = (PyObject *)CPyType_types___DankContractCall_template; + cpy_r_r64 = CPyType_FromTemplate(cpy_r_r63, cpy_r_r61, cpy_r_r62); + CPy_DECREF(cpy_r_r61); + if (unlikely(cpy_r_r64 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 17, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r65 = CPyDef_types___DankContractCall_trait_vtable_setup(); + if (unlikely(cpy_r_r65 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", -1, CPyStatic_types___globals); + goto CPyL55; + } + cpy_r_r66 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r67 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r68 = PyTuple_Pack(1, cpy_r_r67); + if (unlikely(cpy_r_r68 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 17, CPyStatic_types___globals); + goto CPyL55; + } + cpy_r_r69 = PyObject_SetAttr(cpy_r_r64, cpy_r_r66, cpy_r_r68); + CPy_DECREF(cpy_r_r68); + cpy_r_r70 = cpy_r_r69 >= 0; + if (unlikely(!cpy_r_r70)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 17, CPyStatic_types___globals); + goto CPyL55; + } + CPyType_types___DankContractCall = (PyTypeObject *)cpy_r_r64; + CPy_INCREF(CPyType_types___DankContractCall); + cpy_r_r71 = CPyStatic_types___globals; + cpy_r_r72 = CPyStatics[311]; /* 'DankContractCall' */ + cpy_r_r73 = PyDict_SetItem(cpy_r_r71, cpy_r_r72, cpy_r_r64); + CPy_DECREF(cpy_r_r64); + cpy_r_r74 = cpy_r_r73 >= 0; + if (unlikely(!cpy_r_r74)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 17, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r75 = CPyStatic_types___globals; + cpy_r_r76 = CPyStatics[518]; /* '_DankMethod' */ + cpy_r_r77 = CPyDict_GetItem(cpy_r_r75, cpy_r_r76); + if (unlikely(cpy_r_r77 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 29, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r78 = CPyStatic_types___globals; + cpy_r_r79 = CPyStatics[503]; /* 'ContractTx' */ + cpy_r_r80 = CPyDict_GetItem(cpy_r_r78, cpy_r_r79); + if (unlikely(cpy_r_r80 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 29, CPyStatic_types___globals); + goto CPyL56; + } + cpy_r_r81 = PyTuple_Pack(2, cpy_r_r77, cpy_r_r80); + CPy_DECREF(cpy_r_r77); + CPy_DECREF(cpy_r_r80); + if (unlikely(cpy_r_r81 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 29, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r82 = CPyStatics[315]; /* 'dank_mids.brownie_patch.types' */ + cpy_r_r83 = (PyObject *)CPyType_types___DankContractTx_template; + cpy_r_r84 = CPyType_FromTemplate(cpy_r_r83, cpy_r_r81, cpy_r_r82); + CPy_DECREF(cpy_r_r81); + if (unlikely(cpy_r_r84 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 29, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r85 = CPyDef_types___DankContractTx_trait_vtable_setup(); + if (unlikely(cpy_r_r85 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", -1, CPyStatic_types___globals); + goto CPyL57; + } + cpy_r_r86 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r87 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r88 = PyTuple_Pack(1, cpy_r_r87); + if (unlikely(cpy_r_r88 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 29, CPyStatic_types___globals); + goto CPyL57; + } + cpy_r_r89 = PyObject_SetAttr(cpy_r_r84, cpy_r_r86, cpy_r_r88); + CPy_DECREF(cpy_r_r88); + cpy_r_r90 = cpy_r_r89 >= 0; + if (unlikely(!cpy_r_r90)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 29, CPyStatic_types___globals); + goto CPyL57; + } + CPyType_types___DankContractTx = (PyTypeObject *)cpy_r_r84; + CPy_INCREF(CPyType_types___DankContractTx); + cpy_r_r91 = CPyStatic_types___globals; + cpy_r_r92 = CPyStatics[313]; /* 'DankContractTx' */ + cpy_r_r93 = PyDict_SetItem(cpy_r_r91, cpy_r_r92, cpy_r_r84); + CPy_DECREF(cpy_r_r84); + cpy_r_r94 = cpy_r_r93 >= 0; + if (unlikely(!cpy_r_r94)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 29, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r95 = CPyStatic_types___globals; + cpy_r_r96 = CPyStatics[38]; /* 'Union' */ + cpy_r_r97 = CPyDict_GetItem(cpy_r_r95, cpy_r_r96); + if (unlikely(cpy_r_r97 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 40, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r98 = (PyObject *)CPyType_types___DankContractCall; + cpy_r_r99 = (PyObject *)CPyType_types___DankContractTx; + CPy_INCREF(cpy_r_r98); + CPy_INCREF(cpy_r_r99); + cpy_r_r100.f0 = cpy_r_r98; + cpy_r_r100.f1 = cpy_r_r99; + cpy_r_r101 = PyTuple_New(2); + if (unlikely(cpy_r_r101 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp186 = cpy_r_r100.f0; + PyTuple_SET_ITEM(cpy_r_r101, 0, __tmp186); + PyObject *__tmp187 = cpy_r_r100.f1; + PyTuple_SET_ITEM(cpy_r_r101, 1, __tmp187); + cpy_r_r102 = PyObject_GetItem(cpy_r_r97, cpy_r_r101); + CPy_DECREF(cpy_r_r97); + CPy_DECREF(cpy_r_r101); + if (unlikely(cpy_r_r102 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 40, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r103 = CPyStatic_types___globals; + cpy_r_r104 = CPyStatics[523]; /* '_NonOverloaded' */ + cpy_r_r105 = CPyDict_SetItem(cpy_r_r103, cpy_r_r104, cpy_r_r102); + CPy_DECREF(cpy_r_r102); + cpy_r_r106 = cpy_r_r105 >= 0; + if (unlikely(!cpy_r_r106)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 40, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r107 = CPyStatic_types___globals; + cpy_r_r108 = CPyStatics[505]; /* 'OverloadedMethod' */ + cpy_r_r109 = CPyDict_GetItem(cpy_r_r107, cpy_r_r108); + if (unlikely(cpy_r_r109 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 45, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r110 = CPyStatic_types___globals; + cpy_r_r111 = CPyStatics[519]; /* '_DankMethodMixin' */ + cpy_r_r112 = CPyDict_GetItem(cpy_r_r110, cpy_r_r111); + if (unlikely(cpy_r_r112 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 45, CPyStatic_types___globals); + goto CPyL58; + } + cpy_r_r113 = CPyStatic_types___globals; + cpy_r_r114 = CPyStatics[259]; /* '_T' */ + cpy_r_r115 = CPyDict_GetItem(cpy_r_r113, cpy_r_r114); + if (unlikely(cpy_r_r115 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 45, CPyStatic_types___globals); + goto CPyL59; + } + cpy_r_r116 = PyObject_GetItem(cpy_r_r112, cpy_r_r115); + CPy_DECREF(cpy_r_r112); + CPy_DECREF(cpy_r_r115); + if (unlikely(cpy_r_r116 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 45, CPyStatic_types___globals); + goto CPyL58; + } + cpy_r_r117 = PyTuple_Pack(2, cpy_r_r109, cpy_r_r116); + CPy_DECREF(cpy_r_r109); + CPy_DECREF(cpy_r_r116); + if (unlikely(cpy_r_r117 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 45, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r118 = CPyStatics[315]; /* 'dank_mids.brownie_patch.types' */ + cpy_r_r119 = (PyObject *)CPyType_types___DankOverloadedMethod_template; + cpy_r_r120 = CPyType_FromTemplate(cpy_r_r119, cpy_r_r117, cpy_r_r118); + CPy_DECREF(cpy_r_r117); + if (unlikely(cpy_r_r120 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 45, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r121 = CPyDef_types___DankOverloadedMethod_trait_vtable_setup(); + if (unlikely(cpy_r_r121 == 2)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", -1, CPyStatic_types___globals); + goto CPyL60; + } + cpy_r_r122 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r123 = CPyStatics[501]; /* 'methods' */ + cpy_r_r124 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r125 = PyTuple_Pack(2, cpy_r_r123, cpy_r_r124); + if (unlikely(cpy_r_r125 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 45, CPyStatic_types___globals); + goto CPyL60; + } + cpy_r_r126 = PyObject_SetAttr(cpy_r_r120, cpy_r_r122, cpy_r_r125); + CPy_DECREF(cpy_r_r125); + cpy_r_r127 = cpy_r_r126 >= 0; + if (unlikely(!cpy_r_r127)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 45, CPyStatic_types___globals); + goto CPyL60; + } + CPyType_types___DankOverloadedMethod = (PyTypeObject *)cpy_r_r120; + CPy_INCREF(CPyType_types___DankOverloadedMethod); + cpy_r_r128 = CPyStatic_types___globals; + cpy_r_r129 = CPyStatics[314]; /* 'DankOverloadedMethod' */ + cpy_r_r130 = PyDict_SetItem(cpy_r_r128, cpy_r_r129, cpy_r_r120); + CPy_DECREF(cpy_r_r120); + cpy_r_r131 = cpy_r_r130 >= 0; + if (unlikely(!cpy_r_r131)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 45, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r132 = CPyStatic_types___globals; + cpy_r_r133 = CPyStatics[38]; /* 'Union' */ + cpy_r_r134 = CPyDict_GetItem(cpy_r_r132, cpy_r_r133); + if (unlikely(cpy_r_r134 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 97, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r135 = (PyObject *)CPyType_types___DankContractCall; + cpy_r_r136 = (PyObject *)CPyType_types___DankContractTx; + cpy_r_r137 = (PyObject *)CPyType_types___DankOverloadedMethod; + CPy_INCREF(cpy_r_r135); + CPy_INCREF(cpy_r_r136); + CPy_INCREF(cpy_r_r137); + cpy_r_r138.f0 = cpy_r_r135; + cpy_r_r138.f1 = cpy_r_r136; + cpy_r_r138.f2 = cpy_r_r137; + cpy_r_r139 = PyTuple_New(3); + if (unlikely(cpy_r_r139 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp188 = cpy_r_r138.f0; + PyTuple_SET_ITEM(cpy_r_r139, 0, __tmp188); + PyObject *__tmp189 = cpy_r_r138.f1; + PyTuple_SET_ITEM(cpy_r_r139, 1, __tmp189); + PyObject *__tmp190 = cpy_r_r138.f2; + PyTuple_SET_ITEM(cpy_r_r139, 2, __tmp190); + cpy_r_r140 = PyObject_GetItem(cpy_r_r134, cpy_r_r139); + CPy_DECREF(cpy_r_r134); + CPy_DECREF(cpy_r_r139); + if (unlikely(cpy_r_r140 == NULL)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 97, CPyStatic_types___globals); + goto CPyL50; + } + cpy_r_r141 = CPyStatic_types___globals; + cpy_r_r142 = CPyStatics[312]; /* 'DankContractMethod' */ + cpy_r_r143 = CPyDict_SetItem(cpy_r_r141, cpy_r_r142, cpy_r_r140); + CPy_DECREF(cpy_r_r140); + cpy_r_r144 = cpy_r_r143 >= 0; + if (unlikely(!cpy_r_r144)) { + CPy_AddTraceback("dank_mids\\brownie_patch\\types.py", "", 97, CPyStatic_types___globals); + goto CPyL50; + } + return 1; +CPyL50: ; + cpy_r_r145 = 2; + return cpy_r_r145; +CPyL51: ; + CPy_DecRef(cpy_r_r38); + goto CPyL50; +CPyL52: ; + CPy_DecRef(cpy_r_r38); + CPy_DecRef(cpy_r_r41); + goto CPyL50; +CPyL53: ; + CPy_DecRef(cpy_r_r38); + CPy_DecRef(cpy_r_r41); + CPy_DecRef(cpy_r_r44); + goto CPyL50; +CPyL54: ; + CPy_DecRef(cpy_r_r57); + goto CPyL50; +CPyL55: ; + CPy_DecRef(cpy_r_r64); + goto CPyL50; +CPyL56: ; + CPy_DecRef(cpy_r_r77); + goto CPyL50; +CPyL57: ; + CPy_DecRef(cpy_r_r84); + goto CPyL50; +CPyL58: ; + CPy_DecRef(cpy_r_r109); + goto CPyL50; +CPyL59: ; + CPy_DecRef(cpy_r_r109); + CPy_DecRef(cpy_r_r112); + goto CPyL50; +CPyL60: ; + CPy_DecRef(cpy_r_r120); + goto CPyL50; +} +static PyMethodDef helpersmodule_methods[] = { + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___helpers(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___helpers__internal, "__name__"); + CPyStatic_helpers___globals = PyModule_GetDict(CPyModule_dank_mids___helpers__internal); + if (unlikely(CPyStatic_helpers___globals == NULL)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_helpers_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___helpers__internal); + Py_CLEAR(modname); + return -1; +} +static struct PyModuleDef helpersmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.helpers", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + helpersmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___helpers(void) +{ + if (CPyModule_dank_mids___helpers__internal) { + Py_INCREF(CPyModule_dank_mids___helpers__internal); + return CPyModule_dank_mids___helpers__internal; + } + CPyModule_dank_mids___helpers__internal = PyModule_Create(&helpersmodule); + if (unlikely(CPyModule_dank_mids___helpers__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___helpers(CPyModule_dank_mids___helpers__internal) != 0) + goto fail; + return CPyModule_dank_mids___helpers__internal; + fail: + return NULL; +} + +char CPyDef_helpers_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + CPyPtr cpy_r_r33; + CPyPtr cpy_r_r34; + CPyPtr cpy_r_r35; + CPyPtr cpy_r_r36; + CPyPtr cpy_r_r37; + CPyPtr cpy_r_r38; + CPyPtr cpy_r_r39; + CPyPtr cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + int32_t cpy_r_r43; + char cpy_r_r44; + char cpy_r_r45; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\__init__.py", "", -1, CPyStatic_helpers___globals); + goto CPyL11; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[1006]; /* ('gatherish',) */ + cpy_r_r6 = CPyStatics[525]; /* 'dank_mids.helpers._gather' */ + cpy_r_r7 = CPyStatic_helpers___globals; + cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\__init__.py", "", 1, CPyStatic_helpers___globals); + goto CPyL11; + } + CPyModule_dank_mids___helpers____gather = cpy_r_r8; + CPy_INCREF(CPyModule_dank_mids___helpers____gather); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[1007]; /* ('setup_dank_w3', 'setup_dank_w3_from_sync') */ + cpy_r_r10 = CPyStatics[319]; /* 'dank_mids.helpers._helpers' */ + cpy_r_r11 = CPyStatic_helpers___globals; + cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\__init__.py", "", 2, CPyStatic_helpers___globals); + goto CPyL11; + } + CPyModule_dank_mids___helpers____helpers = cpy_r_r12; + CPy_INCREF(CPyModule_dank_mids___helpers____helpers); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = CPyStatics[938]; /* ('DebuggableFuture',) */ + cpy_r_r14 = CPyStatics[527]; /* 'dank_mids.helpers.future' */ + cpy_r_r15 = CPyStatic_helpers___globals; + cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\__init__.py", "", 3, CPyStatic_helpers___globals); + goto CPyL11; + } + CPyModule_dank_mids___helpers___future = cpy_r_r16; + CPy_INCREF(CPyModule_dank_mids___helpers___future); + CPy_DECREF(cpy_r_r16); + cpy_r_r17 = CPyStatics[968]; /* ('make_hashable',) */ + cpy_r_r18 = CPyStatics[350]; /* 'dank_mids.helpers.hashing' */ + cpy_r_r19 = CPyStatic_helpers___globals; + cpy_r_r20 = CPyImport_ImportFromMany(cpy_r_r18, cpy_r_r17, cpy_r_r17, cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\__init__.py", "", 4, CPyStatic_helpers___globals); + goto CPyL11; + } + CPyModule_dank_mids___helpers___hashing = cpy_r_r20; + CPy_INCREF(CPyModule_dank_mids___helpers___hashing); + CPy_DECREF(cpy_r_r20); + cpy_r_r21 = CPyStatics[1008]; /* ('lru_cache_lite', 'lru_cache_lite_nonull') */ + cpy_r_r22 = CPyStatics[449]; /* 'dank_mids.helpers.lru_cache' */ + cpy_r_r23 = CPyStatic_helpers___globals; + cpy_r_r24 = CPyImport_ImportFromMany(cpy_r_r22, cpy_r_r21, cpy_r_r21, cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\__init__.py", "", 5, CPyStatic_helpers___globals); + goto CPyL11; + } + CPyModule_dank_mids___helpers___lru_cache = cpy_r_r24; + CPy_INCREF(CPyModule_dank_mids___helpers___lru_cache); + CPy_DECREF(cpy_r_r24); + cpy_r_r25 = CPyStatics[526]; /* 'setup_dank_w3' */ + cpy_r_r26 = CPyStatics[310]; /* 'setup_dank_w3_from_sync' */ + cpy_r_r27 = CPyStatics[218]; /* 'DebuggableFuture' */ + cpy_r_r28 = CPyStatics[528]; /* 'lru_cache_lite' */ + cpy_r_r29 = CPyStatics[448]; /* 'lru_cache_lite_nonull' */ + cpy_r_r30 = CPyStatics[349]; /* 'make_hashable' */ + cpy_r_r31 = CPyStatics[524]; /* 'gatherish' */ + cpy_r_r32 = PyList_New(7); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\__init__.py", "", 7, CPyStatic_helpers___globals); + goto CPyL11; + } + cpy_r_r33 = (CPyPtr)&((PyListObject *)cpy_r_r32)->ob_item; + cpy_r_r34 = *(CPyPtr *)cpy_r_r33; + CPy_INCREF(cpy_r_r25); + *(PyObject * *)cpy_r_r34 = cpy_r_r25; + CPy_INCREF(cpy_r_r26); + cpy_r_r35 = cpy_r_r34 + 8; + *(PyObject * *)cpy_r_r35 = cpy_r_r26; + CPy_INCREF(cpy_r_r27); + cpy_r_r36 = cpy_r_r34 + 16; + *(PyObject * *)cpy_r_r36 = cpy_r_r27; + CPy_INCREF(cpy_r_r28); + cpy_r_r37 = cpy_r_r34 + 24; + *(PyObject * *)cpy_r_r37 = cpy_r_r28; + CPy_INCREF(cpy_r_r29); + cpy_r_r38 = cpy_r_r34 + 32; + *(PyObject * *)cpy_r_r38 = cpy_r_r29; + CPy_INCREF(cpy_r_r30); + cpy_r_r39 = cpy_r_r34 + 40; + *(PyObject * *)cpy_r_r39 = cpy_r_r30; + CPy_INCREF(cpy_r_r31); + cpy_r_r40 = cpy_r_r34 + 48; + *(PyObject * *)cpy_r_r40 = cpy_r_r31; + cpy_r_r41 = CPyStatic_helpers___globals; + cpy_r_r42 = CPyStatics[226]; /* '__all__' */ + cpy_r_r43 = CPyDict_SetItem(cpy_r_r41, cpy_r_r42, cpy_r_r32); + CPy_DECREF_NO_IMM(cpy_r_r32); + cpy_r_r44 = cpy_r_r43 >= 0; + if (unlikely(!cpy_r_r44)) { + CPy_AddTraceback("dank_mids\\helpers\\__init__.py", "", 7, CPyStatic_helpers___globals); + goto CPyL11; + } + return 1; +CPyL11: ; + cpy_r_r45 = 2; + return cpy_r_r45; +} + +static int +_codec___RawResponse_init(PyObject *self, PyObject *args, PyObject *kwds) +{ + return 0; +} +PyObject *CPyDef__codec_____mypyc__RawResponse_setup(PyObject *cpy_r_type); +PyObject *CPyDef__codec___RawResponse(PyObject *cpy_r_raw); + +static PyObject * +_codec___RawResponse_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType__codec___RawResponse) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef__codec_____mypyc__RawResponse_setup((PyObject*)type); + if (self == NULL) + return NULL; + PyObject *ret = CPyPy__codec___RawResponse_____init__(self, args, kwds); + if (ret == NULL) + return NULL; + return self; +} + +static int +_codec___RawResponse_traverse(dank_mids___helpers____codec___RawResponseObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->__raw); + return 0; +} + +static int +_codec___RawResponse_clear(dank_mids___helpers____codec___RawResponseObject *self) +{ + Py_CLEAR(self->__raw); + return 0; +} + +static void +_codec___RawResponse_dealloc(dank_mids___helpers____codec___RawResponseObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, _codec___RawResponse_dealloc) + _codec___RawResponse_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem _codec___RawResponse_vtable[2]; +static bool +CPyDef__codec___RawResponse_trait_vtable_setup(void) +{ + CPyVTableItem _codec___RawResponse_vtable_scratch[] = { + (CPyVTableItem)CPyDef__codec___RawResponse_____init__, + (CPyVTableItem)CPyDef__codec___RawResponse___decode, + }; + memcpy(_codec___RawResponse_vtable, _codec___RawResponse_vtable_scratch, sizeof(_codec___RawResponse_vtable)); + return 1; +} + +static PyObject * +_codec___RawResponse_get__raw(dank_mids___helpers____codec___RawResponseObject *self, void *closure); +static int +_codec___RawResponse_set__raw(dank_mids___helpers____codec___RawResponseObject *self, PyObject *value, void *closure); + +static PyGetSetDef _codec___RawResponse_getseters[] = { + {"_raw", + (getter)_codec___RawResponse_get__raw, (setter)_codec___RawResponse_set__raw, + NULL, NULL}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _codec___RawResponse_methods[] = { + {"__init__", + (PyCFunction)CPyPy__codec___RawResponse_____init__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__init__($self, raw)\n--\n\n")}, + {"decode", + (PyCFunction)CPyPy__codec___RawResponse___decode, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("decode($self, partial=False)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__codec___RawResponse_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "RawResponse", + .tp_new = _codec___RawResponse_new, + .tp_dealloc = (destructor)_codec___RawResponse_dealloc, + .tp_traverse = (traverseproc)_codec___RawResponse_traverse, + .tp_clear = (inquiry)_codec___RawResponse_clear, + .tp_getset = _codec___RawResponse_getseters, + .tp_methods = _codec___RawResponse_methods, + .tp_init = _codec___RawResponse_init, + .tp_basicsize = sizeof(dank_mids___helpers____codec___RawResponseObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("RawResponse(raw)\n--\n\n"), +}; +static PyTypeObject *CPyType__codec___RawResponse_template = &CPyType__codec___RawResponse_template_; + +PyObject *CPyDef__codec_____mypyc__RawResponse_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___helpers____codec___RawResponseObject *self; + self = (dank_mids___helpers____codec___RawResponseObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = _codec___RawResponse_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef__codec___RawResponse(PyObject *cpy_r_raw) +{ + PyObject *self = CPyDef__codec_____mypyc__RawResponse_setup((PyObject *)CPyType__codec___RawResponse); + if (self == NULL) + return NULL; + char res = CPyDef__codec___RawResponse_____init__(self, cpy_r_raw); + if (res == 2) { + Py_DECREF(self); + return NULL; + } + return self; +} + +static PyObject * +_codec___RawResponse_get__raw(dank_mids___helpers____codec___RawResponseObject *self, void *closure) +{ + if (unlikely(self->__raw == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '_raw' of 'RawResponse' undefined"); + return NULL; + } + CPy_INCREF(self->__raw); + PyObject *retval = self->__raw; + return retval; +} + +static int +_codec___RawResponse_set__raw(dank_mids___helpers____codec___RawResponseObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'RawResponse' object attribute '_raw' cannot be deleted"); + return -1; + } + if (self->__raw != NULL) { + CPy_DECREF(self->__raw); + } + PyObject *tmp = value; + CPy_INCREF(tmp); + self->__raw = tmp; + return 0; +} + +static PyObject *CPyDunder___get___codec_____mypyc_lambda__0_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef__codec_____mypyc_lambda__0_obj_____get__(self, instance, owner); +} +PyObject *CPyDef__codec_____mypyc___3__mypyc_lambda__0_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef__codec_____mypyc_lambda__0_obj(void); + +static PyObject * +_codec_____mypyc_lambda__0_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType__codec_____mypyc_lambda__0_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef__codec_____mypyc___3__mypyc_lambda__0_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +_codec_____mypyc_lambda__0_obj_traverse(dank_mids___helpers____codec_____mypyc_lambda__0_objObject *self, visitproc visit, void *arg) +{ + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +_codec_____mypyc_lambda__0_obj_clear(dank_mids___helpers____codec_____mypyc_lambda__0_objObject *self) +{ + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +_codec_____mypyc_lambda__0_obj_dealloc(dank_mids___helpers____codec_____mypyc_lambda__0_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (_codec_____mypyc_lambda__0_obj_free_instance == NULL) { + _codec_____mypyc_lambda__0_obj_free_instance = self; + return; + } + CPy_TRASHCAN_BEGIN(self, _codec_____mypyc_lambda__0_obj_dealloc) + _codec_____mypyc_lambda__0_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem _codec_____mypyc_lambda__0_obj_vtable[2]; +static bool +CPyDef__codec_____mypyc_lambda__0_obj_trait_vtable_setup(void) +{ + CPyVTableItem _codec_____mypyc_lambda__0_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef__codec_____mypyc_lambda__0_obj_____call__, + (CPyVTableItem)CPyDef__codec_____mypyc_lambda__0_obj_____get__, + }; + memcpy(_codec_____mypyc_lambda__0_obj_vtable, _codec_____mypyc_lambda__0_obj_vtable_scratch, sizeof(_codec_____mypyc_lambda__0_obj_vtable)); + return 1; +} + + +static PyGetSetDef _codec_____mypyc_lambda__0_obj_getseters[] = { + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _codec_____mypyc_lambda__0_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy__codec_____mypyc_lambda__0_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__(*$_)\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy__codec_____mypyc_lambda__0_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__codec_____mypyc_lambda__0_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "__mypyc_lambda__0_obj", + .tp_new = _codec_____mypyc_lambda__0_obj_new, + .tp_dealloc = (destructor)_codec_____mypyc_lambda__0_obj_dealloc, + .tp_traverse = (traverseproc)_codec_____mypyc_lambda__0_obj_traverse, + .tp_clear = (inquiry)_codec_____mypyc_lambda__0_obj_clear, + .tp_getset = _codec_____mypyc_lambda__0_obj_getseters, + .tp_methods = _codec_____mypyc_lambda__0_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get___codec_____mypyc_lambda__0_obj, + .tp_basicsize = sizeof(dank_mids___helpers____codec_____mypyc_lambda__0_objObject), + .tp_vectorcall_offset = offsetof(dank_mids___helpers____codec_____mypyc_lambda__0_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("__mypyc_lambda__0_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType__codec_____mypyc_lambda__0_obj_template = &CPyType__codec_____mypyc_lambda__0_obj_template_; + +PyObject *CPyDef__codec_____mypyc___3__mypyc_lambda__0_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___helpers____codec_____mypyc_lambda__0_objObject *self; + if (_codec_____mypyc_lambda__0_obj_free_instance != NULL) { + self = _codec_____mypyc_lambda__0_obj_free_instance; + _codec_____mypyc_lambda__0_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___helpers____codec_____mypyc_lambda__0_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = _codec_____mypyc_lambda__0_obj_vtable; + self->vectorcall = CPyPy__codec_____mypyc_lambda__0_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef__codec_____mypyc_lambda__0_obj(void) +{ + PyObject *self = CPyDef__codec_____mypyc___3__mypyc_lambda__0_obj_setup((PyObject *)CPyType__codec_____mypyc_lambda__0_obj); + if (self == NULL) + return NULL; + return self; +} + +static PyMethodDef _codecmodule_methods[] = { + {"decode_raw", (PyCFunction)CPyPy__codec___decode_raw, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("decode_raw(data)\n--\n\n") /* docstring */}, + {"decode_jsonrpc_batch", (PyCFunction)CPyPy__codec___decode_jsonrpc_batch, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("decode_jsonrpc_batch(data)\n--\n\n") /* docstring */}, + {"_encode_hook", (PyCFunction)CPyPy__codec____encode_hook, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_encode_hook(obj)\n--\n\n") /* docstring */}, + {"_rudimentary_encode_dict_value", (PyCFunction)CPyPy__codec____rudimentary_encode_dict_value, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_rudimentary_encode_dict_value(value)\n--\n\n") /* docstring */}, + {"_int_to_big_endian", (PyCFunction)CPyPy__codec____int_to_big_endian, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_int_to_big_endian(value)\n--\n\n") /* docstring */}, + {"_encode_uint_256", (PyCFunction)CPyPy__codec____encode_uint_256, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_encode_uint_256(i)\n--\n\n") /* docstring */}, + {"__encode_new", (PyCFunction)CPyPy__codec_____encode_new, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__encode_new(values)\n--\n\n") /* docstring */}, + {"__encode_elements_new", (PyCFunction)CPyPy__codec_____encode_elements_new, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__encode_elements_new(values)\n--\n\n") /* docstring */}, + {"mcall_encode", (PyCFunction)CPyPy__codec___mcall_encode, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("mcall_encode(data)\n--\n\n") /* docstring */}, + {"mcall_decode", (PyCFunction)CPyPy__codec___mcall_decode, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("mcall_decode(data)\n--\n\n") /* docstring */}, + {"__import_from_types", (PyCFunction)CPyPy__codec_____import_from_types, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__import_from_types()\n--\n\n") /* docstring */}, + {"__make_decode_batch", (PyCFunction)CPyPy__codec_____make_decode_batch, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__make_decode_batch()\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___helpers____codec(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___helpers____codec__internal, "__name__"); + CPyStatic__codec___globals = PyModule_GetDict(CPyModule_dank_mids___helpers____codec__internal); + if (unlikely(CPyStatic__codec___globals == NULL)) + goto fail; + CPyType__codec_____mypyc_lambda__0_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType__codec_____mypyc_lambda__0_obj_template, NULL, modname); + if (unlikely(!CPyType__codec_____mypyc_lambda__0_obj)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef__codec_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___helpers____codec__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic__codec___HexBytes); + CPyStatic__codec___HexBytes = NULL; + CPy_XDECREF(CPyStatic__codec___Raw); + CPyStatic__codec___Raw = NULL; + CPy_XDECREF(CPyStatic__codec___ContextFramesBytesIO); + CPyStatic__codec___ContextFramesBytesIO = NULL; + CPy_XDECREF(CPyStatic__codec___DecodeError); + CPyStatic__codec___DecodeError = NULL; + CPy_XDECREF(CPyStatic__codec___decode_string); + CPyStatic__codec___decode_string = NULL; + CPy_XDECREF(CPyStatic__codec____decode_raw); + CPyStatic__codec____decode_raw = NULL; + CPy_XDECREF(CPyStatic__codec___encode); + CPyStatic__codec___encode = NULL; + CPy_XDECREF(CPyStatic__codec____mcall_encoder); + CPyStatic__codec____mcall_encoder = NULL; + CPy_XDECREF(CPyStatic__codec____array_encoder); + CPyStatic__codec____array_encoder = NULL; + CPy_XDECREF(CPyStatic__codec____item_encoder); + CPyStatic__codec____item_encoder = NULL; + CPy_XDECREF(CPyStatic__codec____mcall_decoder); + CPyStatic__codec____mcall_decoder = NULL; + Py_CLEAR(CPyType__codec___RawResponse); + Py_CLEAR(CPyType__codec_____mypyc_lambda__0_obj); + return -1; +} +static struct PyModuleDef _codecmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.helpers._codec", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + _codecmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___helpers____codec(void) +{ + if (CPyModule_dank_mids___helpers____codec__internal) { + Py_INCREF(CPyModule_dank_mids___helpers____codec__internal); + return CPyModule_dank_mids___helpers____codec__internal; + } + CPyModule_dank_mids___helpers____codec__internal = PyModule_Create(&_codecmodule); + if (unlikely(CPyModule_dank_mids___helpers____codec__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___helpers____codec(CPyModule_dank_mids___helpers____codec__internal) != 0) + goto fail; + return CPyModule_dank_mids___helpers____codec__internal; + fail: + return NULL; +} + +char CPyDef__codec___RawResponse_____init__(PyObject *cpy_r_self, PyObject *cpy_r_raw) { + CPy_INCREF(cpy_r_raw); + ((dank_mids___helpers____codec___RawResponseObject *)cpy_r_self)->__raw = cpy_r_raw; + return 1; +} + +PyObject *CPyPy__codec___RawResponse_____init__(PyObject *self, PyObject *args, PyObject *kw) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"raw", 0}; + PyObject *obj_raw; + if (!CPyArg_ParseTupleAndKeywords(args, kw, "O", "__init__", kwlist, &obj_raw)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__codec___RawResponse)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers._codec.RawResponse", obj_self); + goto fail; + } + PyObject *arg_raw = obj_raw; + char retval = CPyDef__codec___RawResponse_____init__(arg_self, arg_raw); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__init__", 86, CPyStatic__codec___globals); + return NULL; +} + +PyObject *CPyDef__codec___RawResponse___decode(PyObject *cpy_r_self, char cpy_r_partial) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + char cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject **cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + if (cpy_r_partial != 2) goto CPyL2; + cpy_r_partial = 0; +CPyL2: ; + cpy_r_r0 = CPyStatic__codec___globals; + cpy_r_r1 = CPyStatics[529]; /* 'better_decode' */ + cpy_r_r2 = CPyDict_GetItem(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode", 96, CPyStatic__codec___globals); + goto CPyL13; + } + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = cpy_r_r2 == cpy_r_r3; + CPy_DECREF(cpy_r_r2); + if (!cpy_r_r4) goto CPyL5; + cpy_r_r5 = CPyDef__codec_____import_from_types(); + if (unlikely(cpy_r_r5 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode", 97, CPyStatic__codec___globals); + goto CPyL13; + } +CPyL5: ; + cpy_r_r6 = ((dank_mids___helpers____codec___RawResponseObject *)cpy_r_self)->__raw; + CPy_INCREF(cpy_r_r6); + if (!cpy_r_partial) goto CPyL8; + cpy_r_r7 = CPyStatic__codec___globals; + cpy_r_r8 = CPyStatics[530]; /* 'PartialResponse' */ + cpy_r_r9 = CPyDict_GetItem(cpy_r_r7, cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode", 98, CPyStatic__codec___globals); + goto CPyL14; + } + cpy_r_r10 = cpy_r_r9; + goto CPyL10; +CPyL8: ; + cpy_r_r11 = CPyStatic__codec___globals; + cpy_r_r12 = CPyStatics[531]; /* 'Response' */ + cpy_r_r13 = CPyDict_GetItem(cpy_r_r11, cpy_r_r12); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode", 98, CPyStatic__codec___globals); + goto CPyL14; + } + cpy_r_r10 = cpy_r_r13; +CPyL10: ; + cpy_r_r14 = CPyStatic__codec___globals; + cpy_r_r15 = CPyStatics[529]; /* 'better_decode' */ + cpy_r_r16 = CPyDict_GetItem(cpy_r_r14, cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode", 98, CPyStatic__codec___globals); + goto CPyL15; + } + PyObject *cpy_r_r17[2] = {cpy_r_r6, cpy_r_r10}; + cpy_r_r18 = (PyObject **)&cpy_r_r17; + cpy_r_r19 = CPyStatics[1009]; /* ('type',) */ + cpy_r_r20 = PyObject_Vectorcall(cpy_r_r16, cpy_r_r18, 1, cpy_r_r19); + CPy_DECREF(cpy_r_r16); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode", 98, CPyStatic__codec___globals); + goto CPyL15; + } + CPy_DECREF(cpy_r_r6); + CPy_DECREF(cpy_r_r10); + return cpy_r_r20; +CPyL13: ; + cpy_r_r21 = NULL; + return cpy_r_r21; +CPyL14: ; + CPy_DecRef(cpy_r_r6); + goto CPyL13; +CPyL15: ; + CPy_DecRef(cpy_r_r6); + CPy_DecRef(cpy_r_r10); + goto CPyL13; +} + +PyObject *CPyPy__codec___RawResponse___decode(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"partial", 0}; + static CPyArg_Parser parser = {"|O:decode", kwlist, 0}; + PyObject *obj_partial = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_partial)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__codec___RawResponse)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers._codec.RawResponse", obj_self); + goto fail; + } + char arg_partial; + if (obj_partial == NULL) { + arg_partial = 2; + } else if (unlikely(!PyBool_Check(obj_partial))) { + CPy_TypeError("bool", obj_partial); goto fail; + } else + arg_partial = obj_partial == Py_True; + PyObject *retval = CPyDef__codec___RawResponse___decode(arg_self, arg_partial); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode", 94, CPyStatic__codec___globals); + return NULL; +} + +PyObject *CPyDef__codec___decode_raw(PyObject *cpy_r_data) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject **cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + char cpy_r_r8; + char cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + int32_t cpy_r_r15; + char cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + int32_t cpy_r_r19; + char cpy_r_r20; + char cpy_r_r21; + PyObject *cpy_r_r22; + cpy_r_r0 = CPyStatic__codec____decode_raw; + if (likely(cpy_r_r0 != NULL)) goto CPyL4; + PyErr_SetString(PyExc_NameError, "value for final name \"_decode_raw\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_raw", 114, CPyStatic__codec___globals); + goto CPyL7; + } + CPy_Unreachable(); +CPyL4: ; + PyObject *cpy_r_r2[1] = {cpy_r_data}; + cpy_r_r3 = (PyObject **)&cpy_r_r2; + cpy_r_r4 = PyObject_Vectorcall(cpy_r_r0, cpy_r_r3, 1, 0); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_raw", 114, CPyStatic__codec___globals); + goto CPyL7; + } + cpy_r_r5 = CPyDef__codec___RawResponse(cpy_r_r4); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_raw", 114, CPyStatic__codec___globals); + goto CPyL7; + } + return cpy_r_r5; +CPyL7: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyStatic__codec___DecodeError; + if (likely(cpy_r_r7 != NULL)) goto CPyL10; + PyErr_SetString(PyExc_NameError, "value for final name \"DecodeError\" was not set"); + cpy_r_r8 = 0; + if (unlikely(!cpy_r_r8)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_raw", 115, CPyStatic__codec___globals); + goto CPyL21; + } else + goto CPyL24; +CPyL9: ; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r9 = CPy_ExceptionMatches(cpy_r_r7); + if (!cpy_r_r9) goto CPyL19; + cpy_r_r10 = CPy_GetExcValue(); + cpy_r_r11 = CPyStatics[186]; /* 'args' */ + cpy_r_r12 = CPyObject_GetAttr(cpy_r_r10, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_raw", 116, CPyStatic__codec___globals); + goto CPyL25; + } + cpy_r_r13 = PyList_New(0); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_raw", 116, CPyStatic__codec___globals); + goto CPyL26; + } + cpy_r_r14 = CPyList_Extend(cpy_r_r13, cpy_r_r12); + CPy_DecRef(cpy_r_r12); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_raw", 116, CPyStatic__codec___globals); + goto CPyL27; + } else + goto CPyL28; +CPyL14: ; + cpy_r_r15 = PyList_Append(cpy_r_r13, cpy_r_data); + cpy_r_r16 = cpy_r_r15 >= 0; + if (unlikely(!cpy_r_r16)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_raw", 116, CPyStatic__codec___globals); + goto CPyL27; + } + cpy_r_r17 = PyList_AsTuple(cpy_r_r13); + CPy_DecRef(cpy_r_r13); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_raw", 116, CPyStatic__codec___globals); + goto CPyL25; + } + cpy_r_r18 = CPyStatics[186]; /* 'args' */ + cpy_r_r19 = PyObject_SetAttr(cpy_r_r10, cpy_r_r18, cpy_r_r17); + CPy_DecRef(cpy_r_r10); + CPy_DecRef(cpy_r_r17); + cpy_r_r20 = cpy_r_r19 >= 0; + if (unlikely(!cpy_r_r20)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_raw", 116, CPyStatic__codec___globals); + goto CPyL21; + } + CPy_Reraise(); + if (!0) { + goto CPyL21; + } else + goto CPyL29; +CPyL18: ; + CPy_Unreachable(); +CPyL19: ; + CPy_Reraise(); + if (!0) { + goto CPyL21; + } else + goto CPyL30; +CPyL20: ; + CPy_Unreachable(); +CPyL21: ; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DecRef(cpy_r_r6.f0); + CPy_DecRef(cpy_r_r6.f1); + CPy_DecRef(cpy_r_r6.f2); + cpy_r_r21 = CPy_KeepPropagating(); + if (!cpy_r_r21) goto CPyL23; + CPy_Unreachable(); +CPyL23: ; + cpy_r_r22 = NULL; + return cpy_r_r22; +CPyL24: ; + CPy_DecRef(cpy_r_r6.f0); + CPy_DecRef(cpy_r_r6.f1); + CPy_DecRef(cpy_r_r6.f2); + goto CPyL9; +CPyL25: ; + CPy_DecRef(cpy_r_r10); + goto CPyL21; +CPyL26: ; + CPy_DecRef(cpy_r_r10); + CPy_DecRef(cpy_r_r12); + goto CPyL21; +CPyL27: ; + CPy_DecRef(cpy_r_r10); + CPy_DecRef(cpy_r_r13); + goto CPyL21; +CPyL28: ; + CPy_DecRef(cpy_r_r14); + goto CPyL14; +CPyL29: ; + CPy_DecRef(cpy_r_r6.f0); + CPy_DecRef(cpy_r_r6.f1); + CPy_DecRef(cpy_r_r6.f2); + goto CPyL18; +CPyL30: ; + CPy_DecRef(cpy_r_r6.f0); + CPy_DecRef(cpy_r_r6.f1); + CPy_DecRef(cpy_r_r6.f2); + goto CPyL20; +} + +PyObject *CPyPy__codec___decode_raw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"data", 0}; + static CPyArg_Parser parser = {"O:decode_raw", kwlist, 0}; + PyObject *obj_data; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_data)) { + return NULL; + } + PyObject *arg_data = obj_data; + PyObject *retval = CPyDef__codec___decode_raw(arg_data); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_raw", 103, CPyStatic__codec___globals); + return NULL; +} + +PyObject *CPyDef__codec___decode_jsonrpc_batch(PyObject *cpy_r_data) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + char cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject **cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_decoded; + char cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + int32_t cpy_r_r17; + char cpy_r_r18; + char cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + cpy_r_r0 = CPyStatic__codec___globals; + cpy_r_r1 = CPyStatics[532]; /* '_decode_batch' */ + cpy_r_r2 = CPyDict_GetItem(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_jsonrpc_batch", 130, CPyStatic__codec___globals); + goto CPyL15; + } + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = cpy_r_r2 == cpy_r_r3; + CPy_DECREF(cpy_r_r2); + if (!cpy_r_r4) goto CPyL3; + cpy_r_r5 = CPyDef__codec_____make_decode_batch(); + if (unlikely(cpy_r_r5 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_jsonrpc_batch", 131, CPyStatic__codec___globals); + goto CPyL15; + } +CPyL3: ; + cpy_r_r6 = CPyStatic__codec___globals; + cpy_r_r7 = CPyStatics[532]; /* '_decode_batch' */ + cpy_r_r8 = CPyDict_GetItem(cpy_r_r6, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_jsonrpc_batch", 133, CPyStatic__codec___globals); + goto CPyL15; + } + PyObject *cpy_r_r9[1] = {cpy_r_data}; + cpy_r_r10 = (PyObject **)&cpy_r_r9; + cpy_r_r11 = PyObject_Vectorcall(cpy_r_r8, cpy_r_r10, 1, 0); + CPy_DECREF(cpy_r_r8); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_jsonrpc_batch", 133, CPyStatic__codec___globals); + goto CPyL15; + } + cpy_r_decoded = cpy_r_r11; + cpy_r_r12 = PyList_Check(cpy_r_decoded); + if (!cpy_r_r12) goto CPyL13; + cpy_r_r13 = PyList_New(0); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_jsonrpc_batch", 134, CPyStatic__codec___globals); + goto CPyL16; + } + cpy_r_r14 = PyObject_GetIter(cpy_r_decoded); + CPy_DECREF(cpy_r_decoded); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_jsonrpc_batch", 134, CPyStatic__codec___globals); + goto CPyL17; + } +CPyL8: ; + cpy_r_r15 = PyIter_Next(cpy_r_r14); + if (cpy_r_r15 == NULL) goto CPyL18; + cpy_r_r16 = CPyDef__codec___RawResponse(cpy_r_r15); + CPy_DECREF(cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_jsonrpc_batch", 134, CPyStatic__codec___globals); + goto CPyL19; + } + cpy_r_r17 = PyList_Append(cpy_r_r13, cpy_r_r16); + CPy_DECREF_NO_IMM(cpy_r_r16); + cpy_r_r18 = cpy_r_r17 >= 0; + if (unlikely(!cpy_r_r18)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_jsonrpc_batch", 134, CPyStatic__codec___globals); + goto CPyL19; + } else + goto CPyL8; +CPyL11: ; + cpy_r_r19 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r19)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_jsonrpc_batch", 134, CPyStatic__codec___globals); + goto CPyL17; + } + cpy_r_r20 = cpy_r_r13; + goto CPyL14; +CPyL13: ; + cpy_r_r20 = cpy_r_decoded; +CPyL14: ; + return cpy_r_r20; +CPyL15: ; + cpy_r_r21 = NULL; + return cpy_r_r21; +CPyL16: ; + CPy_DecRef(cpy_r_decoded); + goto CPyL15; +CPyL17: ; + CPy_DecRef(cpy_r_r13); + goto CPyL15; +CPyL18: ; + CPy_DECREF(cpy_r_r14); + goto CPyL11; +CPyL19: ; + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r14); + goto CPyL15; +} + +PyObject *CPyPy__codec___decode_jsonrpc_batch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"data", 0}; + static CPyArg_Parser parser = {"O:decode_jsonrpc_batch", kwlist, 0}; + PyObject *obj_data; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_data)) { + return NULL; + } + PyObject *arg_data = obj_data; + PyObject *retval = CPyDef__codec___decode_jsonrpc_batch(arg_data); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_jsonrpc_batch", 120, CPyStatic__codec___globals); + return NULL; +} + +PyObject *CPyDef__codec____encode_hook(PyObject *cpy_r_obj) { + PyObject *cpy_r_r0; + PyObject **cpy_r_r2; + PyObject *cpy_r_r3; + CPyTagged cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject **cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + tuple_T3OOO cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + char cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_e; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + int32_t cpy_r_r22; + char cpy_r_r23; + char cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject **cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + tuple_T2OO cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + int32_t cpy_r_r38; + char cpy_r_r39; + char cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + int32_t cpy_r_r50; + char cpy_r_r51; + int32_t cpy_r_r52; + char cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + char cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + char cpy_r_r62; + int32_t cpy_r_r63; + char cpy_r_r64; + char cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject **cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + int32_t cpy_r_r75; + char cpy_r_r76; + char cpy_r_r77; + PyObject *cpy_r_r78; + PyObject *cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + int32_t cpy_r_r88; + char cpy_r_r89; + int32_t cpy_r_r90; + char cpy_r_r91; + PyObject *cpy_r_r92; + PyObject *cpy_r_r93; + char cpy_r_r94; + PyObject *cpy_r_r95; + cpy_r_r0 = (PyObject *)&PyLong_Type; + PyObject *cpy_r_r1[1] = {cpy_r_obj}; + cpy_r_r2 = (PyObject **)&cpy_r_r1; + cpy_r_r3 = PyObject_Vectorcall(cpy_r_r0, cpy_r_r2, 1, 0); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 152, CPyStatic__codec___globals); + goto CPyL7; + } + if (likely(PyLong_Check(cpy_r_r3))) + cpy_r_r4 = CPyTagged_FromObject(cpy_r_r3); + else { + CPy_TypeError("int", cpy_r_r3); cpy_r_r4 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r4 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 152, CPyStatic__codec___globals); + goto CPyL7; + } + cpy_r_r5 = CPyModule_builtins; + cpy_r_r6 = CPyStatics[8]; /* 'hex' */ + cpy_r_r7 = CPyObject_GetAttr(cpy_r_r5, cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 152, CPyStatic__codec___globals); + goto CPyL66; + } + cpy_r_r8 = CPyTagged_StealAsObject(cpy_r_r4); + PyObject *cpy_r_r9[1] = {cpy_r_r8}; + cpy_r_r10 = (PyObject **)&cpy_r_r9; + cpy_r_r11 = PyObject_Vectorcall(cpy_r_r7, cpy_r_r10, 1, 0); + CPy_DECREF(cpy_r_r7); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 152, CPyStatic__codec___globals); + goto CPyL67; + } + CPy_DECREF(cpy_r_r8); + if (likely(PyUnicode_Check(cpy_r_r11))) + cpy_r_r12 = cpy_r_r11; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 152, CPyStatic__codec___globals, "str", cpy_r_r11); + goto CPyL7; + } + return cpy_r_r12; +CPyL7: ; + cpy_r_r13 = CPy_CatchError(); + cpy_r_r14 = CPyModule_builtins; + cpy_r_r15 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r16 = CPyObject_GetAttr(cpy_r_r14, cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 153, CPyStatic__codec___globals); + goto CPyL63; + } + cpy_r_r17 = CPy_ExceptionMatches(cpy_r_r16); + CPy_DecRef(cpy_r_r16); + if (!cpy_r_r17) goto CPyL34; + cpy_r_r18 = CPy_GetExcValue(); + cpy_r_e = cpy_r_r18; + cpy_r_r19 = CPyStatic__codec___globals; + cpy_r_r20 = CPyStatics[264]; /* 'Mapping' */ + cpy_r_r21 = CPyDict_GetItem(cpy_r_r19, cpy_r_r20); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 156, CPyStatic__codec___globals); + goto CPyL68; + } + cpy_r_r22 = PyObject_IsInstance(cpy_r_obj, cpy_r_r21); + CPy_DecRef(cpy_r_r21); + cpy_r_r23 = cpy_r_r22 >= 0; + if (unlikely(!cpy_r_r23)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 156, CPyStatic__codec___globals); + goto CPyL68; + } + cpy_r_r24 = cpy_r_r22; + if (cpy_r_r24) { + goto CPyL69; + } else + goto CPyL23; +CPyL12: ; + cpy_r_r25 = PyDict_New(); + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 157, CPyStatic__codec___globals); + goto CPyL63; + } + CPy_INCREF(cpy_r_obj); + cpy_r_r26 = cpy_r_obj; + cpy_r_r27 = CPyStatics[240]; /* 'items' */ + PyObject *cpy_r_r28[1] = {cpy_r_r26}; + cpy_r_r29 = (PyObject **)&cpy_r_r28; + cpy_r_r30 = PyObject_VectorcallMethod(cpy_r_r27, cpy_r_r29, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 157, CPyStatic__codec___globals); + goto CPyL70; + } + CPy_DecRef(cpy_r_r26); + cpy_r_r31 = PyObject_GetIter(cpy_r_r30); + CPy_DecRef(cpy_r_r30); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 157, CPyStatic__codec___globals); + goto CPyL71; + } +CPyL16: ; + cpy_r_r32 = PyIter_Next(cpy_r_r31); + if (cpy_r_r32 == NULL) goto CPyL72; + PyObject *__tmp191; + if (unlikely(!(PyTuple_Check(cpy_r_r32) && PyTuple_GET_SIZE(cpy_r_r32) == 2))) { + __tmp191 = NULL; + goto __LL192; + } + __tmp191 = PyTuple_GET_ITEM(cpy_r_r32, 0); + if (__tmp191 == NULL) goto __LL192; + __tmp191 = PyTuple_GET_ITEM(cpy_r_r32, 1); + if (__tmp191 == NULL) goto __LL192; + __tmp191 = cpy_r_r32; +__LL192: ; + if (unlikely(__tmp191 == NULL)) { + CPy_TypeError("tuple[object, object]", cpy_r_r32); cpy_r_r33 = (tuple_T2OO) { NULL, NULL }; + } else { + PyObject *__tmp193 = PyTuple_GET_ITEM(cpy_r_r32, 0); + CPy_INCREF(__tmp193); + PyObject *__tmp194; + __tmp194 = __tmp193; + cpy_r_r33.f0 = __tmp194; + PyObject *__tmp195 = PyTuple_GET_ITEM(cpy_r_r32, 1); + CPy_INCREF(__tmp195); + PyObject *__tmp196; + __tmp196 = __tmp195; + cpy_r_r33.f1 = __tmp196; + } + CPy_DecRef(cpy_r_r32); + if (unlikely(cpy_r_r33.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 157, CPyStatic__codec___globals); + goto CPyL73; + } + cpy_r_r34 = cpy_r_r33.f0; + CPy_INCREF(cpy_r_r34); + cpy_r_r35 = cpy_r_r33.f1; + CPy_INCREF(cpy_r_r35); + CPy_DecRef(cpy_r_r33.f0); + CPy_DecRef(cpy_r_r33.f1); + cpy_r_r36 = CPyDef__codec____rudimentary_encode_dict_value(cpy_r_r35); + CPy_DecRef(cpy_r_r35); + if (unlikely(cpy_r_r36 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 157, CPyStatic__codec___globals); + goto CPyL74; + } + if (likely(PyUnicode_Check(cpy_r_r36))) + cpy_r_r37 = cpy_r_r36; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 157, CPyStatic__codec___globals, "str", cpy_r_r36); + goto CPyL74; + } + cpy_r_r38 = PyDict_SetItem(cpy_r_r25, cpy_r_r34, cpy_r_r37); + CPy_DecRef(cpy_r_r34); + CPy_DecRef(cpy_r_r37); + cpy_r_r39 = cpy_r_r38 >= 0; + if (unlikely(!cpy_r_r39)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 157, CPyStatic__codec___globals); + goto CPyL73; + } else + goto CPyL16; +CPyL21: ; + cpy_r_r40 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r40)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 157, CPyStatic__codec___globals); + goto CPyL71; + } + CPy_RestoreExcInfo(cpy_r_r13); + CPy_DecRef(cpy_r_r13.f0); + CPy_DecRef(cpy_r_r13.f1); + CPy_DecRef(cpy_r_r13.f2); + return cpy_r_r25; +CPyL23: ; + cpy_r_r41 = CPyStatics[186]; /* 'args' */ + cpy_r_r42 = CPyObject_GetAttr(cpy_r_e, cpy_r_r41); + CPy_DecRef(cpy_r_e); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 159, CPyStatic__codec___globals); + goto CPyL63; + } + if (likely(PyTuple_Check(cpy_r_r42))) + cpy_r_r43 = cpy_r_r42; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 159, CPyStatic__codec___globals, "tuple", cpy_r_r42); + goto CPyL63; + } + cpy_r_r44 = CPy_TYPE(cpy_r_obj); + cpy_r_r45 = CPyModule_builtins; + cpy_r_r46 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r47 = CPyObject_GetAttr(cpy_r_r45, cpy_r_r46); + if (unlikely(cpy_r_r47 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 159, CPyStatic__codec___globals); + goto CPyL75; + } + cpy_r_r48 = PyList_New(0); + if (unlikely(cpy_r_r48 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 159, CPyStatic__codec___globals); + goto CPyL76; + } + cpy_r_r49 = CPyList_Extend(cpy_r_r48, cpy_r_r43); + CPy_DecRef(cpy_r_r43); + if (unlikely(cpy_r_r49 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 159, CPyStatic__codec___globals); + goto CPyL77; + } else + goto CPyL78; +CPyL28: ; + cpy_r_r50 = PyList_Append(cpy_r_r48, cpy_r_obj); + cpy_r_r51 = cpy_r_r50 >= 0; + if (unlikely(!cpy_r_r51)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 159, CPyStatic__codec___globals); + goto CPyL77; + } + cpy_r_r52 = PyList_Append(cpy_r_r48, cpy_r_r44); + CPy_DecRef(cpy_r_r44); + cpy_r_r53 = cpy_r_r52 >= 0; + if (unlikely(!cpy_r_r53)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 159, CPyStatic__codec___globals); + goto CPyL79; + } + cpy_r_r54 = PyList_AsTuple(cpy_r_r48); + CPy_DecRef(cpy_r_r48); + if (unlikely(cpy_r_r54 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 159, CPyStatic__codec___globals); + goto CPyL80; + } + cpy_r_r55 = PyObject_CallObject(cpy_r_r47, cpy_r_r54); + CPy_DecRef(cpy_r_r47); + CPy_DecRef(cpy_r_r54); + if (unlikely(cpy_r_r55 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 159, CPyStatic__codec___globals); + goto CPyL63; + } + CPy_Raise(cpy_r_r55); + CPy_DecRef(cpy_r_r55); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 159, CPyStatic__codec___globals); + goto CPyL63; + } else + goto CPyL81; +CPyL33: ; + CPy_Unreachable(); +CPyL34: ; + cpy_r_r56 = CPyModule_builtins; + cpy_r_r57 = CPyStatics[177]; /* 'ValueError' */ + cpy_r_r58 = CPyObject_GetAttr(cpy_r_r56, cpy_r_r57); + if (unlikely(cpy_r_r58 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 160, CPyStatic__codec___globals); + goto CPyL63; + } + cpy_r_r59 = CPy_ExceptionMatches(cpy_r_r58); + CPy_DecRef(cpy_r_r58); + if (!cpy_r_r59) goto CPyL61; + cpy_r_r60 = CPy_GetExcValue(); + cpy_r_e = cpy_r_r60; + cpy_r_r61 = CPyStatic__codec___HexBytes; + if (unlikely(cpy_r_r61 == NULL)) { + goto CPyL82; + } else + goto CPyL39; +CPyL37: ; + PyErr_SetString(PyExc_NameError, "value for final name \"HexBytes\" was not set"); + cpy_r_r62 = 0; + if (unlikely(!cpy_r_r62)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 163, CPyStatic__codec___globals); + goto CPyL63; + } else + goto CPyL83; +CPyL38: ; + CPy_Unreachable(); +CPyL39: ; + cpy_r_r63 = PyObject_IsInstance(cpy_r_obj, cpy_r_r61); + cpy_r_r64 = cpy_r_r63 >= 0; + if (unlikely(!cpy_r_r64)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 163, CPyStatic__codec___globals); + goto CPyL68; + } + cpy_r_r65 = cpy_r_r63; + if (cpy_r_r65) { + goto CPyL84; + } else + goto CPyL45; +CPyL41: ; + CPy_INCREF(cpy_r_obj); + cpy_r_r66 = cpy_r_obj; + cpy_r_r67 = CPyStatics[8]; /* 'hex' */ + PyObject *cpy_r_r68[1] = {cpy_r_r66}; + cpy_r_r69 = (PyObject **)&cpy_r_r68; + cpy_r_r70 = PyObject_VectorcallMethod(cpy_r_r67, cpy_r_r69, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r70 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 164, CPyStatic__codec___globals); + goto CPyL85; + } + CPy_DecRef(cpy_r_r66); + if (PyUnicode_Check(cpy_r_r70)) + cpy_r_r71 = cpy_r_r70; + else { + cpy_r_r71 = NULL; + } + if (cpy_r_r71 != NULL) goto __LL197; + if (PyList_Check(cpy_r_r70)) + cpy_r_r71 = cpy_r_r70; + else { + cpy_r_r71 = NULL; + } + if (cpy_r_r71 != NULL) goto __LL197; + if (PyDict_Check(cpy_r_r70)) + cpy_r_r71 = cpy_r_r70; + else { + cpy_r_r71 = NULL; + } + if (cpy_r_r71 != NULL) goto __LL197; + CPy_TypeErrorTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 164, CPyStatic__codec___globals, "union[str, list, dict]", cpy_r_r70); + goto CPyL63; +__LL197: ; + CPy_RestoreExcInfo(cpy_r_r13); + CPy_DecRef(cpy_r_r13.f0); + CPy_DecRef(cpy_r_r13.f1); + CPy_DecRef(cpy_r_r13.f2); + return cpy_r_r71; +CPyL45: ; + cpy_r_r72 = CPyStatic__codec___globals; + cpy_r_r73 = CPyStatics[440]; /* 'Address' */ + cpy_r_r74 = CPyDict_GetItem(cpy_r_r72, cpy_r_r73); + if (unlikely(cpy_r_r74 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 165, CPyStatic__codec___globals); + goto CPyL68; + } + cpy_r_r75 = PyObject_IsInstance(cpy_r_obj, cpy_r_r74); + CPy_DecRef(cpy_r_r74); + cpy_r_r76 = cpy_r_r75 >= 0; + if (unlikely(!cpy_r_r76)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 165, CPyStatic__codec___globals); + goto CPyL68; + } + cpy_r_r77 = cpy_r_r75; + if (cpy_r_r77) { + goto CPyL86; + } else + goto CPyL50; +CPyL48: ; + cpy_r_r78 = PyObject_Str(cpy_r_obj); + if (unlikely(cpy_r_r78 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 166, CPyStatic__codec___globals); + goto CPyL63; + } + CPy_RestoreExcInfo(cpy_r_r13); + CPy_DecRef(cpy_r_r13.f0); + CPy_DecRef(cpy_r_r13.f1); + CPy_DecRef(cpy_r_r13.f2); + return cpy_r_r78; +CPyL50: ; + cpy_r_r79 = CPyStatics[186]; /* 'args' */ + cpy_r_r80 = CPyObject_GetAttr(cpy_r_e, cpy_r_r79); + CPy_DecRef(cpy_r_e); + if (unlikely(cpy_r_r80 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 168, CPyStatic__codec___globals); + goto CPyL63; + } + if (likely(PyTuple_Check(cpy_r_r80))) + cpy_r_r81 = cpy_r_r80; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 168, CPyStatic__codec___globals, "tuple", cpy_r_r80); + goto CPyL63; + } + cpy_r_r82 = CPy_TYPE(cpy_r_obj); + cpy_r_r83 = CPyModule_builtins; + cpy_r_r84 = CPyStatics[177]; /* 'ValueError' */ + cpy_r_r85 = CPyObject_GetAttr(cpy_r_r83, cpy_r_r84); + if (unlikely(cpy_r_r85 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 168, CPyStatic__codec___globals); + goto CPyL87; + } + cpy_r_r86 = PyList_New(0); + if (unlikely(cpy_r_r86 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 168, CPyStatic__codec___globals); + goto CPyL88; + } + cpy_r_r87 = CPyList_Extend(cpy_r_r86, cpy_r_r81); + CPy_DecRef(cpy_r_r81); + if (unlikely(cpy_r_r87 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 168, CPyStatic__codec___globals); + goto CPyL89; + } else + goto CPyL90; +CPyL55: ; + cpy_r_r88 = PyList_Append(cpy_r_r86, cpy_r_obj); + cpy_r_r89 = cpy_r_r88 >= 0; + if (unlikely(!cpy_r_r89)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 168, CPyStatic__codec___globals); + goto CPyL89; + } + cpy_r_r90 = PyList_Append(cpy_r_r86, cpy_r_r82); + CPy_DecRef(cpy_r_r82); + cpy_r_r91 = cpy_r_r90 >= 0; + if (unlikely(!cpy_r_r91)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 168, CPyStatic__codec___globals); + goto CPyL91; + } + cpy_r_r92 = PyList_AsTuple(cpy_r_r86); + CPy_DecRef(cpy_r_r86); + if (unlikely(cpy_r_r92 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 168, CPyStatic__codec___globals); + goto CPyL92; + } + cpy_r_r93 = PyObject_CallObject(cpy_r_r85, cpy_r_r92); + CPy_DecRef(cpy_r_r85); + CPy_DecRef(cpy_r_r92); + if (unlikely(cpy_r_r93 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 168, CPyStatic__codec___globals); + goto CPyL63; + } + CPy_Raise(cpy_r_r93); + CPy_DecRef(cpy_r_r93); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 168, CPyStatic__codec___globals); + goto CPyL63; + } else + goto CPyL93; +CPyL60: ; + CPy_Unreachable(); +CPyL61: ; + CPy_Reraise(); + if (!0) { + goto CPyL63; + } else + goto CPyL94; +CPyL62: ; + CPy_Unreachable(); +CPyL63: ; + CPy_RestoreExcInfo(cpy_r_r13); + CPy_DecRef(cpy_r_r13.f0); + CPy_DecRef(cpy_r_r13.f1); + CPy_DecRef(cpy_r_r13.f2); + cpy_r_r94 = CPy_KeepPropagating(); + if (!cpy_r_r94) goto CPyL65; + CPy_Unreachable(); +CPyL65: ; + cpy_r_r95 = NULL; + return cpy_r_r95; +CPyL66: ; + CPyTagged_DecRef(cpy_r_r4); + goto CPyL7; +CPyL67: ; + CPy_DecRef(cpy_r_r8); + goto CPyL7; +CPyL68: ; + CPy_DecRef(cpy_r_e); + goto CPyL63; +CPyL69: ; + CPy_DecRef(cpy_r_e); + goto CPyL12; +CPyL70: ; + CPy_DecRef(cpy_r_r25); + CPy_DecRef(cpy_r_r26); + goto CPyL63; +CPyL71: ; + CPy_DecRef(cpy_r_r25); + goto CPyL63; +CPyL72: ; + CPy_DecRef(cpy_r_r31); + goto CPyL21; +CPyL73: ; + CPy_DecRef(cpy_r_r25); + CPy_DecRef(cpy_r_r31); + goto CPyL63; +CPyL74: ; + CPy_DecRef(cpy_r_r25); + CPy_DecRef(cpy_r_r31); + CPy_DecRef(cpy_r_r34); + goto CPyL63; +CPyL75: ; + CPy_DecRef(cpy_r_r43); + CPy_DecRef(cpy_r_r44); + goto CPyL63; +CPyL76: ; + CPy_DecRef(cpy_r_r43); + CPy_DecRef(cpy_r_r44); + CPy_DecRef(cpy_r_r47); + goto CPyL63; +CPyL77: ; + CPy_DecRef(cpy_r_r44); + CPy_DecRef(cpy_r_r47); + CPy_DecRef(cpy_r_r48); + goto CPyL63; +CPyL78: ; + CPy_DecRef(cpy_r_r49); + goto CPyL28; +CPyL79: ; + CPy_DecRef(cpy_r_r47); + CPy_DecRef(cpy_r_r48); + goto CPyL63; +CPyL80: ; + CPy_DecRef(cpy_r_r47); + goto CPyL63; +CPyL81: ; + CPy_DecRef(cpy_r_r13.f0); + CPy_DecRef(cpy_r_r13.f1); + CPy_DecRef(cpy_r_r13.f2); + goto CPyL33; +CPyL82: ; + CPy_DecRef(cpy_r_e); + goto CPyL37; +CPyL83: ; + CPy_DecRef(cpy_r_r13.f0); + CPy_DecRef(cpy_r_r13.f1); + CPy_DecRef(cpy_r_r13.f2); + goto CPyL38; +CPyL84: ; + CPy_DecRef(cpy_r_e); + goto CPyL41; +CPyL85: ; + CPy_DecRef(cpy_r_r66); + goto CPyL63; +CPyL86: ; + CPy_DecRef(cpy_r_e); + goto CPyL48; +CPyL87: ; + CPy_DecRef(cpy_r_r81); + CPy_DecRef(cpy_r_r82); + goto CPyL63; +CPyL88: ; + CPy_DecRef(cpy_r_r81); + CPy_DecRef(cpy_r_r82); + CPy_DecRef(cpy_r_r85); + goto CPyL63; +CPyL89: ; + CPy_DecRef(cpy_r_r82); + CPy_DecRef(cpy_r_r85); + CPy_DecRef(cpy_r_r86); + goto CPyL63; +CPyL90: ; + CPy_DecRef(cpy_r_r87); + goto CPyL55; +CPyL91: ; + CPy_DecRef(cpy_r_r85); + CPy_DecRef(cpy_r_r86); + goto CPyL63; +CPyL92: ; + CPy_DecRef(cpy_r_r85); + goto CPyL63; +CPyL93: ; + CPy_DecRef(cpy_r_r13.f0); + CPy_DecRef(cpy_r_r13.f1); + CPy_DecRef(cpy_r_r13.f2); + goto CPyL60; +CPyL94: ; + CPy_DecRef(cpy_r_r13.f0); + CPy_DecRef(cpy_r_r13.f1); + CPy_DecRef(cpy_r_r13.f2); + goto CPyL62; +} + +PyObject *CPyPy__codec____encode_hook(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"obj", 0}; + static CPyArg_Parser parser = {"O:_encode_hook", kwlist, 0}; + PyObject *obj_obj; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_obj)) { + return NULL; + } + PyObject *arg_obj; + if (PyLong_Check(obj_obj)) + arg_obj = obj_obj; + else { + arg_obj = NULL; + } + if (arg_obj != NULL) goto __LL198; + if (PyUnicode_Check(obj_obj)) + arg_obj = obj_obj; + else { + arg_obj = NULL; + } + if (arg_obj != NULL) goto __LL198; + arg_obj = obj_obj; + if (arg_obj != NULL) goto __LL198; + if (PyBytes_Check(obj_obj) || PyByteArray_Check(obj_obj)) + arg_obj = obj_obj; + else { + arg_obj = NULL; + } + if (arg_obj != NULL) goto __LL198; + CPy_TypeError("union[int, str, object, bytes]", obj_obj); + goto fail; +__LL198: ; + PyObject *retval = CPyDef__codec____encode_hook(arg_obj); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_hook", 137, CPyStatic__codec___globals); + return NULL; +} + +PyObject *CPyDef__codec____rudimentary_encode_dict_value(PyObject *cpy_r_value) { + char cpy_r_r0; + CPyTagged cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject **cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + cpy_r_r0 = PyLong_Check(cpy_r_value); + if (!cpy_r_r0) goto CPyL6; + if (likely(PyLong_Check(cpy_r_value))) + cpy_r_r1 = CPyTagged_FromObject(cpy_r_value); + else { + CPy_TypeError("int", cpy_r_value); cpy_r_r1 = CPY_INT_TAG; + } + if (unlikely(cpy_r_r1 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_rudimentary_encode_dict_value", 177, CPyStatic__codec___globals); + goto CPyL8; + } + cpy_r_r2 = CPyModule_builtins; + cpy_r_r3 = CPyStatics[8]; /* 'hex' */ + cpy_r_r4 = CPyObject_GetAttr(cpy_r_r2, cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_rudimentary_encode_dict_value", 177, CPyStatic__codec___globals); + goto CPyL9; + } + cpy_r_r5 = CPyTagged_StealAsObject(cpy_r_r1); + PyObject *cpy_r_r6[1] = {cpy_r_r5}; + cpy_r_r7 = (PyObject **)&cpy_r_r6; + cpy_r_r8 = PyObject_Vectorcall(cpy_r_r4, cpy_r_r7, 1, 0); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_rudimentary_encode_dict_value", 177, CPyStatic__codec___globals); + goto CPyL10; + } + CPy_DECREF(cpy_r_r5); + if (likely(PyUnicode_Check(cpy_r_r8))) + cpy_r_r9 = cpy_r_r8; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_codec.py", "_rudimentary_encode_dict_value", 177, CPyStatic__codec___globals, "str", cpy_r_r8); + goto CPyL8; + } + cpy_r_r10 = cpy_r_r9; + goto CPyL7; +CPyL6: ; + CPy_INCREF(cpy_r_value); + cpy_r_r10 = cpy_r_value; +CPyL7: ; + return cpy_r_r10; +CPyL8: ; + cpy_r_r11 = NULL; + return cpy_r_r11; +CPyL9: ; + CPyTagged_DecRef(cpy_r_r1); + goto CPyL8; +CPyL10: ; + CPy_DecRef(cpy_r_r5); + goto CPyL8; +} + +PyObject *CPyPy__codec____rudimentary_encode_dict_value(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"value", 0}; + static CPyArg_Parser parser = {"O:_rudimentary_encode_dict_value", kwlist, 0}; + PyObject *obj_value; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_value)) { + return NULL; + } + PyObject *arg_value; + if (PyLong_Check(obj_value)) + arg_value = obj_value; + else { + arg_value = NULL; + } + if (arg_value != NULL) goto __LL199; + arg_value = obj_value; + if (arg_value != NULL) goto __LL199; + CPy_TypeError("union[int, object]", obj_value); + goto fail; +__LL199: ; + PyObject *retval = CPyDef__codec____rudimentary_encode_dict_value(arg_value); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_rudimentary_encode_dict_value", 175, CPyStatic__codec___globals); + return NULL; +} + +PyObject *CPyDef__codec_____mypyc_lambda__0_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy__codec_____mypyc_lambda__0_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef__codec_____mypyc_lambda__0_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__get__", -1, CPyStatic__codec___globals); + return NULL; +} + +PyObject *CPyDef__codec_____mypyc_lambda__0_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r__) { + PyObject *cpy_r_r0; + cpy_r_r0 = (PyObject *)&_Py_EllipsisObject; + CPy_INCREF(cpy_r_r0); + return cpy_r_r0; +} + +PyObject *CPyPy__codec_____mypyc_lambda__0_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {"%:__call__", kwlist, 0}; + PyObject *obj__; + if (!CPyArg_ParseStackAndKeywords(args, PyVectorcall_NARGS(nargs), kwnames, &parser, &obj__, NULL)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg__ = obj__; + PyObject *retval = CPyDef__codec_____mypyc_lambda__0_obj_____call__(arg___mypyc_self__, arg__); + CPy_DECREF(obj__); + return retval; +fail: ; + CPy_DECREF(obj__); + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 206, CPyStatic__codec___globals); + return NULL; +} + +PyObject *CPyDef__codec____int_to_big_endian(CPyTagged cpy_r_value) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject **cpy_r_r3; + PyObject *cpy_r_r4; + CPyTagged cpy_r_r5; + CPyTagged cpy_r_r6; + CPyTagged cpy_r_r7; + char cpy_r_r8; + CPyTagged cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject **cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + cpy_r_r0 = CPyStatics[533]; /* 'bit_length' */ + CPyTagged_INCREF(cpy_r_value); + cpy_r_r1 = CPyTagged_StealAsObject(cpy_r_value); + PyObject *cpy_r_r2[1] = {cpy_r_r1}; + cpy_r_r3 = (PyObject **)&cpy_r_r2; + cpy_r_r4 = PyObject_VectorcallMethod(cpy_r_r0, cpy_r_r3, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_int_to_big_endian", 210, CPyStatic__codec___globals); + goto CPyL10; + } + CPy_DECREF(cpy_r_r1); + if (likely(PyLong_Check(cpy_r_r4))) + cpy_r_r5 = CPyTagged_FromObject(cpy_r_r4); + else { + CPy_TypeError("int", cpy_r_r4); cpy_r_r5 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r5 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_int_to_big_endian", 210, CPyStatic__codec___globals); + goto CPyL9; + } + cpy_r_r6 = CPyTagged_Add(cpy_r_r5, 14); + CPyTagged_DECREF(cpy_r_r5); + cpy_r_r7 = CPyTagged_Rshift(cpy_r_r6, 6); + CPyTagged_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r7 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_int_to_big_endian", -1, CPyStatic__codec___globals); + goto CPyL9; + } + cpy_r_r8 = cpy_r_r7 != 0; + if (!cpy_r_r8) goto CPyL11; + cpy_r_r9 = cpy_r_r7; + goto CPyL6; +CPyL5: ; + cpy_r_r9 = 2; +CPyL6: ; + cpy_r_r10 = CPyStatics[534]; /* 'big' */ + cpy_r_r11 = CPyStatics[92]; /* 'to_bytes' */ + CPyTagged_INCREF(cpy_r_value); + cpy_r_r12 = CPyTagged_StealAsObject(cpy_r_value); + cpy_r_r13 = CPyTagged_StealAsObject(cpy_r_r9); + PyObject *cpy_r_r14[3] = {cpy_r_r12, cpy_r_r13, cpy_r_r10}; + cpy_r_r15 = (PyObject **)&cpy_r_r14; + cpy_r_r16 = PyObject_VectorcallMethod(cpy_r_r11, cpy_r_r15, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_int_to_big_endian", 210, CPyStatic__codec___globals); + goto CPyL12; + } + CPy_DECREF(cpy_r_r12); + CPy_DECREF(cpy_r_r13); + if (likely(PyBytes_Check(cpy_r_r16) || PyByteArray_Check(cpy_r_r16))) + cpy_r_r17 = cpy_r_r16; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_codec.py", "_int_to_big_endian", 210, CPyStatic__codec___globals, "bytes", cpy_r_r16); + goto CPyL9; + } + return cpy_r_r17; +CPyL9: ; + cpy_r_r18 = NULL; + return cpy_r_r18; +CPyL10: ; + CPy_DecRef(cpy_r_r1); + goto CPyL9; +CPyL11: ; + CPyTagged_DECREF(cpy_r_r7); + goto CPyL5; +CPyL12: ; + CPy_DecRef(cpy_r_r12); + CPy_DecRef(cpy_r_r13); + goto CPyL9; +} + +PyObject *CPyPy__codec____int_to_big_endian(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"value", 0}; + static CPyArg_Parser parser = {"O:_int_to_big_endian", kwlist, 0}; + PyObject *obj_value; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_value)) { + return NULL; + } + CPyTagged arg_value; + if (likely(PyLong_Check(obj_value))) + arg_value = CPyTagged_BorrowFromObject(obj_value); + else { + CPy_TypeError("int", obj_value); goto fail; + } + PyObject *retval = CPyDef__codec____int_to_big_endian(arg_value); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_int_to_big_endian", 209, CPyStatic__codec___globals); + return NULL; +} + +PyObject *CPyDef__codec____encode_uint_256(CPyTagged cpy_r_i) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject **cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + cpy_r_r0 = CPyDef__codec____int_to_big_endian(cpy_r_i); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_uint_256", 214, CPyStatic__codec___globals); + goto CPyL4; + } + cpy_r_r1 = CPyStatics[867]; /* b'\x00' */ + cpy_r_r2 = CPyStatics[535]; /* 'rjust' */ + cpy_r_r3 = CPyStatics[883]; /* 32 */ + PyObject *cpy_r_r4[3] = {cpy_r_r0, cpy_r_r3, cpy_r_r1}; + cpy_r_r5 = (PyObject **)&cpy_r_r4; + cpy_r_r6 = PyObject_VectorcallMethod(cpy_r_r2, cpy_r_r5, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_uint_256", 215, CPyStatic__codec___globals); + goto CPyL5; + } + CPy_DECREF(cpy_r_r0); + if (likely(PyBytes_Check(cpy_r_r6) || PyByteArray_Check(cpy_r_r6))) + cpy_r_r7 = cpy_r_r6; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_codec.py", "_encode_uint_256", 215, CPyStatic__codec___globals, "bytes", cpy_r_r6); + goto CPyL4; + } + return cpy_r_r7; +CPyL4: ; + cpy_r_r8 = NULL; + return cpy_r_r8; +CPyL5: ; + CPy_DecRef(cpy_r_r0); + goto CPyL4; +} + +PyObject *CPyPy__codec____encode_uint_256(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"i", 0}; + static CPyArg_Parser parser = {"O:_encode_uint_256", kwlist, 0}; + PyObject *obj_i; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_i)) { + return NULL; + } + CPyTagged arg_i; + if (likely(PyLong_Check(obj_i))) + arg_i = CPyTagged_BorrowFromObject(obj_i); + else { + CPy_TypeError("int", obj_i); goto fail; + } + PyObject *retval = CPyDef__codec____encode_uint_256(arg_i); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "_encode_uint_256", 213, CPyStatic__codec___globals); + return NULL; +} + +PyObject *CPyDef__codec_____encode_new(PyObject *cpy_r_values) { + tuple_T2OI cpy_r_r0; + PyObject *cpy_r_r1; + CPyTagged cpy_r_r2; + PyObject *cpy_r_r3; + CPyTagged cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + cpy_r_r0 = CPyDef__codec_____encode_elements_new(cpy_r_values); + if (unlikely(cpy_r_r0.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_new", 219, CPyStatic__codec___globals); + goto CPyL4; + } + cpy_r_r1 = cpy_r_r0.f0; + cpy_r_r2 = cpy_r_r0.f1; + cpy_r_r3 = cpy_r_r1; + cpy_r_r4 = cpy_r_r2; + cpy_r_r5 = CPyDef__codec____encode_uint_256(cpy_r_r4); + CPyTagged_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_new", 220, CPyStatic__codec___globals); + goto CPyL5; + } + cpy_r_r6 = CPyBytes_Concat(cpy_r_r5, cpy_r_r3); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_new", 220, CPyStatic__codec___globals); + goto CPyL4; + } + return cpy_r_r6; +CPyL4: ; + cpy_r_r7 = NULL; + return cpy_r_r7; +CPyL5: ; + CPy_DecRef(cpy_r_r3); + goto CPyL4; +} + +PyObject *CPyPy__codec_____encode_new(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"values", 0}; + static CPyArg_Parser parser = {"O:__encode_new", kwlist, 0}; + PyObject *obj_values; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_values)) { + return NULL; + } + PyObject *arg_values = obj_values; + PyObject *retval = CPyDef__codec_____encode_new(arg_values); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_new", 218, CPyStatic__codec___globals); + return NULL; +} + +tuple_T2OI CPyDef__codec_____encode_elements_new(PyObject *cpy_r_values) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + PyObject **cpy_r_r7; + PyObject *cpy_r_r8; + int32_t cpy_r_r9; + char cpy_r_r10; + char cpy_r_r11; + CPyPtr cpy_r_r12; + int64_t cpy_r_r13; + CPyTagged cpy_r_r14; + CPyTagged cpy_r_count; + CPyTagged cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + CPyPtr cpy_r_r18; + CPyPtr cpy_r_r19; + CPyTagged cpy_r_offset; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + int64_t cpy_r_r22; + CPyPtr cpy_r_r23; + int64_t cpy_r_r24; + char cpy_r_r25; + CPyPtr cpy_r_r26; + CPyPtr cpy_r_r27; + int64_t cpy_r_r28; + CPyPtr cpy_r_r29; + PyObject *cpy_r_r30; + CPyTagged cpy_r_r31; + CPyTagged cpy_r_r32; + PyObject *cpy_r_r33; + int32_t cpy_r_r34; + char cpy_r_r35; + int64_t cpy_r_r36; + CPyPtr cpy_r_r37; + int64_t cpy_r_r38; + PyObject *cpy_r_r39; + int64_t cpy_r_r40; + CPyPtr cpy_r_r41; + int64_t cpy_r_r42; + char cpy_r_r43; + CPyPtr cpy_r_r44; + CPyPtr cpy_r_r45; + int64_t cpy_r_r46; + CPyPtr cpy_r_r47; + PyObject *cpy_r_r48; + CPyTagged cpy_r_r49; + CPyTagged cpy_r_r50; + PyObject *cpy_r_r51; + int64_t cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + tuple_T2OI cpy_r_r60; + tuple_T2OI cpy_r_r61; + cpy_r_r0 = PyList_New(0); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 224, CPyStatic__codec___globals); + goto CPyL32; + } + cpy_r_r1 = PyObject_GetIter(cpy_r_values); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 224, CPyStatic__codec___globals); + goto CPyL33; + } +CPyL2: ; + cpy_r_r2 = PyIter_Next(cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL34; + if (unlikely(!(PyTuple_Check(cpy_r_r2) && PyTuple_GET_SIZE(cpy_r_r2) == 2))) { + cpy_r_r3 = NULL; + goto __LL201; + } + if (likely(PyUnicode_Check(PyTuple_GET_ITEM(cpy_r_r2, 0)))) + cpy_r_r3 = PyTuple_GET_ITEM(cpy_r_r2, 0); + else { + cpy_r_r3 = NULL; + } + if (cpy_r_r3 == NULL) goto __LL201; + cpy_r_r3 = PyTuple_GET_ITEM(cpy_r_r2, 1); + if (cpy_r_r3 == NULL) goto __LL201; + cpy_r_r3 = cpy_r_r2; +__LL201: ; + if (cpy_r_r3 != NULL) goto __LL200; + if (PyList_Check(cpy_r_r2)) + cpy_r_r3 = cpy_r_r2; + else { + cpy_r_r3 = NULL; + } + if (cpy_r_r3 != NULL) goto __LL200; + CPy_TypeErrorTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 224, CPyStatic__codec___globals, "union[tuple[str, object], list]", cpy_r_r2); + goto CPyL35; +__LL200: ; + cpy_r_r4 = CPyStatic__codec____item_encoder; + if (unlikely(cpy_r_r4 == NULL)) { + goto CPyL36; + } else + goto CPyL7; +CPyL5: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_item_encoder\" was not set"); + cpy_r_r5 = 0; + if (unlikely(!cpy_r_r5)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 224, CPyStatic__codec___globals); + goto CPyL32; + } + CPy_Unreachable(); +CPyL7: ; + PyObject *cpy_r_r6[1] = {cpy_r_r3}; + cpy_r_r7 = (PyObject **)&cpy_r_r6; + cpy_r_r8 = PyObject_Vectorcall(cpy_r_r4, cpy_r_r7, 1, 0); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 224, CPyStatic__codec___globals); + goto CPyL37; + } + CPy_DECREF_NO_IMM(cpy_r_r3); + cpy_r_r9 = PyList_Append(cpy_r_r0, cpy_r_r8); + CPy_DECREF(cpy_r_r8); + cpy_r_r10 = cpy_r_r9 >= 0; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 224, CPyStatic__codec___globals); + goto CPyL35; + } else + goto CPyL2; +CPyL9: ; + cpy_r_r11 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 224, CPyStatic__codec___globals); + goto CPyL33; + } + cpy_r_r12 = (CPyPtr)&((PyVarObject *)cpy_r_r0)->ob_size; + cpy_r_r13 = *(int64_t *)cpy_r_r12; + cpy_r_r14 = cpy_r_r13 << 1; + cpy_r_count = cpy_r_r14; + cpy_r_r15 = CPyTagged_Multiply(64, cpy_r_count); + cpy_r_r16 = PyList_New(1); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 227, CPyStatic__codec___globals); + goto CPyL38; + } + cpy_r_r17 = CPyStatics[872]; /* 0 */ + cpy_r_r18 = (CPyPtr)&((PyListObject *)cpy_r_r16)->ob_item; + cpy_r_r19 = *(CPyPtr *)cpy_r_r18; + *(PyObject * *)cpy_r_r19 = cpy_r_r17; + cpy_r_offset = 0; + cpy_r_r20 = CPyList_GetSlice(cpy_r_r0, 0, -2); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 229, CPyStatic__codec___globals); + goto CPyL39; + } + if (likely(PyList_Check(cpy_r_r20))) + cpy_r_r21 = cpy_r_r20; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 229, CPyStatic__codec___globals, "list", cpy_r_r20); + goto CPyL39; + } + cpy_r_r22 = 0; +CPyL14: ; + cpy_r_r23 = (CPyPtr)&((PyVarObject *)cpy_r_r21)->ob_size; + cpy_r_r24 = *(int64_t *)cpy_r_r23; + cpy_r_r25 = cpy_r_r22 < cpy_r_r24; + if (!cpy_r_r25) goto CPyL40; + cpy_r_r26 = (CPyPtr)&((PyListObject *)cpy_r_r21)->ob_item; + cpy_r_r27 = *(CPyPtr *)cpy_r_r26; + cpy_r_r28 = cpy_r_r22 * 8; + cpy_r_r29 = cpy_r_r27 + cpy_r_r28; + cpy_r_r30 = *(PyObject * *)cpy_r_r29; + CPy_INCREF(cpy_r_r30); + cpy_r_r31 = CPyObject_Size(cpy_r_r30); + CPy_DECREF(cpy_r_r30); + if (unlikely(cpy_r_r31 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 230, CPyStatic__codec___globals); + goto CPyL41; + } + cpy_r_r32 = CPyTagged_Add(cpy_r_offset, cpy_r_r31); + CPyTagged_DECREF(cpy_r_offset); + CPyTagged_DECREF(cpy_r_r31); + cpy_r_offset = cpy_r_r32; + CPyTagged_INCREF(cpy_r_offset); + cpy_r_r33 = CPyTagged_StealAsObject(cpy_r_offset); + cpy_r_r34 = PyList_Append(cpy_r_r16, cpy_r_r33); + CPy_DECREF(cpy_r_r33); + cpy_r_r35 = cpy_r_r34 >= 0; + if (unlikely(!cpy_r_r35)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 231, CPyStatic__codec___globals); + goto CPyL41; + } + cpy_r_r36 = cpy_r_r22 + 1; + cpy_r_r22 = cpy_r_r36; + goto CPyL14; +CPyL18: ; + cpy_r_r37 = (CPyPtr)&((PyVarObject *)cpy_r_r16)->ob_size; + cpy_r_r38 = *(int64_t *)cpy_r_r37; + cpy_r_r39 = PyList_New(cpy_r_r38); + if (unlikely(cpy_r_r39 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 232, CPyStatic__codec___globals); + goto CPyL42; + } + cpy_r_r40 = 0; +CPyL20: ; + cpy_r_r41 = (CPyPtr)&((PyVarObject *)cpy_r_r16)->ob_size; + cpy_r_r42 = *(int64_t *)cpy_r_r41; + cpy_r_r43 = cpy_r_r40 < cpy_r_r42; + if (!cpy_r_r43) goto CPyL43; + cpy_r_r44 = (CPyPtr)&((PyListObject *)cpy_r_r16)->ob_item; + cpy_r_r45 = *(CPyPtr *)cpy_r_r44; + cpy_r_r46 = cpy_r_r40 * 8; + cpy_r_r47 = cpy_r_r45 + cpy_r_r46; + cpy_r_r48 = *(PyObject * *)cpy_r_r47; + CPy_INCREF(cpy_r_r48); + if (likely(PyLong_Check(cpy_r_r48))) + cpy_r_r49 = CPyTagged_FromObject(cpy_r_r48); + else { + CPy_TypeError("int", cpy_r_r48); cpy_r_r49 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_r48); + if (unlikely(cpy_r_r49 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 232, CPyStatic__codec___globals); + goto CPyL44; + } + cpy_r_r50 = CPyTagged_Add(cpy_r_r15, cpy_r_r49); + CPyTagged_DECREF(cpy_r_r49); + cpy_r_r51 = CPyDef__codec____encode_uint_256(cpy_r_r50); + CPyTagged_DECREF(cpy_r_r50); + if (unlikely(cpy_r_r51 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 232, CPyStatic__codec___globals); + goto CPyL44; + } + CPyList_SetItemUnsafe(cpy_r_r39, cpy_r_r40, cpy_r_r51); + cpy_r_r52 = cpy_r_r40 + 1; + cpy_r_r40 = cpy_r_r52; + goto CPyL20; +CPyL25: ; + cpy_r_r53 = PyObject_GetIter(cpy_r_r39); + CPy_DECREF_NO_IMM(cpy_r_r39); + if (unlikely(cpy_r_r53 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 232, CPyStatic__codec___globals); + goto CPyL45; + } + cpy_r_r54 = CPyStatics[869]; /* b'' */ + cpy_r_r55 = PyList_New(0); + if (unlikely(cpy_r_r55 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 233, CPyStatic__codec___globals); + goto CPyL46; + } + cpy_r_r56 = CPyList_Extend(cpy_r_r55, cpy_r_r53); + CPy_DECREF(cpy_r_r53); + if (unlikely(cpy_r_r56 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 233, CPyStatic__codec___globals); + goto CPyL47; + } else + goto CPyL48; +CPyL28: ; + cpy_r_r57 = CPyList_Extend(cpy_r_r55, cpy_r_r0); + CPy_DECREF_NO_IMM(cpy_r_r0); + if (unlikely(cpy_r_r57 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 233, CPyStatic__codec___globals); + goto CPyL49; + } else + goto CPyL50; +CPyL29: ; + cpy_r_r58 = PyList_AsTuple(cpy_r_r55); + CPy_DECREF_NO_IMM(cpy_r_r55); + if (unlikely(cpy_r_r58 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 233, CPyStatic__codec___globals); + goto CPyL51; + } + cpy_r_r59 = CPyBytes_Join(cpy_r_r54, cpy_r_r58); + CPy_DECREF(cpy_r_r58); + if (unlikely(cpy_r_r59 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 233, CPyStatic__codec___globals); + goto CPyL51; + } + cpy_r_r60.f0 = cpy_r_r59; + cpy_r_r60.f1 = cpy_r_count; + return cpy_r_r60; +CPyL32: ; + tuple_T2OI __tmp202 = { NULL, CPY_INT_TAG }; + cpy_r_r61 = __tmp202; + return cpy_r_r61; +CPyL33: ; + CPy_DecRef(cpy_r_r0); + goto CPyL32; +CPyL34: ; + CPy_DECREF(cpy_r_r1); + goto CPyL9; +CPyL35: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r1); + goto CPyL32; +CPyL36: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r3); + goto CPyL5; +CPyL37: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r3); + goto CPyL32; +CPyL38: ; + CPy_DecRef(cpy_r_r0); + CPyTagged_DecRef(cpy_r_count); + CPyTagged_DecRef(cpy_r_r15); + goto CPyL32; +CPyL39: ; + CPy_DecRef(cpy_r_r0); + CPyTagged_DecRef(cpy_r_count); + CPyTagged_DecRef(cpy_r_r15); + CPy_DecRef(cpy_r_r16); + CPyTagged_DecRef(cpy_r_offset); + goto CPyL32; +CPyL40: ; + CPyTagged_DECREF(cpy_r_offset); + CPy_DECREF_NO_IMM(cpy_r_r21); + goto CPyL18; +CPyL41: ; + CPy_DecRef(cpy_r_r0); + CPyTagged_DecRef(cpy_r_count); + CPyTagged_DecRef(cpy_r_r15); + CPy_DecRef(cpy_r_r16); + CPyTagged_DecRef(cpy_r_offset); + CPy_DecRef(cpy_r_r21); + goto CPyL32; +CPyL42: ; + CPy_DecRef(cpy_r_r0); + CPyTagged_DecRef(cpy_r_count); + CPyTagged_DecRef(cpy_r_r15); + CPy_DecRef(cpy_r_r16); + goto CPyL32; +CPyL43: ; + CPyTagged_DECREF(cpy_r_r15); + CPy_DECREF_NO_IMM(cpy_r_r16); + goto CPyL25; +CPyL44: ; + CPy_DecRef(cpy_r_r0); + CPyTagged_DecRef(cpy_r_count); + CPyTagged_DecRef(cpy_r_r15); + CPy_DecRef(cpy_r_r16); + CPy_DecRef(cpy_r_r39); + goto CPyL32; +CPyL45: ; + CPy_DecRef(cpy_r_r0); + CPyTagged_DecRef(cpy_r_count); + goto CPyL32; +CPyL46: ; + CPy_DecRef(cpy_r_r0); + CPyTagged_DecRef(cpy_r_count); + CPy_DecRef(cpy_r_r53); + goto CPyL32; +CPyL47: ; + CPy_DecRef(cpy_r_r0); + CPyTagged_DecRef(cpy_r_count); + CPy_DecRef(cpy_r_r55); + goto CPyL32; +CPyL48: ; + CPy_DECREF(cpy_r_r56); + goto CPyL28; +CPyL49: ; + CPyTagged_DecRef(cpy_r_count); + CPy_DecRef(cpy_r_r55); + goto CPyL32; +CPyL50: ; + CPy_DECREF(cpy_r_r57); + goto CPyL29; +CPyL51: ; + CPyTagged_DecRef(cpy_r_count); + goto CPyL32; +} + +PyObject *CPyPy__codec_____encode_elements_new(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"values", 0}; + static CPyArg_Parser parser = {"O:__encode_elements_new", kwlist, 0}; + PyObject *obj_values; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_values)) { + return NULL; + } + PyObject *arg_values = obj_values; + tuple_T2OI retval = CPyDef__codec_____encode_elements_new(arg_values); + if (retval.f0 == NULL) { + return NULL; + } + PyObject *retbox = PyTuple_New(2); + if (unlikely(retbox == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp203 = retval.f0; + PyTuple_SET_ITEM(retbox, 0, __tmp203); + PyObject *__tmp204 = CPyTagged_StealAsObject(retval.f1); + PyTuple_SET_ITEM(retbox, 1, __tmp204); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 223, CPyStatic__codec___globals); + return NULL; +} + +PyObject *CPyDef__codec___mcall_encode(PyObject *cpy_r_data) { + tuple_T2CO cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject **cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + CPy_INCREF(cpy_r_data); + cpy_r_r0.f0 = 0; + cpy_r_r0.f1 = cpy_r_data; + cpy_r_r1 = CPyStatic__codec____mcall_encoder; + if (unlikely(cpy_r_r1 == NULL)) { + goto CPyL7; + } else + goto CPyL3; +CPyL1: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_mcall_encoder\" was not set"); + cpy_r_r2 = 0; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_encode", 246, CPyStatic__codec___globals); + goto CPyL6; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r3 = PyTuple_New(2); + if (unlikely(cpy_r_r3 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp205 = cpy_r_r0.f0 ? Py_True : Py_False; + CPy_INCREF(__tmp205); + PyTuple_SET_ITEM(cpy_r_r3, 0, __tmp205); + PyObject *__tmp206 = cpy_r_r0.f1; + PyTuple_SET_ITEM(cpy_r_r3, 1, __tmp206); + PyObject *cpy_r_r4[1] = {cpy_r_r3}; + cpy_r_r5 = (PyObject **)&cpy_r_r4; + cpy_r_r6 = PyObject_Vectorcall(cpy_r_r1, cpy_r_r5, 1, 0); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_encode", 246, CPyStatic__codec___globals); + goto CPyL8; + } + CPy_DECREF(cpy_r_r3); + if (likely(PyBytes_Check(cpy_r_r6) || PyByteArray_Check(cpy_r_r6))) + cpy_r_r7 = cpy_r_r6; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_codec.py", "mcall_encode", 246, CPyStatic__codec___globals, "bytes", cpy_r_r6); + goto CPyL6; + } + return cpy_r_r7; +CPyL6: ; + cpy_r_r8 = NULL; + return cpy_r_r8; +CPyL7: ; + CPy_DecRef(cpy_r_r0.f1); + goto CPyL1; +CPyL8: ; + CPy_DecRef(cpy_r_r3); + goto CPyL6; +} + +PyObject *CPyPy__codec___mcall_encode(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"data", 0}; + static CPyArg_Parser parser = {"O:mcall_encode", kwlist, 0}; + PyObject *obj_data; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_data)) { + return NULL; + } + PyObject *arg_data = obj_data; + PyObject *retval = CPyDef__codec___mcall_encode(arg_data); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_encode", 245, CPyStatic__codec___globals); + return NULL; +} + +PyObject *CPyDef__codec___mcall_decode(PyObject *cpy_r_data) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject **cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + char cpy_r_r6; + PyObject **cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + char cpy_r_r11; + PyObject **cpy_r_r13; + PyObject *cpy_r_r14; + tuple_T3IIO cpy_r_r15; + PyObject *cpy_r_r16; + tuple_T3OOO cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + char cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + char cpy_r_r27; + char cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + int32_t cpy_r_r35; + char cpy_r_r36; + char cpy_r_r37; + PyObject *cpy_r_r38; + PyObject **cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + int32_t cpy_r_r45; + char cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + int32_t cpy_r_r49; + char cpy_r_r50; + char cpy_r_r51; + CPyPtr cpy_r_r52; + int64_t cpy_r_r53; + PyObject *cpy_r_r54; + CPyPtr cpy_r_r55; + int64_t cpy_r_r56; + int64_t cpy_r_r57; + char cpy_r_r58; + PyObject *cpy_r_r59; + tuple_T2CO cpy_r_r60; + PyObject *cpy_r_r61; + int64_t cpy_r_r62; + PyObject *cpy_r_r63; + cpy_r_r0 = CPyStatics[536]; /* 'eth_call' */ + cpy_r_r1 = CPyStatics[537]; /* 'decode_result' */ + PyObject *cpy_r_r2[2] = {cpy_r_data, cpy_r_r0}; + cpy_r_r3 = (PyObject **)&cpy_r_r2; + cpy_r_r4 = PyObject_VectorcallMethod(cpy_r_r1, cpy_r_r3, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 255, CPyStatic__codec___globals); + goto CPyL12; + } + cpy_r_r5 = CPyStatic__codec___ContextFramesBytesIO; + if (unlikely(cpy_r_r5 == NULL)) { + goto CPyL43; + } else + goto CPyL5; +CPyL3: ; + PyErr_SetString(PyExc_NameError, "value for final name \"ContextFramesBytesIO\" was not set"); + cpy_r_r6 = 0; + if (unlikely(!cpy_r_r6)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 255, CPyStatic__codec___globals); + goto CPyL12; + } + CPy_Unreachable(); +CPyL5: ; + PyObject *cpy_r_r7[1] = {cpy_r_r4}; + cpy_r_r8 = (PyObject **)&cpy_r_r7; + cpy_r_r9 = PyObject_Vectorcall(cpy_r_r5, cpy_r_r8, 1, 0); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 255, CPyStatic__codec___globals); + goto CPyL44; + } + CPy_DECREF(cpy_r_r4); + cpy_r_r10 = CPyStatic__codec____mcall_decoder; + if (unlikely(cpy_r_r10 == NULL)) { + goto CPyL45; + } else + goto CPyL9; +CPyL7: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_mcall_decoder\" was not set"); + cpy_r_r11 = 0; + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 255, CPyStatic__codec___globals); + goto CPyL12; + } + CPy_Unreachable(); +CPyL9: ; + PyObject *cpy_r_r12[1] = {cpy_r_r9}; + cpy_r_r13 = (PyObject **)&cpy_r_r12; + cpy_r_r14 = PyObject_Vectorcall(cpy_r_r10, cpy_r_r13, 1, 0); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 255, CPyStatic__codec___globals); + goto CPyL46; + } + CPy_DECREF(cpy_r_r9); + PyObject *__tmp207; + if (unlikely(!(PyTuple_Check(cpy_r_r14) && PyTuple_GET_SIZE(cpy_r_r14) == 3))) { + __tmp207 = NULL; + goto __LL208; + } + if (likely(PyLong_Check(PyTuple_GET_ITEM(cpy_r_r14, 0)))) + __tmp207 = PyTuple_GET_ITEM(cpy_r_r14, 0); + else { + __tmp207 = NULL; + } + if (__tmp207 == NULL) goto __LL208; + if (likely(PyLong_Check(PyTuple_GET_ITEM(cpy_r_r14, 1)))) + __tmp207 = PyTuple_GET_ITEM(cpy_r_r14, 1); + else { + __tmp207 = NULL; + } + if (__tmp207 == NULL) goto __LL208; + if (likely(PyTuple_Check(PyTuple_GET_ITEM(cpy_r_r14, 2)))) + __tmp207 = PyTuple_GET_ITEM(cpy_r_r14, 2); + else { + __tmp207 = NULL; + } + if (__tmp207 == NULL) goto __LL208; + __tmp207 = cpy_r_r14; +__LL208: ; + if (unlikely(__tmp207 == NULL)) { + CPy_TypeError("tuple[int, int, tuple]", cpy_r_r14); cpy_r_r15 = (tuple_T3IIO) { CPY_INT_TAG, CPY_INT_TAG, NULL }; + } else { + PyObject *__tmp209 = PyTuple_GET_ITEM(cpy_r_r14, 0); + CPyTagged __tmp210; + if (likely(PyLong_Check(__tmp209))) + __tmp210 = CPyTagged_FromObject(__tmp209); + else { + CPy_TypeError("int", __tmp209); __tmp210 = CPY_INT_TAG; + } + cpy_r_r15.f0 = __tmp210; + PyObject *__tmp211 = PyTuple_GET_ITEM(cpy_r_r14, 1); + CPyTagged __tmp212; + if (likely(PyLong_Check(__tmp211))) + __tmp212 = CPyTagged_FromObject(__tmp211); + else { + CPy_TypeError("int", __tmp211); __tmp212 = CPY_INT_TAG; + } + cpy_r_r15.f1 = __tmp212; + PyObject *__tmp213 = PyTuple_GET_ITEM(cpy_r_r14, 2); + CPy_INCREF(__tmp213); + PyObject * __tmp214; + if (likely(PyTuple_Check(__tmp213))) + __tmp214 = __tmp213; + else { + CPy_TypeError("tuple", __tmp213); + __tmp214 = NULL; + } + cpy_r_r15.f2 = __tmp214; + } + CPy_DECREF(cpy_r_r14); + if (unlikely(cpy_r_r15.f0 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 255, CPyStatic__codec___globals); + goto CPyL12; + } + cpy_r_r16 = cpy_r_r15.f2; + CPy_INCREF(cpy_r_r16); + CPyTagged_DECREF(cpy_r_r15.f0); + CPyTagged_DECREF(cpy_r_r15.f1); + CPy_DECREF(cpy_r_r15.f2); + goto CPyL35; +CPyL12: ; + cpy_r_r17 = CPy_CatchError(); + cpy_r_r18 = CPyModule_builtins; + cpy_r_r19 = CPyStatics[16]; /* 'Exception' */ + cpy_r_r20 = CPyObject_GetAttr(cpy_r_r18, cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 256, CPyStatic__codec___globals); + goto CPyL33; + } + cpy_r_r21 = CPy_ExceptionMatches(cpy_r_r20); + CPy_DecRef(cpy_r_r20); + if (!cpy_r_r21) goto CPyL31; + cpy_r_r22 = CPy_GetExcValue(); + cpy_r_r23 = CPyStatic__codec___globals; + cpy_r_r24 = CPyStatics[530]; /* 'PartialResponse' */ + cpy_r_r25 = CPyDict_GetItem(cpy_r_r23, cpy_r_r24); + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 257, CPyStatic__codec___globals); + goto CPyL47; + } + cpy_r_r26 = (PyObject *)&_Py_NoneStruct; + cpy_r_r27 = cpy_r_r25 == cpy_r_r26; + CPy_DecRef(cpy_r_r25); + if (!cpy_r_r27) goto CPyL17; + cpy_r_r28 = CPyDef__codec_____import_from_types(); + if (unlikely(cpy_r_r28 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 258, CPyStatic__codec___globals); + goto CPyL47; + } +CPyL17: ; + cpy_r_r29 = CPyStatics[186]; /* 'args' */ + cpy_r_r30 = CPyObject_GetAttr(cpy_r_r22, cpy_r_r29); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 260, CPyStatic__codec___globals); + goto CPyL47; + } + if (likely(PyTuple_Check(cpy_r_r30))) + cpy_r_r31 = cpy_r_r30; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 260, CPyStatic__codec___globals, "tuple", cpy_r_r30); + goto CPyL47; + } + cpy_r_r32 = CPyStatic__codec___globals; + cpy_r_r33 = CPyStatics[530]; /* 'PartialResponse' */ + cpy_r_r34 = CPyDict_GetItem(cpy_r_r32, cpy_r_r33); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 260, CPyStatic__codec___globals); + goto CPyL48; + } + cpy_r_r35 = PyObject_IsInstance(cpy_r_data, cpy_r_r34); + CPy_DecRef(cpy_r_r34); + cpy_r_r36 = cpy_r_r35 >= 0; + if (unlikely(!cpy_r_r36)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 260, CPyStatic__codec___globals); + goto CPyL48; + } + cpy_r_r37 = cpy_r_r35; + if (!cpy_r_r37) goto CPyL24; + cpy_r_r38 = CPyStatics[537]; /* 'decode_result' */ + PyObject *cpy_r_r39[1] = {cpy_r_data}; + cpy_r_r40 = (PyObject **)&cpy_r_r39; + cpy_r_r41 = PyObject_VectorcallMethod(cpy_r_r38, cpy_r_r40, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 260, CPyStatic__codec___globals); + goto CPyL48; + } + cpy_r_r42 = cpy_r_r41; + goto CPyL25; +CPyL24: ; + CPy_INCREF(cpy_r_data); + cpy_r_r42 = cpy_r_data; +CPyL25: ; + cpy_r_r43 = PyList_New(0); + if (unlikely(cpy_r_r43 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 260, CPyStatic__codec___globals); + goto CPyL49; + } + cpy_r_r44 = CPyList_Extend(cpy_r_r43, cpy_r_r31); + CPy_DecRef(cpy_r_r31); + if (unlikely(cpy_r_r44 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 260, CPyStatic__codec___globals); + goto CPyL50; + } else + goto CPyL51; +CPyL27: ; + cpy_r_r45 = PyList_Append(cpy_r_r43, cpy_r_r42); + CPy_DecRef(cpy_r_r42); + cpy_r_r46 = cpy_r_r45 >= 0; + if (unlikely(!cpy_r_r46)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 260, CPyStatic__codec___globals); + goto CPyL52; + } + cpy_r_r47 = PyList_AsTuple(cpy_r_r43); + CPy_DecRef(cpy_r_r43); + if (unlikely(cpy_r_r47 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 260, CPyStatic__codec___globals); + goto CPyL47; + } + cpy_r_r48 = CPyStatics[186]; /* 'args' */ + cpy_r_r49 = PyObject_SetAttr(cpy_r_r22, cpy_r_r48, cpy_r_r47); + CPy_DecRef(cpy_r_r47); + cpy_r_r50 = cpy_r_r49 >= 0; + if (unlikely(!cpy_r_r50)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 260, CPyStatic__codec___globals); + goto CPyL47; + } + CPy_RestoreExcInfo(cpy_r_r17); + CPy_DecRef(cpy_r_r17.f0); + CPy_DecRef(cpy_r_r17.f1); + CPy_DecRef(cpy_r_r17.f2); + return cpy_r_r22; +CPyL31: ; + CPy_Reraise(); + if (!0) { + goto CPyL33; + } else + goto CPyL53; +CPyL32: ; + CPy_Unreachable(); +CPyL33: ; + CPy_RestoreExcInfo(cpy_r_r17); + CPy_DecRef(cpy_r_r17.f0); + CPy_DecRef(cpy_r_r17.f1); + CPy_DecRef(cpy_r_r17.f2); + cpy_r_r51 = CPy_KeepPropagating(); + if (!cpy_r_r51) goto CPyL42; + CPy_Unreachable(); +CPyL35: ; + cpy_r_r52 = (CPyPtr)&((PyVarObject *)cpy_r_r16)->ob_size; + cpy_r_r53 = *(int64_t *)cpy_r_r52; + cpy_r_r54 = PyList_New(cpy_r_r53); + if (unlikely(cpy_r_r54 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 263, CPyStatic__codec___globals); + goto CPyL54; + } + cpy_r_r55 = (CPyPtr)&((PyVarObject *)cpy_r_r16)->ob_size; + cpy_r_r56 = *(int64_t *)cpy_r_r55; + cpy_r_r57 = 0; +CPyL37: ; + cpy_r_r58 = cpy_r_r57 < cpy_r_r56; + if (!cpy_r_r58) goto CPyL55; + cpy_r_r59 = CPySequenceTuple_GetItemUnsafe(cpy_r_r16, cpy_r_r57); + PyObject *__tmp215; + if (unlikely(!(PyTuple_Check(cpy_r_r59) && PyTuple_GET_SIZE(cpy_r_r59) == 2))) { + __tmp215 = NULL; + goto __LL216; + } + if (likely(PyBool_Check(PyTuple_GET_ITEM(cpy_r_r59, 0)))) + __tmp215 = PyTuple_GET_ITEM(cpy_r_r59, 0); + else { + __tmp215 = NULL; + } + if (__tmp215 == NULL) goto __LL216; + if (likely(PyBytes_Check(PyTuple_GET_ITEM(cpy_r_r59, 1)) || PyByteArray_Check(PyTuple_GET_ITEM(cpy_r_r59, 1)))) + __tmp215 = PyTuple_GET_ITEM(cpy_r_r59, 1); + else { + __tmp215 = NULL; + } + if (__tmp215 == NULL) goto __LL216; + __tmp215 = cpy_r_r59; +__LL216: ; + if (unlikely(__tmp215 == NULL)) { + CPy_TypeError("tuple[bool, bytes]", cpy_r_r59); cpy_r_r60 = (tuple_T2CO) { 2, NULL }; + } else { + PyObject *__tmp217 = PyTuple_GET_ITEM(cpy_r_r59, 0); + char __tmp218; + if (unlikely(!PyBool_Check(__tmp217))) { + CPy_TypeError("bool", __tmp217); __tmp218 = 2; + } else + __tmp218 = __tmp217 == Py_True; + cpy_r_r60.f0 = __tmp218; + PyObject *__tmp219 = PyTuple_GET_ITEM(cpy_r_r59, 1); + CPy_INCREF(__tmp219); + PyObject *__tmp220; + if (likely(PyBytes_Check(__tmp219) || PyByteArray_Check(__tmp219))) + __tmp220 = __tmp219; + else { + CPy_TypeError("bytes", __tmp219); + __tmp220 = NULL; + } + cpy_r_r60.f1 = __tmp220; + } + CPy_DECREF(cpy_r_r59); + if (unlikely(cpy_r_r60.f0 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 263, CPyStatic__codec___globals); + goto CPyL56; + } + cpy_r_r61 = cpy_r_r60.f1; + CPy_INCREF(cpy_r_r61); + CPy_DECREF(cpy_r_r60.f1); + CPyList_SetItemUnsafe(cpy_r_r54, cpy_r_r57, cpy_r_r61); + cpy_r_r62 = cpy_r_r57 + 1; + cpy_r_r57 = cpy_r_r62; + goto CPyL37; +CPyL41: ; + return cpy_r_r54; +CPyL42: ; + cpy_r_r63 = NULL; + return cpy_r_r63; +CPyL43: ; + CPy_DecRef(cpy_r_r4); + goto CPyL3; +CPyL44: ; + CPy_DecRef(cpy_r_r4); + goto CPyL12; +CPyL45: ; + CPy_DecRef(cpy_r_r9); + goto CPyL7; +CPyL46: ; + CPy_DecRef(cpy_r_r9); + goto CPyL12; +CPyL47: ; + CPy_DecRef(cpy_r_r22); + goto CPyL33; +CPyL48: ; + CPy_DecRef(cpy_r_r22); + CPy_DecRef(cpy_r_r31); + goto CPyL33; +CPyL49: ; + CPy_DecRef(cpy_r_r22); + CPy_DecRef(cpy_r_r31); + CPy_DecRef(cpy_r_r42); + goto CPyL33; +CPyL50: ; + CPy_DecRef(cpy_r_r22); + CPy_DecRef(cpy_r_r42); + CPy_DecRef(cpy_r_r43); + goto CPyL33; +CPyL51: ; + CPy_DecRef(cpy_r_r44); + goto CPyL27; +CPyL52: ; + CPy_DecRef(cpy_r_r22); + CPy_DecRef(cpy_r_r43); + goto CPyL33; +CPyL53: ; + CPy_DecRef(cpy_r_r17.f0); + CPy_DecRef(cpy_r_r17.f1); + CPy_DecRef(cpy_r_r17.f2); + goto CPyL32; +CPyL54: ; + CPy_DecRef(cpy_r_r16); + goto CPyL42; +CPyL55: ; + CPy_DECREF(cpy_r_r16); + goto CPyL41; +CPyL56: ; + CPy_DecRef(cpy_r_r16); + CPy_DecRef(cpy_r_r54); + goto CPyL42; +} + +PyObject *CPyPy__codec___mcall_decode(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"data", 0}; + static CPyArg_Parser parser = {"O:mcall_decode", kwlist, 0}; + PyObject *obj_data; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_data)) { + return NULL; + } + PyObject *arg_data = obj_data; + PyObject *retval = CPyDef__codec___mcall_decode(arg_data); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "mcall_decode", 253, CPyStatic__codec___globals); + return NULL; +} + +char CPyDef__codec_____import_from_types(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + char cpy_r_r4; + cpy_r_r0 = CPyStatics[1010]; /* ('PartialResponse', 'Request', 'Response', + 'better_decode') */ + cpy_r_r1 = CPyStatics[54]; /* 'dank_mids.types' */ + cpy_r_r2 = CPyStatic__codec___globals; + cpy_r_r3 = CPyImport_ImportFromMany(cpy_r_r1, cpy_r_r0, cpy_r_r0, cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__import_from_types", 269, CPyStatic__codec___globals); + goto CPyL2; + } + CPyModule_dank_mids___types = cpy_r_r3; + CPy_INCREF(CPyModule_dank_mids___types); + CPy_DECREF(cpy_r_r3); + return 1; +CPyL2: ; + cpy_r_r4 = 2; + return cpy_r_r4; +} + +PyObject *CPyPy__codec_____import_from_types(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__import_from_types", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + char retval = CPyDef__codec_____import_from_types(); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__import_from_types", 266, CPyStatic__codec___globals); + return NULL; +} + +char CPyDef__codec_____make_decode_batch(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + tuple_T2OO cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject **cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + int32_t cpy_r_r33; + char cpy_r_r34; + char cpy_r_r35; + cpy_r_r0 = CPyStatics[1011]; /* ('PartialResponse',) */ + cpy_r_r1 = CPyStatics[54]; /* 'dank_mids.types' */ + cpy_r_r2 = CPyStatic__codec___globals; + cpy_r_r3 = CPyImport_ImportFromMany(cpy_r_r1, cpy_r_r0, cpy_r_r0, cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__make_decode_batch", 273, CPyStatic__codec___globals); + goto CPyL13; + } + CPyModule_dank_mids___types = cpy_r_r3; + CPy_INCREF(CPyModule_dank_mids___types); + CPy_DECREF(cpy_r_r3); + cpy_r_r4 = CPyStatic__codec___globals; + cpy_r_r5 = CPyStatics[38]; /* 'Union' */ + cpy_r_r6 = CPyDict_GetItem(cpy_r_r4, cpy_r_r5); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__make_decode_batch", 276, CPyStatic__codec___globals); + goto CPyL13; + } + cpy_r_r7 = CPyStatic__codec___globals; + cpy_r_r8 = CPyStatics[172]; /* 'List' */ + cpy_r_r9 = CPyDict_GetItem(cpy_r_r7, cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__make_decode_batch", 276, CPyStatic__codec___globals); + goto CPyL14; + } + cpy_r_r10 = CPyStatic__codec___globals; + cpy_r_r11 = CPyStatics[539]; /* 'msgspec' */ + cpy_r_r12 = CPyDict_GetItem(cpy_r_r10, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__make_decode_batch", 276, CPyStatic__codec___globals); + goto CPyL15; + } + cpy_r_r13 = CPyStatics[540]; /* 'Raw' */ + cpy_r_r14 = CPyObject_GetAttr(cpy_r_r12, cpy_r_r13); + CPy_DECREF(cpy_r_r12); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__make_decode_batch", 276, CPyStatic__codec___globals); + goto CPyL15; + } + cpy_r_r15 = PyObject_GetItem(cpy_r_r9, cpy_r_r14); + CPy_DECREF(cpy_r_r9); + CPy_DECREF(cpy_r_r14); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__make_decode_batch", 276, CPyStatic__codec___globals); + goto CPyL14; + } + cpy_r_r16 = CPyStatic__codec___globals; + cpy_r_r17 = CPyStatics[530]; /* 'PartialResponse' */ + cpy_r_r18 = CPyDict_GetItem(cpy_r_r16, cpy_r_r17); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__make_decode_batch", 276, CPyStatic__codec___globals); + goto CPyL16; + } + cpy_r_r19.f0 = cpy_r_r15; + cpy_r_r19.f1 = cpy_r_r18; + cpy_r_r20 = PyTuple_New(2); + if (unlikely(cpy_r_r20 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp221 = cpy_r_r19.f0; + PyTuple_SET_ITEM(cpy_r_r20, 0, __tmp221); + PyObject *__tmp222 = cpy_r_r19.f1; + PyTuple_SET_ITEM(cpy_r_r20, 1, __tmp222); + cpy_r_r21 = PyObject_GetItem(cpy_r_r6, cpy_r_r20); + CPy_DECREF(cpy_r_r6); + CPy_DECREF(cpy_r_r20); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__make_decode_batch", 276, CPyStatic__codec___globals); + goto CPyL13; + } + cpy_r_r22 = CPyStatic__codec___globals; + cpy_r_r23 = CPyStatics[541]; /* 'Decoder' */ + cpy_r_r24 = CPyDict_GetItem(cpy_r_r22, cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__make_decode_batch", 276, CPyStatic__codec___globals); + goto CPyL17; + } + PyObject *cpy_r_r25[1] = {cpy_r_r21}; + cpy_r_r26 = (PyObject **)&cpy_r_r25; + cpy_r_r27 = CPyStatics[1009]; /* ('type',) */ + cpy_r_r28 = PyObject_Vectorcall(cpy_r_r24, cpy_r_r26, 0, cpy_r_r27); + CPy_DECREF(cpy_r_r24); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__make_decode_batch", 276, CPyStatic__codec___globals); + goto CPyL17; + } + CPy_DECREF(cpy_r_r21); + cpy_r_r29 = CPyStatics[471]; /* 'decode' */ + cpy_r_r30 = CPyObject_GetAttr(cpy_r_r28, cpy_r_r29); + CPy_DECREF(cpy_r_r28); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__make_decode_batch", 276, CPyStatic__codec___globals); + goto CPyL13; + } + cpy_r_r31 = CPyStatic__codec___globals; + cpy_r_r32 = CPyStatics[532]; /* '_decode_batch' */ + cpy_r_r33 = CPyDict_SetItem(cpy_r_r31, cpy_r_r32, cpy_r_r30); + CPy_DECREF(cpy_r_r30); + cpy_r_r34 = cpy_r_r33 >= 0; + if (unlikely(!cpy_r_r34)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__make_decode_batch", 276, CPyStatic__codec___globals); + goto CPyL13; + } + return 1; +CPyL13: ; + cpy_r_r35 = 2; + return cpy_r_r35; +CPyL14: ; + CPy_DecRef(cpy_r_r6); + goto CPyL13; +CPyL15: ; + CPy_DecRef(cpy_r_r6); + CPy_DecRef(cpy_r_r9); + goto CPyL13; +CPyL16: ; + CPy_DecRef(cpy_r_r6); + CPy_DecRef(cpy_r_r15); + goto CPyL13; +CPyL17: ; + CPy_DecRef(cpy_r_r21); + goto CPyL13; +} + +PyObject *CPyPy__codec_____make_decode_batch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__make_decode_batch", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + char retval = CPyDef__codec_____make_decode_batch(); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__make_decode_batch", 272, CPyStatic__codec___globals); + return NULL; +} + +char CPyDef__codec_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject **cpy_r_r9; + PyObject **cpy_r_r10; + void *cpy_r_r12; + void *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + char cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + int32_t cpy_r_r47; + char cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + int32_t cpy_r_r52; + char cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + int32_t cpy_r_r57; + char cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + int32_t cpy_r_r62; + char cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject **cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + int32_t cpy_r_r73; + char cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + PyObject *cpy_r_r77; + PyObject *cpy_r_r78; + PyObject *cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + tuple_T3OOO cpy_r_r87; + PyObject *cpy_r_r88; + PyObject *cpy_r_r89; + PyObject *cpy_r_r90; + PyObject *cpy_r_r91; + int32_t cpy_r_r92; + char cpy_r_r93; + PyObject *cpy_r_r94; + PyObject *cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + PyObject *cpy_r_r98; + PyObject *cpy_r_r99; + PyObject *cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + PyObject *cpy_r_r104; + PyObject *cpy_r_r105; + PyObject *cpy_r_r106; + tuple_T4OOOO cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + PyObject *cpy_r_r111; + int32_t cpy_r_r112; + char cpy_r_r113; + PyObject *cpy_r_r114; + PyObject *cpy_r_r115; + PyObject *cpy_r_r116; + PyObject *cpy_r_r117; + PyObject *cpy_r_r118; + PyObject *cpy_r_r119; + PyObject *cpy_r_r120; + PyObject *cpy_r_r121; + PyObject *cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + PyObject *cpy_r_r126; + PyObject *cpy_r_r127; + PyObject *cpy_r_r128; + PyObject *cpy_r_r129; + PyObject *cpy_r_r130; + PyObject *cpy_r_r131; + PyObject *cpy_r_r132; + PyObject *cpy_r_r133; + tuple_T2OO cpy_r_r134; + PyObject *cpy_r_r135; + PyObject *cpy_r_r136; + tuple_T3OOO cpy_r_r137; + PyObject *cpy_r_r138; + PyObject *cpy_r_r139; + PyObject *cpy_r_r140; + PyObject *cpy_r_r141; + int32_t cpy_r_r142; + char cpy_r_r143; + PyObject *cpy_r_r144; + PyObject *cpy_r_r145; + PyObject *cpy_r_r146; + PyObject *cpy_r_r147; + PyObject *cpy_r_r148; + PyObject *cpy_r_r149; + PyObject *cpy_r_r150; + PyObject *cpy_r_r151; + PyObject *cpy_r_r152; + PyObject *cpy_r_r153; + PyObject *cpy_r_r154; + PyObject *cpy_r_r155; + PyObject *cpy_r_r156; + PyObject *cpy_r_r157; + tuple_T2OO cpy_r_r158; + PyObject *cpy_r_r159; + PyObject *cpy_r_r160; + PyObject *cpy_r_r161; + PyObject *cpy_r_r162; + PyObject *cpy_r_r163; + PyObject *cpy_r_r164; + PyObject *cpy_r_r165; + PyObject *cpy_r_r166; + PyObject *cpy_r_r167; + PyObject *cpy_r_r168; + PyObject *cpy_r_r169; + PyObject *cpy_r_r170; + PyObject *cpy_r_r171; + PyObject *cpy_r_r172; + PyObject *cpy_r_r173; + PyObject *cpy_r_r174; + tuple_T2OO cpy_r_r175; + PyObject *cpy_r_r176; + PyObject *cpy_r_r177; + PyObject *cpy_r_r178; + tuple_T2OO cpy_r_r179; + PyObject *cpy_r_r180; + PyObject *cpy_r_r181; + PyObject *cpy_r_r182; + PyObject *cpy_r_r183; + int32_t cpy_r_r184; + char cpy_r_r185; + PyObject *cpy_r_r186; + PyObject *cpy_r_r187; + PyObject *cpy_r_r188; + PyObject *cpy_r_r189; + PyObject *cpy_r_r190; + PyObject *cpy_r_r191; + PyObject *cpy_r_r192; + PyObject *cpy_r_r193; + PyObject *cpy_r_r194; + PyObject *cpy_r_r195; + PyObject *cpy_r_r196; + PyObject *cpy_r_r197; + PyObject *cpy_r_r198; + PyObject *cpy_r_r199; + tuple_T2OO cpy_r_r200; + PyObject *cpy_r_r201; + PyObject *cpy_r_r202; + PyObject *cpy_r_r203; + CPyPtr cpy_r_r204; + CPyPtr cpy_r_r205; + PyObject *cpy_r_r206; + tuple_T2OO cpy_r_r207; + PyObject *cpy_r_r208; + PyObject *cpy_r_r209; + PyObject *cpy_r_r210; + PyObject *cpy_r_r211; + int32_t cpy_r_r212; + char cpy_r_r213; + PyObject *cpy_r_r214; + PyObject *cpy_r_r215; + PyObject *cpy_r_r216; + PyObject *cpy_r_r217; + PyObject *cpy_r_r218; + PyObject *cpy_r_r219; + PyObject *cpy_r_r220; + PyObject *cpy_r_r221; + PyObject *cpy_r_r222; + PyObject *cpy_r_r223; + PyObject *cpy_r_r224; + PyObject *cpy_r_r225; + PyObject *cpy_r_r226; + tuple_T2OO cpy_r_r227; + PyObject *cpy_r_r228; + PyObject *cpy_r_r229; + PyObject *cpy_r_r230; + tuple_T2OO cpy_r_r231; + PyObject *cpy_r_r232; + PyObject *cpy_r_r233; + tuple_T3OOO cpy_r_r234; + PyObject *cpy_r_r235; + PyObject *cpy_r_r236; + PyObject *cpy_r_r237; + PyObject *cpy_r_r238; + int32_t cpy_r_r239; + char cpy_r_r240; + PyObject *cpy_r_r241; + PyObject *cpy_r_r242; + PyObject *cpy_r_r243; + PyObject *cpy_r_r244; + PyObject *cpy_r_r245; + PyObject *cpy_r_r246; + PyObject *cpy_r_r247; + tuple_T2OO cpy_r_r248; + PyObject *cpy_r_r249; + PyObject *cpy_r_r250; + PyObject *cpy_r_r251; + PyObject *cpy_r_r252; + int32_t cpy_r_r253; + char cpy_r_r254; + PyObject *cpy_r_r255; + PyObject *cpy_r_r256; + PyObject *cpy_r_r257; + PyObject *cpy_r_r258; + PyObject *cpy_r_r259; + PyObject *cpy_r_r260; + PyObject *cpy_r_r261; + int32_t cpy_r_r262; + char cpy_r_r263; + PyObject *cpy_r_r264; + PyObject *cpy_r_r265; + PyObject *cpy_r_r266; + PyObject *cpy_r_r267; + PyObject *cpy_r_r268; + PyObject *cpy_r_r269; + PyObject *cpy_r_r270; + PyObject *cpy_r_r271; + PyObject *cpy_r_r272; + tuple_T2OO cpy_r_r273; + PyObject *cpy_r_r274; + PyObject *cpy_r_r275; + PyObject *cpy_r_r276; + PyObject *cpy_r_r277; + int32_t cpy_r_r278; + char cpy_r_r279; + PyObject *cpy_r_r280; + PyObject *cpy_r_r281; + PyObject *cpy_r_r282; + PyObject *cpy_r_r283; + PyObject *cpy_r_r284; + PyObject *cpy_r_r285; + PyObject *cpy_r_r286; + PyObject *cpy_r_r287; + tuple_T2OO cpy_r_r288; + PyObject *cpy_r_r289; + PyObject *cpy_r_r290; + PyObject *cpy_r_r291; + CPyPtr cpy_r_r292; + CPyPtr cpy_r_r293; + PyObject *cpy_r_r294; + PyObject *cpy_r_r295; + PyObject *cpy_r_r296; + PyObject *cpy_r_r297; + PyObject *cpy_r_r298; + PyObject *cpy_r_r299; + PyObject *cpy_r_r300; + PyObject *cpy_r_r301; + PyObject *cpy_r_r302; + PyObject *cpy_r_r303; + PyObject *cpy_r_r304; + PyObject *cpy_r_r305; + PyObject *cpy_r_r306; + tuple_T2OO cpy_r_r307; + PyObject *cpy_r_r308; + PyObject *cpy_r_r309; + tuple_T2OO cpy_r_r310; + PyObject *cpy_r_r311; + PyObject *cpy_r_r312; + PyObject *cpy_r_r313; + PyObject *cpy_r_r314; + int32_t cpy_r_r315; + char cpy_r_r316; + PyObject *cpy_r_r317; + PyObject *cpy_r_r318; + PyObject *cpy_r_r319; + PyObject *cpy_r_r320; + PyObject *cpy_r_r321; + PyObject *cpy_r_r322; + PyObject *cpy_r_r323; + int32_t cpy_r_r324; + char cpy_r_r325; + PyObject *cpy_r_r326; + PyObject *cpy_r_r327; + PyObject *cpy_r_r328; + PyObject *cpy_r_r329; + PyObject *cpy_r_r330; + PyObject *cpy_r_r331; + PyObject *cpy_r_r332; + int32_t cpy_r_r333; + char cpy_r_r334; + PyObject *cpy_r_r335; + PyObject *cpy_r_r336; + PyObject *cpy_r_r337; + PyObject *cpy_r_r338; + PyObject *cpy_r_r339; + PyObject *cpy_r_r340; + PyObject *cpy_r_r341; + int32_t cpy_r_r342; + char cpy_r_r343; + PyObject *cpy_r_r344; + PyObject *cpy_r_r345; + PyObject *cpy_r_r346; + PyObject *cpy_r_r347; + PyObject *cpy_r_r348; + PyObject *cpy_r_r349; + PyObject *cpy_r_r350; + int32_t cpy_r_r351; + char cpy_r_r352; + PyObject *cpy_r_r353; + PyObject *cpy_r_r354; + PyObject *cpy_r_r355; + PyObject *cpy_r_r356; + PyObject **cpy_r_r358; + PyObject *cpy_r_r359; + PyObject *cpy_r_r360; + PyObject *cpy_r_r361; + PyObject *cpy_r_r362; + PyObject *cpy_r_r363; + PyObject *cpy_r_r364; + int32_t cpy_r_r365; + char cpy_r_r366; + PyObject *cpy_r_r367; + char cpy_r_r368; + PyObject *cpy_r_r369; + PyObject *cpy_r_r370; + PyObject *cpy_r_r371; + PyObject **cpy_r_r373; + PyObject *cpy_r_r374; + PyObject *cpy_r_r375; + PyObject *cpy_r_r376; + PyObject *cpy_r_r377; + PyObject *cpy_r_r378; + PyObject *cpy_r_r379; + int32_t cpy_r_r380; + char cpy_r_r381; + PyObject *cpy_r_r382; + PyObject *cpy_r_r383; + PyObject *cpy_r_r384; + int32_t cpy_r_r385; + char cpy_r_r386; + PyObject *cpy_r_r387; + PyObject *cpy_r_r388; + PyObject *cpy_r_r389; + PyObject *cpy_r_r390; + char cpy_r_r391; + PyObject *cpy_r_r392; + PyObject *cpy_r_r393; + PyObject *cpy_r_r394; + int32_t cpy_r_r395; + char cpy_r_r396; + PyObject *cpy_r_r397; + PyObject *cpy_r_r398; + int32_t cpy_r_r399; + char cpy_r_r400; + PyObject *cpy_r_r401; + PyObject *cpy_r_r402; + PyObject *cpy_r_r403; + PyObject *cpy_r_r404; + PyObject *cpy_r_r405; + PyObject *cpy_r_r406; + PyObject **cpy_r_r408; + PyObject *cpy_r_r409; + PyObject *cpy_r_r410; + PyObject *cpy_r_r411; + PyObject *cpy_r_r412; + PyObject *cpy_r_r413; + PyObject *cpy_r_r414; + int32_t cpy_r_r415; + char cpy_r_r416; + PyObject *cpy_r_r417; + PyObject *cpy_r_r418; + PyObject *cpy_r_r419; + PyObject *cpy_r_r420; + PyObject *cpy_r_r421; + PyObject *cpy_r_r422; + PyObject *cpy_r_r423; + PyObject **cpy_r_r425; + PyObject *cpy_r_r426; + PyObject *cpy_r_r427; + PyObject *cpy_r_r428; + int32_t cpy_r_r429; + char cpy_r_r430; + PyObject *cpy_r_r431; + char cpy_r_r432; + PyObject *cpy_r_r433; + PyObject *cpy_r_r434; + PyObject *cpy_r_r435; + PyObject *cpy_r_r436; + PyObject *cpy_r_r437; + PyObject *cpy_r_r438; + int32_t cpy_r_r439; + char cpy_r_r440; + PyObject *cpy_r_r441; + char cpy_r_r442; + PyObject *cpy_r_r443; + PyObject *cpy_r_r444; + PyObject *cpy_r_r445; + PyObject *cpy_r_r446; + int32_t cpy_r_r447; + char cpy_r_r448; + PyObject *cpy_r_r449; + PyObject *cpy_r_r450; + char cpy_r_r451; + PyObject *cpy_r_r452; + int32_t cpy_r_r453; + char cpy_r_r454; + PyObject *cpy_r_r455; + char cpy_r_r456; + PyObject *cpy_r_r457; + int32_t cpy_r_r458; + char cpy_r_r459; + PyObject *cpy_r_r460; + char cpy_r_r461; + PyObject *cpy_r_r462; + int32_t cpy_r_r463; + char cpy_r_r464; + PyObject *cpy_r_r465; + PyObject *cpy_r_r466; + PyObject *cpy_r_r467; + PyObject *cpy_r_r468; + char cpy_r_r469; + PyObject *cpy_r_r470; + int32_t cpy_r_r471; + char cpy_r_r472; + PyObject *cpy_r_r473; + PyObject *cpy_r_r474; + PyObject *cpy_r_r475; + PyObject *cpy_r_r476; + char cpy_r_r477; + PyObject *cpy_r_r478; + int32_t cpy_r_r479; + char cpy_r_r480; + PyObject *cpy_r_r481; + PyObject *cpy_r_r482; + PyObject *cpy_r_r483; + PyObject *cpy_r_r484; + PyObject *cpy_r_r485; + PyObject *cpy_r_r486; + PyObject *cpy_r_r487; + PyObject **cpy_r_r489; + PyObject *cpy_r_r490; + PyObject *cpy_r_r491; + PyObject *cpy_r_r492; + PyObject *cpy_r_r493; + PyObject *cpy_r_r494; + int32_t cpy_r_r495; + char cpy_r_r496; + PyObject *cpy_r_r497; + PyObject *cpy_r_r498; + PyObject *cpy_r_r499; + int32_t cpy_r_r500; + char cpy_r_r501; + char cpy_r_r502; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", -1, CPyStatic__codec___globals); + goto CPyL175; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[1012]; /* ('TYPE_CHECKING', 'Any', 'AnyStr', 'Callable', 'Dict', + 'Final', 'Iterable', 'List', 'Literal', 'Mapping', + 'Optional', 'Union', 'Tuple', 'Type', 'TypeVar', 'Union', + 'final', 'overload') */ + cpy_r_r6 = CPyStatics[40]; /* 'typing' */ + cpy_r_r7 = CPyStatic__codec___globals; + cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 1, CPyStatic__codec___globals); + goto CPyL175; + } + CPyModule_typing = cpy_r_r8; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = (PyObject **)&CPyModule_hexbytes; + cpy_r_r10 = (PyObject **)&CPyModule_msgspec; + PyObject **cpy_r_r11[2] = {cpy_r_r9, cpy_r_r10}; + cpy_r_r12 = (void *)&cpy_r_r11; + int64_t cpy_r_r13[2] = {22, 23}; + cpy_r_r14 = (void *)&cpy_r_r13; + cpy_r_r15 = CPyStatics[1014]; /* (('hexbytes', 'hexbytes', 'hexbytes'), + ('msgspec', 'msgspec', 'msgspec')) */ + cpy_r_r16 = CPyStatic__codec___globals; + cpy_r_r17 = CPyStatics[545]; /* 'dank_mids\\helpers\\_codec.py' */ + cpy_r_r18 = CPyStatics[43]; /* '' */ + cpy_r_r19 = CPyImport_ImportMany(cpy_r_r15, cpy_r_r12, cpy_r_r16, cpy_r_r17, cpy_r_r18, cpy_r_r14); + if (!cpy_r_r19) goto CPyL175; + cpy_r_r20 = CPyStatics[1015]; /* ('ChecksumAddress', 'HexStr') */ + cpy_r_r21 = CPyStatics[137]; /* 'eth_typing' */ + cpy_r_r22 = CPyStatic__codec___globals; + cpy_r_r23 = CPyImport_ImportFromMany(cpy_r_r21, cpy_r_r20, cpy_r_r20, cpy_r_r22); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 24, CPyStatic__codec___globals); + goto CPyL175; + } + CPyModule_eth_typing = cpy_r_r23; + CPy_INCREF(CPyModule_eth_typing); + CPy_DECREF(cpy_r_r23); + cpy_r_r24 = CPyStatics[1016]; /* ('decoding',) */ + cpy_r_r25 = CPyStatics[256]; /* 'faster_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); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 25, CPyStatic__codec___globals); + goto CPyL175; + } + CPyModule_faster_eth_abi = cpy_r_r27; + CPy_INCREF(CPyModule_faster_eth_abi); + CPy_DECREF(cpy_r_r27); + cpy_r_r28 = CPyStatics[1017]; /* ('default_codec',) */ + cpy_r_r29 = CPyStatics[548]; /* 'faster_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); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 26, CPyStatic__codec___globals); + goto CPyL175; + } + CPyModule_faster_eth_abi___abi = cpy_r_r31; + CPy_INCREF(CPyModule_faster_eth_abi___abi); + CPy_DECREF(cpy_r_r31); + cpy_r_r32 = CPyStatics[1018]; /* ('DynamicArrayEncoder', 'TupleEncoder') */ + cpy_r_r33 = CPyStatics[551]; /* 'faster_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); + if (unlikely(cpy_r_r35 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 27, CPyStatic__codec___globals); + goto CPyL175; + } + CPyModule_faster_eth_abi___encoding = cpy_r_r35; + CPy_INCREF(CPyModule_faster_eth_abi___encoding); + CPy_DECREF(cpy_r_r35); + cpy_r_r36 = CPyStatics[990]; /* ('Address',) */ + cpy_r_r37 = CPyStatics[441]; /* 'evmspec.data' */ + cpy_r_r38 = CPyStatic__codec___globals; + cpy_r_r39 = CPyImport_ImportFromMany(cpy_r_r37, cpy_r_r36, cpy_r_r36, cpy_r_r38); + if (unlikely(cpy_r_r39 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 28, CPyStatic__codec___globals); + goto CPyL175; + } + CPyModule_evmspec___data = cpy_r_r39; + CPy_INCREF(CPyModule_evmspec___data); + CPy_DECREF(cpy_r_r39); + cpy_r_r40 = CPyStatics[1019]; /* ('Decoder', 'Encoder') */ + cpy_r_r41 = CPyStatics[553]; /* 'msgspec.json' */ + cpy_r_r42 = CPyStatic__codec___globals; + cpy_r_r43 = CPyImport_ImportFromMany(cpy_r_r41, cpy_r_r40, cpy_r_r40, cpy_r_r42); + if (unlikely(cpy_r_r43 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 29, CPyStatic__codec___globals); + goto CPyL175; + } + CPyModule_msgspec___json = cpy_r_r43; + CPy_INCREF(CPyModule_msgspec___json); + CPy_DECREF(cpy_r_r43); + cpy_r_r44 = CPyStatic__codec___globals; + cpy_r_r45 = CPyStatics[530]; /* 'PartialResponse' */ + cpy_r_r46 = Py_None; + cpy_r_r47 = CPyDict_SetItem(cpy_r_r44, cpy_r_r45, cpy_r_r46); + cpy_r_r48 = cpy_r_r47 >= 0; + if (unlikely(!cpy_r_r48)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 36, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r49 = CPyStatic__codec___globals; + cpy_r_r50 = CPyStatics[538]; /* 'Request' */ + cpy_r_r51 = Py_None; + cpy_r_r52 = CPyDict_SetItem(cpy_r_r49, cpy_r_r50, cpy_r_r51); + cpy_r_r53 = cpy_r_r52 >= 0; + if (unlikely(!cpy_r_r53)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 37, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r54 = CPyStatic__codec___globals; + cpy_r_r55 = CPyStatics[531]; /* 'Response' */ + cpy_r_r56 = Py_None; + cpy_r_r57 = CPyDict_SetItem(cpy_r_r54, cpy_r_r55, cpy_r_r56); + cpy_r_r58 = cpy_r_r57 >= 0; + if (unlikely(!cpy_r_r58)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 38, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r59 = CPyStatic__codec___globals; + cpy_r_r60 = CPyStatics[529]; /* 'better_decode' */ + cpy_r_r61 = Py_None; + cpy_r_r62 = CPyDict_SetItem(cpy_r_r59, cpy_r_r60, cpy_r_r61); + cpy_r_r63 = cpy_r_r62 >= 0; + if (unlikely(!cpy_r_r63)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 39, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r64 = CPyStatics[55]; /* '__T' */ + cpy_r_r65 = CPyStatic__codec___globals; + cpy_r_r66 = CPyStatics[37]; /* 'TypeVar' */ + cpy_r_r67 = CPyDict_GetItem(cpy_r_r65, cpy_r_r66); + if (unlikely(cpy_r_r67 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 42, CPyStatic__codec___globals); + goto CPyL175; + } + PyObject *cpy_r_r68[1] = {cpy_r_r64}; + cpy_r_r69 = (PyObject **)&cpy_r_r68; + cpy_r_r70 = PyObject_Vectorcall(cpy_r_r67, cpy_r_r69, 1, 0); + CPy_DECREF(cpy_r_r67); + if (unlikely(cpy_r_r70 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 42, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r71 = CPyStatic__codec___globals; + cpy_r_r72 = CPyStatics[55]; /* '__T' */ + cpy_r_r73 = CPyDict_SetItem(cpy_r_r71, cpy_r_r72, cpy_r_r70); + CPy_DECREF(cpy_r_r70); + cpy_r_r74 = cpy_r_r73 >= 0; + if (unlikely(!cpy_r_r74)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 42, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r75 = CPyStatic__codec___globals; + cpy_r_r76 = CPyStatics[38]; /* 'Union' */ + cpy_r_r77 = CPyDict_GetItem(cpy_r_r75, cpy_r_r76); + if (unlikely(cpy_r_r77 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 45, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r78 = CPyStatic__codec___globals; + cpy_r_r79 = CPyStatics[517]; /* 'ChecksumAddress' */ + cpy_r_r80 = CPyDict_GetItem(cpy_r_r78, cpy_r_r79); + if (unlikely(cpy_r_r80 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 45, CPyStatic__codec___globals); + goto CPyL176; + } + cpy_r_r81 = CPyStatic__codec___globals; + cpy_r_r82 = CPyStatics[136]; /* 'HexStr' */ + cpy_r_r83 = CPyDict_GetItem(cpy_r_r81, cpy_r_r82); + if (unlikely(cpy_r_r83 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 45, CPyStatic__codec___globals); + goto CPyL177; + } + cpy_r_r84 = CPyStatic__codec___globals; + cpy_r_r85 = CPyStatics[440]; /* 'Address' */ + cpy_r_r86 = CPyDict_GetItem(cpy_r_r84, cpy_r_r85); + if (unlikely(cpy_r_r86 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 45, CPyStatic__codec___globals); + goto CPyL178; + } + cpy_r_r87.f0 = cpy_r_r80; + cpy_r_r87.f1 = cpy_r_r83; + cpy_r_r87.f2 = cpy_r_r86; + cpy_r_r88 = PyTuple_New(3); + if (unlikely(cpy_r_r88 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp223 = cpy_r_r87.f0; + PyTuple_SET_ITEM(cpy_r_r88, 0, __tmp223); + PyObject *__tmp224 = cpy_r_r87.f1; + PyTuple_SET_ITEM(cpy_r_r88, 1, __tmp224); + PyObject *__tmp225 = cpy_r_r87.f2; + PyTuple_SET_ITEM(cpy_r_r88, 2, __tmp225); + cpy_r_r89 = PyObject_GetItem(cpy_r_r77, cpy_r_r88); + CPy_DECREF(cpy_r_r77); + CPy_DECREF(cpy_r_r88); + if (unlikely(cpy_r_r89 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 45, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r90 = CPyStatic__codec___globals; + cpy_r_r91 = CPyStatics[554]; /* 'StrEncodable' */ + cpy_r_r92 = CPyDict_SetItem(cpy_r_r90, cpy_r_r91, cpy_r_r89); + CPy_DECREF(cpy_r_r89); + cpy_r_r93 = cpy_r_r92 >= 0; + if (unlikely(!cpy_r_r93)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 45, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r94 = CPyStatic__codec___globals; + cpy_r_r95 = CPyStatics[38]; /* 'Union' */ + cpy_r_r96 = CPyDict_GetItem(cpy_r_r94, cpy_r_r95); + if (unlikely(cpy_r_r96 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 46, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r97 = (PyObject *)&PyLong_Type; + cpy_r_r98 = CPyStatic__codec___globals; + cpy_r_r99 = CPyStatics[554]; /* 'StrEncodable' */ + cpy_r_r100 = CPyDict_GetItem(cpy_r_r98, cpy_r_r99); + if (unlikely(cpy_r_r100 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 46, CPyStatic__codec___globals); + goto CPyL179; + } + cpy_r_r101 = CPyStatic__codec___globals; + cpy_r_r102 = CPyStatics[433]; /* 'hexbytes' */ + cpy_r_r103 = CPyDict_GetItem(cpy_r_r101, cpy_r_r102); + if (unlikely(cpy_r_r103 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 46, CPyStatic__codec___globals); + goto CPyL180; + } + cpy_r_r104 = CPyStatics[456]; /* 'HexBytes' */ + cpy_r_r105 = CPyObject_GetAttr(cpy_r_r103, cpy_r_r104); + CPy_DECREF(cpy_r_r103); + if (unlikely(cpy_r_r105 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 46, CPyStatic__codec___globals); + goto CPyL180; + } + cpy_r_r106 = (PyObject *)&PyBytes_Type; + CPy_INCREF(cpy_r_r97); + CPy_INCREF(cpy_r_r106); + cpy_r_r107.f0 = cpy_r_r97; + cpy_r_r107.f1 = cpy_r_r100; + cpy_r_r107.f2 = cpy_r_r105; + cpy_r_r107.f3 = cpy_r_r106; + cpy_r_r108 = PyTuple_New(4); + if (unlikely(cpy_r_r108 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp226 = cpy_r_r107.f0; + PyTuple_SET_ITEM(cpy_r_r108, 0, __tmp226); + PyObject *__tmp227 = cpy_r_r107.f1; + PyTuple_SET_ITEM(cpy_r_r108, 1, __tmp227); + PyObject *__tmp228 = cpy_r_r107.f2; + PyTuple_SET_ITEM(cpy_r_r108, 2, __tmp228); + PyObject *__tmp229 = cpy_r_r107.f3; + PyTuple_SET_ITEM(cpy_r_r108, 3, __tmp229); + cpy_r_r109 = PyObject_GetItem(cpy_r_r96, cpy_r_r108); + CPy_DECREF(cpy_r_r96); + CPy_DECREF(cpy_r_r108); + if (unlikely(cpy_r_r109 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 46, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r110 = CPyStatic__codec___globals; + cpy_r_r111 = CPyStatics[555]; /* 'Encodable' */ + cpy_r_r112 = CPyDict_SetItem(cpy_r_r110, cpy_r_r111, cpy_r_r109); + CPy_DECREF(cpy_r_r109); + cpy_r_r113 = cpy_r_r112 >= 0; + if (unlikely(!cpy_r_r113)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 46, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r114 = CPyStatic__codec___globals; + cpy_r_r115 = CPyStatics[38]; /* 'Union' */ + cpy_r_r116 = CPyDict_GetItem(cpy_r_r114, cpy_r_r115); + if (unlikely(cpy_r_r116 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 48, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r117 = CPyStatic__codec___globals; + cpy_r_r118 = CPyStatics[136]; /* 'HexStr' */ + cpy_r_r119 = CPyDict_GetItem(cpy_r_r117, cpy_r_r118); + if (unlikely(cpy_r_r119 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 48, CPyStatic__codec___globals); + goto CPyL181; + } + cpy_r_r120 = CPyStatic__codec___globals; + cpy_r_r121 = CPyStatics[172]; /* 'List' */ + cpy_r_r122 = CPyDict_GetItem(cpy_r_r120, cpy_r_r121); + if (unlikely(cpy_r_r122 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 48, CPyStatic__codec___globals); + goto CPyL182; + } + cpy_r_r123 = CPyStatic__codec___globals; + cpy_r_r124 = CPyStatics[136]; /* 'HexStr' */ + cpy_r_r125 = CPyDict_GetItem(cpy_r_r123, cpy_r_r124); + if (unlikely(cpy_r_r125 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 48, CPyStatic__codec___globals); + goto CPyL183; + } + cpy_r_r126 = PyObject_GetItem(cpy_r_r122, cpy_r_r125); + CPy_DECREF(cpy_r_r122); + CPy_DECREF(cpy_r_r125); + if (unlikely(cpy_r_r126 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 48, CPyStatic__codec___globals); + goto CPyL182; + } + cpy_r_r127 = CPyStatic__codec___globals; + cpy_r_r128 = CPyStatics[252]; /* 'Dict' */ + cpy_r_r129 = CPyDict_GetItem(cpy_r_r127, cpy_r_r128); + if (unlikely(cpy_r_r129 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 48, CPyStatic__codec___globals); + goto CPyL184; + } + cpy_r_r130 = (PyObject *)&PyUnicode_Type; + cpy_r_r131 = CPyStatic__codec___globals; + cpy_r_r132 = CPyStatics[136]; /* 'HexStr' */ + cpy_r_r133 = CPyDict_GetItem(cpy_r_r131, cpy_r_r132); + if (unlikely(cpy_r_r133 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 48, CPyStatic__codec___globals); + goto CPyL185; + } + CPy_INCREF(cpy_r_r130); + cpy_r_r134.f0 = cpy_r_r130; + cpy_r_r134.f1 = cpy_r_r133; + cpy_r_r135 = PyTuple_New(2); + if (unlikely(cpy_r_r135 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp230 = cpy_r_r134.f0; + PyTuple_SET_ITEM(cpy_r_r135, 0, __tmp230); + PyObject *__tmp231 = cpy_r_r134.f1; + PyTuple_SET_ITEM(cpy_r_r135, 1, __tmp231); + cpy_r_r136 = PyObject_GetItem(cpy_r_r129, cpy_r_r135); + CPy_DECREF(cpy_r_r129); + CPy_DECREF(cpy_r_r135); + if (unlikely(cpy_r_r136 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 48, CPyStatic__codec___globals); + goto CPyL184; + } + cpy_r_r137.f0 = cpy_r_r119; + cpy_r_r137.f1 = cpy_r_r126; + cpy_r_r137.f2 = cpy_r_r136; + cpy_r_r138 = PyTuple_New(3); + if (unlikely(cpy_r_r138 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp232 = cpy_r_r137.f0; + PyTuple_SET_ITEM(cpy_r_r138, 0, __tmp232); + PyObject *__tmp233 = cpy_r_r137.f1; + PyTuple_SET_ITEM(cpy_r_r138, 1, __tmp233); + PyObject *__tmp234 = cpy_r_r137.f2; + PyTuple_SET_ITEM(cpy_r_r138, 2, __tmp234); + cpy_r_r139 = PyObject_GetItem(cpy_r_r116, cpy_r_r138); + CPy_DECREF(cpy_r_r116); + CPy_DECREF(cpy_r_r138); + if (unlikely(cpy_r_r139 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 48, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r140 = CPyStatic__codec___globals; + cpy_r_r141 = CPyStatics[556]; /* 'RpcThing' */ + cpy_r_r142 = CPyDict_SetItem(cpy_r_r140, cpy_r_r141, cpy_r_r139); + CPy_DECREF(cpy_r_r139); + cpy_r_r143 = cpy_r_r142 >= 0; + if (unlikely(!cpy_r_r143)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 48, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r144 = CPyStatic__codec___globals; + cpy_r_r145 = CPyStatics[38]; /* 'Union' */ + cpy_r_r146 = CPyDict_GetItem(cpy_r_r144, cpy_r_r145); + if (unlikely(cpy_r_r146 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 51, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r147 = CPyStatic__codec___globals; + cpy_r_r148 = CPyStatics[253]; /* 'Tuple' */ + cpy_r_r149 = CPyDict_GetItem(cpy_r_r147, cpy_r_r148); + if (unlikely(cpy_r_r149 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 52, CPyStatic__codec___globals); + goto CPyL186; + } + cpy_r_r150 = CPyStatic__codec___globals; + cpy_r_r151 = CPyStatics[517]; /* 'ChecksumAddress' */ + cpy_r_r152 = CPyDict_GetItem(cpy_r_r150, cpy_r_r151); + if (unlikely(cpy_r_r152 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 52, CPyStatic__codec___globals); + goto CPyL187; + } + cpy_r_r153 = CPyStatic__codec___globals; + cpy_r_r154 = CPyStatics[433]; /* 'hexbytes' */ + cpy_r_r155 = CPyDict_GetItem(cpy_r_r153, cpy_r_r154); + if (unlikely(cpy_r_r155 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 52, CPyStatic__codec___globals); + goto CPyL188; + } + cpy_r_r156 = CPyStatics[456]; /* 'HexBytes' */ + cpy_r_r157 = CPyObject_GetAttr(cpy_r_r155, cpy_r_r156); + CPy_DECREF(cpy_r_r155); + if (unlikely(cpy_r_r157 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 52, CPyStatic__codec___globals); + goto CPyL188; + } + cpy_r_r158.f0 = cpy_r_r152; + cpy_r_r158.f1 = cpy_r_r157; + cpy_r_r159 = PyTuple_New(2); + if (unlikely(cpy_r_r159 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp235 = cpy_r_r158.f0; + PyTuple_SET_ITEM(cpy_r_r159, 0, __tmp235); + PyObject *__tmp236 = cpy_r_r158.f1; + PyTuple_SET_ITEM(cpy_r_r159, 1, __tmp236); + cpy_r_r160 = PyObject_GetItem(cpy_r_r149, cpy_r_r159); + CPy_DECREF(cpy_r_r149); + CPy_DECREF(cpy_r_r159); + if (unlikely(cpy_r_r160 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 52, CPyStatic__codec___globals); + goto CPyL186; + } + cpy_r_r161 = CPyStatic__codec___globals; + cpy_r_r162 = CPyStatics[172]; /* 'List' */ + cpy_r_r163 = CPyDict_GetItem(cpy_r_r161, cpy_r_r162); + if (unlikely(cpy_r_r163 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 53, CPyStatic__codec___globals); + goto CPyL189; + } + cpy_r_r164 = CPyStatic__codec___globals; + cpy_r_r165 = CPyStatics[38]; /* 'Union' */ + cpy_r_r166 = CPyDict_GetItem(cpy_r_r164, cpy_r_r165); + if (unlikely(cpy_r_r166 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 53, CPyStatic__codec___globals); + goto CPyL190; + } + cpy_r_r167 = CPyStatic__codec___globals; + cpy_r_r168 = CPyStatics[517]; /* 'ChecksumAddress' */ + cpy_r_r169 = CPyDict_GetItem(cpy_r_r167, cpy_r_r168); + if (unlikely(cpy_r_r169 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 53, CPyStatic__codec___globals); + goto CPyL191; + } + cpy_r_r170 = CPyStatic__codec___globals; + cpy_r_r171 = CPyStatics[433]; /* 'hexbytes' */ + cpy_r_r172 = CPyDict_GetItem(cpy_r_r170, cpy_r_r171); + if (unlikely(cpy_r_r172 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 53, CPyStatic__codec___globals); + goto CPyL192; + } + cpy_r_r173 = CPyStatics[456]; /* 'HexBytes' */ + cpy_r_r174 = CPyObject_GetAttr(cpy_r_r172, cpy_r_r173); + CPy_DECREF(cpy_r_r172); + if (unlikely(cpy_r_r174 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 53, CPyStatic__codec___globals); + goto CPyL192; + } + cpy_r_r175.f0 = cpy_r_r169; + cpy_r_r175.f1 = cpy_r_r174; + cpy_r_r176 = PyTuple_New(2); + if (unlikely(cpy_r_r176 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp237 = cpy_r_r175.f0; + PyTuple_SET_ITEM(cpy_r_r176, 0, __tmp237); + PyObject *__tmp238 = cpy_r_r175.f1; + PyTuple_SET_ITEM(cpy_r_r176, 1, __tmp238); + cpy_r_r177 = PyObject_GetItem(cpy_r_r166, cpy_r_r176); + CPy_DECREF(cpy_r_r166); + CPy_DECREF(cpy_r_r176); + if (unlikely(cpy_r_r177 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 53, CPyStatic__codec___globals); + goto CPyL190; + } + cpy_r_r178 = PyObject_GetItem(cpy_r_r163, cpy_r_r177); + CPy_DECREF(cpy_r_r163); + CPy_DECREF(cpy_r_r177); + if (unlikely(cpy_r_r178 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 53, CPyStatic__codec___globals); + goto CPyL189; + } + cpy_r_r179.f0 = cpy_r_r160; + cpy_r_r179.f1 = cpy_r_r178; + cpy_r_r180 = PyTuple_New(2); + if (unlikely(cpy_r_r180 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp239 = cpy_r_r179.f0; + PyTuple_SET_ITEM(cpy_r_r180, 0, __tmp239); + PyObject *__tmp240 = cpy_r_r179.f1; + PyTuple_SET_ITEM(cpy_r_r180, 1, __tmp240); + cpy_r_r181 = PyObject_GetItem(cpy_r_r146, cpy_r_r180); + CPy_DECREF(cpy_r_r146); + CPy_DECREF(cpy_r_r180); + if (unlikely(cpy_r_r181 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 51, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r182 = CPyStatic__codec___globals; + cpy_r_r183 = CPyStatics[557]; /* 'MulticallChunk' */ + cpy_r_r184 = CPyDict_SetItem(cpy_r_r182, cpy_r_r183, cpy_r_r181); + CPy_DECREF(cpy_r_r181); + cpy_r_r185 = cpy_r_r184 >= 0; + if (unlikely(!cpy_r_r185)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 51, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r186 = CPyStatic__codec___globals; + cpy_r_r187 = CPyStatics[251]; /* 'Callable' */ + cpy_r_r188 = CPyDict_GetItem(cpy_r_r186, cpy_r_r187); + if (unlikely(cpy_r_r188 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 55, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r189 = CPyStatic__codec___globals; + cpy_r_r190 = CPyStatics[253]; /* 'Tuple' */ + cpy_r_r191 = CPyDict_GetItem(cpy_r_r189, cpy_r_r190); + if (unlikely(cpy_r_r191 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 55, CPyStatic__codec___globals); + goto CPyL193; + } + cpy_r_r192 = (PyObject *)&PyBool_Type; + cpy_r_r193 = CPyStatic__codec___globals; + cpy_r_r194 = CPyStatics[263]; /* 'Iterable' */ + cpy_r_r195 = CPyDict_GetItem(cpy_r_r193, cpy_r_r194); + if (unlikely(cpy_r_r195 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 55, CPyStatic__codec___globals); + goto CPyL194; + } + cpy_r_r196 = CPyStatic__codec___globals; + cpy_r_r197 = CPyStatics[557]; /* 'MulticallChunk' */ + cpy_r_r198 = CPyDict_GetItem(cpy_r_r196, cpy_r_r197); + if (unlikely(cpy_r_r198 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 55, CPyStatic__codec___globals); + goto CPyL195; + } + cpy_r_r199 = PyObject_GetItem(cpy_r_r195, cpy_r_r198); + CPy_DECREF(cpy_r_r195); + CPy_DECREF(cpy_r_r198); + if (unlikely(cpy_r_r199 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 55, CPyStatic__codec___globals); + goto CPyL194; + } + CPy_INCREF(cpy_r_r192); + cpy_r_r200.f0 = cpy_r_r192; + cpy_r_r200.f1 = cpy_r_r199; + cpy_r_r201 = PyTuple_New(2); + if (unlikely(cpy_r_r201 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp241 = cpy_r_r200.f0; + PyTuple_SET_ITEM(cpy_r_r201, 0, __tmp241); + PyObject *__tmp242 = cpy_r_r200.f1; + PyTuple_SET_ITEM(cpy_r_r201, 1, __tmp242); + cpy_r_r202 = PyObject_GetItem(cpy_r_r191, cpy_r_r201); + CPy_DECREF(cpy_r_r191); + CPy_DECREF(cpy_r_r201); + if (unlikely(cpy_r_r202 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 55, CPyStatic__codec___globals); + goto CPyL193; + } + cpy_r_r203 = PyList_New(1); + if (unlikely(cpy_r_r203 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 55, CPyStatic__codec___globals); + goto CPyL196; + } + cpy_r_r204 = (CPyPtr)&((PyListObject *)cpy_r_r203)->ob_item; + cpy_r_r205 = *(CPyPtr *)cpy_r_r204; + *(PyObject * *)cpy_r_r205 = cpy_r_r202; + cpy_r_r206 = (PyObject *)&PyBytes_Type; + CPy_INCREF(cpy_r_r206); + cpy_r_r207.f0 = cpy_r_r203; + cpy_r_r207.f1 = cpy_r_r206; + cpy_r_r208 = PyTuple_New(2); + if (unlikely(cpy_r_r208 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp243 = cpy_r_r207.f0; + PyTuple_SET_ITEM(cpy_r_r208, 0, __tmp243); + PyObject *__tmp244 = cpy_r_r207.f1; + PyTuple_SET_ITEM(cpy_r_r208, 1, __tmp244); + cpy_r_r209 = PyObject_GetItem(cpy_r_r188, cpy_r_r208); + CPy_DECREF(cpy_r_r188); + CPy_DECREF(cpy_r_r208); + if (unlikely(cpy_r_r209 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 55, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r210 = CPyStatic__codec___globals; + cpy_r_r211 = CPyStatics[558]; /* 'MulticallEncoder' */ + cpy_r_r212 = CPyDict_SetItem(cpy_r_r210, cpy_r_r211, cpy_r_r209); + CPy_DECREF(cpy_r_r209); + cpy_r_r213 = cpy_r_r212 >= 0; + if (unlikely(!cpy_r_r213)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 55, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r214 = CPyStatic__codec___globals; + cpy_r_r215 = CPyStatics[253]; /* 'Tuple' */ + cpy_r_r216 = CPyDict_GetItem(cpy_r_r214, cpy_r_r215); + if (unlikely(cpy_r_r216 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 57, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r217 = (PyObject *)&PyLong_Type; + cpy_r_r218 = (PyObject *)&PyLong_Type; + cpy_r_r219 = CPyStatic__codec___globals; + cpy_r_r220 = CPyStatics[253]; /* 'Tuple' */ + cpy_r_r221 = CPyDict_GetItem(cpy_r_r219, cpy_r_r220); + if (unlikely(cpy_r_r221 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 57, CPyStatic__codec___globals); + goto CPyL197; + } + cpy_r_r222 = CPyStatic__codec___globals; + cpy_r_r223 = CPyStatics[253]; /* 'Tuple' */ + cpy_r_r224 = CPyDict_GetItem(cpy_r_r222, cpy_r_r223); + if (unlikely(cpy_r_r224 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 57, CPyStatic__codec___globals); + goto CPyL198; + } + cpy_r_r225 = CPyStatics[559]; /* 'Success' */ + cpy_r_r226 = (PyObject *)&PyBytes_Type; + CPy_INCREF(cpy_r_r225); + CPy_INCREF(cpy_r_r226); + cpy_r_r227.f0 = cpy_r_r225; + cpy_r_r227.f1 = cpy_r_r226; + cpy_r_r228 = PyTuple_New(2); + if (unlikely(cpy_r_r228 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp245 = cpy_r_r227.f0; + PyTuple_SET_ITEM(cpy_r_r228, 0, __tmp245); + PyObject *__tmp246 = cpy_r_r227.f1; + PyTuple_SET_ITEM(cpy_r_r228, 1, __tmp246); + cpy_r_r229 = PyObject_GetItem(cpy_r_r224, cpy_r_r228); + CPy_DECREF(cpy_r_r224); + CPy_DECREF(cpy_r_r228); + if (unlikely(cpy_r_r229 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 57, CPyStatic__codec___globals); + goto CPyL198; + } + cpy_r_r230 = (PyObject *)&_Py_EllipsisObject; + CPy_INCREF(cpy_r_r230); + cpy_r_r231.f0 = cpy_r_r229; + cpy_r_r231.f1 = cpy_r_r230; + cpy_r_r232 = PyTuple_New(2); + if (unlikely(cpy_r_r232 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp247 = cpy_r_r231.f0; + PyTuple_SET_ITEM(cpy_r_r232, 0, __tmp247); + PyObject *__tmp248 = cpy_r_r231.f1; + PyTuple_SET_ITEM(cpy_r_r232, 1, __tmp248); + cpy_r_r233 = PyObject_GetItem(cpy_r_r221, cpy_r_r232); + CPy_DECREF(cpy_r_r221); + CPy_DECREF(cpy_r_r232); + if (unlikely(cpy_r_r233 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 57, CPyStatic__codec___globals); + goto CPyL197; + } + CPy_INCREF(cpy_r_r217); + CPy_INCREF(cpy_r_r218); + cpy_r_r234.f0 = cpy_r_r217; + cpy_r_r234.f1 = cpy_r_r218; + cpy_r_r234.f2 = cpy_r_r233; + cpy_r_r235 = PyTuple_New(3); + if (unlikely(cpy_r_r235 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp249 = cpy_r_r234.f0; + PyTuple_SET_ITEM(cpy_r_r235, 0, __tmp249); + PyObject *__tmp250 = cpy_r_r234.f1; + PyTuple_SET_ITEM(cpy_r_r235, 1, __tmp250); + PyObject *__tmp251 = cpy_r_r234.f2; + PyTuple_SET_ITEM(cpy_r_r235, 2, __tmp251); + cpy_r_r236 = PyObject_GetItem(cpy_r_r216, cpy_r_r235); + CPy_DECREF(cpy_r_r216); + CPy_DECREF(cpy_r_r235); + if (unlikely(cpy_r_r236 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 57, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r237 = CPyStatic__codec___globals; + cpy_r_r238 = CPyStatics[560]; /* 'DecodedMulticall' */ + cpy_r_r239 = CPyDict_SetItem(cpy_r_r237, cpy_r_r238, cpy_r_r236); + CPy_DECREF(cpy_r_r236); + cpy_r_r240 = cpy_r_r239 >= 0; + if (unlikely(!cpy_r_r240)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 57, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r241 = CPyStatic__codec___globals; + cpy_r_r242 = CPyStatics[251]; /* 'Callable' */ + cpy_r_r243 = CPyDict_GetItem(cpy_r_r241, cpy_r_r242); + if (unlikely(cpy_r_r243 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 58, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r244 = (PyObject *)&_Py_EllipsisObject; + cpy_r_r245 = CPyStatic__codec___globals; + cpy_r_r246 = CPyStatics[560]; /* 'DecodedMulticall' */ + cpy_r_r247 = CPyDict_GetItem(cpy_r_r245, cpy_r_r246); + if (unlikely(cpy_r_r247 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 58, CPyStatic__codec___globals); + goto CPyL199; + } + CPy_INCREF(cpy_r_r244); + cpy_r_r248.f0 = cpy_r_r244; + cpy_r_r248.f1 = cpy_r_r247; + cpy_r_r249 = PyTuple_New(2); + if (unlikely(cpy_r_r249 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp252 = cpy_r_r248.f0; + PyTuple_SET_ITEM(cpy_r_r249, 0, __tmp252); + PyObject *__tmp253 = cpy_r_r248.f1; + PyTuple_SET_ITEM(cpy_r_r249, 1, __tmp253); + cpy_r_r250 = PyObject_GetItem(cpy_r_r243, cpy_r_r249); + CPy_DECREF(cpy_r_r243); + CPy_DECREF(cpy_r_r249); + if (unlikely(cpy_r_r250 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 58, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r251 = CPyStatic__codec___globals; + cpy_r_r252 = CPyStatics[561]; /* 'MulticallDecoder' */ + 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; + if (unlikely(!cpy_r_r254)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 58, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r255 = CPyStatic__codec___globals; + cpy_r_r256 = CPyStatics[172]; /* 'List' */ + cpy_r_r257 = CPyDict_GetItem(cpy_r_r255, cpy_r_r256); + if (unlikely(cpy_r_r257 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 61, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r258 = CPyStatics[562]; /* 'types.Request' */ + cpy_r_r259 = PyObject_GetItem(cpy_r_r257, cpy_r_r258); + CPy_DECREF(cpy_r_r257); + if (unlikely(cpy_r_r259 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 61, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r260 = CPyStatic__codec___globals; + cpy_r_r261 = CPyStatics[563]; /* 'JSONRPCBatchRequest' */ + cpy_r_r262 = CPyDict_SetItem(cpy_r_r260, cpy_r_r261, cpy_r_r259); + CPy_DECREF(cpy_r_r259); + cpy_r_r263 = cpy_r_r262 >= 0; + if (unlikely(!cpy_r_r263)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 61, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r264 = CPyStatic__codec___globals; + cpy_r_r265 = CPyStatics[38]; /* 'Union' */ + cpy_r_r266 = CPyDict_GetItem(cpy_r_r264, cpy_r_r265); + if (unlikely(cpy_r_r266 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 63, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r267 = CPyStatic__codec___globals; + cpy_r_r268 = CPyStatics[172]; /* 'List' */ + cpy_r_r269 = CPyDict_GetItem(cpy_r_r267, cpy_r_r268); + if (unlikely(cpy_r_r269 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 63, CPyStatic__codec___globals); + goto CPyL200; + } + cpy_r_r270 = CPyStatics[49]; /* 'RawResponse' */ + cpy_r_r271 = PyObject_GetItem(cpy_r_r269, cpy_r_r270); + CPy_DECREF(cpy_r_r269); + if (unlikely(cpy_r_r271 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 63, CPyStatic__codec___globals); + goto CPyL200; + } + cpy_r_r272 = CPyStatics[564]; /* 'types.PartialResponse' */ + CPy_INCREF(cpy_r_r272); + cpy_r_r273.f0 = cpy_r_r271; + cpy_r_r273.f1 = cpy_r_r272; + cpy_r_r274 = PyTuple_New(2); + if (unlikely(cpy_r_r274 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp254 = cpy_r_r273.f0; + PyTuple_SET_ITEM(cpy_r_r274, 0, __tmp254); + PyObject *__tmp255 = cpy_r_r273.f1; + PyTuple_SET_ITEM(cpy_r_r274, 1, __tmp255); + cpy_r_r275 = PyObject_GetItem(cpy_r_r266, cpy_r_r274); + CPy_DECREF(cpy_r_r266); + CPy_DECREF(cpy_r_r274); + if (unlikely(cpy_r_r275 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 63, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r276 = CPyStatic__codec___globals; + cpy_r_r277 = CPyStatics[565]; /* 'JSONRPCBatchResponse' */ + cpy_r_r278 = CPyDict_SetItem(cpy_r_r276, cpy_r_r277, cpy_r_r275); + CPy_DECREF(cpy_r_r275); + cpy_r_r279 = cpy_r_r278 >= 0; + if (unlikely(!cpy_r_r279)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 63, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r280 = CPyStatic__codec___globals; + cpy_r_r281 = CPyStatics[251]; /* 'Callable' */ + cpy_r_r282 = CPyDict_GetItem(cpy_r_r280, cpy_r_r281); + if (unlikely(cpy_r_r282 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 64, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r283 = CPyStatic__codec___globals; + cpy_r_r284 = CPyStatics[38]; /* 'Union' */ + cpy_r_r285 = CPyDict_GetItem(cpy_r_r283, cpy_r_r284); + if (unlikely(cpy_r_r285 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 64, CPyStatic__codec___globals); + goto CPyL201; + } + cpy_r_r286 = (PyObject *)&PyUnicode_Type; + cpy_r_r287 = (PyObject *)&PyBytes_Type; + CPy_INCREF(cpy_r_r286); + CPy_INCREF(cpy_r_r287); + cpy_r_r288.f0 = cpy_r_r286; + cpy_r_r288.f1 = cpy_r_r287; + cpy_r_r289 = PyTuple_New(2); + if (unlikely(cpy_r_r289 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp256 = cpy_r_r288.f0; + PyTuple_SET_ITEM(cpy_r_r289, 0, __tmp256); + PyObject *__tmp257 = cpy_r_r288.f1; + PyTuple_SET_ITEM(cpy_r_r289, 1, __tmp257); + cpy_r_r290 = PyObject_GetItem(cpy_r_r285, cpy_r_r289); + CPy_DECREF(cpy_r_r285); + CPy_DECREF(cpy_r_r289); + if (unlikely(cpy_r_r290 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 64, CPyStatic__codec___globals); + goto CPyL201; + } + cpy_r_r291 = PyList_New(1); + if (unlikely(cpy_r_r291 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 64, CPyStatic__codec___globals); + goto CPyL202; + } + cpy_r_r292 = (CPyPtr)&((PyListObject *)cpy_r_r291)->ob_item; + cpy_r_r293 = *(CPyPtr *)cpy_r_r292; + *(PyObject * *)cpy_r_r293 = cpy_r_r290; + cpy_r_r294 = CPyStatic__codec___globals; + cpy_r_r295 = CPyStatics[38]; /* 'Union' */ + cpy_r_r296 = CPyDict_GetItem(cpy_r_r294, cpy_r_r295); + if (unlikely(cpy_r_r296 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 64, CPyStatic__codec___globals); + goto CPyL203; + } + cpy_r_r297 = CPyStatic__codec___globals; + cpy_r_r298 = CPyStatics[172]; /* 'List' */ + cpy_r_r299 = CPyDict_GetItem(cpy_r_r297, cpy_r_r298); + if (unlikely(cpy_r_r299 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 64, CPyStatic__codec___globals); + goto CPyL204; + } + cpy_r_r300 = CPyStatic__codec___globals; + cpy_r_r301 = CPyStatics[539]; /* 'msgspec' */ + cpy_r_r302 = CPyDict_GetItem(cpy_r_r300, cpy_r_r301); + if (unlikely(cpy_r_r302 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 64, CPyStatic__codec___globals); + goto CPyL205; + } + cpy_r_r303 = CPyStatics[540]; /* 'Raw' */ + cpy_r_r304 = CPyObject_GetAttr(cpy_r_r302, cpy_r_r303); + CPy_DECREF(cpy_r_r302); + if (unlikely(cpy_r_r304 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 64, CPyStatic__codec___globals); + goto CPyL205; + } + cpy_r_r305 = PyObject_GetItem(cpy_r_r299, cpy_r_r304); + CPy_DECREF(cpy_r_r299); + CPy_DECREF(cpy_r_r304); + if (unlikely(cpy_r_r305 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 64, CPyStatic__codec___globals); + goto CPyL204; + } + cpy_r_r306 = CPyStatics[564]; /* 'types.PartialResponse' */ + CPy_INCREF(cpy_r_r306); + cpy_r_r307.f0 = cpy_r_r305; + cpy_r_r307.f1 = cpy_r_r306; + cpy_r_r308 = PyTuple_New(2); + if (unlikely(cpy_r_r308 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp258 = cpy_r_r307.f0; + PyTuple_SET_ITEM(cpy_r_r308, 0, __tmp258); + PyObject *__tmp259 = cpy_r_r307.f1; + PyTuple_SET_ITEM(cpy_r_r308, 1, __tmp259); + cpy_r_r309 = PyObject_GetItem(cpy_r_r296, cpy_r_r308); + CPy_DECREF(cpy_r_r296); + CPy_DECREF(cpy_r_r308); + if (unlikely(cpy_r_r309 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 64, CPyStatic__codec___globals); + goto CPyL203; + } + cpy_r_r310.f0 = cpy_r_r291; + cpy_r_r310.f1 = cpy_r_r309; + cpy_r_r311 = PyTuple_New(2); + if (unlikely(cpy_r_r311 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp260 = cpy_r_r310.f0; + PyTuple_SET_ITEM(cpy_r_r311, 0, __tmp260); + PyObject *__tmp261 = cpy_r_r310.f1; + PyTuple_SET_ITEM(cpy_r_r311, 1, __tmp261); + cpy_r_r312 = PyObject_GetItem(cpy_r_r282, cpy_r_r311); + CPy_DECREF(cpy_r_r282); + CPy_DECREF(cpy_r_r311); + if (unlikely(cpy_r_r312 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 64, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r313 = CPyStatic__codec___globals; + cpy_r_r314 = CPyStatics[566]; /* 'BatchDecoder' */ + cpy_r_r315 = CPyDict_SetItem(cpy_r_r313, cpy_r_r314, cpy_r_r312); + CPy_DECREF(cpy_r_r312); + cpy_r_r316 = cpy_r_r315 >= 0; + if (unlikely(!cpy_r_r316)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 64, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r317 = CPyStatic__codec___globals; + cpy_r_r318 = CPyStatics[433]; /* 'hexbytes' */ + cpy_r_r319 = CPyDict_GetItem(cpy_r_r317, cpy_r_r318); + if (unlikely(cpy_r_r319 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 67, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r320 = CPyStatics[456]; /* 'HexBytes' */ + cpy_r_r321 = CPyObject_GetAttr(cpy_r_r319, cpy_r_r320); + CPy_DECREF(cpy_r_r319); + if (unlikely(cpy_r_r321 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 67, CPyStatic__codec___globals); + goto CPyL175; + } + CPyStatic__codec___HexBytes = cpy_r_r321; + CPy_INCREF(CPyStatic__codec___HexBytes); + cpy_r_r322 = CPyStatic__codec___globals; + cpy_r_r323 = CPyStatics[456]; /* 'HexBytes' */ + cpy_r_r324 = CPyDict_SetItem(cpy_r_r322, cpy_r_r323, cpy_r_r321); + CPy_DECREF(cpy_r_r321); + cpy_r_r325 = cpy_r_r324 >= 0; + if (unlikely(!cpy_r_r325)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 67, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r326 = CPyStatic__codec___globals; + cpy_r_r327 = CPyStatics[539]; /* 'msgspec' */ + cpy_r_r328 = CPyDict_GetItem(cpy_r_r326, cpy_r_r327); + if (unlikely(cpy_r_r328 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 68, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r329 = CPyStatics[540]; /* 'Raw' */ + cpy_r_r330 = CPyObject_GetAttr(cpy_r_r328, cpy_r_r329); + CPy_DECREF(cpy_r_r328); + if (unlikely(cpy_r_r330 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 68, CPyStatic__codec___globals); + goto CPyL175; + } + CPyStatic__codec___Raw = cpy_r_r330; + CPy_INCREF(CPyStatic__codec___Raw); + cpy_r_r331 = CPyStatic__codec___globals; + cpy_r_r332 = CPyStatics[540]; /* 'Raw' */ + cpy_r_r333 = CPyDict_SetItem(cpy_r_r331, cpy_r_r332, cpy_r_r330); + CPy_DECREF(cpy_r_r330); + cpy_r_r334 = cpy_r_r333 >= 0; + if (unlikely(!cpy_r_r334)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 68, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r335 = CPyStatic__codec___globals; + cpy_r_r336 = CPyStatics[546]; /* 'decoding' */ + cpy_r_r337 = CPyDict_GetItem(cpy_r_r335, cpy_r_r336); + if (unlikely(cpy_r_r337 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 69, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r338 = CPyStatics[567]; /* 'ContextFramesBytesIO' */ + cpy_r_r339 = CPyObject_GetAttr(cpy_r_r337, cpy_r_r338); + CPy_DECREF(cpy_r_r337); + if (unlikely(cpy_r_r339 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 69, CPyStatic__codec___globals); + goto CPyL175; + } + CPyStatic__codec___ContextFramesBytesIO = cpy_r_r339; + CPy_INCREF(CPyStatic__codec___ContextFramesBytesIO); + cpy_r_r340 = CPyStatic__codec___globals; + cpy_r_r341 = CPyStatics[567]; /* 'ContextFramesBytesIO' */ + cpy_r_r342 = CPyDict_SetItem(cpy_r_r340, cpy_r_r341, cpy_r_r339); + CPy_DECREF(cpy_r_r339); + cpy_r_r343 = cpy_r_r342 >= 0; + if (unlikely(!cpy_r_r343)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 69, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r344 = CPyStatic__codec___globals; + cpy_r_r345 = CPyStatics[539]; /* 'msgspec' */ + cpy_r_r346 = CPyDict_GetItem(cpy_r_r344, cpy_r_r345); + if (unlikely(cpy_r_r346 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 70, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r347 = CPyStatics[568]; /* 'DecodeError' */ + cpy_r_r348 = CPyObject_GetAttr(cpy_r_r346, cpy_r_r347); + CPy_DECREF(cpy_r_r346); + if (unlikely(cpy_r_r348 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 70, CPyStatic__codec___globals); + goto CPyL175; + } + CPyStatic__codec___DecodeError = cpy_r_r348; + CPy_INCREF(CPyStatic__codec___DecodeError); + cpy_r_r349 = CPyStatic__codec___globals; + cpy_r_r350 = CPyStatics[568]; /* 'DecodeError' */ + cpy_r_r351 = CPyDict_SetItem(cpy_r_r349, cpy_r_r350, cpy_r_r348); + CPy_DECREF(cpy_r_r348); + cpy_r_r352 = cpy_r_r351 >= 0; + if (unlikely(!cpy_r_r352)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 70, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r353 = (PyObject *)&PyUnicode_Type; + cpy_r_r354 = CPyStatic__codec___globals; + cpy_r_r355 = CPyStatics[541]; /* 'Decoder' */ + cpy_r_r356 = CPyDict_GetItem(cpy_r_r354, cpy_r_r355); + if (unlikely(cpy_r_r356 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 72, CPyStatic__codec___globals); + goto CPyL175; + } + PyObject *cpy_r_r357[1] = {cpy_r_r353}; + cpy_r_r358 = (PyObject **)&cpy_r_r357; + cpy_r_r359 = CPyStatics[1009]; /* ('type',) */ + cpy_r_r360 = PyObject_Vectorcall(cpy_r_r356, cpy_r_r358, 0, cpy_r_r359); + CPy_DECREF(cpy_r_r356); + if (unlikely(cpy_r_r360 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 72, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r361 = CPyStatics[471]; /* 'decode' */ + cpy_r_r362 = CPyObject_GetAttr(cpy_r_r360, cpy_r_r361); + CPy_DECREF(cpy_r_r360); + if (unlikely(cpy_r_r362 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 72, CPyStatic__codec___globals); + goto CPyL175; + } + CPyStatic__codec___decode_string = cpy_r_r362; + CPy_INCREF(CPyStatic__codec___decode_string); + cpy_r_r363 = CPyStatic__codec___globals; + cpy_r_r364 = CPyStatics[569]; /* 'decode_string' */ + cpy_r_r365 = CPyDict_SetItem(cpy_r_r363, cpy_r_r364, cpy_r_r362); + CPy_DECREF(cpy_r_r362); + cpy_r_r366 = cpy_r_r365 >= 0; + if (unlikely(!cpy_r_r366)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 72, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r367 = CPyStatic__codec___Raw; + if (likely(cpy_r_r367 != NULL)) goto CPyL115; + PyErr_SetString(PyExc_NameError, "value for final name \"Raw\" was not set"); + cpy_r_r368 = 0; + if (unlikely(!cpy_r_r368)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 73, CPyStatic__codec___globals); + goto CPyL175; + } + CPy_Unreachable(); +CPyL115: ; + cpy_r_r369 = CPyStatic__codec___globals; + cpy_r_r370 = CPyStatics[541]; /* 'Decoder' */ + cpy_r_r371 = CPyDict_GetItem(cpy_r_r369, cpy_r_r370); + if (unlikely(cpy_r_r371 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 73, CPyStatic__codec___globals); + goto CPyL175; + } + PyObject *cpy_r_r372[1] = {cpy_r_r367}; + cpy_r_r373 = (PyObject **)&cpy_r_r372; + cpy_r_r374 = CPyStatics[1009]; /* ('type',) */ + cpy_r_r375 = PyObject_Vectorcall(cpy_r_r371, cpy_r_r373, 0, cpy_r_r374); + CPy_DECREF(cpy_r_r371); + if (unlikely(cpy_r_r375 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 73, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r376 = CPyStatics[471]; /* 'decode' */ + cpy_r_r377 = CPyObject_GetAttr(cpy_r_r375, cpy_r_r376); + CPy_DECREF(cpy_r_r375); + if (unlikely(cpy_r_r377 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 73, CPyStatic__codec___globals); + goto CPyL175; + } + CPyStatic__codec____decode_raw = cpy_r_r377; + CPy_INCREF(CPyStatic__codec____decode_raw); + cpy_r_r378 = CPyStatic__codec___globals; + cpy_r_r379 = CPyStatics[570]; /* '_decode_raw' */ + cpy_r_r380 = CPyDict_SetItem(cpy_r_r378, cpy_r_r379, cpy_r_r377); + CPy_DECREF(cpy_r_r377); + cpy_r_r381 = cpy_r_r380 >= 0; + if (unlikely(!cpy_r_r381)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 73, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r382 = CPyStatic__codec___globals; + cpy_r_r383 = CPyStatics[532]; /* '_decode_batch' */ + cpy_r_r384 = Py_None; + cpy_r_r385 = CPyDict_SetItem(cpy_r_r382, cpy_r_r383, cpy_r_r384); + cpy_r_r386 = cpy_r_r385 >= 0; + if (unlikely(!cpy_r_r386)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 75, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r387 = NULL; + cpy_r_r388 = CPyStatics[50]; /* 'dank_mids.helpers._codec' */ + cpy_r_r389 = (PyObject *)CPyType__codec___RawResponse_template; + cpy_r_r390 = CPyType_FromTemplate(cpy_r_r389, cpy_r_r387, cpy_r_r388); + if (unlikely(cpy_r_r390 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 79, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r391 = CPyDef__codec___RawResponse_trait_vtable_setup(); + if (unlikely(cpy_r_r391 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", -1, CPyStatic__codec___globals); + goto CPyL206; + } + cpy_r_r392 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r393 = CPyStatics[571]; /* '_raw' */ + cpy_r_r394 = PyTuple_Pack(1, cpy_r_r393); + if (unlikely(cpy_r_r394 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 79, CPyStatic__codec___globals); + goto CPyL206; + } + cpy_r_r395 = PyObject_SetAttr(cpy_r_r390, cpy_r_r392, cpy_r_r394); + CPy_DECREF(cpy_r_r394); + cpy_r_r396 = cpy_r_r395 >= 0; + if (unlikely(!cpy_r_r396)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 79, CPyStatic__codec___globals); + goto CPyL206; + } + CPyType__codec___RawResponse = (PyTypeObject *)cpy_r_r390; + CPy_INCREF(CPyType__codec___RawResponse); + cpy_r_r397 = CPyStatic__codec___globals; + cpy_r_r398 = CPyStatics[49]; /* 'RawResponse' */ + cpy_r_r399 = PyDict_SetItem(cpy_r_r397, cpy_r_r398, cpy_r_r390); + CPy_DECREF(cpy_r_r390); + cpy_r_r400 = cpy_r_r399 >= 0; + if (unlikely(!cpy_r_r400)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 79, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r401 = CPyStatic__codec___globals; + cpy_r_r402 = CPyStatics[572]; /* '_encode_hook' */ + cpy_r_r403 = CPyDict_GetItem(cpy_r_r401, cpy_r_r402); + if (unlikely(cpy_r_r403 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 180, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r404 = CPyStatic__codec___globals; + cpy_r_r405 = CPyStatics[552]; /* 'Encoder' */ + cpy_r_r406 = CPyDict_GetItem(cpy_r_r404, cpy_r_r405); + if (unlikely(cpy_r_r406 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 180, CPyStatic__codec___globals); + goto CPyL207; + } + PyObject *cpy_r_r407[1] = {cpy_r_r403}; + cpy_r_r408 = (PyObject **)&cpy_r_r407; + cpy_r_r409 = CPyStatics[1020]; /* ('enc_hook',) */ + cpy_r_r410 = PyObject_Vectorcall(cpy_r_r406, cpy_r_r408, 0, cpy_r_r409); + CPy_DECREF(cpy_r_r406); + if (unlikely(cpy_r_r410 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 180, CPyStatic__codec___globals); + goto CPyL207; + } + CPy_DECREF(cpy_r_r403); + cpy_r_r411 = CPyStatics[470]; /* 'encode' */ + cpy_r_r412 = CPyObject_GetAttr(cpy_r_r410, cpy_r_r411); + CPy_DECREF(cpy_r_r410); + if (unlikely(cpy_r_r412 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 180, CPyStatic__codec___globals); + goto CPyL175; + } + CPyStatic__codec___encode = cpy_r_r412; + CPy_INCREF(CPyStatic__codec___encode); + cpy_r_r413 = CPyStatic__codec___globals; + cpy_r_r414 = CPyStatics[470]; /* 'encode' */ + cpy_r_r415 = CPyDict_SetItem(cpy_r_r413, cpy_r_r414, cpy_r_r412); + CPy_DECREF(cpy_r_r412); + cpy_r_r416 = cpy_r_r415 >= 0; + if (unlikely(!cpy_r_r416)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 180, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r417 = CPyStatic__codec___globals; + cpy_r_r418 = CPyStatics[547]; /* 'default_codec' */ + cpy_r_r419 = CPyDict_GetItem(cpy_r_r417, cpy_r_r418); + if (unlikely(cpy_r_r419 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 199, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r420 = CPyStatics[574]; /* '_registry' */ + cpy_r_r421 = CPyObject_GetAttr(cpy_r_r419, cpy_r_r420); + CPy_DECREF(cpy_r_r419); + if (unlikely(cpy_r_r421 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 199, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r422 = CPyStatics[575]; /* '(bool,(address,bytes)[])' */ + cpy_r_r423 = CPyStatics[576]; /* 'get_encoder' */ + PyObject *cpy_r_r424[2] = {cpy_r_r421, cpy_r_r422}; + cpy_r_r425 = (PyObject **)&cpy_r_r424; + cpy_r_r426 = PyObject_VectorcallMethod(cpy_r_r423, cpy_r_r425, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r426 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 199, CPyStatic__codec___globals); + goto CPyL208; + } + CPy_DECREF(cpy_r_r421); + CPyStatic__codec____mcall_encoder = cpy_r_r426; + CPy_INCREF(CPyStatic__codec____mcall_encoder); + cpy_r_r427 = CPyStatic__codec___globals; + cpy_r_r428 = CPyStatics[577]; /* '_mcall_encoder' */ + cpy_r_r429 = CPyDict_SetItem(cpy_r_r427, cpy_r_r428, cpy_r_r426); + CPy_DECREF(cpy_r_r426); + cpy_r_r430 = cpy_r_r429 >= 0; + if (unlikely(!cpy_r_r430)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 199, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r431 = CPyStatic__codec____mcall_encoder; + if (likely(cpy_r_r431 != NULL)) goto CPyL137; + PyErr_SetString(PyExc_NameError, "value for final name \"_mcall_encoder\" was not set"); + cpy_r_r432 = 0; + if (unlikely(!cpy_r_r432)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 202, CPyStatic__codec___globals); + goto CPyL175; + } + CPy_Unreachable(); +CPyL137: ; + cpy_r_r433 = CPyStatics[578]; /* 'encoders' */ + cpy_r_r434 = CPyObject_GetAttr(cpy_r_r431, cpy_r_r433); + if (unlikely(cpy_r_r434 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 202, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r435 = CPyStatics[882]; /* -1 */ + cpy_r_r436 = PyObject_GetItem(cpy_r_r434, cpy_r_r435); + CPy_DECREF(cpy_r_r434); + if (unlikely(cpy_r_r436 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 202, CPyStatic__codec___globals); + goto CPyL175; + } + CPyStatic__codec____array_encoder = cpy_r_r436; + CPy_INCREF(CPyStatic__codec____array_encoder); + cpy_r_r437 = CPyStatic__codec___globals; + cpy_r_r438 = CPyStatics[579]; /* '_array_encoder' */ + cpy_r_r439 = CPyDict_SetItem(cpy_r_r437, cpy_r_r438, cpy_r_r436); + CPy_DECREF(cpy_r_r436); + cpy_r_r440 = cpy_r_r439 >= 0; + if (unlikely(!cpy_r_r440)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 202, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r441 = CPyStatic__codec____array_encoder; + if (likely(cpy_r_r441 != NULL)) goto CPyL143; + PyErr_SetString(PyExc_NameError, "value for final name \"_array_encoder\" was not set"); + cpy_r_r442 = 0; + if (unlikely(!cpy_r_r442)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 203, CPyStatic__codec___globals); + goto CPyL175; + } + CPy_Unreachable(); +CPyL143: ; + cpy_r_r443 = CPyStatics[580]; /* 'item_encoder' */ + cpy_r_r444 = CPyObject_GetAttr(cpy_r_r441, cpy_r_r443); + if (unlikely(cpy_r_r444 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 203, CPyStatic__codec___globals); + goto CPyL175; + } + CPyStatic__codec____item_encoder = cpy_r_r444; + CPy_INCREF(CPyStatic__codec____item_encoder); + cpy_r_r445 = CPyStatic__codec___globals; + cpy_r_r446 = CPyStatics[581]; /* '_item_encoder' */ + cpy_r_r447 = CPyDict_SetItem(cpy_r_r445, cpy_r_r446, cpy_r_r444); + CPy_DECREF(cpy_r_r444); + cpy_r_r448 = cpy_r_r447 >= 0; + if (unlikely(!cpy_r_r448)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 203, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r449 = CPyDef__codec_____mypyc_lambda__0_obj(); + if (unlikely(cpy_r_r449 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 206, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r450 = CPyStatic__codec____mcall_encoder; + if (unlikely(cpy_r_r450 == NULL)) { + goto CPyL209; + } else + goto CPyL149; +CPyL147: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_mcall_encoder\" was not set"); + cpy_r_r451 = 0; + if (unlikely(!cpy_r_r451)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 206, CPyStatic__codec___globals); + goto CPyL175; + } + CPy_Unreachable(); +CPyL149: ; + cpy_r_r452 = CPyStatics[582]; /* 'validate_value' */ + cpy_r_r453 = PyObject_SetAttr(cpy_r_r450, cpy_r_r452, cpy_r_r449); + cpy_r_r454 = cpy_r_r453 >= 0; + if (unlikely(!cpy_r_r454)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 206, CPyStatic__codec___globals); + goto CPyL210; + } + cpy_r_r455 = CPyStatic__codec____array_encoder; + if (unlikely(cpy_r_r455 == NULL)) { + goto CPyL211; + } else + goto CPyL153; +CPyL151: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_array_encoder\" was not set"); + cpy_r_r456 = 0; + if (unlikely(!cpy_r_r456)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 206, CPyStatic__codec___globals); + goto CPyL175; + } + CPy_Unreachable(); +CPyL153: ; + cpy_r_r457 = CPyStatics[582]; /* 'validate_value' */ + cpy_r_r458 = PyObject_SetAttr(cpy_r_r455, cpy_r_r457, cpy_r_r449); + cpy_r_r459 = cpy_r_r458 >= 0; + if (unlikely(!cpy_r_r459)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 206, CPyStatic__codec___globals); + goto CPyL210; + } + cpy_r_r460 = CPyStatic__codec____item_encoder; + if (unlikely(cpy_r_r460 == NULL)) { + goto CPyL212; + } else + goto CPyL157; +CPyL155: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_item_encoder\" was not set"); + cpy_r_r461 = 0; + if (unlikely(!cpy_r_r461)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 206, CPyStatic__codec___globals); + goto CPyL175; + } + CPy_Unreachable(); +CPyL157: ; + cpy_r_r462 = CPyStatics[582]; /* 'validate_value' */ + cpy_r_r463 = PyObject_SetAttr(cpy_r_r460, cpy_r_r462, cpy_r_r449); + CPy_DECREF_NO_IMM(cpy_r_r449); + cpy_r_r464 = cpy_r_r463 >= 0; + if (unlikely(!cpy_r_r464)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 206, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r465 = CPyStatic__codec___globals; + cpy_r_r466 = CPyStatics[583]; /* '__encode_new' */ + cpy_r_r467 = CPyDict_GetItem(cpy_r_r465, cpy_r_r466); + if (unlikely(cpy_r_r467 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 236, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r468 = CPyStatic__codec____array_encoder; + if (unlikely(cpy_r_r468 == NULL)) { + goto CPyL213; + } else + goto CPyL162; +CPyL160: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_array_encoder\" was not set"); + cpy_r_r469 = 0; + if (unlikely(!cpy_r_r469)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 236, CPyStatic__codec___globals); + goto CPyL175; + } + CPy_Unreachable(); +CPyL162: ; + cpy_r_r470 = CPyStatics[470]; /* 'encode' */ + cpy_r_r471 = PyObject_SetAttr(cpy_r_r468, cpy_r_r470, cpy_r_r467); + CPy_DECREF(cpy_r_r467); + cpy_r_r472 = cpy_r_r471 >= 0; + if (unlikely(!cpy_r_r472)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 236, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r473 = CPyStatic__codec___globals; + cpy_r_r474 = CPyStatics[584]; /* '__encode_elements_new' */ + cpy_r_r475 = CPyDict_GetItem(cpy_r_r473, cpy_r_r474); + if (unlikely(cpy_r_r475 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 237, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r476 = CPyStatic__codec____array_encoder; + if (unlikely(cpy_r_r476 == NULL)) { + goto CPyL214; + } else + goto CPyL167; +CPyL165: ; + PyErr_SetString(PyExc_NameError, "value for final name \"_array_encoder\" was not set"); + cpy_r_r477 = 0; + if (unlikely(!cpy_r_r477)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 237, CPyStatic__codec___globals); + goto CPyL175; + } + CPy_Unreachable(); +CPyL167: ; + cpy_r_r478 = CPyStatics[585]; /* 'encode_elements' */ + cpy_r_r479 = PyObject_SetAttr(cpy_r_r476, cpy_r_r478, cpy_r_r475); + CPy_DECREF(cpy_r_r475); + cpy_r_r480 = cpy_r_r479 >= 0; + if (unlikely(!cpy_r_r480)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 237, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r481 = CPyStatic__codec___globals; + cpy_r_r482 = CPyStatics[547]; /* 'default_codec' */ + cpy_r_r483 = CPyDict_GetItem(cpy_r_r481, cpy_r_r482); + if (unlikely(cpy_r_r483 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 240, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r484 = CPyStatics[574]; /* '_registry' */ + cpy_r_r485 = CPyObject_GetAttr(cpy_r_r483, cpy_r_r484); + CPy_DECREF(cpy_r_r483); + if (unlikely(cpy_r_r485 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 240, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r486 = CPyStatics[586]; /* '(uint256,uint256,(bool,bytes)[])' */ + cpy_r_r487 = CPyStatics[587]; /* 'get_decoder' */ + PyObject *cpy_r_r488[2] = {cpy_r_r485, cpy_r_r486}; + cpy_r_r489 = (PyObject **)&cpy_r_r488; + cpy_r_r490 = PyObject_VectorcallMethod(cpy_r_r487, cpy_r_r489, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r490 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 240, CPyStatic__codec___globals); + goto CPyL215; + } + CPy_DECREF(cpy_r_r485); + cpy_r_r491 = CPyStatics[471]; /* 'decode' */ + cpy_r_r492 = CPyObject_GetAttr(cpy_r_r490, cpy_r_r491); + CPy_DECREF(cpy_r_r490); + if (unlikely(cpy_r_r492 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 240, CPyStatic__codec___globals); + goto CPyL175; + } + CPyStatic__codec____mcall_decoder = cpy_r_r492; + CPy_INCREF(CPyStatic__codec____mcall_decoder); + cpy_r_r493 = CPyStatic__codec___globals; + cpy_r_r494 = CPyStatics[588]; /* '_mcall_decoder' */ + cpy_r_r495 = CPyDict_SetItem(cpy_r_r493, cpy_r_r494, cpy_r_r492); + CPy_DECREF(cpy_r_r492); + cpy_r_r496 = cpy_r_r495 >= 0; + if (unlikely(!cpy_r_r496)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 240, CPyStatic__codec___globals); + goto CPyL175; + } + cpy_r_r497 = (PyObject *)&PyBool_Type; + cpy_r_r498 = CPyStatic__codec___globals; + cpy_r_r499 = CPyStatics[559]; /* 'Success' */ + cpy_r_r500 = CPyDict_SetItem(cpy_r_r498, cpy_r_r499, cpy_r_r497); + cpy_r_r501 = cpy_r_r500 >= 0; + if (unlikely(!cpy_r_r501)) { + CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 250, CPyStatic__codec___globals); + goto CPyL175; + } + return 1; +CPyL175: ; + cpy_r_r502 = 2; + return cpy_r_r502; +CPyL176: ; + CPy_DecRef(cpy_r_r77); + goto CPyL175; +CPyL177: ; + CPy_DecRef(cpy_r_r77); + CPy_DecRef(cpy_r_r80); + goto CPyL175; +CPyL178: ; + CPy_DecRef(cpy_r_r77); + CPy_DecRef(cpy_r_r80); + CPy_DecRef(cpy_r_r83); + goto CPyL175; +CPyL179: ; + CPy_DecRef(cpy_r_r96); + goto CPyL175; +CPyL180: ; + CPy_DecRef(cpy_r_r96); + CPy_DecRef(cpy_r_r100); + goto CPyL175; +CPyL181: ; + CPy_DecRef(cpy_r_r116); + goto CPyL175; +CPyL182: ; + CPy_DecRef(cpy_r_r116); + CPy_DecRef(cpy_r_r119); + goto CPyL175; +CPyL183: ; + CPy_DecRef(cpy_r_r116); + CPy_DecRef(cpy_r_r119); + CPy_DecRef(cpy_r_r122); + goto CPyL175; +CPyL184: ; + CPy_DecRef(cpy_r_r116); + CPy_DecRef(cpy_r_r119); + CPy_DecRef(cpy_r_r126); + goto CPyL175; +CPyL185: ; + CPy_DecRef(cpy_r_r116); + CPy_DecRef(cpy_r_r119); + CPy_DecRef(cpy_r_r126); + CPy_DecRef(cpy_r_r129); + goto CPyL175; +CPyL186: ; + CPy_DecRef(cpy_r_r146); + goto CPyL175; +CPyL187: ; + CPy_DecRef(cpy_r_r146); + CPy_DecRef(cpy_r_r149); + goto CPyL175; +CPyL188: ; + CPy_DecRef(cpy_r_r146); + CPy_DecRef(cpy_r_r149); + CPy_DecRef(cpy_r_r152); + goto CPyL175; +CPyL189: ; + CPy_DecRef(cpy_r_r146); + CPy_DecRef(cpy_r_r160); + goto CPyL175; +CPyL190: ; + CPy_DecRef(cpy_r_r146); + CPy_DecRef(cpy_r_r160); + CPy_DecRef(cpy_r_r163); + goto CPyL175; +CPyL191: ; + CPy_DecRef(cpy_r_r146); + CPy_DecRef(cpy_r_r160); + CPy_DecRef(cpy_r_r163); + CPy_DecRef(cpy_r_r166); + goto CPyL175; +CPyL192: ; + CPy_DecRef(cpy_r_r146); + CPy_DecRef(cpy_r_r160); + CPy_DecRef(cpy_r_r163); + CPy_DecRef(cpy_r_r166); + CPy_DecRef(cpy_r_r169); + goto CPyL175; +CPyL193: ; + CPy_DecRef(cpy_r_r188); + goto CPyL175; +CPyL194: ; + CPy_DecRef(cpy_r_r188); + CPy_DecRef(cpy_r_r191); + goto CPyL175; +CPyL195: ; + CPy_DecRef(cpy_r_r188); + CPy_DecRef(cpy_r_r191); + CPy_DecRef(cpy_r_r195); + goto CPyL175; +CPyL196: ; + CPy_DecRef(cpy_r_r188); + CPy_DecRef(cpy_r_r202); + goto CPyL175; +CPyL197: ; + CPy_DecRef(cpy_r_r216); + goto CPyL175; +CPyL198: ; + CPy_DecRef(cpy_r_r216); + CPy_DecRef(cpy_r_r221); + goto CPyL175; +CPyL199: ; + CPy_DecRef(cpy_r_r243); + goto CPyL175; +CPyL200: ; + CPy_DecRef(cpy_r_r266); + goto CPyL175; +CPyL201: ; + CPy_DecRef(cpy_r_r282); + goto CPyL175; +CPyL202: ; + CPy_DecRef(cpy_r_r282); + CPy_DecRef(cpy_r_r290); + goto CPyL175; +CPyL203: ; + CPy_DecRef(cpy_r_r282); + CPy_DecRef(cpy_r_r291); + goto CPyL175; +CPyL204: ; + CPy_DecRef(cpy_r_r282); + CPy_DecRef(cpy_r_r291); + CPy_DecRef(cpy_r_r296); + goto CPyL175; +CPyL205: ; + CPy_DecRef(cpy_r_r282); + CPy_DecRef(cpy_r_r291); + CPy_DecRef(cpy_r_r296); + CPy_DecRef(cpy_r_r299); + goto CPyL175; +CPyL206: ; + CPy_DecRef(cpy_r_r390); + goto CPyL175; +CPyL207: ; + CPy_DecRef(cpy_r_r403); + goto CPyL175; +CPyL208: ; + CPy_DecRef(cpy_r_r421); + goto CPyL175; +CPyL209: ; + CPy_DecRef(cpy_r_r449); + goto CPyL147; +CPyL210: ; + CPy_DecRef(cpy_r_r449); + goto CPyL175; +CPyL211: ; + CPy_DecRef(cpy_r_r449); + goto CPyL151; +CPyL212: ; + CPy_DecRef(cpy_r_r449); + goto CPyL155; +CPyL213: ; + CPy_DecRef(cpy_r_r467); + goto CPyL160; +CPyL214: ; + CPy_DecRef(cpy_r_r475); + goto CPyL165; +CPyL215: ; + CPy_DecRef(cpy_r_r485); + goto CPyL175; +} +static PyMethodDef _errorsmodule_methods[] = { + {"error_logger_log_debug", (PyCFunction)CPyPy__errors___error_logger_log_debug, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("error_logger_log_debug(msg, *args)\n--\n\n") /* docstring */}, + {"revert_logger_log_debug", (PyCFunction)CPyPy__errors___revert_logger_log_debug, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("revert_logger_log_debug(msg, *args)\n--\n\n") /* docstring */}, + {"log_internal_error", (PyCFunction)CPyPy__errors___log_internal_error, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("log_internal_error(logger, batch, exc)\n--\n\n") /* docstring */}, + {"needs_full_request_spec", (PyCFunction)CPyPy__errors___needs_full_request_spec, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("needs_full_request_spec(response)\n--\n\n") /* docstring */}, + {"is_call_revert", (PyCFunction)CPyPy__errors___is_call_revert, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("is_call_revert(e)\n--\n\n") /* docstring */}, + {"is_revert_bytes", (PyCFunction)CPyPy__errors___is_revert_bytes, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("is_revert_bytes(data)\n--\n\n") /* docstring */}, + {"log_request_type_switch", (PyCFunction)CPyPy__errors___log_request_type_switch, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("log_request_type_switch()\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___helpers____errors(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___helpers____errors__internal, "__name__"); + CPyStatic__errors___globals = PyModule_GetDict(CPyModule_dank_mids___helpers____errors__internal); + if (unlikely(CPyStatic__errors___globals == NULL)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef__errors_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___helpers____errors__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic__errors___error_logger); + CPyStatic__errors___error_logger = NULL; + CPy_XDECREF(CPyStatic__errors___error_logger_debug); + CPyStatic__errors___error_logger_debug = NULL; + CPy_XDECREF(CPyStatic__errors___error_logger_log); + CPyStatic__errors___error_logger_log = NULL; + CPy_XDECREF(CPyStatic__errors___revert_logger); + CPyStatic__errors___revert_logger = NULL; + CPy_XDECREF(CPyStatic__errors___revert_logger_log); + CPyStatic__errors___revert_logger_log = NULL; + CPy_XDECREF(CPyStatic__errors___timeout_logger); + CPyStatic__errors___timeout_logger = NULL; + CPy_XDECREF(CPyStatic__errors___timeout_logger_debug); + CPyStatic__errors___timeout_logger_debug = NULL; + CPy_XDECREF(CPyStatic__errors___timeout_logger_warning); + CPyStatic__errors___timeout_logger_warning = NULL; + CPy_XDECREF(CPyStatic__errors___gas_logger); + CPyStatic__errors___gas_logger = NULL; + CPy_XDECREF(CPyStatic__errors___gas_logger_debug); + CPyStatic__errors___gas_logger_debug = NULL; + CPy_XDECREF(CPyStatic__errors___INDIVIDUAL_CALL_REVERT_STRINGS); + CPyStatic__errors___INDIVIDUAL_CALL_REVERT_STRINGS = NULL; + return -1; +} +static struct PyModuleDef _errorsmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.helpers._errors", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + _errorsmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___helpers____errors(void) +{ + if (CPyModule_dank_mids___helpers____errors__internal) { + Py_INCREF(CPyModule_dank_mids___helpers____errors__internal); + return CPyModule_dank_mids___helpers____errors__internal; + } + CPyModule_dank_mids___helpers____errors__internal = PyModule_Create(&_errorsmodule); + if (unlikely(CPyModule_dank_mids___helpers____errors__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___helpers____errors(CPyModule_dank_mids___helpers____errors__internal) != 0) + goto fail; + return CPyModule_dank_mids___helpers____errors__internal; + fail: + return NULL; +} + +char CPyDef__errors___error_logger_log_debug(PyObject *cpy_r_msg, PyObject *cpy_r_args) { + CPyTagged cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r6; + PyObject *cpy_r_r7; + char cpy_r_r8; + cpy_r_r0 = CPyStatic__logging___DEBUG; + if (likely(cpy_r_r0 != CPY_INT_TAG)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"DEBUG\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "error_logger_log_debug", 21, CPyStatic__errors___globals); + goto CPyL8; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r2 = CPyStatic__errors___error_logger_log; + if (likely(cpy_r_r2 != NULL)) goto CPyL6; + PyErr_SetString(PyExc_NameError, "value for final name \"error_logger_log\" was not set"); + cpy_r_r3 = 0; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "error_logger_log_debug", 21, CPyStatic__errors___globals); + goto CPyL8; + } + CPy_Unreachable(); +CPyL6: ; + CPyTagged_INCREF(cpy_r_r0); + cpy_r_r4 = CPyTagged_StealAsObject(cpy_r_r0); + PyObject *cpy_r_r5[3] = {cpy_r_r4, cpy_r_msg, cpy_r_args}; + cpy_r_r6 = (PyObject **)&cpy_r_r5; + cpy_r_r7 = PyObject_Vectorcall(cpy_r_r2, cpy_r_r6, 3, 0); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "error_logger_log_debug", 21, CPyStatic__errors___globals); + goto CPyL9; + } else + goto CPyL10; +CPyL7: ; + CPy_DECREF(cpy_r_r4); + return 1; +CPyL8: ; + cpy_r_r8 = 2; + return cpy_r_r8; +CPyL9: ; + CPy_DecRef(cpy_r_r4); + goto CPyL8; +CPyL10: ; + CPy_DECREF(cpy_r_r7); + goto CPyL7; +} + +PyObject *CPyPy__errors___error_logger_log_debug(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"msg", 0}; + static CPyArg_Parser parser = {"%O:error_logger_log_debug", kwlist, 0}; + PyObject *obj_msg; + PyObject *obj_args; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_args, NULL, &obj_msg)) { + return NULL; + } + PyObject *arg_msg; + if (likely(PyUnicode_Check(obj_msg))) + arg_msg = obj_msg; + else { + CPy_TypeError("str", obj_msg); + goto fail; + } + PyObject *arg_args = obj_args; + char retval = CPyDef__errors___error_logger_log_debug(arg_msg, arg_args); + CPy_DECREF(obj_args); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_DECREF(obj_args); + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "error_logger_log_debug", 20, CPyStatic__errors___globals); + return NULL; +} + +char CPyDef__errors___revert_logger_log_debug(PyObject *cpy_r_msg, PyObject *cpy_r_args) { + CPyTagged cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r6; + PyObject *cpy_r_r7; + char cpy_r_r8; + cpy_r_r0 = CPyStatic__logging___DEBUG; + if (likely(cpy_r_r0 != CPY_INT_TAG)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"DEBUG\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "revert_logger_log_debug", 29, CPyStatic__errors___globals); + goto CPyL8; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r2 = CPyStatic__errors___revert_logger_log; + if (likely(cpy_r_r2 != NULL)) goto CPyL6; + PyErr_SetString(PyExc_NameError, "value for final name \"revert_logger_log\" was not set"); + cpy_r_r3 = 0; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "revert_logger_log_debug", 29, CPyStatic__errors___globals); + goto CPyL8; + } + CPy_Unreachable(); +CPyL6: ; + CPyTagged_INCREF(cpy_r_r0); + cpy_r_r4 = CPyTagged_StealAsObject(cpy_r_r0); + PyObject *cpy_r_r5[3] = {cpy_r_r4, cpy_r_msg, cpy_r_args}; + cpy_r_r6 = (PyObject **)&cpy_r_r5; + cpy_r_r7 = PyObject_Vectorcall(cpy_r_r2, cpy_r_r6, 3, 0); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "revert_logger_log_debug", 29, CPyStatic__errors___globals); + goto CPyL9; + } else + goto CPyL10; +CPyL7: ; + CPy_DECREF(cpy_r_r4); + return 1; +CPyL8: ; + cpy_r_r8 = 2; + return cpy_r_r8; +CPyL9: ; + CPy_DecRef(cpy_r_r4); + goto CPyL8; +CPyL10: ; + CPy_DECREF(cpy_r_r7); + goto CPyL7; +} + +PyObject *CPyPy__errors___revert_logger_log_debug(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"msg", 0}; + static CPyArg_Parser parser = {"%O:revert_logger_log_debug", kwlist, 0}; + PyObject *obj_msg; + PyObject *obj_args; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_args, NULL, &obj_msg)) { + return NULL; + } + PyObject *arg_msg; + if (likely(PyUnicode_Check(obj_msg))) + arg_msg = obj_msg; + else { + CPy_TypeError("str", obj_msg); + goto fail; + } + PyObject *arg_args = obj_args; + char retval = CPyDef__errors___revert_logger_log_debug(arg_msg, arg_args); + CPy_DECREF(obj_args); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_DECREF(obj_args); + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "revert_logger_log_debug", 28, CPyStatic__errors___globals); + return NULL; +} + +char CPyDef__errors___log_internal_error(PyObject *cpy_r_logger, PyObject *cpy_r_batch, PyObject *cpy_r_exc) { + PyObject *cpy_r_r0; + PyObject *cpy_r_batch_objs; + tuple_T3OOO cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + int32_t cpy_r_r9; + char cpy_r_r10; + char cpy_r_r11; + PyObject *cpy_r_r12; + CPyPtr cpy_r_r13; + CPyPtr cpy_r_r14; + char cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + CPyPtr cpy_r_r20; + int64_t cpy_r_r21; + CPyTagged cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject **cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + char cpy_r_r33; + cpy_r_r0 = PySequence_List(cpy_r_batch); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "log_internal_error", 51, CPyStatic__errors___globals); + goto CPyL3; + } + cpy_r_batch_objs = cpy_r_r0; + goto CPyL16; +CPyL3: ; + cpy_r_r1 = CPy_CatchError(); + cpy_r_r2 = CPyModule_builtins; + cpy_r_r3 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r4 = CPyObject_GetAttr(cpy_r_r2, cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "log_internal_error", 52, CPyStatic__errors___globals); + goto CPyL14; + } + cpy_r_r5 = CPy_ExceptionMatches(cpy_r_r4); + CPy_DecRef(cpy_r_r4); + if (!cpy_r_r5) goto CPyL11; + cpy_r_r6 = CPyStatic__errors___globals; + cpy_r_r7 = CPyStatics[589]; /* 'ContractLogicError' */ + cpy_r_r8 = CPyDict_GetItem(cpy_r_r6, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "log_internal_error", 54, CPyStatic__errors___globals); + goto CPyL14; + } + cpy_r_r9 = PyObject_IsInstance(cpy_r_exc, cpy_r_r8); + CPy_DecRef(cpy_r_r8); + cpy_r_r10 = cpy_r_r9 >= 0; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "log_internal_error", 54, CPyStatic__errors___globals); + goto CPyL14; + } + cpy_r_r11 = cpy_r_r9; + if (!cpy_r_r11) goto CPyL9; + CPy_RestoreExcInfo(cpy_r_r1); + CPy_DecRef(cpy_r_r1.f0); + CPy_DecRef(cpy_r_r1.f1); + CPy_DecRef(cpy_r_r1.f2); + return 1; +CPyL9: ; + cpy_r_r12 = PyList_New(1); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "log_internal_error", 57, CPyStatic__errors___globals); + goto CPyL14; + } + cpy_r_r13 = (CPyPtr)&((PyListObject *)cpy_r_r12)->ob_item; + cpy_r_r14 = *(CPyPtr *)cpy_r_r13; + CPy_INCREF(cpy_r_batch); + *(PyObject * *)cpy_r_r14 = cpy_r_batch; + cpy_r_batch_objs = cpy_r_r12; + goto CPyL13; +CPyL11: ; + CPy_Reraise(); + if (!0) { + goto CPyL14; + } else + goto CPyL23; +CPyL12: ; + CPy_Unreachable(); +CPyL13: ; + CPy_RestoreExcInfo(cpy_r_r1); + CPy_DecRef(cpy_r_r1.f0); + CPy_DecRef(cpy_r_r1.f1); + CPy_DecRef(cpy_r_r1.f2); + goto CPyL16; +CPyL14: ; + CPy_RestoreExcInfo(cpy_r_r1); + CPy_DecRef(cpy_r_r1.f0); + CPy_DecRef(cpy_r_r1.f1); + CPy_DecRef(cpy_r_r1.f2); + cpy_r_r15 = CPy_KeepPropagating(); + if (!cpy_r_r15) goto CPyL22; + CPy_Unreachable(); +CPyL16: ; + cpy_r_r16 = CPyStatics[590]; /* ("That's not good, there was an exception in a %s " + '(len=%s). These are supposed to be handled.\n' + 'Exc: %s\n' + '%s contents: %s\n' + '\n') */ + cpy_r_r17 = CPy_TYPE(cpy_r_batch); + cpy_r_r18 = CPy_GetName(cpy_r_r17); + CPy_DECREF(cpy_r_r17); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "log_internal_error", 62, CPyStatic__errors___globals); + goto CPyL24; + } + if (likely(PyUnicode_Check(cpy_r_r18))) + cpy_r_r19 = cpy_r_r18; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_errors.py", "log_internal_error", 62, CPyStatic__errors___globals, "str", cpy_r_r18); + goto CPyL24; + } + cpy_r_r20 = (CPyPtr)&((PyVarObject *)cpy_r_batch_objs)->ob_size; + cpy_r_r21 = *(int64_t *)cpy_r_r20; + cpy_r_r22 = cpy_r_r21 << 1; + cpy_r_r23 = CPy_TYPE(cpy_r_batch); + cpy_r_r24 = CPy_GetName(cpy_r_r23); + CPy_DECREF(cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "log_internal_error", 65, CPyStatic__errors___globals); + goto CPyL25; + } + if (likely(PyUnicode_Check(cpy_r_r24))) + cpy_r_r25 = cpy_r_r24; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_errors.py", "log_internal_error", 65, CPyStatic__errors___globals, "str", cpy_r_r24); + goto CPyL25; + } + cpy_r_r26 = CPyStatics[142]; /* 'error' */ + cpy_r_r27 = CPyTagged_StealAsObject(cpy_r_r22); + cpy_r_r28 = 1 ? Py_True : Py_False; + PyObject *cpy_r_r29[8] = { + cpy_r_logger, cpy_r_r16, cpy_r_r19, cpy_r_r27, cpy_r_exc, + cpy_r_r25, cpy_r_batch_objs, cpy_r_r28 + }; + cpy_r_r30 = (PyObject **)&cpy_r_r29; + cpy_r_r31 = CPyStatics[928]; /* ('exc_info',) */ + cpy_r_r32 = PyObject_VectorcallMethod(cpy_r_r26, cpy_r_r30, 9223372036854775815ULL, cpy_r_r31); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "log_internal_error", 58, CPyStatic__errors___globals); + goto CPyL26; + } else + goto CPyL27; +CPyL21: ; + CPy_DECREF(cpy_r_r19); + CPy_DECREF(cpy_r_r27); + CPy_DECREF(cpy_r_r25); + CPy_DECREF_NO_IMM(cpy_r_batch_objs); + return 1; +CPyL22: ; + cpy_r_r33 = 2; + return cpy_r_r33; +CPyL23: ; + CPy_DecRef(cpy_r_r1.f0); + CPy_DecRef(cpy_r_r1.f1); + CPy_DecRef(cpy_r_r1.f2); + goto CPyL12; +CPyL24: ; + CPy_DecRef(cpy_r_batch_objs); + goto CPyL22; +CPyL25: ; + CPy_DecRef(cpy_r_batch_objs); + CPy_DecRef(cpy_r_r19); + goto CPyL22; +CPyL26: ; + CPy_DecRef(cpy_r_batch_objs); + CPy_DecRef(cpy_r_r19); + CPy_DecRef(cpy_r_r25); + CPy_DecRef(cpy_r_r27); + goto CPyL22; +CPyL27: ; + CPy_DECREF(cpy_r_r32); + goto CPyL21; +} + +PyObject *CPyPy__errors___log_internal_error(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"logger", "batch", "exc", 0}; + static CPyArg_Parser parser = {"OOO:log_internal_error", kwlist, 0}; + PyObject *obj_logger; + PyObject *obj_batch; + PyObject *obj_exc; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_logger, &obj_batch, &obj_exc)) { + return NULL; + } + PyObject *arg_logger = obj_logger; + PyObject *arg_batch = obj_batch; + PyObject *arg_exc = obj_exc; + char retval = CPyDef__errors___log_internal_error(arg_logger, arg_batch, arg_exc); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "log_internal_error", 49, CPyStatic__errors___globals); + return NULL; +} + +char CPyDef__errors___needs_full_request_spec(PyObject *cpy_r_response) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + char cpy_r_r3; + char cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject **cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + char cpy_r_r17; + char cpy_r_r18; + char cpy_r_r19; + char cpy_r_r20; + cpy_r_r0 = CPyStatics[142]; /* 'error' */ + cpy_r_r1 = CPyObject_GetAttr(cpy_r_response, cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "needs_full_request_spec", 84, CPyStatic__errors___globals); + goto CPyL14; + } + cpy_r_r2 = (PyObject *)&_Py_NoneStruct; + cpy_r_r3 = cpy_r_r1 != cpy_r_r2; + CPy_DECREF(cpy_r_r1); + if (cpy_r_r3) goto CPyL3; + cpy_r_r4 = cpy_r_r3; + goto CPyL13; +CPyL3: ; + cpy_r_r5 = CPyStatics[142]; /* 'error' */ + cpy_r_r6 = CPyObject_GetAttr(cpy_r_response, cpy_r_r5); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "needs_full_request_spec", 84, CPyStatic__errors___globals); + goto CPyL14; + } + cpy_r_r7 = CPyStatics[145]; /* 'message' */ + cpy_r_r8 = CPyObject_GetAttr(cpy_r_r6, cpy_r_r7); + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "needs_full_request_spec", 84, CPyStatic__errors___globals); + goto CPyL14; + } + if (likely(PyUnicode_Check(cpy_r_r8))) + cpy_r_r9 = cpy_r_r8; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_errors.py", "needs_full_request_spec", 84, CPyStatic__errors___globals, "str", cpy_r_r8); + goto CPyL14; + } + cpy_r_r10 = CPyStatics[114]; /* 'lower' */ + PyObject *cpy_r_r11[1] = {cpy_r_r9}; + cpy_r_r12 = (PyObject **)&cpy_r_r11; + cpy_r_r13 = PyObject_VectorcallMethod(cpy_r_r10, cpy_r_r12, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "needs_full_request_spec", 84, CPyStatic__errors___globals); + goto CPyL15; + } + CPy_DECREF(cpy_r_r9); + if (likely(PyUnicode_Check(cpy_r_r13))) + cpy_r_r14 = cpy_r_r13; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_errors.py", "needs_full_request_spec", 84, CPyStatic__errors___globals, "str", cpy_r_r13); + goto CPyL14; + } + cpy_r_r15 = CPyStatics[591]; /* 'invalid request' */ + cpy_r_r16 = CPyStatics[592]; /* 'parse error' */ + cpy_r_r17 = CPyStr_Equal(cpy_r_r14, cpy_r_r15); + if (cpy_r_r17) goto CPyL16; + cpy_r_r18 = CPyStr_Equal(cpy_r_r14, cpy_r_r16); + CPy_DECREF(cpy_r_r14); + if (cpy_r_r18) goto CPyL11; + cpy_r_r19 = 0; + goto CPyL12; +CPyL11: ; + cpy_r_r19 = 1; +CPyL12: ; + cpy_r_r4 = cpy_r_r19; +CPyL13: ; + return cpy_r_r4; +CPyL14: ; + cpy_r_r20 = 2; + return cpy_r_r20; +CPyL15: ; + CPy_DecRef(cpy_r_r9); + goto CPyL14; +CPyL16: ; + CPy_DECREF(cpy_r_r14); + goto CPyL11; +} + +PyObject *CPyPy__errors___needs_full_request_spec(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"response", 0}; + static CPyArg_Parser parser = {"O:needs_full_request_spec", kwlist, 0}; + PyObject *obj_response; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_response)) { + return NULL; + } + PyObject *arg_response = obj_response; + char retval = CPyDef__errors___needs_full_request_spec(arg_response); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "needs_full_request_spec", 71, CPyStatic__errors___globals); + return NULL; +} + +char CPyDef__errors___is_call_revert(PyObject *cpy_r_e) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject **cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject **cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + int32_t cpy_r_r18; + char cpy_r_r19; + char cpy_r_r20; + char cpy_r_r21; + char cpy_r_r22; + cpy_r_r0 = CPyStatics[128]; /* '{:{}}' */ + cpy_r_r1 = CPyStatics[126]; /* '' */ + cpy_r_r2 = CPyStatics[129]; /* 'format' */ + PyObject *cpy_r_r3[3] = {cpy_r_r0, cpy_r_e, cpy_r_r1}; + cpy_r_r4 = (PyObject **)&cpy_r_r3; + cpy_r_r5 = PyObject_VectorcallMethod(cpy_r_r2, cpy_r_r4, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "is_call_revert", 100, CPyStatic__errors___globals); + goto CPyL15; + } + if (likely(PyUnicode_Check(cpy_r_r5))) + cpy_r_r6 = cpy_r_r5; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_errors.py", "is_call_revert", 100, CPyStatic__errors___globals, "str", cpy_r_r5); + goto CPyL15; + } + cpy_r_r7 = CPyStatics[114]; /* 'lower' */ + PyObject *cpy_r_r8[1] = {cpy_r_r6}; + cpy_r_r9 = (PyObject **)&cpy_r_r8; + cpy_r_r10 = PyObject_VectorcallMethod(cpy_r_r7, cpy_r_r9, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "is_call_revert", 100, CPyStatic__errors___globals); + goto CPyL16; + } + CPy_DECREF(cpy_r_r6); + if (likely(PyUnicode_Check(cpy_r_r10))) + cpy_r_r11 = cpy_r_r10; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_errors.py", "is_call_revert", 100, CPyStatic__errors___globals, "str", cpy_r_r10); + goto CPyL15; + } + cpy_r_r12 = 0; + cpy_r_r13 = CPyStatic__errors___INDIVIDUAL_CALL_REVERT_STRINGS; + if (unlikely(cpy_r_r13 == NULL)) { + goto CPyL17; + } else + goto CPyL7; +CPyL5: ; + PyErr_SetString(PyExc_NameError, "value for final name \"INDIVIDUAL_CALL_REVERT_STRINGS\" was not set"); + cpy_r_r14 = 0; + if (unlikely(!cpy_r_r14)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "is_call_revert", 101, CPyStatic__errors___globals); + goto CPyL15; + } + CPy_Unreachable(); +CPyL7: ; + cpy_r_r15 = PyObject_GetIter(cpy_r_r13); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "is_call_revert", 101, CPyStatic__errors___globals); + goto CPyL18; + } +CPyL8: ; + cpy_r_r16 = PyIter_Next(cpy_r_r15); + if (cpy_r_r16 == NULL) goto CPyL19; + if (likely(PyUnicode_Check(cpy_r_r16))) + cpy_r_r17 = cpy_r_r16; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_errors.py", "is_call_revert", 101, CPyStatic__errors___globals, "str", cpy_r_r16); + goto CPyL20; + } + cpy_r_r18 = PyUnicode_Contains(cpy_r_r11, cpy_r_r17); + CPy_DECREF(cpy_r_r17); + cpy_r_r19 = cpy_r_r18 >= 0; + if (unlikely(!cpy_r_r19)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "is_call_revert", 101, CPyStatic__errors___globals); + goto CPyL20; + } + cpy_r_r20 = cpy_r_r18; + if (cpy_r_r20) { + goto CPyL21; + } else + goto CPyL8; +CPyL12: ; + cpy_r_r12 = 1; + goto CPyL14; +CPyL13: ; + cpy_r_r21 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r21)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "is_call_revert", 101, CPyStatic__errors___globals); + goto CPyL15; + } +CPyL14: ; + return cpy_r_r12; +CPyL15: ; + cpy_r_r22 = 2; + return cpy_r_r22; +CPyL16: ; + CPy_DecRef(cpy_r_r6); + goto CPyL15; +CPyL17: ; + CPy_DecRef(cpy_r_r11); + goto CPyL5; +CPyL18: ; + CPy_DecRef(cpy_r_r11); + goto CPyL15; +CPyL19: ; + CPy_DECREF(cpy_r_r11); + CPy_DECREF(cpy_r_r15); + goto CPyL13; +CPyL20: ; + CPy_DecRef(cpy_r_r11); + CPy_DecRef(cpy_r_r15); + goto CPyL15; +CPyL21: ; + CPy_DECREF(cpy_r_r11); + CPy_DECREF(cpy_r_r15); + goto CPyL12; +} + +PyObject *CPyPy__errors___is_call_revert(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"e", 0}; + static CPyArg_Parser parser = {"O:is_call_revert", kwlist, 0}; + PyObject *obj_e; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_e)) { + return NULL; + } + PyObject *arg_e; + if (likely(PyObject_TypeCheck(obj_e, CPyType__exceptions___BadResponse))) + arg_e = obj_e; + else { + CPy_TypeError("dank_mids._exceptions.BadResponse", obj_e); + goto fail; + } + char retval = CPyDef__errors___is_call_revert(arg_e); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "is_call_revert", 90, CPyStatic__errors___globals); + return NULL; +} + +char CPyDef__errors___is_revert_bytes(PyObject *cpy_r_data) { + char cpy_r_r0; + char cpy_r_r1; + char cpy_r_r2; + tuple_T2OO cpy_r_r3; + char cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject **cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + char cpy_r_r15; + char cpy_r_r16; + cpy_r_r0 = PyBytes_Check(cpy_r_data); + if (cpy_r_r0) goto CPyL2; + cpy_r_r1 = cpy_r_r0; + goto CPyL15; +CPyL2: ; + cpy_r_r2 = 0; + cpy_r_r3 = CPyStatic_constants___REVERT_SELECTORS; + if (likely(cpy_r_r3.f0 != NULL)) goto CPyL5; + PyErr_SetString(PyExc_NameError, "value for final name \"REVERT_SELECTORS\" was not set"); + cpy_r_r4 = 0; + if (unlikely(!cpy_r_r4)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "is_revert_bytes", 115, CPyStatic__errors___globals); + goto CPyL16; + } + CPy_Unreachable(); +CPyL5: ; + CPy_INCREF(cpy_r_r3.f0); + CPy_INCREF(cpy_r_r3.f1); + cpy_r_r5 = PyTuple_New(2); + if (unlikely(cpy_r_r5 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp262 = cpy_r_r3.f0; + PyTuple_SET_ITEM(cpy_r_r5, 0, __tmp262); + PyObject *__tmp263 = cpy_r_r3.f1; + PyTuple_SET_ITEM(cpy_r_r5, 1, __tmp263); + cpy_r_r6 = PyObject_GetIter(cpy_r_r5); + CPy_DECREF(cpy_r_r5); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "is_revert_bytes", 114, CPyStatic__errors___globals); + goto CPyL16; + } +CPyL6: ; + cpy_r_r7 = PyIter_Next(cpy_r_r6); + if (cpy_r_r7 == NULL) goto CPyL17; + if (likely(PyBytes_Check(cpy_r_r7) || PyByteArray_Check(cpy_r_r7))) + cpy_r_r8 = cpy_r_r7; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_errors.py", "is_revert_bytes", 114, CPyStatic__errors___globals, "bytes", cpy_r_r7); + goto CPyL18; + } + CPy_INCREF(cpy_r_data); + if (likely(PyBytes_Check(cpy_r_data) || PyByteArray_Check(cpy_r_data))) + cpy_r_r9 = cpy_r_data; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_errors.py", "is_revert_bytes", 115, CPyStatic__errors___globals, "bytes", cpy_r_data); + goto CPyL19; + } + cpy_r_r10 = CPyStatics[391]; /* 'startswith' */ + PyObject *cpy_r_r11[2] = {cpy_r_r9, cpy_r_r8}; + cpy_r_r12 = (PyObject **)&cpy_r_r11; + cpy_r_r13 = PyObject_VectorcallMethod(cpy_r_r10, cpy_r_r12, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "is_revert_bytes", 115, CPyStatic__errors___globals); + goto CPyL20; + } + CPy_DECREF(cpy_r_r9); + CPy_DECREF(cpy_r_r8); + if (unlikely(!PyBool_Check(cpy_r_r13))) { + CPy_TypeError("bool", cpy_r_r13); cpy_r_r14 = 2; + } else + cpy_r_r14 = cpy_r_r13 == Py_True; + CPy_DECREF(cpy_r_r13); + if (unlikely(cpy_r_r14 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "is_revert_bytes", 115, CPyStatic__errors___globals); + goto CPyL18; + } + if (cpy_r_r14) { + goto CPyL21; + } else + goto CPyL6; +CPyL12: ; + cpy_r_r2 = 1; + goto CPyL14; +CPyL13: ; + cpy_r_r15 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r15)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "is_revert_bytes", 114, CPyStatic__errors___globals); + goto CPyL16; + } +CPyL14: ; + cpy_r_r1 = cpy_r_r2; +CPyL15: ; + return cpy_r_r1; +CPyL16: ; + cpy_r_r16 = 2; + return cpy_r_r16; +CPyL17: ; + CPy_DECREF(cpy_r_r6); + goto CPyL13; +CPyL18: ; + CPy_DecRef(cpy_r_r6); + goto CPyL16; +CPyL19: ; + CPy_DecRef(cpy_r_r6); + CPy_DecRef(cpy_r_r8); + goto CPyL16; +CPyL20: ; + CPy_DecRef(cpy_r_r6); + CPy_DecRef(cpy_r_r8); + CPy_DecRef(cpy_r_r9); + goto CPyL16; +CPyL21: ; + CPy_DECREF(cpy_r_r6); + goto CPyL12; +} + +PyObject *CPyPy__errors___is_revert_bytes(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"data", 0}; + static CPyArg_Parser parser = {"O:is_revert_bytes", kwlist, 0}; + PyObject *obj_data; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_data)) { + return NULL; + } + PyObject *arg_data = obj_data; + char retval = CPyDef__errors___is_revert_bytes(arg_data); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "is_revert_bytes", 104, CPyStatic__errors___globals); + return NULL; +} + +char CPyDef__errors___log_request_type_switch(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject **cpy_r_r4; + PyObject *cpy_r_r5; + char cpy_r_r6; + cpy_r_r0 = CPyStatics[593]; /* ('your node says the partial request was invalid but its ' + 'okay, we can use the full jsonrpc spec instead') */ + cpy_r_r1 = CPyStatic__errors___error_logger_debug; + if (likely(cpy_r_r1 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"error_logger_debug\" was not set"); + cpy_r_r2 = 0; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "log_request_type_switch", 120, CPyStatic__errors___globals); + goto CPyL5; + } + CPy_Unreachable(); +CPyL3: ; + PyObject *cpy_r_r3[1] = {cpy_r_r0}; + cpy_r_r4 = (PyObject **)&cpy_r_r3; + cpy_r_r5 = PyObject_Vectorcall(cpy_r_r1, cpy_r_r4, 1, 0); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "log_request_type_switch", 120, CPyStatic__errors___globals); + goto CPyL5; + } else + goto CPyL6; +CPyL4: ; + return 1; +CPyL5: ; + cpy_r_r6 = 2; + return cpy_r_r6; +CPyL6: ; + CPy_DECREF(cpy_r_r5); + goto CPyL4; +} + +PyObject *CPyPy__errors___log_request_type_switch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":log_request_type_switch", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + char retval = CPyDef__errors___log_request_type_switch(); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "log_request_type_switch", 119, CPyStatic__errors___globals); + return NULL; +} + +char CPyDef__errors_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + char cpy_r_r35; + PyObject **cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + int32_t cpy_r_r41; + char cpy_r_r42; + PyObject *cpy_r_r43; + char cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + int32_t cpy_r_r49; + char cpy_r_r50; + PyObject *cpy_r_r51; + char cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + int32_t cpy_r_r57; + char cpy_r_r58; + PyObject *cpy_r_r59; + char cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject **cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + int32_t cpy_r_r68; + char cpy_r_r69; + PyObject *cpy_r_r70; + char cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + PyObject *cpy_r_r75; + int32_t cpy_r_r76; + char cpy_r_r77; + PyObject *cpy_r_r78; + char cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject **cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + int32_t cpy_r_r87; + char cpy_r_r88; + PyObject *cpy_r_r89; + char 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; + PyObject *cpy_r_r97; + char cpy_r_r98; + PyObject *cpy_r_r99; + PyObject *cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + int32_t cpy_r_r103; + char cpy_r_r104; + PyObject *cpy_r_r105; + char cpy_r_r106; + PyObject *cpy_r_r107; + PyObject *cpy_r_r108; + PyObject **cpy_r_r110; + PyObject *cpy_r_r111; + PyObject *cpy_r_r112; + PyObject *cpy_r_r113; + int32_t cpy_r_r114; + char cpy_r_r115; + PyObject *cpy_r_r116; + char cpy_r_r117; + PyObject *cpy_r_r118; + PyObject *cpy_r_r119; + PyObject *cpy_r_r120; + PyObject *cpy_r_r121; + int32_t cpy_r_r122; + char cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + PyObject *cpy_r_r126; + PyObject *cpy_r_r127; + PyObject *cpy_r_r128; + PyObject *cpy_r_r129; + int32_t cpy_r_r130; + char cpy_r_r131; + int32_t cpy_r_r132; + char cpy_r_r133; + int32_t cpy_r_r134; + char cpy_r_r135; + int32_t cpy_r_r136; + char cpy_r_r137; + int32_t cpy_r_r138; + char cpy_r_r139; + PyObject *cpy_r_r140; + PyObject *cpy_r_r141; + int32_t cpy_r_r142; + char cpy_r_r143; + char cpy_r_r144; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", -1, CPyStatic__errors___globals); + goto CPyL69; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[972]; /* ('Logger',) */ + cpy_r_r6 = CPyStatics[169]; /* 'logging' */ + cpy_r_r7 = CPyStatic__errors___globals; + cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 1, CPyStatic__errors___globals); + goto CPyL69; + } + CPyModule_logging = cpy_r_r8; + CPy_INCREF(CPyModule_logging); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[1021]; /* ('TYPE_CHECKING', 'Any', 'Final') */ + cpy_r_r10 = CPyStatics[40]; /* 'typing' */ + cpy_r_r11 = CPyStatic__errors___globals; + cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 2, CPyStatic__errors___globals); + goto CPyL69; + } + CPyModule_typing = cpy_r_r12; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = CPyStatics[1022]; /* ('ContractLogicError',) */ + cpy_r_r14 = CPyStatics[594]; /* 'web3.exceptions' */ + cpy_r_r15 = CPyStatic__errors___globals; + cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 4, CPyStatic__errors___globals); + goto CPyL69; + } + CPyModule_web3___exceptions = cpy_r_r16; + CPy_INCREF(CPyModule_web3___exceptions); + CPy_DECREF(cpy_r_r16); + cpy_r_r17 = CPyStatics[1023]; /* ('BadResponse',) */ + cpy_r_r18 = CPyStatics[45]; /* 'dank_mids._exceptions' */ + cpy_r_r19 = CPyStatic__errors___globals; + cpy_r_r20 = CPyImport_ImportFromMany(cpy_r_r18, cpy_r_r17, cpy_r_r17, cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 6, CPyStatic__errors___globals); + goto CPyL69; + } + CPyModule_dank_mids____exceptions = cpy_r_r20; + CPy_INCREF(CPyModule_dank_mids____exceptions); + CPy_DECREF(cpy_r_r20); + cpy_r_r21 = CPyStatics[1024]; /* ('DEBUG', 'getLogger') */ + cpy_r_r22 = CPyStatics[47]; /* 'dank_mids._logging' */ + cpy_r_r23 = CPyStatic__errors___globals; + cpy_r_r24 = CPyImport_ImportFromMany(cpy_r_r22, cpy_r_r21, cpy_r_r21, cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 7, CPyStatic__errors___globals); + goto CPyL69; + } + CPyModule_dank_mids____logging = cpy_r_r24; + CPy_INCREF(CPyModule_dank_mids____logging); + CPy_DECREF(cpy_r_r24); + cpy_r_r25 = CPyStatics[1025]; /* ('REVERT_SELECTORS',) */ + cpy_r_r26 = CPyStatics[596]; /* 'dank_mids.constants' */ + cpy_r_r27 = CPyStatic__errors___globals; + cpy_r_r28 = CPyImport_ImportFromMany(cpy_r_r26, cpy_r_r25, cpy_r_r25, cpy_r_r27); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 8, CPyStatic__errors___globals); + goto CPyL69; + } + CPyModule_dank_mids___constants = cpy_r_r28; + CPy_INCREF(CPyModule_dank_mids___constants); + CPy_DECREF(cpy_r_r28); + cpy_r_r29 = CPyStatics[1011]; /* ('PartialResponse',) */ + cpy_r_r30 = CPyStatics[54]; /* 'dank_mids.types' */ + cpy_r_r31 = CPyStatic__errors___globals; + cpy_r_r32 = CPyImport_ImportFromMany(cpy_r_r30, cpy_r_r29, cpy_r_r29, cpy_r_r31); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 9, CPyStatic__errors___globals); + goto CPyL69; + } + CPyModule_dank_mids___types = cpy_r_r32; + CPy_INCREF(CPyModule_dank_mids___types); + CPy_DECREF(cpy_r_r32); + cpy_r_r33 = CPyStatics[597]; /* 'dank_mids.errors' */ + cpy_r_r34 = CPyStatic__logging___getLogger; + if (likely(cpy_r_r34 != NULL)) goto CPyL14; + PyErr_SetString(PyExc_NameError, "value for final name \"getLogger\" was not set"); + cpy_r_r35 = 0; + if (unlikely(!cpy_r_r35)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 15, CPyStatic__errors___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL14: ; + PyObject *cpy_r_r36[1] = {cpy_r_r33}; + cpy_r_r37 = (PyObject **)&cpy_r_r36; + cpy_r_r38 = PyObject_Vectorcall(cpy_r_r34, cpy_r_r37, 1, 0); + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 15, CPyStatic__errors___globals); + goto CPyL69; + } + CPyStatic__errors___error_logger = cpy_r_r38; + CPy_INCREF(CPyStatic__errors___error_logger); + cpy_r_r39 = CPyStatic__errors___globals; + cpy_r_r40 = CPyStatics[598]; /* 'error_logger' */ + cpy_r_r41 = CPyDict_SetItem(cpy_r_r39, cpy_r_r40, cpy_r_r38); + CPy_DECREF(cpy_r_r38); + cpy_r_r42 = cpy_r_r41 >= 0; + if (unlikely(!cpy_r_r42)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 15, CPyStatic__errors___globals); + goto CPyL69; + } + cpy_r_r43 = CPyStatic__errors___error_logger; + if (likely(cpy_r_r43 != NULL)) goto CPyL19; + PyErr_SetString(PyExc_NameError, "value for final name \"error_logger\" was not set"); + cpy_r_r44 = 0; + if (unlikely(!cpy_r_r44)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 16, CPyStatic__errors___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL19: ; + cpy_r_r45 = CPyStatics[398]; /* 'debug' */ + cpy_r_r46 = CPyObject_GetAttr(cpy_r_r43, cpy_r_r45); + if (unlikely(cpy_r_r46 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 16, CPyStatic__errors___globals); + goto CPyL69; + } + CPyStatic__errors___error_logger_debug = cpy_r_r46; + CPy_INCREF(CPyStatic__errors___error_logger_debug); + cpy_r_r47 = CPyStatic__errors___globals; + cpy_r_r48 = CPyStatics[599]; /* 'error_logger_debug' */ + cpy_r_r49 = CPyDict_SetItem(cpy_r_r47, cpy_r_r48, cpy_r_r46); + CPy_DECREF(cpy_r_r46); + cpy_r_r50 = cpy_r_r49 >= 0; + if (unlikely(!cpy_r_r50)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 16, CPyStatic__errors___globals); + goto CPyL69; + } + cpy_r_r51 = CPyStatic__errors___error_logger; + if (likely(cpy_r_r51 != NULL)) goto CPyL24; + PyErr_SetString(PyExc_NameError, "value for final name \"error_logger\" was not set"); + cpy_r_r52 = 0; + if (unlikely(!cpy_r_r52)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 17, CPyStatic__errors___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL24: ; + cpy_r_r53 = CPyStatics[600]; /* '_log' */ + cpy_r_r54 = CPyObject_GetAttr(cpy_r_r51, cpy_r_r53); + if (unlikely(cpy_r_r54 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 17, CPyStatic__errors___globals); + goto CPyL69; + } + CPyStatic__errors___error_logger_log = cpy_r_r54; + CPy_INCREF(CPyStatic__errors___error_logger_log); + cpy_r_r55 = CPyStatic__errors___globals; + cpy_r_r56 = CPyStatics[601]; /* 'error_logger_log' */ + cpy_r_r57 = CPyDict_SetItem(cpy_r_r55, cpy_r_r56, cpy_r_r54); + CPy_DECREF(cpy_r_r54); + cpy_r_r58 = cpy_r_r57 >= 0; + if (unlikely(!cpy_r_r58)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 17, CPyStatic__errors___globals); + goto CPyL69; + } + cpy_r_r59 = CPyStatic__errors___error_logger; + if (likely(cpy_r_r59 != NULL)) goto CPyL29; + PyErr_SetString(PyExc_NameError, "value for final name \"error_logger\" was not set"); + cpy_r_r60 = 0; + if (unlikely(!cpy_r_r60)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 24, CPyStatic__errors___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL29: ; + cpy_r_r61 = CPyStatics[602]; /* 'reverts' */ + cpy_r_r62 = CPyStatics[603]; /* 'getChild' */ + PyObject *cpy_r_r63[2] = {cpy_r_r59, cpy_r_r61}; + cpy_r_r64 = (PyObject **)&cpy_r_r63; + cpy_r_r65 = PyObject_VectorcallMethod(cpy_r_r62, cpy_r_r64, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r65 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 24, CPyStatic__errors___globals); + goto CPyL69; + } + CPyStatic__errors___revert_logger = cpy_r_r65; + CPy_INCREF(CPyStatic__errors___revert_logger); + cpy_r_r66 = CPyStatic__errors___globals; + cpy_r_r67 = CPyStatics[604]; /* 'revert_logger' */ + 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; + if (unlikely(!cpy_r_r69)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 24, CPyStatic__errors___globals); + goto CPyL69; + } + cpy_r_r70 = CPyStatic__errors___revert_logger; + if (likely(cpy_r_r70 != NULL)) goto CPyL34; + PyErr_SetString(PyExc_NameError, "value for final name \"revert_logger\" was not set"); + cpy_r_r71 = 0; + if (unlikely(!cpy_r_r71)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 25, CPyStatic__errors___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL34: ; + cpy_r_r72 = CPyStatics[600]; /* '_log' */ + cpy_r_r73 = CPyObject_GetAttr(cpy_r_r70, cpy_r_r72); + if (unlikely(cpy_r_r73 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 25, CPyStatic__errors___globals); + goto CPyL69; + } + CPyStatic__errors___revert_logger_log = cpy_r_r73; + CPy_INCREF(CPyStatic__errors___revert_logger_log); + cpy_r_r74 = CPyStatic__errors___globals; + cpy_r_r75 = CPyStatics[605]; /* 'revert_logger_log' */ + 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; + if (unlikely(!cpy_r_r77)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 25, CPyStatic__errors___globals); + goto CPyL69; + } + cpy_r_r78 = CPyStatic__errors___error_logger; + if (likely(cpy_r_r78 != NULL)) goto CPyL39; + PyErr_SetString(PyExc_NameError, "value for final name \"error_logger\" was not set"); + cpy_r_r79 = 0; + if (unlikely(!cpy_r_r79)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 32, CPyStatic__errors___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL39: ; + cpy_r_r80 = CPyStatics[606]; /* 'timeouts' */ + cpy_r_r81 = CPyStatics[603]; /* 'getChild' */ + PyObject *cpy_r_r82[2] = {cpy_r_r78, cpy_r_r80}; + cpy_r_r83 = (PyObject **)&cpy_r_r82; + cpy_r_r84 = PyObject_VectorcallMethod(cpy_r_r81, cpy_r_r83, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r84 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 32, CPyStatic__errors___globals); + goto CPyL69; + } + CPyStatic__errors___timeout_logger = cpy_r_r84; + CPy_INCREF(CPyStatic__errors___timeout_logger); + cpy_r_r85 = CPyStatic__errors___globals; + cpy_r_r86 = CPyStatics[607]; /* 'timeout_logger' */ + 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; + if (unlikely(!cpy_r_r88)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 32, CPyStatic__errors___globals); + goto CPyL69; + } + cpy_r_r89 = CPyStatic__errors___timeout_logger; + if (likely(cpy_r_r89 != NULL)) goto CPyL44; + PyErr_SetString(PyExc_NameError, "value for final name \"timeout_logger\" was not set"); + cpy_r_r90 = 0; + if (unlikely(!cpy_r_r90)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 33, CPyStatic__errors___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL44: ; + cpy_r_r91 = CPyStatics[398]; /* 'debug' */ + cpy_r_r92 = CPyObject_GetAttr(cpy_r_r89, cpy_r_r91); + if (unlikely(cpy_r_r92 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 33, CPyStatic__errors___globals); + goto CPyL69; + } + CPyStatic__errors___timeout_logger_debug = cpy_r_r92; + CPy_INCREF(CPyStatic__errors___timeout_logger_debug); + cpy_r_r93 = CPyStatic__errors___globals; + cpy_r_r94 = CPyStatics[608]; /* 'timeout_logger_debug' */ + 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\\_errors.py", "", 33, CPyStatic__errors___globals); + goto CPyL69; + } + cpy_r_r97 = CPyStatic__errors___timeout_logger; + if (likely(cpy_r_r97 != NULL)) goto CPyL49; + PyErr_SetString(PyExc_NameError, "value for final name \"timeout_logger\" was not set"); + cpy_r_r98 = 0; + if (unlikely(!cpy_r_r98)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 34, CPyStatic__errors___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL49: ; + cpy_r_r99 = CPyStatics[155]; /* 'warning' */ + cpy_r_r100 = CPyObject_GetAttr(cpy_r_r97, cpy_r_r99); + if (unlikely(cpy_r_r100 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 34, CPyStatic__errors___globals); + goto CPyL69; + } + CPyStatic__errors___timeout_logger_warning = cpy_r_r100; + CPy_INCREF(CPyStatic__errors___timeout_logger_warning); + cpy_r_r101 = CPyStatic__errors___globals; + cpy_r_r102 = CPyStatics[609]; /* 'timeout_logger_warning' */ + cpy_r_r103 = CPyDict_SetItem(cpy_r_r101, cpy_r_r102, cpy_r_r100); + CPy_DECREF(cpy_r_r100); + cpy_r_r104 = cpy_r_r103 >= 0; + if (unlikely(!cpy_r_r104)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 34, CPyStatic__errors___globals); + goto CPyL69; + } + cpy_r_r105 = CPyStatic__errors___error_logger; + if (likely(cpy_r_r105 != NULL)) goto CPyL54; + PyErr_SetString(PyExc_NameError, "value for final name \"error_logger\" was not set"); + cpy_r_r106 = 0; + if (unlikely(!cpy_r_r106)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 37, CPyStatic__errors___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL54: ; + cpy_r_r107 = CPyStatics[610]; /* 'gas' */ + cpy_r_r108 = CPyStatics[603]; /* 'getChild' */ + PyObject *cpy_r_r109[2] = {cpy_r_r105, cpy_r_r107}; + cpy_r_r110 = (PyObject **)&cpy_r_r109; + cpy_r_r111 = PyObject_VectorcallMethod(cpy_r_r108, cpy_r_r110, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r111 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 37, CPyStatic__errors___globals); + goto CPyL69; + } + CPyStatic__errors___gas_logger = cpy_r_r111; + CPy_INCREF(CPyStatic__errors___gas_logger); + cpy_r_r112 = CPyStatic__errors___globals; + cpy_r_r113 = CPyStatics[611]; /* 'gas_logger' */ + 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; + if (unlikely(!cpy_r_r115)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 37, CPyStatic__errors___globals); + goto CPyL69; + } + cpy_r_r116 = CPyStatic__errors___gas_logger; + if (likely(cpy_r_r116 != NULL)) goto CPyL59; + PyErr_SetString(PyExc_NameError, "value for final name \"gas_logger\" was not set"); + cpy_r_r117 = 0; + if (unlikely(!cpy_r_r117)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 38, CPyStatic__errors___globals); + goto CPyL69; + } + CPy_Unreachable(); +CPyL59: ; + cpy_r_r118 = CPyStatics[398]; /* 'debug' */ + cpy_r_r119 = CPyObject_GetAttr(cpy_r_r116, cpy_r_r118); + if (unlikely(cpy_r_r119 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 38, CPyStatic__errors___globals); + goto CPyL69; + } + CPyStatic__errors___gas_logger_debug = cpy_r_r119; + CPy_INCREF(CPyStatic__errors___gas_logger_debug); + cpy_r_r120 = CPyStatic__errors___globals; + cpy_r_r121 = CPyStatics[612]; /* 'gas_logger_debug' */ + cpy_r_r122 = CPyDict_SetItem(cpy_r_r120, cpy_r_r121, cpy_r_r119); + CPy_DECREF(cpy_r_r119); + cpy_r_r123 = cpy_r_r122 >= 0; + if (unlikely(!cpy_r_r123)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 38, CPyStatic__errors___globals); + goto CPyL69; + } + cpy_r_r124 = CPyStatics[613]; /* 'invalid opcode' */ + cpy_r_r125 = CPyStatics[614]; /* 'missing trie node' */ + cpy_r_r126 = CPyStatics[615]; /* 'resource not found' */ + cpy_r_r127 = CPyStatics[616]; /* 'invalid ether transfer' */ + cpy_r_r128 = CPyStatics[617]; /* 'error processing call revert' */ + cpy_r_r129 = PySet_New(NULL); + if (unlikely(cpy_r_r129 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 40, CPyStatic__errors___globals); + goto CPyL69; + } + cpy_r_r130 = PySet_Add(cpy_r_r129, cpy_r_r124); + cpy_r_r131 = cpy_r_r130 >= 0; + if (unlikely(!cpy_r_r131)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 40, CPyStatic__errors___globals); + goto CPyL70; + } + cpy_r_r132 = PySet_Add(cpy_r_r129, cpy_r_r125); + cpy_r_r133 = cpy_r_r132 >= 0; + if (unlikely(!cpy_r_r133)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 40, CPyStatic__errors___globals); + goto CPyL70; + } + cpy_r_r134 = PySet_Add(cpy_r_r129, cpy_r_r126); + cpy_r_r135 = cpy_r_r134 >= 0; + if (unlikely(!cpy_r_r135)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 40, CPyStatic__errors___globals); + goto CPyL70; + } + cpy_r_r136 = PySet_Add(cpy_r_r129, cpy_r_r127); + cpy_r_r137 = cpy_r_r136 >= 0; + if (unlikely(!cpy_r_r137)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 40, CPyStatic__errors___globals); + goto CPyL70; + } + cpy_r_r138 = PySet_Add(cpy_r_r129, cpy_r_r128); + cpy_r_r139 = cpy_r_r138 >= 0; + if (unlikely(!cpy_r_r139)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 40, CPyStatic__errors___globals); + goto CPyL70; + } + CPyStatic__errors___INDIVIDUAL_CALL_REVERT_STRINGS = cpy_r_r129; + CPy_INCREF(CPyStatic__errors___INDIVIDUAL_CALL_REVERT_STRINGS); + cpy_r_r140 = CPyStatic__errors___globals; + cpy_r_r141 = CPyStatics[618]; /* 'INDIVIDUAL_CALL_REVERT_STRINGS' */ + cpy_r_r142 = CPyDict_SetItem(cpy_r_r140, cpy_r_r141, cpy_r_r129); + CPy_DECREF(cpy_r_r129); + cpy_r_r143 = cpy_r_r142 >= 0; + if (unlikely(!cpy_r_r143)) { + CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "", 40, CPyStatic__errors___globals); + goto CPyL69; + } + return 1; +CPyL69: ; + cpy_r_r144 = 2; + return cpy_r_r144; +CPyL70: ; + CPy_DecRef(cpy_r_r129); + goto CPyL69; +} + +static PyAsyncMethods _gather___gatherish_gen_as_async = { + .am_await = CPyDef__gather___gatherish_gen_____await__, +}; +PyObject *CPyDef__gather_____mypyc__gatherish_gen_setup(PyObject *cpy_r_type); +PyObject *CPyDef__gather___gatherish_gen(void); + +static PyObject * +_gather___gatherish_gen_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType__gather___gatherish_gen) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef__gather_____mypyc__gatherish_gen_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +_gather___gatherish_gen_traverse(dank_mids___helpers____gather___gatherish_genObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_generator_attribute__coros); + Py_VISIT(self->___mypyc_generator_attribute__name); + Py_VISIT(self->___mypyc_generator_attribute__loop); + Py_VISIT(self->___mypyc_temp__0); + Py_VISIT(self->___mypyc_temp__1); + Py_VISIT(self->___mypyc_temp__2); + Py_VISIT(self->___mypyc_generator_attribute__coro); + Py_VISIT(self->___mypyc_generator_attribute__tasks); + Py_VISIT(self->___mypyc_temp__3); + Py_VISIT(self->___mypyc_temp__4.f0); + Py_VISIT(self->___mypyc_temp__4.f1); + Py_VISIT(self->___mypyc_temp__4.f2); + Py_VISIT(self->___mypyc_temp__5); + Py_VISIT(self->___mypyc_temp__6.f0); + Py_VISIT(self->___mypyc_temp__6.f1); + Py_VISIT(self->___mypyc_temp__6.f2); + Py_VISIT(self->___mypyc_temp__7); + Py_VISIT(self->___mypyc_temp__8); + Py_VISIT(self->___mypyc_generator_attribute__task); + Py_VISIT(self->___mypyc_temp__9); + Py_VISIT(self->___mypyc_temp__10.f0); + Py_VISIT(self->___mypyc_temp__10.f1); + Py_VISIT(self->___mypyc_temp__10.f2); + Py_VISIT(self->___mypyc_temp__11.f0); + Py_VISIT(self->___mypyc_temp__11.f1); + Py_VISIT(self->___mypyc_temp__11.f2); + Py_VISIT(self->___mypyc_temp__12); + Py_VISIT(self->___mypyc_temp__13); + Py_VISIT(self->___mypyc_temp__14); + Py_VISIT(self->___mypyc_temp__15.f0); + Py_VISIT(self->___mypyc_temp__15.f1); + Py_VISIT(self->___mypyc_temp__15.f2); + Py_VISIT(self->___mypyc_temp__16.f0); + Py_VISIT(self->___mypyc_temp__16.f1); + Py_VISIT(self->___mypyc_temp__16.f2); + return 0; +} + +static int +_gather___gatherish_gen_clear(dank_mids___helpers____gather___gatherish_genObject *self) +{ + Py_CLEAR(self->___mypyc_generator_attribute__coros); + Py_CLEAR(self->___mypyc_generator_attribute__name); + Py_CLEAR(self->___mypyc_generator_attribute__loop); + Py_CLEAR(self->___mypyc_temp__0); + Py_CLEAR(self->___mypyc_temp__1); + Py_CLEAR(self->___mypyc_temp__2); + Py_CLEAR(self->___mypyc_generator_attribute__coro); + Py_CLEAR(self->___mypyc_generator_attribute__tasks); + Py_CLEAR(self->___mypyc_temp__3); + Py_CLEAR(self->___mypyc_temp__4.f0); + Py_CLEAR(self->___mypyc_temp__4.f1); + Py_CLEAR(self->___mypyc_temp__4.f2); + Py_CLEAR(self->___mypyc_temp__5); + Py_CLEAR(self->___mypyc_temp__6.f0); + Py_CLEAR(self->___mypyc_temp__6.f1); + Py_CLEAR(self->___mypyc_temp__6.f2); + Py_CLEAR(self->___mypyc_temp__7); + Py_CLEAR(self->___mypyc_temp__8); + Py_CLEAR(self->___mypyc_generator_attribute__task); + Py_CLEAR(self->___mypyc_temp__9); + Py_CLEAR(self->___mypyc_temp__10.f0); + Py_CLEAR(self->___mypyc_temp__10.f1); + Py_CLEAR(self->___mypyc_temp__10.f2); + Py_CLEAR(self->___mypyc_temp__11.f0); + Py_CLEAR(self->___mypyc_temp__11.f1); + Py_CLEAR(self->___mypyc_temp__11.f2); + Py_CLEAR(self->___mypyc_temp__12); + Py_CLEAR(self->___mypyc_temp__13); + Py_CLEAR(self->___mypyc_temp__14); + Py_CLEAR(self->___mypyc_temp__15.f0); + Py_CLEAR(self->___mypyc_temp__15.f1); + Py_CLEAR(self->___mypyc_temp__15.f2); + Py_CLEAR(self->___mypyc_temp__16.f0); + Py_CLEAR(self->___mypyc_temp__16.f1); + Py_CLEAR(self->___mypyc_temp__16.f2); + return 0; +} + +static void +_gather___gatherish_gen_dealloc(dank_mids___helpers____gather___gatherish_genObject *self) +{ + PyObject_GC_UnTrack(self); + if (_gather___gatherish_gen_free_instance == NULL) { + _gather___gatherish_gen_free_instance = self; + Py_CLEAR(self->___mypyc_generator_attribute__coros); + Py_CLEAR(self->___mypyc_generator_attribute__name); + self->___mypyc_next_label__ = -113; + Py_CLEAR(self->___mypyc_generator_attribute__loop); + Py_CLEAR(self->___mypyc_temp__0); + Py_CLEAR(self->___mypyc_temp__1); + Py_CLEAR(self->___mypyc_temp__2); + Py_CLEAR(self->___mypyc_generator_attribute__coro); + Py_CLEAR(self->___mypyc_generator_attribute__tasks); + Py_CLEAR(self->___mypyc_temp__3); + Py_CLEAR(self->___mypyc_temp__4.f0); + Py_CLEAR(self->___mypyc_temp__4.f1); + Py_CLEAR(self->___mypyc_temp__4.f2); + Py_CLEAR(self->___mypyc_temp__5); + Py_CLEAR(self->___mypyc_temp__6.f0); + Py_CLEAR(self->___mypyc_temp__6.f1); + Py_CLEAR(self->___mypyc_temp__6.f2); + Py_CLEAR(self->___mypyc_temp__7); + Py_CLEAR(self->___mypyc_temp__8); + Py_CLEAR(self->___mypyc_generator_attribute__task); + Py_CLEAR(self->___mypyc_temp__9); + Py_CLEAR(self->___mypyc_temp__10.f0); + Py_CLEAR(self->___mypyc_temp__10.f1); + Py_CLEAR(self->___mypyc_temp__10.f2); + Py_CLEAR(self->___mypyc_temp__11.f0); + Py_CLEAR(self->___mypyc_temp__11.f1); + Py_CLEAR(self->___mypyc_temp__11.f2); + Py_CLEAR(self->___mypyc_temp__12); + Py_CLEAR(self->___mypyc_temp__13); + Py_CLEAR(self->___mypyc_temp__14); + Py_CLEAR(self->___mypyc_temp__15.f0); + Py_CLEAR(self->___mypyc_temp__15.f1); + Py_CLEAR(self->___mypyc_temp__15.f2); + Py_CLEAR(self->___mypyc_temp__16.f0); + Py_CLEAR(self->___mypyc_temp__16.f1); + Py_CLEAR(self->___mypyc_temp__16.f2); + return; + } + CPy_TRASHCAN_BEGIN(self, _gather___gatherish_gen_dealloc) + _gather___gatherish_gen_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem _gather___gatherish_gen_vtable[7]; +static bool +CPyDef__gather___gatherish_gen_trait_vtable_setup(void) +{ + CPyVTableItem _gather___gatherish_gen_vtable_scratch[] = { + (CPyVTableItem)CPyDef__gather___gatherish_gen_____mypyc_generator_helper__, + (CPyVTableItem)CPyDef__gather___gatherish_gen_____next__, + (CPyVTableItem)CPyDef__gather___gatherish_gen___send, + (CPyVTableItem)CPyDef__gather___gatherish_gen_____iter__, + (CPyVTableItem)CPyDef__gather___gatherish_gen___throw, + (CPyVTableItem)CPyDef__gather___gatherish_gen___close, + (CPyVTableItem)CPyDef__gather___gatherish_gen_____await__, + }; + memcpy(_gather___gatherish_gen_vtable, _gather___gatherish_gen_vtable_scratch, sizeof(_gather___gatherish_gen_vtable)); + return 1; +} + +static PyMethodDef _gather___gatherish_gen_methods[] = { + {"__next__", + (PyCFunction)CPyPy__gather___gatherish_gen_____next__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__next__()\n--\n\n")}, + {"send", + (PyCFunction)CPyPy__gather___gatherish_gen___send, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("send($arg)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy__gather___gatherish_gen_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__()\n--\n\n")}, + {"throw", + (PyCFunction)CPyPy__gather___gatherish_gen___throw, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"close", + (PyCFunction)CPyPy__gather___gatherish_gen___close, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("close()\n--\n\n")}, + {"__await__", + (PyCFunction)CPyPy__gather___gatherish_gen_____await__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__await__()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__gather___gatherish_gen_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "gatherish_gen", + .tp_new = _gather___gatherish_gen_new, + .tp_dealloc = (destructor)_gather___gatherish_gen_dealloc, + .tp_traverse = (traverseproc)_gather___gatherish_gen_traverse, + .tp_clear = (inquiry)_gather___gatherish_gen_clear, + .tp_methods = _gather___gatherish_gen_methods, + .tp_iter = CPyDef__gather___gatherish_gen_____iter__, + .tp_iternext = CPyDef__gather___gatherish_gen_____next__, + .tp_as_async = &_gather___gatherish_gen_as_async, + .tp_basicsize = sizeof(dank_mids___helpers____gather___gatherish_genObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("gatherish_gen()\n--\n\n"), +}; +static PyTypeObject *CPyType__gather___gatherish_gen_template = &CPyType__gather___gatherish_gen_template_; + +PyObject *CPyDef__gather_____mypyc__gatherish_gen_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___helpers____gather___gatherish_genObject *self; + if (_gather___gatherish_gen_free_instance != NULL) { + self = _gather___gatherish_gen_free_instance; + _gather___gatherish_gen_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___helpers____gather___gatherish_genObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = _gather___gatherish_gen_vtable; + self->___mypyc_next_label__ = -113; + self->___mypyc_temp__4 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__6 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__10 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__11 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__15 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__16 = (tuple_T3OOO) { NULL, NULL, NULL }; + return (PyObject *)self; +} + +PyObject *CPyDef__gather___gatherish_gen(void) +{ + PyObject *self = CPyDef__gather_____mypyc__gatherish_gen_setup((PyObject *)CPyType__gather___gatherish_gen); + if (self == NULL) + return NULL; + return self; +} + + +static PyAsyncMethods _gather___first_completed_gen_as_async = { + .am_await = CPyDef__gather___first_completed_gen_____await__, +}; +PyObject *CPyDef__gather_____mypyc__first_completed_gen_setup(PyObject *cpy_r_type); +PyObject *CPyDef__gather___first_completed_gen(void); + +static PyObject * +_gather___first_completed_gen_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType__gather___first_completed_gen) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef__gather_____mypyc__first_completed_gen_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +_gather___first_completed_gen_traverse(dank_mids___helpers____gather___first_completed_genObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_generator_attribute__fs); + Py_VISIT(self->___mypyc_temp__17); + Py_VISIT(self->___mypyc_temp__18.f0); + Py_VISIT(self->___mypyc_temp__18.f1); + Py_VISIT(self->___mypyc_temp__18.f2); + Py_VISIT(self->___mypyc_temp__19); + Py_VISIT(self->___mypyc_temp__20.f0); + Py_VISIT(self->___mypyc_temp__20.f1); + Py_VISIT(self->___mypyc_temp__20.f2); + Py_VISIT(self->___mypyc_generator_attribute__done); + Py_VISIT(self->___mypyc_generator_attribute__pending); + Py_VISIT(self->___mypyc_temp__21); + Py_VISIT(self->___mypyc_temp__22); + Py_VISIT(self->___mypyc_generator_attribute__p); + return 0; +} + +static int +_gather___first_completed_gen_clear(dank_mids___helpers____gather___first_completed_genObject *self) +{ + Py_CLEAR(self->___mypyc_generator_attribute__fs); + Py_CLEAR(self->___mypyc_temp__17); + Py_CLEAR(self->___mypyc_temp__18.f0); + Py_CLEAR(self->___mypyc_temp__18.f1); + Py_CLEAR(self->___mypyc_temp__18.f2); + Py_CLEAR(self->___mypyc_temp__19); + Py_CLEAR(self->___mypyc_temp__20.f0); + Py_CLEAR(self->___mypyc_temp__20.f1); + Py_CLEAR(self->___mypyc_temp__20.f2); + Py_CLEAR(self->___mypyc_generator_attribute__done); + Py_CLEAR(self->___mypyc_generator_attribute__pending); + Py_CLEAR(self->___mypyc_temp__21); + Py_CLEAR(self->___mypyc_temp__22); + Py_CLEAR(self->___mypyc_generator_attribute__p); + return 0; +} + +static void +_gather___first_completed_gen_dealloc(dank_mids___helpers____gather___first_completed_genObject *self) +{ + PyObject_GC_UnTrack(self); + if (_gather___first_completed_gen_free_instance == NULL) { + _gather___first_completed_gen_free_instance = self; + Py_CLEAR(self->___mypyc_generator_attribute__fs); + self->___mypyc_generator_attribute__cancel = 2; + self->___mypyc_next_label__ = -113; + Py_CLEAR(self->___mypyc_temp__17); + Py_CLEAR(self->___mypyc_temp__18.f0); + Py_CLEAR(self->___mypyc_temp__18.f1); + Py_CLEAR(self->___mypyc_temp__18.f2); + Py_CLEAR(self->___mypyc_temp__19); + Py_CLEAR(self->___mypyc_temp__20.f0); + Py_CLEAR(self->___mypyc_temp__20.f1); + Py_CLEAR(self->___mypyc_temp__20.f2); + Py_CLEAR(self->___mypyc_generator_attribute__done); + Py_CLEAR(self->___mypyc_generator_attribute__pending); + Py_CLEAR(self->___mypyc_temp__21); + Py_CLEAR(self->___mypyc_temp__22); + Py_CLEAR(self->___mypyc_generator_attribute__p); + return; + } + CPy_TRASHCAN_BEGIN(self, _gather___first_completed_gen_dealloc) + _gather___first_completed_gen_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem _gather___first_completed_gen_vtable[7]; +static bool +CPyDef__gather___first_completed_gen_trait_vtable_setup(void) +{ + CPyVTableItem _gather___first_completed_gen_vtable_scratch[] = { + (CPyVTableItem)CPyDef__gather___first_completed_gen_____mypyc_generator_helper__, + (CPyVTableItem)CPyDef__gather___first_completed_gen_____next__, + (CPyVTableItem)CPyDef__gather___first_completed_gen___send, + (CPyVTableItem)CPyDef__gather___first_completed_gen_____iter__, + (CPyVTableItem)CPyDef__gather___first_completed_gen___throw, + (CPyVTableItem)CPyDef__gather___first_completed_gen___close, + (CPyVTableItem)CPyDef__gather___first_completed_gen_____await__, + }; + memcpy(_gather___first_completed_gen_vtable, _gather___first_completed_gen_vtable_scratch, sizeof(_gather___first_completed_gen_vtable)); + return 1; +} + +static PyMethodDef _gather___first_completed_gen_methods[] = { + {"__next__", + (PyCFunction)CPyPy__gather___first_completed_gen_____next__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__next__()\n--\n\n")}, + {"send", + (PyCFunction)CPyPy__gather___first_completed_gen___send, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("send($arg)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy__gather___first_completed_gen_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__()\n--\n\n")}, + {"throw", + (PyCFunction)CPyPy__gather___first_completed_gen___throw, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"close", + (PyCFunction)CPyPy__gather___first_completed_gen___close, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("close()\n--\n\n")}, + {"__await__", + (PyCFunction)CPyPy__gather___first_completed_gen_____await__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__await__()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__gather___first_completed_gen_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "first_completed_gen", + .tp_new = _gather___first_completed_gen_new, + .tp_dealloc = (destructor)_gather___first_completed_gen_dealloc, + .tp_traverse = (traverseproc)_gather___first_completed_gen_traverse, + .tp_clear = (inquiry)_gather___first_completed_gen_clear, + .tp_methods = _gather___first_completed_gen_methods, + .tp_iter = CPyDef__gather___first_completed_gen_____iter__, + .tp_iternext = CPyDef__gather___first_completed_gen_____next__, + .tp_as_async = &_gather___first_completed_gen_as_async, + .tp_basicsize = sizeof(dank_mids___helpers____gather___first_completed_genObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("first_completed_gen()\n--\n\n"), +}; +static PyTypeObject *CPyType__gather___first_completed_gen_template = &CPyType__gather___first_completed_gen_template_; + +PyObject *CPyDef__gather_____mypyc__first_completed_gen_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___helpers____gather___first_completed_genObject *self; + if (_gather___first_completed_gen_free_instance != NULL) { + self = _gather___first_completed_gen_free_instance; + _gather___first_completed_gen_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___helpers____gather___first_completed_genObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = _gather___first_completed_gen_vtable; + self->___mypyc_generator_attribute__cancel = 2; + self->___mypyc_next_label__ = -113; + self->___mypyc_temp__18 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__20 = (tuple_T3OOO) { NULL, NULL, NULL }; + return (PyObject *)self; +} + +PyObject *CPyDef__gather___first_completed_gen(void) +{ + PyObject *self = CPyDef__gather_____mypyc__first_completed_gen_setup((PyObject *)CPyType__gather___first_completed_gen); + if (self == NULL) + return NULL; + return self; +} + +static PyMethodDef _gathermodule_methods[] = { + {"gatherish", (PyCFunction)CPyPy__gather___gatherish, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("gatherish(coros, *, name=None)\n--\n\n") /* docstring */}, + {"first_completed", (PyCFunction)CPyPy__gather___first_completed, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("first_completed(*fs, cancel=False)\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___helpers____gather(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___helpers____gather__internal, "__name__"); + CPyStatic__gather___globals = PyModule_GetDict(CPyModule_dank_mids___helpers____gather__internal); + if (unlikely(CPyStatic__gather___globals == NULL)) + goto fail; + CPyType__gather___gatherish_gen = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType__gather___gatherish_gen_template, NULL, modname); + if (unlikely(!CPyType__gather___gatherish_gen)) + goto fail; + CPyType__gather___first_completed_gen = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType__gather___first_completed_gen_template, NULL, modname); + if (unlikely(!CPyType__gather___first_completed_gen)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef__gather_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___helpers____gather__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic__gather___Task); + CPyStatic__gather___Task = NULL; + CPy_XDECREF(CPyStatic__gather___get_running_loop); + CPyStatic__gather___get_running_loop = NULL; + CPy_XDECREF(CPyStatic__gather___wait); + CPyStatic__gather___wait = NULL; + CPy_XDECREF(CPyStatic__gather___yield_to_loop); + CPyStatic__gather___yield_to_loop = NULL; + Py_CLEAR(CPyType__gather___gatherish_gen); + Py_CLEAR(CPyType__gather___first_completed_gen); + return -1; +} +static struct PyModuleDef _gathermodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.helpers._gather", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + _gathermodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___helpers____gather(void) +{ + if (CPyModule_dank_mids___helpers____gather__internal) { + Py_INCREF(CPyModule_dank_mids___helpers____gather__internal); + return CPyModule_dank_mids___helpers____gather__internal; + } + CPyModule_dank_mids___helpers____gather__internal = PyModule_Create(&_gathermodule); + if (unlikely(CPyModule_dank_mids___helpers____gather__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___helpers____gather(CPyModule_dank_mids___helpers____gather__internal) != 0) + goto fail; + return CPyModule_dank_mids___helpers____gather__internal; + fail: + return NULL; +} + +PyObject *CPyDef__gather___gatherish_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + int32_t cpy_r_r8; + PyObject *cpy_r_r9; + char cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + char cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + char cpy_r_r19; + char cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + char cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + char cpy_r_r28; + PyObject **cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + int32_t cpy_r_r34; + char cpy_r_r35; + char cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + char cpy_r_r39; + PyObject *cpy_r_r40; + char cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + char cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + char cpy_r_r50; + PyObject *cpy_r_r51; + char cpy_r_r52; + PyObject *cpy_r_r53; + char cpy_r_r54; + tuple_T3OOO cpy_r_r55; + char cpy_r_r56; + PyObject **cpy_r_r57; + PyObject *cpy_r_r58; + char cpy_r_r59; + tuple_T3OOO cpy_r_r60; + tuple_T3OOO cpy_r_r61; + tuple_T3OOO cpy_r_r62; + char cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + char cpy_r_r68; + PyObject *cpy_r_r69; + PyObject *cpy_r_r70; + char cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + char cpy_r_r77; + PyObject *cpy_r_r78; + char cpy_r_r79; + PyObject *cpy_r_r80; + char cpy_r_r81; + tuple_T3OOO cpy_r_r82; + char cpy_r_r83; + PyObject **cpy_r_r84; + PyObject *cpy_r_r85; + char cpy_r_r86; + tuple_T3OOO cpy_r_r87; + tuple_T3OOO cpy_r_r88; + tuple_T3OOO cpy_r_r89; + char cpy_r_r90; + PyObject *cpy_r_r91; + PyObject *cpy_r_r92; + PyObject *cpy_r_r93; + PyObject *cpy_r_r94; + PyObject *cpy_r_r95; + char cpy_r_r96; + char cpy_r_r97; + PyObject *cpy_r_r98; + PyObject *cpy_r_r99; + char cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + char cpy_r_r103; + PyObject *cpy_r_r104; + PyObject *cpy_r_r105; + PyObject *cpy_r_r106; + PyObject *cpy_r_r107; + PyObject *cpy_r_r108; + char cpy_r_r109; + PyObject *cpy_r_r110; + char cpy_r_r111; + PyObject *cpy_r_r112; + char cpy_r_r113; + tuple_T3OOO cpy_r_r114; + char cpy_r_r115; + PyObject **cpy_r_r116; + PyObject *cpy_r_r117; + char cpy_r_r118; + tuple_T3OOO cpy_r_r119; + tuple_T3OOO cpy_r_r120; + tuple_T3OOO cpy_r_r121; + char cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + tuple_T3OOO cpy_r_r126; + char cpy_r_r127; + PyObject *cpy_r_r128; + PyObject *cpy_r_r129; + PyObject *cpy_r_r130; + char cpy_r_r131; + PyObject *cpy_r_r132; + PyObject *cpy_r_r133; + char cpy_r_r134; + char cpy_r_r135; + PyObject *cpy_r_r136; + PyObject *cpy_r_r137; + char cpy_r_r138; + PyObject *cpy_r_r139; + PyObject *cpy_r_r140; + char cpy_r_r141; + PyObject *cpy_r_r142; + PyObject *cpy_r_r143; + PyObject *cpy_r_r144; + PyObject *cpy_r_r145; + PyObject *cpy_r_r146; + char cpy_r_r147; + PyObject *cpy_r_r148; + char cpy_r_r149; + PyObject *cpy_r_r150; + char cpy_r_r151; + tuple_T3OOO cpy_r_r152; + char cpy_r_r153; + PyObject **cpy_r_r154; + PyObject *cpy_r_r155; + char cpy_r_r156; + tuple_T3OOO cpy_r_r157; + tuple_T3OOO cpy_r_r158; + tuple_T3OOO cpy_r_r159; + char cpy_r_r160; + PyObject *cpy_r_r161; + PyObject *cpy_r_r162; + PyObject *cpy_r_r163; + tuple_T3OOO cpy_r_r164; + char cpy_r_r165; + PyObject *cpy_r_r166; + PyObject *cpy_r_r167; + PyObject *cpy_r_r168; + char cpy_r_r169; + tuple_T3OOO cpy_r_r170; + tuple_T3OOO cpy_r_r171; + char cpy_r_r172; + char cpy_r_r173; + tuple_T3OOO cpy_r_r174; + char cpy_r_r175; + char cpy_r_r176; + PyObject *cpy_r_r177; + char cpy_r_r178; + char cpy_r_r179; + char cpy_r_r180; + char cpy_r_r181; + char cpy_r_r182; + char cpy_r_r183; + char cpy_r_r184; + PyObject *cpy_r_r185; + cpy_r_r0 = NULL; + cpy_r_r1 = cpy_r_r0; + cpy_r_r2 = NULL; + cpy_r_r3 = cpy_r_r2; + cpy_r_r4 = NULL; + cpy_r_r5 = cpy_r_r4; + cpy_r_r6 = NULL; + cpy_r_r7 = cpy_r_r6; + cpy_r_r8 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__; + goto CPyL194; +CPyL1: ; + cpy_r_r9 = (PyObject *)&_Py_NoneStruct; + cpy_r_r10 = cpy_r_type != cpy_r_r9; + if (!cpy_r_r10) goto CPyL4; + 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); + goto CPyL201; + } + CPy_Unreachable(); +CPyL4: ; + cpy_r_r11 = CPyStatic__gather___get_running_loop; + if (likely(cpy_r_r11 != NULL)) goto CPyL7; + PyErr_SetString(PyExc_NameError, "value for final name \"get_running_loop\" was not set"); + cpy_r_r12 = 0; + if (unlikely(!cpy_r_r12)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 41, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_Unreachable(); +CPyL7: ; + cpy_r_r13 = PyObject_Vectorcall(cpy_r_r11, 0, 0, 0); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 41, CPyStatic__gather___globals); + goto CPyL201; + } + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__loop != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__loop); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__loop = cpy_r_r13; + cpy_r_r14 = 1; + if (unlikely(!cpy_r_r14)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 41, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r15 = PyList_New(0); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + goto CPyL201; + } + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 = cpy_r_r15; + cpy_r_r16 = 1; + if (unlikely(!cpy_r_r16)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r17 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__coros; + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "coros", 44, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_INCREF(cpy_r_r17); +CPyL12: ; + cpy_r_r18 = PyObject_GetIter(cpy_r_r17); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + goto CPyL202; + } + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1 = cpy_r_r17; + cpy_r_r19 = 1; + if (unlikely(!cpy_r_r19)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL203; + } + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__2 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__2); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__2 = cpy_r_r18; + cpy_r_r20 = 1; + if (unlikely(!cpy_r_r20)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL201; + } +CPyL15: ; + cpy_r_r21 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__2; + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__2", 44, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_INCREF(cpy_r_r21); +CPyL16: ; + cpy_r_r22 = PyIter_Next(cpy_r_r21); + CPy_DECREF(cpy_r_r21); + if (cpy_r_r22 == NULL) goto CPyL27; + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__coro != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__coro); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__coro = cpy_r_r22; + cpy_r_r23 = 1; + if (unlikely(!cpy_r_r23)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r24 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__coro; + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "coro", 44, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_INCREF(cpy_r_r24); +CPyL19: ; + cpy_r_r25 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__loop; + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "loop", 44, CPyStatic__gather___globals); + goto CPyL204; + } + CPy_INCREF(cpy_r_r25); +CPyL20: ; + cpy_r_r26 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__name; + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "name", 44, CPyStatic__gather___globals); + goto CPyL205; + } + CPy_INCREF(cpy_r_r26); +CPyL21: ; + cpy_r_r27 = CPyStatic__gather___Task; + if (unlikely(cpy_r_r27 == NULL)) { + goto CPyL206; + } else + goto CPyL24; +CPyL22: ; + PyErr_SetString(PyExc_NameError, "value for final name \"Task\" was not set"); + cpy_r_r28 = 0; + if (unlikely(!cpy_r_r28)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_Unreachable(); +CPyL24: ; + PyObject *cpy_r_r29[3] = {cpy_r_r24, cpy_r_r25, cpy_r_r26}; + cpy_r_r30 = (PyObject **)&cpy_r_r29; + cpy_r_r31 = CPyStatics[1026]; /* ('loop', 'name') */ + cpy_r_r32 = PyObject_Vectorcall(cpy_r_r27, cpy_r_r30, 1, cpy_r_r31); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + goto CPyL207; + } + CPy_DECREF(cpy_r_r24); + CPy_DECREF(cpy_r_r25); + CPy_DECREF(cpy_r_r26); + cpy_r_r33 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0; + if (unlikely(cpy_r_r33 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__0", -1, CPyStatic__gather___globals); + goto CPyL208; + } + CPy_INCREF_NO_IMM(cpy_r_r33); +CPyL26: ; + cpy_r_r34 = PyList_Append(cpy_r_r33, cpy_r_r32); + CPy_DECREF_NO_IMM(cpy_r_r33); + CPy_DECREF(cpy_r_r32); + cpy_r_r35 = cpy_r_r34 >= 0; + if (unlikely(!cpy_r_r35)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + goto CPyL201; + } else + goto CPyL15; +CPyL27: ; + cpy_r_r36 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r36)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r37 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0; + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__0", -1, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_INCREF_NO_IMM(cpy_r_r37); +CPyL29: ; + cpy_r_r38 = PyObject_GetIter(cpy_r_r37); + CPy_DECREF_NO_IMM(cpy_r_r37); + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + goto CPyL201; + } + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__tasks != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__tasks); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__tasks = cpy_r_r38; + cpy_r_r39 = 1; + if (unlikely(!cpy_r_r39)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r40 = CPyStatic__gather___yield_to_loop; + if (likely(cpy_r_r40 != NULL)) goto CPyL34; + PyErr_SetString(PyExc_NameError, "value for final name \"yield_to_loop\" was not set"); + cpy_r_r41 = 0; + if (unlikely(!cpy_r_r41)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_Unreachable(); +CPyL34: ; + cpy_r_r42 = PyObject_Vectorcall(cpy_r_r40, 0, 0, 0); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r43 = CPy_GetCoro(cpy_r_r42); + CPy_DECREF(cpy_r_r42); + if (unlikely(cpy_r_r43 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + goto CPyL201; + } + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3 = cpy_r_r43; + cpy_r_r44 = 1; + if (unlikely(!cpy_r_r44)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r45 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3; + if (unlikely(cpy_r_r45 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__3", -1, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_INCREF(cpy_r_r45); +CPyL38: ; + cpy_r_r46 = CPyIter_Next(cpy_r_r45); + CPy_DECREF(cpy_r_r45); + if (cpy_r_r46 != NULL) goto CPyL41; + cpy_r_r47 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r47 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r48 = cpy_r_r47; + CPy_DECREF(cpy_r_r48); + cpy_r_r49 = NULL; + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3 = cpy_r_r49; + cpy_r_r50 = 1; + if (unlikely(!cpy_r_r50)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + goto CPyL201; + } else + goto CPyL63; +CPyL41: ; + cpy_r_r51 = cpy_r_r46; +CPyL42: ; + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 1; + return cpy_r_r51; +CPyL43: ; + cpy_r_r53 = (PyObject *)&_Py_NoneStruct; + cpy_r_r54 = cpy_r_type != cpy_r_r53; + if (!cpy_r_r54) goto CPyL209; + 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); + goto CPyL47; + } else + goto CPyL210; +CPyL45: ; + CPy_Unreachable(); +CPyL46: ; + CPy_INCREF(cpy_r_arg); + goto CPyL58; +CPyL47: ; + cpy_r_r55 = CPy_CatchError(); + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__4.f0 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__4.f0); + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__4.f1); + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__4.f2); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__4 = cpy_r_r55; + cpy_r_r56 = 1; + if (unlikely(!cpy_r_r56)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL211; + } + cpy_r_r57 = (PyObject **)&cpy_r_r1; + cpy_r_r58 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3; + if (unlikely(cpy_r_r58 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__3", -1, CPyStatic__gather___globals); + goto CPyL211; + } + CPy_INCREF(cpy_r_r58); +CPyL49: ; + cpy_r_r59 = CPy_YieldFromErrorHandle(cpy_r_r58, cpy_r_r57); + CPy_DecRef(cpy_r_r58); + if (unlikely(cpy_r_r59 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + goto CPyL211; + } + if (cpy_r_r59) goto CPyL53; + cpy_r_r51 = cpy_r_r1; + cpy_r_r60 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__4; + if (unlikely(cpy_r_r60.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__4", -1, CPyStatic__gather___globals); + goto CPyL212; + } + CPy_INCREF(cpy_r_r60.f0); + CPy_INCREF(cpy_r_r60.f1); + CPy_INCREF(cpy_r_r60.f2); +CPyL52: ; + CPy_RestoreExcInfo(cpy_r_r60); + CPy_DecRef(cpy_r_r60.f0); + CPy_DecRef(cpy_r_r60.f1); + CPy_DecRef(cpy_r_r60.f2); + goto CPyL42; +CPyL53: ; + cpy_r_r48 = cpy_r_r1; + CPy_DecRef(cpy_r_r48); + cpy_r_r61 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__4; + if (unlikely(cpy_r_r61.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__4", -1, CPyStatic__gather___globals); + goto CPyL55; + } + CPy_INCREF(cpy_r_r61.f0); + CPy_INCREF(cpy_r_r61.f1); + CPy_INCREF(cpy_r_r61.f2); +CPyL54: ; + CPy_RestoreExcInfo(cpy_r_r61); + CPy_DecRef(cpy_r_r61.f0); + CPy_DecRef(cpy_r_r61.f1); + CPy_DecRef(cpy_r_r61.f2); + goto CPyL63; +CPyL55: ; + cpy_r_r62 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__4; + if (unlikely(cpy_r_r62.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__4", -1, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_INCREF(cpy_r_r62.f0); + CPy_INCREF(cpy_r_r62.f1); + CPy_INCREF(cpy_r_r62.f2); +CPyL56: ; + CPy_RestoreExcInfo(cpy_r_r62); + CPy_DecRef(cpy_r_r62.f0); + CPy_DecRef(cpy_r_r62.f1); + CPy_DecRef(cpy_r_r62.f2); + cpy_r_r63 = CPy_KeepPropagating(); + if (!cpy_r_r63) goto CPyL201; + CPy_Unreachable(); +CPyL58: ; + cpy_r_r64 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3; + if (unlikely(cpy_r_r64 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__3", -1, CPyStatic__gather___globals); + goto CPyL213; + } + CPy_INCREF(cpy_r_r64); +CPyL59: ; + cpy_r_r65 = CPyIter_Send(cpy_r_r64, cpy_r_arg); + CPy_DECREF(cpy_r_r64); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r65 == NULL) goto CPyL61; + cpy_r_r51 = cpy_r_r65; + goto CPyL42; +CPyL61: ; + cpy_r_r66 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r66 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r48 = cpy_r_r66; + CPy_DECREF(cpy_r_r48); +CPyL63: ; + cpy_r_r67 = CPyStatic__gather___yield_to_loop; + if (likely(cpy_r_r67 != NULL)) goto CPyL66; + PyErr_SetString(PyExc_NameError, "value for final name \"yield_to_loop\" was not set"); + cpy_r_r68 = 0; + if (unlikely(!cpy_r_r68)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_Unreachable(); +CPyL66: ; + cpy_r_r69 = PyObject_Vectorcall(cpy_r_r67, 0, 0, 0); + if (unlikely(cpy_r_r69 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r70 = CPy_GetCoro(cpy_r_r69); + CPy_DECREF(cpy_r_r69); + if (unlikely(cpy_r_r70 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + goto CPyL201; + } + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__5 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__5); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__5 = cpy_r_r70; + cpy_r_r71 = 1; + if (unlikely(!cpy_r_r71)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r72 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__5; + if (unlikely(cpy_r_r72 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__5", -1, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_INCREF(cpy_r_r72); +CPyL70: ; + cpy_r_r73 = CPyIter_Next(cpy_r_r72); + CPy_DECREF(cpy_r_r72); + if (cpy_r_r73 != NULL) goto CPyL73; + cpy_r_r74 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r74 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r75 = cpy_r_r74; + CPy_DECREF(cpy_r_r75); + cpy_r_r76 = NULL; + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__5 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__5); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__5 = cpy_r_r76; + cpy_r_r77 = 1; + if (unlikely(!cpy_r_r77)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + goto CPyL201; + } else + goto CPyL95; +CPyL73: ; + cpy_r_r78 = cpy_r_r73; +CPyL74: ; + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 2; + return cpy_r_r78; +CPyL75: ; + cpy_r_r80 = (PyObject *)&_Py_NoneStruct; + cpy_r_r81 = cpy_r_type != cpy_r_r80; + if (!cpy_r_r81) goto CPyL214; + 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); + goto CPyL79; + } else + goto CPyL215; +CPyL77: ; + CPy_Unreachable(); +CPyL78: ; + CPy_INCREF(cpy_r_arg); + goto CPyL90; +CPyL79: ; + cpy_r_r82 = CPy_CatchError(); + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6.f0 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6.f0); + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6.f1); + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6.f2); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6 = cpy_r_r82; + cpy_r_r83 = 1; + if (unlikely(!cpy_r_r83)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL216; + } + cpy_r_r84 = (PyObject **)&cpy_r_r3; + cpy_r_r85 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__5; + if (unlikely(cpy_r_r85 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__5", -1, CPyStatic__gather___globals); + goto CPyL216; + } + CPy_INCREF(cpy_r_r85); +CPyL81: ; + cpy_r_r86 = CPy_YieldFromErrorHandle(cpy_r_r85, cpy_r_r84); + CPy_DecRef(cpy_r_r85); + if (unlikely(cpy_r_r86 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + goto CPyL216; + } + if (cpy_r_r86) goto CPyL85; + cpy_r_r78 = cpy_r_r3; + cpy_r_r87 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6; + if (unlikely(cpy_r_r87.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__6", -1, CPyStatic__gather___globals); + goto CPyL217; + } + CPy_INCREF(cpy_r_r87.f0); + CPy_INCREF(cpy_r_r87.f1); + CPy_INCREF(cpy_r_r87.f2); +CPyL84: ; + CPy_RestoreExcInfo(cpy_r_r87); + CPy_DecRef(cpy_r_r87.f0); + CPy_DecRef(cpy_r_r87.f1); + CPy_DecRef(cpy_r_r87.f2); + goto CPyL74; +CPyL85: ; + cpy_r_r75 = cpy_r_r3; + CPy_DecRef(cpy_r_r75); + cpy_r_r88 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6; + if (unlikely(cpy_r_r88.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__6", -1, CPyStatic__gather___globals); + goto CPyL87; + } + CPy_INCREF(cpy_r_r88.f0); + CPy_INCREF(cpy_r_r88.f1); + CPy_INCREF(cpy_r_r88.f2); +CPyL86: ; + CPy_RestoreExcInfo(cpy_r_r88); + CPy_DecRef(cpy_r_r88.f0); + CPy_DecRef(cpy_r_r88.f1); + CPy_DecRef(cpy_r_r88.f2); + goto CPyL95; +CPyL87: ; + cpy_r_r89 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__6; + if (unlikely(cpy_r_r89.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__6", -1, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_INCREF(cpy_r_r89.f0); + CPy_INCREF(cpy_r_r89.f1); + CPy_INCREF(cpy_r_r89.f2); +CPyL88: ; + CPy_RestoreExcInfo(cpy_r_r89); + CPy_DecRef(cpy_r_r89.f0); + CPy_DecRef(cpy_r_r89.f1); + CPy_DecRef(cpy_r_r89.f2); + cpy_r_r90 = CPy_KeepPropagating(); + if (!cpy_r_r90) goto CPyL201; + CPy_Unreachable(); +CPyL90: ; + cpy_r_r91 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__5; + if (unlikely(cpy_r_r91 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__5", -1, CPyStatic__gather___globals); + goto CPyL218; + } + CPy_INCREF(cpy_r_r91); +CPyL91: ; + cpy_r_r92 = CPyIter_Send(cpy_r_r91, cpy_r_arg); + CPy_DECREF(cpy_r_r91); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r92 == NULL) goto CPyL93; + cpy_r_r78 = cpy_r_r92; + goto CPyL74; +CPyL93: ; + cpy_r_r93 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r93 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r75 = cpy_r_r93; + CPy_DECREF(cpy_r_r75); +CPyL95: ; + cpy_r_r94 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__tasks; + if (unlikely(cpy_r_r94 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "tasks", 51, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_INCREF(cpy_r_r94); +CPyL96: ; + cpy_r_r95 = PyObject_GetIter(cpy_r_r94); + if (unlikely(cpy_r_r95 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); + goto CPyL219; + } + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__7 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__7); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__7 = cpy_r_r94; + cpy_r_r96 = 1; + if (unlikely(!cpy_r_r96)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL220; + } + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__8 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__8); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__8 = cpy_r_r95; + cpy_r_r97 = 1; + if (unlikely(!cpy_r_r97)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL201; + } +CPyL99: ; + cpy_r_r98 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__8; + if (unlikely(cpy_r_r98 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__8", 51, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_INCREF(cpy_r_r98); +CPyL100: ; + cpy_r_r99 = PyIter_Next(cpy_r_r98); + CPy_DECREF(cpy_r_r98); + if (cpy_r_r99 == NULL) goto CPyL188; + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__task != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__task); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__task = cpy_r_r99; + cpy_r_r100 = 1; + if (unlikely(!cpy_r_r100)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r101 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__task; + if (unlikely(cpy_r_r101 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "task", 53, CPyStatic__gather___globals); + goto CPyL131; + } + CPy_INCREF(cpy_r_r101); +CPyL103: ; + cpy_r_r102 = CPy_GetCoro(cpy_r_r101); + CPy_DECREF(cpy_r_r101); + if (unlikely(cpy_r_r102 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + goto CPyL131; + } + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9 = cpy_r_r102; + cpy_r_r103 = 1; + if (unlikely(!cpy_r_r103)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL131; + } + cpy_r_r104 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9; + if (unlikely(cpy_r_r104 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__9", -1, CPyStatic__gather___globals); + goto CPyL131; + } + CPy_INCREF(cpy_r_r104); +CPyL106: ; + cpy_r_r105 = CPyIter_Next(cpy_r_r104); + CPy_DECREF(cpy_r_r104); + if (cpy_r_r105 != NULL) goto CPyL109; + cpy_r_r106 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r106 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + goto CPyL131; + } + cpy_r_r107 = cpy_r_r106; + CPy_DECREF(cpy_r_r107); + cpy_r_r108 = NULL; + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9 = cpy_r_r108; + cpy_r_r109 = 1; + if (unlikely(!cpy_r_r109)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + goto CPyL131; + } else + goto CPyL99; +CPyL109: ; + cpy_r_r110 = cpy_r_r105; +CPyL110: ; + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 3; + return cpy_r_r110; +CPyL111: ; + cpy_r_r112 = (PyObject *)&_Py_NoneStruct; + cpy_r_r113 = cpy_r_type != cpy_r_r112; + if (!cpy_r_r113) goto CPyL221; + 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); + goto CPyL115; + } else + goto CPyL222; +CPyL113: ; + CPy_Unreachable(); +CPyL114: ; + CPy_INCREF(cpy_r_arg); + goto CPyL126; +CPyL115: ; + cpy_r_r114 = CPy_CatchError(); + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10.f0 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10.f0); + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10.f1); + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10.f2); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10 = cpy_r_r114; + cpy_r_r115 = 1; + if (unlikely(!cpy_r_r115)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL223; + } + cpy_r_r116 = (PyObject **)&cpy_r_r5; + cpy_r_r117 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9; + if (unlikely(cpy_r_r117 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__9", -1, CPyStatic__gather___globals); + goto CPyL223; + } + CPy_INCREF(cpy_r_r117); +CPyL117: ; + cpy_r_r118 = CPy_YieldFromErrorHandle(cpy_r_r117, cpy_r_r116); + CPy_DecRef(cpy_r_r117); + if (unlikely(cpy_r_r118 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + goto CPyL223; + } + if (cpy_r_r118) goto CPyL121; + cpy_r_r110 = cpy_r_r5; + cpy_r_r119 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10; + if (unlikely(cpy_r_r119.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__10", -1, CPyStatic__gather___globals); + goto CPyL224; + } + CPy_INCREF(cpy_r_r119.f0); + CPy_INCREF(cpy_r_r119.f1); + CPy_INCREF(cpy_r_r119.f2); +CPyL120: ; + CPy_RestoreExcInfo(cpy_r_r119); + CPy_DecRef(cpy_r_r119.f0); + CPy_DecRef(cpy_r_r119.f1); + CPy_DecRef(cpy_r_r119.f2); + goto CPyL110; +CPyL121: ; + cpy_r_r107 = cpy_r_r5; + CPy_DecRef(cpy_r_r107); + cpy_r_r120 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10; + if (unlikely(cpy_r_r120.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__10", -1, CPyStatic__gather___globals); + goto CPyL123; + } + CPy_INCREF(cpy_r_r120.f0); + CPy_INCREF(cpy_r_r120.f1); + CPy_INCREF(cpy_r_r120.f2); +CPyL122: ; + CPy_RestoreExcInfo(cpy_r_r120); + CPy_DecRef(cpy_r_r120.f0); + CPy_DecRef(cpy_r_r120.f1); + CPy_DecRef(cpy_r_r120.f2); + goto CPyL99; +CPyL123: ; + cpy_r_r121 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__10; + if (unlikely(cpy_r_r121.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__10", -1, CPyStatic__gather___globals); + goto CPyL131; + } + CPy_INCREF(cpy_r_r121.f0); + CPy_INCREF(cpy_r_r121.f1); + CPy_INCREF(cpy_r_r121.f2); +CPyL124: ; + CPy_RestoreExcInfo(cpy_r_r121); + CPy_DecRef(cpy_r_r121.f0); + CPy_DecRef(cpy_r_r121.f1); + CPy_DecRef(cpy_r_r121.f2); + cpy_r_r122 = CPy_KeepPropagating(); + if (!cpy_r_r122) goto CPyL131; + CPy_Unreachable(); +CPyL126: ; + cpy_r_r123 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__9; + if (unlikely(cpy_r_r123 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__9", -1, CPyStatic__gather___globals); + goto CPyL225; + } + CPy_INCREF(cpy_r_r123); +CPyL127: ; + cpy_r_r124 = CPyIter_Send(cpy_r_r123, cpy_r_arg); + CPy_DECREF(cpy_r_r123); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r124 == NULL) goto CPyL129; + cpy_r_r110 = cpy_r_r124; + goto CPyL110; +CPyL129: ; + cpy_r_r125 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r125 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + goto CPyL131; + } + cpy_r_r107 = cpy_r_r125; + CPy_DECREF(cpy_r_r107); + goto CPyL99; +CPyL131: ; + cpy_r_r126 = CPy_CatchError(); + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__11.f0 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__11.f0); + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__11.f1); + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__11.f2); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__11 = cpy_r_r126; + cpy_r_r127 = 1; + if (unlikely(!cpy_r_r127)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL185; + } + cpy_r_r128 = CPyModule_builtins; + cpy_r_r129 = CPyStatics[16]; /* 'Exception' */ + cpy_r_r130 = CPyObject_GetAttr(cpy_r_r128, cpy_r_r129); + if (unlikely(cpy_r_r130 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); + goto CPyL185; + } + cpy_r_r131 = CPy_ExceptionMatches(cpy_r_r130); + CPy_DecRef(cpy_r_r130); + if (!cpy_r_r131) goto CPyL183; + cpy_r_r132 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__tasks; + if (unlikely(cpy_r_r132 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "tasks", 57, CPyStatic__gather___globals); + goto CPyL185; + } + CPy_INCREF(cpy_r_r132); +CPyL135: ; + cpy_r_r133 = PyObject_GetIter(cpy_r_r132); + if (unlikely(cpy_r_r133 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 57, CPyStatic__gather___globals); + goto CPyL226; + } + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__12 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__12); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__12 = cpy_r_r132; + cpy_r_r134 = 1; + if (unlikely(!cpy_r_r134)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL227; + } + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__13 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__13); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__13 = cpy_r_r133; + cpy_r_r135 = 1; + if (unlikely(!cpy_r_r135)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL185; + } +CPyL138: ; + cpy_r_r136 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__13; + if (unlikely(cpy_r_r136 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__13", 57, CPyStatic__gather___globals); + goto CPyL185; + } + CPy_INCREF(cpy_r_r136); +CPyL139: ; + cpy_r_r137 = PyIter_Next(cpy_r_r136); + CPy_DECREF(cpy_r_r136); + if (cpy_r_r137 == NULL) goto CPyL180; + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__task != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__task); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__task = cpy_r_r137; + cpy_r_r138 = 1; + if (unlikely(!cpy_r_r138)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 57, CPyStatic__gather___globals); + goto CPyL185; + } + cpy_r_r139 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__task; + if (unlikely(cpy_r_r139 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "task", 60, CPyStatic__gather___globals); + goto CPyL170; + } + CPy_INCREF(cpy_r_r139); +CPyL142: ; + cpy_r_r140 = CPy_GetCoro(cpy_r_r139); + CPy_DECREF(cpy_r_r139); + if (unlikely(cpy_r_r140 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + goto CPyL170; + } + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__14 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__14); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__14 = cpy_r_r140; + cpy_r_r141 = 1; + if (unlikely(!cpy_r_r141)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL170; + } + cpy_r_r142 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__14; + if (unlikely(cpy_r_r142 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__14", -1, CPyStatic__gather___globals); + goto CPyL170; + } + CPy_INCREF(cpy_r_r142); +CPyL145: ; + cpy_r_r143 = CPyIter_Next(cpy_r_r142); + CPy_DECREF(cpy_r_r142); + if (cpy_r_r143 != NULL) goto CPyL148; + cpy_r_r144 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r144 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + goto CPyL170; + } + cpy_r_r145 = cpy_r_r144; + CPy_DECREF(cpy_r_r145); + cpy_r_r146 = NULL; + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__14 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__14); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__14 = cpy_r_r146; + cpy_r_r147 = 1; + if (unlikely(!cpy_r_r147)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + goto CPyL170; + } else + goto CPyL138; +CPyL148: ; + cpy_r_r148 = cpy_r_r143; +CPyL149: ; + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 4; + return cpy_r_r148; +CPyL150: ; + cpy_r_r150 = (PyObject *)&_Py_NoneStruct; + cpy_r_r151 = cpy_r_type != cpy_r_r150; + if (!cpy_r_r151) goto CPyL228; + 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); + goto CPyL154; + } else + goto CPyL229; +CPyL152: ; + CPy_Unreachable(); +CPyL153: ; + CPy_INCREF(cpy_r_arg); + goto CPyL165; +CPyL154: ; + cpy_r_r152 = CPy_CatchError(); + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__15.f0 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__15.f0); + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__15.f1); + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__15.f2); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__15 = cpy_r_r152; + cpy_r_r153 = 1; + if (unlikely(!cpy_r_r153)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL230; + } + cpy_r_r154 = (PyObject **)&cpy_r_r7; + cpy_r_r155 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__14; + if (unlikely(cpy_r_r155 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__14", -1, CPyStatic__gather___globals); + goto CPyL230; + } + CPy_INCREF(cpy_r_r155); +CPyL156: ; + cpy_r_r156 = CPy_YieldFromErrorHandle(cpy_r_r155, cpy_r_r154); + CPy_DecRef(cpy_r_r155); + if (unlikely(cpy_r_r156 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + goto CPyL230; + } + if (cpy_r_r156) goto CPyL160; + cpy_r_r148 = cpy_r_r7; + cpy_r_r157 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__15; + if (unlikely(cpy_r_r157.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__15", -1, CPyStatic__gather___globals); + goto CPyL231; + } + CPy_INCREF(cpy_r_r157.f0); + CPy_INCREF(cpy_r_r157.f1); + CPy_INCREF(cpy_r_r157.f2); +CPyL159: ; + CPy_RestoreExcInfo(cpy_r_r157); + CPy_DecRef(cpy_r_r157.f0); + CPy_DecRef(cpy_r_r157.f1); + CPy_DecRef(cpy_r_r157.f2); + goto CPyL149; +CPyL160: ; + cpy_r_r145 = cpy_r_r7; + CPy_DecRef(cpy_r_r145); + cpy_r_r158 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__15; + if (unlikely(cpy_r_r158.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__15", -1, CPyStatic__gather___globals); + goto CPyL162; + } + CPy_INCREF(cpy_r_r158.f0); + CPy_INCREF(cpy_r_r158.f1); + CPy_INCREF(cpy_r_r158.f2); +CPyL161: ; + CPy_RestoreExcInfo(cpy_r_r158); + CPy_DecRef(cpy_r_r158.f0); + CPy_DecRef(cpy_r_r158.f1); + CPy_DecRef(cpy_r_r158.f2); + goto CPyL138; +CPyL162: ; + cpy_r_r159 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__15; + if (unlikely(cpy_r_r159.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__15", -1, CPyStatic__gather___globals); + goto CPyL170; + } + CPy_INCREF(cpy_r_r159.f0); + CPy_INCREF(cpy_r_r159.f1); + CPy_INCREF(cpy_r_r159.f2); +CPyL163: ; + CPy_RestoreExcInfo(cpy_r_r159); + CPy_DecRef(cpy_r_r159.f0); + CPy_DecRef(cpy_r_r159.f1); + CPy_DecRef(cpy_r_r159.f2); + cpy_r_r160 = CPy_KeepPropagating(); + if (!cpy_r_r160) goto CPyL170; + CPy_Unreachable(); +CPyL165: ; + cpy_r_r161 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__14; + if (unlikely(cpy_r_r161 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__14", -1, CPyStatic__gather___globals); + goto CPyL232; + } + CPy_INCREF(cpy_r_r161); +CPyL166: ; + cpy_r_r162 = CPyIter_Send(cpy_r_r161, cpy_r_arg); + CPy_DECREF(cpy_r_r161); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r162 == NULL) goto CPyL168; + cpy_r_r148 = cpy_r_r162; + goto CPyL149; +CPyL168: ; + cpy_r_r163 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r163 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + goto CPyL170; + } + cpy_r_r145 = cpy_r_r163; + CPy_DECREF(cpy_r_r145); + goto CPyL138; +CPyL170: ; + cpy_r_r164 = CPy_CatchError(); + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__16.f0 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__16.f0); + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__16.f1); + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__16.f2); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__16 = cpy_r_r164; + cpy_r_r165 = 1; + if (unlikely(!cpy_r_r165)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", -1, CPyStatic__gather___globals); + goto CPyL177; + } + cpy_r_r166 = CPyModule_builtins; + cpy_r_r167 = CPyStatics[16]; /* 'Exception' */ + cpy_r_r168 = CPyObject_GetAttr(cpy_r_r166, cpy_r_r167); + if (unlikely(cpy_r_r168 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); + goto CPyL177; + } + cpy_r_r169 = CPy_ExceptionMatches(cpy_r_r168); + CPy_DecRef(cpy_r_r168); + if (cpy_r_r169) goto CPyL175; + CPy_Reraise(); + if (!0) goto CPyL177; + CPy_Unreachable(); +CPyL175: ; + cpy_r_r170 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__16; + if (unlikely(cpy_r_r170.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__16", -1, CPyStatic__gather___globals); + goto CPyL185; + } + CPy_INCREF(cpy_r_r170.f0); + CPy_INCREF(cpy_r_r170.f1); + CPy_INCREF(cpy_r_r170.f2); +CPyL176: ; + CPy_RestoreExcInfo(cpy_r_r170); + CPy_DecRef(cpy_r_r170.f0); + CPy_DecRef(cpy_r_r170.f1); + CPy_DecRef(cpy_r_r170.f2); + goto CPyL138; +CPyL177: ; + cpy_r_r171 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__16; + if (unlikely(cpy_r_r171.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__16", -1, CPyStatic__gather___globals); + goto CPyL185; + } + CPy_INCREF(cpy_r_r171.f0); + CPy_INCREF(cpy_r_r171.f1); + CPy_INCREF(cpy_r_r171.f2); +CPyL178: ; + CPy_RestoreExcInfo(cpy_r_r171); + CPy_DecRef(cpy_r_r171.f0); + CPy_DecRef(cpy_r_r171.f1); + CPy_DecRef(cpy_r_r171.f2); + cpy_r_r172 = CPy_KeepPropagating(); + if (!cpy_r_r172) goto CPyL185; + CPy_Unreachable(); +CPyL180: ; + cpy_r_r173 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r173)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 57, CPyStatic__gather___globals); + goto CPyL185; + } + CPy_Reraise(); + if (!0) goto CPyL185; + CPy_Unreachable(); +CPyL183: ; + CPy_Reraise(); + if (!0) goto CPyL185; + CPy_Unreachable(); +CPyL185: ; + cpy_r_r174 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__11; + if (unlikely(cpy_r_r174.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_temp__11", -1, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_INCREF(cpy_r_r174.f0); + CPy_INCREF(cpy_r_r174.f1); + CPy_INCREF(cpy_r_r174.f2); +CPyL186: ; + CPy_RestoreExcInfo(cpy_r_r174); + CPy_DECREF(cpy_r_r174.f0); + CPy_DECREF(cpy_r_r174.f1); + CPy_DECREF(cpy_r_r174.f2); + cpy_r_r175 = CPy_KeepPropagating(); + if (!cpy_r_r175) goto CPyL201; + CPy_Unreachable(); +CPyL188: ; + cpy_r_r176 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r176)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); + goto CPyL201; + } + cpy_r_r177 = Py_None; + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = -1; + if (cpy_r_stop_iter_ptr != NULL) goto CPyL193; + CPyGen_SetStopIterationValue(cpy_r_r177); + if (!0) goto CPyL201; + CPy_Unreachable(); +CPyL193: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r177; + return 0; +CPyL194: ; + cpy_r_r179 = cpy_r_r8 == 0; + if (cpy_r_r179) goto CPyL233; + cpy_r_r180 = cpy_r_r8 == 1; + if (cpy_r_r180) { + goto CPyL234; + } else + goto CPyL235; +CPyL196: ; + cpy_r_r181 = cpy_r_r8 == 2; + if (cpy_r_r181) { + goto CPyL236; + } else + goto CPyL237; +CPyL197: ; + cpy_r_r182 = cpy_r_r8 == 3; + if (cpy_r_r182) { + goto CPyL238; + } else + goto CPyL239; +CPyL198: ; + cpy_r_r183 = cpy_r_r8 == 4; + if (cpy_r_r183) { + goto CPyL150; + } else + goto CPyL240; +CPyL199: ; + PyErr_SetNone(PyExc_StopIteration); + cpy_r_r184 = 0; + if (unlikely(!cpy_r_r184)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + goto CPyL201; + } + CPy_Unreachable(); +CPyL201: ; + cpy_r_r185 = NULL; + return cpy_r_r185; +CPyL202: ; + CPy_DecRef(cpy_r_r17); + goto CPyL201; +CPyL203: ; + CPy_DecRef(cpy_r_r18); + goto CPyL201; +CPyL204: ; + CPy_DecRef(cpy_r_r24); + goto CPyL201; +CPyL205: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r25); + goto CPyL201; +CPyL206: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r25); + CPy_DecRef(cpy_r_r26); + goto CPyL22; +CPyL207: ; + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r25); + CPy_DecRef(cpy_r_r26); + goto CPyL201; +CPyL208: ; + CPy_DecRef(cpy_r_r32); + goto CPyL201; +CPyL209: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL46; +CPyL210: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL45; +CPyL211: ; + CPy_XDecRef(cpy_r_r1); + goto CPyL55; +CPyL212: ; + CPy_DecRef(cpy_r_r51); + goto CPyL55; +CPyL213: ; + CPy_DecRef(cpy_r_arg); + goto CPyL201; +CPyL214: ; + CPy_XDECREF(cpy_r_r3); + goto CPyL78; +CPyL215: ; + CPy_XDECREF(cpy_r_r3); + goto CPyL77; +CPyL216: ; + CPy_XDecRef(cpy_r_r3); + goto CPyL87; +CPyL217: ; + CPy_DecRef(cpy_r_r78); + goto CPyL87; +CPyL218: ; + CPy_DecRef(cpy_r_arg); + goto CPyL201; +CPyL219: ; + CPy_DecRef(cpy_r_r94); + goto CPyL201; +CPyL220: ; + CPy_DecRef(cpy_r_r95); + goto CPyL201; +CPyL221: ; + CPy_XDECREF(cpy_r_r5); + goto CPyL114; +CPyL222: ; + CPy_XDECREF(cpy_r_r5); + goto CPyL113; +CPyL223: ; + CPy_XDecRef(cpy_r_r5); + goto CPyL123; +CPyL224: ; + CPy_DecRef(cpy_r_r110); + goto CPyL123; +CPyL225: ; + CPy_DecRef(cpy_r_arg); + goto CPyL131; +CPyL226: ; + CPy_DecRef(cpy_r_r132); + goto CPyL185; +CPyL227: ; + CPy_DecRef(cpy_r_r133); + goto CPyL185; +CPyL228: ; + CPy_XDECREF(cpy_r_r7); + goto CPyL153; +CPyL229: ; + CPy_XDECREF(cpy_r_r7); + goto CPyL152; +CPyL230: ; + CPy_XDecRef(cpy_r_r7); + goto CPyL162; +CPyL231: ; + CPy_DecRef(cpy_r_r148); + goto CPyL162; +CPyL232: ; + CPy_DecRef(cpy_r_arg); + goto CPyL170; +CPyL233: ; + CPy_XDECREF(cpy_r_r1); + CPy_XDECREF(cpy_r_r3); + CPy_XDECREF(cpy_r_r5); + CPy_XDECREF(cpy_r_r7); + goto CPyL1; +CPyL234: ; + CPy_XDECREF(cpy_r_r3); + CPy_XDECREF(cpy_r_r5); + CPy_XDECREF(cpy_r_r7); + goto CPyL43; +CPyL235: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL196; +CPyL236: ; + CPy_XDECREF(cpy_r_r5); + CPy_XDECREF(cpy_r_r7); + goto CPyL75; +CPyL237: ; + CPy_XDECREF(cpy_r_r3); + goto CPyL197; +CPyL238: ; + CPy_XDECREF(cpy_r_r7); + goto CPyL111; +CPyL239: ; + CPy_XDECREF(cpy_r_r5); + goto CPyL198; +CPyL240: ; + CPy_XDECREF(cpy_r_r7); + goto CPyL199; +} + +PyObject *CPyDef__gather___gatherish_gen_____next__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef__gather___gatherish_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_r0, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy__gather___gatherish_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__next__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__gather___gatherish_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._gather.gatherish_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__gather___gatherish_gen_____next__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "__next__", -1, CPyStatic__gather___globals); + return NULL; +} + +PyObject *CPyDef__gather___gatherish_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef__gather___gatherish_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_arg, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy__gather___gatherish_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"arg", 0}; + static CPyArg_Parser parser = {"O:send", kwlist, 0}; + PyObject *obj_arg; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_arg)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__gather___gatherish_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._gather.gatherish_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_arg = obj_arg; + PyObject *retval = CPyDef__gather___gatherish_gen___send(arg___mypyc_self__, arg_arg); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "send", -1, CPyStatic__gather___globals); + return NULL; +} + +PyObject *CPyDef__gather___gatherish_gen_____iter__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy__gather___gatherish_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__gather___gatherish_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._gather.gatherish_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__gather___gatherish_gen_____iter__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "__iter__", -1, CPyStatic__gather___globals); + return NULL; +} + +PyObject *CPyDef__gather___gatherish_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + if (cpy_r_value != NULL) goto CPyL7; + CPy_INCREF(cpy_r_r0); + cpy_r_value = cpy_r_r0; +CPyL2: ; + if (cpy_r_traceback != NULL) goto CPyL8; + CPy_INCREF(cpy_r_r0); + cpy_r_traceback = cpy_r_r0; +CPyL4: ; + cpy_r_r1 = CPyDef__gather___gatherish_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_type, cpy_r_value, cpy_r_traceback, cpy_r_r0, 0); + CPy_DECREF(cpy_r_value); + CPy_DECREF(cpy_r_traceback); + if (cpy_r_r1 == NULL) goto CPyL6; + return cpy_r_r1; +CPyL6: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +CPyL7: ; + CPy_INCREF(cpy_r_value); + goto CPyL2; +CPyL8: ; + CPy_INCREF(cpy_r_traceback); + goto CPyL4; +} + +PyObject *CPyPy__gather___gatherish_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"type", "value", "traceback", 0}; + static CPyArg_Parser parser = {"O|OO:throw", kwlist, 0}; + PyObject *obj_type; + PyObject *obj_value = NULL; + PyObject *obj_traceback = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type, &obj_value, &obj_traceback)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__gather___gatherish_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._gather.gatherish_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_type = obj_type; + PyObject *arg_value; + if (obj_value == NULL) { + arg_value = NULL; + } else { + arg_value = obj_value; + } + PyObject *arg_traceback; + if (obj_traceback == NULL) { + arg_traceback = NULL; + } else { + arg_traceback = obj_traceback; + } + PyObject *retval = CPyDef__gather___gatherish_gen___throw(arg___mypyc_self__, arg_type, arg_value, arg_traceback); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "throw", -1, CPyStatic__gather___globals); + return NULL; +} + +PyObject *CPyDef__gather___gatherish_gen___close(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[17]; /* 'GeneratorExit' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = CPyDef__gather___gatherish_gen___throw(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r3, cpy_r_r4); + if (cpy_r_r5 != NULL) goto CPyL11; +CPyL3: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyModule_builtins; + cpy_r_r8 = CPyStatics[18]; /* 'StopIteration' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL12; + cpy_r_r10.f0 = cpy_r_r2; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp264 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp264); + PyObject *__tmp265 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp265); + cpy_r_r12 = CPy_ExceptionMatches(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (!cpy_r_r12) goto CPyL13; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + cpy_r_r13 = (PyObject *)&_Py_NoneStruct; + CPy_INCREF(cpy_r_r13); + return cpy_r_r13; +CPyL6: ; + CPy_Reraise(); + if (!0) goto CPyL10; + CPy_Unreachable(); +CPyL8: ; + PyErr_SetString(PyExc_RuntimeError, "generator ignored GeneratorExit"); + cpy_r_r14 = 0; + if (!cpy_r_r14) goto CPyL10; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL11: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r5); + goto CPyL8; +CPyL12: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL10; +CPyL13: ; + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL6; +} + +PyObject *CPyPy__gather___gatherish_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":close", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__gather___gatherish_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._gather.gatherish_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__gather___gatherish_gen___close(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "close", -1, CPyStatic__gather___globals); + return NULL; +} + +PyObject *CPyDef__gather___gatherish_gen_____await__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy__gather___gatherish_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__await__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__gather___gatherish_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._gather.gatherish_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__gather___gatherish_gen_____await__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "__await__", -1, CPyStatic__gather___globals); + return NULL; +} + +PyObject *CPyDef__gather___gatherish(PyObject *cpy_r_coros, PyObject *cpy_r_name) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + char cpy_r_r3; + char cpy_r_r4; + PyObject *cpy_r_r5; + if (cpy_r_name != NULL) goto CPyL7; + cpy_r_r0 = Py_None; + cpy_r_name = cpy_r_r0; +CPyL2: ; + cpy_r_r1 = CPyDef__gather___gatherish_gen(); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + goto CPyL8; + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r_r1)->___mypyc_next_label__ = 0; + CPy_INCREF(cpy_r_coros); + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r_r1)->___mypyc_generator_attribute__coros != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r_r1)->___mypyc_generator_attribute__coros); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r_r1)->___mypyc_generator_attribute__coros = cpy_r_coros; + cpy_r_r3 = 1; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + goto CPyL9; + } + if (((dank_mids___helpers____gather___gatherish_genObject *)cpy_r_r1)->___mypyc_generator_attribute__name != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___gatherish_genObject *)cpy_r_r1)->___mypyc_generator_attribute__name); + } + ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r_r1)->___mypyc_generator_attribute__name = cpy_r_name; + cpy_r_r4 = 1; + if (unlikely(!cpy_r_r4)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + goto CPyL10; + } + return cpy_r_r1; +CPyL6: ; + cpy_r_r5 = NULL; + return cpy_r_r5; +CPyL7: ; + CPy_INCREF(cpy_r_name); + goto CPyL2; +CPyL8: ; + CPy_DecRef(cpy_r_name); + goto CPyL6; +CPyL9: ; + CPy_DecRef(cpy_r_name); + CPy_DecRef(cpy_r_r1); + goto CPyL6; +CPyL10: ; + CPy_DecRef(cpy_r_r1); + goto CPyL6; +} + +PyObject *CPyPy__gather___gatherish(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"coros", "name", 0}; + static CPyArg_Parser parser = {"O|$O:gatherish", kwlist, 0}; + PyObject *obj_coros; + PyObject *obj_name = NULL; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_coros, &obj_name)) { + return NULL; + } + PyObject *arg_coros = obj_coros; + PyObject *arg_name; + if (obj_name == NULL) { + arg_name = NULL; + goto __LL266; + } + if (PyUnicode_Check(obj_name)) + arg_name = obj_name; + else { + arg_name = NULL; + } + if (arg_name != NULL) goto __LL266; + if (obj_name == Py_None) + arg_name = obj_name; + else { + arg_name = NULL; + } + if (arg_name != NULL) goto __LL266; + CPy_TypeError("str or None", obj_name); + goto fail; +__LL266: ; + PyObject *retval = CPyDef__gather___gatherish(arg_coros, arg_name); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + return NULL; +} + +PyObject *CPyDef__gather___first_completed_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + int32_t cpy_r_r4; + PyObject *cpy_r_r5; + char cpy_r_r6; + char cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + char cpy_r_r11; + PyObject **cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + char cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + char cpy_r_r23; + PyObject *cpy_r_r24; + char cpy_r_r25; + PyObject *cpy_r_r26; + char cpy_r_r27; + tuple_T3OOO cpy_r_r28; + char cpy_r_r29; + PyObject **cpy_r_r30; + PyObject *cpy_r_r31; + char cpy_r_r32; + tuple_T3OOO cpy_r_r33; + tuple_T3OOO cpy_r_r34; + tuple_T3OOO cpy_r_r35; + char cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + tuple_T2OO cpy_r_r40; + PyObject *cpy_r_r41; + char cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + char cpy_r_r46; + PyObject **cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + char cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + char cpy_r_r58; + PyObject *cpy_r_r59; + char cpy_r_r60; + PyObject *cpy_r_r61; + char cpy_r_r62; + tuple_T3OOO cpy_r_r63; + char cpy_r_r64; + PyObject **cpy_r_r65; + PyObject *cpy_r_r66; + char cpy_r_r67; + tuple_T3OOO cpy_r_r68; + tuple_T3OOO cpy_r_r69; + tuple_T3OOO cpy_r_r70; + char cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + tuple_T2OO cpy_r_r75; + PyObject *cpy_r_r76; + PyObject *cpy_r_r77; + PyObject *cpy_r_r78; + char cpy_r_r79; + PyObject *cpy_r_r80; + char cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + char cpy_r_r84; + char cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + char cpy_r_r88; + PyObject *cpy_r_r89; + PyObject *cpy_r_r90; + PyObject **cpy_r_r92; + PyObject *cpy_r_r93; + char cpy_r_r94; + PyObject *cpy_r_r95; + char cpy_r_r96; + char cpy_r_r97; + char cpy_r_r98; + char cpy_r_r99; + char cpy_r_r100; + PyObject *cpy_r_r101; + 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_next_label__; + goto CPyL98; +CPyL1: ; + cpy_r_r5 = (PyObject *)&_Py_NoneStruct; + cpy_r_r6 = cpy_r_type != cpy_r_r5; + if (!cpy_r_r6) goto CPyL4; + 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 CPyL103; + } + CPy_Unreachable(); +CPyL4: ; + cpy_r_r7 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__cancel; + if (unlikely(cpy_r_r7 == 2)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "cancel", 77, CPyStatic__gather___globals); + goto CPyL103; + } +CPyL5: ; + if (cpy_r_r7) goto CPyL45; +CPyL6: ; + cpy_r_r8 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__fs; + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "fs", 78, CPyStatic__gather___globals); + goto CPyL103; + } + CPy_INCREF(cpy_r_r8); +CPyL7: ; + cpy_r_r9 = CPyStatics[620]; /* 'FIRST_COMPLETED' */ + cpy_r_r10 = CPyStatic__gather___wait; + if (unlikely(cpy_r_r10 == NULL)) { + goto CPyL104; + } else + goto CPyL10; +CPyL8: ; + PyErr_SetString(PyExc_NameError, "value for final name \"wait\" was not set"); + cpy_r_r11 = 0; + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); + goto CPyL103; + } + CPy_Unreachable(); +CPyL10: ; + PyObject *cpy_r_r12[2] = {cpy_r_r8, cpy_r_r9}; + cpy_r_r13 = (PyObject **)&cpy_r_r12; + cpy_r_r14 = CPyStatics[1027]; /* ('return_when',) */ + cpy_r_r15 = PyObject_Vectorcall(cpy_r_r10, cpy_r_r13, 1, cpy_r_r14); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); + goto CPyL105; + } + CPy_DECREF(cpy_r_r8); + cpy_r_r16 = CPy_GetCoro(cpy_r_r15); + CPy_DECREF(cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); + goto CPyL103; + } + if (((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__17 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__17); + } + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__17 = cpy_r_r16; + cpy_r_r17 = 1; + if (unlikely(!cpy_r_r17)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); + goto CPyL103; + } + cpy_r_r18 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__17; + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_temp__17", -1, CPyStatic__gather___globals); + goto CPyL103; + } + CPy_INCREF(cpy_r_r18); +CPyL14: ; + cpy_r_r19 = CPyIter_Next(cpy_r_r18); + CPy_DECREF(cpy_r_r18); + if (cpy_r_r19 != NULL) goto CPyL17; + cpy_r_r20 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); + goto CPyL103; + } + cpy_r_r21 = cpy_r_r20; + cpy_r_r22 = NULL; + if (((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__17 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__17); + } + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__17 = cpy_r_r22; + cpy_r_r23 = 1; + if (unlikely(!cpy_r_r23)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); + goto CPyL106; + } else + goto CPyL39; +CPyL17: ; + cpy_r_r24 = cpy_r_r19; +CPyL18: ; + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 1; + return cpy_r_r24; +CPyL19: ; + cpy_r_r26 = (PyObject *)&_Py_NoneStruct; + cpy_r_r27 = cpy_r_type != cpy_r_r26; + if (!cpy_r_r27) goto CPyL107; + 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); + goto CPyL23; + } else + goto CPyL108; +CPyL21: ; + CPy_Unreachable(); +CPyL22: ; + CPy_INCREF(cpy_r_arg); + goto CPyL34; +CPyL23: ; + cpy_r_r28 = CPy_CatchError(); + if (((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__18.f0 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__18.f0); + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__18.f1); + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__18.f2); + } + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__18 = cpy_r_r28; + cpy_r_r29 = 1; + if (unlikely(!cpy_r_r29)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); + goto CPyL109; + } + cpy_r_r30 = (PyObject **)&cpy_r_r1; + cpy_r_r31 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__17; + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_temp__17", -1, CPyStatic__gather___globals); + goto CPyL109; + } + CPy_INCREF(cpy_r_r31); +CPyL25: ; + cpy_r_r32 = CPy_YieldFromErrorHandle(cpy_r_r31, cpy_r_r30); + CPy_DecRef(cpy_r_r31); + if (unlikely(cpy_r_r32 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); + goto CPyL109; + } + if (cpy_r_r32) goto CPyL29; + cpy_r_r24 = cpy_r_r1; + cpy_r_r33 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__18; + if (unlikely(cpy_r_r33.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_temp__18", -1, CPyStatic__gather___globals); + goto CPyL110; + } + CPy_INCREF(cpy_r_r33.f0); + CPy_INCREF(cpy_r_r33.f1); + CPy_INCREF(cpy_r_r33.f2); +CPyL28: ; + CPy_RestoreExcInfo(cpy_r_r33); + CPy_DecRef(cpy_r_r33.f0); + CPy_DecRef(cpy_r_r33.f1); + CPy_DecRef(cpy_r_r33.f2); + goto CPyL18; +CPyL29: ; + cpy_r_r21 = cpy_r_r1; + cpy_r_r34 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__18; + if (unlikely(cpy_r_r34.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_temp__18", -1, CPyStatic__gather___globals); + goto CPyL111; + } + CPy_INCREF(cpy_r_r34.f0); + CPy_INCREF(cpy_r_r34.f1); + CPy_INCREF(cpy_r_r34.f2); +CPyL30: ; + CPy_RestoreExcInfo(cpy_r_r34); + CPy_DecRef(cpy_r_r34.f0); + CPy_DecRef(cpy_r_r34.f1); + CPy_DecRef(cpy_r_r34.f2); + goto CPyL39; +CPyL31: ; + cpy_r_r35 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__18; + if (unlikely(cpy_r_r35.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_temp__18", -1, CPyStatic__gather___globals); + goto CPyL103; + } + CPy_INCREF(cpy_r_r35.f0); + CPy_INCREF(cpy_r_r35.f1); + CPy_INCREF(cpy_r_r35.f2); +CPyL32: ; + CPy_RestoreExcInfo(cpy_r_r35); + CPy_DecRef(cpy_r_r35.f0); + CPy_DecRef(cpy_r_r35.f1); + CPy_DecRef(cpy_r_r35.f2); + cpy_r_r36 = CPy_KeepPropagating(); + if (!cpy_r_r36) goto CPyL103; + CPy_Unreachable(); +CPyL34: ; + cpy_r_r37 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__17; + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_temp__17", -1, CPyStatic__gather___globals); + goto CPyL112; + } + CPy_INCREF(cpy_r_r37); +CPyL35: ; + cpy_r_r38 = CPyIter_Send(cpy_r_r37, cpy_r_arg); + CPy_DECREF(cpy_r_r37); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r38 == NULL) goto CPyL37; + cpy_r_r24 = cpy_r_r38; + goto CPyL18; +CPyL37: ; + cpy_r_r39 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r39 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); + goto CPyL103; + } + cpy_r_r21 = cpy_r_r39; +CPyL39: ; + PyObject *__tmp267; + if (unlikely(!(PyTuple_Check(cpy_r_r21) && PyTuple_GET_SIZE(cpy_r_r21) == 2))) { + __tmp267 = NULL; + goto __LL268; + } + if (likely(PySet_Check(PyTuple_GET_ITEM(cpy_r_r21, 0)))) + __tmp267 = PyTuple_GET_ITEM(cpy_r_r21, 0); + else { + __tmp267 = NULL; + } + if (__tmp267 == NULL) goto __LL268; + if (likely(PySet_Check(PyTuple_GET_ITEM(cpy_r_r21, 1)))) + __tmp267 = PyTuple_GET_ITEM(cpy_r_r21, 1); + else { + __tmp267 = NULL; + } + if (__tmp267 == NULL) goto __LL268; + __tmp267 = cpy_r_r21; +__LL268: ; + if (unlikely(__tmp267 == NULL)) { + CPy_TypeError("tuple[set, set]", cpy_r_r21); cpy_r_r40 = (tuple_T2OO) { NULL, NULL }; + } else { + PyObject *__tmp269 = PyTuple_GET_ITEM(cpy_r_r21, 0); + CPy_INCREF(__tmp269); + PyObject *__tmp270; + if (likely(PySet_Check(__tmp269))) + __tmp270 = __tmp269; + else { + CPy_TypeError("set", __tmp269); + __tmp270 = NULL; + } + cpy_r_r40.f0 = __tmp270; + PyObject *__tmp271 = PyTuple_GET_ITEM(cpy_r_r21, 1); + CPy_INCREF(__tmp271); + PyObject *__tmp272; + if (likely(PySet_Check(__tmp271))) + __tmp272 = __tmp271; + else { + CPy_TypeError("set", __tmp271); + __tmp272 = NULL; + } + cpy_r_r40.f1 = __tmp272; + } + CPy_DECREF(cpy_r_r21); + if (unlikely(cpy_r_r40.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); + goto CPyL103; + } + cpy_r_r41 = PyTuple_New(2); + if (unlikely(cpy_r_r41 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp273 = cpy_r_r40.f0; + PyTuple_SET_ITEM(cpy_r_r41, 0, __tmp273); + PyObject *__tmp274 = cpy_r_r40.f1; + PyTuple_SET_ITEM(cpy_r_r41, 1, __tmp274); + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = -1; + if (cpy_r_stop_iter_ptr != NULL) goto CPyL44; + CPyGen_SetStopIterationValue(cpy_r_r41); + CPy_DECREF(cpy_r_r41); + if (!0) goto CPyL103; + CPy_Unreachable(); +CPyL44: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r41; + return 0; +CPyL45: ; + cpy_r_r43 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__fs; + if (unlikely(cpy_r_r43 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "fs", 79, CPyStatic__gather___globals); + goto CPyL103; + } + CPy_INCREF(cpy_r_r43); +CPyL46: ; + cpy_r_r44 = CPyStatics[620]; /* 'FIRST_COMPLETED' */ + cpy_r_r45 = CPyStatic__gather___wait; + if (unlikely(cpy_r_r45 == NULL)) { + goto CPyL113; + } else + goto CPyL49; +CPyL47: ; + PyErr_SetString(PyExc_NameError, "value for final name \"wait\" was not set"); + cpy_r_r46 = 0; + if (unlikely(!cpy_r_r46)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL103; + } + CPy_Unreachable(); +CPyL49: ; + PyObject *cpy_r_r47[2] = {cpy_r_r43, cpy_r_r44}; + cpy_r_r48 = (PyObject **)&cpy_r_r47; + cpy_r_r49 = CPyStatics[1027]; /* ('return_when',) */ + cpy_r_r50 = PyObject_Vectorcall(cpy_r_r45, cpy_r_r48, 1, cpy_r_r49); + if (unlikely(cpy_r_r50 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL114; + } + CPy_DECREF(cpy_r_r43); + cpy_r_r51 = CPy_GetCoro(cpy_r_r50); + CPy_DECREF(cpy_r_r50); + if (unlikely(cpy_r_r51 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL103; + } + if (((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__19 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__19); + } + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__19 = cpy_r_r51; + cpy_r_r52 = 1; + if (unlikely(!cpy_r_r52)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); + goto CPyL103; + } + cpy_r_r53 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__19; + if (unlikely(cpy_r_r53 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_temp__19", -1, CPyStatic__gather___globals); + goto CPyL103; + } + CPy_INCREF(cpy_r_r53); +CPyL53: ; + cpy_r_r54 = CPyIter_Next(cpy_r_r53); + CPy_DECREF(cpy_r_r53); + if (cpy_r_r54 != NULL) goto CPyL56; + cpy_r_r55 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r55 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL103; + } + cpy_r_r56 = cpy_r_r55; + cpy_r_r57 = NULL; + if (((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__19 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__19); + } + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__19 = cpy_r_r57; + cpy_r_r58 = 1; + if (unlikely(!cpy_r_r58)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL115; + } else + goto CPyL78; +CPyL56: ; + cpy_r_r59 = cpy_r_r54; +CPyL57: ; + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 2; + return cpy_r_r59; +CPyL58: ; + cpy_r_r61 = (PyObject *)&_Py_NoneStruct; + cpy_r_r62 = cpy_r_type != cpy_r_r61; + if (!cpy_r_r62) goto CPyL116; + 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); + goto CPyL62; + } else + goto CPyL117; +CPyL60: ; + CPy_Unreachable(); +CPyL61: ; + CPy_INCREF(cpy_r_arg); + goto CPyL73; +CPyL62: ; + cpy_r_r63 = CPy_CatchError(); + if (((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__20.f0 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__20.f0); + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__20.f1); + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__20.f2); + } + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__20 = cpy_r_r63; + cpy_r_r64 = 1; + if (unlikely(!cpy_r_r64)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); + goto CPyL118; + } + cpy_r_r65 = (PyObject **)&cpy_r_r3; + cpy_r_r66 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__19; + if (unlikely(cpy_r_r66 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_temp__19", -1, CPyStatic__gather___globals); + goto CPyL118; + } + CPy_INCREF(cpy_r_r66); +CPyL64: ; + cpy_r_r67 = CPy_YieldFromErrorHandle(cpy_r_r66, cpy_r_r65); + CPy_DecRef(cpy_r_r66); + if (unlikely(cpy_r_r67 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL118; + } + if (cpy_r_r67) goto CPyL68; + cpy_r_r59 = cpy_r_r3; + cpy_r_r68 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__20; + if (unlikely(cpy_r_r68.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_temp__20", -1, CPyStatic__gather___globals); + goto CPyL119; + } + CPy_INCREF(cpy_r_r68.f0); + CPy_INCREF(cpy_r_r68.f1); + CPy_INCREF(cpy_r_r68.f2); +CPyL67: ; + CPy_RestoreExcInfo(cpy_r_r68); + CPy_DecRef(cpy_r_r68.f0); + CPy_DecRef(cpy_r_r68.f1); + CPy_DecRef(cpy_r_r68.f2); + goto CPyL57; +CPyL68: ; + cpy_r_r56 = cpy_r_r3; + cpy_r_r69 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__20; + if (unlikely(cpy_r_r69.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_temp__20", -1, CPyStatic__gather___globals); + goto CPyL120; + } + CPy_INCREF(cpy_r_r69.f0); + CPy_INCREF(cpy_r_r69.f1); + CPy_INCREF(cpy_r_r69.f2); +CPyL69: ; + CPy_RestoreExcInfo(cpy_r_r69); + CPy_DecRef(cpy_r_r69.f0); + CPy_DecRef(cpy_r_r69.f1); + CPy_DecRef(cpy_r_r69.f2); + goto CPyL78; +CPyL70: ; + cpy_r_r70 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__20; + if (unlikely(cpy_r_r70.f0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_temp__20", -1, CPyStatic__gather___globals); + goto CPyL103; + } + CPy_INCREF(cpy_r_r70.f0); + CPy_INCREF(cpy_r_r70.f1); + CPy_INCREF(cpy_r_r70.f2); +CPyL71: ; + CPy_RestoreExcInfo(cpy_r_r70); + CPy_DecRef(cpy_r_r70.f0); + CPy_DecRef(cpy_r_r70.f1); + CPy_DecRef(cpy_r_r70.f2); + cpy_r_r71 = CPy_KeepPropagating(); + if (!cpy_r_r71) goto CPyL103; + CPy_Unreachable(); +CPyL73: ; + cpy_r_r72 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__19; + if (unlikely(cpy_r_r72 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_temp__19", -1, CPyStatic__gather___globals); + goto CPyL121; + } + CPy_INCREF(cpy_r_r72); +CPyL74: ; + cpy_r_r73 = CPyIter_Send(cpy_r_r72, cpy_r_arg); + CPy_DECREF(cpy_r_r72); + CPy_DECREF(cpy_r_arg); + if (cpy_r_r73 == NULL) goto CPyL76; + cpy_r_r59 = cpy_r_r73; + goto CPyL57; +CPyL76: ; + cpy_r_r74 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r74 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL103; + } + cpy_r_r56 = cpy_r_r74; +CPyL78: ; + PyObject *__tmp275; + if (unlikely(!(PyTuple_Check(cpy_r_r56) && PyTuple_GET_SIZE(cpy_r_r56) == 2))) { + __tmp275 = NULL; + goto __LL276; + } + if (likely(PySet_Check(PyTuple_GET_ITEM(cpy_r_r56, 0)))) + __tmp275 = PyTuple_GET_ITEM(cpy_r_r56, 0); + else { + __tmp275 = NULL; + } + if (__tmp275 == NULL) goto __LL276; + if (likely(PySet_Check(PyTuple_GET_ITEM(cpy_r_r56, 1)))) + __tmp275 = PyTuple_GET_ITEM(cpy_r_r56, 1); + else { + __tmp275 = NULL; + } + if (__tmp275 == NULL) goto __LL276; + __tmp275 = cpy_r_r56; +__LL276: ; + if (unlikely(__tmp275 == NULL)) { + CPy_TypeError("tuple[set, set]", cpy_r_r56); cpy_r_r75 = (tuple_T2OO) { NULL, NULL }; + } else { + PyObject *__tmp277 = PyTuple_GET_ITEM(cpy_r_r56, 0); + CPy_INCREF(__tmp277); + PyObject *__tmp278; + if (likely(PySet_Check(__tmp277))) + __tmp278 = __tmp277; + else { + CPy_TypeError("set", __tmp277); + __tmp278 = NULL; + } + cpy_r_r75.f0 = __tmp278; + PyObject *__tmp279 = PyTuple_GET_ITEM(cpy_r_r56, 1); + CPy_INCREF(__tmp279); + PyObject *__tmp280; + if (likely(PySet_Check(__tmp279))) + __tmp280 = __tmp279; + else { + CPy_TypeError("set", __tmp279); + __tmp280 = NULL; + } + cpy_r_r75.f1 = __tmp280; + } + CPy_DECREF(cpy_r_r56); + if (unlikely(cpy_r_r75.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL103; + } + cpy_r_r76 = cpy_r_r75.f0; + cpy_r_r77 = cpy_r_r75.f1; + cpy_r_r78 = cpy_r_r76; + if (((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__done != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__done); + } + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__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 CPyL103; + } + cpy_r_r80 = cpy_r_r77; + if (((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__pending != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__pending); + } + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__pending = cpy_r_r80; + cpy_r_r81 = 1; + if (unlikely(!cpy_r_r81)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL103; + } + cpy_r_r82 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__pending; + if (unlikely(cpy_r_r82 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "pending", 80, CPyStatic__gather___globals); + goto CPyL103; + } + CPy_INCREF(cpy_r_r82); +CPyL82: ; + cpy_r_r83 = PyObject_GetIter(cpy_r_r82); + if (unlikely(cpy_r_r83 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 80, CPyStatic__gather___globals); + goto CPyL122; + } + if (((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__21 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__21); + } + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__21 = cpy_r_r82; + cpy_r_r84 = 1; + if (unlikely(!cpy_r_r84)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); + goto CPyL123; + } + if (((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__22 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__22); + } + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__22 = cpy_r_r83; + cpy_r_r85 = 1; + if (unlikely(!cpy_r_r85)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); + goto CPyL103; + } +CPyL85: ; + cpy_r_r86 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__22; + if (unlikely(cpy_r_r86 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_temp__22", 80, CPyStatic__gather___globals); + goto CPyL103; + } + CPy_INCREF(cpy_r_r86); +CPyL86: ; + cpy_r_r87 = PyIter_Next(cpy_r_r86); + CPy_DECREF(cpy_r_r86); + if (cpy_r_r87 == NULL) goto CPyL91; + if (((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__p != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__p); + } + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__p = cpy_r_r87; + cpy_r_r88 = 1; + if (unlikely(!cpy_r_r88)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 80, CPyStatic__gather___globals); + goto CPyL103; + } + cpy_r_r89 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__p; + if (unlikely(cpy_r_r89 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "p", 81, CPyStatic__gather___globals); + goto CPyL103; + } + CPy_INCREF(cpy_r_r89); +CPyL89: ; + cpy_r_r90 = CPyStatics[622]; /* 'cancel' */ + PyObject *cpy_r_r91[1] = {cpy_r_r89}; + cpy_r_r92 = (PyObject **)&cpy_r_r91; + cpy_r_r93 = PyObject_VectorcallMethod(cpy_r_r90, cpy_r_r92, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r93 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL124; + } else + goto CPyL125; +CPyL90: ; + CPy_DECREF(cpy_r_r89); + goto CPyL85; +CPyL91: ; + cpy_r_r94 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r94)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 80, CPyStatic__gather___globals); + goto CPyL103; + } + cpy_r_r95 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__done; + if (unlikely(cpy_r_r95 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "done", 82, CPyStatic__gather___globals); + goto CPyL103; + } + CPy_INCREF(cpy_r_r95); +CPyL93: ; + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = -1; + if (cpy_r_stop_iter_ptr != NULL) goto CPyL97; + CPyGen_SetStopIterationValue(cpy_r_r95); + CPy_DECREF(cpy_r_r95); + if (!0) goto CPyL103; + CPy_Unreachable(); +CPyL97: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r95; + return 0; +CPyL98: ; + cpy_r_r97 = cpy_r_r4 == 0; + if (cpy_r_r97) goto CPyL126; + cpy_r_r98 = cpy_r_r4 == 1; + if (cpy_r_r98) { + goto CPyL127; + } else + goto CPyL128; +CPyL100: ; + cpy_r_r99 = cpy_r_r4 == 2; + if (cpy_r_r99) { + goto CPyL58; + } else + goto CPyL129; +CPyL101: ; + PyErr_SetNone(PyExc_StopIteration); + cpy_r_r100 = 0; + if (unlikely(!cpy_r_r100)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + goto CPyL103; + } + CPy_Unreachable(); +CPyL103: ; + cpy_r_r101 = NULL; + return cpy_r_r101; +CPyL104: ; + CPy_DecRef(cpy_r_r8); + goto CPyL8; +CPyL105: ; + CPy_DecRef(cpy_r_r8); + goto CPyL103; +CPyL106: ; + CPy_DecRef(cpy_r_r21); + goto CPyL103; +CPyL107: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL22; +CPyL108: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL21; +CPyL109: ; + CPy_XDecRef(cpy_r_r1); + goto CPyL31; +CPyL110: ; + CPy_DecRef(cpy_r_r24); + goto CPyL31; +CPyL111: ; + CPy_DecRef(cpy_r_r21); + goto CPyL31; +CPyL112: ; + CPy_DecRef(cpy_r_arg); + goto CPyL103; +CPyL113: ; + CPy_DecRef(cpy_r_r43); + goto CPyL47; +CPyL114: ; + CPy_DecRef(cpy_r_r43); + goto CPyL103; +CPyL115: ; + CPy_DecRef(cpy_r_r56); + goto CPyL103; +CPyL116: ; + CPy_XDECREF(cpy_r_r3); + goto CPyL61; +CPyL117: ; + CPy_XDECREF(cpy_r_r3); + goto CPyL60; +CPyL118: ; + CPy_XDecRef(cpy_r_r3); + goto CPyL70; +CPyL119: ; + CPy_DecRef(cpy_r_r59); + goto CPyL70; +CPyL120: ; + CPy_DecRef(cpy_r_r56); + goto CPyL70; +CPyL121: ; + CPy_DecRef(cpy_r_arg); + goto CPyL103; +CPyL122: ; + CPy_DecRef(cpy_r_r82); + goto CPyL103; +CPyL123: ; + CPy_DecRef(cpy_r_r83); + goto CPyL103; +CPyL124: ; + CPy_DecRef(cpy_r_r89); + goto CPyL103; +CPyL125: ; + CPy_DECREF(cpy_r_r93); + goto CPyL90; +CPyL126: ; + CPy_XDECREF(cpy_r_r1); + CPy_XDECREF(cpy_r_r3); + goto CPyL1; +CPyL127: ; + CPy_XDECREF(cpy_r_r3); + goto CPyL19; +CPyL128: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL100; +CPyL129: ; + CPy_XDECREF(cpy_r_r3); + goto CPyL101; +} + +PyObject *CPyDef__gather___first_completed_gen_____next__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef__gather___first_completed_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_r0, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy__gather___first_completed_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__next__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__gather___first_completed_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._gather.first_completed_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__gather___first_completed_gen_____next__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "__next__", -1, CPyStatic__gather___globals); + return NULL; +} + +PyObject *CPyDef__gather___first_completed_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef__gather___first_completed_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_arg, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy__gather___first_completed_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"arg", 0}; + static CPyArg_Parser parser = {"O:send", kwlist, 0}; + PyObject *obj_arg; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_arg)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__gather___first_completed_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._gather.first_completed_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_arg = obj_arg; + PyObject *retval = CPyDef__gather___first_completed_gen___send(arg___mypyc_self__, arg_arg); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "send", -1, CPyStatic__gather___globals); + return NULL; +} + +PyObject *CPyDef__gather___first_completed_gen_____iter__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy__gather___first_completed_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__gather___first_completed_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._gather.first_completed_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__gather___first_completed_gen_____iter__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "__iter__", -1, CPyStatic__gather___globals); + return NULL; +} + +PyObject *CPyDef__gather___first_completed_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + if (cpy_r_value != NULL) goto CPyL7; + CPy_INCREF(cpy_r_r0); + cpy_r_value = cpy_r_r0; +CPyL2: ; + if (cpy_r_traceback != NULL) goto CPyL8; + CPy_INCREF(cpy_r_r0); + cpy_r_traceback = cpy_r_r0; +CPyL4: ; + cpy_r_r1 = CPyDef__gather___first_completed_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_type, cpy_r_value, cpy_r_traceback, cpy_r_r0, 0); + CPy_DECREF(cpy_r_value); + CPy_DECREF(cpy_r_traceback); + if (cpy_r_r1 == NULL) goto CPyL6; + return cpy_r_r1; +CPyL6: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +CPyL7: ; + CPy_INCREF(cpy_r_value); + goto CPyL2; +CPyL8: ; + CPy_INCREF(cpy_r_traceback); + goto CPyL4; +} + +PyObject *CPyPy__gather___first_completed_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"type", "value", "traceback", 0}; + static CPyArg_Parser parser = {"O|OO:throw", kwlist, 0}; + PyObject *obj_type; + PyObject *obj_value = NULL; + PyObject *obj_traceback = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type, &obj_value, &obj_traceback)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__gather___first_completed_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._gather.first_completed_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_type = obj_type; + PyObject *arg_value; + if (obj_value == NULL) { + arg_value = NULL; + } else { + arg_value = obj_value; + } + PyObject *arg_traceback; + if (obj_traceback == NULL) { + arg_traceback = NULL; + } else { + arg_traceback = obj_traceback; + } + PyObject *retval = CPyDef__gather___first_completed_gen___throw(arg___mypyc_self__, arg_type, arg_value, arg_traceback); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "throw", -1, CPyStatic__gather___globals); + return NULL; +} + +PyObject *CPyDef__gather___first_completed_gen___close(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[17]; /* 'GeneratorExit' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = CPyDef__gather___first_completed_gen___throw(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r3, cpy_r_r4); + if (cpy_r_r5 != NULL) goto CPyL11; +CPyL3: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyModule_builtins; + cpy_r_r8 = CPyStatics[18]; /* 'StopIteration' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL12; + cpy_r_r10.f0 = cpy_r_r2; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp281 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp281); + PyObject *__tmp282 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp282); + cpy_r_r12 = CPy_ExceptionMatches(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (!cpy_r_r12) goto CPyL13; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + cpy_r_r13 = (PyObject *)&_Py_NoneStruct; + CPy_INCREF(cpy_r_r13); + return cpy_r_r13; +CPyL6: ; + CPy_Reraise(); + if (!0) goto CPyL10; + CPy_Unreachable(); +CPyL8: ; + PyErr_SetString(PyExc_RuntimeError, "generator ignored GeneratorExit"); + cpy_r_r14 = 0; + if (!cpy_r_r14) goto CPyL10; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL11: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r5); + goto CPyL8; +CPyL12: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL10; +CPyL13: ; + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL6; +} + +PyObject *CPyPy__gather___first_completed_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":close", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__gather___first_completed_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._gather.first_completed_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__gather___first_completed_gen___close(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "close", -1, CPyStatic__gather___globals); + return NULL; +} + +PyObject *CPyDef__gather___first_completed_gen_____await__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy__gather___first_completed_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__await__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__gather___first_completed_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._gather.first_completed_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__gather___first_completed_gen_____await__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "__await__", -1, CPyStatic__gather___globals); + return NULL; +} + +PyObject *CPyDef__gather___first_completed(PyObject *cpy_r_fs, char cpy_r_cancel) { + PyObject *cpy_r_r0; + char cpy_r_r1; + char cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + if (cpy_r_cancel != 2) goto CPyL2; + cpy_r_cancel = 0; +CPyL2: ; + cpy_r_r0 = CPyDef__gather___first_completed_gen(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + goto CPyL6; + } + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r_r0)->___mypyc_next_label__ = 0; + CPy_INCREF(cpy_r_fs); + if (((dank_mids___helpers____gather___first_completed_genObject *)cpy_r_r0)->___mypyc_generator_attribute__fs != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_genObject *)cpy_r_r0)->___mypyc_generator_attribute__fs); + } + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r_r0)->___mypyc_generator_attribute__fs = cpy_r_fs; + cpy_r_r2 = 1; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + goto CPyL7; + } + ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r_r0)->___mypyc_generator_attribute__cancel = cpy_r_cancel; + cpy_r_r3 = 1; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + goto CPyL7; + } + return cpy_r_r0; +CPyL6: ; + cpy_r_r4 = NULL; + return cpy_r_r4; +CPyL7: ; + CPy_DecRef(cpy_r_r0); + goto CPyL6; +} + +PyObject *CPyPy__gather___first_completed(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"cancel", 0}; + static CPyArg_Parser parser = {"%|$O:first_completed", kwlist, 0}; + PyObject *obj_fs; + PyObject *obj_cancel = NULL; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_fs, NULL, &obj_cancel)) { + return NULL; + } + PyObject *arg_fs = obj_fs; + char arg_cancel; + if (obj_cancel == NULL) { + arg_cancel = 2; + } else if (unlikely(!PyBool_Check(obj_cancel))) { + CPy_TypeError("bool", obj_cancel); goto fail; + } else + arg_cancel = obj_cancel == Py_True; + PyObject *retval = CPyDef__gather___first_completed(arg_fs, arg_cancel); + CPy_DECREF(obj_fs); + return retval; +fail: ; + CPy_DECREF(obj_fs); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + return NULL; +} + +char CPyDef__gather_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r5; + void *cpy_r_r7; + void *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject **cpy_r_r19; + void *cpy_r_r21; + void *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + char cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject **cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + int32_t cpy_r_r38; + char cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + int32_t cpy_r_r47; + char cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + int32_t cpy_r_r56; + char cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + int32_t cpy_r_r63; + char cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + PyObject *cpy_r_r69; + int32_t cpy_r_r70; + char cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + int32_t cpy_r_r77; + char cpy_r_r78; + PyObject *cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + int32_t cpy_r_r88; + char cpy_r_r89; + char cpy_r_r90; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + 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; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = (PyObject **)&CPyModule_asyncio; + PyObject **cpy_r_r6[1] = {cpy_r_r5}; + 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[1029]; /* (('asyncio', 'asyncio', 'asyncio'),) */ + cpy_r_r11 = CPyStatic__gather___globals; + cpy_r_r12 = CPyStatics[623]; /* 'dank_mids\\helpers\\_gather.py' */ + cpy_r_r13 = CPyStatics[43]; /* '' */ + 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[1030]; /* ('Coroutine', 'Final', 'Iterable', 'Literal', 'Optional', + 'Set', 'Tuple', 'TypeVar', 'Union', 'overload') */ + cpy_r_r16 = CPyStatics[40]; /* '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; + } + CPyModule_typing = cpy_r_r18; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r18); + cpy_r_r19 = (PyObject **)&CPyModule_a_sync___asyncio; + PyObject **cpy_r_r20[1] = {cpy_r_r19}; + 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[1032]; /* (('a_sync.asyncio', 'a_sync', 'a_sync'),) */ + cpy_r_r25 = CPyStatic__gather___globals; + cpy_r_r26 = CPyStatics[623]; /* 'dank_mids\\helpers\\_gather.py' */ + cpy_r_r27 = CPyStatics[43]; /* '' */ + 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; + cpy_r_r29 = CPyStatics[55]; /* '__T' */ + cpy_r_r30 = CPyStatic__gather___globals; + cpy_r_r31 = CPyStatics[37]; /* '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; + } + PyObject *cpy_r_r33[1] = {cpy_r_r29}; + cpy_r_r34 = (PyObject **)&cpy_r_r33; + cpy_r_r35 = PyObject_Vectorcall(cpy_r_r32, cpy_r_r34, 1, 0); + CPy_DECREF(cpy_r_r32); + if (unlikely(cpy_r_r35 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 18, CPyStatic__gather___globals); + goto CPyL26; + } + cpy_r_r36 = CPyStatic__gather___globals; + cpy_r_r37 = CPyStatics[55]; /* '__T' */ + cpy_r_r38 = CPyDict_SetItem(cpy_r_r36, cpy_r_r37, cpy_r_r35); + CPy_DECREF(cpy_r_r35); + 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; + } + cpy_r_r40 = CPyStatic__gather___globals; + cpy_r_r41 = CPyStatics[625]; /* '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; + } + cpy_r_r43 = CPyStatics[627]; /* '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; + } + cpy_r_r45 = CPyStatic__gather___globals; + cpy_r_r46 = CPyStatics[628]; /* 'FinishedTasks' */ + cpy_r_r47 = CPyDict_SetItem(cpy_r_r45, cpy_r_r46, cpy_r_r44); + CPy_DECREF(cpy_r_r44); + 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; + } + cpy_r_r49 = CPyStatic__gather___globals; + cpy_r_r50 = CPyStatics[625]; /* '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; + } + cpy_r_r52 = CPyStatics[627]; /* '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; + } + cpy_r_r54 = CPyStatic__gather___globals; + cpy_r_r55 = CPyStatics[629]; /* 'PendingTasks' */ + cpy_r_r56 = CPyDict_SetItem(cpy_r_r54, cpy_r_r55, cpy_r_r53); + CPy_DECREF(cpy_r_r53); + 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; + } + cpy_r_r58 = CPyModule_asyncio; + cpy_r_r59 = CPyStatics[30]; /* 'Task' */ + 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; + } + CPyStatic__gather___Task = cpy_r_r60; + CPy_INCREF(CPyStatic__gather___Task); + cpy_r_r61 = CPyStatic__gather___globals; + cpy_r_r62 = CPyStatics[30]; /* 'Task' */ + 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; + } + cpy_r_r65 = CPyModule_asyncio; + cpy_r_r66 = CPyStatics[630]; /* 'get_running_loop' */ + 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; + } + CPyStatic__gather___get_running_loop = cpy_r_r67; + CPy_INCREF(CPyStatic__gather___get_running_loop); + cpy_r_r68 = CPyStatic__gather___globals; + cpy_r_r69 = CPyStatics[630]; /* 'get_running_loop' */ + 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; + } + cpy_r_r72 = CPyModule_asyncio; + cpy_r_r73 = CPyStatics[631]; /* 'wait' */ + 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; + } + CPyStatic__gather___wait = cpy_r_r74; + CPy_INCREF(CPyStatic__gather___wait); + cpy_r_r75 = CPyStatic__gather___globals; + cpy_r_r76 = CPyStatics[631]; /* 'wait' */ + 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; + } + cpy_r_r79 = CPyStatic__gather___globals; + cpy_r_r80 = CPyStatics[41]; /* 'a_sync' */ + cpy_r_r81 = CPyDict_GetItem(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_r_r82 = CPyStatics[31]; /* 'asyncio' */ + cpy_r_r83 = CPyObject_GetAttr(cpy_r_r81, cpy_r_r82); + 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_r84 = CPyStatics[632]; /* '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; + } + CPyStatic__gather___yield_to_loop = cpy_r_r85; + CPy_INCREF(CPyStatic__gather___yield_to_loop); + cpy_r_r86 = CPyStatic__gather___globals; + cpy_r_r87 = CPyStatics[633]; /* '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; + } + return 1; +CPyL26: ; + cpy_r_r90 = 2; + return cpy_r_r90; +} + +static int +_weaklist___WeakList_init(PyObject *self, PyObject *args, PyObject *kwds) +{ + return 0; +} +static Py_ssize_t CPyDunder___len___weaklist___WeakList(PyObject *self) { + CPyTagged retval = CPyDef__weaklist___WeakList_____len__(self); + if (retval == CPY_INT_TAG) { + return -1; + } + Py_ssize_t val = CPyTagged_AsSsize_t(retval); + CPyTagged_DECREF(retval); + if (PyErr_Occurred()) return -1; + return val; +} +static PyMappingMethods _weaklist___WeakList_as_mapping = { + .mp_length = CPyDunder___len___weaklist___WeakList, +}; +static int CPyDunder___contains___weaklist___WeakList(PyObject *self, PyObject *obj_item) { + PyObject *arg_item = obj_item; + char val = CPyDef__weaklist___WeakList_____contains__(self, arg_item); + if (val == 2) { + return -1; + } + return val; +} +static PySequenceMethods _weaklist___WeakList_as_sequence = { + .sq_contains = CPyDunder___contains___weaklist___WeakList, +}; +static int CPyDunder___bool___weaklist___WeakList(PyObject *self) { + char val = CPyDef__weaklist___WeakList_____bool__(self); + if (val == 2) { + return -1; + } + return val; +} +static PyNumberMethods _weaklist___WeakList_as_number = { + .nb_bool = CPyDunder___bool___weaklist___WeakList, +}; +PyObject *CPyDef__weaklist_____mypyc__WeakList_setup(PyObject *cpy_r_type); +PyObject *CPyDef__weaklist___WeakList(PyObject *cpy_r_data); + +static PyObject * +_weaklist___WeakList_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType__weaklist___WeakList) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef__weaklist_____mypyc__WeakList_setup((PyObject*)type); + if (self == NULL) + return NULL; + PyObject *ret = CPyPy__weaklist___WeakList_____init__(self, args, kwds); + if (ret == NULL) + return NULL; + return self; +} + +static int +_weaklist___WeakList_traverse(dank_mids___helpers____weaklist___WeakListObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->__refs); + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +_weaklist___WeakList_clear(dank_mids___helpers____weaklist___WeakListObject *self) +{ + Py_CLEAR(self->__refs); + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +_weaklist___WeakList_dealloc(dank_mids___helpers____weaklist___WeakListObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, _weaklist___WeakList_dealloc) + _weaklist___WeakList_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem _weaklist___WeakList_vtable[10]; +static bool +CPyDef__weaklist___WeakList_trait_vtable_setup(void) +{ + CPyVTableItem _weaklist___WeakList_vtable_scratch[] = { + (CPyVTableItem)CPyDef__weaklist___WeakList_____init__, + (CPyVTableItem)CPyDef__weaklist___WeakList_____repr__, + (CPyVTableItem)CPyDef__weaklist___WeakList_____len__, + (CPyVTableItem)CPyDef__weaklist___WeakList_____bool__, + (CPyVTableItem)CPyDef__weaklist___WeakList_____contains__, + (CPyVTableItem)CPyDef__weaklist___WeakList_____iter__, + (CPyVTableItem)CPyDef__weaklist___WeakList___append, + (CPyVTableItem)CPyDef__weaklist___WeakList___extend, + (CPyVTableItem)CPyDef__weaklist___WeakList___remove, + (CPyVTableItem)CPyDef__weaklist___WeakList____gc_callback, + }; + memcpy(_weaklist___WeakList_vtable, _weaklist___WeakList_vtable_scratch, sizeof(_weaklist___WeakList_vtable)); + return 1; +} + +static PyObject * +_weaklist___WeakList_get__refs(dank_mids___helpers____weaklist___WeakListObject *self, void *closure); +static int +_weaklist___WeakList_set__refs(dank_mids___helpers____weaklist___WeakListObject *self, PyObject *value, void *closure); + +static PyGetSetDef _weaklist___WeakList_getseters[] = { + {"_refs", + (getter)_weaklist___WeakList_get__refs, (setter)_weaklist___WeakList_set__refs, + NULL, NULL}, + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef _weaklist___WeakList_methods[] = { + {"__init__", + (PyCFunction)CPyPy__weaklist___WeakList_____init__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__init__($self, data=None)\n--\n\n")}, + {"__repr__", + (PyCFunction)CPyPy__weaklist___WeakList_____repr__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__repr__($self, /)\n--\n\n")}, + {"__len__", + (PyCFunction)CPyPy__weaklist___WeakList_____len__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__len__($self, /)\n--\n\n")}, + {"__bool__", + (PyCFunction)CPyPy__weaklist___WeakList_____bool__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__bool__($self)\n--\n\n")}, + {"__contains__", + (PyCFunction)CPyPy__weaklist___WeakList_____contains__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__contains__($self, item, /)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy__weaklist___WeakList_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__($self, /)\n--\n\n")}, + {"append", + (PyCFunction)CPyPy__weaklist___WeakList___append, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("append($self, item)\n--\n\n")}, + {"extend", + (PyCFunction)CPyPy__weaklist___WeakList___extend, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("extend($self, items)\n--\n\n")}, + {"remove", + (PyCFunction)CPyPy__weaklist___WeakList___remove, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("remove($self, item)\n--\n\n")}, + {"_gc_callback", + (PyCFunction)CPyPy__weaklist___WeakList____gc_callback, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_gc_callback($self, item)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__weaklist___WeakList_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "WeakList", + .tp_new = _weaklist___WeakList_new, + .tp_dealloc = (destructor)_weaklist___WeakList_dealloc, + .tp_traverse = (traverseproc)_weaklist___WeakList_traverse, + .tp_clear = (inquiry)_weaklist___WeakList_clear, + .tp_getset = _weaklist___WeakList_getseters, + .tp_methods = _weaklist___WeakList_methods, + .tp_init = _weaklist___WeakList_init, + .tp_iter = CPyDef__weaklist___WeakList_____iter__, + .tp_repr = CPyDef__weaklist___WeakList_____repr__, + .tp_as_mapping = &_weaklist___WeakList_as_mapping, + .tp_as_sequence = &_weaklist___WeakList_as_sequence, + .tp_as_number = &_weaklist___WeakList_as_number, + .tp_basicsize = sizeof(dank_mids___helpers____weaklist___WeakListObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("WeakList(data=None)\n--\n\n"), +}; +static PyTypeObject *CPyType__weaklist___WeakList_template = &CPyType__weaklist___WeakList_template_; + +PyObject *CPyDef__weaklist_____mypyc__WeakList_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___helpers____weaklist___WeakListObject *self; + self = (dank_mids___helpers____weaklist___WeakListObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = _weaklist___WeakList_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef__weaklist___WeakList(PyObject *cpy_r_data) +{ + PyObject *self = CPyDef__weaklist_____mypyc__WeakList_setup((PyObject *)CPyType__weaklist___WeakList); + if (self == NULL) + return NULL; + char res = CPyDef__weaklist___WeakList_____init__(self, cpy_r_data); + if (res == 2) { + Py_DECREF(self); + return NULL; + } + return self; +} + +static PyObject * +_weaklist___WeakList_get__refs(dank_mids___helpers____weaklist___WeakListObject *self, void *closure) +{ + if (unlikely(self->__refs == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '_refs' of 'WeakList' undefined"); + return NULL; + } + CPy_INCREF(self->__refs); + PyObject *retval = self->__refs; + return retval; +} + +static int +_weaklist___WeakList_set__refs(dank_mids___helpers____weaklist___WeakListObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'WeakList' object attribute '_refs' cannot be deleted"); + return -1; + } + if (self->__refs != NULL) { + CPy_DECREF(self->__refs); + } + PyObject *tmp; + if (likely(PyDict_Check(value))) + tmp = value; + else { + CPy_TypeError("dict", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->__refs = tmp; + return 0; +} + +PyObject *CPyDef__weaklist_____mypyc___3__iter___3_WeakList_gen_setup(PyObject *cpy_r_type); +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen(void); + +static PyObject * +_weaklist_____iter___3_WeakList_gen_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType__weaklist_____iter___3_WeakList_gen) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef__weaklist_____mypyc___3__iter___3_WeakList_gen_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +_weaklist_____iter___3_WeakList_gen_traverse(dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_generator_attribute__self); + Py_VISIT(self->___mypyc_temp__0); + Py_VISIT(self->___mypyc_temp__3); + Py_VISIT(self->___mypyc_generator_attribute__reference); + Py_VISIT(self->___mypyc_generator_attribute__obj); + return 0; +} + +static int +_weaklist_____iter___3_WeakList_gen_clear(dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *self) +{ + Py_CLEAR(self->___mypyc_generator_attribute__self); + Py_CLEAR(self->___mypyc_temp__0); + Py_CLEAR(self->___mypyc_temp__3); + Py_CLEAR(self->___mypyc_generator_attribute__reference); + Py_CLEAR(self->___mypyc_generator_attribute__obj); + return 0; +} + +static void +_weaklist_____iter___3_WeakList_gen_dealloc(dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *self) +{ + PyObject_GC_UnTrack(self); + if (_weaklist_____iter___3_WeakList_gen_free_instance == NULL) { + _weaklist_____iter___3_WeakList_gen_free_instance = self; + Py_CLEAR(self->___mypyc_generator_attribute__self); + self->___mypyc_next_label__ = -113; + Py_CLEAR(self->___mypyc_temp__0); + self->___mypyc_temp__1 = CPY_INT_TAG; + self->___mypyc_temp__2 = -113; + Py_CLEAR(self->___mypyc_temp__3); + Py_CLEAR(self->___mypyc_generator_attribute__reference); + Py_CLEAR(self->___mypyc_generator_attribute__obj); + return; + } + CPy_TRASHCAN_BEGIN(self, _weaklist_____iter___3_WeakList_gen_dealloc) + _weaklist_____iter___3_WeakList_gen_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem _weaklist_____iter___3_WeakList_gen_vtable[6]; +static bool +CPyDef__weaklist_____iter___3_WeakList_gen_trait_vtable_setup(void) +{ + CPyVTableItem _weaklist_____iter___3_WeakList_gen_vtable_scratch[] = { + (CPyVTableItem)CPyDef__weaklist_____iter___3_WeakList_gen_____mypyc_generator_helper__, + (CPyVTableItem)CPyDef__weaklist_____iter___3_WeakList_gen_____next__, + (CPyVTableItem)CPyDef__weaklist_____iter___3_WeakList_gen___send, + (CPyVTableItem)CPyDef__weaklist_____iter___3_WeakList_gen_____iter__, + (CPyVTableItem)CPyDef__weaklist_____iter___3_WeakList_gen___throw, + (CPyVTableItem)CPyDef__weaklist_____iter___3_WeakList_gen___close, + }; + memcpy(_weaklist_____iter___3_WeakList_gen_vtable, _weaklist_____iter___3_WeakList_gen_vtable_scratch, sizeof(_weaklist_____iter___3_WeakList_gen_vtable)); + return 1; +} + +static PyMethodDef _weaklist_____iter___3_WeakList_gen_methods[] = { + {"__next__", + (PyCFunction)CPyPy__weaklist_____iter___3_WeakList_gen_____next__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__next__()\n--\n\n")}, + {"send", + (PyCFunction)CPyPy__weaklist_____iter___3_WeakList_gen___send, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("send($arg)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy__weaklist_____iter___3_WeakList_gen_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__()\n--\n\n")}, + {"throw", + (PyCFunction)CPyPy__weaklist_____iter___3_WeakList_gen___throw, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"close", + (PyCFunction)CPyPy__weaklist_____iter___3_WeakList_gen___close, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("close()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType__weaklist_____iter___3_WeakList_gen_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "__iter___WeakList_gen", + .tp_new = _weaklist_____iter___3_WeakList_gen_new, + .tp_dealloc = (destructor)_weaklist_____iter___3_WeakList_gen_dealloc, + .tp_traverse = (traverseproc)_weaklist_____iter___3_WeakList_gen_traverse, + .tp_clear = (inquiry)_weaklist_____iter___3_WeakList_gen_clear, + .tp_methods = _weaklist_____iter___3_WeakList_gen_methods, + .tp_iter = CPyDef__weaklist_____iter___3_WeakList_gen_____iter__, + .tp_iternext = CPyDef__weaklist_____iter___3_WeakList_gen_____next__, + .tp_basicsize = sizeof(dank_mids___helpers____weaklist_____iter___3_WeakList_genObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("__iter___WeakList_gen()\n--\n\n"), +}; +static PyTypeObject *CPyType__weaklist_____iter___3_WeakList_gen_template = &CPyType__weaklist_____iter___3_WeakList_gen_template_; + +PyObject *CPyDef__weaklist_____mypyc___3__iter___3_WeakList_gen_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *self; + if (_weaklist_____iter___3_WeakList_gen_free_instance != NULL) { + self = _weaklist_____iter___3_WeakList_gen_free_instance; + _weaklist_____iter___3_WeakList_gen_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = _weaklist_____iter___3_WeakList_gen_vtable; + self->___mypyc_next_label__ = -113; + self->___mypyc_temp__1 = CPY_INT_TAG; + self->___mypyc_temp__2 = -113; + return (PyObject *)self; +} + +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen(void) +{ + PyObject *self = CPyDef__weaklist_____mypyc___3__iter___3_WeakList_gen_setup((PyObject *)CPyType__weaklist_____iter___3_WeakList_gen); + if (self == NULL) + return NULL; + return self; +} + +static PyMethodDef _weaklistmodule_methods[] = { + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___helpers____weaklist(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___helpers____weaklist__internal, "__name__"); + CPyStatic__weaklist___globals = PyModule_GetDict(CPyModule_dank_mids___helpers____weaklist__internal); + if (unlikely(CPyStatic__weaklist___globals == NULL)) + goto fail; + CPyType__weaklist_____iter___3_WeakList_gen = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType__weaklist_____iter___3_WeakList_gen_template, NULL, modname); + if (unlikely(!CPyType__weaklist_____iter___3_WeakList_gen)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef__weaklist_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___helpers____weaklist__internal); + Py_CLEAR(modname); + Py_CLEAR(CPyType__weaklist___WeakList); + Py_CLEAR(CPyType__weaklist_____iter___3_WeakList_gen); + return -1; +} +static struct PyModuleDef _weaklistmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.helpers._weaklist", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + _weaklistmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___helpers____weaklist(void) +{ + if (CPyModule_dank_mids___helpers____weaklist__internal) { + Py_INCREF(CPyModule_dank_mids___helpers____weaklist__internal); + return CPyModule_dank_mids___helpers____weaklist__internal; + } + CPyModule_dank_mids___helpers____weaklist__internal = PyModule_Create(&_weaklistmodule); + if (unlikely(CPyModule_dank_mids___helpers____weaklist__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___helpers____weaklist(CPyModule_dank_mids___helpers____weaklist__internal) != 0) + goto fail; + return CPyModule_dank_mids___helpers____weaklist__internal; + fail: + return NULL; +} + +char CPyDef__weaklist___WeakList_____init__(PyObject *cpy_r_self, PyObject *cpy_r_data) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + char cpy_r_r4; + char cpy_r_r5; + char cpy_r_r6; + if (cpy_r_data != NULL) goto CPyL8; + cpy_r_r0 = Py_None; + cpy_r_data = cpy_r_r0; +CPyL2: ; + cpy_r_r1 = PyDict_New(); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__init__", 14, CPyStatic__weaklist___globals); + goto CPyL9; + } + if (((dank_mids___helpers____weaklist___WeakListObject *)cpy_r_self)->__refs != NULL) { + CPy_DECREF(((dank_mids___helpers____weaklist___WeakListObject *)cpy_r_self)->__refs); + } + ((dank_mids___helpers____weaklist___WeakListObject *)cpy_r_self)->__refs = cpy_r_r1; + cpy_r_r2 = 1; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__init__", 14, CPyStatic__weaklist___globals); + goto CPyL9; + } + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = cpy_r_data != cpy_r_r3; + if (!cpy_r_r4) goto CPyL10; + cpy_r_r5 = CPyDef__weaklist___WeakList___extend(cpy_r_self, cpy_r_data); + CPy_DECREF(cpy_r_data); + if (unlikely(cpy_r_r5 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__init__", 16, CPyStatic__weaklist___globals); + goto CPyL7; + } +CPyL6: ; + return 1; +CPyL7: ; + cpy_r_r6 = 2; + return cpy_r_r6; +CPyL8: ; + CPy_INCREF(cpy_r_data); + goto CPyL2; +CPyL9: ; + CPy_DecRef(cpy_r_data); + goto CPyL7; +CPyL10: ; + CPy_DECREF(cpy_r_data); + goto CPyL6; +} + +PyObject *CPyPy__weaklist___WeakList_____init__(PyObject *self, PyObject *args, PyObject *kw) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"data", 0}; + PyObject *obj_data = NULL; + if (!CPyArg_ParseTupleAndKeywords(args, kw, "|O", "__init__", kwlist, &obj_data)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__weaklist___WeakList)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers._weaklist.WeakList", obj_self); + goto fail; + } + PyObject *arg_data; + if (obj_data == NULL) { + arg_data = NULL; + goto __LL283; + } + arg_data = obj_data; + if (arg_data != NULL) goto __LL283; + if (obj_data == Py_None) + arg_data = obj_data; + else { + arg_data = NULL; + } + if (arg_data != NULL) goto __LL283; + CPy_TypeError("object or None", obj_data); + goto fail; +__LL283: ; + char retval = CPyDef__weaklist___WeakList_____init__(arg_self, arg_data); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__init__", 12, CPyStatic__weaklist___globals); + return NULL; +} + +PyObject *CPyDef__weaklist___WeakList_____repr__(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject **cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + cpy_r_r0 = CPy_TYPE(cpy_r_self); + cpy_r_r1 = CPy_GetName(cpy_r_r0); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__repr__", 20, CPyStatic__weaklist___globals); + goto CPyL8; + } + if (likely(PyUnicode_Check(cpy_r_r1))) + cpy_r_r2 = cpy_r_r1; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\_weaklist.py", "__repr__", 20, CPyStatic__weaklist___globals, "str", cpy_r_r1); + goto CPyL8; + } + cpy_r_r3 = CPyStatics[634]; /* '([' */ + cpy_r_r4 = CPyStatics[635]; /* ', ' */ + cpy_r_r5 = CPyModule_builtins; + cpy_r_r6 = CPyStatics[636]; /* 'repr' */ + cpy_r_r7 = CPyObject_GetAttr(cpy_r_r5, cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__repr__", 20, CPyStatic__weaklist___globals); + goto CPyL9; + } + cpy_r_r8 = CPyModule_builtins; + cpy_r_r9 = CPyStatics[239]; /* 'map' */ + cpy_r_r10 = CPyObject_GetAttr(cpy_r_r8, cpy_r_r9); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__repr__", 20, CPyStatic__weaklist___globals); + goto CPyL10; + } + PyObject *cpy_r_r11[2] = {cpy_r_r7, cpy_r_self}; + cpy_r_r12 = (PyObject **)&cpy_r_r11; + cpy_r_r13 = PyObject_Vectorcall(cpy_r_r10, cpy_r_r12, 2, 0); + CPy_DECREF(cpy_r_r10); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__repr__", 20, CPyStatic__weaklist___globals); + goto CPyL10; + } + CPy_DECREF(cpy_r_r7); + cpy_r_r14 = PyUnicode_Join(cpy_r_r4, cpy_r_r13); + CPy_DECREF(cpy_r_r13); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__repr__", 20, CPyStatic__weaklist___globals); + goto CPyL9; + } + cpy_r_r15 = CPyStatics[637]; /* '])' */ + cpy_r_r16 = CPyStr_Build(4, cpy_r_r2, cpy_r_r3, cpy_r_r14, cpy_r_r15); + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r14); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__repr__", 20, CPyStatic__weaklist___globals); + goto CPyL8; + } + return cpy_r_r16; +CPyL8: ; + cpy_r_r17 = NULL; + return cpy_r_r17; +CPyL9: ; + CPy_DecRef(cpy_r_r2); + goto CPyL8; +CPyL10: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r7); + goto CPyL8; +} + +PyObject *CPyPy__weaklist___WeakList_____repr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__repr__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__weaklist___WeakList)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers._weaklist.WeakList", obj_self); + goto fail; + } + PyObject *retval = CPyDef__weaklist___WeakList_____repr__(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__repr__", 18, CPyStatic__weaklist___globals); + return NULL; +} + +CPyTagged CPyDef__weaklist___WeakList_____len__(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + int64_t cpy_r_r1; + CPyTagged cpy_r_r2; + CPyTagged cpy_r_r3; + cpy_r_r0 = ((dank_mids___helpers____weaklist___WeakListObject *)cpy_r_self)->__refs; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "__len__", "WeakList", "_refs", 23, CPyStatic__weaklist___globals); + goto CPyL2; + } + CPy_INCREF(cpy_r_r0); +CPyL1: ; + cpy_r_r1 = PyDict_Size(cpy_r_r0); + CPy_DECREF(cpy_r_r0); + cpy_r_r2 = cpy_r_r1 << 1; + return cpy_r_r2; +CPyL2: ; + cpy_r_r3 = CPY_INT_TAG; + return cpy_r_r3; +} + +PyObject *CPyPy__weaklist___WeakList_____len__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__len__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__weaklist___WeakList)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers._weaklist.WeakList", obj_self); + goto fail; + } + CPyTagged retval = CPyDef__weaklist___WeakList_____len__(arg_self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__len__", 22, CPyStatic__weaklist___globals); + return NULL; +} + +char CPyDef__weaklist___WeakList_____bool__(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject **cpy_r_r4; + PyObject *cpy_r_r5; + char cpy_r_r6; + char cpy_r_r7; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[638]; /* 'any' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__bool__", 26, CPyStatic__weaklist___globals); + goto CPyL4; + } + PyObject *cpy_r_r3[1] = {cpy_r_self}; + cpy_r_r4 = (PyObject **)&cpy_r_r3; + cpy_r_r5 = PyObject_Vectorcall(cpy_r_r2, cpy_r_r4, 1, 0); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__bool__", 26, CPyStatic__weaklist___globals); + goto CPyL4; + } + if (unlikely(!PyBool_Check(cpy_r_r5))) { + CPy_TypeError("bool", cpy_r_r5); cpy_r_r6 = 2; + } else + cpy_r_r6 = cpy_r_r5 == Py_True; + CPy_DECREF(cpy_r_r5); + if (unlikely(cpy_r_r6 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__bool__", 26, CPyStatic__weaklist___globals); + goto CPyL4; + } + return cpy_r_r6; +CPyL4: ; + cpy_r_r7 = 2; + return cpy_r_r7; +} + +PyObject *CPyPy__weaklist___WeakList_____bool__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__bool__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__weaklist___WeakList)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers._weaklist.WeakList", obj_self); + goto fail; + } + char retval = CPyDef__weaklist___WeakList_____bool__(arg_self); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__bool__", 25, CPyStatic__weaklist___globals); + return NULL; +} + +char CPyDef__weaklist___WeakList_____contains__(PyObject *cpy_r_self, PyObject *cpy_r_item) { + PyObject *cpy_r_r0; + CPyTagged cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_reference; + PyObject *cpy_r_r4; + char cpy_r_r5; + char cpy_r_r6; + PyObject *cpy_r_r7; + char cpy_r_r8; + char cpy_r_r9; + cpy_r_r0 = ((dank_mids___helpers____weaklist___WeakListObject *)cpy_r_self)->__refs; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "__contains__", "WeakList", "_refs", 29, CPyStatic__weaklist___globals); + goto CPyL7; + } + CPy_INCREF(cpy_r_r0); +CPyL1: ; + cpy_r_r1 = CPyTagged_Id(cpy_r_item); + cpy_r_r2 = CPyTagged_StealAsObject(cpy_r_r1); + cpy_r_r3 = CPyDict_GetWithNone(cpy_r_r0, cpy_r_r2); + CPy_DECREF(cpy_r_r0); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__contains__", 29, CPyStatic__weaklist___globals); + goto CPyL7; + } + cpy_r_reference = cpy_r_r3; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = cpy_r_reference == cpy_r_r4; + if (cpy_r_r5) { + goto CPyL8; + } else + goto CPyL4; +CPyL3: ; + cpy_r_r6 = 0; + goto CPyL6; +CPyL4: ; + cpy_r_r7 = PyObject_Vectorcall(cpy_r_reference, 0, 0, 0); + CPy_DECREF(cpy_r_reference); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__contains__", 30, CPyStatic__weaklist___globals); + goto CPyL7; + } + cpy_r_r8 = cpy_r_r7 == cpy_r_item; + CPy_DECREF(cpy_r_r7); + cpy_r_r6 = cpy_r_r8; +CPyL6: ; + return cpy_r_r6; +CPyL7: ; + cpy_r_r9 = 2; + return cpy_r_r9; +CPyL8: ; + CPy_DECREF(cpy_r_reference); + goto CPyL3; +} + +PyObject *CPyPy__weaklist___WeakList_____contains__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"item", 0}; + static CPyArg_Parser parser = {"O:__contains__", kwlist, 0}; + PyObject *obj_item; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_item)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__weaklist___WeakList)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers._weaklist.WeakList", obj_self); + goto fail; + } + PyObject *arg_item = obj_item; + char retval = CPyDef__weaklist___WeakList_____contains__(arg_self, arg_item); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__contains__", 28, CPyStatic__weaklist___globals); + return NULL; +} + +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr) { + int32_t cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + char cpy_r_r6; + PyObject *cpy_r_r7; + int64_t cpy_r_r8; + char cpy_r_r9; + PyObject *cpy_r_r10; + char cpy_r_r11; + PyObject *cpy_r_r12; + CPyTagged cpy_r_r13; + tuple_T3CIO cpy_r_r14; + CPyTagged cpy_r_r15; + char cpy_r_r16; + char cpy_r_r17; + PyObject *cpy_r_r18; + char cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + char cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + char cpy_r_r25; + PyObject *cpy_r_r26; + char cpy_r_r27; + PyObject *cpy_r_r28; + char cpy_r_r29; + PyObject *cpy_r_r30; + int64_t cpy_r_r31; + char cpy_r_r32; + char cpy_r_r33; + PyObject *cpy_r_r34; + char cpy_r_r35; + char cpy_r_r36; + char cpy_r_r37; + char cpy_r_r38; + PyObject *cpy_r_r39; + cpy_r_r0 = ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__; + goto CPyL36; +CPyL1: ; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_type != cpy_r_r1; + if (!cpy_r_r2) goto CPyL4; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", 32, CPyStatic__weaklist___globals); + goto CPyL40; + } + CPy_Unreachable(); +CPyL4: ; + cpy_r_r3 = ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "__iter__", "__iter___WeakList_gen", "self", 33, CPyStatic__weaklist___globals); + goto CPyL40; + } + CPy_INCREF_NO_IMM(cpy_r_r3); +CPyL5: ; + cpy_r_r4 = ((dank_mids___helpers____weaklist___WeakListObject *)cpy_r_r3)->__refs; + if (unlikely(cpy_r_r4 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute '_refs' of 'WeakList' undefined"); + } else { + CPy_INCREF(cpy_r_r4); + } + CPy_DECREF_NO_IMM(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", 33, CPyStatic__weaklist___globals); + goto CPyL40; + } +CPyL6: ; + CPy_INCREF(cpy_r_r4); + if (((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 != NULL) { + CPy_DECREF(((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0); + } + ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 = cpy_r_r4; + cpy_r_r5 = 1; + if (unlikely(!cpy_r_r5)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", -1, CPyStatic__weaklist___globals); + goto CPyL41; + } + ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1 = 0; + cpy_r_r6 = 1; + if (unlikely(!cpy_r_r6)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", -1, CPyStatic__weaklist___globals); + goto CPyL41; + } + cpy_r_r7 = ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0; + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "__iter__", "__iter___WeakList_gen", "__mypyc_temp__0", 33, CPyStatic__weaklist___globals); + goto CPyL41; + } + CPy_INCREF(cpy_r_r7); +CPyL9: ; + cpy_r_r8 = PyDict_Size(cpy_r_r7); + CPy_DECREF(cpy_r_r7); + ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__2 = cpy_r_r8; + cpy_r_r9 = 1; + if (unlikely(!cpy_r_r9)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", -1, CPyStatic__weaklist___globals); + goto CPyL41; + } + cpy_r_r10 = CPyDict_GetValuesIter(cpy_r_r4); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", 33, CPyStatic__weaklist___globals); + goto CPyL40; + } + if (((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3 != NULL) { + CPy_DECREF(((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3); + } + ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3 = cpy_r_r10; + cpy_r_r11 = 1; + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", -1, CPyStatic__weaklist___globals); + goto CPyL40; + } +CPyL12: ; + cpy_r_r12 = ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__3; + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "__iter__", "__iter___WeakList_gen", "__mypyc_temp__3", 33, CPyStatic__weaklist___globals); + goto CPyL40; + } + CPy_INCREF(cpy_r_r12); +CPyL13: ; + cpy_r_r13 = ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1; + if (unlikely(cpy_r_r13 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "__iter__", "__iter___WeakList_gen", "__mypyc_temp__1", 33, CPyStatic__weaklist___globals); + goto CPyL42; + } +CPyL14: ; + cpy_r_r14 = CPyDict_NextValue(cpy_r_r12, cpy_r_r13); + CPy_DECREF(cpy_r_r12); + cpy_r_r15 = cpy_r_r14.f1; + ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1 = cpy_r_r15; + cpy_r_r16 = 1; + if (unlikely(!cpy_r_r16)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", 33, CPyStatic__weaklist___globals); + goto CPyL43; + } + cpy_r_r17 = cpy_r_r14.f0; + if (!cpy_r_r17) goto CPyL44; + cpy_r_r18 = cpy_r_r14.f2; + CPy_INCREF(cpy_r_r18); + CPy_DECREF(cpy_r_r14.f2); + if (((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__reference != NULL) { + CPy_DECREF(((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__reference); + } + ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__reference = cpy_r_r18; + cpy_r_r19 = 1; + if (unlikely(!cpy_r_r19)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", 33, CPyStatic__weaklist___globals); + goto CPyL40; + } + cpy_r_r20 = ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__reference; + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "__iter__", "__iter___WeakList_gen", "reference", 34, CPyStatic__weaklist___globals); + goto CPyL40; + } + CPy_INCREF(cpy_r_r20); +CPyL18: ; + cpy_r_r21 = PyObject_Vectorcall(cpy_r_r20, 0, 0, 0); + CPy_DECREF(cpy_r_r20); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", 34, CPyStatic__weaklist___globals); + goto CPyL40; + } + if (((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__obj != NULL) { + CPy_DECREF(((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__obj); + } + ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__obj = cpy_r_r21; + cpy_r_r22 = 1; + if (unlikely(!cpy_r_r22)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", 34, CPyStatic__weaklist___globals); + goto CPyL40; + } + cpy_r_r23 = ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__obj; + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "__iter__", "__iter___WeakList_gen", "obj", 35, CPyStatic__weaklist___globals); + goto CPyL40; + } + CPy_INCREF(cpy_r_r23); +CPyL21: ; + cpy_r_r24 = (PyObject *)&_Py_NoneStruct; + cpy_r_r25 = cpy_r_r23 != cpy_r_r24; + CPy_DECREF(cpy_r_r23); + if (!cpy_r_r25) goto CPyL27; + cpy_r_r26 = ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__obj; + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "__iter__", "__iter___WeakList_gen", "obj", 36, CPyStatic__weaklist___globals); + goto CPyL40; + } + CPy_INCREF(cpy_r_r26); +CPyL23: ; + ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 1; + return cpy_r_r26; +CPyL24: ; + cpy_r_r28 = (PyObject *)&_Py_NoneStruct; + cpy_r_r29 = cpy_r_type != cpy_r_r28; + if (!cpy_r_r29) goto CPyL27; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", 36, CPyStatic__weaklist___globals); + goto CPyL40; + } + CPy_Unreachable(); +CPyL27: ; + cpy_r_r30 = ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0; + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "__iter__", "__iter___WeakList_gen", "__mypyc_temp__0", 33, CPyStatic__weaklist___globals); + goto CPyL40; + } + CPy_INCREF(cpy_r_r30); +CPyL28: ; + cpy_r_r31 = ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__2; + if (unlikely(cpy_r_r31 == -113)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "__iter__", "__iter___WeakList_gen", "__mypyc_temp__2", 33, CPyStatic__weaklist___globals); + goto CPyL45; + } +CPyL29: ; + cpy_r_r32 = CPyDict_CheckSize(cpy_r_r30, cpy_r_r31); + CPy_DECREF(cpy_r_r30); + if (unlikely(!cpy_r_r32)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", 33, CPyStatic__weaklist___globals); + goto CPyL40; + } else + goto CPyL12; +CPyL30: ; + cpy_r_r33 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r33)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", 33, CPyStatic__weaklist___globals); + goto CPyL40; + } + cpy_r_r34 = Py_None; + ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = -1; + if (cpy_r_stop_iter_ptr != NULL) goto CPyL35; + CPyGen_SetStopIterationValue(cpy_r_r34); + if (!0) goto CPyL40; + CPy_Unreachable(); +CPyL35: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r34; + return 0; +CPyL36: ; + cpy_r_r36 = cpy_r_r0 == 0; + if (cpy_r_r36) goto CPyL1; + cpy_r_r37 = cpy_r_r0 == 1; + if (cpy_r_r37) goto CPyL24; + PyErr_SetNone(PyExc_StopIteration); + cpy_r_r38 = 0; + if (unlikely(!cpy_r_r38)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", 32, CPyStatic__weaklist___globals); + goto CPyL40; + } + CPy_Unreachable(); +CPyL40: ; + cpy_r_r39 = NULL; + return cpy_r_r39; +CPyL41: ; + CPy_DecRef(cpy_r_r4); + goto CPyL40; +CPyL42: ; + CPy_DecRef(cpy_r_r12); + goto CPyL40; +CPyL43: ; + CPy_DecRef(cpy_r_r14.f2); + goto CPyL40; +CPyL44: ; + CPy_DECREF(cpy_r_r14.f2); + goto CPyL30; +CPyL45: ; + CPy_DecRef(cpy_r_r30); + goto CPyL40; +} + +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen_____next__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef__weaklist_____iter___3_WeakList_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_r0, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy__weaklist_____iter___3_WeakList_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__next__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__weaklist_____iter___3_WeakList_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._weaklist.__iter___WeakList_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__weaklist_____iter___3_WeakList_gen_____next__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__next__", -1, CPyStatic__weaklist___globals); + return NULL; +} + +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef__weaklist_____iter___3_WeakList_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_arg, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy__weaklist_____iter___3_WeakList_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"arg", 0}; + static CPyArg_Parser parser = {"O:send", kwlist, 0}; + PyObject *obj_arg; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_arg)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__weaklist_____iter___3_WeakList_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._weaklist.__iter___WeakList_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_arg = obj_arg; + PyObject *retval = CPyDef__weaklist_____iter___3_WeakList_gen___send(arg___mypyc_self__, arg_arg); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "send", -1, CPyStatic__weaklist___globals); + return NULL; +} + +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen_____iter__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy__weaklist_____iter___3_WeakList_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__weaklist_____iter___3_WeakList_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._weaklist.__iter___WeakList_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__weaklist_____iter___3_WeakList_gen_____iter__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", -1, CPyStatic__weaklist___globals); + return NULL; +} + +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + if (cpy_r_value != NULL) goto CPyL7; + CPy_INCREF(cpy_r_r0); + cpy_r_value = cpy_r_r0; +CPyL2: ; + if (cpy_r_traceback != NULL) goto CPyL8; + CPy_INCREF(cpy_r_r0); + cpy_r_traceback = cpy_r_r0; +CPyL4: ; + cpy_r_r1 = CPyDef__weaklist_____iter___3_WeakList_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_type, cpy_r_value, cpy_r_traceback, cpy_r_r0, 0); + CPy_DECREF(cpy_r_value); + CPy_DECREF(cpy_r_traceback); + if (cpy_r_r1 == NULL) goto CPyL6; + return cpy_r_r1; +CPyL6: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +CPyL7: ; + CPy_INCREF(cpy_r_value); + goto CPyL2; +CPyL8: ; + CPy_INCREF(cpy_r_traceback); + goto CPyL4; +} + +PyObject *CPyPy__weaklist_____iter___3_WeakList_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"type", "value", "traceback", 0}; + static CPyArg_Parser parser = {"O|OO:throw", kwlist, 0}; + PyObject *obj_type; + PyObject *obj_value = NULL; + PyObject *obj_traceback = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type, &obj_value, &obj_traceback)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__weaklist_____iter___3_WeakList_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._weaklist.__iter___WeakList_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_type = obj_type; + PyObject *arg_value; + if (obj_value == NULL) { + arg_value = NULL; + } else { + arg_value = obj_value; + } + PyObject *arg_traceback; + if (obj_traceback == NULL) { + arg_traceback = NULL; + } else { + arg_traceback = obj_traceback; + } + PyObject *retval = CPyDef__weaklist_____iter___3_WeakList_gen___throw(arg___mypyc_self__, arg_type, arg_value, arg_traceback); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "throw", -1, CPyStatic__weaklist___globals); + return NULL; +} + +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen___close(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[17]; /* 'GeneratorExit' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = CPyDef__weaklist_____iter___3_WeakList_gen___throw(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r3, cpy_r_r4); + if (cpy_r_r5 != NULL) goto CPyL11; +CPyL3: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyModule_builtins; + cpy_r_r8 = CPyStatics[18]; /* 'StopIteration' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL12; + cpy_r_r10.f0 = cpy_r_r2; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp284 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp284); + PyObject *__tmp285 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp285); + cpy_r_r12 = CPy_ExceptionMatches(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (!cpy_r_r12) goto CPyL13; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + cpy_r_r13 = (PyObject *)&_Py_NoneStruct; + CPy_INCREF(cpy_r_r13); + return cpy_r_r13; +CPyL6: ; + CPy_Reraise(); + if (!0) goto CPyL10; + CPy_Unreachable(); +CPyL8: ; + PyErr_SetString(PyExc_RuntimeError, "generator ignored GeneratorExit"); + cpy_r_r14 = 0; + if (!cpy_r_r14) goto CPyL10; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL11: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r5); + goto CPyL8; +CPyL12: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL10; +CPyL13: ; + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL6; +} + +PyObject *CPyPy__weaklist_____iter___3_WeakList_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":close", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType__weaklist_____iter___3_WeakList_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers._weaklist.__iter___WeakList_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef__weaklist_____iter___3_WeakList_gen___close(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "close", -1, CPyStatic__weaklist___globals); + return NULL; +} + +PyObject *CPyDef__weaklist___WeakList_____iter__(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + char cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = CPyDef__weaklist_____iter___3_WeakList_gen(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", 32, CPyStatic__weaklist___globals); + goto CPyL3; + } + ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r_r0)->___mypyc_next_label__ = 0; + CPy_INCREF_NO_IMM(cpy_r_self); + if (((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self); + } + ((dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self = cpy_r_self; + cpy_r_r2 = 1; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", 32, CPyStatic__weaklist___globals); + goto CPyL4; + } + return cpy_r_r0; +CPyL3: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +CPyL4: ; + CPy_DecRef(cpy_r_r0); + goto CPyL3; +} + +PyObject *CPyPy__weaklist___WeakList_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__weaklist___WeakList)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers._weaklist.WeakList", obj_self); + goto fail; + } + PyObject *retval = CPyDef__weaklist___WeakList_____iter__(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__iter__", 32, CPyStatic__weaklist___globals); + return NULL; +} + +char CPyDef__weaklist___WeakList___append(PyObject *cpy_r_self, PyObject *cpy_r_item) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + CPyTagged cpy_r_r4; + PyObject *cpy_r_r5; + int32_t cpy_r_r6; + char cpy_r_r7; + char cpy_r_r8; + cpy_r_r0 = CPyStatics[639]; /* '_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", 40, CPyStatic__weaklist___globals); + goto CPyL5; + } + cpy_r_r2 = PyWeakref_NewRef(cpy_r_item, cpy_r_r1); + CPy_DECREF(cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "append", 40, CPyStatic__weaklist___globals); + goto CPyL5; + } + cpy_r_r3 = ((dank_mids___helpers____weaklist___WeakListObject *)cpy_r_self)->__refs; + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "append", "WeakList", "_refs", 40, CPyStatic__weaklist___globals); + goto CPyL6; + } + CPy_INCREF(cpy_r_r3); +CPyL3: ; + cpy_r_r4 = CPyTagged_Id(cpy_r_item); + cpy_r_r5 = CPyTagged_StealAsObject(cpy_r_r4); + cpy_r_r6 = CPyDict_SetItem(cpy_r_r3, cpy_r_r5, cpy_r_r2); + CPy_DECREF(cpy_r_r3); + CPy_DECREF(cpy_r_r5); + CPy_DECREF(cpy_r_r2); + cpy_r_r7 = cpy_r_r6 >= 0; + if (unlikely(!cpy_r_r7)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "append", 40, CPyStatic__weaklist___globals); + goto CPyL5; + } + return 1; +CPyL5: ; + cpy_r_r8 = 2; + return cpy_r_r8; +CPyL6: ; + CPy_DecRef(cpy_r_r2); + goto CPyL5; +} + +PyObject *CPyPy__weaklist___WeakList___append(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"item", 0}; + static CPyArg_Parser parser = {"O:append", kwlist, 0}; + PyObject *obj_item; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_item)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__weaklist___WeakList)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers._weaklist.WeakList", obj_self); + goto fail; + } + PyObject *arg_item = obj_item; + char retval = CPyDef__weaklist___WeakList___append(arg_self, arg_item); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "append", 38, CPyStatic__weaklist___globals); + return NULL; +} + +char CPyDef__weaklist___WeakList___extend(PyObject *cpy_r_self, PyObject *cpy_r_items) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + CPyTagged cpy_r_r6; + PyObject *cpy_r_r7; + tuple_T2IO cpy_r_r8; + PyObject *cpy_r_r9; + int32_t cpy_r_r10; + char cpy_r_r11; + char cpy_r_r12; + int32_t cpy_r_r13; + char cpy_r_r14; + char cpy_r_r15; + cpy_r_r0 = CPyStatics[639]; /* '_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", 43, CPyStatic__weaklist___globals); + goto CPyL10; + } + cpy_r_r2 = ((dank_mids___helpers____weaklist___WeakListObject *)cpy_r_self)->__refs; + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "extend", "WeakList", "_refs", 44, CPyStatic__weaklist___globals); + goto CPyL11; + } + CPy_INCREF(cpy_r_r2); +CPyL2: ; + cpy_r_r3 = PyList_New(0); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "extend", 44, CPyStatic__weaklist___globals); + goto CPyL12; + } + cpy_r_r4 = PyObject_GetIter(cpy_r_items); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "extend", 44, CPyStatic__weaklist___globals); + goto CPyL13; + } +CPyL4: ; + cpy_r_r5 = PyIter_Next(cpy_r_r4); + if (cpy_r_r5 == NULL) goto CPyL14; + cpy_r_r6 = CPyTagged_Id(cpy_r_r5); + cpy_r_r7 = PyWeakref_NewRef(cpy_r_r5, cpy_r_r1); + CPy_DECREF(cpy_r_r5); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "extend", 44, CPyStatic__weaklist___globals); + goto CPyL15; + } + cpy_r_r8.f0 = cpy_r_r6; + cpy_r_r8.f1 = cpy_r_r7; + cpy_r_r9 = PyTuple_New(2); + if (unlikely(cpy_r_r9 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp286 = CPyTagged_StealAsObject(cpy_r_r8.f0); + PyTuple_SET_ITEM(cpy_r_r9, 0, __tmp286); + PyObject *__tmp287 = cpy_r_r8.f1; + PyTuple_SET_ITEM(cpy_r_r9, 1, __tmp287); + cpy_r_r10 = PyList_Append(cpy_r_r3, cpy_r_r9); + CPy_DECREF(cpy_r_r9); + cpy_r_r11 = cpy_r_r10 >= 0; + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "extend", 44, CPyStatic__weaklist___globals); + goto CPyL16; + } else + goto CPyL4; +CPyL7: ; + cpy_r_r12 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r12)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "extend", 44, CPyStatic__weaklist___globals); + goto CPyL17; + } + cpy_r_r13 = CPyDict_UpdateFromAny(cpy_r_r2, cpy_r_r3); + CPy_DECREF(cpy_r_r2); + CPy_DECREF_NO_IMM(cpy_r_r3); + cpy_r_r14 = cpy_r_r13 >= 0; + if (unlikely(!cpy_r_r14)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "extend", 44, CPyStatic__weaklist___globals); + goto CPyL10; + } + return 1; +CPyL10: ; + cpy_r_r15 = 2; + return cpy_r_r15; +CPyL11: ; + CPy_DecRef(cpy_r_r1); + goto CPyL10; +CPyL12: ; + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r2); + goto CPyL10; +CPyL13: ; + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r3); + goto CPyL10; +CPyL14: ; + CPy_DECREF(cpy_r_r1); + CPy_DECREF(cpy_r_r4); + goto CPyL7; +CPyL15: ; + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r3); + CPy_DecRef(cpy_r_r4); + CPyTagged_DecRef(cpy_r_r6); + goto CPyL10; +CPyL16: ; + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r3); + CPy_DecRef(cpy_r_r4); + goto CPyL10; +CPyL17: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r3); + goto CPyL10; +} + +PyObject *CPyPy__weaklist___WeakList___extend(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"items", 0}; + static CPyArg_Parser parser = {"O:extend", kwlist, 0}; + PyObject *obj_items; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_items)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__weaklist___WeakList)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers._weaklist.WeakList", obj_self); + goto fail; + } + PyObject *arg_items = obj_items; + char retval = CPyDef__weaklist___WeakList___extend(arg_self, arg_items); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "extend", 42, CPyStatic__weaklist___globals); + return NULL; +} + +char CPyDef__weaklist___WeakList___remove(PyObject *cpy_r_self, PyObject *cpy_r_item) { + CPyTagged cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_reference; + PyObject *cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + char cpy_r_r7; + char cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject **cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + int32_t cpy_r_r18; + char cpy_r_r19; + char cpy_r_r20; + cpy_r_r0 = CPyTagged_Id(cpy_r_item); + cpy_r_r1 = ((dank_mids___helpers____weaklist___WeakListObject *)cpy_r_self)->__refs; + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "remove", "WeakList", "_refs", 48, CPyStatic__weaklist___globals); + goto CPyL13; + } + CPy_INCREF(cpy_r_r1); +CPyL1: ; + CPyTagged_INCREF(cpy_r_r0); + cpy_r_r2 = CPyTagged_StealAsObject(cpy_r_r0); + cpy_r_r3 = CPyDict_GetWithNone(cpy_r_r1, cpy_r_r2); + CPy_DECREF(cpy_r_r1); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "remove", 48, CPyStatic__weaklist___globals); + goto CPyL13; + } + cpy_r_reference = cpy_r_r3; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = cpy_r_reference == cpy_r_r4; + if (cpy_r_r5) goto CPyL14; + cpy_r_r6 = PyObject_Vectorcall(cpy_r_reference, 0, 0, 0); + CPy_DECREF(cpy_r_reference); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "remove", 49, CPyStatic__weaklist___globals); + goto CPyL13; + } + cpy_r_r7 = cpy_r_r6 == cpy_r_item; + CPy_DECREF(cpy_r_r6); + cpy_r_r8 = cpy_r_r7 ^ 1; + if (cpy_r_r8) { + goto CPyL15; + } else + goto CPyL9; +CPyL5: ; + cpy_r_r9 = CPyStatics[640]; /* 'list.remove(x): x not in list' */ + cpy_r_r10 = CPyModule_builtins; + cpy_r_r11 = CPyStatics[177]; /* 'ValueError' */ + cpy_r_r12 = CPyObject_GetAttr(cpy_r_r10, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "remove", 50, CPyStatic__weaklist___globals); + goto CPyL12; + } + PyObject *cpy_r_r13[1] = {cpy_r_r9}; + cpy_r_r14 = (PyObject **)&cpy_r_r13; + cpy_r_r15 = PyObject_Vectorcall(cpy_r_r12, cpy_r_r14, 1, 0); + CPy_DECREF(cpy_r_r12); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "remove", 50, CPyStatic__weaklist___globals); + goto CPyL12; + } + CPy_Raise(cpy_r_r15); + CPy_DECREF(cpy_r_r15); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "remove", 50, CPyStatic__weaklist___globals); + goto CPyL12; + } + CPy_Unreachable(); +CPyL9: ; + cpy_r_r16 = ((dank_mids___helpers____weaklist___WeakListObject *)cpy_r_self)->__refs; + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "remove", "WeakList", "_refs", 51, CPyStatic__weaklist___globals); + goto CPyL13; + } + CPy_INCREF(cpy_r_r16); +CPyL10: ; + cpy_r_r17 = CPyTagged_StealAsObject(cpy_r_r0); + cpy_r_r18 = PyObject_DelItem(cpy_r_r16, cpy_r_r17); + CPy_DECREF(cpy_r_r16); + CPy_DECREF(cpy_r_r17); + cpy_r_r19 = cpy_r_r18 >= 0; + if (unlikely(!cpy_r_r19)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "remove", 51, CPyStatic__weaklist___globals); + goto CPyL12; + } + return 1; +CPyL12: ; + cpy_r_r20 = 2; + return cpy_r_r20; +CPyL13: ; + CPyTagged_DecRef(cpy_r_r0); + goto CPyL12; +CPyL14: ; + CPyTagged_DECREF(cpy_r_r0); + CPy_DECREF(cpy_r_reference); + goto CPyL5; +CPyL15: ; + CPyTagged_DECREF(cpy_r_r0); + goto CPyL5; +} + +PyObject *CPyPy__weaklist___WeakList___remove(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"item", 0}; + static CPyArg_Parser parser = {"O:remove", kwlist, 0}; + PyObject *obj_item; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_item)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__weaklist___WeakList)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers._weaklist.WeakList", obj_self); + goto fail; + } + PyObject *arg_item = obj_item; + char retval = CPyDef__weaklist___WeakList___remove(arg_self, arg_item); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "remove", 46, CPyStatic__weaklist___globals); + return NULL; +} + +char CPyDef__weaklist___WeakList____gc_callback(PyObject *cpy_r_self, PyObject *cpy_r_item) { + PyObject *cpy_r_r0; + CPyTagged cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r6; + PyObject *cpy_r_r7; + char cpy_r_r8; + cpy_r_r0 = ((dank_mids___helpers____weaklist___WeakListObject *)cpy_r_self)->__refs; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_weaklist.py", "_gc_callback", "WeakList", "_refs", 55, CPyStatic__weaklist___globals); + goto CPyL3; + } + CPy_INCREF(cpy_r_r0); +CPyL1: ; + cpy_r_r1 = CPyTagged_Id(cpy_r_item); + cpy_r_r2 = CPyStatics[641]; /* '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}; + cpy_r_r6 = (PyObject **)&cpy_r_r5; + cpy_r_r7 = PyObject_VectorcallMethod(cpy_r_r2, cpy_r_r6, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "_gc_callback", 55, CPyStatic__weaklist___globals); + goto CPyL4; + } else + goto CPyL5; +CPyL2: ; + CPy_DECREF(cpy_r_r0); + CPy_DECREF(cpy_r_r3); + return 1; +CPyL3: ; + cpy_r_r8 = 2; + return cpy_r_r8; +CPyL4: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r3); + goto CPyL3; +CPyL5: ; + CPy_DECREF(cpy_r_r7); + goto CPyL2; +} + +PyObject *CPyPy__weaklist___WeakList____gc_callback(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"item", 0}; + static CPyArg_Parser parser = {"O:_gc_callback", kwlist, 0}; + PyObject *obj_item; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_item)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType__weaklist___WeakList)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers._weaklist.WeakList", obj_self); + goto fail; + } + PyObject *arg_item = obj_item; + char retval = CPyDef__weaklist___WeakList____gc_callback(arg_self, arg_item); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "_gc_callback", 53, CPyStatic__weaklist___globals); + return NULL; +} + +char CPyDef__weaklist_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject **cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + int32_t cpy_r_r22; + char cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + CPyPtr cpy_r_r31; + CPyPtr cpy_r_r32; + PyObject *cpy_r_r33; + tuple_T2OO cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + int32_t cpy_r_r39; + char cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + char cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + int32_t cpy_r_r57; + char cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + int32_t cpy_r_r61; + char cpy_r_r62; + char cpy_r_r63; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", -1, CPyStatic__weaklist___globals); + goto CPyL23; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[1033]; /* ('Any', 'Callable', 'Dict', 'Final', 'Generic', + 'Iterable', 'Iterator', 'Optional', 'TypeVar', 'final') */ + cpy_r_r6 = CPyStatics[40]; /* 'typing' */ + cpy_r_r7 = CPyStatic__weaklist___globals; + cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 1, CPyStatic__weaklist___globals); + goto CPyL23; + } + CPyModule_typing = cpy_r_r8; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[1034]; /* ('ref',) */ + cpy_r_r10 = CPyStatics[342]; /* 'weakref' */ + cpy_r_r11 = CPyStatic__weaklist___globals; + cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 2, CPyStatic__weaklist___globals); + goto CPyL23; + } + CPyModule_weakref = cpy_r_r12; + CPy_INCREF(CPyModule_weakref); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = CPyStatics[259]; /* '_T' */ + cpy_r_r14 = CPyStatic__weaklist___globals; + cpy_r_r15 = CPyStatics[37]; /* 'TypeVar' */ + cpy_r_r16 = CPyDict_GetItem(cpy_r_r14, cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 5, CPyStatic__weaklist___globals); + goto CPyL23; + } + PyObject *cpy_r_r17[1] = {cpy_r_r13}; + cpy_r_r18 = (PyObject **)&cpy_r_r17; + cpy_r_r19 = PyObject_Vectorcall(cpy_r_r16, cpy_r_r18, 1, 0); + CPy_DECREF(cpy_r_r16); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 5, CPyStatic__weaklist___globals); + goto CPyL23; + } + cpy_r_r20 = CPyStatic__weaklist___globals; + cpy_r_r21 = CPyStatics[259]; /* '_T' */ + cpy_r_r22 = CPyDict_SetItem(cpy_r_r20, cpy_r_r21, cpy_r_r19); + CPy_DECREF(cpy_r_r19); + cpy_r_r23 = cpy_r_r22 >= 0; + if (unlikely(!cpy_r_r23)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 5, CPyStatic__weaklist___globals); + goto CPyL23; + } + cpy_r_r24 = CPyStatic__weaklist___globals; + cpy_r_r25 = CPyStatics[251]; /* 'Callable' */ + cpy_r_r26 = CPyDict_GetItem(cpy_r_r24, cpy_r_r25); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 7, CPyStatic__weaklist___globals); + goto CPyL23; + } + cpy_r_r27 = CPyStatic__weaklist___globals; + cpy_r_r28 = CPyStatics[33]; /* 'Any' */ + cpy_r_r29 = CPyDict_GetItem(cpy_r_r27, cpy_r_r28); + if (unlikely(cpy_r_r29 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 7, CPyStatic__weaklist___globals); + goto CPyL24; + } + cpy_r_r30 = PyList_New(1); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 7, CPyStatic__weaklist___globals); + goto CPyL25; + } + cpy_r_r31 = (CPyPtr)&((PyListObject *)cpy_r_r30)->ob_item; + cpy_r_r32 = *(CPyPtr *)cpy_r_r31; + *(PyObject * *)cpy_r_r32 = cpy_r_r29; + cpy_r_r33 = Py_None; + cpy_r_r34.f0 = cpy_r_r30; + cpy_r_r34.f1 = cpy_r_r33; + cpy_r_r35 = PyTuple_New(2); + if (unlikely(cpy_r_r35 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp288 = cpy_r_r34.f0; + PyTuple_SET_ITEM(cpy_r_r35, 0, __tmp288); + PyObject *__tmp289 = cpy_r_r34.f1; + PyTuple_SET_ITEM(cpy_r_r35, 1, __tmp289); + cpy_r_r36 = PyObject_GetItem(cpy_r_r26, cpy_r_r35); + CPy_DECREF(cpy_r_r26); + CPy_DECREF(cpy_r_r35); + if (unlikely(cpy_r_r36 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 7, CPyStatic__weaklist___globals); + goto CPyL23; + } + cpy_r_r37 = CPyStatic__weaklist___globals; + cpy_r_r38 = CPyStatics[643]; /* 'GCCallback' */ + cpy_r_r39 = CPyDict_SetItem(cpy_r_r37, cpy_r_r38, cpy_r_r36); + CPy_DECREF(cpy_r_r36); + cpy_r_r40 = cpy_r_r39 >= 0; + if (unlikely(!cpy_r_r40)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 7, CPyStatic__weaklist___globals); + goto CPyL23; + } + cpy_r_r41 = CPyStatic__weaklist___globals; + cpy_r_r42 = CPyStatics[221]; /* 'Generic' */ + cpy_r_r43 = CPyDict_GetItem(cpy_r_r41, cpy_r_r42); + if (unlikely(cpy_r_r43 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 11, CPyStatic__weaklist___globals); + goto CPyL23; + } + cpy_r_r44 = CPyStatic__weaklist___globals; + cpy_r_r45 = CPyStatics[259]; /* '_T' */ + cpy_r_r46 = CPyDict_GetItem(cpy_r_r44, cpy_r_r45); + if (unlikely(cpy_r_r46 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 11, CPyStatic__weaklist___globals); + goto CPyL26; + } + cpy_r_r47 = PyObject_GetItem(cpy_r_r43, cpy_r_r46); + CPy_DECREF(cpy_r_r43); + CPy_DECREF(cpy_r_r46); + if (unlikely(cpy_r_r47 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 11, CPyStatic__weaklist___globals); + goto CPyL23; + } + cpy_r_r48 = PyTuple_Pack(1, cpy_r_r47); + CPy_DECREF(cpy_r_r47); + if (unlikely(cpy_r_r48 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 11, CPyStatic__weaklist___globals); + goto CPyL23; + } + cpy_r_r49 = CPyStatics[644]; /* 'dank_mids.helpers._weaklist' */ + cpy_r_r50 = (PyObject *)CPyType__weaklist___WeakList_template; + cpy_r_r51 = CPyType_FromTemplate(cpy_r_r50, cpy_r_r48, cpy_r_r49); + CPy_DECREF(cpy_r_r48); + if (unlikely(cpy_r_r51 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 11, CPyStatic__weaklist___globals); + goto CPyL23; + } + cpy_r_r52 = CPyDef__weaklist___WeakList_trait_vtable_setup(); + if (unlikely(cpy_r_r52 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", -1, CPyStatic__weaklist___globals); + goto CPyL27; + } + cpy_r_r53 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r54 = CPyStatics[645]; /* '_refs' */ + cpy_r_r55 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r56 = PyTuple_Pack(2, cpy_r_r54, cpy_r_r55); + if (unlikely(cpy_r_r56 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 11, CPyStatic__weaklist___globals); + goto CPyL27; + } + cpy_r_r57 = PyObject_SetAttr(cpy_r_r51, cpy_r_r53, cpy_r_r56); + CPy_DECREF(cpy_r_r56); + cpy_r_r58 = cpy_r_r57 >= 0; + if (unlikely(!cpy_r_r58)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 11, CPyStatic__weaklist___globals); + goto CPyL27; + } + CPyType__weaklist___WeakList = (PyTypeObject *)cpy_r_r51; + CPy_INCREF(CPyType__weaklist___WeakList); + cpy_r_r59 = CPyStatic__weaklist___globals; + cpy_r_r60 = CPyStatics[646]; /* 'WeakList' */ + cpy_r_r61 = PyDict_SetItem(cpy_r_r59, cpy_r_r60, cpy_r_r51); + CPy_DECREF(cpy_r_r51); + cpy_r_r62 = cpy_r_r61 >= 0; + if (unlikely(!cpy_r_r62)) { + CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 11, CPyStatic__weaklist___globals); + goto CPyL23; + } + return 1; +CPyL23: ; + cpy_r_r63 = 2; + return cpy_r_r63; +CPyL24: ; + CPy_DecRef(cpy_r_r26); + goto CPyL23; +CPyL25: ; + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r29); + goto CPyL23; +CPyL26: ; + CPy_DecRef(cpy_r_r43); + goto CPyL23; +CPyL27: ; + CPy_DecRef(cpy_r_r51); + goto CPyL23; +} +static PyMethodDef batch_sizemodule_methods[] = { + {"log_check", (PyCFunction)CPyPy_batch_size___log_check, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("log_check(batch_type, member_type, num_calls)\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___helpers___batch_size(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___helpers___batch_size__internal, "__name__"); + CPyStatic_batch_size___globals = PyModule_GetDict(CPyModule_dank_mids___helpers___batch_size__internal); + if (unlikely(CPyStatic_batch_size___globals == NULL)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_batch_size_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___helpers___batch_size__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic_batch_size___batch_size_logger); + CPyStatic_batch_size___batch_size_logger = NULL; + CPy_XDECREF(CPyStatic_batch_size____log_info); + CPyStatic_batch_size____log_info = NULL; + return -1; +} +static struct PyModuleDef batch_sizemodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.helpers.batch_size", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + batch_sizemodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___helpers___batch_size(void) +{ + if (CPyModule_dank_mids___helpers___batch_size__internal) { + Py_INCREF(CPyModule_dank_mids___helpers___batch_size__internal); + return CPyModule_dank_mids___helpers___batch_size__internal; + } + CPyModule_dank_mids___helpers___batch_size__internal = PyModule_Create(&batch_sizemodule); + if (unlikely(CPyModule_dank_mids___helpers___batch_size__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___helpers___batch_size(CPyModule_dank_mids___helpers___batch_size__internal) != 0) + goto fail; + return CPyModule_dank_mids___helpers___batch_size__internal; + fail: + return NULL; +} + +char CPyDef_batch_size___log_check(PyObject *cpy_r_batch_type, PyObject *cpy_r_member_type, CPyTagged cpy_r_num_calls) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject **cpy_r_r5; + PyObject *cpy_r_r6; + char cpy_r_r7; + cpy_r_r0 = CPyStatics[647]; /* 'checking if we should reduce %s batch size... (%s %s)' */ + cpy_r_r1 = CPyStatic_batch_size____log_info; + if (likely(cpy_r_r1 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"_log_info\" was not set"); + cpy_r_r2 = 0; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\helpers\\batch_size.py", "log_check", 14, CPyStatic_batch_size___globals); + goto CPyL5; + } + CPy_Unreachable(); +CPyL3: ; + CPyTagged_INCREF(cpy_r_num_calls); + cpy_r_r3 = CPyTagged_StealAsObject(cpy_r_num_calls); + PyObject *cpy_r_r4[4] = {cpy_r_r0, cpy_r_batch_type, cpy_r_r3, cpy_r_member_type}; + cpy_r_r5 = (PyObject **)&cpy_r_r4; + cpy_r_r6 = PyObject_Vectorcall(cpy_r_r1, cpy_r_r5, 4, 0); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\batch_size.py", "log_check", 14, CPyStatic_batch_size___globals); + goto CPyL6; + } else + goto CPyL7; +CPyL4: ; + CPy_DECREF(cpy_r_r3); + return 1; +CPyL5: ; + cpy_r_r7 = 2; + return cpy_r_r7; +CPyL6: ; + CPy_DecRef(cpy_r_r3); + goto CPyL5; +CPyL7: ; + CPy_DECREF(cpy_r_r6); + goto CPyL4; +} + +PyObject *CPyPy_batch_size___log_check(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"batch_type", "member_type", "num_calls", 0}; + static CPyArg_Parser parser = {"OOO:log_check", kwlist, 0}; + PyObject *obj_batch_type; + PyObject *obj_member_type; + PyObject *obj_num_calls; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_batch_type, &obj_member_type, &obj_num_calls)) { + return NULL; + } + PyObject *arg_batch_type; + if (likely(PyUnicode_Check(obj_batch_type))) + arg_batch_type = obj_batch_type; + else { + CPy_TypeError("str", obj_batch_type); + goto fail; + } + PyObject *arg_member_type; + if (likely(PyUnicode_Check(obj_member_type))) + arg_member_type = obj_member_type; + else { + CPy_TypeError("str", obj_member_type); + goto fail; + } + CPyTagged arg_num_calls; + if (likely(PyLong_Check(obj_num_calls))) + arg_num_calls = CPyTagged_BorrowFromObject(obj_num_calls); + else { + CPy_TypeError("int", obj_num_calls); goto fail; + } + char retval = CPyDef_batch_size___log_check(arg_batch_type, arg_member_type, arg_num_calls); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\batch_size.py", "log_check", 9, CPyStatic_batch_size___globals); + return NULL; +} + +char CPyDef_batch_size_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject **cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + int32_t cpy_r_r22; + char cpy_r_r23; + PyObject *cpy_r_r24; + char cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + int32_t cpy_r_r30; + char cpy_r_r31; + char cpy_r_r32; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\batch_size.py", "", -1, CPyStatic_batch_size___globals); + goto CPyL14; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[913]; /* ('getLogger',) */ + cpy_r_r6 = CPyStatics[169]; /* 'logging' */ + cpy_r_r7 = CPyStatic_batch_size___globals; + cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\batch_size.py", "", 1, CPyStatic_batch_size___globals); + goto CPyL14; + } + CPyModule_logging = cpy_r_r8; + CPy_INCREF(CPyModule_logging); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[1035]; /* ('Final', 'Literal') */ + cpy_r_r10 = CPyStatics[40]; /* 'typing' */ + cpy_r_r11 = CPyStatic_batch_size___globals; + cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\batch_size.py", "", 2, CPyStatic_batch_size___globals); + goto CPyL14; + } + CPyModule_typing = cpy_r_r12; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = CPyStatics[648]; /* 'dank_mids.batch_size' */ + cpy_r_r14 = CPyStatic_batch_size___globals; + cpy_r_r15 = CPyStatics[46]; /* 'getLogger' */ + cpy_r_r16 = CPyDict_GetItem(cpy_r_r14, cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\batch_size.py", "", 5, CPyStatic_batch_size___globals); + goto CPyL14; + } + PyObject *cpy_r_r17[1] = {cpy_r_r13}; + cpy_r_r18 = (PyObject **)&cpy_r_r17; + cpy_r_r19 = PyObject_Vectorcall(cpy_r_r16, cpy_r_r18, 1, 0); + CPy_DECREF(cpy_r_r16); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\batch_size.py", "", 5, CPyStatic_batch_size___globals); + goto CPyL14; + } + CPyStatic_batch_size___batch_size_logger = cpy_r_r19; + CPy_INCREF(CPyStatic_batch_size___batch_size_logger); + cpy_r_r20 = CPyStatic_batch_size___globals; + cpy_r_r21 = CPyStatics[649]; /* 'batch_size_logger' */ + cpy_r_r22 = CPyDict_SetItem(cpy_r_r20, cpy_r_r21, cpy_r_r19); + CPy_DECREF(cpy_r_r19); + cpy_r_r23 = cpy_r_r22 >= 0; + if (unlikely(!cpy_r_r23)) { + CPy_AddTraceback("dank_mids\\helpers\\batch_size.py", "", 5, CPyStatic_batch_size___globals); + goto CPyL14; + } + cpy_r_r24 = CPyStatic_batch_size___batch_size_logger; + if (likely(cpy_r_r24 != NULL)) goto CPyL11; + PyErr_SetString(PyExc_NameError, "value for final name \"batch_size_logger\" was not set"); + cpy_r_r25 = 0; + if (unlikely(!cpy_r_r25)) { + CPy_AddTraceback("dank_mids\\helpers\\batch_size.py", "", 6, CPyStatic_batch_size___globals); + goto CPyL14; + } + CPy_Unreachable(); +CPyL11: ; + cpy_r_r26 = CPyStatics[650]; /* 'info' */ + cpy_r_r27 = CPyObject_GetAttr(cpy_r_r24, cpy_r_r26); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\batch_size.py", "", 6, CPyStatic_batch_size___globals); + goto CPyL14; + } + CPyStatic_batch_size____log_info = cpy_r_r27; + CPy_INCREF(CPyStatic_batch_size____log_info); + cpy_r_r28 = CPyStatic_batch_size___globals; + cpy_r_r29 = CPyStatics[651]; /* '_log_info' */ + cpy_r_r30 = CPyDict_SetItem(cpy_r_r28, cpy_r_r29, cpy_r_r27); + CPy_DECREF(cpy_r_r27); + cpy_r_r31 = cpy_r_r30 >= 0; + if (unlikely(!cpy_r_r31)) { + CPy_AddTraceback("dank_mids\\helpers\\batch_size.py", "", 6, CPyStatic_batch_size___globals); + goto CPyL14; + } + return 1; +CPyL14: ; + cpy_r_r32 = 2; + return cpy_r_r32; +} + +static Py_ssize_t CPyDunder___hash__hashing___AttributeDict(PyObject *self) { + CPyTagged retval = CPyDef_hashing___AttributeDict_____hash__(self); + if (retval == CPY_INT_TAG) { + return -1; + } + Py_ssize_t val = CPyTagged_AsSsize_t(retval); + CPyTagged_DECREF(retval); + if (PyErr_Occurred()) return -1; + if (val == -1) return -2; + return val; +} +static int +hashing___AttributeDict_init(PyObject *self, PyObject *args, PyObject *kwds) +{ + return 0; +} +static PyObject *CPyDunder___getitem__hashing___AttributeDict(PyObject *obj_self, PyObject *obj_key) { + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_hashing___AttributeDict)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_self); + return NULL; + } + PyObject *arg_key = obj_key; + return CPyDef_hashing___AttributeDict_____getitem__(arg_self, arg_key); +} +static Py_ssize_t CPyDunder___len__hashing___AttributeDict(PyObject *self) { + CPyTagged retval = CPyDef_hashing___AttributeDict_____len__(self); + if (retval == CPY_INT_TAG) { + return -1; + } + Py_ssize_t val = CPyTagged_AsSsize_t(retval); + CPyTagged_DECREF(retval); + if (PyErr_Occurred()) return -1; + return val; +} +static PyMappingMethods hashing___AttributeDict_as_mapping = { + .mp_subscript = CPyDunder___getitem__hashing___AttributeDict, + .mp_length = CPyDunder___len__hashing___AttributeDict, +}; +static PyObject *CPyDunder__RichCompare_hashing___AttributeDict(PyObject *obj_lhs, PyObject *obj_rhs, int op) { + switch (op) { + case Py_EQ: { + PyObject *arg_lhs; + if (likely(Py_TYPE(obj_lhs) == CPyType_hashing___AttributeDict)) + arg_lhs = obj_lhs; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_lhs); + return NULL; + } + PyObject *arg_rhs = obj_rhs; + char retval = CPyDef_hashing___AttributeDict_____eq__(arg_lhs, arg_rhs); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; + } + case Py_NE: { + PyObject *arg_lhs; + if (likely(Py_TYPE(obj_lhs) == CPyType_hashing___AttributeDict)) + arg_lhs = obj_lhs; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_lhs); + return NULL; + } + PyObject *arg_rhs; + if (likely(Py_TYPE(obj_rhs) == CPyType_hashing___AttributeDict)) + arg_rhs = obj_rhs; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_rhs); + return NULL; + } + char retval = CPyDef_hashing___AttributeDict_____ne__(arg_lhs, arg_rhs); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; + } + } + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} +PyObject *CPyDef_hashing_____mypyc__AttributeDict_setup(PyObject *cpy_r_type); +PyObject *CPyDef_hashing___AttributeDict(PyObject *cpy_r_dictionary, PyObject *cpy_r_args, PyObject *cpy_r_kwargs); + +static PyObject * +hashing___AttributeDict_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_hashing___AttributeDict) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_hashing_____mypyc__AttributeDict_setup((PyObject*)type); + if (self == NULL) + return NULL; + PyObject *ret = CPyPy_hashing___AttributeDict_____init__(self, args, kwds); + if (ret == NULL) + return NULL; + return self; +} + +static int +hashing___AttributeDict_traverse(dank_mids___helpers___hashing___AttributeDictObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___dict__); + Py_VISIT(self->___hash); + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +hashing___AttributeDict_clear(dank_mids___helpers___hashing___AttributeDictObject *self) +{ + Py_CLEAR(self->___dict__); + Py_CLEAR(self->___hash); + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +hashing___AttributeDict_dealloc(dank_mids___helpers___hashing___AttributeDictObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, hashing___AttributeDict_dealloc) + hashing___AttributeDict_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem hashing___AttributeDict_vtable[15]; +static bool +CPyDef_hashing___AttributeDict_trait_vtable_setup(void) +{ + CPyVTableItem hashing___AttributeDict_vtable_scratch[] = { + (CPyVTableItem)CPyDef_hashing___AttributeDict_____init__, + (CPyVTableItem)CPyDef_hashing___AttributeDict_____hash__, + (CPyVTableItem)CPyDef_hashing___AttributeDict_____eq__, + (CPyVTableItem)CPyDef_hashing___AttributeDict_____setattr__, + (CPyVTableItem)CPyDef_hashing___AttributeDict_____delattr__, + (CPyVTableItem)CPyDef_hashing___AttributeDict_____getitem__, + (CPyVTableItem)CPyDef_hashing___AttributeDict_____iter__, + (CPyVTableItem)CPyDef_hashing___AttributeDict_____len__, + (CPyVTableItem)CPyDef_hashing___AttributeDict_____repr__, + (CPyVTableItem)CPyDef_hashing___AttributeDict____repr_pretty_, + (CPyVTableItem)CPyDef_hashing___AttributeDict___recursive, + (CPyVTableItem)CPyDef_hashing___AttributeDict___keys, + (CPyVTableItem)CPyDef_hashing___AttributeDict___values, + (CPyVTableItem)CPyDef_hashing___AttributeDict___items, + (CPyVTableItem)CPyDef_hashing___AttributeDict_____ne__, + }; + memcpy(hashing___AttributeDict_vtable, hashing___AttributeDict_vtable_scratch, sizeof(hashing___AttributeDict_vtable)); + return 1; +} + +static PyObject * +hashing___AttributeDict_get___3_dict__(dank_mids___helpers___hashing___AttributeDictObject *self, void *closure); +static int +hashing___AttributeDict_set___3_dict__(dank_mids___helpers___hashing___AttributeDictObject *self, PyObject *value, void *closure); +static PyObject * +hashing___AttributeDict_get___3_hash(dank_mids___helpers___hashing___AttributeDictObject *self, void *closure); +static int +hashing___AttributeDict_set___3_hash(dank_mids___helpers___hashing___AttributeDictObject *self, PyObject *value, void *closure); + +static PyGetSetDef hashing___AttributeDict_getseters[] = { + {"__dict__", + (getter)hashing___AttributeDict_get___3_dict__, (setter)hashing___AttributeDict_set___3_dict__, + NULL, NULL}, + {"__hash", + (getter)hashing___AttributeDict_get___3_hash, (setter)hashing___AttributeDict_set___3_hash, + NULL, NULL}, + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef hashing___AttributeDict_methods[] = { + {"__init__", + (PyCFunction)CPyPy_hashing___AttributeDict_____init__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__init__($self, dictionary, *args, **kwargs)\n--\n\n")}, + {"__hash__", + (PyCFunction)CPyPy_hashing___AttributeDict_____hash__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__hash__($self)\n--\n\n")}, + {"__eq__", + (PyCFunction)CPyPy_hashing___AttributeDict_____eq__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__eq__($self, other, /)\n--\n\n")}, + {"__setattr__", + (PyCFunction)CPyPy_hashing___AttributeDict_____setattr__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__setattr__($self, attr, val)\n--\n\n")}, + {"__delattr__", + (PyCFunction)CPyPy_hashing___AttributeDict_____delattr__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__delattr__($self, key, /)\n--\n\n")}, + {"__getitem__", + (PyCFunction)CPyPy_hashing___AttributeDict_____getitem__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__getitem__($self, key, /)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy_hashing___AttributeDict_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__($self, /)\n--\n\n")}, + {"__len__", + (PyCFunction)CPyPy_hashing___AttributeDict_____len__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__len__($self, /)\n--\n\n")}, + {"__repr__", + (PyCFunction)CPyPy_hashing___AttributeDict_____repr__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__repr__($self, /)\n--\n\n")}, + {"_repr_pretty_", + (PyCFunction)CPyPy_hashing___AttributeDict____repr_pretty_, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_repr_pretty_($self, builder, cycle)\n--\n\n")}, + {"recursive", + (PyCFunction)CPyPy_hashing___AttributeDict___recursive, + METH_FASTCALL | METH_KEYWORDS | METH_CLASS, PyDoc_STR("recursive($cls, value)\n--\n\n")}, + {"keys", + (PyCFunction)CPyPy_hashing___AttributeDict___keys, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("keys($self)\n--\n\n")}, + {"values", + (PyCFunction)CPyPy_hashing___AttributeDict___values, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("values($self)\n--\n\n")}, + {"items", + (PyCFunction)CPyPy_hashing___AttributeDict___items, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("items($self)\n--\n\n")}, + {"__ne__", + (PyCFunction)CPyPy_hashing___AttributeDict_____ne__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__ne__($rhs)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_hashing___AttributeDict_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "AttributeDict", + .tp_new = hashing___AttributeDict_new, + .tp_dealloc = (destructor)hashing___AttributeDict_dealloc, + .tp_traverse = (traverseproc)hashing___AttributeDict_traverse, + .tp_clear = (inquiry)hashing___AttributeDict_clear, + .tp_getset = hashing___AttributeDict_getseters, + .tp_methods = hashing___AttributeDict_methods, + .tp_hash = CPyDunder___hash__hashing___AttributeDict, + .tp_init = hashing___AttributeDict_init, + .tp_iter = CPyDef_hashing___AttributeDict_____iter__, + .tp_repr = CPyDef_hashing___AttributeDict_____repr__, + .tp_as_mapping = &hashing___AttributeDict_as_mapping, + .tp_richcompare = CPyDunder__RichCompare_hashing___AttributeDict, + .tp_basicsize = sizeof(dank_mids___helpers___hashing___AttributeDictObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("AttributeDict(dictionary, *args, **kwargs)\n--\n\n"), +}; +static PyTypeObject *CPyType_hashing___AttributeDict_template = &CPyType_hashing___AttributeDict_template_; + +PyObject *CPyDef_hashing_____mypyc__AttributeDict_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___helpers___hashing___AttributeDictObject *self; + self = (dank_mids___helpers___hashing___AttributeDictObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = hashing___AttributeDict_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef_hashing___AttributeDict(PyObject *cpy_r_dictionary, PyObject *cpy_r_args, PyObject *cpy_r_kwargs) +{ + PyObject *self = CPyDef_hashing_____mypyc__AttributeDict_setup((PyObject *)CPyType_hashing___AttributeDict); + if (self == NULL) + return NULL; + char res = CPyDef_hashing___AttributeDict_____init__(self, cpy_r_dictionary, cpy_r_args, cpy_r_kwargs); + if (res == 2) { + Py_DECREF(self); + return NULL; + } + return self; +} + +static PyObject * +hashing___AttributeDict_get___3_dict__(dank_mids___helpers___hashing___AttributeDictObject *self, void *closure) +{ + if (unlikely(self->___dict__ == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '__dict__' of 'AttributeDict' undefined"); + return NULL; + } + CPy_INCREF(self->___dict__); + PyObject *retval = self->___dict__; + return retval; +} + +static int +hashing___AttributeDict_set___3_dict__(dank_mids___helpers___hashing___AttributeDictObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'AttributeDict' object attribute '__dict__' cannot be deleted"); + return -1; + } + if (self->___dict__ != NULL) { + CPy_DECREF(self->___dict__); + } + PyObject *tmp; + if (likely(PyDict_Check(value))) + tmp = value; + else { + CPy_TypeError("dict", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->___dict__ = tmp; + return 0; +} + +static PyObject * +hashing___AttributeDict_get___3_hash(dank_mids___helpers___hashing___AttributeDictObject *self, void *closure) +{ + if (unlikely(self->___hash == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '__hash' of 'AttributeDict' undefined"); + return NULL; + } + CPy_INCREF(self->___hash); + PyObject *retval = self->___hash; + return retval; +} + +static int +hashing___AttributeDict_set___3_hash(dank_mids___helpers___hashing___AttributeDictObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'AttributeDict' object attribute '__hash' cannot be deleted"); + return -1; + } + if (self->___hash != NULL) { + CPy_DECREF(self->___hash); + } + PyObject *tmp; + if (PyLong_Check(value)) + tmp = value; + else { + tmp = NULL; + } + if (tmp != NULL) goto __LL290; + if (value == Py_None) + tmp = value; + else { + tmp = NULL; + } + if (tmp != NULL) goto __LL290; + CPy_TypeError("int or None", value); + tmp = NULL; +__LL290: ; + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->___hash = tmp; + return 0; +} + +static PyObject *CPyDunder___get__hashing____to_tuple_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef_hashing____to_tuple_obj_____get__(self, instance, owner); +} +static int +hashing____to_tuple_obj_init(PyObject *self, PyObject *args, PyObject *kwds) +{ + return 0; +} +PyObject *CPyDef_hashing_____mypyc___3_to_tuple_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef_hashing____to_tuple_obj(void); + +static PyObject * +hashing____to_tuple_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_hashing____to_tuple_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_hashing_____mypyc___3_to_tuple_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + PyObject *ret = CPyPy_hashing____to_tuple_obj_____init__(self, args, kwds); + if (ret == NULL) + return NULL; + return self; +} + +static int +hashing____to_tuple_obj_traverse(dank_mids___helpers___hashing____to_tuple_objObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->_registry); + Py_VISIT(self->_dispatch_cache); + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +hashing____to_tuple_obj_clear(dank_mids___helpers___hashing____to_tuple_objObject *self) +{ + Py_CLEAR(self->_registry); + Py_CLEAR(self->_dispatch_cache); + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +hashing____to_tuple_obj_dealloc(dank_mids___helpers___hashing____to_tuple_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (hashing____to_tuple_obj_free_instance == NULL) { + hashing____to_tuple_obj_free_instance = self; + Py_CLEAR(self->_registry); + Py_CLEAR(self->_dispatch_cache); + return; + } + CPy_TRASHCAN_BEGIN(self, hashing____to_tuple_obj_dealloc) + hashing____to_tuple_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem hashing____to_tuple_obj_vtable[4]; +static bool +CPyDef_hashing____to_tuple_obj_trait_vtable_setup(void) +{ + CPyVTableItem hashing____to_tuple_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef_hashing____to_tuple_obj_____init__, + (CPyVTableItem)CPyDef_hashing____to_tuple_obj_____call__, + (CPyVTableItem)CPyDef_hashing____to_tuple_obj_____get__, + (CPyVTableItem)CPyDef_hashing____to_tuple_obj___register, + }; + memcpy(hashing____to_tuple_obj_vtable, hashing____to_tuple_obj_vtable_scratch, sizeof(hashing____to_tuple_obj_vtable)); + return 1; +} + +static PyObject * +hashing____to_tuple_obj_get_registry(dank_mids___helpers___hashing____to_tuple_objObject *self, void *closure); +static int +hashing____to_tuple_obj_set_registry(dank_mids___helpers___hashing____to_tuple_objObject *self, PyObject *value, void *closure); +static PyObject * +hashing____to_tuple_obj_get_dispatch_cache(dank_mids___helpers___hashing____to_tuple_objObject *self, void *closure); +static int +hashing____to_tuple_obj_set_dispatch_cache(dank_mids___helpers___hashing____to_tuple_objObject *self, PyObject *value, void *closure); + +static PyGetSetDef hashing____to_tuple_obj_getseters[] = { + {"registry", + (getter)hashing____to_tuple_obj_get_registry, (setter)hashing____to_tuple_obj_set_registry, + NULL, NULL}, + {"dispatch_cache", + (getter)hashing____to_tuple_obj_get_dispatch_cache, (setter)hashing____to_tuple_obj_set_dispatch_cache, + NULL, NULL}, + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef hashing____to_tuple_obj_methods[] = { + {"__init__", + (PyCFunction)CPyPy_hashing____to_tuple_obj_____init__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__init__()\n--\n\n")}, + {"__call__", + (PyCFunction)CPyPy_hashing____to_tuple_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__($value)\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy_hashing____to_tuple_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"register", + (PyCFunction)CPyPy_hashing____to_tuple_obj___register, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_hashing____to_tuple_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "_to_tuple_obj", + .tp_new = hashing____to_tuple_obj_new, + .tp_dealloc = (destructor)hashing____to_tuple_obj_dealloc, + .tp_traverse = (traverseproc)hashing____to_tuple_obj_traverse, + .tp_clear = (inquiry)hashing____to_tuple_obj_clear, + .tp_getset = hashing____to_tuple_obj_getseters, + .tp_methods = hashing____to_tuple_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get__hashing____to_tuple_obj, + .tp_init = hashing____to_tuple_obj_init, + .tp_basicsize = sizeof(dank_mids___helpers___hashing____to_tuple_objObject), + .tp_vectorcall_offset = offsetof(dank_mids___helpers___hashing____to_tuple_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("_to_tuple_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType_hashing____to_tuple_obj_template = &CPyType_hashing____to_tuple_obj_template_; + +PyObject *CPyDef_hashing_____mypyc___3_to_tuple_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___helpers___hashing____to_tuple_objObject *self; + if (hashing____to_tuple_obj_free_instance != NULL) { + self = hashing____to_tuple_obj_free_instance; + hashing____to_tuple_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___helpers___hashing____to_tuple_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = hashing____to_tuple_obj_vtable; + self->vectorcall = CPyPy_hashing____to_tuple_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_hashing____to_tuple_obj(void) +{ + PyObject *self = CPyDef_hashing_____mypyc___3_to_tuple_obj_setup((PyObject *)CPyType_hashing____to_tuple_obj); + if (self == NULL) + return NULL; + char res = CPyDef_hashing____to_tuple_obj_____init__(self); + if (res == 2) { + Py_DECREF(self); + return NULL; + } + return self; +} + +static PyObject * +hashing____to_tuple_obj_get_registry(dank_mids___helpers___hashing____to_tuple_objObject *self, void *closure) +{ + if (unlikely(self->_registry == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'registry' of '_to_tuple_obj' undefined"); + return NULL; + } + CPy_INCREF(self->_registry); + PyObject *retval = self->_registry; + return retval; +} + +static int +hashing____to_tuple_obj_set_registry(dank_mids___helpers___hashing____to_tuple_objObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'_to_tuple_obj' object attribute 'registry' cannot be deleted"); + return -1; + } + if (self->_registry != NULL) { + CPy_DECREF(self->_registry); + } + PyObject *tmp; + if (likely(PyDict_Check(value))) + tmp = value; + else { + CPy_TypeError("dict", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_registry = tmp; + return 0; +} + +static PyObject * +hashing____to_tuple_obj_get_dispatch_cache(dank_mids___helpers___hashing____to_tuple_objObject *self, void *closure) +{ + if (unlikely(self->_dispatch_cache == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'dispatch_cache' of '_to_tuple_obj' undefined"); + return NULL; + } + CPy_INCREF(self->_dispatch_cache); + PyObject *retval = self->_dispatch_cache; + return retval; +} + +static int +hashing____to_tuple_obj_set_dispatch_cache(dank_mids___helpers___hashing____to_tuple_objObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'_to_tuple_obj' object attribute 'dispatch_cache' cannot be deleted"); + return -1; + } + if (self->_dispatch_cache != NULL) { + CPy_DECREF(self->_dispatch_cache); + } + PyObject *tmp; + if (likely(PyDict_Check(value))) + tmp = value; + else { + CPy_TypeError("dict", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_dispatch_cache = tmp; + return 0; +} +static PyMethodDef hashingmodule_methods[] = { + {"make_hashable", (PyCFunction)CPyPy_hashing___make_hashable, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("make_hashable(obj)\n--\n\n") /* docstring */}, + {"tupleize_lists_nested", (PyCFunction)CPyPy_hashing___tupleize_lists_nested, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("tupleize_lists_nested(d)\n--\n\n") /* docstring */}, + {"__mypyc_singledispatch_main_function__to_tuple__", (PyCFunction)CPyPy_hashing_____mypyc_singledispatch_main_function__to_tuple__, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__mypyc_singledispatch_main_function__to_tuple__(value)\n--\n\n") /* docstring */}, + {"_to_tuple", (PyCFunction)CPyPy_hashing____to_tuple, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_to_tuple(value)\n--\n\n") /* docstring */}, + {"_.155", (PyCFunction)CPyPy_hashing_______155, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_(value)\n--\n\n") /* docstring */}, + {"_.160", (PyCFunction)CPyPy_hashing_______160, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_(value)\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___helpers___hashing(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___helpers___hashing__internal, "__name__"); + CPyStatic_hashing___globals = PyModule_GetDict(CPyModule_dank_mids___helpers___hashing__internal); + if (unlikely(CPyStatic_hashing___globals == NULL)) + goto fail; + CPyType_hashing____to_tuple_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_hashing____to_tuple_obj_template, NULL, modname); + if (unlikely(!CPyType_hashing____to_tuple_obj)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_hashing_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___helpers___hashing__internal); + Py_CLEAR(modname); + Py_CLEAR(CPyType_hashing___AttributeDict); + Py_CLEAR(CPyType_hashing____to_tuple_obj); + return -1; +} +static struct PyModuleDef hashingmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.helpers.hashing", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + hashingmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___helpers___hashing(void) +{ + if (CPyModule_dank_mids___helpers___hashing__internal) { + Py_INCREF(CPyModule_dank_mids___helpers___hashing__internal); + return CPyModule_dank_mids___helpers___hashing__internal; + } + CPyModule_dank_mids___helpers___hashing__internal = PyModule_Create(&hashingmodule); + if (unlikely(CPyModule_dank_mids___helpers___hashing__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___helpers___hashing(CPyModule_dank_mids___helpers___hashing__internal) != 0) + goto fail; + return CPyModule_dank_mids___helpers___hashing__internal; + fail: + return NULL; +} + +PyObject *CPyDef_hashing___make_hashable(PyObject *cpy_r_obj) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + tuple_T2OO cpy_r_r2; + PyObject *cpy_r_r3; + int32_t cpy_r_r4; + char cpy_r_r5; + char cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + int32_t cpy_r_r12; + char cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + char cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + CPyTagged cpy_r_r19; + int64_t cpy_r_r20; + PyObject *cpy_r_r21; + tuple_T3CIO cpy_r_r22; + CPyTagged cpy_r_r23; + char cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + int32_t cpy_r_r29; + char cpy_r_r30; + char cpy_r_r31; + char cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + cpy_r_r0 = (PyObject *)&PyList_Type; + cpy_r_r1 = (PyObject *)&PyTuple_Type; + CPy_INCREF(cpy_r_r0); + CPy_INCREF(cpy_r_r1); + cpy_r_r2.f0 = cpy_r_r0; + cpy_r_r2.f1 = cpy_r_r1; + cpy_r_r3 = PyTuple_New(2); + if (unlikely(cpy_r_r3 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp291 = cpy_r_r2.f0; + PyTuple_SET_ITEM(cpy_r_r3, 0, __tmp291); + PyObject *__tmp292 = cpy_r_r2.f1; + PyTuple_SET_ITEM(cpy_r_r3, 1, __tmp292); + cpy_r_r4 = PyObject_IsInstance(cpy_r_obj, cpy_r_r3); + CPy_DECREF(cpy_r_r3); + cpy_r_r5 = cpy_r_r4 >= 0; + if (unlikely(!cpy_r_r5)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 36, CPyStatic_hashing___globals); + goto CPyL26; + } + cpy_r_r6 = cpy_r_r4; + if (!cpy_r_r6) goto CPyL11; + cpy_r_r7 = PyList_New(0); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 37, CPyStatic_hashing___globals); + goto CPyL26; + } + CPy_INCREF(cpy_r_obj); + if (PyList_Check(cpy_r_obj)) + cpy_r_r8 = cpy_r_obj; + else { + cpy_r_r8 = NULL; + } + if (cpy_r_r8 != NULL) goto __LL293; + if (PyTuple_Check(cpy_r_obj)) + cpy_r_r8 = cpy_r_obj; + else { + cpy_r_r8 = NULL; + } + if (cpy_r_r8 != NULL) goto __LL293; + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 37, CPyStatic_hashing___globals, "union[list, tuple]", cpy_r_obj); + goto CPyL27; +__LL293: ; + cpy_r_r9 = PyObject_GetIter(cpy_r_r8); + CPy_DECREF(cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 37, CPyStatic_hashing___globals); + goto CPyL27; + } +CPyL5: ; + cpy_r_r10 = PyIter_Next(cpy_r_r9); + if (cpy_r_r10 == NULL) goto CPyL28; + cpy_r_r11 = CPyDef_hashing___make_hashable(cpy_r_r10); + CPy_DECREF(cpy_r_r10); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 37, CPyStatic_hashing___globals); + goto CPyL29; + } + cpy_r_r12 = PyList_Append(cpy_r_r7, cpy_r_r11); + CPy_DECREF(cpy_r_r11); + cpy_r_r13 = cpy_r_r12 >= 0; + if (unlikely(!cpy_r_r13)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 37, CPyStatic_hashing___globals); + goto CPyL29; + } else + goto CPyL5; +CPyL8: ; + cpy_r_r14 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r14)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 37, CPyStatic_hashing___globals); + goto CPyL27; + } + cpy_r_r15 = PyList_AsTuple(cpy_r_r7); + CPy_DECREF_NO_IMM(cpy_r_r7); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 37, CPyStatic_hashing___globals); + goto CPyL26; + } + return cpy_r_r15; +CPyL11: ; + cpy_r_r16 = PyDict_Check(cpy_r_obj); + if (!cpy_r_r16) goto CPyL25; + cpy_r_r17 = PyDict_New(); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 39, CPyStatic_hashing___globals); + goto CPyL26; + } + CPy_INCREF(cpy_r_obj); + if (likely(PyDict_Check(cpy_r_obj))) + cpy_r_r18 = cpy_r_obj; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 39, CPyStatic_hashing___globals, "dict", cpy_r_obj); + goto CPyL30; + } + cpy_r_r19 = 0; + cpy_r_r20 = PyDict_Size(cpy_r_r18); + cpy_r_r21 = CPyDict_GetKeysIter(cpy_r_r18); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 39, CPyStatic_hashing___globals); + goto CPyL31; + } +CPyL15: ; + cpy_r_r22 = CPyDict_NextKey(cpy_r_r21, cpy_r_r19); + cpy_r_r23 = cpy_r_r22.f1; + cpy_r_r19 = cpy_r_r23; + cpy_r_r24 = cpy_r_r22.f0; + if (!cpy_r_r24) goto CPyL32; + cpy_r_r25 = cpy_r_r22.f2; + CPy_INCREF(cpy_r_r25); + CPy_DECREF(cpy_r_r22.f2); + CPy_INCREF(cpy_r_obj); + if (likely(PyDict_Check(cpy_r_obj))) + cpy_r_r26 = cpy_r_obj; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 39, CPyStatic_hashing___globals, "dict", cpy_r_obj); + goto CPyL33; + } + cpy_r_r27 = CPyDict_GetItem(cpy_r_r26, cpy_r_r25); + CPy_DECREF(cpy_r_r26); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 39, CPyStatic_hashing___globals); + goto CPyL33; + } + cpy_r_r28 = CPyDef_hashing___make_hashable(cpy_r_r27); + CPy_DECREF(cpy_r_r27); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 39, CPyStatic_hashing___globals); + goto CPyL33; + } + cpy_r_r29 = PyDict_SetItem(cpy_r_r17, cpy_r_r25, cpy_r_r28); + CPy_DECREF(cpy_r_r25); + CPy_DECREF(cpy_r_r28); + cpy_r_r30 = cpy_r_r29 >= 0; + if (unlikely(!cpy_r_r30)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 39, CPyStatic_hashing___globals); + goto CPyL34; + } + cpy_r_r31 = CPyDict_CheckSize(cpy_r_r18, cpy_r_r20); + if (unlikely(!cpy_r_r31)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 39, CPyStatic_hashing___globals); + goto CPyL34; + } else + goto CPyL15; +CPyL21: ; + cpy_r_r32 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r32)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 39, CPyStatic_hashing___globals); + goto CPyL30; + } + cpy_r_r33 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_r34 = PyDict_New(); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 39, CPyStatic_hashing___globals); + goto CPyL35; + } + cpy_r_r35 = CPyDef_hashing___AttributeDict(cpy_r_r17, cpy_r_r33, cpy_r_r34); + CPy_DECREF(cpy_r_r17); + CPy_DECREF(cpy_r_r33); + CPy_DECREF(cpy_r_r34); + if (unlikely(cpy_r_r35 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 39, CPyStatic_hashing___globals); + goto CPyL26; + } + return cpy_r_r35; +CPyL25: ; + CPy_INCREF(cpy_r_obj); + return cpy_r_obj; +CPyL26: ; + cpy_r_r36 = NULL; + return cpy_r_r36; +CPyL27: ; + CPy_DecRef(cpy_r_r7); + goto CPyL26; +CPyL28: ; + CPy_DECREF(cpy_r_r9); + goto CPyL8; +CPyL29: ; + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r9); + goto CPyL26; +CPyL30: ; + CPy_DecRef(cpy_r_r17); + goto CPyL26; +CPyL31: ; + CPy_DecRef(cpy_r_r17); + CPy_DecRef(cpy_r_r18); + goto CPyL26; +CPyL32: ; + CPy_DECREF(cpy_r_r18); + CPy_DECREF(cpy_r_r21); + CPy_DECREF(cpy_r_r22.f2); + goto CPyL21; +CPyL33: ; + CPy_DecRef(cpy_r_r17); + CPy_DecRef(cpy_r_r18); + CPy_DecRef(cpy_r_r21); + CPy_DecRef(cpy_r_r25); + goto CPyL26; +CPyL34: ; + CPy_DecRef(cpy_r_r17); + CPy_DecRef(cpy_r_r18); + CPy_DecRef(cpy_r_r21); + goto CPyL26; +CPyL35: ; + CPy_DecRef(cpy_r_r17); + CPy_DecRef(cpy_r_r33); + goto CPyL26; +} + +PyObject *CPyPy_hashing___make_hashable(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"obj", 0}; + static CPyArg_Parser parser = {"O:make_hashable", kwlist, 0}; + PyObject *obj_obj; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_obj)) { + return NULL; + } + PyObject *arg_obj = obj_obj; + PyObject *retval = CPyDef_hashing___make_hashable(arg_obj); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "make_hashable", 26, CPyStatic_hashing___globals); + return NULL; +} + +char CPyDef_hashing___AttributeDict_____init__(PyObject *cpy_r_self, PyObject *cpy_r_dictionary, PyObject *cpy_r_args, PyObject *cpy_r_kwargs) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + int32_t cpy_r_r7; + char cpy_r_r8; + PyObject *cpy_r_r9; + char cpy_r_r10; + char cpy_r_r11; + cpy_r_r0 = PyDict_Copy(cpy_r_dictionary); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__init__", 50, CPyStatic_hashing___globals); + goto CPyL9; + } + if (((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___dict__ != NULL) { + CPy_DECREF(((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___dict__); + } + ((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___dict__ = cpy_r_r0; + cpy_r_r1 = 1; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__init__", 50, CPyStatic_hashing___globals); + goto CPyL9; + } + cpy_r_r2 = ((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___dict__; + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\hashing.py", "__init__", "AttributeDict", "__dict__", 51, CPyStatic_hashing___globals); + goto CPyL9; + } + CPy_INCREF(cpy_r_r2); +CPyL3: ; + cpy_r_r3 = (PyObject *)&PyDict_Type; + cpy_r_r4 = PyDict_Copy(cpy_r_kwargs); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__init__", 51, CPyStatic_hashing___globals); + goto CPyL10; + } + cpy_r_r5 = PyObject_Call(cpy_r_r3, cpy_r_args, cpy_r_r4); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__init__", 51, CPyStatic_hashing___globals); + goto CPyL10; + } + if (likely(PyDict_Check(cpy_r_r5))) + cpy_r_r6 = cpy_r_r5; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "__init__", 51, CPyStatic_hashing___globals, "dict", cpy_r_r5); + goto CPyL10; + } + cpy_r_r7 = CPyDict_Update(cpy_r_r2, cpy_r_r6); + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6); + cpy_r_r8 = cpy_r_r7 >= 0; + if (unlikely(!cpy_r_r8)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__init__", 51, CPyStatic_hashing___globals); + goto CPyL9; + } + cpy_r_r9 = Py_None; + if (((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___hash != NULL) { + CPy_DECREF(((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___hash); + } + ((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___hash = cpy_r_r9; + cpy_r_r10 = 1; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__init__", 52, CPyStatic_hashing___globals); + goto CPyL9; + } + return 1; +CPyL9: ; + cpy_r_r11 = 2; + return cpy_r_r11; +CPyL10: ; + CPy_DecRef(cpy_r_r2); + goto CPyL9; +} + +PyObject *CPyPy_hashing___AttributeDict_____init__(PyObject *self, PyObject *args, PyObject *kw) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"dictionary", 0}; + PyObject *obj_dictionary; + PyObject *obj_args; + PyObject *obj_kwargs; + if (!CPyArg_ParseTupleAndKeywords(args, kw, "%O", "__init__", kwlist, &obj_args, &obj_kwargs, &obj_dictionary)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_hashing___AttributeDict)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_self); + goto fail; + } + PyObject *arg_dictionary; + if (likely(PyDict_Check(obj_dictionary))) + arg_dictionary = obj_dictionary; + else { + CPy_TypeError("dict", obj_dictionary); + goto fail; + } + PyObject *arg_args = obj_args; + PyObject *arg_kwargs = obj_kwargs; + char retval = CPyDef_hashing___AttributeDict_____init__(arg_self, arg_dictionary, arg_args, arg_kwargs); + CPy_DECREF(obj_args); + CPy_DECREF(obj_kwargs); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_DECREF(obj_args); + CPy_DECREF(obj_kwargs); + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__init__", 49, CPyStatic_hashing___globals); + return NULL; +} + +CPyTagged CPyDef_hashing___AttributeDict_____hash__(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_retval; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + CPyTagged cpy_r_r7; + PyObject *cpy_r_r8; + CPyTagged cpy_r_r9; + PyObject *cpy_r_r10; + char cpy_r_r11; + CPyTagged cpy_r_r12; + CPyTagged cpy_r_r13; + cpy_r_r0 = ((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___hash; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\hashing.py", "__hash__", "AttributeDict", "__hash", 55, CPyStatic_hashing___globals); + goto CPyL11; + } + CPy_INCREF(cpy_r_r0); +CPyL1: ; + cpy_r_retval = cpy_r_r0; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_retval == cpy_r_r1; + if (cpy_r_r2) { + goto CPyL12; + } else + goto CPyL9; +CPyL2: ; + cpy_r_r3 = CPyDef_hashing___tupleize_lists_nested(cpy_r_self); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__hash__", 57, CPyStatic_hashing___globals); + goto CPyL11; + } + cpy_r_r4 = CPyDef_hashing___AttributeDict___items(cpy_r_r3); + CPy_DECREF_NO_IMM(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__hash__", 57, CPyStatic_hashing___globals); + goto CPyL11; + } + cpy_r_r5 = CPySequence_Sort(cpy_r_r4); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__hash__", 57, CPyStatic_hashing___globals); + goto CPyL11; + } + cpy_r_r6 = PyList_AsTuple(cpy_r_r5); + CPy_DECREF_NO_IMM(cpy_r_r5); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__hash__", 57, CPyStatic_hashing___globals); + goto CPyL11; + } + cpy_r_r7 = CPyObject_Hash(cpy_r_r6); + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r7 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__hash__", 57, CPyStatic_hashing___globals); + goto CPyL11; + } + cpy_r_r8 = CPyTagged_StealAsObject(cpy_r_r7); + cpy_r_retval = cpy_r_r8; + if (likely(PyLong_Check(cpy_r_retval))) + cpy_r_r9 = CPyTagged_FromObject(cpy_r_retval); + else { + CPy_TypeError("int", cpy_r_retval); cpy_r_r9 = CPY_INT_TAG; + } + if (unlikely(cpy_r_r9 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__hash__", 58, CPyStatic_hashing___globals); + goto CPyL13; + } + cpy_r_r10 = CPyTagged_StealAsObject(cpy_r_r9); + if (((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___hash != NULL) { + CPy_DECREF(((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___hash); + } + ((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___hash = cpy_r_r10; + cpy_r_r11 = 1; + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__hash__", 58, CPyStatic_hashing___globals); + goto CPyL13; + } +CPyL9: ; + if (likely(PyLong_Check(cpy_r_retval))) + cpy_r_r12 = CPyTagged_FromObject(cpy_r_retval); + else { + CPy_TypeError("int", cpy_r_retval); cpy_r_r12 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_retval); + if (unlikely(cpy_r_r12 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__hash__", 59, CPyStatic_hashing___globals); + goto CPyL11; + } + return cpy_r_r12; +CPyL11: ; + cpy_r_r13 = CPY_INT_TAG; + return cpy_r_r13; +CPyL12: ; + CPy_DECREF(cpy_r_retval); + goto CPyL2; +CPyL13: ; + CPy_DecRef(cpy_r_retval); + goto CPyL11; +} + +PyObject *CPyPy_hashing___AttributeDict_____hash__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__hash__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_hashing___AttributeDict)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_self); + goto fail; + } + CPyTagged retval = CPyDef_hashing___AttributeDict_____hash__(arg_self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__hash__", 54, CPyStatic_hashing___globals); + return NULL; +} + +char CPyDef_hashing___AttributeDict_____eq__(PyObject *cpy_r_self, PyObject *cpy_r_other) { + PyObject *cpy_r_r0; + CPyPtr cpy_r_r1; + PyObject *cpy_r_r2; + char cpy_r_r3; + CPyTagged cpy_r_r4; + PyObject *cpy_r_r5; + CPyTagged cpy_r_r6; + int64_t cpy_r_r7; + char cpy_r_r8; + char cpy_r_r9; + char cpy_r_r10; + char cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + int32_t cpy_r_r15; + char cpy_r_r16; + char cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + char cpy_r_r21; + char cpy_r_r22; + cpy_r_r0 = (PyObject *)CPyType_hashing___AttributeDict; + cpy_r_r1 = (CPyPtr)&((PyObject *)cpy_r_other)->ob_type; + cpy_r_r2 = *(PyObject * *)cpy_r_r1; + cpy_r_r3 = cpy_r_r2 == cpy_r_r0; + if (!cpy_r_r3) goto CPyL8; + cpy_r_r4 = CPyObject_Hash(cpy_r_self); + if (unlikely(cpy_r_r4 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__eq__", 63, CPyStatic_hashing___globals); + goto CPyL17; + } + CPy_INCREF(cpy_r_other); + if (likely(Py_TYPE(cpy_r_other) == CPyType_hashing___AttributeDict)) + cpy_r_r5 = cpy_r_other; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "__eq__", 63, CPyStatic_hashing___globals, "dank_mids.helpers.hashing.AttributeDict", cpy_r_other); + goto CPyL18; + } + cpy_r_r6 = CPyObject_Hash(cpy_r_r5); + CPy_DECREF_NO_IMM(cpy_r_r5); + if (unlikely(cpy_r_r6 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__eq__", 63, CPyStatic_hashing___globals); + goto CPyL18; + } + cpy_r_r7 = cpy_r_r4 & 1; + cpy_r_r8 = cpy_r_r7 != 0; + if (!cpy_r_r8) goto CPyL6; + cpy_r_r9 = CPyTagged_IsEq_(cpy_r_r4, cpy_r_r6); + cpy_r_r10 = cpy_r_r9; + goto CPyL7; +CPyL6: ; + cpy_r_r11 = cpy_r_r4 == cpy_r_r6; + cpy_r_r10 = cpy_r_r11; +CPyL7: ; + CPyTagged_DECREF(cpy_r_r4); + CPyTagged_DECREF(cpy_r_r6); + return cpy_r_r10; +CPyL8: ; + cpy_r_r12 = CPyStatic_hashing___globals; + cpy_r_r13 = CPyStatics[264]; /* 'Mapping' */ + cpy_r_r14 = CPyDict_GetItem(cpy_r_r12, cpy_r_r13); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__eq__", 64, CPyStatic_hashing___globals); + goto CPyL17; + } + cpy_r_r15 = PyObject_IsInstance(cpy_r_other, cpy_r_r14); + CPy_DECREF(cpy_r_r14); + cpy_r_r16 = cpy_r_r15 >= 0; + if (unlikely(!cpy_r_r16)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__eq__", 64, CPyStatic_hashing___globals); + goto CPyL17; + } + cpy_r_r17 = cpy_r_r15; + if (!cpy_r_r17) goto CPyL16; + cpy_r_r18 = ((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___dict__; + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\hashing.py", "__eq__", "AttributeDict", "__dict__", 65, CPyStatic_hashing___globals); + goto CPyL17; + } + CPy_INCREF(cpy_r_r18); +CPyL12: ; + cpy_r_r19 = CPyDict_FromAny(cpy_r_other); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__eq__", 65, CPyStatic_hashing___globals); + goto CPyL19; + } + cpy_r_r20 = PyObject_RichCompare(cpy_r_r18, cpy_r_r19, 2); + CPy_DECREF(cpy_r_r18); + CPy_DECREF(cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__eq__", 65, CPyStatic_hashing___globals); + goto CPyL17; + } + if (unlikely(!PyBool_Check(cpy_r_r20))) { + CPy_TypeError("bool", cpy_r_r20); cpy_r_r21 = 2; + } else + cpy_r_r21 = cpy_r_r20 == Py_True; + CPy_DECREF(cpy_r_r20); + if (unlikely(cpy_r_r21 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__eq__", 65, CPyStatic_hashing___globals); + goto CPyL17; + } + return cpy_r_r21; +CPyL16: ; + return 0; +CPyL17: ; + cpy_r_r22 = 2; + return cpy_r_r22; +CPyL18: ; + CPyTagged_DecRef(cpy_r_r4); + goto CPyL17; +CPyL19: ; + CPy_DecRef(cpy_r_r18); + goto CPyL17; +} + +PyObject *CPyPy_hashing___AttributeDict_____eq__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"other", 0}; + static CPyArg_Parser parser = {"O:__eq__", kwlist, 0}; + PyObject *obj_other; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_other)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_hashing___AttributeDict)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_self); + goto fail; + } + PyObject *arg_other = obj_other; + char retval = CPyDef_hashing___AttributeDict_____eq__(arg_self, arg_other); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__eq__", 61, CPyStatic_hashing___globals); + return NULL; +} + +char CPyDef_hashing___AttributeDict_____setattr__(PyObject *cpy_r_self, PyObject *cpy_r_attr, PyObject *cpy_r_val) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject **cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject **cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject **cpy_r_r19; + PyObject *cpy_r_r20; + char cpy_r_r21; + cpy_r_r0 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r1 = CPyStr_Equal(cpy_r_attr, cpy_r_r0); + if (!cpy_r_r1) goto CPyL5; + cpy_r_r2 = CPyModule_builtins; + cpy_r_r3 = CPyStatics[149]; /* 'super' */ + cpy_r_r4 = CPyObject_GetAttr(cpy_r_r2, cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__setattr__", 71, CPyStatic_hashing___globals); + goto CPyL9; + } + cpy_r_r5 = (PyObject *)CPyType_hashing___AttributeDict; + PyObject *cpy_r_r6[2] = {cpy_r_r5, cpy_r_self}; + cpy_r_r7 = (PyObject **)&cpy_r_r6; + cpy_r_r8 = PyObject_Vectorcall(cpy_r_r4, cpy_r_r7, 2, 0); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__setattr__", 71, CPyStatic_hashing___globals); + goto CPyL9; + } + cpy_r_r9 = CPyStatics[652]; /* '__setattr__' */ + cpy_r_r10 = CPyObject_GetAttr(cpy_r_r8, cpy_r_r9); + CPy_DECREF(cpy_r_r8); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__setattr__", 71, CPyStatic_hashing___globals); + goto CPyL9; + } + PyObject *cpy_r_r11[2] = {cpy_r_attr, cpy_r_val}; + cpy_r_r12 = (PyObject **)&cpy_r_r11; + cpy_r_r13 = PyObject_Vectorcall(cpy_r_r10, cpy_r_r12, 2, 0); + CPy_DECREF(cpy_r_r10); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__setattr__", 71, CPyStatic_hashing___globals); + goto CPyL9; + } else + goto CPyL10; +CPyL5: ; + cpy_r_r14 = CPyStatics[653]; /* ('This data is immutable -- create a copy instead of ' + 'modifying') */ + cpy_r_r15 = CPyModule_builtins; + cpy_r_r16 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r17 = CPyObject_GetAttr(cpy_r_r15, cpy_r_r16); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__setattr__", 72, CPyStatic_hashing___globals); + goto CPyL9; + } + PyObject *cpy_r_r18[1] = {cpy_r_r14}; + cpy_r_r19 = (PyObject **)&cpy_r_r18; + cpy_r_r20 = PyObject_Vectorcall(cpy_r_r17, cpy_r_r19, 1, 0); + CPy_DECREF(cpy_r_r17); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__setattr__", 72, CPyStatic_hashing___globals); + goto CPyL9; + } + CPy_Raise(cpy_r_r20); + CPy_DECREF(cpy_r_r20); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__setattr__", 72, CPyStatic_hashing___globals); + goto CPyL9; + } + CPy_Unreachable(); +CPyL9: ; + cpy_r_r21 = 2; + return cpy_r_r21; +CPyL10: ; + CPy_DECREF(cpy_r_r13); + goto CPyL5; +} + +PyObject *CPyPy_hashing___AttributeDict_____setattr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"attr", "val", 0}; + static CPyArg_Parser parser = {"OO:__setattr__", kwlist, 0}; + PyObject *obj_attr; + PyObject *obj_val; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_attr, &obj_val)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_hashing___AttributeDict)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_self); + goto fail; + } + PyObject *arg_attr; + if (likely(PyUnicode_Check(obj_attr))) + arg_attr = obj_attr; + else { + CPy_TypeError("str", obj_attr); + goto fail; + } + PyObject *arg_val = obj_val; + char retval = CPyDef_hashing___AttributeDict_____setattr__(arg_self, arg_attr, arg_val); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__setattr__", 69, CPyStatic_hashing___globals); + return NULL; +} + +char CPyDef_hashing___AttributeDict_____delattr__(PyObject *cpy_r_self, PyObject *cpy_r_key) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject **cpy_r_r5; + PyObject *cpy_r_r6; + char cpy_r_r7; + cpy_r_r0 = CPyStatics[653]; /* ('This data is immutable -- create a copy instead of ' + 'modifying') */ + cpy_r_r1 = CPyModule_builtins; + cpy_r_r2 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r3 = CPyObject_GetAttr(cpy_r_r1, cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__delattr__", 75, CPyStatic_hashing___globals); + goto CPyL4; + } + PyObject *cpy_r_r4[1] = {cpy_r_r0}; + cpy_r_r5 = (PyObject **)&cpy_r_r4; + cpy_r_r6 = PyObject_Vectorcall(cpy_r_r3, cpy_r_r5, 1, 0); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__delattr__", 75, CPyStatic_hashing___globals); + goto CPyL4; + } + CPy_Raise(cpy_r_r6); + CPy_DECREF(cpy_r_r6); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__delattr__", 75, CPyStatic_hashing___globals); + goto CPyL4; + } + CPy_Unreachable(); +CPyL4: ; + cpy_r_r7 = 2; + return cpy_r_r7; +} + +PyObject *CPyPy_hashing___AttributeDict_____delattr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"key", 0}; + static CPyArg_Parser parser = {"O:__delattr__", kwlist, 0}; + PyObject *obj_key; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_key)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_hashing___AttributeDict)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_self); + goto fail; + } + PyObject *arg_key; + if (likely(PyUnicode_Check(obj_key))) + arg_key = obj_key; + else { + CPy_TypeError("str", obj_key); + goto fail; + } + char retval = CPyDef_hashing___AttributeDict_____delattr__(arg_self, arg_key); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__delattr__", 74, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing___AttributeDict_____getitem__(PyObject *cpy_r_self, PyObject *cpy_r_key) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = ((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___dict__; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\hashing.py", "__getitem__", "AttributeDict", "__dict__", 78, CPyStatic_hashing___globals); + goto CPyL3; + } + CPy_INCREF(cpy_r_r0); +CPyL1: ; + cpy_r_r1 = CPyDict_GetItem(cpy_r_r0, cpy_r_key); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__getitem__", 78, CPyStatic_hashing___globals); + goto CPyL3; + } + return cpy_r_r1; +CPyL3: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_hashing___AttributeDict_____getitem__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"key", 0}; + static CPyArg_Parser parser = {"O:__getitem__", kwlist, 0}; + PyObject *obj_key; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_key)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_hashing___AttributeDict)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_self); + goto fail; + } + PyObject *arg_key = obj_key; + PyObject *retval = CPyDef_hashing___AttributeDict_____getitem__(arg_self, arg_key); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__getitem__", 77, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing___AttributeDict_____iter__(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = ((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___dict__; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\hashing.py", "__iter__", "AttributeDict", "__dict__", 81, CPyStatic_hashing___globals); + goto CPyL3; + } + CPy_INCREF(cpy_r_r0); +CPyL1: ; + cpy_r_r1 = PyObject_GetIter(cpy_r_r0); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__iter__", 81, CPyStatic_hashing___globals); + goto CPyL3; + } + return cpy_r_r1; +CPyL3: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_hashing___AttributeDict_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_hashing___AttributeDict)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_self); + goto fail; + } + PyObject *retval = CPyDef_hashing___AttributeDict_____iter__(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__iter__", 80, CPyStatic_hashing___globals); + return NULL; +} + +CPyTagged CPyDef_hashing___AttributeDict_____len__(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + int64_t cpy_r_r1; + CPyTagged cpy_r_r2; + CPyTagged cpy_r_r3; + cpy_r_r0 = ((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___dict__; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\hashing.py", "__len__", "AttributeDict", "__dict__", 84, CPyStatic_hashing___globals); + goto CPyL2; + } + CPy_INCREF(cpy_r_r0); +CPyL1: ; + cpy_r_r1 = PyDict_Size(cpy_r_r0); + CPy_DECREF(cpy_r_r0); + cpy_r_r2 = cpy_r_r1 << 1; + return cpy_r_r2; +CPyL2: ; + cpy_r_r3 = CPY_INT_TAG; + return cpy_r_r3; +} + +PyObject *CPyPy_hashing___AttributeDict_____len__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__len__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_hashing___AttributeDict)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_self); + goto fail; + } + CPyTagged retval = CPyDef_hashing___AttributeDict_____len__(arg_self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__len__", 83, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing___AttributeDict_____repr__(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject **cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + CPyPtr cpy_r_r15; + CPyPtr cpy_r_r16; + CPyPtr cpy_r_r17; + CPyPtr cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + cpy_r_r0 = CPy_TYPE(cpy_r_self); + cpy_r_r1 = CPy_GetName(cpy_r_r0); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__repr__", 87, CPyStatic_hashing___globals); + goto CPyL9; + } + if (likely(PyUnicode_Check(cpy_r_r1))) + cpy_r_r2 = cpy_r_r1; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "__repr__", 87, CPyStatic_hashing___globals, "str", cpy_r_r1); + goto CPyL9; + } + cpy_r_r3 = CPyStatics[126]; /* '' */ + cpy_r_r4 = CPyStatics[336]; /* '(' */ + cpy_r_r5 = CPyStatics[278]; /* '{!r:{}}' */ + cpy_r_r6 = ((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___dict__; + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\hashing.py", "__repr__", "AttributeDict", "__dict__", 87, CPyStatic_hashing___globals); + goto CPyL10; + } + CPy_INCREF(cpy_r_r6); +CPyL3: ; + cpy_r_r7 = CPyStatics[126]; /* '' */ + cpy_r_r8 = CPyStatics[129]; /* 'format' */ + PyObject *cpy_r_r9[3] = {cpy_r_r5, cpy_r_r6, cpy_r_r7}; + cpy_r_r10 = (PyObject **)&cpy_r_r9; + cpy_r_r11 = PyObject_VectorcallMethod(cpy_r_r8, cpy_r_r10, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__repr__", 87, CPyStatic_hashing___globals); + goto CPyL11; + } + CPy_DECREF(cpy_r_r6); + if (likely(PyUnicode_Check(cpy_r_r11))) + cpy_r_r12 = cpy_r_r11; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "__repr__", 87, CPyStatic_hashing___globals, "str", cpy_r_r11); + goto CPyL10; + } + cpy_r_r13 = CPyStatics[338]; /* ')' */ + cpy_r_r14 = PyList_New(3); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__repr__", 87, CPyStatic_hashing___globals); + goto CPyL12; + } + cpy_r_r15 = (CPyPtr)&((PyListObject *)cpy_r_r14)->ob_item; + cpy_r_r16 = *(CPyPtr *)cpy_r_r15; + CPy_INCREF(cpy_r_r4); + *(PyObject * *)cpy_r_r16 = cpy_r_r4; + cpy_r_r17 = cpy_r_r16 + 8; + *(PyObject * *)cpy_r_r17 = cpy_r_r12; + CPy_INCREF(cpy_r_r13); + cpy_r_r18 = cpy_r_r16 + 16; + *(PyObject * *)cpy_r_r18 = cpy_r_r13; + cpy_r_r19 = PyUnicode_Join(cpy_r_r3, cpy_r_r14); + CPy_DECREF_NO_IMM(cpy_r_r14); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__repr__", 87, CPyStatic_hashing___globals); + goto CPyL10; + } + cpy_r_r20 = PyUnicode_Concat(cpy_r_r2, cpy_r_r19); + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__repr__", 87, CPyStatic_hashing___globals); + goto CPyL9; + } + return cpy_r_r20; +CPyL9: ; + cpy_r_r21 = NULL; + return cpy_r_r21; +CPyL10: ; + CPy_DecRef(cpy_r_r2); + goto CPyL9; +CPyL11: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r6); + goto CPyL9; +CPyL12: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r12); + goto CPyL9; +} + +PyObject *CPyPy_hashing___AttributeDict_____repr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__repr__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_hashing___AttributeDict)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_self); + goto fail; + } + PyObject *retval = CPyDef_hashing___AttributeDict_____repr__(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__repr__", 86, CPyStatic_hashing___globals); + return NULL; +} + +char CPyDef_hashing___AttributeDict____repr_pretty_(PyObject *cpy_r_self, PyObject *cpy_r_builder, char cpy_r_cycle) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject **cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject **cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject **cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject **cpy_r_r22; + PyObject *cpy_r_r23; + char cpy_r_r24; + cpy_r_r0 = CPy_TYPE(cpy_r_self); + cpy_r_r1 = CPy_GetName(cpy_r_r0); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_repr_pretty_", 94, CPyStatic_hashing___globals); + goto CPyL11; + } + if (likely(PyUnicode_Check(cpy_r_r1))) + cpy_r_r2 = cpy_r_r1; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "_repr_pretty_", 94, CPyStatic_hashing___globals, "str", cpy_r_r1); + goto CPyL11; + } + cpy_r_r3 = CPyStatics[336]; /* '(' */ + cpy_r_r4 = PyUnicode_Concat(cpy_r_r2, cpy_r_r3); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_repr_pretty_", 94, CPyStatic_hashing___globals); + goto CPyL11; + } + cpy_r_r5 = CPyStatics[654]; /* 'text' */ + PyObject *cpy_r_r6[2] = {cpy_r_builder, cpy_r_r4}; + cpy_r_r7 = (PyObject **)&cpy_r_r6; + cpy_r_r8 = PyObject_VectorcallMethod(cpy_r_r5, cpy_r_r7, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_repr_pretty_", 94, CPyStatic_hashing___globals); + goto CPyL12; + } else + goto CPyL13; +CPyL4: ; + CPy_DECREF(cpy_r_r4); + if (!cpy_r_cycle) goto CPyL6; + cpy_r_r9 = CPyStatics[655]; /* '' */ + cpy_r_r10 = CPyStatics[654]; /* 'text' */ + PyObject *cpy_r_r11[2] = {cpy_r_builder, cpy_r_r9}; + cpy_r_r12 = (PyObject **)&cpy_r_r11; + cpy_r_r13 = PyObject_VectorcallMethod(cpy_r_r10, cpy_r_r12, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_repr_pretty_", 96, CPyStatic_hashing___globals); + goto CPyL11; + } else + goto CPyL14; +CPyL6: ; + cpy_r_r14 = ((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___dict__; + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\hashing.py", "_repr_pretty_", "AttributeDict", "__dict__", 98, CPyStatic_hashing___globals); + goto CPyL11; + } + CPy_INCREF(cpy_r_r14); +CPyL7: ; + cpy_r_r15 = CPyStatics[656]; /* 'pretty' */ + PyObject *cpy_r_r16[2] = {cpy_r_builder, cpy_r_r14}; + cpy_r_r17 = (PyObject **)&cpy_r_r16; + cpy_r_r18 = PyObject_VectorcallMethod(cpy_r_r15, cpy_r_r17, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_repr_pretty_", 98, CPyStatic_hashing___globals); + goto CPyL15; + } else + goto CPyL16; +CPyL8: ; + CPy_DECREF(cpy_r_r14); +CPyL9: ; + cpy_r_r19 = CPyStatics[338]; /* ')' */ + cpy_r_r20 = CPyStatics[654]; /* 'text' */ + PyObject *cpy_r_r21[2] = {cpy_r_builder, cpy_r_r19}; + cpy_r_r22 = (PyObject **)&cpy_r_r21; + cpy_r_r23 = PyObject_VectorcallMethod(cpy_r_r20, cpy_r_r22, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_repr_pretty_", 99, CPyStatic_hashing___globals); + goto CPyL11; + } else + goto CPyL17; +CPyL10: ; + return 1; +CPyL11: ; + cpy_r_r24 = 2; + return cpy_r_r24; +CPyL12: ; + CPy_DecRef(cpy_r_r4); + goto CPyL11; +CPyL13: ; + CPy_DECREF(cpy_r_r8); + goto CPyL4; +CPyL14: ; + CPy_DECREF(cpy_r_r13); + goto CPyL9; +CPyL15: ; + CPy_DecRef(cpy_r_r14); + goto CPyL11; +CPyL16: ; + CPy_DECREF(cpy_r_r18); + goto CPyL8; +CPyL17: ; + CPy_DECREF(cpy_r_r23); + goto CPyL10; +} + +PyObject *CPyPy_hashing___AttributeDict____repr_pretty_(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"builder", "cycle", 0}; + static CPyArg_Parser parser = {"OO:_repr_pretty_", kwlist, 0}; + PyObject *obj_builder; + PyObject *obj_cycle; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_builder, &obj_cycle)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_hashing___AttributeDict)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_self); + goto fail; + } + PyObject *arg_builder = obj_builder; + char arg_cycle; + if (unlikely(!PyBool_Check(obj_cycle))) { + CPy_TypeError("bool", obj_cycle); goto fail; + } else + arg_cycle = obj_cycle == Py_True; + char retval = CPyDef_hashing___AttributeDict____repr_pretty_(arg_self, arg_builder, arg_cycle); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_repr_pretty_", 89, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing___AttributeDict___recursive(PyObject *cpy_r_cls, PyObject *cpy_r_value) { + char cpy_r_r0; + PyObject *cpy_r_r1; + CPyPtr cpy_r_r2; + int64_t cpy_r_r3; + PyObject *cpy_r_r4; + CPyPtr cpy_r_r5; + int64_t cpy_r_r6; + int64_t cpy_r_r7; + char cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + int64_t cpy_r_r12; + char cpy_r_r13; + PyObject *cpy_r_r14; + CPyPtr cpy_r_r15; + int64_t cpy_r_r16; + PyObject *cpy_r_r17; + int64_t cpy_r_r18; + CPyPtr cpy_r_r19; + int64_t cpy_r_r20; + char cpy_r_r21; + CPyPtr cpy_r_r22; + CPyPtr cpy_r_r23; + int64_t cpy_r_r24; + CPyPtr cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + int64_t cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + int32_t cpy_r_r33; + char cpy_r_r34; + char cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject **cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + tuple_T2OO cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + int32_t cpy_r_r48; + char cpy_r_r49; + char cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + char cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + int32_t cpy_r_r61; + char cpy_r_r62; + char cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + int32_t cpy_r_r67; + char cpy_r_r68; + char cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + tuple_T2OO cpy_r_r72; + PyObject *cpy_r_r73; + int32_t cpy_r_r74; + char cpy_r_r75; + char cpy_r_r76; + PyObject *cpy_r_r77; + PyObject *cpy_r_r78; + PyObject *cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + int32_t cpy_r_r83; + char cpy_r_r84; + char cpy_r_r85; + PyObject *cpy_r_r86; + PyObject **cpy_r_r88; + PyObject *cpy_r_r89; + PyObject *cpy_r_r90; + cpy_r_r0 = PyTuple_Check(cpy_r_value); + if (!cpy_r_r0) goto CPyL9; + CPy_INCREF(cpy_r_value); + if (likely(PyTuple_Check(cpy_r_value))) + cpy_r_r1 = cpy_r_value; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "recursive", 108, CPyStatic_hashing___globals, "tuple", cpy_r_value); + goto CPyL56; + } + cpy_r_r2 = (CPyPtr)&((PyVarObject *)cpy_r_r1)->ob_size; + cpy_r_r3 = *(int64_t *)cpy_r_r2; + cpy_r_r4 = PyTuple_New(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 108, CPyStatic_hashing___globals); + goto CPyL57; + } + cpy_r_r5 = (CPyPtr)&((PyVarObject *)cpy_r_r1)->ob_size; + cpy_r_r6 = *(int64_t *)cpy_r_r5; + cpy_r_r7 = 0; +CPyL4: ; + cpy_r_r8 = cpy_r_r7 < cpy_r_r6; + if (!cpy_r_r8) goto CPyL58; + cpy_r_r9 = CPySequenceTuple_GetItemUnsafe(cpy_r_r1, cpy_r_r7); + cpy_r_r10 = (PyObject *)CPyType_hashing___AttributeDict; + cpy_r_r11 = CPyDef_hashing___AttributeDict___recursive(cpy_r_r10, cpy_r_r9); + CPy_DECREF(cpy_r_r9); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 108, CPyStatic_hashing___globals); + goto CPyL59; + } + CPySequenceTuple_SetItemUnsafe(cpy_r_r4, cpy_r_r7, cpy_r_r11); + cpy_r_r12 = cpy_r_r7 + 1; + cpy_r_r7 = cpy_r_r12; + goto CPyL4; +CPyL8: ; + return cpy_r_r4; +CPyL9: ; + cpy_r_r13 = PyList_Check(cpy_r_value); + if (!cpy_r_r13) goto CPyL18; + CPy_INCREF(cpy_r_value); + if (likely(PyList_Check(cpy_r_value))) + cpy_r_r14 = cpy_r_value; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "recursive", 110, CPyStatic_hashing___globals, "list", cpy_r_value); + goto CPyL56; + } + cpy_r_r15 = (CPyPtr)&((PyVarObject *)cpy_r_r14)->ob_size; + cpy_r_r16 = *(int64_t *)cpy_r_r15; + cpy_r_r17 = PyList_New(cpy_r_r16); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 110, CPyStatic_hashing___globals); + goto CPyL60; + } + cpy_r_r18 = 0; +CPyL13: ; + cpy_r_r19 = (CPyPtr)&((PyVarObject *)cpy_r_r14)->ob_size; + cpy_r_r20 = *(int64_t *)cpy_r_r19; + cpy_r_r21 = cpy_r_r18 < cpy_r_r20; + if (!cpy_r_r21) goto CPyL61; + cpy_r_r22 = (CPyPtr)&((PyListObject *)cpy_r_r14)->ob_item; + cpy_r_r23 = *(CPyPtr *)cpy_r_r22; + cpy_r_r24 = cpy_r_r18 * 8; + cpy_r_r25 = cpy_r_r23 + cpy_r_r24; + cpy_r_r26 = *(PyObject * *)cpy_r_r25; + CPy_INCREF(cpy_r_r26); + cpy_r_r27 = (PyObject *)CPyType_hashing___AttributeDict; + cpy_r_r28 = CPyDef_hashing___AttributeDict___recursive(cpy_r_r27, cpy_r_r26); + CPy_DECREF(cpy_r_r26); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 110, CPyStatic_hashing___globals); + goto CPyL62; + } + CPyList_SetItemUnsafe(cpy_r_r17, cpy_r_r18, cpy_r_r28); + cpy_r_r29 = cpy_r_r18 + 1; + cpy_r_r18 = cpy_r_r29; + goto CPyL13; +CPyL17: ; + return cpy_r_r17; +CPyL18: ; + cpy_r_r30 = CPyStatic_hashing___globals; + cpy_r_r31 = CPyStatics[264]; /* 'Mapping' */ + cpy_r_r32 = CPyDict_GetItem(cpy_r_r30, cpy_r_r31); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 111, CPyStatic_hashing___globals); + goto CPyL56; + } + cpy_r_r33 = PyObject_IsInstance(cpy_r_value, cpy_r_r32); + CPy_DECREF(cpy_r_r32); + cpy_r_r34 = cpy_r_r33 >= 0; + if (unlikely(!cpy_r_r34)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 111, CPyStatic_hashing___globals); + goto CPyL56; + } + cpy_r_r35 = cpy_r_r33; + if (!cpy_r_r35) goto CPyL32; + cpy_r_r36 = PyDict_New(); + if (unlikely(cpy_r_r36 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 112, CPyStatic_hashing___globals); + goto CPyL56; + } + cpy_r_r37 = CPyStatics[240]; /* 'items' */ + PyObject *cpy_r_r38[1] = {cpy_r_value}; + cpy_r_r39 = (PyObject **)&cpy_r_r38; + cpy_r_r40 = PyObject_VectorcallMethod(cpy_r_r37, cpy_r_r39, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r40 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 112, CPyStatic_hashing___globals); + goto CPyL63; + } + cpy_r_r41 = PyObject_GetIter(cpy_r_r40); + CPy_DECREF(cpy_r_r40); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 112, CPyStatic_hashing___globals); + goto CPyL63; + } +CPyL24: ; + cpy_r_r42 = PyIter_Next(cpy_r_r41); + if (cpy_r_r42 == NULL) goto CPyL64; + PyObject *__tmp294; + if (unlikely(!(PyTuple_Check(cpy_r_r42) && PyTuple_GET_SIZE(cpy_r_r42) == 2))) { + __tmp294 = NULL; + goto __LL295; + } + __tmp294 = PyTuple_GET_ITEM(cpy_r_r42, 0); + if (__tmp294 == NULL) goto __LL295; + __tmp294 = PyTuple_GET_ITEM(cpy_r_r42, 1); + if (__tmp294 == NULL) goto __LL295; + __tmp294 = cpy_r_r42; +__LL295: ; + if (unlikely(__tmp294 == NULL)) { + CPy_TypeError("tuple[object, object]", cpy_r_r42); cpy_r_r43 = (tuple_T2OO) { NULL, NULL }; + } else { + PyObject *__tmp296 = PyTuple_GET_ITEM(cpy_r_r42, 0); + CPy_INCREF(__tmp296); + PyObject *__tmp297; + __tmp297 = __tmp296; + cpy_r_r43.f0 = __tmp297; + PyObject *__tmp298 = PyTuple_GET_ITEM(cpy_r_r42, 1); + CPy_INCREF(__tmp298); + PyObject *__tmp299; + __tmp299 = __tmp298; + cpy_r_r43.f1 = __tmp299; + } + CPy_DECREF(cpy_r_r42); + if (unlikely(cpy_r_r43.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 112, CPyStatic_hashing___globals); + goto CPyL65; + } + cpy_r_r44 = cpy_r_r43.f0; + CPy_INCREF(cpy_r_r44); + cpy_r_r45 = cpy_r_r43.f1; + CPy_INCREF(cpy_r_r45); + CPy_DECREF(cpy_r_r43.f0); + CPy_DECREF(cpy_r_r43.f1); + cpy_r_r46 = (PyObject *)CPyType_hashing___AttributeDict; + cpy_r_r47 = CPyDef_hashing___AttributeDict___recursive(cpy_r_r46, cpy_r_r45); + CPy_DECREF(cpy_r_r45); + if (unlikely(cpy_r_r47 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 112, CPyStatic_hashing___globals); + goto CPyL66; + } + cpy_r_r48 = PyDict_SetItem(cpy_r_r36, cpy_r_r44, cpy_r_r47); + CPy_DECREF(cpy_r_r44); + CPy_DECREF(cpy_r_r47); + cpy_r_r49 = cpy_r_r48 >= 0; + if (unlikely(!cpy_r_r49)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 112, CPyStatic_hashing___globals); + goto CPyL65; + } else + goto CPyL24; +CPyL28: ; + cpy_r_r50 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r50)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 112, CPyStatic_hashing___globals); + goto CPyL63; + } + cpy_r_r51 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_r52 = PyDict_New(); + if (unlikely(cpy_r_r52 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 112, CPyStatic_hashing___globals); + goto CPyL67; + } + cpy_r_r53 = CPyDef_hashing___AttributeDict(cpy_r_r36, cpy_r_r51, cpy_r_r52); + CPy_DECREF(cpy_r_r36); + CPy_DECREF(cpy_r_r51); + CPy_DECREF(cpy_r_r52); + if (unlikely(cpy_r_r53 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 112, CPyStatic_hashing___globals); + goto CPyL56; + } + return cpy_r_r53; +CPyL32: ; + cpy_r_r54 = PySet_Check(cpy_r_value); + if (!cpy_r_r54) goto CPyL41; + cpy_r_r55 = PySet_New(NULL); + if (unlikely(cpy_r_r55 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 114, CPyStatic_hashing___globals); + goto CPyL56; + } + CPy_INCREF(cpy_r_value); + if (likely(PySet_Check(cpy_r_value))) + cpy_r_r56 = cpy_r_value; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "recursive", 114, CPyStatic_hashing___globals, "set", cpy_r_value); + goto CPyL68; + } + cpy_r_r57 = PyObject_GetIter(cpy_r_r56); + CPy_DECREF(cpy_r_r56); + if (unlikely(cpy_r_r57 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 114, CPyStatic_hashing___globals); + goto CPyL68; + } +CPyL36: ; + cpy_r_r58 = PyIter_Next(cpy_r_r57); + if (cpy_r_r58 == NULL) goto CPyL69; + cpy_r_r59 = (PyObject *)CPyType_hashing___AttributeDict; + cpy_r_r60 = CPyDef_hashing___AttributeDict___recursive(cpy_r_r59, cpy_r_r58); + CPy_DECREF(cpy_r_r58); + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 114, CPyStatic_hashing___globals); + goto CPyL70; + } + cpy_r_r61 = PySet_Add(cpy_r_r55, cpy_r_r60); + CPy_DECREF(cpy_r_r60); + cpy_r_r62 = cpy_r_r61 >= 0; + if (unlikely(!cpy_r_r62)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 114, CPyStatic_hashing___globals); + goto CPyL70; + } else + goto CPyL36; +CPyL39: ; + cpy_r_r63 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r63)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 114, CPyStatic_hashing___globals); + goto CPyL68; + } + return cpy_r_r55; +CPyL41: ; + cpy_r_r64 = CPyStatic_hashing___globals; + cpy_r_r65 = CPyStatics[173]; /* 'Sequence' */ + cpy_r_r66 = CPyDict_GetItem(cpy_r_r64, cpy_r_r65); + if (unlikely(cpy_r_r66 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 115, CPyStatic_hashing___globals); + goto CPyL56; + } + cpy_r_r67 = PyObject_IsInstance(cpy_r_value, cpy_r_r66); + CPy_DECREF(cpy_r_r66); + cpy_r_r68 = cpy_r_r67 >= 0; + if (unlikely(!cpy_r_r68)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 115, CPyStatic_hashing___globals); + goto CPyL56; + } + cpy_r_r69 = cpy_r_r67; + if (!cpy_r_r69) goto CPyL55; + cpy_r_r70 = (PyObject *)&PyUnicode_Type; + cpy_r_r71 = (PyObject *)&PyBytes_Type; + CPy_INCREF(cpy_r_r70); + CPy_INCREF(cpy_r_r71); + cpy_r_r72.f0 = cpy_r_r70; + cpy_r_r72.f1 = cpy_r_r71; + cpy_r_r73 = PyTuple_New(2); + if (unlikely(cpy_r_r73 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp300 = cpy_r_r72.f0; + PyTuple_SET_ITEM(cpy_r_r73, 0, __tmp300); + PyObject *__tmp301 = cpy_r_r72.f1; + PyTuple_SET_ITEM(cpy_r_r73, 1, __tmp301); + cpy_r_r74 = PyObject_IsInstance(cpy_r_value, cpy_r_r73); + CPy_DECREF(cpy_r_r73); + cpy_r_r75 = cpy_r_r74 >= 0; + if (unlikely(!cpy_r_r75)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 115, CPyStatic_hashing___globals); + goto CPyL56; + } + cpy_r_r76 = cpy_r_r74; + if (cpy_r_r76) goto CPyL55; + cpy_r_r77 = CPy_TYPE(cpy_r_value); + cpy_r_r78 = PyList_New(0); + if (unlikely(cpy_r_r78 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 116, CPyStatic_hashing___globals); + goto CPyL71; + } + cpy_r_r79 = PyObject_GetIter(cpy_r_value); + if (unlikely(cpy_r_r79 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 116, CPyStatic_hashing___globals); + goto CPyL72; + } +CPyL48: ; + cpy_r_r80 = PyIter_Next(cpy_r_r79); + if (cpy_r_r80 == NULL) goto CPyL73; + cpy_r_r81 = (PyObject *)CPyType_hashing___AttributeDict; + cpy_r_r82 = CPyDef_hashing___AttributeDict___recursive(cpy_r_r81, cpy_r_r80); + CPy_DECREF(cpy_r_r80); + if (unlikely(cpy_r_r82 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 116, CPyStatic_hashing___globals); + goto CPyL74; + } + cpy_r_r83 = PyList_Append(cpy_r_r78, cpy_r_r82); + CPy_DECREF(cpy_r_r82); + cpy_r_r84 = cpy_r_r83 >= 0; + if (unlikely(!cpy_r_r84)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 116, CPyStatic_hashing___globals); + goto CPyL74; + } else + goto CPyL48; +CPyL51: ; + cpy_r_r85 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r85)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 116, CPyStatic_hashing___globals); + goto CPyL72; + } + cpy_r_r86 = PyObject_GetIter(cpy_r_r78); + CPy_DECREF_NO_IMM(cpy_r_r78); + if (unlikely(cpy_r_r86 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 116, CPyStatic_hashing___globals); + goto CPyL71; + } + PyObject *cpy_r_r87[1] = {cpy_r_r86}; + cpy_r_r88 = (PyObject **)&cpy_r_r87; + cpy_r_r89 = PyObject_Vectorcall(cpy_r_r77, cpy_r_r88, 1, 0); + CPy_DECREF(cpy_r_r77); + if (unlikely(cpy_r_r89 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 116, CPyStatic_hashing___globals); + goto CPyL75; + } + CPy_DECREF(cpy_r_r86); + return cpy_r_r89; +CPyL55: ; + CPy_INCREF(cpy_r_value); + return cpy_r_value; +CPyL56: ; + cpy_r_r90 = NULL; + return cpy_r_r90; +CPyL57: ; + CPy_DecRef(cpy_r_r1); + goto CPyL56; +CPyL58: ; + CPy_DECREF(cpy_r_r1); + goto CPyL8; +CPyL59: ; + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r4); + goto CPyL56; +CPyL60: ; + CPy_DecRef(cpy_r_r14); + goto CPyL56; +CPyL61: ; + CPy_DECREF_NO_IMM(cpy_r_r14); + goto CPyL17; +CPyL62: ; + CPy_DecRef(cpy_r_r14); + CPy_DecRef(cpy_r_r17); + goto CPyL56; +CPyL63: ; + CPy_DecRef(cpy_r_r36); + goto CPyL56; +CPyL64: ; + CPy_DECREF(cpy_r_r41); + goto CPyL28; +CPyL65: ; + CPy_DecRef(cpy_r_r36); + CPy_DecRef(cpy_r_r41); + goto CPyL56; +CPyL66: ; + CPy_DecRef(cpy_r_r36); + CPy_DecRef(cpy_r_r41); + CPy_DecRef(cpy_r_r44); + goto CPyL56; +CPyL67: ; + CPy_DecRef(cpy_r_r36); + CPy_DecRef(cpy_r_r51); + goto CPyL56; +CPyL68: ; + CPy_DecRef(cpy_r_r55); + goto CPyL56; +CPyL69: ; + CPy_DECREF(cpy_r_r57); + goto CPyL39; +CPyL70: ; + CPy_DecRef(cpy_r_r55); + CPy_DecRef(cpy_r_r57); + goto CPyL56; +CPyL71: ; + CPy_DecRef(cpy_r_r77); + goto CPyL56; +CPyL72: ; + CPy_DecRef(cpy_r_r77); + CPy_DecRef(cpy_r_r78); + goto CPyL56; +CPyL73: ; + CPy_DECREF(cpy_r_r79); + goto CPyL51; +CPyL74: ; + CPy_DecRef(cpy_r_r77); + CPy_DecRef(cpy_r_r78); + CPy_DecRef(cpy_r_r79); + goto CPyL56; +CPyL75: ; + CPy_DecRef(cpy_r_r86); + goto CPyL56; +} + +PyObject *CPyPy_hashing___AttributeDict___recursive(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_cls = self; + static const char * const kwlist[] = {"value", 0}; + static CPyArg_Parser parser = {"O:recursive", kwlist, 0}; + PyObject *obj_value; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_value)) { + return NULL; + } + PyObject *arg_cls = obj_cls; + PyObject *arg_value = obj_value; + PyObject *retval = CPyDef_hashing___AttributeDict___recursive(arg_cls, arg_value); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "recursive", 102, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing___AttributeDict___keys(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = ((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___dict__; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\hashing.py", "keys", "AttributeDict", "__dict__", 120, CPyStatic_hashing___globals); + goto CPyL3; + } + CPy_INCREF(cpy_r_r0); +CPyL1: ; + cpy_r_r1 = CPyDict_KeysView(cpy_r_r0); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "keys", 120, CPyStatic_hashing___globals); + goto CPyL3; + } + return cpy_r_r1; +CPyL3: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_hashing___AttributeDict___keys(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":keys", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_hashing___AttributeDict)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_self); + goto fail; + } + PyObject *retval = CPyDef_hashing___AttributeDict___keys(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "keys", 119, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing___AttributeDict___values(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = ((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___dict__; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\hashing.py", "values", "AttributeDict", "__dict__", 123, CPyStatic_hashing___globals); + goto CPyL3; + } + CPy_INCREF(cpy_r_r0); +CPyL1: ; + cpy_r_r1 = CPyDict_ValuesView(cpy_r_r0); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "values", 123, CPyStatic_hashing___globals); + goto CPyL3; + } + return cpy_r_r1; +CPyL3: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_hashing___AttributeDict___values(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":values", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_hashing___AttributeDict)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_self); + goto fail; + } + PyObject *retval = CPyDef_hashing___AttributeDict___values(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "values", 122, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing___AttributeDict___items(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = ((dank_mids___helpers___hashing___AttributeDictObject *)cpy_r_self)->___dict__; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\hashing.py", "items", "AttributeDict", "__dict__", 126, CPyStatic_hashing___globals); + goto CPyL3; + } + CPy_INCREF(cpy_r_r0); +CPyL1: ; + cpy_r_r1 = CPyDict_ItemsView(cpy_r_r0); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "items", 126, CPyStatic_hashing___globals); + goto CPyL3; + } + return cpy_r_r1; +CPyL3: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_hashing___AttributeDict___items(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":items", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_hashing___AttributeDict)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_self); + goto fail; + } + PyObject *retval = CPyDef_hashing___AttributeDict___items(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "items", 125, CPyStatic_hashing___globals); + return NULL; +} + +char CPyDef_hashing___AttributeDict_____ne__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_rhs) { + char cpy_r_r0; + char cpy_r_r1; + char cpy_r_r2; + cpy_r_r0 = CPyDef_hashing___AttributeDict_____eq__(cpy_r___mypyc_self__, cpy_r_rhs); + if (cpy_r_r0 == 2) goto CPyL2; + cpy_r_r1 = cpy_r_r0 ^ 1; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = 2; + return cpy_r_r2; +} + +PyObject *CPyPy_hashing___AttributeDict_____ne__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"rhs", 0}; + static CPyArg_Parser parser = {"O:__ne__", kwlist, 0}; + PyObject *obj_rhs; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_rhs)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_hashing___AttributeDict)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj___mypyc_self__); + goto fail; + } + PyObject *arg_rhs; + if (likely(Py_TYPE(obj_rhs) == CPyType_hashing___AttributeDict)) + arg_rhs = obj_rhs; + else { + CPy_TypeError("dank_mids.helpers.hashing.AttributeDict", obj_rhs); + goto fail; + } + char retval = CPyDef_hashing___AttributeDict_____ne__(arg___mypyc_self__, arg_rhs); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__ne__", -1, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing___tupleize_lists_nested(PyObject *cpy_r_d) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject **cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + tuple_T2OO cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + tuple_T2OO cpy_r_r12; + PyObject *cpy_r_r13; + int32_t cpy_r_r14; + char cpy_r_r15; + char cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + int32_t cpy_r_r19; + char cpy_r_r20; + char cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + int32_t cpy_r_r25; + char cpy_r_r26; + char cpy_r_r27; + PyObject *cpy_r_r28; + int32_t cpy_r_r29; + char cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + int32_t cpy_r_r34; + char cpy_r_r35; + char cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject **cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject **cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + CPyPtr cpy_r_r55; + CPyPtr cpy_r_r56; + CPyPtr cpy_r_r57; + CPyPtr cpy_r_r58; + CPyPtr cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject **cpy_r_r65; + PyObject *cpy_r_r66; + int32_t cpy_r_r67; + char cpy_r_r68; + char cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + cpy_r_r0 = PyDict_New(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 136, CPyStatic_hashing___globals); + goto CPyL33; + } + cpy_r_r1 = CPyStatics[240]; /* 'items' */ + PyObject *cpy_r_r2[1] = {cpy_r_d}; + cpy_r_r3 = (PyObject **)&cpy_r_r2; + cpy_r_r4 = PyObject_VectorcallMethod(cpy_r_r1, cpy_r_r3, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 137, CPyStatic_hashing___globals); + goto CPyL34; + } + cpy_r_r5 = PyObject_GetIter(cpy_r_r4); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 137, CPyStatic_hashing___globals); + goto CPyL34; + } +CPyL3: ; + cpy_r_r6 = PyIter_Next(cpy_r_r5); + if (cpy_r_r6 == NULL) goto CPyL35; + PyObject *__tmp302; + if (unlikely(!(PyTuple_Check(cpy_r_r6) && PyTuple_GET_SIZE(cpy_r_r6) == 2))) { + __tmp302 = NULL; + goto __LL303; + } + __tmp302 = PyTuple_GET_ITEM(cpy_r_r6, 0); + if (__tmp302 == NULL) goto __LL303; + __tmp302 = PyTuple_GET_ITEM(cpy_r_r6, 1); + if (__tmp302 == NULL) goto __LL303; + __tmp302 = cpy_r_r6; +__LL303: ; + if (unlikely(__tmp302 == NULL)) { + CPy_TypeError("tuple[object, object]", cpy_r_r6); cpy_r_r7 = (tuple_T2OO) { NULL, NULL }; + } else { + PyObject *__tmp304 = PyTuple_GET_ITEM(cpy_r_r6, 0); + CPy_INCREF(__tmp304); + PyObject *__tmp305; + __tmp305 = __tmp304; + cpy_r_r7.f0 = __tmp305; + PyObject *__tmp306 = PyTuple_GET_ITEM(cpy_r_r6, 1); + CPy_INCREF(__tmp306); + PyObject *__tmp307; + __tmp307 = __tmp306; + cpy_r_r7.f1 = __tmp307; + } + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r7.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 137, CPyStatic_hashing___globals); + goto CPyL36; + } + cpy_r_r8 = cpy_r_r7.f0; + CPy_INCREF(cpy_r_r8); + cpy_r_r9 = cpy_r_r7.f1; + CPy_INCREF(cpy_r_r9); + CPy_DECREF(cpy_r_r7.f0); + CPy_DECREF(cpy_r_r7.f1); + cpy_r_r10 = (PyObject *)&PyList_Type; + cpy_r_r11 = (PyObject *)&PyTuple_Type; + CPy_INCREF(cpy_r_r10); + CPy_INCREF(cpy_r_r11); + cpy_r_r12.f0 = cpy_r_r10; + cpy_r_r12.f1 = cpy_r_r11; + cpy_r_r13 = PyTuple_New(2); + if (unlikely(cpy_r_r13 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp308 = cpy_r_r12.f0; + PyTuple_SET_ITEM(cpy_r_r13, 0, __tmp308); + PyObject *__tmp309 = cpy_r_r12.f1; + PyTuple_SET_ITEM(cpy_r_r13, 1, __tmp309); + cpy_r_r14 = PyObject_IsInstance(cpy_r_r9, cpy_r_r13); + CPy_DECREF(cpy_r_r13); + cpy_r_r15 = cpy_r_r14 >= 0; + if (unlikely(!cpy_r_r15)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 138, CPyStatic_hashing___globals); + goto CPyL37; + } + cpy_r_r16 = cpy_r_r14; + if (!cpy_r_r16) goto CPyL10; + if (PyList_Check(cpy_r_r9)) + cpy_r_r17 = cpy_r_r9; + else { + cpy_r_r17 = NULL; + } + if (cpy_r_r17 != NULL) goto __LL310; + if (PyTuple_Check(cpy_r_r9)) + cpy_r_r17 = cpy_r_r9; + else { + cpy_r_r17 = NULL; + } + if (cpy_r_r17 != NULL) goto __LL310; + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 139, CPyStatic_hashing___globals, "union[list, tuple]", cpy_r_r9); + goto CPyL38; +__LL310: ; + cpy_r_r18 = CPyDef_hashing____to_tuple(cpy_r_r17); + CPy_DECREF(cpy_r_r17); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 139, CPyStatic_hashing___globals); + goto CPyL38; + } + cpy_r_r19 = CPyDict_SetItem(cpy_r_r0, cpy_r_r8, cpy_r_r18); + CPy_DECREF(cpy_r_r8); + CPy_DECREF(cpy_r_r18); + cpy_r_r20 = cpy_r_r19 >= 0; + if (unlikely(!cpy_r_r20)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 139, CPyStatic_hashing___globals); + goto CPyL36; + } else + goto CPyL3; +CPyL10: ; + cpy_r_r21 = PyDict_Check(cpy_r_r9); + if (cpy_r_r21) goto CPyL14; + cpy_r_r22 = CPyStatic_hashing___globals; + cpy_r_r23 = CPyStatics[264]; /* 'Mapping' */ + cpy_r_r24 = CPyDict_GetItem(cpy_r_r22, cpy_r_r23); + if (unlikely(cpy_r_r24 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 140, CPyStatic_hashing___globals); + goto CPyL37; + } + cpy_r_r25 = PyObject_IsInstance(cpy_r_r9, cpy_r_r24); + CPy_DECREF(cpy_r_r24); + cpy_r_r26 = cpy_r_r25 >= 0; + if (unlikely(!cpy_r_r26)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 140, CPyStatic_hashing___globals); + goto CPyL37; + } + cpy_r_r27 = cpy_r_r25; + if (!cpy_r_r27) goto CPyL16; +CPyL14: ; + cpy_r_r28 = CPyDef_hashing___tupleize_lists_nested(cpy_r_r9); + CPy_DECREF(cpy_r_r9); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 141, CPyStatic_hashing___globals); + goto CPyL38; + } + cpy_r_r29 = CPyDict_SetItem(cpy_r_r0, cpy_r_r8, cpy_r_r28); + CPy_DECREF(cpy_r_r8); + CPy_DECREF_NO_IMM(cpy_r_r28); + cpy_r_r30 = cpy_r_r29 >= 0; + if (unlikely(!cpy_r_r30)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 141, CPyStatic_hashing___globals); + goto CPyL36; + } else + goto CPyL3; +CPyL16: ; + cpy_r_r31 = CPyStatic_hashing___globals; + cpy_r_r32 = CPyStatics[657]; /* 'Hashable' */ + cpy_r_r33 = CPyDict_GetItem(cpy_r_r31, cpy_r_r32); + if (unlikely(cpy_r_r33 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 142, CPyStatic_hashing___globals); + goto CPyL37; + } + cpy_r_r34 = PyObject_IsInstance(cpy_r_r9, cpy_r_r33); + CPy_DECREF(cpy_r_r33); + cpy_r_r35 = cpy_r_r34 >= 0; + if (unlikely(!cpy_r_r35)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 142, CPyStatic_hashing___globals); + goto CPyL37; + } + cpy_r_r36 = cpy_r_r34; + if (cpy_r_r36) { + goto CPyL28; + } else + goto CPyL39; +CPyL19: ; + cpy_r_r37 = CPyStatics[126]; /* '' */ + cpy_r_r38 = CPyStatics[658]; /* "Found unhashable type '" */ + cpy_r_r39 = CPyStatics[128]; /* '{:{}}' */ + cpy_r_r40 = CPy_TYPE(cpy_r_r9); + cpy_r_r41 = CPy_GetName(cpy_r_r40); + CPy_DECREF(cpy_r_r40); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 143, CPyStatic_hashing___globals); + goto CPyL40; + } + cpy_r_r42 = CPyStatics[126]; /* '' */ + cpy_r_r43 = CPyStatics[129]; /* 'format' */ + PyObject *cpy_r_r44[3] = {cpy_r_r39, cpy_r_r41, cpy_r_r42}; + cpy_r_r45 = (PyObject **)&cpy_r_r44; + cpy_r_r46 = PyObject_VectorcallMethod(cpy_r_r43, cpy_r_r45, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r46 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 143, CPyStatic_hashing___globals); + goto CPyL41; + } + CPy_DECREF(cpy_r_r41); + cpy_r_r47 = CPyStatics[659]; /* "': " */ + cpy_r_r48 = CPyStatics[128]; /* '{:{}}' */ + cpy_r_r49 = CPyStatics[126]; /* '' */ + cpy_r_r50 = CPyStatics[129]; /* 'format' */ + PyObject *cpy_r_r51[3] = {cpy_r_r48, cpy_r_r9, cpy_r_r49}; + cpy_r_r52 = (PyObject **)&cpy_r_r51; + cpy_r_r53 = PyObject_VectorcallMethod(cpy_r_r50, cpy_r_r52, 9223372036854775811ULL, 0); + if (unlikely(cpy_r_r53 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 143, CPyStatic_hashing___globals); + goto CPyL42; + } + CPy_DECREF(cpy_r_r9); + cpy_r_r54 = PyList_New(4); + if (unlikely(cpy_r_r54 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 143, CPyStatic_hashing___globals); + goto CPyL43; + } + cpy_r_r55 = (CPyPtr)&((PyListObject *)cpy_r_r54)->ob_item; + cpy_r_r56 = *(CPyPtr *)cpy_r_r55; + CPy_INCREF(cpy_r_r38); + *(PyObject * *)cpy_r_r56 = cpy_r_r38; + cpy_r_r57 = cpy_r_r56 + 8; + *(PyObject * *)cpy_r_r57 = cpy_r_r46; + CPy_INCREF(cpy_r_r47); + cpy_r_r58 = cpy_r_r56 + 16; + *(PyObject * *)cpy_r_r58 = cpy_r_r47; + cpy_r_r59 = cpy_r_r56 + 24; + *(PyObject * *)cpy_r_r59 = cpy_r_r53; + cpy_r_r60 = PyUnicode_Join(cpy_r_r37, cpy_r_r54); + CPy_DECREF_NO_IMM(cpy_r_r54); + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 143, CPyStatic_hashing___globals); + goto CPyL33; + } + cpy_r_r61 = CPyModule_builtins; + cpy_r_r62 = CPyStatics[120]; /* 'TypeError' */ + cpy_r_r63 = CPyObject_GetAttr(cpy_r_r61, cpy_r_r62); + if (unlikely(cpy_r_r63 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 143, CPyStatic_hashing___globals); + goto CPyL44; + } + PyObject *cpy_r_r64[1] = {cpy_r_r60}; + cpy_r_r65 = (PyObject **)&cpy_r_r64; + cpy_r_r66 = PyObject_Vectorcall(cpy_r_r63, cpy_r_r65, 1, 0); + CPy_DECREF(cpy_r_r63); + if (unlikely(cpy_r_r66 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 143, CPyStatic_hashing___globals); + goto CPyL44; + } + CPy_DECREF(cpy_r_r60); + CPy_Raise(cpy_r_r66); + CPy_DECREF(cpy_r_r66); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 143, CPyStatic_hashing___globals); + goto CPyL33; + } + CPy_Unreachable(); +CPyL28: ; + cpy_r_r67 = CPyDict_SetItem(cpy_r_r0, cpy_r_r8, cpy_r_r9); + CPy_DECREF(cpy_r_r8); + CPy_DECREF(cpy_r_r9); + cpy_r_r68 = cpy_r_r67 >= 0; + if (unlikely(!cpy_r_r68)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 145, CPyStatic_hashing___globals); + goto CPyL36; + } else + goto CPyL3; +CPyL29: ; + cpy_r_r69 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r69)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 137, CPyStatic_hashing___globals); + goto CPyL34; + } + cpy_r_r70 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_r71 = PyDict_New(); + if (unlikely(cpy_r_r71 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 146, CPyStatic_hashing___globals); + goto CPyL45; + } + cpy_r_r72 = CPyDef_hashing___AttributeDict(cpy_r_r0, cpy_r_r70, cpy_r_r71); + CPy_DECREF(cpy_r_r0); + CPy_DECREF(cpy_r_r70); + CPy_DECREF(cpy_r_r71); + if (unlikely(cpy_r_r72 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 146, CPyStatic_hashing___globals); + goto CPyL33; + } + return cpy_r_r72; +CPyL33: ; + cpy_r_r73 = NULL; + return cpy_r_r73; +CPyL34: ; + CPy_DecRef(cpy_r_r0); + goto CPyL33; +CPyL35: ; + CPy_DECREF(cpy_r_r5); + goto CPyL29; +CPyL36: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r5); + goto CPyL33; +CPyL37: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_r8); + CPy_DecRef(cpy_r_r9); + goto CPyL33; +CPyL38: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r5); + CPy_DecRef(cpy_r_r8); + goto CPyL33; +CPyL39: ; + CPy_DECREF(cpy_r_r0); + CPy_DECREF(cpy_r_r5); + CPy_DECREF(cpy_r_r8); + goto CPyL19; +CPyL40: ; + CPy_DecRef(cpy_r_r9); + goto CPyL33; +CPyL41: ; + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r41); + goto CPyL33; +CPyL42: ; + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r46); + goto CPyL33; +CPyL43: ; + CPy_DecRef(cpy_r_r46); + CPy_DecRef(cpy_r_r53); + goto CPyL33; +CPyL44: ; + CPy_DecRef(cpy_r_r60); + goto CPyL33; +CPyL45: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r70); + goto CPyL33; +} + +PyObject *CPyPy_hashing___tupleize_lists_nested(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"d", 0}; + static CPyArg_Parser parser = {"O:tupleize_lists_nested", kwlist, 0}; + PyObject *obj_d; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_d)) { + return NULL; + } + PyObject *arg_d = obj_d; + PyObject *retval = CPyDef_hashing___tupleize_lists_nested(arg_d); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "tupleize_lists_nested", 129, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing_____mypyc_singledispatch_main_function__to_tuple__(PyObject *cpy_r_value) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + tuple_T2OO cpy_r_r5; + PyObject *cpy_r_r6; + int32_t cpy_r_r7; + char cpy_r_r8; + char cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + int32_t cpy_r_r13; + char cpy_r_r14; + char cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + cpy_r_r0 = PyList_New(0); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 151, CPyStatic_hashing___globals); + goto CPyL13; + } + cpy_r_r1 = PyObject_GetIter(cpy_r_value); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 151, CPyStatic_hashing___globals); + goto CPyL14; + } +CPyL2: ; + cpy_r_r2 = PyIter_Next(cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL15; + cpy_r_r3 = (PyObject *)&PyList_Type; + cpy_r_r4 = (PyObject *)&PyTuple_Type; + CPy_INCREF(cpy_r_r3); + CPy_INCREF(cpy_r_r4); + cpy_r_r5.f0 = cpy_r_r3; + cpy_r_r5.f1 = cpy_r_r4; + cpy_r_r6 = PyTuple_New(2); + if (unlikely(cpy_r_r6 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp311 = cpy_r_r5.f0; + PyTuple_SET_ITEM(cpy_r_r6, 0, __tmp311); + PyObject *__tmp312 = cpy_r_r5.f1; + PyTuple_SET_ITEM(cpy_r_r6, 1, __tmp312); + cpy_r_r7 = PyObject_IsInstance(cpy_r_r2, cpy_r_r6); + CPy_DECREF(cpy_r_r6); + cpy_r_r8 = cpy_r_r7 >= 0; + if (unlikely(!cpy_r_r8)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 151, CPyStatic_hashing___globals); + goto CPyL16; + } + cpy_r_r9 = cpy_r_r7; + if (!cpy_r_r9) goto CPyL8; + if (PyList_Check(cpy_r_r2)) + cpy_r_r10 = cpy_r_r2; + else { + cpy_r_r10 = NULL; + } + if (cpy_r_r10 != NULL) goto __LL313; + if (PyTuple_Check(cpy_r_r2)) + cpy_r_r10 = cpy_r_r2; + else { + cpy_r_r10 = NULL; + } + if (cpy_r_r10 != NULL) goto __LL313; + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 151, CPyStatic_hashing___globals, "union[list, tuple]", cpy_r_r2); + goto CPyL17; +__LL313: ; + cpy_r_r11 = CPyDef_hashing____to_tuple(cpy_r_r10); + CPy_DECREF(cpy_r_r10); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 151, CPyStatic_hashing___globals); + goto CPyL17; + } + cpy_r_r12 = cpy_r_r11; + goto CPyL9; +CPyL8: ; + cpy_r_r12 = cpy_r_r2; +CPyL9: ; + cpy_r_r13 = PyList_Append(cpy_r_r0, cpy_r_r12); + CPy_DECREF(cpy_r_r12); + cpy_r_r14 = cpy_r_r13 >= 0; + if (unlikely(!cpy_r_r14)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 151, CPyStatic_hashing___globals); + goto CPyL17; + } else + goto CPyL2; +CPyL10: ; + cpy_r_r15 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r15)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 151, CPyStatic_hashing___globals); + goto CPyL14; + } + cpy_r_r16 = PyList_AsTuple(cpy_r_r0); + CPy_DECREF_NO_IMM(cpy_r_r0); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 151, CPyStatic_hashing___globals); + goto CPyL13; + } + return cpy_r_r16; +CPyL13: ; + cpy_r_r17 = NULL; + return cpy_r_r17; +CPyL14: ; + CPy_DecRef(cpy_r_r0); + goto CPyL13; +CPyL15: ; + CPy_DECREF(cpy_r_r1); + goto CPyL10; +CPyL16: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r2); + goto CPyL13; +CPyL17: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r1); + goto CPyL13; +} + +PyObject *CPyPy_hashing_____mypyc_singledispatch_main_function__to_tuple__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"value", 0}; + static CPyArg_Parser parser = {"O:__mypyc_singledispatch_main_function__to_tuple__", kwlist, 0}; + PyObject *obj_value; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_value)) { + return NULL; + } + PyObject *arg_value; + if (PyList_Check(obj_value)) + arg_value = obj_value; + else { + arg_value = NULL; + } + if (arg_value != NULL) goto __LL314; + if (PyTuple_Check(obj_value)) + arg_value = obj_value; + else { + arg_value = NULL; + } + if (arg_value != NULL) goto __LL314; + CPy_TypeError("union[list, tuple]", obj_value); + goto fail; +__LL314: ; + PyObject *retval = CPyDef_hashing_____mypyc_singledispatch_main_function__to_tuple__(arg_value); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 150, CPyStatic_hashing___globals); + return NULL; +} + +char CPyDef_hashing____to_tuple_obj_____init__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + int32_t cpy_r_r3; + char cpy_r_r4; + char cpy_r_r5; + cpy_r_r0 = PyDict_New(); + if (cpy_r_r0 == NULL) goto CPyL4; + ((dank_mids___helpers___hashing____to_tuple_objObject *)cpy_r___mypyc_self__)->_registry = cpy_r_r0; + cpy_r_r1 = PyDict_New(); + if (cpy_r_r1 == NULL) goto CPyL4; + cpy_r_r2 = CPyStatics[660]; /* 'dispatch_cache' */ + cpy_r_r3 = PyObject_SetAttr(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r1); + CPy_DECREF(cpy_r_r1); + cpy_r_r4 = cpy_r_r3 >= 0; + if (!cpy_r_r4) goto CPyL4; + return 1; +CPyL4: ; + cpy_r_r5 = 2; + return cpy_r_r5; +} + +PyObject *CPyPy_hashing____to_tuple_obj_____init__(PyObject *self, PyObject *args, PyObject *kw) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + if (!CPyArg_ParseTupleAndKeywords(args, kw, "", "__init__", kwlist)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_hashing____to_tuple_obj)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers.hashing._to_tuple_obj", obj___mypyc_self__); + goto fail; + } + char retval = CPyDef_hashing____to_tuple_obj_____init__(arg___mypyc_self__); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__init__", -1, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing____to_tuple_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_value) { + CPyPtr cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject **cpy_r_r12; + PyObject *cpy_r_r13; + int32_t cpy_r_r14; + char cpy_r_r15; + PyObject *cpy_r_r16; + CPyPtr cpy_r_r17; + PyObject *cpy_r_r18; + char cpy_r_r19; + CPyTagged cpy_r_r20; + char cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + char cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject **cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + cpy_r_r0 = (CPyPtr)&((PyObject *)cpy_r_value)->ob_type; + cpy_r_r1 = *(PyObject * *)cpy_r_r0; + cpy_r_r2 = ((dank_mids___helpers___hashing____to_tuple_objObject *)cpy_r___mypyc_self__)->_dispatch_cache; + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\hashing.py", "_to_tuple", "_to_tuple_obj", "dispatch_cache", 150, CPyStatic_hashing___globals); + goto CPyL21; + } + CPy_INCREF(cpy_r_r2); +CPyL1: ; + cpy_r_r3 = CPyDict_GetWithNone(cpy_r_r2, cpy_r_r1); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 150, CPyStatic_hashing___globals); + goto CPyL22; + } + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = cpy_r_r3 != cpy_r_r4; + if (cpy_r_r5) { + goto CPyL23; + } else + goto CPyL24; +CPyL3: ; + cpy_r_r6 = cpy_r_r3; + goto CPyL8; +CPyL4: ; + cpy_r_r7 = CPyModule_functools; + cpy_r_r8 = CPyStatics[661]; /* '_find_impl' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 150, CPyStatic_hashing___globals); + goto CPyL22; + } + cpy_r_r10 = ((dank_mids___helpers___hashing____to_tuple_objObject *)cpy_r___mypyc_self__)->_registry; + CPy_INCREF(cpy_r_r10); + PyObject *cpy_r_r11[2] = {cpy_r_r1, cpy_r_r10}; + cpy_r_r12 = (PyObject **)&cpy_r_r11; + cpy_r_r13 = PyObject_Vectorcall(cpy_r_r9, cpy_r_r12, 2, 0); + CPy_DECREF(cpy_r_r9); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 150, CPyStatic_hashing___globals); + goto CPyL25; + } + CPy_DECREF(cpy_r_r10); + cpy_r_r14 = PyDict_SetItem(cpy_r_r2, cpy_r_r1, cpy_r_r13); + CPy_DECREF(cpy_r_r2); + cpy_r_r15 = cpy_r_r14 >= 0; + if (unlikely(!cpy_r_r15)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 150, CPyStatic_hashing___globals); + goto CPyL26; + } + cpy_r_r6 = cpy_r_r13; +CPyL8: ; + cpy_r_r16 = (PyObject *)&PyLong_Type; + cpy_r_r17 = (CPyPtr)&((PyObject *)cpy_r_r6)->ob_type; + cpy_r_r18 = *(PyObject * *)cpy_r_r17; + cpy_r_r19 = cpy_r_r18 == cpy_r_r16; + if (!cpy_r_r19) goto CPyL19; + if (likely(PyLong_Check(cpy_r_r6))) + cpy_r_r20 = CPyTagged_FromObject(cpy_r_r6); + else { + CPy_TypeError("int", cpy_r_r6); cpy_r_r20 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r20 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 150, CPyStatic_hashing___globals); + goto CPyL21; + } + cpy_r_r21 = cpy_r_r20 == 0; + if (cpy_r_r21) { + goto CPyL27; + } else + goto CPyL14; +CPyL11: ; + CPy_INCREF(cpy_r_value); + if (likely(PyList_Check(cpy_r_value))) + cpy_r_r22 = cpy_r_value; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 150, CPyStatic_hashing___globals, "list", cpy_r_value); + goto CPyL21; + } + cpy_r_r23 = CPyDef_hashing_______155(cpy_r_r22); + CPy_DECREF_NO_IMM(cpy_r_r22); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 150, CPyStatic_hashing___globals); + goto CPyL21; + } + return cpy_r_r23; +CPyL14: ; + cpy_r_r24 = cpy_r_r20 == 2; + CPyTagged_DECREF(cpy_r_r20); + if (!cpy_r_r24) goto CPyL18; + CPy_INCREF(cpy_r_value); + if (likely(PyTuple_Check(cpy_r_value))) + cpy_r_r25 = cpy_r_value; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 150, CPyStatic_hashing___globals, "tuple", cpy_r_value); + goto CPyL21; + } + cpy_r_r26 = CPyDef_hashing_______160(cpy_r_r25); + CPy_DECREF(cpy_r_r25); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 150, CPyStatic_hashing___globals); + goto CPyL21; + } + return cpy_r_r26; +CPyL18: ; + CPy_Unreachable(); +CPyL19: ; + PyObject *cpy_r_r27[1] = {cpy_r_value}; + cpy_r_r28 = (PyObject **)&cpy_r_r27; + cpy_r_r29 = PyObject_Vectorcall(cpy_r_r6, cpy_r_r28, 1, 0); + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r29 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 150, CPyStatic_hashing___globals); + goto CPyL21; + } + return cpy_r_r29; +CPyL21: ; + cpy_r_r30 = NULL; + return cpy_r_r30; +CPyL22: ; + CPy_DecRef(cpy_r_r2); + goto CPyL21; +CPyL23: ; + CPy_DECREF(cpy_r_r2); + goto CPyL3; +CPyL24: ; + CPy_DECREF(cpy_r_r3); + goto CPyL4; +CPyL25: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r10); + goto CPyL21; +CPyL26: ; + CPy_DecRef(cpy_r_r13); + goto CPyL21; +CPyL27: ; + CPyTagged_DECREF(cpy_r_r20); + goto CPyL11; +} + +PyObject *CPyPy_hashing____to_tuple_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"value", 0}; + static CPyArg_Parser parser = {"O:__call__", kwlist, 0}; + PyObject *obj_value; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, PyVectorcall_NARGS(nargs), kwnames, &parser, &obj_value)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_value; + if (PyList_Check(obj_value)) + arg_value = obj_value; + else { + arg_value = NULL; + } + if (arg_value != NULL) goto __LL315; + if (PyTuple_Check(obj_value)) + arg_value = obj_value; + else { + arg_value = NULL; + } + if (arg_value != NULL) goto __LL315; + CPy_TypeError("union[list, tuple]", obj_value); + goto fail; +__LL315: ; + PyObject *retval = CPyDef_hashing____to_tuple_obj_____call__(arg___mypyc_self__, arg_value); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", 150, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing____to_tuple_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy_hashing____to_tuple_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef_hashing____to_tuple_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "__get__", -1, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing____to_tuple_obj___register(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_cls, PyObject *cpy_r_func) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + cpy_r_r0 = CPySingledispatch_RegisterFunction(cpy_r___mypyc_self__, cpy_r_cls, cpy_r_func); + if (cpy_r_r0 == NULL) goto CPyL2; + return cpy_r_r0; +CPyL2: ; + cpy_r_r1 = NULL; + return cpy_r_r1; +} + +PyObject *CPyPy_hashing____to_tuple_obj___register(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"cls", "func", 0}; + static CPyArg_Parser parser = {"O|O:register", kwlist, 0}; + PyObject *obj_cls; + PyObject *obj_func = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_cls, &obj_func)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_hashing____to_tuple_obj)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.helpers.hashing._to_tuple_obj", obj___mypyc_self__); + goto fail; + } + PyObject *arg_cls = obj_cls; + PyObject *arg_func; + if (obj_func == NULL) { + arg_func = NULL; + } else { + arg_func = obj_func; + } + PyObject *retval = CPyDef_hashing____to_tuple_obj___register(arg___mypyc_self__, arg_cls, arg_func); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "register", -1, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing____to_tuple(PyObject *cpy_r_value) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + cpy_r_r0 = CPyStatic_hashing___globals; + cpy_r_r1 = CPyStatics[662]; /* '_to_tuple' */ + cpy_r_r2 = CPyDict_GetItem(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = CPyDef_hashing____to_tuple_obj_____call__(cpy_r_r2, cpy_r_value); + CPy_DECREF(cpy_r_r2); + if (cpy_r_r3 == NULL) goto CPyL3; + return cpy_r_r3; +CPyL3: ; + cpy_r_r4 = NULL; + return cpy_r_r4; +} + +PyObject *CPyPy_hashing____to_tuple(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"value", 0}; + static CPyArg_Parser parser = {"O:_to_tuple", kwlist, 0}; + PyObject *obj_value; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_value)) { + return NULL; + } + PyObject *arg_value; + if (PyList_Check(obj_value)) + arg_value = obj_value; + else { + arg_value = NULL; + } + if (arg_value != NULL) goto __LL316; + if (PyTuple_Check(obj_value)) + arg_value = obj_value; + else { + arg_value = NULL; + } + if (arg_value != NULL) goto __LL316; + CPy_TypeError("union[list, tuple]", obj_value); + goto fail; +__LL316: ; + PyObject *retval = CPyDef_hashing____to_tuple(arg_value); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_to_tuple", -1, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing_______155(PyObject *cpy_r_value) { + CPyPtr cpy_r_r0; + int64_t cpy_r_r1; + PyObject *cpy_r_r2; + int64_t cpy_r_r3; + CPyPtr cpy_r_r4; + int64_t cpy_r_r5; + char cpy_r_r6; + CPyPtr cpy_r_r7; + CPyPtr cpy_r_r8; + int64_t cpy_r_r9; + CPyPtr cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + tuple_T2OO cpy_r_r14; + PyObject *cpy_r_r15; + int32_t cpy_r_r16; + char cpy_r_r17; + char cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + int64_t cpy_r_r22; + PyObject *cpy_r_r23; + cpy_r_r0 = (CPyPtr)&((PyVarObject *)cpy_r_value)->ob_size; + cpy_r_r1 = *(int64_t *)cpy_r_r0; + cpy_r_r2 = PyTuple_New(cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_", 156, CPyStatic_hashing___globals); + goto CPyL12; + } + cpy_r_r3 = 0; +CPyL2: ; + cpy_r_r4 = (CPyPtr)&((PyVarObject *)cpy_r_value)->ob_size; + cpy_r_r5 = *(int64_t *)cpy_r_r4; + cpy_r_r6 = cpy_r_r3 < cpy_r_r5; + if (!cpy_r_r6) goto CPyL11; + cpy_r_r7 = (CPyPtr)&((PyListObject *)cpy_r_value)->ob_item; + cpy_r_r8 = *(CPyPtr *)cpy_r_r7; + cpy_r_r9 = cpy_r_r3 * 8; + cpy_r_r10 = cpy_r_r8 + cpy_r_r9; + cpy_r_r11 = *(PyObject * *)cpy_r_r10; + CPy_INCREF(cpy_r_r11); + cpy_r_r12 = (PyObject *)&PyList_Type; + cpy_r_r13 = (PyObject *)&PyTuple_Type; + CPy_INCREF(cpy_r_r12); + CPy_INCREF(cpy_r_r13); + cpy_r_r14.f0 = cpy_r_r12; + cpy_r_r14.f1 = cpy_r_r13; + cpy_r_r15 = PyTuple_New(2); + if (unlikely(cpy_r_r15 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp317 = cpy_r_r14.f0; + PyTuple_SET_ITEM(cpy_r_r15, 0, __tmp317); + PyObject *__tmp318 = cpy_r_r14.f1; + PyTuple_SET_ITEM(cpy_r_r15, 1, __tmp318); + cpy_r_r16 = PyObject_IsInstance(cpy_r_r11, cpy_r_r15); + CPy_DECREF(cpy_r_r15); + cpy_r_r17 = cpy_r_r16 >= 0; + if (unlikely(!cpy_r_r17)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_", 156, CPyStatic_hashing___globals); + goto CPyL13; + } + cpy_r_r18 = cpy_r_r16; + if (!cpy_r_r18) goto CPyL8; + if (PyList_Check(cpy_r_r11)) + cpy_r_r19 = cpy_r_r11; + else { + cpy_r_r19 = NULL; + } + if (cpy_r_r19 != NULL) goto __LL319; + if (PyTuple_Check(cpy_r_r11)) + cpy_r_r19 = cpy_r_r11; + else { + cpy_r_r19 = NULL; + } + if (cpy_r_r19 != NULL) goto __LL319; + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "_", 156, CPyStatic_hashing___globals, "union[list, tuple]", cpy_r_r11); + goto CPyL14; +__LL319: ; + cpy_r_r20 = CPyDef_hashing____to_tuple(cpy_r_r19); + CPy_DECREF(cpy_r_r19); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_", 156, CPyStatic_hashing___globals); + goto CPyL14; + } + cpy_r_r21 = cpy_r_r20; + goto CPyL9; +CPyL8: ; + cpy_r_r21 = cpy_r_r11; +CPyL9: ; + CPySequenceTuple_SetItemUnsafe(cpy_r_r2, cpy_r_r3, cpy_r_r21); + cpy_r_r22 = cpy_r_r3 + 1; + cpy_r_r3 = cpy_r_r22; + goto CPyL2; +CPyL11: ; + return cpy_r_r2; +CPyL12: ; + cpy_r_r23 = NULL; + return cpy_r_r23; +CPyL13: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r11); + goto CPyL12; +CPyL14: ; + CPy_DecRef(cpy_r_r2); + goto CPyL12; +} + +PyObject *CPyPy_hashing_______155(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"value", 0}; + static CPyArg_Parser parser = {"O:_", kwlist, 0}; + PyObject *obj_value; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_value)) { + return NULL; + } + PyObject *arg_value; + if (likely(PyList_Check(obj_value))) + arg_value = obj_value; + else { + CPy_TypeError("list", obj_value); + goto fail; + } + PyObject *retval = CPyDef_hashing_______155(arg_value); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_", 155, CPyStatic_hashing___globals); + return NULL; +} + +PyObject *CPyDef_hashing_______160(PyObject *cpy_r_value) { + CPyPtr cpy_r_r0; + int64_t cpy_r_r1; + PyObject *cpy_r_r2; + CPyPtr cpy_r_r3; + int64_t cpy_r_r4; + int64_t cpy_r_r5; + char cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + int32_t cpy_r_r12; + char cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + int64_t cpy_r_r18; + PyObject *cpy_r_r19; + cpy_r_r0 = (CPyPtr)&((PyVarObject *)cpy_r_value)->ob_size; + cpy_r_r1 = *(int64_t *)cpy_r_r0; + cpy_r_r2 = PyTuple_New(cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_", 161, CPyStatic_hashing___globals); + goto CPyL12; + } + cpy_r_r3 = (CPyPtr)&((PyVarObject *)cpy_r_value)->ob_size; + cpy_r_r4 = *(int64_t *)cpy_r_r3; + cpy_r_r5 = 0; +CPyL2: ; + cpy_r_r6 = cpy_r_r5 < cpy_r_r4; + if (!cpy_r_r6) goto CPyL11; + cpy_r_r7 = CPySequenceTuple_GetItemUnsafe(cpy_r_value, cpy_r_r5); + cpy_r_r8 = (PyObject *)&PyList_Type; + cpy_r_r9 = (PyObject *)&PyTuple_Type; + CPy_INCREF(cpy_r_r8); + CPy_INCREF(cpy_r_r9); + cpy_r_r10.f0 = cpy_r_r8; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp320 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp320); + PyObject *__tmp321 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp321); + cpy_r_r12 = PyObject_IsInstance(cpy_r_r7, cpy_r_r11); + CPy_DECREF(cpy_r_r11); + cpy_r_r13 = cpy_r_r12 >= 0; + if (unlikely(!cpy_r_r13)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_", 161, CPyStatic_hashing___globals); + goto CPyL13; + } + cpy_r_r14 = cpy_r_r12; + if (!cpy_r_r14) goto CPyL8; + if (PyList_Check(cpy_r_r7)) + cpy_r_r15 = cpy_r_r7; + else { + cpy_r_r15 = NULL; + } + if (cpy_r_r15 != NULL) goto __LL322; + if (PyTuple_Check(cpy_r_r7)) + cpy_r_r15 = cpy_r_r7; + else { + cpy_r_r15 = NULL; + } + if (cpy_r_r15 != NULL) goto __LL322; + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "_", 161, CPyStatic_hashing___globals, "union[list, tuple]", cpy_r_r7); + goto CPyL14; +__LL322: ; + cpy_r_r16 = CPyDef_hashing____to_tuple(cpy_r_r15); + CPy_DECREF(cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_", 161, CPyStatic_hashing___globals); + goto CPyL14; + } + cpy_r_r17 = cpy_r_r16; + goto CPyL9; +CPyL8: ; + cpy_r_r17 = cpy_r_r7; +CPyL9: ; + CPySequenceTuple_SetItemUnsafe(cpy_r_r2, cpy_r_r5, cpy_r_r17); + cpy_r_r18 = cpy_r_r5 + 1; + cpy_r_r5 = cpy_r_r18; + goto CPyL2; +CPyL11: ; + return cpy_r_r2; +CPyL12: ; + cpy_r_r19 = NULL; + return cpy_r_r19; +CPyL13: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r7); + goto CPyL12; +CPyL14: ; + CPy_DecRef(cpy_r_r2); + goto CPyL12; +} + +PyObject *CPyPy_hashing_______160(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"value", 0}; + static CPyArg_Parser parser = {"O:_", kwlist, 0}; + PyObject *obj_value; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_value)) { + return NULL; + } + PyObject * arg_value; + if (likely(PyTuple_Check(obj_value))) + arg_value = obj_value; + else { + CPy_TypeError("tuple", obj_value); + goto fail; + } + PyObject *retval = CPyDef_hashing_______160(arg_value); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "_", 160, CPyStatic_hashing___globals); + return NULL; +} + +char CPyDef_hashing_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r5; + void *cpy_r_r7; + void *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject **cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + int32_t cpy_r_r36; + char cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject **cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + int32_t cpy_r_r47; + char cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + tuple_T2OO cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + char cpy_r_r68; + PyObject *cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + int32_t cpy_r_r74; + char cpy_r_r75; + PyObject *cpy_r_r76; + PyObject *cpy_r_r77; + int32_t cpy_r_r78; + char cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r__to_tuple; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + int32_t cpy_r_r83; + char cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + 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; + PyObject *cpy_r_r95; + int32_t cpy_r_r96; + char cpy_r_r97; + PyObject *cpy_r_r98; + PyObject *cpy_r_r99; + PyObject *cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + PyObject *cpy_r_r104; + PyObject *cpy_r_r105; + int32_t cpy_r_r106; + char cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + PyObject **cpy_r_r112; + PyObject *cpy_r_r113; + PyObject *cpy_r_r114; + PyObject *cpy_r_r115; + PyObject *cpy_r_r116; + PyObject *cpy_r_r117; + PyObject *cpy_r_r118; + PyObject *cpy_r_r119; + PyObject *cpy_r_r120; + PyObject *cpy_r_r121; + int32_t cpy_r_r122; + char cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + PyObject *cpy_r_r126; + PyObject **cpy_r_r128; + PyObject *cpy_r_r129; + char cpy_r_r130; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", -1, CPyStatic_hashing___globals); + goto CPyL44; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = (PyObject **)&CPyModule_functools; + PyObject **cpy_r_r6[1] = {cpy_r_r5}; + 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[1037]; /* (('functools', 'functools', 'functools'),) */ + cpy_r_r11 = CPyStatic_hashing___globals; + cpy_r_r12 = CPyStatics[663]; /* 'dank_mids\\helpers\\hashing.py' */ + cpy_r_r13 = CPyStatics[43]; /* '' */ + 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 CPyL44; + cpy_r_r15 = CPyStatics[1038]; /* ('Hashable',) */ + cpy_r_r16 = CPyStatics[664]; /* 'collections.abc' */ + cpy_r_r17 = CPyStatic_hashing___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\\hashing.py", "", 2, CPyStatic_hashing___globals); + goto CPyL44; + } + CPyModule_collections___abc = cpy_r_r18; + CPy_INCREF(CPyModule_collections___abc); + CPy_DECREF(cpy_r_r18); + cpy_r_r19 = CPyStatics[1039]; /* ('Any', 'Dict', 'Final', 'ItemsView', 'Iterator', + 'KeysView', 'List', 'Mapping', 'Optional', 'Sequence', + 'Tuple', 'TypeVar', 'Union', 'ValuesView', 'final') */ + cpy_r_r20 = CPyStatics[40]; /* 'typing' */ + cpy_r_r21 = CPyStatic_hashing___globals; + cpy_r_r22 = CPyImport_ImportFromMany(cpy_r_r20, cpy_r_r19, cpy_r_r19, cpy_r_r21); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 3, CPyStatic_hashing___globals); + goto CPyL44; + } + CPyModule_typing = cpy_r_r22; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r22); + cpy_r_r23 = CPyStatics[668]; /* 'TKey' */ + cpy_r_r24 = CPyStatic_hashing___globals; + cpy_r_r25 = CPyStatics[657]; /* 'Hashable' */ + cpy_r_r26 = CPyDict_GetItem(cpy_r_r24, cpy_r_r25); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 22, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r27 = CPyStatic_hashing___globals; + cpy_r_r28 = CPyStatics[37]; /* 'TypeVar' */ + cpy_r_r29 = CPyDict_GetItem(cpy_r_r27, cpy_r_r28); + if (unlikely(cpy_r_r29 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 22, CPyStatic_hashing___globals); + goto CPyL45; + } + PyObject *cpy_r_r30[2] = {cpy_r_r23, cpy_r_r26}; + cpy_r_r31 = (PyObject **)&cpy_r_r30; + cpy_r_r32 = CPyStatics[1040]; /* ('bound',) */ + cpy_r_r33 = PyObject_Vectorcall(cpy_r_r29, cpy_r_r31, 1, cpy_r_r32); + CPy_DECREF(cpy_r_r29); + if (unlikely(cpy_r_r33 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 22, CPyStatic_hashing___globals); + goto CPyL45; + } + CPy_DECREF(cpy_r_r26); + cpy_r_r34 = CPyStatic_hashing___globals; + cpy_r_r35 = CPyStatics[668]; /* 'TKey' */ + cpy_r_r36 = CPyDict_SetItem(cpy_r_r34, cpy_r_r35, cpy_r_r33); + CPy_DECREF(cpy_r_r33); + cpy_r_r37 = cpy_r_r36 >= 0; + if (unlikely(!cpy_r_r37)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 22, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r38 = CPyStatics[670]; /* 'TValue' */ + cpy_r_r39 = CPyStatic_hashing___globals; + cpy_r_r40 = CPyStatics[37]; /* 'TypeVar' */ + cpy_r_r41 = CPyDict_GetItem(cpy_r_r39, cpy_r_r40); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 23, CPyStatic_hashing___globals); + goto CPyL44; + } + PyObject *cpy_r_r42[1] = {cpy_r_r38}; + cpy_r_r43 = (PyObject **)&cpy_r_r42; + cpy_r_r44 = PyObject_Vectorcall(cpy_r_r41, cpy_r_r43, 1, 0); + CPy_DECREF(cpy_r_r41); + if (unlikely(cpy_r_r44 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 23, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r45 = CPyStatic_hashing___globals; + cpy_r_r46 = CPyStatics[670]; /* 'TValue' */ + cpy_r_r47 = CPyDict_SetItem(cpy_r_r45, cpy_r_r46, cpy_r_r44); + CPy_DECREF(cpy_r_r44); + cpy_r_r48 = cpy_r_r47 >= 0; + if (unlikely(!cpy_r_r48)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 23, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r49 = CPyStatic_hashing___globals; + cpy_r_r50 = CPyStatics[264]; /* 'Mapping' */ + cpy_r_r51 = CPyDict_GetItem(cpy_r_r49, cpy_r_r50); + if (unlikely(cpy_r_r51 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 44, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r52 = CPyStatic_hashing___globals; + cpy_r_r53 = CPyStatics[668]; /* 'TKey' */ + cpy_r_r54 = CPyDict_GetItem(cpy_r_r52, cpy_r_r53); + if (unlikely(cpy_r_r54 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 44, CPyStatic_hashing___globals); + goto CPyL46; + } + cpy_r_r55 = CPyStatic_hashing___globals; + cpy_r_r56 = CPyStatics[670]; /* 'TValue' */ + cpy_r_r57 = CPyDict_GetItem(cpy_r_r55, cpy_r_r56); + if (unlikely(cpy_r_r57 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 44, CPyStatic_hashing___globals); + goto CPyL47; + } + cpy_r_r58.f0 = cpy_r_r54; + cpy_r_r58.f1 = cpy_r_r57; + cpy_r_r59 = PyTuple_New(2); + if (unlikely(cpy_r_r59 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp323 = cpy_r_r58.f0; + PyTuple_SET_ITEM(cpy_r_r59, 0, __tmp323); + PyObject *__tmp324 = cpy_r_r58.f1; + PyTuple_SET_ITEM(cpy_r_r59, 1, __tmp324); + cpy_r_r60 = PyObject_GetItem(cpy_r_r51, cpy_r_r59); + CPy_DECREF(cpy_r_r51); + CPy_DECREF(cpy_r_r59); + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 44, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r61 = CPyStatic_hashing___globals; + cpy_r_r62 = CPyStatics[657]; /* 'Hashable' */ + cpy_r_r63 = CPyDict_GetItem(cpy_r_r61, cpy_r_r62); + if (unlikely(cpy_r_r63 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 44, CPyStatic_hashing___globals); + goto CPyL48; + } + cpy_r_r64 = PyTuple_Pack(2, cpy_r_r60, cpy_r_r63); + CPy_DECREF(cpy_r_r60); + CPy_DECREF(cpy_r_r63); + if (unlikely(cpy_r_r64 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 44, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r65 = CPyStatics[350]; /* 'dank_mids.helpers.hashing' */ + cpy_r_r66 = (PyObject *)CPyType_hashing___AttributeDict_template; + cpy_r_r67 = CPyType_FromTemplate(cpy_r_r66, cpy_r_r64, cpy_r_r65); + CPy_DECREF(cpy_r_r64); + if (unlikely(cpy_r_r67 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 44, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r68 = CPyDef_hashing___AttributeDict_trait_vtable_setup(); + if (unlikely(cpy_r_r68 == 2)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", -1, CPyStatic_hashing___globals); + goto CPyL49; + } + cpy_r_r69 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r70 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r71 = CPyStatics[671]; /* '__hash' */ + cpy_r_r72 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r73 = PyTuple_Pack(3, cpy_r_r70, cpy_r_r71, cpy_r_r72); + if (unlikely(cpy_r_r73 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 44, CPyStatic_hashing___globals); + goto CPyL49; + } + cpy_r_r74 = PyObject_SetAttr(cpy_r_r67, cpy_r_r69, cpy_r_r73); + CPy_DECREF(cpy_r_r73); + cpy_r_r75 = cpy_r_r74 >= 0; + if (unlikely(!cpy_r_r75)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 44, CPyStatic_hashing___globals); + goto CPyL49; + } + CPyType_hashing___AttributeDict = (PyTypeObject *)cpy_r_r67; + CPy_INCREF(CPyType_hashing___AttributeDict); + cpy_r_r76 = CPyStatic_hashing___globals; + cpy_r_r77 = CPyStatics[672]; /* 'AttributeDict' */ + cpy_r_r78 = PyDict_SetItem(cpy_r_r76, cpy_r_r77, cpy_r_r67); + CPy_DECREF(cpy_r_r67); + cpy_r_r79 = cpy_r_r78 >= 0; + if (unlikely(!cpy_r_r79)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 44, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r80 = CPyDef_hashing____to_tuple_obj(); + if (unlikely(cpy_r_r80 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 150, CPyStatic_hashing___globals); + goto CPyL44; + } + CPy_INCREF_NO_IMM(cpy_r_r80); + cpy_r__to_tuple = cpy_r_r80; + CPy_DECREF(cpy_r__to_tuple); + cpy_r_r81 = CPyStatic_hashing___globals; + cpy_r_r82 = CPyStatics[662]; /* '_to_tuple' */ + cpy_r_r83 = PyDict_SetItem(cpy_r_r81, cpy_r_r82, cpy_r_r80); + CPy_DECREF_NO_IMM(cpy_r_r80); + cpy_r_r84 = cpy_r_r83 >= 0; + if (unlikely(!cpy_r_r84)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 150, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r85 = CPyStatic_hashing___globals; + cpy_r_r86 = CPyStatics[673]; /* '__mypyc_singledispatch_main_function__to_tuple__' */ + cpy_r_r87 = CPyDict_GetItem(cpy_r_r85, cpy_r_r86); + if (unlikely(cpy_r_r87 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 150, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r88 = CPyModule_builtins; + cpy_r_r89 = CPyStatics[674]; /* 'object' */ + cpy_r_r90 = CPyObject_GetAttr(cpy_r_r88, cpy_r_r89); + if (unlikely(cpy_r_r90 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 150, CPyStatic_hashing___globals); + goto CPyL50; + } + cpy_r_r91 = CPyDict_Build(1, cpy_r_r90, cpy_r_r87); + CPy_DECREF(cpy_r_r90); + CPy_DECREF(cpy_r_r87); + if (unlikely(cpy_r_r91 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 150, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r92 = CPyStatic_hashing___globals; + cpy_r_r93 = CPyStatics[662]; /* '_to_tuple' */ + cpy_r_r94 = CPyDict_GetItem(cpy_r_r92, cpy_r_r93); + if (unlikely(cpy_r_r94 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 150, CPyStatic_hashing___globals); + goto CPyL51; + } + cpy_r_r95 = CPyStatics[675]; /* 'registry' */ + cpy_r_r96 = PyObject_SetAttr(cpy_r_r94, cpy_r_r95, cpy_r_r91); + CPy_DECREF(cpy_r_r94); + CPy_DECREF(cpy_r_r91); + cpy_r_r97 = cpy_r_r96 >= 0; + if (unlikely(!cpy_r_r97)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 150, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r98 = CPyStatics[872]; /* 0 */ + cpy_r_r99 = CPyStatic_hashing___globals; + cpy_r_r100 = CPyStatics[662]; /* '_to_tuple' */ + cpy_r_r101 = CPyDict_GetItem(cpy_r_r99, cpy_r_r100); + if (unlikely(cpy_r_r101 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 155, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r102 = CPyStatics[675]; /* 'registry' */ + cpy_r_r103 = CPyObject_GetAttr(cpy_r_r101, cpy_r_r102); + if (unlikely(cpy_r_r103 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 155, CPyStatic_hashing___globals); + goto CPyL52; + } + cpy_r_r104 = (PyObject *)&PyList_Type; + if (likely(PyDict_Check(cpy_r_r103))) + cpy_r_r105 = cpy_r_r103; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "", 155, CPyStatic_hashing___globals, "dict", cpy_r_r103); + goto CPyL52; + } + cpy_r_r106 = PyDict_SetItem(cpy_r_r105, cpy_r_r104, cpy_r_r98); + CPy_DECREF(cpy_r_r105); + cpy_r_r107 = cpy_r_r106 >= 0; + if (unlikely(!cpy_r_r107)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 155, CPyStatic_hashing___globals); + goto CPyL52; + } + cpy_r_r108 = CPyStatics[660]; /* 'dispatch_cache' */ + cpy_r_r109 = CPyObject_GetAttr(cpy_r_r101, cpy_r_r108); + CPy_DECREF(cpy_r_r101); + if (unlikely(cpy_r_r109 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 155, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r110 = CPyStatics[676]; /* 'clear' */ + PyObject *cpy_r_r111[1] = {cpy_r_r109}; + cpy_r_r112 = (PyObject **)&cpy_r_r111; + cpy_r_r113 = PyObject_VectorcallMethod(cpy_r_r110, cpy_r_r112, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r113 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 155, CPyStatic_hashing___globals); + goto CPyL53; + } else + goto CPyL54; +CPyL37: ; + CPy_DECREF(cpy_r_r109); + cpy_r_r114 = CPyStatics[873]; /* 1 */ + cpy_r_r115 = CPyStatic_hashing___globals; + cpy_r_r116 = CPyStatics[662]; /* '_to_tuple' */ + cpy_r_r117 = CPyDict_GetItem(cpy_r_r115, cpy_r_r116); + if (unlikely(cpy_r_r117 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 160, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r118 = CPyStatics[675]; /* 'registry' */ + cpy_r_r119 = CPyObject_GetAttr(cpy_r_r117, cpy_r_r118); + if (unlikely(cpy_r_r119 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 160, CPyStatic_hashing___globals); + goto CPyL55; + } + cpy_r_r120 = (PyObject *)&PyTuple_Type; + if (likely(PyDict_Check(cpy_r_r119))) + cpy_r_r121 = cpy_r_r119; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\hashing.py", "", 160, CPyStatic_hashing___globals, "dict", cpy_r_r119); + goto CPyL55; + } + cpy_r_r122 = PyDict_SetItem(cpy_r_r121, cpy_r_r120, cpy_r_r114); + CPy_DECREF(cpy_r_r121); + cpy_r_r123 = cpy_r_r122 >= 0; + if (unlikely(!cpy_r_r123)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 160, CPyStatic_hashing___globals); + goto CPyL55; + } + cpy_r_r124 = CPyStatics[660]; /* 'dispatch_cache' */ + cpy_r_r125 = CPyObject_GetAttr(cpy_r_r117, cpy_r_r124); + CPy_DECREF(cpy_r_r117); + if (unlikely(cpy_r_r125 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 160, CPyStatic_hashing___globals); + goto CPyL44; + } + cpy_r_r126 = CPyStatics[676]; /* 'clear' */ + PyObject *cpy_r_r127[1] = {cpy_r_r125}; + cpy_r_r128 = (PyObject **)&cpy_r_r127; + cpy_r_r129 = PyObject_VectorcallMethod(cpy_r_r126, cpy_r_r128, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r129 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\hashing.py", "", 160, CPyStatic_hashing___globals); + goto CPyL56; + } else + goto CPyL57; +CPyL43: ; + CPy_DECREF(cpy_r_r125); + return 1; +CPyL44: ; + cpy_r_r130 = 2; + return cpy_r_r130; +CPyL45: ; + CPy_DecRef(cpy_r_r26); + goto CPyL44; +CPyL46: ; + CPy_DecRef(cpy_r_r51); + goto CPyL44; +CPyL47: ; + CPy_DecRef(cpy_r_r51); + CPy_DecRef(cpy_r_r54); + goto CPyL44; +CPyL48: ; + CPy_DecRef(cpy_r_r60); + goto CPyL44; +CPyL49: ; + CPy_DecRef(cpy_r_r67); + goto CPyL44; +CPyL50: ; + CPy_DecRef(cpy_r_r87); + goto CPyL44; +CPyL51: ; + CPy_DecRef(cpy_r_r91); + goto CPyL44; +CPyL52: ; + CPy_DecRef(cpy_r_r101); + goto CPyL44; +CPyL53: ; + CPy_DecRef(cpy_r_r109); + goto CPyL44; +CPyL54: ; + CPy_DECREF(cpy_r_r113); + goto CPyL37; +CPyL55: ; + CPy_DecRef(cpy_r_r117); + goto CPyL44; +CPyL56: ; + CPy_DecRef(cpy_r_r125); + goto CPyL44; +CPyL57: ; + CPy_DECREF(cpy_r_r129); + goto CPyL43; +} + +PyObject *CPyDef_lru_cache_____mypyc__lru_cache_lite_env_setup(PyObject *cpy_r_type); +PyObject *CPyDef_lru_cache___lru_cache_lite_env(void); + +static PyObject * +lru_cache___lru_cache_lite_env_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_lru_cache___lru_cache_lite_env) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_lru_cache_____mypyc__lru_cache_lite_env_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +lru_cache___lru_cache_lite_env_traverse(dank_mids___helpers___lru_cache___lru_cache_lite_envObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_self__); + Py_VISIT(self->_func); + Py_VISIT(self->_cache); + Py_VISIT(self->_cache_miss); + Py_VISIT(self->_lru_cache_lite_wrap); + return 0; +} + +static int +lru_cache___lru_cache_lite_env_clear(dank_mids___helpers___lru_cache___lru_cache_lite_envObject *self) +{ + Py_CLEAR(self->___mypyc_self__); + Py_CLEAR(self->_func); + Py_CLEAR(self->_cache); + Py_CLEAR(self->_cache_miss); + Py_CLEAR(self->_lru_cache_lite_wrap); + return 0; +} + +static void +lru_cache___lru_cache_lite_env_dealloc(dank_mids___helpers___lru_cache___lru_cache_lite_envObject *self) +{ + PyObject_GC_UnTrack(self); + if (lru_cache___lru_cache_lite_env_free_instance == NULL) { + lru_cache___lru_cache_lite_env_free_instance = self; + Py_CLEAR(self->___mypyc_self__); + Py_CLEAR(self->_func); + Py_CLEAR(self->_cache); + Py_CLEAR(self->_cache_miss); + Py_CLEAR(self->_lru_cache_lite_wrap); + return; + } + CPy_TRASHCAN_BEGIN(self, lru_cache___lru_cache_lite_env_dealloc) + lru_cache___lru_cache_lite_env_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem lru_cache___lru_cache_lite_env_vtable[1]; +static bool +CPyDef_lru_cache___lru_cache_lite_env_trait_vtable_setup(void) +{ + CPyVTableItem lru_cache___lru_cache_lite_env_vtable_scratch[] = { + NULL + }; + memcpy(lru_cache___lru_cache_lite_env_vtable, lru_cache___lru_cache_lite_env_vtable_scratch, sizeof(lru_cache___lru_cache_lite_env_vtable)); + return 1; +} + +static PyMethodDef lru_cache___lru_cache_lite_env_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_lru_cache___lru_cache_lite_env_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "lru_cache_lite_env", + .tp_new = lru_cache___lru_cache_lite_env_new, + .tp_dealloc = (destructor)lru_cache___lru_cache_lite_env_dealloc, + .tp_traverse = (traverseproc)lru_cache___lru_cache_lite_env_traverse, + .tp_clear = (inquiry)lru_cache___lru_cache_lite_env_clear, + .tp_methods = lru_cache___lru_cache_lite_env_methods, + .tp_basicsize = sizeof(dank_mids___helpers___lru_cache___lru_cache_lite_envObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("lru_cache_lite_env()\n--\n\n"), +}; +static PyTypeObject *CPyType_lru_cache___lru_cache_lite_env_template = &CPyType_lru_cache___lru_cache_lite_env_template_; + +PyObject *CPyDef_lru_cache_____mypyc__lru_cache_lite_env_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___helpers___lru_cache___lru_cache_lite_envObject *self; + if (lru_cache___lru_cache_lite_env_free_instance != NULL) { + self = lru_cache___lru_cache_lite_env_free_instance; + lru_cache___lru_cache_lite_env_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = lru_cache___lru_cache_lite_env_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef_lru_cache___lru_cache_lite_env(void) +{ + PyObject *self = CPyDef_lru_cache_____mypyc__lru_cache_lite_env_setup((PyObject *)CPyType_lru_cache___lru_cache_lite_env); + if (self == NULL) + return NULL; + return self; +} + + +static PyObject *CPyDunder___get__lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____get__(self, instance, owner); +} +PyObject *CPyDef_lru_cache_____mypyc__lru_cache_lite_wrap_lru_cache_lite_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj(void); + +static PyObject * +lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_lru_cache_____mypyc__lru_cache_lite_wrap_lru_cache_lite_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_traverse(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_env__); + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_clear(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *self) +{ + Py_CLEAR(self->___mypyc_env__); + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_dealloc(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_free_instance == NULL) { + lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_free_instance = self; + Py_CLEAR(self->___mypyc_env__); + return; + } + CPy_TRASHCAN_BEGIN(self, lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_dealloc) + lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_vtable[2]; +static bool +CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_trait_vtable_setup(void) +{ + CPyVTableItem lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____call__, + (CPyVTableItem)CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____get__, + }; + memcpy(lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_vtable, lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_vtable_scratch, sizeof(lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_vtable)); + return 1; +} + +static PyObject * +lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_get___3_mypyc_env__(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *self, void *closure); +static int +lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_set___3_mypyc_env__(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *self, PyObject *value, void *closure); + +static PyGetSetDef lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_getseters[] = { + {"__mypyc_env__", + (getter)lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_get___3_mypyc_env__, (setter)lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_set___3_mypyc_env__, + NULL, NULL}, + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__(*$args)\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "lru_cache_lite_wrap_lru_cache_lite_obj", + .tp_new = lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_new, + .tp_dealloc = (destructor)lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_dealloc, + .tp_traverse = (traverseproc)lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_traverse, + .tp_clear = (inquiry)lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_clear, + .tp_getset = lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_getseters, + .tp_methods = lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get__lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj, + .tp_basicsize = sizeof(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject), + .tp_vectorcall_offset = offsetof(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("lru_cache_lite_wrap_lru_cache_lite_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_template = &CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_template_; + +PyObject *CPyDef_lru_cache_____mypyc__lru_cache_lite_wrap_lru_cache_lite_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *self; + if (lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_free_instance != NULL) { + self = lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_free_instance; + lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_vtable; + self->vectorcall = CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj(void) +{ + PyObject *self = CPyDef_lru_cache_____mypyc__lru_cache_lite_wrap_lru_cache_lite_obj_setup((PyObject *)CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj); + if (self == NULL) + return NULL; + return self; +} + +static PyObject * +lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_get___3_mypyc_env__(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *self, void *closure) +{ + if (unlikely(self->___mypyc_env__ == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '__mypyc_env__' of 'lru_cache_lite_wrap_lru_cache_lite_obj' undefined"); + return NULL; + } + CPy_INCREF_NO_IMM(self->___mypyc_env__); + PyObject *retval = self->___mypyc_env__; + return retval; +} + +static int +lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_set___3_mypyc_env__(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'lru_cache_lite_wrap_lru_cache_lite_obj' object attribute '__mypyc_env__' cannot be deleted"); + return -1; + } + if (self->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(self->___mypyc_env__); + } + PyObject *tmp; + if (likely(Py_TYPE(value) == CPyType_lru_cache___lru_cache_lite_env)) + tmp = value; + else { + CPy_TypeError("dank_mids.helpers.lru_cache.lru_cache_lite_env", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF_NO_IMM(tmp); + self->___mypyc_env__ = tmp; + return 0; +} + +PyObject *CPyDef_lru_cache_____mypyc__lru_cache_lite_nonull_env_setup(PyObject *cpy_r_type); +PyObject *CPyDef_lru_cache___lru_cache_lite_nonull_env(void); + +static PyObject * +lru_cache___lru_cache_lite_nonull_env_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_lru_cache___lru_cache_lite_nonull_env) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_lru_cache_____mypyc__lru_cache_lite_nonull_env_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +lru_cache___lru_cache_lite_nonull_env_traverse(dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_self__); + Py_VISIT(self->_func); + Py_VISIT(self->_cache); + Py_VISIT(self->_lru_cache_lite_wrap); + return 0; +} + +static int +lru_cache___lru_cache_lite_nonull_env_clear(dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *self) +{ + Py_CLEAR(self->___mypyc_self__); + Py_CLEAR(self->_func); + Py_CLEAR(self->_cache); + Py_CLEAR(self->_lru_cache_lite_wrap); + return 0; +} + +static void +lru_cache___lru_cache_lite_nonull_env_dealloc(dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *self) +{ + PyObject_GC_UnTrack(self); + if (lru_cache___lru_cache_lite_nonull_env_free_instance == NULL) { + lru_cache___lru_cache_lite_nonull_env_free_instance = self; + Py_CLEAR(self->___mypyc_self__); + Py_CLEAR(self->_func); + Py_CLEAR(self->_cache); + Py_CLEAR(self->_lru_cache_lite_wrap); + return; + } + CPy_TRASHCAN_BEGIN(self, lru_cache___lru_cache_lite_nonull_env_dealloc) + lru_cache___lru_cache_lite_nonull_env_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem lru_cache___lru_cache_lite_nonull_env_vtable[1]; +static bool +CPyDef_lru_cache___lru_cache_lite_nonull_env_trait_vtable_setup(void) +{ + CPyVTableItem lru_cache___lru_cache_lite_nonull_env_vtable_scratch[] = { + NULL + }; + memcpy(lru_cache___lru_cache_lite_nonull_env_vtable, lru_cache___lru_cache_lite_nonull_env_vtable_scratch, sizeof(lru_cache___lru_cache_lite_nonull_env_vtable)); + return 1; +} + +static PyMethodDef lru_cache___lru_cache_lite_nonull_env_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_lru_cache___lru_cache_lite_nonull_env_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "lru_cache_lite_nonull_env", + .tp_new = lru_cache___lru_cache_lite_nonull_env_new, + .tp_dealloc = (destructor)lru_cache___lru_cache_lite_nonull_env_dealloc, + .tp_traverse = (traverseproc)lru_cache___lru_cache_lite_nonull_env_traverse, + .tp_clear = (inquiry)lru_cache___lru_cache_lite_nonull_env_clear, + .tp_methods = lru_cache___lru_cache_lite_nonull_env_methods, + .tp_basicsize = sizeof(dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("lru_cache_lite_nonull_env()\n--\n\n"), +}; +static PyTypeObject *CPyType_lru_cache___lru_cache_lite_nonull_env_template = &CPyType_lru_cache___lru_cache_lite_nonull_env_template_; + +PyObject *CPyDef_lru_cache_____mypyc__lru_cache_lite_nonull_env_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *self; + if (lru_cache___lru_cache_lite_nonull_env_free_instance != NULL) { + self = lru_cache___lru_cache_lite_nonull_env_free_instance; + lru_cache___lru_cache_lite_nonull_env_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = lru_cache___lru_cache_lite_nonull_env_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef_lru_cache___lru_cache_lite_nonull_env(void) +{ + PyObject *self = CPyDef_lru_cache_____mypyc__lru_cache_lite_nonull_env_setup((PyObject *)CPyType_lru_cache___lru_cache_lite_nonull_env); + if (self == NULL) + return NULL; + return self; +} + + +static PyObject *CPyDunder___get__lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____get__(self, instance, owner); +} +PyObject *CPyDef_lru_cache_____mypyc__lru_cache_lite_wrap_lru_cache_lite_nonull_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj(void); + +static PyObject * +lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_lru_cache_____mypyc__lru_cache_lite_wrap_lru_cache_lite_nonull_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_traverse(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_env__); + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_clear(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *self) +{ + Py_CLEAR(self->___mypyc_env__); + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_dealloc(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_free_instance == NULL) { + lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_free_instance = self; + Py_CLEAR(self->___mypyc_env__); + return; + } + CPy_TRASHCAN_BEGIN(self, lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_dealloc) + lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_vtable[2]; +static bool +CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_trait_vtable_setup(void) +{ + CPyVTableItem lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____call__, + (CPyVTableItem)CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____get__, + }; + memcpy(lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_vtable, lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_vtable_scratch, sizeof(lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_vtable)); + return 1; +} + +static PyObject * +lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_get___3_mypyc_env__(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *self, void *closure); +static int +lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_set___3_mypyc_env__(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *self, PyObject *value, void *closure); + +static PyGetSetDef lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_getseters[] = { + {"__mypyc_env__", + (getter)lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_get___3_mypyc_env__, (setter)lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_set___3_mypyc_env__, + NULL, NULL}, + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__(*$args)\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "lru_cache_lite_wrap_lru_cache_lite_nonull_obj", + .tp_new = lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_new, + .tp_dealloc = (destructor)lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_dealloc, + .tp_traverse = (traverseproc)lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_traverse, + .tp_clear = (inquiry)lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_clear, + .tp_getset = lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_getseters, + .tp_methods = lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get__lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj, + .tp_basicsize = sizeof(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject), + .tp_vectorcall_offset = offsetof(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("lru_cache_lite_wrap_lru_cache_lite_nonull_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_template = &CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_template_; + +PyObject *CPyDef_lru_cache_____mypyc__lru_cache_lite_wrap_lru_cache_lite_nonull_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *self; + if (lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_free_instance != NULL) { + self = lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_free_instance; + lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_vtable; + self->vectorcall = CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj(void) +{ + PyObject *self = CPyDef_lru_cache_____mypyc__lru_cache_lite_wrap_lru_cache_lite_nonull_obj_setup((PyObject *)CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj); + if (self == NULL) + return NULL; + return self; +} + +static PyObject * +lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_get___3_mypyc_env__(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *self, void *closure) +{ + if (unlikely(self->___mypyc_env__ == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '__mypyc_env__' of 'lru_cache_lite_wrap_lru_cache_lite_nonull_obj' undefined"); + return NULL; + } + CPy_INCREF_NO_IMM(self->___mypyc_env__); + PyObject *retval = self->___mypyc_env__; + return retval; +} + +static int +lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_set___3_mypyc_env__(dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'lru_cache_lite_wrap_lru_cache_lite_nonull_obj' object attribute '__mypyc_env__' cannot be deleted"); + return -1; + } + if (self->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(self->___mypyc_env__); + } + PyObject *tmp; + if (likely(Py_TYPE(value) == CPyType_lru_cache___lru_cache_lite_nonull_env)) + tmp = value; + else { + CPy_TypeError("dank_mids.helpers.lru_cache.lru_cache_lite_nonull_env", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF_NO_IMM(tmp); + self->___mypyc_env__ = tmp; + return 0; +} +static PyMethodDef lru_cachemodule_methods[] = { + {"lru_cache_lite", (PyCFunction)CPyPy_lru_cache___lru_cache_lite, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("lru_cache_lite(func)\n--\n\n") /* docstring */}, + {"lru_cache_lite_nonull", (PyCFunction)CPyPy_lru_cache___lru_cache_lite_nonull, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("lru_cache_lite_nonull(func)\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___helpers___lru_cache(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___helpers___lru_cache__internal, "__name__"); + CPyStatic_lru_cache___globals = PyModule_GetDict(CPyModule_dank_mids___helpers___lru_cache__internal); + if (unlikely(CPyStatic_lru_cache___globals == NULL)) + goto fail; + CPyType_lru_cache___lru_cache_lite_env = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_lru_cache___lru_cache_lite_env_template, NULL, modname); + if (unlikely(!CPyType_lru_cache___lru_cache_lite_env)) + goto fail; + CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_template, NULL, modname); + if (unlikely(!CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj)) + goto fail; + CPyType_lru_cache___lru_cache_lite_nonull_env = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_lru_cache___lru_cache_lite_nonull_env_template, NULL, modname); + if (unlikely(!CPyType_lru_cache___lru_cache_lite_nonull_env)) + goto fail; + CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_template, NULL, modname); + if (unlikely(!CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_lru_cache_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___helpers___lru_cache__internal); + Py_CLEAR(modname); + Py_CLEAR(CPyType_lru_cache___lru_cache_lite_env); + Py_CLEAR(CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj); + Py_CLEAR(CPyType_lru_cache___lru_cache_lite_nonull_env); + Py_CLEAR(CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj); + return -1; +} +static struct PyModuleDef lru_cachemodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.helpers.lru_cache", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + lru_cachemodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___helpers___lru_cache(void) +{ + if (CPyModule_dank_mids___helpers___lru_cache__internal) { + Py_INCREF(CPyModule_dank_mids___helpers___lru_cache__internal); + return CPyModule_dank_mids___helpers___lru_cache__internal; + } + CPyModule_dank_mids___helpers___lru_cache__internal = PyModule_Create(&lru_cachemodule); + if (unlikely(CPyModule_dank_mids___helpers___lru_cache__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___helpers___lru_cache(CPyModule_dank_mids___helpers___lru_cache__internal) != 0) + goto fail; + return CPyModule_dank_mids___helpers___lru_cache__internal; + fail: + return NULL; +} + +PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "__get__", -1, CPyStatic_lru_cache___globals); + return NULL; +} + +PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_args) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_retval; + PyObject *cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + int32_t cpy_r_r9; + char cpy_r_r10; + PyObject *cpy_r_r11; + cpy_r_r0 = ((dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *)cpy_r___mypyc_self__)->___mypyc_env__; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", "lru_cache_lite_wrap_lru_cache_lite_obj", "__mypyc_env__", 41, CPyStatic_lru_cache___globals); + goto CPyL11; + } + CPy_INCREF_NO_IMM(cpy_r_r0); +CPyL1: ; + cpy_r_r1 = ((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_cache; + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", "lru_cache_lite_env", "cache", 42, CPyStatic_lru_cache___globals); + goto CPyL12; + } + CPy_INCREF(cpy_r_r1); +CPyL2: ; + cpy_r_r2 = ((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_cache_miss; + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", "lru_cache_lite_env", "cache_miss", 42, CPyStatic_lru_cache___globals); + goto CPyL13; + } + CPy_INCREF(cpy_r_r2); +CPyL3: ; + cpy_r_r3 = CPyDict_Get(cpy_r_r1, cpy_r_args, cpy_r_r2); + CPy_DECREF(cpy_r_r1); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", 42, CPyStatic_lru_cache___globals); + goto CPyL12; + } + cpy_r_retval = cpy_r_r3; + cpy_r_r4 = ((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_cache_miss; + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", "lru_cache_lite_env", "cache_miss", 43, CPyStatic_lru_cache___globals); + goto CPyL14; + } + CPy_INCREF(cpy_r_r4); +CPyL5: ; + cpy_r_r5 = cpy_r_retval == cpy_r_r4; + CPy_DECREF(cpy_r_r4); + if (cpy_r_r5) { + goto CPyL15; + } else + goto CPyL16; +CPyL6: ; + cpy_r_r6 = ((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_func; + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", "lru_cache_lite_env", "func", 44, CPyStatic_lru_cache___globals); + goto CPyL12; + } + CPy_INCREF(cpy_r_r6); +CPyL7: ; + cpy_r_r7 = PyObject_CallObject(cpy_r_r6, cpy_r_args); + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", 44, CPyStatic_lru_cache___globals); + goto CPyL12; + } + cpy_r_retval = cpy_r_r7; + cpy_r_r8 = ((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_cache; + if (unlikely(cpy_r_r8 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute 'cache' of 'lru_cache_lite_env' undefined"); + } else { + CPy_INCREF(cpy_r_r8); + } + CPy_DECREF_NO_IMM(cpy_r_r0); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", 45, CPyStatic_lru_cache___globals); + goto CPyL17; + } +CPyL9: ; + cpy_r_r9 = CPyDict_SetItem(cpy_r_r8, cpy_r_args, cpy_r_retval); + CPy_DECREF(cpy_r_r8); + cpy_r_r10 = cpy_r_r9 >= 0; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", 45, CPyStatic_lru_cache___globals); + goto CPyL17; + } +CPyL10: ; + return cpy_r_retval; +CPyL11: ; + cpy_r_r11 = NULL; + return cpy_r_r11; +CPyL12: ; + CPy_DecRef(cpy_r_r0); + goto CPyL11; +CPyL13: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r1); + goto CPyL11; +CPyL14: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_retval); + goto CPyL11; +CPyL15: ; + CPy_DECREF(cpy_r_retval); + goto CPyL6; +CPyL16: ; + CPy_DECREF_NO_IMM(cpy_r_r0); + goto CPyL10; +CPyL17: ; + CPy_DecRef(cpy_r_retval); + goto CPyL11; +} + +PyObject *CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {"%:__call__", kwlist, 0}; + PyObject *obj_args; + if (!CPyArg_ParseStackAndKeywords(args, PyVectorcall_NARGS(nargs), kwnames, &parser, &obj_args, NULL)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_args = obj_args; + PyObject *retval = CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____call__(arg___mypyc_self__, arg_args); + CPy_DECREF(obj_args); + return retval; +fail: ; + CPy_DECREF(obj_args); + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", 41, CPyStatic_lru_cache___globals); + return NULL; +} + +PyObject *CPyDef_lru_cache___lru_cache_lite(PyObject *cpy_r_func) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + char cpy_r_r8; + PyObject *cpy_r_r9; + char cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject **cpy_r_r16; + PyObject *cpy_r_r17; + PyObject **cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + int32_t cpy_r_r23; + char cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + int32_t cpy_r_r27; + char cpy_r_r28; + PyObject *cpy_r_r29; + cpy_r_r0 = CPyDef_lru_cache___lru_cache_lite_env(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 11, CPyStatic_lru_cache___globals); + goto CPyL17; + } + CPy_INCREF(cpy_r_func); + if (((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_func != NULL) { + CPy_DECREF(((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_func); + } + ((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_func = cpy_r_func; + cpy_r_r1 = 1; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 11, CPyStatic_lru_cache___globals); + goto CPyL18; + } + cpy_r_r2 = PyDict_New(); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 37, CPyStatic_lru_cache___globals); + goto CPyL18; + } + if (((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_cache != NULL) { + CPy_DECREF(((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_cache); + } + ((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_cache = cpy_r_r2; + cpy_r_r3 = 1; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 37, CPyStatic_lru_cache___globals); + goto CPyL18; + } + cpy_r_r4 = CPyModule_builtins; + cpy_r_r5 = CPyStatics[674]; /* '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); + goto CPyL18; + } + cpy_r_r7 = PyObject_Vectorcall(cpy_r_r6, 0, 0, 0); + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 38, CPyStatic_lru_cache___globals); + goto CPyL18; + } + if (((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_cache_miss != NULL) { + CPy_DECREF(((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_cache_miss); + } + ((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_cache_miss = cpy_r_r7; + cpy_r_r8 = 1; + if (unlikely(!cpy_r_r8)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 38, CPyStatic_lru_cache___globals); + goto CPyL18; + } + cpy_r_r9 = CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj(); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 41, CPyStatic_lru_cache___globals); + goto CPyL18; + } + CPy_INCREF_NO_IMM(cpy_r_r0); + if (((dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *)cpy_r_r9)->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *)cpy_r_r9)->___mypyc_env__); + } + ((dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *)cpy_r_r9)->___mypyc_env__ = cpy_r_r0; + cpy_r_r10 = 1; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 41, CPyStatic_lru_cache___globals); + goto CPyL19; + } + cpy_r_r11 = ((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_func; + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", "lru_cache_lite_env", "func", 40, CPyStatic_lru_cache___globals); + goto CPyL19; + } + CPy_INCREF(cpy_r_r11); +CPyL10: ; + cpy_r_r12 = CPyStatic_lru_cache___globals; + cpy_r_r13 = CPyStatics[500]; /* 'wraps' */ + cpy_r_r14 = CPyDict_GetItem(cpy_r_r12, cpy_r_r13); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 40, CPyStatic_lru_cache___globals); + goto CPyL20; + } + PyObject *cpy_r_r15[1] = {cpy_r_r11}; + cpy_r_r16 = (PyObject **)&cpy_r_r15; + cpy_r_r17 = PyObject_Vectorcall(cpy_r_r14, cpy_r_r16, 1, 0); + CPy_DECREF(cpy_r_r14); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 40, CPyStatic_lru_cache___globals); + goto CPyL20; + } + CPy_DECREF(cpy_r_r11); + PyObject *cpy_r_r18[1] = {cpy_r_r9}; + cpy_r_r19 = (PyObject **)&cpy_r_r18; + cpy_r_r20 = PyObject_Vectorcall(cpy_r_r17, cpy_r_r19, 1, 0); + CPy_DECREF(cpy_r_r17); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 41, CPyStatic_lru_cache___globals); + goto CPyL19; + } + CPy_DECREF_NO_IMM(cpy_r_r9); + CPy_INCREF(cpy_r_r20); + cpy_r_r21 = CPyStatic_lru_cache___globals; + cpy_r_r22 = CPyStatics[677]; /* 'lru_cache_lite_wrap' */ + cpy_r_r23 = PyDict_SetItem(cpy_r_r21, cpy_r_r22, cpy_r_r20); + CPy_DECREF(cpy_r_r20); + cpy_r_r24 = cpy_r_r23 >= 0; + if (unlikely(!cpy_r_r24)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 41, CPyStatic_lru_cache___globals); + goto CPyL21; + } + cpy_r_r25 = ((dank_mids___helpers___lru_cache___lru_cache_lite_envObject *)cpy_r_r0)->_cache; + if (unlikely(cpy_r_r25 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute 'cache' of 'lru_cache_lite_env' undefined"); + } else { + CPy_INCREF(cpy_r_r25); + } + CPy_DECREF_NO_IMM(cpy_r_r0); + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 48, CPyStatic_lru_cache___globals); + goto CPyL22; + } +CPyL15: ; + cpy_r_r26 = CPyStatics[678]; /* '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; + if (unlikely(!cpy_r_r28)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 48, CPyStatic_lru_cache___globals); + goto CPyL22; + } + return cpy_r_r20; +CPyL17: ; + cpy_r_r29 = NULL; + return cpy_r_r29; +CPyL18: ; + CPy_DecRef(cpy_r_r0); + goto CPyL17; +CPyL19: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r9); + goto CPyL17; +CPyL20: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r11); + goto CPyL17; +CPyL21: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r20); + goto CPyL17; +CPyL22: ; + CPy_DecRef(cpy_r_r20); + goto CPyL17; +} + +PyObject *CPyPy_lru_cache___lru_cache_lite(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"func", 0}; + static CPyArg_Parser parser = {"O:lru_cache_lite", kwlist, 0}; + PyObject *obj_func; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_func)) { + return NULL; + } + PyObject *arg_func = obj_func; + PyObject *retval = CPyDef_lru_cache___lru_cache_lite(arg_func); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 11, CPyStatic_lru_cache___globals); + return NULL; +} + +PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "__get__", -1, CPyStatic_lru_cache___globals); + return NULL; +} + +PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_args) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_retval; + PyObject *cpy_r_r3; + char cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + int32_t cpy_r_r8; + char cpy_r_r9; + PyObject *cpy_r_r10; + cpy_r_r0 = ((dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *)cpy_r___mypyc_self__)->___mypyc_env__; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", "lru_cache_lite_wrap_lru_cache_lite_nonull_obj", "__mypyc_env__", 89, CPyStatic_lru_cache___globals); + goto CPyL9; + } + CPy_INCREF_NO_IMM(cpy_r_r0); +CPyL1: ; + cpy_r_r1 = ((dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *)cpy_r_r0)->_cache; + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", "lru_cache_lite_nonull_env", "cache", 90, CPyStatic_lru_cache___globals); + goto CPyL10; + } + CPy_INCREF(cpy_r_r1); +CPyL2: ; + cpy_r_r2 = CPyDict_GetWithNone(cpy_r_r1, cpy_r_args); + CPy_DECREF(cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", 90, CPyStatic_lru_cache___globals); + goto CPyL10; + } + cpy_r_retval = cpy_r_r2; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = cpy_r_retval == cpy_r_r3; + if (cpy_r_r4) { + goto CPyL11; + } else + goto CPyL12; +CPyL4: ; + cpy_r_r5 = ((dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *)cpy_r_r0)->_func; + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", "lru_cache_lite_nonull_env", "func", 92, CPyStatic_lru_cache___globals); + goto CPyL10; + } + CPy_INCREF(cpy_r_r5); +CPyL5: ; + cpy_r_r6 = PyObject_CallObject(cpy_r_r5, cpy_r_args); + CPy_DECREF(cpy_r_r5); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", 92, CPyStatic_lru_cache___globals); + goto CPyL10; + } + cpy_r_retval = cpy_r_r6; + cpy_r_r7 = ((dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *)cpy_r_r0)->_cache; + if (unlikely(cpy_r_r7 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute 'cache' of 'lru_cache_lite_nonull_env' undefined"); + } else { + CPy_INCREF(cpy_r_r7); + } + CPy_DECREF_NO_IMM(cpy_r_r0); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", 93, CPyStatic_lru_cache___globals); + goto CPyL13; + } +CPyL7: ; + cpy_r_r8 = CPyDict_SetItem(cpy_r_r7, cpy_r_args, cpy_r_retval); + CPy_DECREF(cpy_r_r7); + cpy_r_r9 = cpy_r_r8 >= 0; + if (unlikely(!cpy_r_r9)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", 93, CPyStatic_lru_cache___globals); + goto CPyL13; + } +CPyL8: ; + return cpy_r_retval; +CPyL9: ; + cpy_r_r10 = NULL; + return cpy_r_r10; +CPyL10: ; + CPy_DecRef(cpy_r_r0); + goto CPyL9; +CPyL11: ; + CPy_DECREF(cpy_r_retval); + goto CPyL4; +CPyL12: ; + CPy_DECREF_NO_IMM(cpy_r_r0); + goto CPyL8; +CPyL13: ; + CPy_DecRef(cpy_r_retval); + goto CPyL9; +} + +PyObject *CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {"%:__call__", kwlist, 0}; + PyObject *obj_args; + if (!CPyArg_ParseStackAndKeywords(args, PyVectorcall_NARGS(nargs), kwnames, &parser, &obj_args, NULL)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_args = obj_args; + PyObject *retval = CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____call__(arg___mypyc_self__, arg_args); + CPy_DECREF(obj_args); + return retval; +fail: ; + CPy_DECREF(obj_args); + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_wrap", 89, CPyStatic_lru_cache___globals); + return NULL; +} + +PyObject *CPyDef_lru_cache___lru_cache_lite_nonull(PyObject *cpy_r_func) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject **cpy_r_r11; + PyObject *cpy_r_r12; + PyObject **cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + int32_t cpy_r_r18; + char cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + int32_t cpy_r_r22; + char cpy_r_r23; + PyObject *cpy_r_r24; + cpy_r_r0 = CPyDef_lru_cache___lru_cache_lite_nonull_env(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_nonull", 52, CPyStatic_lru_cache___globals); + goto CPyL14; + } + CPy_INCREF(cpy_r_func); + if (((dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *)cpy_r_r0)->_func != NULL) { + CPy_DECREF(((dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *)cpy_r_r0)->_func); + } + ((dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *)cpy_r_r0)->_func = cpy_r_func; + cpy_r_r1 = 1; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_nonull", 52, CPyStatic_lru_cache___globals); + goto CPyL15; + } + cpy_r_r2 = PyDict_New(); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_nonull", 86, CPyStatic_lru_cache___globals); + goto CPyL15; + } + if (((dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *)cpy_r_r0)->_cache != NULL) { + CPy_DECREF(((dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *)cpy_r_r0)->_cache); + } + ((dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *)cpy_r_r0)->_cache = cpy_r_r2; + cpy_r_r3 = 1; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_nonull", 86, CPyStatic_lru_cache___globals); + goto CPyL15; + } + cpy_r_r4 = CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj(); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_nonull", 89, CPyStatic_lru_cache___globals); + goto CPyL15; + } + CPy_INCREF_NO_IMM(cpy_r_r0); + if (((dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *)cpy_r_r4)->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *)cpy_r_r4)->___mypyc_env__); + } + ((dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *)cpy_r_r4)->___mypyc_env__ = cpy_r_r0; + cpy_r_r5 = 1; + if (unlikely(!cpy_r_r5)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_nonull", 89, CPyStatic_lru_cache___globals); + goto CPyL16; + } + cpy_r_r6 = ((dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *)cpy_r_r0)->_func; + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_nonull", "lru_cache_lite_nonull_env", "func", 88, CPyStatic_lru_cache___globals); + goto CPyL16; + } + CPy_INCREF(cpy_r_r6); +CPyL7: ; + cpy_r_r7 = CPyStatic_lru_cache___globals; + cpy_r_r8 = CPyStatics[500]; /* 'wraps' */ + cpy_r_r9 = CPyDict_GetItem(cpy_r_r7, cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_nonull", 88, CPyStatic_lru_cache___globals); + goto CPyL17; + } + PyObject *cpy_r_r10[1] = {cpy_r_r6}; + cpy_r_r11 = (PyObject **)&cpy_r_r10; + cpy_r_r12 = PyObject_Vectorcall(cpy_r_r9, cpy_r_r11, 1, 0); + CPy_DECREF(cpy_r_r9); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_nonull", 88, CPyStatic_lru_cache___globals); + goto CPyL17; + } + CPy_DECREF(cpy_r_r6); + PyObject *cpy_r_r13[1] = {cpy_r_r4}; + cpy_r_r14 = (PyObject **)&cpy_r_r13; + cpy_r_r15 = PyObject_Vectorcall(cpy_r_r12, cpy_r_r14, 1, 0); + CPy_DECREF(cpy_r_r12); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_nonull", 89, CPyStatic_lru_cache___globals); + goto CPyL16; + } + CPy_DECREF_NO_IMM(cpy_r_r4); + CPy_INCREF(cpy_r_r15); + cpy_r_r16 = CPyStatic_lru_cache___globals; + cpy_r_r17 = CPyStatics[677]; /* 'lru_cache_lite_wrap' */ + cpy_r_r18 = PyDict_SetItem(cpy_r_r16, cpy_r_r17, cpy_r_r15); + CPy_DECREF(cpy_r_r15); + cpy_r_r19 = cpy_r_r18 >= 0; + if (unlikely(!cpy_r_r19)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_nonull", 89, CPyStatic_lru_cache___globals); + goto CPyL18; + } + cpy_r_r20 = ((dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *)cpy_r_r0)->_cache; + if (unlikely(cpy_r_r20 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute 'cache' of 'lru_cache_lite_nonull_env' undefined"); + } else { + CPy_INCREF(cpy_r_r20); + } + CPy_DECREF_NO_IMM(cpy_r_r0); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_nonull", 96, CPyStatic_lru_cache___globals); + goto CPyL19; + } +CPyL12: ; + cpy_r_r21 = CPyStatics[678]; /* '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; + if (unlikely(!cpy_r_r23)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_nonull", 96, CPyStatic_lru_cache___globals); + goto CPyL19; + } + return cpy_r_r15; +CPyL14: ; + cpy_r_r24 = NULL; + return cpy_r_r24; +CPyL15: ; + CPy_DecRef(cpy_r_r0); + goto CPyL14; +CPyL16: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r4); + goto CPyL14; +CPyL17: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r4); + CPy_DecRef(cpy_r_r6); + goto CPyL14; +CPyL18: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r15); + goto CPyL14; +CPyL19: ; + CPy_DecRef(cpy_r_r15); + goto CPyL14; +} + +PyObject *CPyPy_lru_cache___lru_cache_lite_nonull(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"func", 0}; + static CPyArg_Parser parser = {"O:lru_cache_lite_nonull", kwlist, 0}; + PyObject *obj_func; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_func)) { + return NULL; + } + PyObject *arg_func = obj_func; + PyObject *retval = CPyDef_lru_cache___lru_cache_lite_nonull(arg_func); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite_nonull", 52, CPyStatic_lru_cache___globals); + return NULL; +} + +char CPyDef_lru_cache_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject **cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + int32_t cpy_r_r26; + char cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject **cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + int32_t cpy_r_r37; + char cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + CPyPtr cpy_r_r42; + CPyPtr cpy_r_r43; + CPyPtr cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + int32_t cpy_r_r47; + char cpy_r_r48; + char cpy_r_r49; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "", -1, CPyStatic_lru_cache___globals); + goto CPyL15; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[997]; /* ('wraps',) */ + cpy_r_r6 = CPyStatics[504]; /* '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); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "", 1, CPyStatic_lru_cache___globals); + goto CPyL15; + } + CPyModule_functools = cpy_r_r8; + CPy_INCREF(CPyModule_functools); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[1041]; /* ('Callable', 'Dict', 'TypeVar') */ + cpy_r_r10 = CPyStatics[40]; /* '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); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "", 2, CPyStatic_lru_cache___globals); + goto CPyL15; + } + CPyModule_typing = cpy_r_r12; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = CPyStatics[1042]; /* ('ParamSpec',) */ + cpy_r_r14 = CPyStatics[348]; /* '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)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "", 4, CPyStatic_lru_cache___globals); + goto CPyL15; + } + CPyModule_typing_extensions = cpy_r_r16; + CPy_INCREF(CPyModule_typing_extensions); + CPy_DECREF(cpy_r_r16); + cpy_r_r17 = CPyStatics[680]; /* '__P' */ + cpy_r_r18 = CPyStatic_lru_cache___globals; + cpy_r_r19 = CPyStatics[679]; /* '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); + goto CPyL15; + } + PyObject *cpy_r_r21[1] = {cpy_r_r17}; + cpy_r_r22 = (PyObject **)&cpy_r_r21; + cpy_r_r23 = PyObject_Vectorcall(cpy_r_r20, cpy_r_r22, 1, 0); + CPy_DECREF(cpy_r_r20); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "", 7, CPyStatic_lru_cache___globals); + goto CPyL15; + } + cpy_r_r24 = CPyStatic_lru_cache___globals; + cpy_r_r25 = CPyStatics[680]; /* '__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; + if (unlikely(!cpy_r_r27)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "", 7, CPyStatic_lru_cache___globals); + goto CPyL15; + } + cpy_r_r28 = CPyStatics[55]; /* '__T' */ + cpy_r_r29 = CPyStatic_lru_cache___globals; + cpy_r_r30 = CPyStatics[37]; /* 'TypeVar' */ + cpy_r_r31 = CPyDict_GetItem(cpy_r_r29, cpy_r_r30); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "", 8, CPyStatic_lru_cache___globals); + goto CPyL15; + } + PyObject *cpy_r_r32[1] = {cpy_r_r28}; + cpy_r_r33 = (PyObject **)&cpy_r_r32; + cpy_r_r34 = PyObject_Vectorcall(cpy_r_r31, cpy_r_r33, 1, 0); + CPy_DECREF(cpy_r_r31); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "", 8, CPyStatic_lru_cache___globals); + goto CPyL15; + } + cpy_r_r35 = CPyStatic_lru_cache___globals; + cpy_r_r36 = CPyStatics[55]; /* '__T' */ + cpy_r_r37 = CPyDict_SetItem(cpy_r_r35, cpy_r_r36, cpy_r_r34); + CPy_DECREF(cpy_r_r34); + cpy_r_r38 = cpy_r_r37 >= 0; + if (unlikely(!cpy_r_r38)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "", 8, CPyStatic_lru_cache___globals); + goto CPyL15; + } + cpy_r_r39 = CPyStatics[528]; /* 'lru_cache_lite' */ + cpy_r_r40 = CPyStatics[448]; /* 'lru_cache_lite_nonull' */ + cpy_r_r41 = PyList_New(2); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "", 100, CPyStatic_lru_cache___globals); + goto CPyL15; + } + cpy_r_r42 = (CPyPtr)&((PyListObject *)cpy_r_r41)->ob_item; + cpy_r_r43 = *(CPyPtr *)cpy_r_r42; + CPy_INCREF(cpy_r_r39); + *(PyObject * *)cpy_r_r43 = cpy_r_r39; + CPy_INCREF(cpy_r_r40); + cpy_r_r44 = cpy_r_r43 + 8; + *(PyObject * *)cpy_r_r44 = cpy_r_r40; + cpy_r_r45 = CPyStatic_lru_cache___globals; + cpy_r_r46 = CPyStatics[226]; /* '__all__' */ + cpy_r_r47 = CPyDict_SetItem(cpy_r_r45, cpy_r_r46, cpy_r_r41); + CPy_DECREF_NO_IMM(cpy_r_r41); + cpy_r_r48 = cpy_r_r47 >= 0; + if (unlikely(!cpy_r_r48)) { + CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "", 100, CPyStatic_lru_cache___globals); + goto CPyL15; + } + return 1; +CPyL15: ; + cpy_r_r49 = 2; + return cpy_r_r49; +} +static PyMethodDef methodmodule_methods[] = { + {"get_len", (PyCFunction)CPyPy_method___get_len, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("get_len(method)\n--\n\n") /* docstring */}, + {"should_batch", (PyCFunction)CPyPy_method___should_batch, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("should_batch(method)\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___helpers___method(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___helpers___method__internal, "__name__"); + CPyStatic_method___globals = PyModule_GetDict(CPyModule_dank_mids___helpers___method__internal); + if (unlikely(CPyStatic_method___globals == NULL)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_method_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___helpers___method__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic_method___BYPASS_METHODS.f0); + CPy_XDECREF(CPyStatic_method___BYPASS_METHODS.f1); + CPy_XDECREF(CPyStatic_method___BYPASS_METHODS.f2); + CPy_XDECREF(CPyStatic_method___BYPASS_METHODS.f3); + CPyStatic_method___BYPASS_METHODS = (tuple_T4OOOO) { NULL, NULL, NULL, NULL }; + return -1; +} +static struct PyModuleDef methodmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.helpers.method", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + methodmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___helpers___method(void) +{ + if (CPyModule_dank_mids___helpers___method__internal) { + Py_INCREF(CPyModule_dank_mids___helpers___method__internal); + return CPyModule_dank_mids___helpers___method__internal; + } + CPyModule_dank_mids___helpers___method__internal = PyModule_Create(&methodmodule); + if (unlikely(CPyModule_dank_mids___helpers___method__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___helpers___method(CPyModule_dank_mids___helpers___method__internal) != 0) + goto fail; + return CPyModule_dank_mids___helpers___method__internal; + fail: + return NULL; +} + +CPyTagged CPyDef_method___get_len(PyObject *cpy_r_method) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + int32_t cpy_r_r3; + char cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + int32_t cpy_r_r7; + char cpy_r_r8; + char cpy_r_r9; + CPyTagged cpy_r_r10; + cpy_r_r0 = CPyStatics[681]; /* 'eth_getTransactionReceipt' */ + cpy_r_r1 = CPyStr_Equal(cpy_r_method, cpy_r_r0); + if (!cpy_r_r1) goto CPyL2; + return 10; +CPyL2: ; + cpy_r_r2 = CPyStatics[1068]; /* frozenset({'eth_getTransaction', 'eth_getCode'}) */ + cpy_r_r3 = PySet_Contains(cpy_r_r2, cpy_r_method); + cpy_r_r4 = cpy_r_r3 >= 0; + if (unlikely(!cpy_r_r4)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "get_len", 18, CPyStatic_method___globals); + goto CPyL8; + } + cpy_r_r5 = cpy_r_r3; + if (cpy_r_r5) goto CPyL6; + cpy_r_r6 = CPyStatics[684]; /* 'eth_getBlockBy' */ + cpy_r_r7 = PyUnicode_Contains(cpy_r_method, cpy_r_r6); + cpy_r_r8 = cpy_r_r7 >= 0; + if (unlikely(!cpy_r_r8)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "get_len", 18, CPyStatic_method___globals); + goto CPyL8; + } + cpy_r_r9 = cpy_r_r7; + if (!cpy_r_r9) goto CPyL7; +CPyL6: ; + return 6; +CPyL7: ; + return 2; +CPyL8: ; + cpy_r_r10 = CPY_INT_TAG; + return cpy_r_r10; +} + +PyObject *CPyPy_method___get_len(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"method", 0}; + static CPyArg_Parser parser = {"O:get_len", kwlist, 0}; + PyObject *obj_method; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_method)) { + return NULL; + } + PyObject *arg_method; + if (likely(PyUnicode_Check(obj_method))) + arg_method = obj_method; + else { + CPy_TypeError("str", obj_method); + goto fail; + } + CPyTagged retval = CPyDef_method___get_len(arg_method); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\method.py", "get_len", 14, CPyStatic_method___globals); + return NULL; +} + +char CPyDef_method___should_batch(PyObject *cpy_r_method) { + char cpy_r_r0; + tuple_T4OOOO cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + int32_t cpy_r_r7; + char cpy_r_r8; + char cpy_r_r9; + char cpy_r_r10; + char cpy_r_r11; + char cpy_r_r12; + char cpy_r_r13; + cpy_r_r0 = 1; + cpy_r_r1 = CPyStatic_method___BYPASS_METHODS; + if (likely(cpy_r_r1.f0 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"BYPASS_METHODS\" was not set"); + cpy_r_r2 = 0; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "should_batch", 25, CPyStatic_method___globals); + goto CPyL11; + } + CPy_Unreachable(); +CPyL3: ; + CPy_INCREF(cpy_r_r1.f0); + CPy_INCREF(cpy_r_r1.f1); + CPy_INCREF(cpy_r_r1.f2); + CPy_INCREF(cpy_r_r1.f3); + cpy_r_r3 = PyTuple_New(4); + if (unlikely(cpy_r_r3 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp325 = cpy_r_r1.f0; + PyTuple_SET_ITEM(cpy_r_r3, 0, __tmp325); + PyObject *__tmp326 = cpy_r_r1.f1; + PyTuple_SET_ITEM(cpy_r_r3, 1, __tmp326); + PyObject *__tmp327 = cpy_r_r1.f2; + PyTuple_SET_ITEM(cpy_r_r3, 2, __tmp327); + PyObject *__tmp328 = cpy_r_r1.f3; + PyTuple_SET_ITEM(cpy_r_r3, 3, __tmp328); + cpy_r_r4 = PyObject_GetIter(cpy_r_r3); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "should_batch", 25, CPyStatic_method___globals); + goto CPyL11; + } +CPyL4: ; + cpy_r_r5 = PyIter_Next(cpy_r_r4); + if (cpy_r_r5 == NULL) goto CPyL12; + if (likely(PyUnicode_Check(cpy_r_r5))) + cpy_r_r6 = cpy_r_r5; + else { + CPy_TypeErrorTraceback("dank_mids\\helpers\\method.py", "should_batch", 25, CPyStatic_method___globals, "str", cpy_r_r5); + goto CPyL13; + } + cpy_r_r7 = PyUnicode_Contains(cpy_r_method, cpy_r_r6); + CPy_DECREF(cpy_r_r6); + cpy_r_r8 = cpy_r_r7 >= 0; + if (unlikely(!cpy_r_r8)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "should_batch", 25, CPyStatic_method___globals); + goto CPyL13; + } + cpy_r_r9 = cpy_r_r7; + cpy_r_r10 = cpy_r_r9 ^ 1; + cpy_r_r11 = cpy_r_r10 ^ 1; + if (cpy_r_r11) { + goto CPyL14; + } else + goto CPyL4; +CPyL8: ; + cpy_r_r0 = 0; + goto CPyL10; +CPyL9: ; + cpy_r_r12 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r12)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "should_batch", 25, CPyStatic_method___globals); + goto CPyL11; + } +CPyL10: ; + return cpy_r_r0; +CPyL11: ; + cpy_r_r13 = 2; + return cpy_r_r13; +CPyL12: ; + CPy_DECREF(cpy_r_r4); + goto CPyL9; +CPyL13: ; + CPy_DecRef(cpy_r_r4); + goto CPyL11; +CPyL14: ; + CPy_DECREF(cpy_r_r4); + goto CPyL8; +} + +PyObject *CPyPy_method___should_batch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"method", 0}; + static CPyArg_Parser parser = {"O:should_batch", kwlist, 0}; + PyObject *obj_method; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_method)) { + return NULL; + } + PyObject *arg_method; + if (likely(PyUnicode_Check(obj_method))) + arg_method = obj_method; + else { + CPy_TypeError("str", obj_method); + goto fail; + } + char retval = CPyDef_method___should_batch(arg_method); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\helpers\\method.py", "should_batch", 24, CPyStatic_method___globals); + return NULL; +} + +char CPyDef_method_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + tuple_T4OOOO cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + int32_t cpy_r_r21; + char cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject **cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + int32_t cpy_r_r34; + char cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject **cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + int32_t cpy_r_r47; + char cpy_r_r48; + char cpy_r_r49; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "", -1, CPyStatic_method___globals); + goto CPyL15; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[920]; /* ('Final',) */ + cpy_r_r6 = CPyStatics[40]; /* 'typing' */ + cpy_r_r7 = CPyStatic_method___globals; + cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "", 1, CPyStatic_method___globals); + goto CPyL15; + } + CPyModule_typing = cpy_r_r8; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[996]; /* ('lru_cache_lite_nonull',) */ + cpy_r_r10 = CPyStatics[449]; /* 'dank_mids.helpers.lru_cache' */ + cpy_r_r11 = CPyStatic_method___globals; + cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "", 3, CPyStatic_method___globals); + goto CPyL15; + } + CPyModule_dank_mids___helpers___lru_cache = cpy_r_r12; + CPy_INCREF(CPyModule_dank_mids___helpers___lru_cache); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = CPyStatics[685]; /* 'eth_blockNumber' */ + cpy_r_r14 = CPyStatics[686]; /* 'eth_getLogs' */ + cpy_r_r15 = CPyStatics[687]; /* 'trace_' */ + cpy_r_r16 = CPyStatics[688]; /* 'debug_' */ + CPy_INCREF(cpy_r_r13); + CPy_INCREF(cpy_r_r14); + CPy_INCREF(cpy_r_r15); + CPy_INCREF(cpy_r_r16); + cpy_r_r17.f0 = cpy_r_r13; + cpy_r_r17.f1 = cpy_r_r14; + cpy_r_r17.f2 = cpy_r_r15; + cpy_r_r17.f3 = cpy_r_r16; + CPyStatic_method___BYPASS_METHODS = cpy_r_r17; + CPy_INCREF(CPyStatic_method___BYPASS_METHODS.f0); + CPy_INCREF(CPyStatic_method___BYPASS_METHODS.f1); + CPy_INCREF(CPyStatic_method___BYPASS_METHODS.f2); + CPy_INCREF(CPyStatic_method___BYPASS_METHODS.f3); + cpy_r_r18 = CPyStatic_method___globals; + cpy_r_r19 = CPyStatics[689]; /* 'BYPASS_METHODS' */ + cpy_r_r20 = PyTuple_New(4); + if (unlikely(cpy_r_r20 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp329 = cpy_r_r17.f0; + PyTuple_SET_ITEM(cpy_r_r20, 0, __tmp329); + PyObject *__tmp330 = cpy_r_r17.f1; + PyTuple_SET_ITEM(cpy_r_r20, 1, __tmp330); + PyObject *__tmp331 = cpy_r_r17.f2; + PyTuple_SET_ITEM(cpy_r_r20, 2, __tmp331); + PyObject *__tmp332 = cpy_r_r17.f3; + PyTuple_SET_ITEM(cpy_r_r20, 3, __tmp332); + cpy_r_r21 = CPyDict_SetItem(cpy_r_r18, cpy_r_r19, cpy_r_r20); + CPy_DECREF(cpy_r_r20); + cpy_r_r22 = cpy_r_r21 >= 0; + if (unlikely(!cpy_r_r22)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "", 6, CPyStatic_method___globals); + goto CPyL15; + } + cpy_r_r23 = CPyStatic_method___globals; + cpy_r_r24 = CPyStatics[690]; /* 'get_len' */ + cpy_r_r25 = CPyDict_GetItem(cpy_r_r23, cpy_r_r24); + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "", 13, CPyStatic_method___globals); + goto CPyL15; + } + cpy_r_r26 = CPyStatic_method___globals; + cpy_r_r27 = CPyStatics[448]; /* 'lru_cache_lite_nonull' */ + cpy_r_r28 = CPyDict_GetItem(cpy_r_r26, cpy_r_r27); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "", 13, CPyStatic_method___globals); + goto CPyL16; + } + PyObject *cpy_r_r29[1] = {cpy_r_r25}; + cpy_r_r30 = (PyObject **)&cpy_r_r29; + cpy_r_r31 = PyObject_Vectorcall(cpy_r_r28, cpy_r_r30, 1, 0); + CPy_DECREF(cpy_r_r28); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "", 13, CPyStatic_method___globals); + goto CPyL16; + } + CPy_DECREF(cpy_r_r25); + cpy_r_r32 = CPyStatic_method___globals; + cpy_r_r33 = CPyStatics[690]; /* 'get_len' */ + cpy_r_r34 = PyDict_SetItem(cpy_r_r32, cpy_r_r33, cpy_r_r31); + CPy_DECREF(cpy_r_r31); + cpy_r_r35 = cpy_r_r34 >= 0; + if (unlikely(!cpy_r_r35)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "", 13, CPyStatic_method___globals); + goto CPyL15; + } + cpy_r_r36 = CPyStatic_method___globals; + cpy_r_r37 = CPyStatics[691]; /* 'should_batch' */ + cpy_r_r38 = CPyDict_GetItem(cpy_r_r36, cpy_r_r37); + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "", 23, CPyStatic_method___globals); + goto CPyL15; + } + cpy_r_r39 = CPyStatic_method___globals; + cpy_r_r40 = CPyStatics[448]; /* 'lru_cache_lite_nonull' */ + cpy_r_r41 = CPyDict_GetItem(cpy_r_r39, cpy_r_r40); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "", 23, CPyStatic_method___globals); + goto CPyL17; + } + PyObject *cpy_r_r42[1] = {cpy_r_r38}; + cpy_r_r43 = (PyObject **)&cpy_r_r42; + cpy_r_r44 = PyObject_Vectorcall(cpy_r_r41, cpy_r_r43, 1, 0); + CPy_DECREF(cpy_r_r41); + if (unlikely(cpy_r_r44 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "", 23, CPyStatic_method___globals); + goto CPyL17; + } + CPy_DECREF(cpy_r_r38); + cpy_r_r45 = CPyStatic_method___globals; + cpy_r_r46 = CPyStatics[691]; /* 'should_batch' */ + cpy_r_r47 = PyDict_SetItem(cpy_r_r45, cpy_r_r46, cpy_r_r44); + CPy_DECREF(cpy_r_r44); + cpy_r_r48 = cpy_r_r47 >= 0; + if (unlikely(!cpy_r_r48)) { + CPy_AddTraceback("dank_mids\\helpers\\method.py", "", 23, CPyStatic_method___globals); + goto CPyL15; + } + return 1; +CPyL15: ; + cpy_r_r49 = 2; + return cpy_r_r49; +CPyL16: ; + CPy_DecRef(cpy_r_r25); + goto CPyL15; +CPyL17: ; + CPy_DecRef(cpy_r_r38); + goto CPyL15; +} + +PyObject *CPyDef_stats_____mypyc___3_StatsLogger_setup(PyObject *cpy_r_type); +PyObject *CPyDef_stats____StatsLogger(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); + +static PyObject * +stats____StatsLogger_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_stats____StatsLogger) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_stats_____mypyc___3_StatsLogger_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +stats____StatsLogger_traverse(dank_mids___stats____StatsLoggerObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->__daemon); + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +stats____StatsLogger_clear(dank_mids___stats____StatsLoggerObject *self) +{ + Py_CLEAR(self->__daemon); + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +stats____StatsLogger_dealloc(dank_mids___stats____StatsLoggerObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, stats____StatsLogger_dealloc) + stats____StatsLogger_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem stats____StatsLogger_vtable[14]; +static bool +CPyDef_stats____StatsLogger_trait_vtable_setup(void) +{ + CPyVTableItem stats____StatsLogger_vtable_scratch[] = { + (CPyVTableItem)CPyDef_stats____StatsLogger___enabled, + (CPyVTableItem)CPyDef_stats____StatsLogger___stats, + (CPyVTableItem)CPyDef_stats____StatsLogger___devhint, + (CPyVTableItem)CPyDef_stats____StatsLogger___log_brownie_stats, + (CPyVTableItem)CPyDef_stats____StatsLogger___log_event_loop_stats, + (CPyVTableItem)CPyDef_stats____StatsLogger___log_subprocess_stats, + (CPyVTableItem)CPyDef_stats____StatsLogger____log, + (CPyVTableItem)CPyDef_stats____StatsLogger____log_nocheck, + (CPyVTableItem)CPyDef_stats____StatsLogger____log_fn_result, + (CPyVTableItem)CPyDef_stats____StatsLogger____ensure_daemon, + (CPyVTableItem)CPyDef_stats____StatsLogger____stats_daemon, + (CPyVTableItem)CPyDef_stats____StatsLogger___log_validation_error, + (CPyVTableItem)CPyDef_stats____StatsLogger___log_types, + (CPyVTableItem)CPyDef_stats____StatsLogger____log_list_types, + }; + memcpy(stats____StatsLogger_vtable, stats____StatsLogger_vtable_scratch, sizeof(stats____StatsLogger_vtable)); + return 1; +} + +static PyObject * +stats____StatsLogger_get__daemon(dank_mids___stats____StatsLoggerObject *self, void *closure); +static int +stats____StatsLogger_set__daemon(dank_mids___stats____StatsLoggerObject *self, PyObject *value, void *closure); +static PyObject * +stats____StatsLogger_get_enabled(dank_mids___stats____StatsLoggerObject *self, void *closure); + +static PyGetSetDef stats____StatsLogger_getseters[] = { + {"_daemon", + (getter)stats____StatsLogger_get__daemon, (setter)stats____StatsLogger_set__daemon, + NULL, NULL}, + {"enabled", + (getter)stats____StatsLogger_get_enabled, + NULL, NULL, NULL}, + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef stats____StatsLogger_methods[] = { + {"stats", + (PyCFunction)CPyPy_stats____StatsLogger___stats, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("stats($self, msg, *args, **kwargs)\n--\n\n")}, + {"devhint", + (PyCFunction)CPyPy_stats____StatsLogger___devhint, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("devhint($self, msg, *args, **kwargs)\n--\n\n")}, + {"log_brownie_stats", + (PyCFunction)CPyPy_stats____StatsLogger___log_brownie_stats, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("log_brownie_stats($self, *, level=13)\n--\n\n")}, + {"log_event_loop_stats", + (PyCFunction)CPyPy_stats____StatsLogger___log_event_loop_stats, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("log_event_loop_stats($self, *, level=13)\n--\n\n")}, + {"log_subprocess_stats", + (PyCFunction)CPyPy_stats____StatsLogger___log_subprocess_stats, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("log_subprocess_stats($self, *, level=13)\n--\n\n")}, + {"_log", + (PyCFunction)CPyPy_stats____StatsLogger____log, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_log($self, level, msg, args=(), **kwargs)\n--\n\n")}, + {"_log_nocheck", + (PyCFunction)CPyPy_stats____StatsLogger____log_nocheck, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_log_nocheck($self, level, msg, *args, **kwargs)\n--\n\n")}, + {"_log_fn_result", + (PyCFunction)CPyPy_stats____StatsLogger____log_fn_result, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_log_fn_result($self, level, callable, *callable_args, **logging_kwargs)\n--\n\n")}, + {"_ensure_daemon", + (PyCFunction)CPyPy_stats____StatsLogger____ensure_daemon, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_ensure_daemon($self)\n--\n\n")}, + {"_stats_daemon", + (PyCFunction)CPyPy_stats____StatsLogger____stats_daemon, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_stats_daemon($self)\n--\n\n")}, + {"log_validation_error", + (PyCFunction)CPyPy_stats____StatsLogger___log_validation_error, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("log_validation_error($self, method, e)\n--\n\n")}, + {"log_types", + (PyCFunction)CPyPy_stats____StatsLogger___log_types, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("log_types($self, method, decoded)\n--\n\n")}, + {"_log_list_types", + (PyCFunction)CPyPy_stats____StatsLogger____log_list_types, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("_log_list_types($self, values, level=15)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_stats____StatsLogger_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "_StatsLogger", + .tp_new = stats____StatsLogger_new, + .tp_dealloc = (destructor)stats____StatsLogger_dealloc, + .tp_traverse = (traverseproc)stats____StatsLogger_traverse, + .tp_clear = (inquiry)stats____StatsLogger_clear, + .tp_getset = stats____StatsLogger_getseters, + .tp_methods = stats____StatsLogger_methods, + .tp_basicsize = sizeof(dank_mids___stats____StatsLoggerObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("_StatsLogger()\n--\n\n"), +}; +static PyTypeObject *CPyType_stats____StatsLogger_template = &CPyType_stats____StatsLogger_template_; + +PyObject *CPyDef_stats_____mypyc___3_StatsLogger_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___stats____StatsLoggerObject *self; + self = (dank_mids___stats____StatsLoggerObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = stats____StatsLogger_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef_stats____StatsLogger(PyObject *cpy_r_args, PyObject *cpy_r_kwargs) +{ + PyObject *self = CPyDef_stats_____mypyc___3_StatsLogger_setup((PyObject *)CPyType_stats____StatsLogger); + if (self == NULL) + return NULL; + int res = CPyType_stats____StatsLogger->tp_init(self, cpy_r_args, cpy_r_kwargs); + if (res < 0) { + Py_DECREF(self); + return NULL; + } + return self; +} + +static PyObject * +stats____StatsLogger_get__daemon(dank_mids___stats____StatsLoggerObject *self, void *closure) +{ + if (unlikely(self->__daemon == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '_daemon' of '_StatsLogger' undefined"); + return NULL; + } + CPy_INCREF(self->__daemon); + PyObject *retval = self->__daemon; + return retval; +} + +static int +stats____StatsLogger_set__daemon(dank_mids___stats____StatsLoggerObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'_StatsLogger' object attribute '_daemon' cannot be deleted"); + return -1; + } + if (self->__daemon != NULL) { + CPy_DECREF(self->__daemon); + } + PyObject *tmp = value; + CPy_INCREF(tmp); + self->__daemon = tmp; + return 0; +} + +static PyObject * +stats____StatsLogger_get_enabled(dank_mids___stats____StatsLoggerObject *self, void *closure) +{ + char retval = CPyDef_stats____StatsLogger___enabled((PyObject *) self); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; +} + +static int +stats____Collector_init(PyObject *self, PyObject *args, PyObject *kwds) +{ + return 0; +} +PyObject *CPyDef_stats_____mypyc___3_Collector_setup(PyObject *cpy_r_type); +PyObject *CPyDef_stats____Collector(void); + +static PyObject * +stats____Collector_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_stats____Collector) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_stats_____mypyc___3_Collector_setup((PyObject*)type); + if (self == NULL) + return NULL; + PyObject *ret = CPyPy_stats____Collector_____init__(self, args, kwds); + if (ret == NULL) + return NULL; + return self; +} + +static int +stats____Collector_traverse(dank_mids___stats____CollectorObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->_errd_batches); + Py_VISIT(self->_durations); + Py_VISIT(self->_types); + Py_VISIT(self->_event_loop_times); + Py_VISIT(self->_validation_errors); + return 0; +} + +static int +stats____Collector_clear(dank_mids___stats____CollectorObject *self) +{ + Py_CLEAR(self->_errd_batches); + Py_CLEAR(self->_durations); + Py_CLEAR(self->_types); + Py_CLEAR(self->_event_loop_times); + Py_CLEAR(self->_validation_errors); + return 0; +} + +static void +stats____Collector_dealloc(dank_mids___stats____CollectorObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, stats____Collector_dealloc) + stats____Collector_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem stats____Collector_vtable[7]; +static bool +CPyDef_stats____Collector_trait_vtable_setup(void) +{ + CPyVTableItem stats____Collector_vtable_scratch[] = { + (CPyVTableItem)CPyDef_stats____Collector_____init__, + (CPyVTableItem)CPyDef_stats____Collector___avg_loop_time, + (CPyVTableItem)CPyDef_stats____Collector___count_active_brownie_calls, + (CPyVTableItem)CPyDef_stats____Collector___count_queued_brownie_calls, + (CPyVTableItem)CPyDef_stats____Collector___encoder_queue_len, + (CPyVTableItem)CPyDef_stats____Collector___decoder_queue_len, + (CPyVTableItem)CPyDef_stats____Collector___mcall_decoder_queue_len, + }; + memcpy(stats____Collector_vtable, stats____Collector_vtable_scratch, sizeof(stats____Collector_vtable)); + return 1; +} + +static PyObject * +stats____Collector_get_errd_batches(dank_mids___stats____CollectorObject *self, void *closure); +static int +stats____Collector_set_errd_batches(dank_mids___stats____CollectorObject *self, PyObject *value, void *closure); +static PyObject * +stats____Collector_get_durations(dank_mids___stats____CollectorObject *self, void *closure); +static int +stats____Collector_set_durations(dank_mids___stats____CollectorObject *self, PyObject *value, void *closure); +static PyObject * +stats____Collector_get_types(dank_mids___stats____CollectorObject *self, void *closure); +static int +stats____Collector_set_types(dank_mids___stats____CollectorObject *self, PyObject *value, void *closure); +static PyObject * +stats____Collector_get_event_loop_times(dank_mids___stats____CollectorObject *self, void *closure); +static int +stats____Collector_set_event_loop_times(dank_mids___stats____CollectorObject *self, PyObject *value, void *closure); +static PyObject * +stats____Collector_get_validation_errors(dank_mids___stats____CollectorObject *self, void *closure); +static int +stats____Collector_set_validation_errors(dank_mids___stats____CollectorObject *self, PyObject *value, void *closure); +static PyObject * +stats____Collector_get_avg_loop_time(dank_mids___stats____CollectorObject *self, void *closure); +static PyObject * +stats____Collector_get_count_active_brownie_calls(dank_mids___stats____CollectorObject *self, void *closure); +static PyObject * +stats____Collector_get_count_queued_brownie_calls(dank_mids___stats____CollectorObject *self, void *closure); +static PyObject * +stats____Collector_get_encoder_queue_len(dank_mids___stats____CollectorObject *self, void *closure); +static PyObject * +stats____Collector_get_decoder_queue_len(dank_mids___stats____CollectorObject *self, void *closure); +static PyObject * +stats____Collector_get_mcall_decoder_queue_len(dank_mids___stats____CollectorObject *self, void *closure); + +static PyGetSetDef stats____Collector_getseters[] = { + {"errd_batches", + (getter)stats____Collector_get_errd_batches, (setter)stats____Collector_set_errd_batches, + NULL, NULL}, + {"durations", + (getter)stats____Collector_get_durations, (setter)stats____Collector_set_durations, + NULL, NULL}, + {"types", + (getter)stats____Collector_get_types, (setter)stats____Collector_set_types, + NULL, NULL}, + {"event_loop_times", + (getter)stats____Collector_get_event_loop_times, (setter)stats____Collector_set_event_loop_times, + NULL, NULL}, + {"validation_errors", + (getter)stats____Collector_get_validation_errors, (setter)stats____Collector_set_validation_errors, + NULL, NULL}, + {"avg_loop_time", + (getter)stats____Collector_get_avg_loop_time, + NULL, NULL, NULL}, + {"count_active_brownie_calls", + (getter)stats____Collector_get_count_active_brownie_calls, + NULL, NULL, NULL}, + {"count_queued_brownie_calls", + (getter)stats____Collector_get_count_queued_brownie_calls, + NULL, NULL, NULL}, + {"encoder_queue_len", + (getter)stats____Collector_get_encoder_queue_len, + NULL, NULL, NULL}, + {"decoder_queue_len", + (getter)stats____Collector_get_decoder_queue_len, + NULL, NULL, NULL}, + {"mcall_decoder_queue_len", + (getter)stats____Collector_get_mcall_decoder_queue_len, + NULL, NULL, NULL}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef stats____Collector_methods[] = { + {"__init__", + (PyCFunction)CPyPy_stats____Collector_____init__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__init__($self)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_stats____Collector_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "_Collector", + .tp_new = stats____Collector_new, + .tp_dealloc = (destructor)stats____Collector_dealloc, + .tp_traverse = (traverseproc)stats____Collector_traverse, + .tp_clear = (inquiry)stats____Collector_clear, + .tp_getset = stats____Collector_getseters, + .tp_methods = stats____Collector_methods, + .tp_init = stats____Collector_init, + .tp_basicsize = sizeof(dank_mids___stats____CollectorObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("_Collector()\n--\n\n"), +}; +static PyTypeObject *CPyType_stats____Collector_template = &CPyType_stats____Collector_template_; + +PyObject *CPyDef_stats_____mypyc___3_Collector_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___stats____CollectorObject *self; + self = (dank_mids___stats____CollectorObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = stats____Collector_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef_stats____Collector(void) +{ + PyObject *self = CPyDef_stats_____mypyc___3_Collector_setup((PyObject *)CPyType_stats____Collector); + if (self == NULL) + return NULL; + char res = CPyDef_stats____Collector_____init__(self); + if (res == 2) { + Py_DECREF(self); + return NULL; + } + return self; +} + +static PyObject * +stats____Collector_get_errd_batches(dank_mids___stats____CollectorObject *self, void *closure) +{ + if (unlikely(self->_errd_batches == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'errd_batches' of '_Collector' undefined"); + return NULL; + } + CPy_INCREF(self->_errd_batches); + PyObject *retval = self->_errd_batches; + return retval; +} + +static int +stats____Collector_set_errd_batches(dank_mids___stats____CollectorObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'_Collector' object attribute 'errd_batches' cannot be deleted"); + return -1; + } + if (self->_errd_batches != NULL) { + CPy_DECREF(self->_errd_batches); + } + PyObject *tmp = value; + CPy_INCREF(tmp); + self->_errd_batches = tmp; + return 0; +} + +static PyObject * +stats____Collector_get_durations(dank_mids___stats____CollectorObject *self, void *closure) +{ + if (unlikely(self->_durations == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'durations' of '_Collector' undefined"); + return NULL; + } + CPy_INCREF(self->_durations); + PyObject *retval = self->_durations; + return retval; +} + +static int +stats____Collector_set_durations(dank_mids___stats____CollectorObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'_Collector' object attribute 'durations' cannot be deleted"); + return -1; + } + if (self->_durations != NULL) { + CPy_DECREF(self->_durations); + } + PyObject *tmp; + if (likely(PyDict_Check(value))) + tmp = value; + else { + CPy_TypeError("dict", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_durations = tmp; + return 0; +} + +static PyObject * +stats____Collector_get_types(dank_mids___stats____CollectorObject *self, void *closure) +{ + if (unlikely(self->_types == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'types' of '_Collector' undefined"); + return NULL; + } + CPy_INCREF(self->_types); + PyObject *retval = self->_types; + return retval; +} + +static int +stats____Collector_set_types(dank_mids___stats____CollectorObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'_Collector' object attribute 'types' cannot be deleted"); + return -1; + } + if (self->_types != NULL) { + CPy_DECREF(self->_types); + } + PyObject *tmp; + if (likely(PySet_Check(value))) + tmp = value; + else { + CPy_TypeError("set", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_types = tmp; + return 0; +} + +static PyObject * +stats____Collector_get_event_loop_times(dank_mids___stats____CollectorObject *self, void *closure) +{ + if (unlikely(self->_event_loop_times == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'event_loop_times' of '_Collector' undefined"); + return NULL; + } + CPy_INCREF(self->_event_loop_times); + PyObject *retval = self->_event_loop_times; + return retval; +} + +static int +stats____Collector_set_event_loop_times(dank_mids___stats____CollectorObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'_Collector' object attribute 'event_loop_times' cannot be deleted"); + return -1; + } + if (self->_event_loop_times != NULL) { + CPy_DECREF(self->_event_loop_times); + } + PyObject *tmp = value; + CPy_INCREF(tmp); + self->_event_loop_times = tmp; + return 0; +} + +static PyObject * +stats____Collector_get_validation_errors(dank_mids___stats____CollectorObject *self, void *closure) +{ + if (unlikely(self->_validation_errors == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'validation_errors' of '_Collector' undefined"); + return NULL; + } + CPy_INCREF(self->_validation_errors); + PyObject *retval = self->_validation_errors; + return retval; +} + +static int +stats____Collector_set_validation_errors(dank_mids___stats____CollectorObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'_Collector' object attribute 'validation_errors' cannot be deleted"); + return -1; + } + if (self->_validation_errors != NULL) { + CPy_DECREF(self->_validation_errors); + } + PyObject *tmp; + if (likely(PyDict_Check(value))) + tmp = value; + else { + CPy_TypeError("dict", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_validation_errors = tmp; + return 0; +} + +static PyObject * +stats____Collector_get_avg_loop_time(dank_mids___stats____CollectorObject *self, void *closure) +{ + double retval = CPyDef_stats____Collector___avg_loop_time((PyObject *) self); + if (retval == -113.0 && PyErr_Occurred()) { + return NULL; + } + PyObject *retbox = PyFloat_FromDouble(retval); + return retbox; +} + +static PyObject * +stats____Collector_get_count_active_brownie_calls(dank_mids___stats____CollectorObject *self, void *closure) +{ + CPyTagged retval = CPyDef_stats____Collector___count_active_brownie_calls((PyObject *) self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +} + +static PyObject * +stats____Collector_get_count_queued_brownie_calls(dank_mids___stats____CollectorObject *self, void *closure) +{ + CPyTagged retval = CPyDef_stats____Collector___count_queued_brownie_calls((PyObject *) self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +} + +static PyObject * +stats____Collector_get_encoder_queue_len(dank_mids___stats____CollectorObject *self, void *closure) +{ + CPyTagged retval = CPyDef_stats____Collector___encoder_queue_len((PyObject *) self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +} + +static PyObject * +stats____Collector_get_decoder_queue_len(dank_mids___stats____CollectorObject *self, void *closure) +{ + CPyTagged retval = CPyDef_stats____Collector___decoder_queue_len((PyObject *) self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +} + +static PyObject * +stats____Collector_get_mcall_decoder_queue_len(dank_mids___stats____CollectorObject *self, void *closure) +{ + CPyTagged retval = CPyDef_stats____Collector___mcall_decoder_queue_len((PyObject *) self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +} + +PyObject *CPyDef_stats_____mypyc___3_Writer_setup(PyObject *cpy_r_type); +PyObject *CPyDef_stats____Writer(void); + +static PyObject * +stats____Writer_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_stats____Writer) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_stats_____mypyc___3_Writer_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +stats____Writer_traverse(dank_mids___stats____WriterObject *self, visitproc visit, void *arg) +{ + return 0; +} + +static int +stats____Writer_clear(dank_mids___stats____WriterObject *self) +{ + return 0; +} + +static void +stats____Writer_dealloc(dank_mids___stats____WriterObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, stats____Writer_dealloc) + stats____Writer_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem stats____Writer_vtable[3]; +static bool +CPyDef_stats____Writer_trait_vtable_setup(void) +{ + CPyVTableItem stats____Writer_vtable_scratch[] = { + (CPyVTableItem)CPyDef_stats____Writer___event_loop, + (CPyVTableItem)CPyDef_stats____Writer___brownie, + (CPyVTableItem)CPyDef_stats____Writer___queue, + }; + memcpy(stats____Writer_vtable, stats____Writer_vtable_scratch, sizeof(stats____Writer_vtable)); + return 1; +} + + +static PyGetSetDef stats____Writer_getseters[] = { + {NULL} /* Sentinel */ +}; + +static PyMethodDef stats____Writer_methods[] = { + {"event_loop", + (PyCFunction)CPyPy_stats____Writer___event_loop, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("event_loop($self)\n--\n\n")}, + {"brownie", + (PyCFunction)CPyPy_stats____Writer___brownie, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("brownie($self)\n--\n\n")}, + {"queue", + (PyCFunction)CPyPy_stats____Writer___queue, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("queue($self, pool)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_stats____Writer_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "_Writer", + .tp_new = stats____Writer_new, + .tp_dealloc = (destructor)stats____Writer_dealloc, + .tp_traverse = (traverseproc)stats____Writer_traverse, + .tp_clear = (inquiry)stats____Writer_clear, + .tp_getset = stats____Writer_getseters, + .tp_methods = stats____Writer_methods, + .tp_basicsize = sizeof(dank_mids___stats____WriterObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("_Writer()\n--\n\n"), +}; +static PyTypeObject *CPyType_stats____Writer_template = &CPyType_stats____Writer_template_; + +PyObject *CPyDef_stats_____mypyc___3_Writer_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___stats____WriterObject *self; + self = (dank_mids___stats____WriterObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = stats____Writer_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef_stats____Writer(void) +{ + PyObject *self = CPyDef_stats_____mypyc___3_Writer_setup((PyObject *)CPyType_stats____Writer); + if (self == NULL) + return NULL; + return self; +} + + +PyObject *CPyDef_stats_____mypyc___3_SentryExporter_setup(PyObject *cpy_r_type); +PyObject *CPyDef_stats____SentryExporter(void); + +static PyObject * +stats____SentryExporter_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_stats____SentryExporter) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_stats_____mypyc___3_SentryExporter_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +stats____SentryExporter_traverse(dank_mids___stats____SentryExporterObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->_metrics); + Py_VISIT(self->_units); + Py_VISIT(self->_set_tag); + Py_VISIT(self->_set_measurement); + Py_VISIT(self->__exc); + return 0; +} + +static int +stats____SentryExporter_clear(dank_mids___stats____SentryExporterObject *self) +{ + Py_CLEAR(self->_metrics); + Py_CLEAR(self->_units); + Py_CLEAR(self->_set_tag); + Py_CLEAR(self->_set_measurement); + Py_CLEAR(self->__exc); + return 0; +} + +static void +stats____SentryExporter_dealloc(dank_mids___stats____SentryExporterObject *self) +{ + PyObject_GC_UnTrack(self); + CPy_TRASHCAN_BEGIN(self, stats____SentryExporter_dealloc) + stats____SentryExporter_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem stats____SentryExporter_vtable[3]; +static bool +CPyDef_stats____SentryExporter_trait_vtable_setup(void) +{ + CPyVTableItem stats____SentryExporter_vtable_scratch[] = { + (CPyVTableItem)CPyDef_stats____SentryExporter___push_measurements, + (CPyVTableItem)CPyDef_stats____SentryExporter___push_envs, + (CPyVTableItem)CPyDef_stats____SentryExporter_____mypyc_defaults_setup, + }; + memcpy(stats____SentryExporter_vtable, stats____SentryExporter_vtable_scratch, sizeof(stats____SentryExporter_vtable)); + return 1; +} + +static PyObject * +stats____SentryExporter_get_metrics(dank_mids___stats____SentryExporterObject *self, void *closure); +static int +stats____SentryExporter_set_metrics(dank_mids___stats____SentryExporterObject *self, PyObject *value, void *closure); +static PyObject * +stats____SentryExporter_get_units(dank_mids___stats____SentryExporterObject *self, void *closure); +static int +stats____SentryExporter_set_units(dank_mids___stats____SentryExporterObject *self, PyObject *value, void *closure); +static PyObject * +stats____SentryExporter_get_set_tag(dank_mids___stats____SentryExporterObject *self, void *closure); +static int +stats____SentryExporter_set_set_tag(dank_mids___stats____SentryExporterObject *self, PyObject *value, void *closure); +static PyObject * +stats____SentryExporter_get_set_measurement(dank_mids___stats____SentryExporterObject *self, void *closure); +static int +stats____SentryExporter_set_set_measurement(dank_mids___stats____SentryExporterObject *self, PyObject *value, void *closure); +static PyObject * +stats____SentryExporter_get__exc(dank_mids___stats____SentryExporterObject *self, void *closure); +static int +stats____SentryExporter_set__exc(dank_mids___stats____SentryExporterObject *self, PyObject *value, void *closure); + +static PyGetSetDef stats____SentryExporter_getseters[] = { + {"metrics", + (getter)stats____SentryExporter_get_metrics, (setter)stats____SentryExporter_set_metrics, + NULL, NULL}, + {"units", + (getter)stats____SentryExporter_get_units, (setter)stats____SentryExporter_set_units, + NULL, NULL}, + {"set_tag", + (getter)stats____SentryExporter_get_set_tag, (setter)stats____SentryExporter_set_set_tag, + NULL, NULL}, + {"set_measurement", + (getter)stats____SentryExporter_get_set_measurement, (setter)stats____SentryExporter_set_set_measurement, + NULL, NULL}, + {"_exc", + (getter)stats____SentryExporter_get__exc, (setter)stats____SentryExporter_set__exc, + NULL, NULL}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef stats____SentryExporter_methods[] = { + {"push_measurements", + (PyCFunction)CPyPy_stats____SentryExporter___push_measurements, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("push_measurements($self)\n--\n\n")}, + {"push_envs", + (PyCFunction)CPyPy_stats____SentryExporter___push_envs, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("push_envs($self)\n--\n\n")}, + {"__mypyc_defaults_setup", + (PyCFunction)CPyPy_stats____SentryExporter_____mypyc_defaults_setup, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__mypyc_defaults_setup()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_stats____SentryExporter_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "_SentryExporter", + .tp_new = stats____SentryExporter_new, + .tp_dealloc = (destructor)stats____SentryExporter_dealloc, + .tp_traverse = (traverseproc)stats____SentryExporter_traverse, + .tp_clear = (inquiry)stats____SentryExporter_clear, + .tp_getset = stats____SentryExporter_getseters, + .tp_methods = stats____SentryExporter_methods, + .tp_basicsize = sizeof(dank_mids___stats____SentryExporterObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("_SentryExporter()\n--\n\n"), +}; +static PyTypeObject *CPyType_stats____SentryExporter_template = &CPyType_stats____SentryExporter_template_; + +PyObject *CPyDef_stats_____mypyc___3_SentryExporter_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___stats____SentryExporterObject *self; + self = (dank_mids___stats____SentryExporterObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = stats____SentryExporter_vtable; + if (CPyDef_stats____SentryExporter_____mypyc_defaults_setup((PyObject *)self) == 0) { + Py_DECREF(self); + return NULL; + } + return (PyObject *)self; +} + +PyObject *CPyDef_stats____SentryExporter(void) +{ + PyObject *self = CPyDef_stats_____mypyc___3_SentryExporter_setup((PyObject *)CPyType_stats____SentryExporter); + if (self == NULL) + return NULL; + return self; +} + +static PyObject * +stats____SentryExporter_get_metrics(dank_mids___stats____SentryExporterObject *self, void *closure) +{ + if (unlikely(self->_metrics == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'metrics' of '_SentryExporter' undefined"); + return NULL; + } + CPy_INCREF(self->_metrics); + PyObject *retval = self->_metrics; + return retval; +} + +static int +stats____SentryExporter_set_metrics(dank_mids___stats____SentryExporterObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'_SentryExporter' object attribute 'metrics' cannot be deleted"); + return -1; + } + if (self->_metrics != NULL) { + CPy_DECREF(self->_metrics); + } + PyObject *tmp; + if (likely(PyDict_Check(value))) + tmp = value; + else { + CPy_TypeError("dict", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_metrics = tmp; + return 0; +} + +static PyObject * +stats____SentryExporter_get_units(dank_mids___stats____SentryExporterObject *self, void *closure) +{ + if (unlikely(self->_units == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'units' of '_SentryExporter' undefined"); + return NULL; + } + CPy_INCREF(self->_units); + PyObject *retval = self->_units; + return retval; +} + +static int +stats____SentryExporter_set_units(dank_mids___stats____SentryExporterObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'_SentryExporter' object attribute 'units' cannot be deleted"); + return -1; + } + if (self->_units != NULL) { + CPy_DECREF(self->_units); + } + PyObject *tmp; + if (likely(PyDict_Check(value))) + tmp = value; + else { + CPy_TypeError("dict", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_units = tmp; + return 0; +} + +static PyObject * +stats____SentryExporter_get_set_tag(dank_mids___stats____SentryExporterObject *self, void *closure) +{ + if (unlikely(self->_set_tag == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'set_tag' of '_SentryExporter' undefined"); + return NULL; + } + CPy_INCREF(self->_set_tag); + PyObject *retval = self->_set_tag; + return retval; +} + +static int +stats____SentryExporter_set_set_tag(dank_mids___stats____SentryExporterObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'_SentryExporter' object attribute 'set_tag' cannot be deleted"); + return -1; + } + if (self->_set_tag != NULL) { + CPy_DECREF(self->_set_tag); + } + PyObject *tmp; + tmp = value; + if (tmp != NULL) goto __LL333; + if (value == Py_None) + tmp = value; + else { + tmp = NULL; + } + if (tmp != NULL) goto __LL333; + CPy_TypeError("object or None", value); + tmp = NULL; +__LL333: ; + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_set_tag = tmp; + return 0; +} + +static PyObject * +stats____SentryExporter_get_set_measurement(dank_mids___stats____SentryExporterObject *self, void *closure) +{ + if (unlikely(self->_set_measurement == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute 'set_measurement' of '_SentryExporter' undefined"); + return NULL; + } + CPy_INCREF(self->_set_measurement); + PyObject *retval = self->_set_measurement; + return retval; +} + +static int +stats____SentryExporter_set_set_measurement(dank_mids___stats____SentryExporterObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'_SentryExporter' object attribute 'set_measurement' cannot be deleted"); + return -1; + } + if (self->_set_measurement != NULL) { + CPy_DECREF(self->_set_measurement); + } + PyObject *tmp; + tmp = value; + if (tmp != NULL) goto __LL334; + if (value == Py_None) + tmp = value; + else { + tmp = NULL; + } + if (tmp != NULL) goto __LL334; + CPy_TypeError("object or None", value); + tmp = NULL; +__LL334: ; + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->_set_measurement = tmp; + return 0; +} + +static PyObject * +stats____SentryExporter_get__exc(dank_mids___stats____SentryExporterObject *self, void *closure) +{ + if (unlikely(self->__exc == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '_exc' of '_SentryExporter' undefined"); + return NULL; + } + CPy_INCREF(self->__exc); + PyObject *retval = self->__exc; + return retval; +} + +static int +stats____SentryExporter_set__exc(dank_mids___stats____SentryExporterObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'_SentryExporter' object attribute '_exc' cannot be deleted"); + return -1; + } + if (self->__exc != NULL) { + CPy_DECREF(self->__exc); + } + PyObject *tmp; + tmp = value; + if (tmp != NULL) goto __LL335; + if (value == Py_None) + tmp = value; + else { + tmp = NULL; + } + if (tmp != NULL) goto __LL335; + CPy_TypeError("object or None", value); + tmp = NULL; +__LL335: ; + if (!tmp) + return -1; + CPy_INCREF(tmp); + self->__exc = tmp; + return 0; +} + +static PyAsyncMethods stats____stats_daemon__StatsLogger_gen_as_async = { + .am_await = CPyDef_stats____stats_daemon__StatsLogger_gen_____await__, +}; +PyObject *CPyDef_stats_____mypyc___3_stats_daemon__StatsLogger_gen_setup(PyObject *cpy_r_type); +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen(void); + +static PyObject * +stats____stats_daemon__StatsLogger_gen_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_stats____stats_daemon__StatsLogger_gen) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_stats_____mypyc___3_stats_daemon__StatsLogger_gen_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +stats____stats_daemon__StatsLogger_gen_traverse(dank_mids___stats____stats_daemon__StatsLogger_genObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_generator_attribute__self); + Py_VISIT(self->___mypyc_temp__0); + Py_VISIT(self->___mypyc_temp__1.f0); + Py_VISIT(self->___mypyc_temp__1.f1); + Py_VISIT(self->___mypyc_temp__1.f2); + return 0; +} + +static int +stats____stats_daemon__StatsLogger_gen_clear(dank_mids___stats____stats_daemon__StatsLogger_genObject *self) +{ + Py_CLEAR(self->___mypyc_generator_attribute__self); + Py_CLEAR(self->___mypyc_temp__0); + Py_CLEAR(self->___mypyc_temp__1.f0); + Py_CLEAR(self->___mypyc_temp__1.f1); + Py_CLEAR(self->___mypyc_temp__1.f2); + return 0; +} + +static void +stats____stats_daemon__StatsLogger_gen_dealloc(dank_mids___stats____stats_daemon__StatsLogger_genObject *self) +{ + PyObject_GC_UnTrack(self); + if (stats____stats_daemon__StatsLogger_gen_free_instance == NULL) { + stats____stats_daemon__StatsLogger_gen_free_instance = self; + self->bitmap = 0; + Py_CLEAR(self->___mypyc_generator_attribute__self); + self->___mypyc_next_label__ = -113; + self->___mypyc_generator_attribute__start = -113.0; + self->___mypyc_generator_attribute__time_since_notified = -113.0; + Py_CLEAR(self->___mypyc_temp__0); + Py_CLEAR(self->___mypyc_temp__1.f0); + Py_CLEAR(self->___mypyc_temp__1.f1); + Py_CLEAR(self->___mypyc_temp__1.f2); + self->___mypyc_generator_attribute__now = -113.0; + self->___mypyc_generator_attribute__duration = -113.0; + return; + } + CPy_TRASHCAN_BEGIN(self, stats____stats_daemon__StatsLogger_gen_dealloc) + stats____stats_daemon__StatsLogger_gen_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem stats____stats_daemon__StatsLogger_gen_vtable[7]; +static bool +CPyDef_stats____stats_daemon__StatsLogger_gen_trait_vtable_setup(void) +{ + CPyVTableItem stats____stats_daemon__StatsLogger_gen_vtable_scratch[] = { + (CPyVTableItem)CPyDef_stats____stats_daemon__StatsLogger_gen_____mypyc_generator_helper__, + (CPyVTableItem)CPyDef_stats____stats_daemon__StatsLogger_gen_____next__, + (CPyVTableItem)CPyDef_stats____stats_daemon__StatsLogger_gen___send, + (CPyVTableItem)CPyDef_stats____stats_daemon__StatsLogger_gen_____iter__, + (CPyVTableItem)CPyDef_stats____stats_daemon__StatsLogger_gen___throw, + (CPyVTableItem)CPyDef_stats____stats_daemon__StatsLogger_gen___close, + (CPyVTableItem)CPyDef_stats____stats_daemon__StatsLogger_gen_____await__, + }; + memcpy(stats____stats_daemon__StatsLogger_gen_vtable, stats____stats_daemon__StatsLogger_gen_vtable_scratch, sizeof(stats____stats_daemon__StatsLogger_gen_vtable)); + return 1; +} + +static PyMethodDef stats____stats_daemon__StatsLogger_gen_methods[] = { + {"__next__", + (PyCFunction)CPyPy_stats____stats_daemon__StatsLogger_gen_____next__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__next__()\n--\n\n")}, + {"send", + (PyCFunction)CPyPy_stats____stats_daemon__StatsLogger_gen___send, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("send($arg)\n--\n\n")}, + {"__iter__", + (PyCFunction)CPyPy_stats____stats_daemon__StatsLogger_gen_____iter__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__iter__()\n--\n\n")}, + {"throw", + (PyCFunction)CPyPy_stats____stats_daemon__StatsLogger_gen___throw, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR(NULL)}, + {"close", + (PyCFunction)CPyPy_stats____stats_daemon__StatsLogger_gen___close, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("close()\n--\n\n")}, + {"__await__", + (PyCFunction)CPyPy_stats____stats_daemon__StatsLogger_gen_____await__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__await__()\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_stats____stats_daemon__StatsLogger_gen_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "_stats_daemon__StatsLogger_gen", + .tp_new = stats____stats_daemon__StatsLogger_gen_new, + .tp_dealloc = (destructor)stats____stats_daemon__StatsLogger_gen_dealloc, + .tp_traverse = (traverseproc)stats____stats_daemon__StatsLogger_gen_traverse, + .tp_clear = (inquiry)stats____stats_daemon__StatsLogger_gen_clear, + .tp_methods = stats____stats_daemon__StatsLogger_gen_methods, + .tp_iter = CPyDef_stats____stats_daemon__StatsLogger_gen_____iter__, + .tp_iternext = CPyDef_stats____stats_daemon__StatsLogger_gen_____next__, + .tp_as_async = &stats____stats_daemon__StatsLogger_gen_as_async, + .tp_basicsize = sizeof(dank_mids___stats____stats_daemon__StatsLogger_genObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("_stats_daemon__StatsLogger_gen()\n--\n\n"), +}; +static PyTypeObject *CPyType_stats____stats_daemon__StatsLogger_gen_template = &CPyType_stats____stats_daemon__StatsLogger_gen_template_; + +PyObject *CPyDef_stats_____mypyc___3_stats_daemon__StatsLogger_gen_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___stats____stats_daemon__StatsLogger_genObject *self; + if (stats____stats_daemon__StatsLogger_gen_free_instance != NULL) { + self = stats____stats_daemon__StatsLogger_gen_free_instance; + stats____stats_daemon__StatsLogger_gen_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___stats____stats_daemon__StatsLogger_genObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = stats____stats_daemon__StatsLogger_gen_vtable; + self->bitmap = 0; + self->___mypyc_next_label__ = -113; + self->___mypyc_generator_attribute__start = -113.0; + self->___mypyc_generator_attribute__time_since_notified = -113.0; + self->___mypyc_temp__1 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_generator_attribute__now = -113.0; + self->___mypyc_generator_attribute__duration = -113.0; + return (PyObject *)self; +} + +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen(void) +{ + PyObject *self = CPyDef_stats_____mypyc___3_stats_daemon__StatsLogger_gen_setup((PyObject *)CPyType_stats____stats_daemon__StatsLogger_gen); + if (self == NULL) + return NULL; + return self; +} + + +PyObject *CPyDef_stats_____mypyc___3__init___3__Collector_env_setup(PyObject *cpy_r_type); +PyObject *CPyDef_stats_____init___3__Collector_env(void); + +static PyObject * +stats_____init___3__Collector_env_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_stats_____init___3__Collector_env) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_stats_____mypyc___3__init___3__Collector_env_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +stats_____init___3__Collector_env_traverse(dank_mids___stats_____init___3__Collector_envObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_self__); + Py_VISIT(self->_self); + return 0; +} + +static int +stats_____init___3__Collector_env_clear(dank_mids___stats_____init___3__Collector_envObject *self) +{ + Py_CLEAR(self->___mypyc_self__); + Py_CLEAR(self->_self); + return 0; +} + +static void +stats_____init___3__Collector_env_dealloc(dank_mids___stats_____init___3__Collector_envObject *self) +{ + PyObject_GC_UnTrack(self); + if (stats_____init___3__Collector_env_free_instance == NULL) { + stats_____init___3__Collector_env_free_instance = self; + Py_CLEAR(self->___mypyc_self__); + Py_CLEAR(self->_self); + return; + } + CPy_TRASHCAN_BEGIN(self, stats_____init___3__Collector_env_dealloc) + stats_____init___3__Collector_env_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem stats_____init___3__Collector_env_vtable[1]; +static bool +CPyDef_stats_____init___3__Collector_env_trait_vtable_setup(void) +{ + CPyVTableItem stats_____init___3__Collector_env_vtable_scratch[] = { + NULL + }; + memcpy(stats_____init___3__Collector_env_vtable, stats_____init___3__Collector_env_vtable_scratch, sizeof(stats_____init___3__Collector_env_vtable)); + return 1; +} + +static PyMethodDef stats_____init___3__Collector_env_methods[] = { + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_stats_____init___3__Collector_env_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "__init____Collector_env", + .tp_new = stats_____init___3__Collector_env_new, + .tp_dealloc = (destructor)stats_____init___3__Collector_env_dealloc, + .tp_traverse = (traverseproc)stats_____init___3__Collector_env_traverse, + .tp_clear = (inquiry)stats_____init___3__Collector_env_clear, + .tp_methods = stats_____init___3__Collector_env_methods, + .tp_basicsize = sizeof(dank_mids___stats_____init___3__Collector_envObject), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, + .tp_doc = PyDoc_STR("__init____Collector_env()\n--\n\n"), +}; +static PyTypeObject *CPyType_stats_____init___3__Collector_env_template = &CPyType_stats_____init___3__Collector_env_template_; + +PyObject *CPyDef_stats_____mypyc___3__init___3__Collector_env_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___stats_____init___3__Collector_envObject *self; + if (stats_____init___3__Collector_env_free_instance != NULL) { + self = stats_____init___3__Collector_env_free_instance; + stats_____init___3__Collector_env_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___stats_____init___3__Collector_envObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = stats_____init___3__Collector_env_vtable; + return (PyObject *)self; +} + +PyObject *CPyDef_stats_____init___3__Collector_env(void) +{ + PyObject *self = CPyDef_stats_____mypyc___3__init___3__Collector_env_setup((PyObject *)CPyType_stats_____init___3__Collector_env); + if (self == NULL) + return NULL; + return self; +} + + +static PyObject *CPyDunder___get__stats_____mypyc_lambda__0___3_init___3__Collector_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____get__(self, instance, owner); +} +PyObject *CPyDef_stats_____mypyc___3__mypyc_lambda__0___3_init___3__Collector_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj(void); + +static PyObject * +stats_____mypyc_lambda__0___3_init___3__Collector_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_stats_____mypyc_lambda__0___3_init___3__Collector_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_stats_____mypyc___3__mypyc_lambda__0___3_init___3__Collector_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +stats_____mypyc_lambda__0___3_init___3__Collector_obj_traverse(dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_env__); + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +stats_____mypyc_lambda__0___3_init___3__Collector_obj_clear(dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *self) +{ + Py_CLEAR(self->___mypyc_env__); + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +stats_____mypyc_lambda__0___3_init___3__Collector_obj_dealloc(dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (stats_____mypyc_lambda__0___3_init___3__Collector_obj_free_instance == NULL) { + stats_____mypyc_lambda__0___3_init___3__Collector_obj_free_instance = self; + Py_CLEAR(self->___mypyc_env__); + return; + } + CPy_TRASHCAN_BEGIN(self, stats_____mypyc_lambda__0___3_init___3__Collector_obj_dealloc) + stats_____mypyc_lambda__0___3_init___3__Collector_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem stats_____mypyc_lambda__0___3_init___3__Collector_obj_vtable[2]; +static bool +CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj_trait_vtable_setup(void) +{ + CPyVTableItem stats_____mypyc_lambda__0___3_init___3__Collector_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____call__, + (CPyVTableItem)CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____get__, + }; + memcpy(stats_____mypyc_lambda__0___3_init___3__Collector_obj_vtable, stats_____mypyc_lambda__0___3_init___3__Collector_obj_vtable_scratch, sizeof(stats_____mypyc_lambda__0___3_init___3__Collector_obj_vtable)); + return 1; +} + +static PyObject * +stats_____mypyc_lambda__0___3_init___3__Collector_obj_get___3_mypyc_env__(dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *self, void *closure); +static int +stats_____mypyc_lambda__0___3_init___3__Collector_obj_set___3_mypyc_env__(dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *self, PyObject *value, void *closure); + +static PyGetSetDef stats_____mypyc_lambda__0___3_init___3__Collector_obj_getseters[] = { + {"__mypyc_env__", + (getter)stats_____mypyc_lambda__0___3_init___3__Collector_obj_get___3_mypyc_env__, (setter)stats_____mypyc_lambda__0___3_init___3__Collector_obj_set___3_mypyc_env__, + NULL, NULL}, + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef stats_____mypyc_lambda__0___3_init___3__Collector_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__()\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_stats_____mypyc_lambda__0___3_init___3__Collector_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "__mypyc_lambda__0___init____Collector_obj", + .tp_new = stats_____mypyc_lambda__0___3_init___3__Collector_obj_new, + .tp_dealloc = (destructor)stats_____mypyc_lambda__0___3_init___3__Collector_obj_dealloc, + .tp_traverse = (traverseproc)stats_____mypyc_lambda__0___3_init___3__Collector_obj_traverse, + .tp_clear = (inquiry)stats_____mypyc_lambda__0___3_init___3__Collector_obj_clear, + .tp_getset = stats_____mypyc_lambda__0___3_init___3__Collector_obj_getseters, + .tp_methods = stats_____mypyc_lambda__0___3_init___3__Collector_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get__stats_____mypyc_lambda__0___3_init___3__Collector_obj, + .tp_basicsize = sizeof(dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject), + .tp_vectorcall_offset = offsetof(dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("__mypyc_lambda__0___init____Collector_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType_stats_____mypyc_lambda__0___3_init___3__Collector_obj_template = &CPyType_stats_____mypyc_lambda__0___3_init___3__Collector_obj_template_; + +PyObject *CPyDef_stats_____mypyc___3__mypyc_lambda__0___3_init___3__Collector_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *self; + if (stats_____mypyc_lambda__0___3_init___3__Collector_obj_free_instance != NULL) { + self = stats_____mypyc_lambda__0___3_init___3__Collector_obj_free_instance; + stats_____mypyc_lambda__0___3_init___3__Collector_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = stats_____mypyc_lambda__0___3_init___3__Collector_obj_vtable; + self->vectorcall = CPyPy_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj(void) +{ + PyObject *self = CPyDef_stats_____mypyc___3__mypyc_lambda__0___3_init___3__Collector_obj_setup((PyObject *)CPyType_stats_____mypyc_lambda__0___3_init___3__Collector_obj); + if (self == NULL) + return NULL; + return self; +} + +static PyObject * +stats_____mypyc_lambda__0___3_init___3__Collector_obj_get___3_mypyc_env__(dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *self, void *closure) +{ + if (unlikely(self->___mypyc_env__ == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '__mypyc_env__' of '__mypyc_lambda__0___init____Collector_obj' undefined"); + return NULL; + } + CPy_INCREF_NO_IMM(self->___mypyc_env__); + PyObject *retval = self->___mypyc_env__; + return retval; +} + +static int +stats_____mypyc_lambda__0___3_init___3__Collector_obj_set___3_mypyc_env__(dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'__mypyc_lambda__0___init____Collector_obj' object attribute '__mypyc_env__' cannot be deleted"); + return -1; + } + if (self->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(self->___mypyc_env__); + } + PyObject *tmp; + if (likely(Py_TYPE(value) == CPyType_stats_____init___3__Collector_env)) + tmp = value; + else { + CPy_TypeError("dank_mids.stats.__init____Collector_env", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF_NO_IMM(tmp); + self->___mypyc_env__ = tmp; + return 0; +} + +static PyObject *CPyDunder___get__stats_____mypyc_lambda__1___3_init___3__Collector_obj(PyObject *self, PyObject *instance, PyObject *owner) { + instance = instance ? instance : Py_None; + return CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____get__(self, instance, owner); +} +PyObject *CPyDef_stats_____mypyc___3__mypyc_lambda__1___3_init___3__Collector_obj_setup(PyObject *cpy_r_type); +PyObject *CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj(void); + +static PyObject * +stats_____mypyc_lambda__1___3_init___3__Collector_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwds) +{ + if (type != CPyType_stats_____mypyc_lambda__1___3_init___3__Collector_obj) { + PyErr_SetString(PyExc_TypeError, "interpreted classes cannot inherit from compiled"); + return NULL; + } + PyObject *self = CPyDef_stats_____mypyc___3__mypyc_lambda__1___3_init___3__Collector_obj_setup((PyObject*)type); + if (self == NULL) + return NULL; + return self; +} + +static int +stats_____mypyc_lambda__1___3_init___3__Collector_obj_traverse(dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *self, visitproc visit, void *arg) +{ + Py_VISIT(self->___mypyc_env__); + PyObject_VisitManagedDict((PyObject *)self, visit, arg); + return 0; +} + +static int +stats_____mypyc_lambda__1___3_init___3__Collector_obj_clear(dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *self) +{ + Py_CLEAR(self->___mypyc_env__); + PyObject_ClearManagedDict((PyObject *)self); + return 0; +} + +static void +stats_____mypyc_lambda__1___3_init___3__Collector_obj_dealloc(dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *self) +{ + PyObject_GC_UnTrack(self); + if (stats_____mypyc_lambda__1___3_init___3__Collector_obj_free_instance == NULL) { + stats_____mypyc_lambda__1___3_init___3__Collector_obj_free_instance = self; + Py_CLEAR(self->___mypyc_env__); + return; + } + CPy_TRASHCAN_BEGIN(self, stats_____mypyc_lambda__1___3_init___3__Collector_obj_dealloc) + stats_____mypyc_lambda__1___3_init___3__Collector_obj_clear(self); + Py_TYPE(self)->tp_free((PyObject *)self); + CPy_TRASHCAN_END(self) +} + +static CPyVTableItem stats_____mypyc_lambda__1___3_init___3__Collector_obj_vtable[2]; +static bool +CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj_trait_vtable_setup(void) +{ + CPyVTableItem stats_____mypyc_lambda__1___3_init___3__Collector_obj_vtable_scratch[] = { + (CPyVTableItem)CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____call__, + (CPyVTableItem)CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____get__, + }; + memcpy(stats_____mypyc_lambda__1___3_init___3__Collector_obj_vtable, stats_____mypyc_lambda__1___3_init___3__Collector_obj_vtable_scratch, sizeof(stats_____mypyc_lambda__1___3_init___3__Collector_obj_vtable)); + return 1; +} + +static PyObject * +stats_____mypyc_lambda__1___3_init___3__Collector_obj_get___3_mypyc_env__(dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *self, void *closure); +static int +stats_____mypyc_lambda__1___3_init___3__Collector_obj_set___3_mypyc_env__(dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *self, PyObject *value, void *closure); + +static PyGetSetDef stats_____mypyc_lambda__1___3_init___3__Collector_obj_getseters[] = { + {"__mypyc_env__", + (getter)stats_____mypyc_lambda__1___3_init___3__Collector_obj_get___3_mypyc_env__, (setter)stats_____mypyc_lambda__1___3_init___3__Collector_obj_set___3_mypyc_env__, + NULL, NULL}, + {"__dict__", PyObject_GenericGetDict, PyObject_GenericSetDict}, + {NULL} /* Sentinel */ +}; + +static PyMethodDef stats_____mypyc_lambda__1___3_init___3__Collector_obj_methods[] = { + {"__call__", + (PyCFunction)CPyPy_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____call__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__call__()\n--\n\n")}, + {"__get__", + (PyCFunction)CPyPy_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____get__, + METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("__get__($instance, owner)\n--\n\n")}, + {"__setstate__", (PyCFunction)CPyPickle_SetState, METH_O, NULL}, + {"__getstate__", (PyCFunction)CPyPickle_GetState, METH_NOARGS, NULL}, + {NULL} /* Sentinel */ +}; + +static PyTypeObject CPyType_stats_____mypyc_lambda__1___3_init___3__Collector_obj_template_ = { + PyVarObject_HEAD_INIT(NULL, 0) + .tp_name = "__mypyc_lambda__1___init____Collector_obj", + .tp_new = stats_____mypyc_lambda__1___3_init___3__Collector_obj_new, + .tp_dealloc = (destructor)stats_____mypyc_lambda__1___3_init___3__Collector_obj_dealloc, + .tp_traverse = (traverseproc)stats_____mypyc_lambda__1___3_init___3__Collector_obj_traverse, + .tp_clear = (inquiry)stats_____mypyc_lambda__1___3_init___3__Collector_obj_clear, + .tp_getset = stats_____mypyc_lambda__1___3_init___3__Collector_obj_getseters, + .tp_methods = stats_____mypyc_lambda__1___3_init___3__Collector_obj_methods, + .tp_call = PyVectorcall_Call, + .tp_descr_get = CPyDunder___get__stats_____mypyc_lambda__1___3_init___3__Collector_obj, + .tp_basicsize = sizeof(dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject), + .tp_vectorcall_offset = offsetof(dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject, vectorcall), + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC | _Py_TPFLAGS_HAVE_VECTORCALL | Py_TPFLAGS_MANAGED_DICT, + .tp_doc = PyDoc_STR("__mypyc_lambda__1___init____Collector_obj()\n--\n\n"), +}; +static PyTypeObject *CPyType_stats_____mypyc_lambda__1___3_init___3__Collector_obj_template = &CPyType_stats_____mypyc_lambda__1___3_init___3__Collector_obj_template_; + +PyObject *CPyDef_stats_____mypyc___3__mypyc_lambda__1___3_init___3__Collector_obj_setup(PyObject *cpy_r_type) +{ + PyTypeObject *type = (PyTypeObject*)cpy_r_type; + dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *self; + if (stats_____mypyc_lambda__1___3_init___3__Collector_obj_free_instance != NULL) { + self = stats_____mypyc_lambda__1___3_init___3__Collector_obj_free_instance; + stats_____mypyc_lambda__1___3_init___3__Collector_obj_free_instance = NULL; + Py_SET_REFCNT(self, 1); + PyObject_GC_Track(self); + return (PyObject *)self; + } + self = (dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *)type->tp_alloc(type, 0); + if (self == NULL) + return NULL; + self->vtable = stats_____mypyc_lambda__1___3_init___3__Collector_obj_vtable; + self->vectorcall = CPyPy_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____call__; + return (PyObject *)self; +} + +PyObject *CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj(void) +{ + PyObject *self = CPyDef_stats_____mypyc___3__mypyc_lambda__1___3_init___3__Collector_obj_setup((PyObject *)CPyType_stats_____mypyc_lambda__1___3_init___3__Collector_obj); + if (self == NULL) + return NULL; + return self; +} + +static PyObject * +stats_____mypyc_lambda__1___3_init___3__Collector_obj_get___3_mypyc_env__(dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *self, void *closure) +{ + if (unlikely(self->___mypyc_env__ == NULL)) { + PyErr_SetString(PyExc_AttributeError, + "attribute '__mypyc_env__' of '__mypyc_lambda__1___init____Collector_obj' undefined"); + return NULL; + } + CPy_INCREF_NO_IMM(self->___mypyc_env__); + PyObject *retval = self->___mypyc_env__; + return retval; +} + +static int +stats_____mypyc_lambda__1___3_init___3__Collector_obj_set___3_mypyc_env__(dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *self, PyObject *value, void *closure) +{ + if (value == NULL) { + PyErr_SetString(PyExc_AttributeError, + "'__mypyc_lambda__1___init____Collector_obj' object attribute '__mypyc_env__' cannot be deleted"); + return -1; + } + if (self->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(self->___mypyc_env__); + } + PyObject *tmp; + if (likely(Py_TYPE(value) == CPyType_stats_____init___3__Collector_env)) + tmp = value; + else { + CPy_TypeError("dank_mids.stats.__init____Collector_env", value); + tmp = NULL; + } + if (!tmp) + return -1; + CPy_INCREF_NO_IMM(tmp); + self->___mypyc_env__ = tmp; + return 0; +} +static PyMethodDef statsmodule_methods[] = { + {"log_errd_batch", (PyCFunction)CPyPy_stats___log_errd_batch, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("log_errd_batch(batch)\n--\n\n") /* docstring */}, + {"log_duration", (PyCFunction)CPyPy_stats___log_duration, METH_FASTCALL | METH_KEYWORDS, PyDoc_STR("log_duration(work_descriptor, start, *, level=13)\n--\n\n") /* docstring */}, + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___stats(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___stats__internal, "__name__"); + CPyStatic_stats___globals = PyModule_GetDict(CPyModule_dank_mids___stats__internal); + if (unlikely(CPyStatic_stats___globals == NULL)) + goto fail; + CPyType_stats____stats_daemon__StatsLogger_gen = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_stats____stats_daemon__StatsLogger_gen_template, NULL, modname); + if (unlikely(!CPyType_stats____stats_daemon__StatsLogger_gen)) + goto fail; + CPyType_stats_____init___3__Collector_env = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_stats_____init___3__Collector_env_template, NULL, modname); + if (unlikely(!CPyType_stats_____init___3__Collector_env)) + goto fail; + CPyType_stats_____mypyc_lambda__0___3_init___3__Collector_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_stats_____mypyc_lambda__0___3_init___3__Collector_obj_template, NULL, modname); + if (unlikely(!CPyType_stats_____mypyc_lambda__0___3_init___3__Collector_obj)) + goto fail; + CPyType_stats_____mypyc_lambda__1___3_init___3__Collector_obj = (PyTypeObject *)CPyType_FromTemplate((PyObject *)CPyType_stats_____mypyc_lambda__1___3_init___3__Collector_obj_template, NULL, modname); + if (unlikely(!CPyType_stats_____mypyc_lambda__1___3_init___3__Collector_obj)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_stats_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___stats__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic_stats____ENVS); + CPyStatic_stats____ENVS = NULL; + CPy_XDECREF(CPyStatic_stats___yield_to_loop); + CPyStatic_stats___yield_to_loop = NULL; + CPy_XDECREF(CPyStatic_stats____SentryExporter___metrics); + CPyStatic_stats____SentryExporter___metrics = NULL; + CPy_XDECREF(CPyStatic_stats____SentryExporter___units); + CPyStatic_stats____SentryExporter___units = NULL; + CPy_XDECREF(CPyStatic_stats____SentryExporter___set_tag); + CPyStatic_stats____SentryExporter___set_tag = NULL; + CPy_XDECREF(CPyStatic_stats____SentryExporter___set_measurement); + CPyStatic_stats____SentryExporter___set_measurement = NULL; + CPy_XDECREF(CPyStatic_stats____SentryExporter____exc); + CPyStatic_stats____SentryExporter____exc = NULL; + CPy_XDECREF_NO_IMM(CPyStatic_stats___logger); + CPyStatic_stats___logger = NULL; + CPy_XDECREF(CPyStatic_stats___log); + CPyStatic_stats___log = NULL; + CPy_XDECREF(CPyStatic_stats___devhint); + CPyStatic_stats___devhint = NULL; + CPy_XDECREF_NO_IMM(CPyStatic_stats___collector); + CPyStatic_stats___collector = NULL; + CPy_XDECREF_NO_IMM(CPyStatic_stats___sentry); + CPyStatic_stats___sentry = NULL; + Py_CLEAR(CPyType_stats____StatsLogger); + Py_CLEAR(CPyType_stats____Collector); + Py_CLEAR(CPyType_stats____Writer); + Py_CLEAR(CPyType_stats____SentryExporter); + Py_CLEAR(CPyType_stats____stats_daemon__StatsLogger_gen); + Py_CLEAR(CPyType_stats_____init___3__Collector_env); + Py_CLEAR(CPyType_stats_____mypyc_lambda__0___3_init___3__Collector_obj); + Py_CLEAR(CPyType_stats_____mypyc_lambda__1___3_init___3__Collector_obj); + return -1; +} +static struct PyModuleDef statsmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.stats", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + statsmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___stats(void) +{ + if (CPyModule_dank_mids___stats__internal) { + Py_INCREF(CPyModule_dank_mids___stats__internal); + return CPyModule_dank_mids___stats__internal; + } + CPyModule_dank_mids___stats__internal = PyModule_Create(&statsmodule); + if (unlikely(CPyModule_dank_mids___stats__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___stats(CPyModule_dank_mids___stats__internal) != 0) + goto fail; + return CPyModule_dank_mids___stats__internal; + fail: + return NULL; +} + +char CPyDef_stats___log_errd_batch(PyObject *cpy_r_batch) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject **cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + char cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + CPyTagged cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + CPyTagged cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + char cpy_r_r33; + char cpy_r_r34; + cpy_r_r0 = CPyStatic_stats___collector; + if (likely(cpy_r_r0 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"collector\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 83, CPyStatic_stats___globals); + goto CPyL24; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r2 = ((dank_mids___stats____CollectorObject *)cpy_r_r0)->_errd_batches; + CPy_INCREF(cpy_r_r2); + cpy_r_r3 = CPyStatics[19]; /* 'append' */ + PyObject *cpy_r_r4[2] = {cpy_r_r2, cpy_r_batch}; + cpy_r_r5 = (PyObject **)&cpy_r_r4; + cpy_r_r6 = PyObject_VectorcallMethod(cpy_r_r3, cpy_r_r5, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 83, CPyStatic_stats___globals); + goto CPyL25; + } else + goto CPyL26; +CPyL4: ; + CPy_DECREF(cpy_r_r2); + cpy_r_r7 = CPyStatic_stats___logger; + if (likely(cpy_r_r7 != NULL)) goto CPyL7; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r8 = 0; + if (unlikely(!cpy_r_r8)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 84, CPyStatic_stats___globals); + goto CPyL24; + } + CPy_Unreachable(); +CPyL7: ; + cpy_r_r9 = CPyStatics[692]; /* 'jsonrpc batch failed\njson batch id: ' */ + cpy_r_r10 = CPyStatics[693]; /* 'jid' */ + cpy_r_r11 = CPyObject_GetAttr(cpy_r_batch, cpy_r_r10); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 85, CPyStatic_stats___globals); + goto CPyL24; + } + if (PyLong_Check(cpy_r_r11)) + cpy_r_r12 = cpy_r_r11; + else { + cpy_r_r12 = NULL; + } + if (cpy_r_r12 != NULL) goto __LL336; + if (PyUnicode_Check(cpy_r_r11)) + cpy_r_r12 = cpy_r_r11; + else { + cpy_r_r12 = NULL; + } + if (cpy_r_r12 != NULL) goto __LL336; + CPy_TypeErrorTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 85, CPyStatic_stats___globals, "union[int, str]", cpy_r_r11); + goto CPyL24; +__LL336: ; + cpy_r_r13 = PyObject_Str(cpy_r_r12); + CPy_DECREF(cpy_r_r12); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 85, CPyStatic_stats___globals); + goto CPyL24; + } + cpy_r_r14 = CPyStatics[694]; /* ' | len: ' */ + cpy_r_r15 = CPyObject_Size(cpy_r_batch); + if (unlikely(cpy_r_r15 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 85, CPyStatic_stats___globals); + goto CPyL27; + } + cpy_r_r16 = CPyTagged_Str(cpy_r_r15); + CPyTagged_DECREF(cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 85, CPyStatic_stats___globals); + goto CPyL27; + } + cpy_r_r17 = CPyStatics[695]; /* ' | total calls: ' */ + cpy_r_r18 = CPyStatics[696]; /* 'total_calls' */ + cpy_r_r19 = CPyObject_GetAttr(cpy_r_batch, cpy_r_r18); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 85, CPyStatic_stats___globals); + goto CPyL28; + } + if (likely(PyLong_Check(cpy_r_r19))) + cpy_r_r20 = CPyTagged_FromObject(cpy_r_r19); + else { + CPy_TypeError("int", cpy_r_r19); cpy_r_r20 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_r19); + if (unlikely(cpy_r_r20 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 85, CPyStatic_stats___globals); + goto CPyL28; + } + cpy_r_r21 = CPyTagged_Str(cpy_r_r20); + CPyTagged_DECREF(cpy_r_r20); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 85, CPyStatic_stats___globals); + goto CPyL28; + } + cpy_r_r22 = CPyStatics[697]; /* '\n' */ + cpy_r_r23 = CPyStr_Build(7, cpy_r_r9, cpy_r_r13, cpy_r_r14, cpy_r_r16, cpy_r_r17, cpy_r_r21, cpy_r_r22); + CPy_DECREF(cpy_r_r13); + CPy_DECREF(cpy_r_r16); + CPy_DECREF(cpy_r_r21); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 85, CPyStatic_stats___globals); + goto CPyL24; + } + cpy_r_r24 = CPyStatics[698]; /* 'methods called: ' */ + cpy_r_r25 = CPyStatics[699]; /* 'method_counts' */ + cpy_r_r26 = CPyObject_GetAttr(cpy_r_batch, cpy_r_r25); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 86, CPyStatic_stats___globals); + goto CPyL29; + } + if (likely(PyDict_Check(cpy_r_r26))) + cpy_r_r27 = cpy_r_r26; + else { + CPy_TypeErrorTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 86, CPyStatic_stats___globals, "dict", cpy_r_r26); + goto CPyL29; + } + cpy_r_r28 = PyObject_Str(cpy_r_r27); + CPy_DECREF(cpy_r_r27); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 86, CPyStatic_stats___globals); + goto CPyL29; + } + cpy_r_r29 = CPyStr_Build(2, cpy_r_r24, cpy_r_r28); + CPy_DECREF(cpy_r_r28); + if (unlikely(cpy_r_r29 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 86, CPyStatic_stats___globals); + goto CPyL29; + } + cpy_r_r30 = PyUnicode_Concat(cpy_r_r23, cpy_r_r29); + CPy_DECREF(cpy_r_r23); + CPy_DECREF(cpy_r_r29); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 85, CPyStatic_stats___globals); + goto CPyL24; + } + cpy_r_r31 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_r32 = PyDict_New(); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 84, CPyStatic_stats___globals); + goto CPyL30; + } + cpy_r_r33 = CPyDef_stats____StatsLogger___devhint(cpy_r_r7, cpy_r_r30, cpy_r_r31, cpy_r_r32); + CPy_DECREF(cpy_r_r30); + CPy_DECREF(cpy_r_r31); + CPy_DECREF(cpy_r_r32); + if (unlikely(cpy_r_r33 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 84, CPyStatic_stats___globals); + goto CPyL24; + } + return 1; +CPyL24: ; + cpy_r_r34 = 2; + return cpy_r_r34; +CPyL25: ; + CPy_DecRef(cpy_r_r2); + goto CPyL24; +CPyL26: ; + CPy_DECREF(cpy_r_r6); + goto CPyL4; +CPyL27: ; + CPy_DecRef(cpy_r_r13); + goto CPyL24; +CPyL28: ; + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r16); + goto CPyL24; +CPyL29: ; + CPy_DecRef(cpy_r_r23); + goto CPyL24; +CPyL30: ; + CPy_DecRef(cpy_r_r30); + CPy_DecRef(cpy_r_r31); + goto CPyL24; +} + +PyObject *CPyPy_stats___log_errd_batch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"batch", 0}; + static CPyArg_Parser parser = {"O:log_errd_batch", kwlist, 0}; + PyObject *obj_batch; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_batch)) { + return NULL; + } + PyObject *arg_batch = obj_batch; + char retval = CPyDef_stats___log_errd_batch(arg_batch); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_errd_batch", 76, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats___log_duration(PyObject *cpy_r_work_descriptor, double cpy_r_start, CPyTagged cpy_r_level) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject **cpy_r_r5; + PyObject *cpy_r_r6; + char cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + char cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + double cpy_r_r16; + char cpy_r_r17; + double cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + char cpy_r_r23; + PyObject *cpy_r_r24; + char cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject **cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + char cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + char cpy_r_r41; + char cpy_r_r42; + if (cpy_r_level != CPY_INT_TAG) goto CPyL34; + cpy_r_level = 26; +CPyL2: ; + cpy_r_r0 = CPyStatic_stats___logger; + if (unlikely(cpy_r_r0 == NULL)) { + goto CPyL35; + } else + goto CPyL5; +CPyL3: ; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 100, CPyStatic_stats___globals); + goto CPyL33; + } + CPy_Unreachable(); +CPyL5: ; + cpy_r_r2 = CPyStatics[700]; /* 'isEnabledFor' */ + CPyTagged_INCREF(cpy_r_level); + cpy_r_r3 = CPyTagged_StealAsObject(cpy_r_level); + PyObject *cpy_r_r4[2] = {cpy_r_r0, cpy_r_r3}; + cpy_r_r5 = (PyObject **)&cpy_r_r4; + cpy_r_r6 = PyObject_VectorcallMethod(cpy_r_r2, cpy_r_r5, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 100, CPyStatic_stats___globals); + goto CPyL36; + } + CPy_DECREF(cpy_r_r3); + if (unlikely(!PyBool_Check(cpy_r_r6))) { + CPy_TypeError("bool", cpy_r_r6); cpy_r_r7 = 2; + } else + cpy_r_r7 = cpy_r_r6 == Py_True; + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r7 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 100, CPyStatic_stats___globals); + goto CPyL37; + } + cpy_r_r8 = CPyStatic_stats___globals; + cpy_r_r9 = CPyStatics[701]; /* 'COLLECT_STATS' */ + cpy_r_r10 = CPyDict_GetItem(cpy_r_r8, cpy_r_r9); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 101, CPyStatic_stats___globals); + goto CPyL37; + } + if (unlikely(!PyBool_Check(cpy_r_r10))) { + CPy_TypeError("bool", cpy_r_r10); cpy_r_r11 = 2; + } else + cpy_r_r11 = cpy_r_r10 == Py_True; + CPy_DECREF(cpy_r_r10); + if (unlikely(cpy_r_r11 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 101, CPyStatic_stats___globals); + goto CPyL37; + } + if (cpy_r_r11) goto CPyL11; + if (!cpy_r_r7) goto CPyL38; +CPyL11: ; + cpy_r_r12 = CPyStatic_stats___globals; + cpy_r_r13 = CPyStatics[702]; /* 'time' */ + cpy_r_r14 = CPyDict_GetItem(cpy_r_r12, cpy_r_r13); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 102, CPyStatic_stats___globals); + goto CPyL37; + } + cpy_r_r15 = PyObject_Vectorcall(cpy_r_r14, 0, 0, 0); + CPy_DECREF(cpy_r_r14); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 102, CPyStatic_stats___globals); + goto CPyL37; + } + cpy_r_r16 = PyFloat_AsDouble(cpy_r_r15); + if (cpy_r_r16 == -1.0 && PyErr_Occurred()) { + CPy_TypeError("float", cpy_r_r15); cpy_r_r16 = -113.0; + } + CPy_DECREF(cpy_r_r15); + cpy_r_r17 = cpy_r_r16 == -113.0; + if (unlikely(cpy_r_r17)) goto CPyL15; +CPyL14: ; + cpy_r_r18 = cpy_r_r16 - cpy_r_start; + cpy_r_r19 = CPyStatic_stats___globals; + cpy_r_r20 = CPyStatics[701]; /* 'COLLECT_STATS' */ + cpy_r_r21 = CPyDict_GetItem(cpy_r_r19, cpy_r_r20); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 103, CPyStatic_stats___globals); + goto CPyL37; + } else + goto CPyL16; +CPyL15: ; + cpy_r_r22 = PyErr_Occurred(); + if (unlikely(cpy_r_r22 != NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 102, CPyStatic_stats___globals); + goto CPyL37; + } else + goto CPyL14; +CPyL16: ; + if (unlikely(!PyBool_Check(cpy_r_r21))) { + CPy_TypeError("bool", cpy_r_r21); cpy_r_r23 = 2; + } else + cpy_r_r23 = cpy_r_r21 == Py_True; + CPy_DECREF(cpy_r_r21); + if (unlikely(cpy_r_r23 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 103, CPyStatic_stats___globals); + goto CPyL37; + } + if (!cpy_r_r23) goto CPyL24; + cpy_r_r24 = CPyStatic_stats___collector; + if (unlikely(cpy_r_r24 == NULL)) { + goto CPyL39; + } else + goto CPyL21; +CPyL19: ; + PyErr_SetString(PyExc_NameError, "value for final name \"collector\" was not set"); + cpy_r_r25 = 0; + if (unlikely(!cpy_r_r25)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 104, CPyStatic_stats___globals); + goto CPyL33; + } + CPy_Unreachable(); +CPyL21: ; + cpy_r_r26 = ((dank_mids___stats____CollectorObject *)cpy_r_r24)->_durations; + CPy_INCREF(cpy_r_r26); + cpy_r_r27 = CPyDict_GetItem(cpy_r_r26, cpy_r_work_descriptor); + CPy_DECREF(cpy_r_r26); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 104, CPyStatic_stats___globals); + goto CPyL37; + } + cpy_r_r28 = CPyStatics[19]; /* 'append' */ + cpy_r_r29 = PyFloat_FromDouble(cpy_r_r18); + PyObject *cpy_r_r30[2] = {cpy_r_r27, cpy_r_r29}; + cpy_r_r31 = (PyObject **)&cpy_r_r30; + cpy_r_r32 = PyObject_VectorcallMethod(cpy_r_r28, cpy_r_r31, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 104, CPyStatic_stats___globals); + goto CPyL40; + } else + goto CPyL41; +CPyL23: ; + CPy_DECREF(cpy_r_r27); + CPy_DECREF(cpy_r_r29); +CPyL24: ; + if (!cpy_r_r7) goto CPyL38; + cpy_r_r33 = CPyStatic_stats___logger; + if (unlikely(cpy_r_r33 == NULL)) { + goto CPyL42; + } else + goto CPyL28; +CPyL26: ; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r34 = 0; + if (unlikely(!cpy_r_r34)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 106, CPyStatic_stats___globals); + goto CPyL33; + } + CPy_Unreachable(); +CPyL28: ; + cpy_r_r35 = CPyStatics[703]; /* ' took ' */ + cpy_r_r36 = PyFloat_FromDouble(cpy_r_r18); + cpy_r_r37 = PyObject_Str(cpy_r_r36); + CPy_DECREF(cpy_r_r36); + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 106, CPyStatic_stats___globals); + goto CPyL37; + } + cpy_r_r38 = CPyStr_Build(3, cpy_r_work_descriptor, cpy_r_r35, cpy_r_r37); + CPy_DECREF(cpy_r_r37); + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 106, CPyStatic_stats___globals); + goto CPyL37; + } + cpy_r_r39 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_r40 = PyDict_New(); + if (unlikely(cpy_r_r40 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 106, CPyStatic_stats___globals); + goto CPyL43; + } + cpy_r_r41 = CPyDef_stats____StatsLogger____log_nocheck(cpy_r_r33, cpy_r_level, cpy_r_r38, cpy_r_r39, cpy_r_r40); + CPyTagged_DECREF(cpy_r_level); + CPy_DECREF(cpy_r_r38); + CPy_DECREF(cpy_r_r39); + CPy_DECREF(cpy_r_r40); + if (unlikely(cpy_r_r41 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 106, CPyStatic_stats___globals); + goto CPyL33; + } +CPyL32: ; + return 1; +CPyL33: ; + cpy_r_r42 = 2; + return cpy_r_r42; +CPyL34: ; + CPyTagged_INCREF(cpy_r_level); + goto CPyL2; +CPyL35: ; + CPyTagged_DecRef(cpy_r_level); + goto CPyL3; +CPyL36: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r3); + goto CPyL33; +CPyL37: ; + CPyTagged_DecRef(cpy_r_level); + goto CPyL33; +CPyL38: ; + CPyTagged_DECREF(cpy_r_level); + goto CPyL32; +CPyL39: ; + CPyTagged_DecRef(cpy_r_level); + goto CPyL19; +CPyL40: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r27); + CPy_DecRef(cpy_r_r29); + goto CPyL33; +CPyL41: ; + CPy_DECREF(cpy_r_r32); + goto CPyL23; +CPyL42: ; + CPyTagged_DecRef(cpy_r_level); + goto CPyL26; +CPyL43: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r38); + CPy_DecRef(cpy_r_r39); + goto CPyL33; +} + +PyObject *CPyPy_stats___log_duration(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + static const char * const kwlist[] = {"work_descriptor", "start", "level", 0}; + static CPyArg_Parser parser = {"OO|$O:log_duration", kwlist, 0}; + PyObject *obj_work_descriptor; + PyObject *obj_start; + PyObject *obj_level = NULL; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_work_descriptor, &obj_start, &obj_level)) { + return NULL; + } + PyObject *arg_work_descriptor; + if (likely(PyUnicode_Check(obj_work_descriptor))) + arg_work_descriptor = obj_work_descriptor; + else { + CPy_TypeError("str", obj_work_descriptor); + goto fail; + } + double arg_start; + arg_start = PyFloat_AsDouble(obj_start); + if (arg_start == -1.0 && PyErr_Occurred()) { + CPy_TypeError("float", obj_start); goto fail; + } + CPyTagged arg_level; + if (obj_level == NULL) { + arg_level = CPY_INT_TAG; + } else if (likely(PyLong_Check(obj_level))) + arg_level = CPyTagged_BorrowFromObject(obj_level); + else { + CPy_TypeError("int", obj_level); goto fail; + } + char retval = CPyDef_stats___log_duration(arg_work_descriptor, arg_start, arg_level); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_duration", 90, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____StatsLogger___enabled(PyObject *cpy_r_self) { + char cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject **cpy_r_r4; + PyObject *cpy_r_r5; + char cpy_r_r6; + char cpy_r_r7; + cpy_r_r0 = CPyDef_stats____StatsLogger____ensure_daemon(cpy_r_self); + if (unlikely(cpy_r_r0 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "enabled", 134, CPyStatic_stats___globals); + goto CPyL4; + } + cpy_r_r1 = CPyStatics[700]; /* 'isEnabledFor' */ + cpy_r_r2 = CPyStatics[884]; /* 13 */ + PyObject *cpy_r_r3[2] = {cpy_r_self, cpy_r_r2}; + cpy_r_r4 = (PyObject **)&cpy_r_r3; + cpy_r_r5 = PyObject_VectorcallMethod(cpy_r_r1, cpy_r_r4, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "enabled", 135, CPyStatic_stats___globals); + goto CPyL4; + } + if (unlikely(!PyBool_Check(cpy_r_r5))) { + CPy_TypeError("bool", cpy_r_r5); cpy_r_r6 = 2; + } else + cpy_r_r6 = cpy_r_r5 == Py_True; + CPy_DECREF(cpy_r_r5); + if (unlikely(cpy_r_r6 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "enabled", 135, CPyStatic_stats___globals); + goto CPyL4; + } + return cpy_r_r6; +CPyL4: ; + cpy_r_r7 = 2; + return cpy_r_r7; +} + +PyObject *CPyPy_stats____StatsLogger___enabled(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":enabled", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____StatsLogger)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._StatsLogger", obj_self); + goto fail; + } + char retval = CPyDef_stats____StatsLogger___enabled(arg_self); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "enabled", 119, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____StatsLogger___stats(PyObject *cpy_r_self, PyObject *cpy_r_msg, PyObject *cpy_r_args, PyObject *cpy_r_kwargs) { + char cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + int32_t cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + char cpy_r_r9; + cpy_r_r0 = CPyDef_stats____StatsLogger___enabled(cpy_r_self); + if (unlikely(cpy_r_r0 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "stats", 151, CPyStatic_stats___globals); + goto CPyL8; + } +CPyL1: ; + if (!cpy_r_r0) goto CPyL7; +CPyL2: ; + cpy_r_r1 = CPyStatics[704]; /* '_log_nocheck' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_self, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "stats", 152, CPyStatic_stats___globals); + goto CPyL8; + } + cpy_r_r3 = PyDict_New(); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "stats", 152, CPyStatic_stats___globals); + goto CPyL9; + } + cpy_r_r4 = CPyDict_UpdateInDisplay(cpy_r_r3, cpy_r_kwargs); + cpy_r_r5 = cpy_r_r4 >= 0; + if (unlikely(!cpy_r_r5)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "stats", 152, CPyStatic_stats___globals); + goto CPyL10; + } + cpy_r_r6 = CPyStatics[884]; /* 13 */ + cpy_r_r7 = PyTuple_Pack(3, cpy_r_r6, cpy_r_msg, cpy_r_args); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "stats", 152, CPyStatic_stats___globals); + goto CPyL10; + } + cpy_r_r8 = PyObject_Call(cpy_r_r2, cpy_r_r7, cpy_r_r3); + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r7); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "stats", 152, CPyStatic_stats___globals); + goto CPyL8; + } else + goto CPyL11; +CPyL7: ; + return 1; +CPyL8: ; + cpy_r_r9 = 2; + return cpy_r_r9; +CPyL9: ; + CPy_DecRef(cpy_r_r2); + goto CPyL8; +CPyL10: ; + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r3); + goto CPyL8; +CPyL11: ; + CPy_DECREF(cpy_r_r8); + goto CPyL7; +} + +PyObject *CPyPy_stats____StatsLogger___stats(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"msg", 0}; + static CPyArg_Parser parser = {"%O:stats", kwlist, 0}; + PyObject *obj_msg; + PyObject *obj_args; + PyObject *obj_kwargs; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_args, &obj_kwargs, &obj_msg)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____StatsLogger)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._StatsLogger", obj_self); + goto fail; + } + PyObject *arg_msg; + if (likely(PyUnicode_Check(obj_msg))) + arg_msg = obj_msg; + else { + CPy_TypeError("str", obj_msg); + goto fail; + } + PyObject *arg_args = obj_args; + PyObject *arg_kwargs = obj_kwargs; + char retval = CPyDef_stats____StatsLogger___stats(arg_self, arg_msg, arg_args, arg_kwargs); + CPy_DECREF(obj_args); + CPy_DECREF(obj_kwargs); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_DECREF(obj_args); + CPy_DECREF(obj_kwargs); + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "stats", 139, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____StatsLogger___devhint(PyObject *cpy_r_self, PyObject *cpy_r_msg, PyObject *cpy_r_args, PyObject *cpy_r_kwargs) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + int32_t cpy_r_r3; + char cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + char cpy_r_r8; + cpy_r_r0 = CPyStatics[600]; /* '_log' */ + cpy_r_r1 = CPyObject_GetAttr(cpy_r_self, cpy_r_r0); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "devhint", 166, CPyStatic_stats___globals); + goto CPyL6; + } + cpy_r_r2 = PyDict_New(); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "devhint", 166, CPyStatic_stats___globals); + goto CPyL7; + } + cpy_r_r3 = CPyDict_UpdateInDisplay(cpy_r_r2, cpy_r_kwargs); + cpy_r_r4 = cpy_r_r3 >= 0; + if (unlikely(!cpy_r_r4)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "devhint", 166, CPyStatic_stats___globals); + goto CPyL8; + } + cpy_r_r5 = CPyStatics[885]; /* 15 */ + cpy_r_r6 = PyTuple_Pack(3, cpy_r_r5, cpy_r_msg, cpy_r_args); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "devhint", 166, CPyStatic_stats___globals); + goto CPyL8; + } + cpy_r_r7 = PyObject_Call(cpy_r_r1, cpy_r_r6, cpy_r_r2); + CPy_DECREF(cpy_r_r1); + CPy_DECREF(cpy_r_r6); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "devhint", 166, CPyStatic_stats___globals); + goto CPyL6; + } else + goto CPyL9; +CPyL5: ; + return 1; +CPyL6: ; + cpy_r_r8 = 2; + return cpy_r_r8; +CPyL7: ; + CPy_DecRef(cpy_r_r1); + goto CPyL6; +CPyL8: ; + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r2); + goto CPyL6; +CPyL9: ; + CPy_DECREF(cpy_r_r7); + goto CPyL5; +} + +PyObject *CPyPy_stats____StatsLogger___devhint(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"msg", 0}; + static CPyArg_Parser parser = {"%O:devhint", kwlist, 0}; + PyObject *obj_msg; + PyObject *obj_args; + PyObject *obj_kwargs; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_args, &obj_kwargs, &obj_msg)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____StatsLogger)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._StatsLogger", obj_self); + goto fail; + } + PyObject *arg_msg; + if (likely(PyUnicode_Check(obj_msg))) + arg_msg = obj_msg; + else { + CPy_TypeError("str", obj_msg); + goto fail; + } + PyObject *arg_args = obj_args; + PyObject *arg_kwargs = obj_kwargs; + char retval = CPyDef_stats____StatsLogger___devhint(arg_self, arg_msg, arg_args, arg_kwargs); + CPy_DECREF(obj_args); + CPy_DECREF(obj_kwargs); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_DECREF(obj_args); + CPy_DECREF(obj_kwargs); + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "devhint", 154, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____StatsLogger___log_brownie_stats(PyObject *cpy_r_self, CPyTagged cpy_r_level) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + char cpy_r_r6; + if (cpy_r_level != CPY_INT_TAG) goto CPyL7; + cpy_r_level = 26; +CPyL2: ; + cpy_r_r0 = (PyObject *)CPyType_stats____Writer; + cpy_r_r1 = CPyStatics[324]; /* 'brownie' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_brownie_stats", 180, CPyStatic_stats___globals); + goto CPyL8; + } + cpy_r_r3 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_r4 = PyDict_New(); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_brownie_stats", 180, CPyStatic_stats___globals); + goto CPyL9; + } + cpy_r_r5 = CPyDef_stats____StatsLogger____log_fn_result(cpy_r_self, cpy_r_level, cpy_r_r2, cpy_r_r3, cpy_r_r4); + CPyTagged_DECREF(cpy_r_level); + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r3); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r5 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_brownie_stats", 180, CPyStatic_stats___globals); + goto CPyL6; + } + return 1; +CPyL6: ; + cpy_r_r6 = 2; + return cpy_r_r6; +CPyL7: ; + CPyTagged_INCREF(cpy_r_level); + goto CPyL2; +CPyL8: ; + CPyTagged_DecRef(cpy_r_level); + goto CPyL6; +CPyL9: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r3); + goto CPyL6; +} + +PyObject *CPyPy_stats____StatsLogger___log_brownie_stats(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"level", 0}; + static CPyArg_Parser parser = {"|$O:log_brownie_stats", kwlist, 0}; + PyObject *obj_level = NULL; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_level)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____StatsLogger)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._StatsLogger", obj_self); + goto fail; + } + CPyTagged arg_level; + if (obj_level == NULL) { + arg_level = CPY_INT_TAG; + } else if (likely(PyLong_Check(obj_level))) + arg_level = CPyTagged_BorrowFromObject(obj_level); + else { + CPy_TypeError("int", obj_level); goto fail; + } + char retval = CPyDef_stats____StatsLogger___log_brownie_stats(arg_self, arg_level); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_brownie_stats", 170, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____StatsLogger___log_event_loop_stats(PyObject *cpy_r_self, CPyTagged cpy_r_level) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + char cpy_r_r6; + if (cpy_r_level != CPY_INT_TAG) goto CPyL7; + cpy_r_level = 26; +CPyL2: ; + cpy_r_r0 = (PyObject *)CPyType_stats____Writer; + cpy_r_r1 = CPyStatics[705]; /* 'event_loop' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_event_loop_stats", 192, CPyStatic_stats___globals); + goto CPyL8; + } + cpy_r_r3 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_r4 = PyDict_New(); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_event_loop_stats", 192, CPyStatic_stats___globals); + goto CPyL9; + } + cpy_r_r5 = CPyDef_stats____StatsLogger____log_fn_result(cpy_r_self, cpy_r_level, cpy_r_r2, cpy_r_r3, cpy_r_r4); + CPyTagged_DECREF(cpy_r_level); + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r3); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r5 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_event_loop_stats", 192, CPyStatic_stats___globals); + goto CPyL6; + } + return 1; +CPyL6: ; + cpy_r_r6 = 2; + return cpy_r_r6; +CPyL7: ; + CPyTagged_INCREF(cpy_r_level); + goto CPyL2; +CPyL8: ; + CPyTagged_DecRef(cpy_r_level); + goto CPyL6; +CPyL9: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r2); + CPy_DecRef(cpy_r_r3); + goto CPyL6; +} + +PyObject *CPyPy_stats____StatsLogger___log_event_loop_stats(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"level", 0}; + static CPyArg_Parser parser = {"|$O:log_event_loop_stats", kwlist, 0}; + PyObject *obj_level = NULL; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_level)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____StatsLogger)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._StatsLogger", obj_self); + goto fail; + } + CPyTagged arg_level; + if (obj_level == NULL) { + arg_level = CPY_INT_TAG; + } else if (likely(PyLong_Check(obj_level))) + arg_level = CPyTagged_BorrowFromObject(obj_level); + else { + CPy_TypeError("int", obj_level); goto fail; + } + char retval = CPyDef_stats____StatsLogger___log_event_loop_stats(arg_self, arg_level); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_event_loop_stats", 182, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____StatsLogger___log_subprocess_stats(PyObject *cpy_r_self, CPyTagged cpy_r_level) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + int32_t cpy_r_r16; + char cpy_r_r17; + int32_t cpy_r_r18; + char cpy_r_r19; + int32_t cpy_r_r20; + char cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + char cpy_r_r29; + char cpy_r_r30; + char cpy_r_r31; + if (cpy_r_level != CPY_INT_TAG) goto CPyL21; + cpy_r_level = 26; +CPyL2: ; + cpy_r_r0 = CPyStatic_stats___globals; + cpy_r_r1 = CPyStatics[358]; /* 'ENVS' */ + cpy_r_r2 = CPyDict_GetItem(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 204, CPyStatic_stats___globals); + goto CPyL22; + } + cpy_r_r3 = CPyStatics[359]; /* 'BROWNIE_ENCODER_PROCESSES' */ + cpy_r_r4 = CPyObject_GetAttr(cpy_r_r2, cpy_r_r3); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 204, CPyStatic_stats___globals); + goto CPyL22; + } + cpy_r_r5 = CPyStatic_stats___globals; + cpy_r_r6 = CPyStatics[358]; /* 'ENVS' */ + cpy_r_r7 = CPyDict_GetItem(cpy_r_r5, cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 204, CPyStatic_stats___globals); + goto CPyL23; + } + cpy_r_r8 = CPyStatics[362]; /* 'BROWNIE_DECODER_PROCESSES' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + CPy_DECREF(cpy_r_r7); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 204, CPyStatic_stats___globals); + goto CPyL23; + } + cpy_r_r10 = CPyStatic_stats___globals; + cpy_r_r11 = CPyStatics[358]; /* 'ENVS' */ + cpy_r_r12 = CPyDict_GetItem(cpy_r_r10, cpy_r_r11); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 204, CPyStatic_stats___globals); + goto CPyL24; + } + cpy_r_r13 = CPyStatics[706]; /* 'MULTICALL_DECODER_PROCESSES' */ + cpy_r_r14 = CPyObject_GetAttr(cpy_r_r12, cpy_r_r13); + CPy_DECREF(cpy_r_r12); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 204, CPyStatic_stats___globals); + goto CPyL24; + } + cpy_r_r15 = PySet_New(NULL); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 204, CPyStatic_stats___globals); + goto CPyL25; + } + cpy_r_r16 = PySet_Add(cpy_r_r15, cpy_r_r4); + CPy_DECREF(cpy_r_r4); + cpy_r_r17 = cpy_r_r16 >= 0; + if (unlikely(!cpy_r_r17)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 204, CPyStatic_stats___globals); + goto CPyL26; + } + cpy_r_r18 = PySet_Add(cpy_r_r15, cpy_r_r9); + CPy_DECREF(cpy_r_r9); + cpy_r_r19 = cpy_r_r18 >= 0; + if (unlikely(!cpy_r_r19)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 204, CPyStatic_stats___globals); + goto CPyL27; + } + cpy_r_r20 = PySet_Add(cpy_r_r15, cpy_r_r14); + CPy_DECREF(cpy_r_r14); + cpy_r_r21 = cpy_r_r20 >= 0; + if (unlikely(!cpy_r_r21)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 204, CPyStatic_stats___globals); + goto CPyL28; + } + cpy_r_r22 = PyObject_GetIter(cpy_r_r15); + CPy_DECREF(cpy_r_r15); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 204, CPyStatic_stats___globals); + goto CPyL22; + } +CPyL13: ; + cpy_r_r23 = PyIter_Next(cpy_r_r22); + if (cpy_r_r23 == NULL) goto CPyL29; + cpy_r_r24 = (PyObject *)CPyType_stats____Writer; + cpy_r_r25 = CPyStatics[707]; /* 'queue' */ + cpy_r_r26 = CPyObject_GetAttr(cpy_r_r24, cpy_r_r25); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 205, CPyStatic_stats___globals); + goto CPyL30; + } + cpy_r_r27 = PyTuple_Pack(1, cpy_r_r23); + CPy_DECREF(cpy_r_r23); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 205, CPyStatic_stats___globals); + goto CPyL31; + } + cpy_r_r28 = PyDict_New(); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 205, CPyStatic_stats___globals); + goto CPyL32; + } + cpy_r_r29 = CPyDef_stats____StatsLogger____log_fn_result(cpy_r_self, cpy_r_level, cpy_r_r26, cpy_r_r27, cpy_r_r28); + CPy_DECREF(cpy_r_r26); + CPy_DECREF(cpy_r_r27); + CPy_DECREF(cpy_r_r28); + if (unlikely(cpy_r_r29 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 205, CPyStatic_stats___globals); + goto CPyL33; + } else + goto CPyL13; +CPyL18: ; + cpy_r_r30 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r30)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 204, CPyStatic_stats___globals); + goto CPyL20; + } + return 1; +CPyL20: ; + cpy_r_r31 = 2; + return cpy_r_r31; +CPyL21: ; + CPyTagged_INCREF(cpy_r_level); + goto CPyL2; +CPyL22: ; + CPyTagged_DecRef(cpy_r_level); + goto CPyL20; +CPyL23: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r4); + goto CPyL20; +CPyL24: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r4); + CPy_DecRef(cpy_r_r9); + goto CPyL20; +CPyL25: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r4); + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r14); + goto CPyL20; +CPyL26: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r14); + CPy_DecRef(cpy_r_r15); + goto CPyL20; +CPyL27: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r14); + CPy_DecRef(cpy_r_r15); + goto CPyL20; +CPyL28: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r15); + goto CPyL20; +CPyL29: ; + CPyTagged_DECREF(cpy_r_level); + CPy_DECREF(cpy_r_r22); + goto CPyL18; +CPyL30: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r22); + CPy_DecRef(cpy_r_r23); + goto CPyL20; +CPyL31: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r22); + CPy_DecRef(cpy_r_r26); + goto CPyL20; +CPyL32: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r22); + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r27); + goto CPyL20; +CPyL33: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r22); + goto CPyL20; +} + +PyObject *CPyPy_stats____StatsLogger___log_subprocess_stats(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"level", 0}; + static CPyArg_Parser parser = {"|$O:log_subprocess_stats", kwlist, 0}; + PyObject *obj_level = NULL; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_level)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____StatsLogger)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._StatsLogger", obj_self); + goto fail; + } + CPyTagged arg_level; + if (obj_level == NULL) { + arg_level = CPY_INT_TAG; + } else if (likely(PyLong_Check(obj_level))) + arg_level = CPyTagged_BorrowFromObject(obj_level); + else { + CPy_TypeError("int", obj_level); goto fail; + } + char retval = CPyDef_stats____StatsLogger___log_subprocess_stats(arg_self, arg_level); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_subprocess_stats", 194, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____StatsLogger____log(PyObject *cpy_r_self, CPyTagged cpy_r_level, PyObject *cpy_r_msg, PyObject *cpy_r_args, PyObject *cpy_r_kwargs) { + tuple_T0 cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject **cpy_r_r5; + PyObject *cpy_r_r6; + char cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + CPyPtr cpy_r_r12; + CPyPtr cpy_r_r13; + CPyPtr cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + int32_t cpy_r_r17; + char cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + char cpy_r_r21; + char cpy_r_r22; + if (cpy_r_args != NULL) goto CPyL16; + cpy_r_r0.empty_struct_error_flag = 0; + cpy_r_r1 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_args = cpy_r_r1; +CPyL2: ; + cpy_r_r2 = CPyStatics[700]; /* 'isEnabledFor' */ + CPyTagged_INCREF(cpy_r_level); + cpy_r_r3 = CPyTagged_StealAsObject(cpy_r_level); + PyObject *cpy_r_r4[2] = {cpy_r_self, cpy_r_r3}; + cpy_r_r5 = (PyObject **)&cpy_r_r4; + cpy_r_r6 = PyObject_VectorcallMethod(cpy_r_r2, cpy_r_r5, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log", 218, CPyStatic_stats___globals); + goto CPyL17; + } + CPy_DECREF(cpy_r_r3); + if (unlikely(!PyBool_Check(cpy_r_r6))) { + CPy_TypeError("bool", cpy_r_r6); cpy_r_r7 = 2; + } else + cpy_r_r7 = cpy_r_r6 == Py_True; + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r7 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log", 218, CPyStatic_stats___globals); + goto CPyL18; + } + if (!cpy_r_r7) goto CPyL19; + cpy_r_r8 = CPyStatics[704]; /* '_log_nocheck' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_self, cpy_r_r8); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log", 219, CPyStatic_stats___globals); + goto CPyL18; + } + cpy_r_r10 = PyList_New(2); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log", 219, CPyStatic_stats___globals); + goto CPyL20; + } + CPyTagged_INCREF(cpy_r_level); + cpy_r_r11 = CPyTagged_StealAsObject(cpy_r_level); + cpy_r_r12 = (CPyPtr)&((PyListObject *)cpy_r_r10)->ob_item; + cpy_r_r13 = *(CPyPtr *)cpy_r_r12; + *(PyObject * *)cpy_r_r13 = cpy_r_r11; + CPy_INCREF(cpy_r_msg); + cpy_r_r14 = cpy_r_r13 + 8; + *(PyObject * *)cpy_r_r14 = cpy_r_msg; + cpy_r_r15 = CPyList_Extend(cpy_r_r10, cpy_r_args); + CPy_DECREF(cpy_r_args); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log", 219, CPyStatic_stats___globals); + goto CPyL21; + } else + goto CPyL22; +CPyL8: ; + cpy_r_r16 = PyDict_New(); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log", 219, CPyStatic_stats___globals); + goto CPyL21; + } + cpy_r_r17 = CPyDict_UpdateInDisplay(cpy_r_r16, cpy_r_kwargs); + cpy_r_r18 = cpy_r_r17 >= 0; + if (unlikely(!cpy_r_r18)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log", 219, CPyStatic_stats___globals); + goto CPyL23; + } + cpy_r_r19 = PyList_AsTuple(cpy_r_r10); + CPy_DECREF_NO_IMM(cpy_r_r10); + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log", 219, CPyStatic_stats___globals); + goto CPyL24; + } + cpy_r_r20 = PyObject_Call(cpy_r_r9, cpy_r_r19, cpy_r_r16); + CPy_DECREF(cpy_r_r9); + CPy_DECREF(cpy_r_r19); + CPy_DECREF(cpy_r_r16); + if (unlikely(cpy_r_r20 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log", 219, CPyStatic_stats___globals); + goto CPyL15; + } + if (unlikely(cpy_r_r20 != Py_None)) { + CPy_TypeError("None", cpy_r_r20); cpy_r_r21 = 2; + } else + cpy_r_r21 = 1; + CPy_DECREF(cpy_r_r20); + if (unlikely(cpy_r_r21 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log", 219, CPyStatic_stats___globals); + goto CPyL15; + } + return cpy_r_r21; +CPyL14: ; + return 1; +CPyL15: ; + cpy_r_r22 = 2; + return cpy_r_r22; +CPyL16: ; + CPy_INCREF(cpy_r_args); + goto CPyL2; +CPyL17: ; + CPy_DecRef(cpy_r_args); + CPy_DecRef(cpy_r_r3); + goto CPyL15; +CPyL18: ; + CPy_DecRef(cpy_r_args); + goto CPyL15; +CPyL19: ; + CPy_DECREF(cpy_r_args); + goto CPyL14; +CPyL20: ; + CPy_DecRef(cpy_r_args); + CPy_DecRef(cpy_r_r9); + goto CPyL15; +CPyL21: ; + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r10); + goto CPyL15; +CPyL22: ; + CPy_DECREF(cpy_r_r15); + goto CPyL8; +CPyL23: ; + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r10); + CPy_DecRef(cpy_r_r16); + goto CPyL15; +CPyL24: ; + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r16); + goto CPyL15; +} + +PyObject *CPyPy_stats____StatsLogger____log(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"level", "msg", "args", 0}; + static CPyArg_Parser parser = {"%OO|O:_log", kwlist, 0}; + PyObject *obj_level; + PyObject *obj_msg; + PyObject *obj_args = NULL; + PyObject *obj_kwargs; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, NULL, &obj_kwargs, &obj_level, &obj_msg, &obj_args)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____StatsLogger)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._StatsLogger", obj_self); + goto fail; + } + CPyTagged arg_level; + if (likely(PyLong_Check(obj_level))) + arg_level = CPyTagged_BorrowFromObject(obj_level); + else { + CPy_TypeError("int", obj_level); goto fail; + } + PyObject *arg_msg; + if (likely(PyUnicode_Check(obj_msg))) + arg_msg = obj_msg; + else { + CPy_TypeError("str", obj_msg); + goto fail; + } + PyObject * arg_args; + if (obj_args == NULL) { + arg_args = NULL; + } else if (likely(PyTuple_Check(obj_args))) + arg_args = obj_args; + else { + CPy_TypeError("tuple", obj_args); + goto fail; + } + PyObject *arg_kwargs = obj_kwargs; + char retval = CPyDef_stats____StatsLogger____log(arg_self, arg_level, arg_msg, arg_args, arg_kwargs); + CPy_DECREF(obj_kwargs); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_DECREF(obj_kwargs); + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log", 209, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____StatsLogger____log_nocheck(PyObject *cpy_r_self, CPyTagged cpy_r_level, PyObject *cpy_r_msg, PyObject *cpy_r_args, PyObject *cpy_r_kwargs) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject **cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + int32_t cpy_r_r10; + char cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + char cpy_r_r15; + char cpy_r_r16; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[149]; /* 'super' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_nocheck", 233, CPyStatic_stats___globals); + goto CPyL9; + } + cpy_r_r3 = (PyObject *)CPyType_stats____StatsLogger; + PyObject *cpy_r_r4[2] = {cpy_r_r3, cpy_r_self}; + cpy_r_r5 = (PyObject **)&cpy_r_r4; + cpy_r_r6 = PyObject_Vectorcall(cpy_r_r2, cpy_r_r5, 2, 0); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_nocheck", 233, CPyStatic_stats___globals); + goto CPyL9; + } + cpy_r_r7 = CPyStatics[600]; /* '_log' */ + cpy_r_r8 = CPyObject_GetAttr(cpy_r_r6, cpy_r_r7); + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_nocheck", 233, CPyStatic_stats___globals); + goto CPyL9; + } + cpy_r_r9 = PyDict_New(); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_nocheck", 233, CPyStatic_stats___globals); + goto CPyL10; + } + cpy_r_r10 = CPyDict_UpdateInDisplay(cpy_r_r9, cpy_r_kwargs); + cpy_r_r11 = cpy_r_r10 >= 0; + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_nocheck", 233, CPyStatic_stats___globals); + goto CPyL11; + } + CPyTagged_INCREF(cpy_r_level); + cpy_r_r12 = CPyTagged_StealAsObject(cpy_r_level); + cpy_r_r13 = PyTuple_Pack(3, cpy_r_r12, cpy_r_msg, cpy_r_args); + CPy_DECREF(cpy_r_r12); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_nocheck", 233, CPyStatic_stats___globals); + goto CPyL11; + } + cpy_r_r14 = PyObject_Call(cpy_r_r8, cpy_r_r13, cpy_r_r9); + CPy_DECREF(cpy_r_r8); + CPy_DECREF(cpy_r_r13); + CPy_DECREF(cpy_r_r9); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_nocheck", 233, CPyStatic_stats___globals); + goto CPyL9; + } + if (unlikely(cpy_r_r14 != Py_None)) { + CPy_TypeError("None", cpy_r_r14); cpy_r_r15 = 2; + } else + cpy_r_r15 = 1; + CPy_DECREF(cpy_r_r14); + if (unlikely(cpy_r_r15 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_nocheck", 233, CPyStatic_stats___globals); + goto CPyL9; + } + return cpy_r_r15; +CPyL9: ; + cpy_r_r16 = 2; + return cpy_r_r16; +CPyL10: ; + CPy_DecRef(cpy_r_r8); + goto CPyL9; +CPyL11: ; + CPy_DecRef(cpy_r_r8); + CPy_DecRef(cpy_r_r9); + goto CPyL9; +} + +PyObject *CPyPy_stats____StatsLogger____log_nocheck(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"level", "msg", 0}; + static CPyArg_Parser parser = {"%OO:_log_nocheck", kwlist, 0}; + PyObject *obj_level; + PyObject *obj_msg; + PyObject *obj_args; + PyObject *obj_kwargs; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_args, &obj_kwargs, &obj_level, &obj_msg)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____StatsLogger)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._StatsLogger", obj_self); + goto fail; + } + CPyTagged arg_level; + if (likely(PyLong_Check(obj_level))) + arg_level = CPyTagged_BorrowFromObject(obj_level); + else { + CPy_TypeError("int", obj_level); goto fail; + } + PyObject *arg_msg; + if (likely(PyUnicode_Check(obj_msg))) + arg_msg = obj_msg; + else { + CPy_TypeError("str", obj_msg); + goto fail; + } + PyObject *arg_args = obj_args; + PyObject *arg_kwargs = obj_kwargs; + char retval = CPyDef_stats____StatsLogger____log_nocheck(arg_self, arg_level, arg_msg, arg_args, arg_kwargs); + CPy_DECREF(obj_args); + CPy_DECREF(obj_kwargs); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_DECREF(obj_args); + CPy_DECREF(obj_kwargs); + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_nocheck", 221, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____StatsLogger____log_fn_result(PyObject *cpy_r_self, CPyTagged cpy_r_level, PyObject *cpy_r_callable, PyObject *cpy_r_callable_args, PyObject *cpy_r_logging_kwargs) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject **cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + tuple_T0 cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + int32_t cpy_r_r12; + char cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + char cpy_r_r18; + char cpy_r_r19; + cpy_r_r0 = CPyStatics[700]; /* 'isEnabledFor' */ + CPyTagged_INCREF(cpy_r_level); + cpy_r_r1 = CPyTagged_StealAsObject(cpy_r_level); + PyObject *cpy_r_r2[2] = {cpy_r_self, cpy_r_r1}; + cpy_r_r3 = (PyObject **)&cpy_r_r2; + cpy_r_r4 = PyObject_VectorcallMethod(cpy_r_r0, cpy_r_r3, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_fn_result", 251, CPyStatic_stats___globals); + goto CPyL14; + } + CPy_DECREF(cpy_r_r1); + if (unlikely(!PyBool_Check(cpy_r_r4))) { + CPy_TypeError("bool", cpy_r_r4); cpy_r_r5 = 2; + } else + cpy_r_r5 = cpy_r_r4 == Py_True; + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r5 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_fn_result", 251, CPyStatic_stats___globals); + goto CPyL13; + } + if (!cpy_r_r5) goto CPyL12; + cpy_r_r6 = PyObject_CallObject(cpy_r_callable, cpy_r_callable_args); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_fn_result", 252, CPyStatic_stats___globals); + goto CPyL13; + } + if (likely(PyUnicode_Check(cpy_r_r6))) + cpy_r_r7 = cpy_r_r6; + else { + CPy_TypeErrorTraceback("dank_mids\\stats\\__init__.py", "_log_fn_result", 252, CPyStatic_stats___globals, "str", cpy_r_r6); + goto CPyL13; + } + cpy_r_r8.empty_struct_error_flag = 0; + cpy_r_r9 = CPyStatics[704]; /* '_log_nocheck' */ + cpy_r_r10 = CPyObject_GetAttr(cpy_r_self, cpy_r_r9); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_fn_result", 252, CPyStatic_stats___globals); + goto CPyL15; + } + cpy_r_r11 = PyDict_New(); + if (unlikely(cpy_r_r11 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_fn_result", 252, CPyStatic_stats___globals); + goto CPyL16; + } + cpy_r_r12 = CPyDict_UpdateInDisplay(cpy_r_r11, cpy_r_logging_kwargs); + cpy_r_r13 = cpy_r_r12 >= 0; + if (unlikely(!cpy_r_r13)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_fn_result", 252, CPyStatic_stats___globals); + goto CPyL17; + } + CPyTagged_INCREF(cpy_r_level); + cpy_r_r14 = CPyTagged_StealAsObject(cpy_r_level); + cpy_r_r15 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_r16 = PyTuple_Pack(3, cpy_r_r14, cpy_r_r7, cpy_r_r15); + CPy_DECREF(cpy_r_r14); + CPy_DECREF(cpy_r_r7); + CPy_DECREF(cpy_r_r15); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_fn_result", 252, CPyStatic_stats___globals); + goto CPyL18; + } + cpy_r_r17 = PyObject_Call(cpy_r_r10, cpy_r_r16, cpy_r_r11); + CPy_DECREF(cpy_r_r10); + CPy_DECREF(cpy_r_r16); + CPy_DECREF(cpy_r_r11); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_fn_result", 252, CPyStatic_stats___globals); + goto CPyL13; + } + if (unlikely(cpy_r_r17 != Py_None)) { + CPy_TypeError("None", cpy_r_r17); cpy_r_r18 = 2; + } else + cpy_r_r18 = 1; + CPy_DECREF(cpy_r_r17); + if (unlikely(cpy_r_r18 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_fn_result", 252, CPyStatic_stats___globals); + goto CPyL13; + } + return cpy_r_r18; +CPyL12: ; + return 1; +CPyL13: ; + cpy_r_r19 = 2; + return cpy_r_r19; +CPyL14: ; + CPy_DecRef(cpy_r_r1); + goto CPyL13; +CPyL15: ; + CPy_DecRef(cpy_r_r7); + goto CPyL13; +CPyL16: ; + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r10); + goto CPyL13; +CPyL17: ; + CPy_DecRef(cpy_r_r7); + CPy_DecRef(cpy_r_r10); + CPy_DecRef(cpy_r_r11); + goto CPyL13; +CPyL18: ; + CPy_DecRef(cpy_r_r10); + CPy_DecRef(cpy_r_r11); + goto CPyL13; +} + +PyObject *CPyPy_stats____StatsLogger____log_fn_result(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"level", "callable", 0}; + static CPyArg_Parser parser = {"%OO:_log_fn_result", kwlist, 0}; + PyObject *obj_level; + PyObject *obj_callable; + PyObject *obj_callable_args; + PyObject *obj_logging_kwargs; + if (!CPyArg_ParseStackAndKeywords(args, nargs, kwnames, &parser, &obj_callable_args, &obj_logging_kwargs, &obj_level, &obj_callable)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____StatsLogger)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._StatsLogger", obj_self); + goto fail; + } + CPyTagged arg_level; + if (likely(PyLong_Check(obj_level))) + arg_level = CPyTagged_BorrowFromObject(obj_level); + else { + CPy_TypeError("int", obj_level); goto fail; + } + PyObject *arg_callable = obj_callable; + PyObject *arg_callable_args = obj_callable_args; + PyObject *arg_logging_kwargs = obj_logging_kwargs; + char retval = CPyDef_stats____StatsLogger____log_fn_result(arg_self, arg_level, arg_callable, arg_callable_args, arg_logging_kwargs); + CPy_DECREF(obj_callable_args); + CPy_DECREF(obj_logging_kwargs); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_DECREF(obj_callable_args); + CPy_DECREF(obj_logging_kwargs); + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_fn_result", 235, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____StatsLogger____ensure_daemon(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + char cpy_r_r1; + int32_t cpy_r_r2; + char cpy_r_r3; + char cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + char cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject **cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + char cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject **cpy_r_r22; + PyObject *cpy_r_r23; + char cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject **cpy_r_r28; + PyObject *cpy_r_r29; + char cpy_r_r30; + cpy_r_r0 = CPyStatic_ENVIRONMENT_VARIABLES___COLLECT_STATS; + if (likely(cpy_r_r0 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"COLLECT_STATS\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_ensure_daemon", 265, CPyStatic_stats___globals); + goto CPyL22; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r2 = PyObject_IsTrue(cpy_r_r0); + cpy_r_r3 = cpy_r_r2 >= 0; + if (unlikely(!cpy_r_r3)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_ensure_daemon", 265, CPyStatic_stats___globals); + goto CPyL22; + } + cpy_r_r4 = cpy_r_r2; + if (cpy_r_r4) goto CPyL7; + cpy_r_r5 = CPyDef_stats____StatsLogger___enabled(cpy_r_self); + if (unlikely(cpy_r_r5 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_ensure_daemon", 265, CPyStatic_stats___globals); + goto CPyL22; + } +CPyL6: ; + if (!cpy_r_r5) goto CPyL13; +CPyL7: ; + cpy_r_r6 = ((dank_mids___stats____StatsLoggerObject *)cpy_r_self)->__daemon; + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AttributeError("dank_mids\\stats\\__init__.py", "_ensure_daemon", "_StatsLogger", "_daemon", 265, CPyStatic_stats___globals); + goto CPyL22; + } +CPyL8: ; + cpy_r_r7 = (PyObject *)&_Py_NoneStruct; + cpy_r_r8 = cpy_r_r6 == cpy_r_r7; + if (!cpy_r_r8) goto CPyL13; + cpy_r_r9 = CPyDef_stats____StatsLogger____stats_daemon(cpy_r_self); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_ensure_daemon", 266, CPyStatic_stats___globals); + goto CPyL22; + } + cpy_r_r10 = CPyStatics[708]; /* '_StatsLogger debug daemon' */ + cpy_r_r11 = CPyStatic_stats___globals; + cpy_r_r12 = CPyStatics[61]; /* 'create_task' */ + cpy_r_r13 = CPyDict_GetItem(cpy_r_r11, cpy_r_r12); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_ensure_daemon", 266, CPyStatic_stats___globals); + goto CPyL23; + } + PyObject *cpy_r_r14[2] = {cpy_r_r9, cpy_r_r10}; + cpy_r_r15 = (PyObject **)&cpy_r_r14; + cpy_r_r16 = CPyStatics[905]; /* ('name',) */ + cpy_r_r17 = PyObject_Vectorcall(cpy_r_r13, cpy_r_r15, 1, cpy_r_r16); + CPy_DECREF(cpy_r_r13); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_ensure_daemon", 266, CPyStatic_stats___globals); + goto CPyL23; + } + CPy_DECREF_NO_IMM(cpy_r_r9); + if (((dank_mids___stats____StatsLoggerObject *)cpy_r_self)->__daemon != NULL) { + CPy_DECREF(((dank_mids___stats____StatsLoggerObject *)cpy_r_self)->__daemon); + } + ((dank_mids___stats____StatsLoggerObject *)cpy_r_self)->__daemon = cpy_r_r17; + cpy_r_r18 = 1; + if (unlikely(!cpy_r_r18)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_ensure_daemon", 266, CPyStatic_stats___globals); + goto CPyL22; + } else + goto CPyL21; +CPyL13: ; + cpy_r_r19 = ((dank_mids___stats____StatsLoggerObject *)cpy_r_self)->__daemon; + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AttributeError("dank_mids\\stats\\__init__.py", "_ensure_daemon", "_StatsLogger", "_daemon", 267, CPyStatic_stats___globals); + goto CPyL22; + } + CPy_INCREF(cpy_r_r19); +CPyL14: ; + cpy_r_r20 = CPyStatics[709]; /* 'done' */ + PyObject *cpy_r_r21[1] = {cpy_r_r19}; + cpy_r_r22 = (PyObject **)&cpy_r_r21; + cpy_r_r23 = PyObject_VectorcallMethod(cpy_r_r20, cpy_r_r22, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r23 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_ensure_daemon", 267, CPyStatic_stats___globals); + goto CPyL24; + } + CPy_DECREF(cpy_r_r19); + if (unlikely(!PyBool_Check(cpy_r_r23))) { + CPy_TypeError("bool", cpy_r_r23); cpy_r_r24 = 2; + } else + cpy_r_r24 = cpy_r_r23 == Py_True; + CPy_DECREF(cpy_r_r23); + if (unlikely(cpy_r_r24 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_ensure_daemon", 267, CPyStatic_stats___globals); + goto CPyL22; + } + if (!cpy_r_r24) goto CPyL21; + cpy_r_r25 = ((dank_mids___stats____StatsLoggerObject *)cpy_r_self)->__daemon; + if (unlikely(cpy_r_r25 == NULL)) { + CPy_AttributeError("dank_mids\\stats\\__init__.py", "_ensure_daemon", "_StatsLogger", "_daemon", 268, CPyStatic_stats___globals); + goto CPyL22; + } + CPy_INCREF(cpy_r_r25); +CPyL18: ; + cpy_r_r26 = CPyStatics[710]; /* 'exception' */ + PyObject *cpy_r_r27[1] = {cpy_r_r25}; + cpy_r_r28 = (PyObject **)&cpy_r_r27; + cpy_r_r29 = PyObject_VectorcallMethod(cpy_r_r26, cpy_r_r28, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r29 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_ensure_daemon", 268, CPyStatic_stats___globals); + goto CPyL25; + } + CPy_DECREF(cpy_r_r25); + CPy_Raise(cpy_r_r29); + CPy_DECREF(cpy_r_r29); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_ensure_daemon", 268, CPyStatic_stats___globals); + goto CPyL22; + } + CPy_Unreachable(); +CPyL21: ; + return 1; +CPyL22: ; + cpy_r_r30 = 2; + return cpy_r_r30; +CPyL23: ; + CPy_DecRef(cpy_r_r9); + goto CPyL22; +CPyL24: ; + CPy_DecRef(cpy_r_r19); + goto CPyL22; +CPyL25: ; + CPy_DecRef(cpy_r_r25); + goto CPyL22; +} + +PyObject *CPyPy_stats____StatsLogger____ensure_daemon(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":_ensure_daemon", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____StatsLogger)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._StatsLogger", obj_self); + goto fail; + } + char retval = CPyDef_stats____StatsLogger____ensure_daemon(arg_self); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_ensure_daemon", 256, CPyStatic_stats___globals); + return NULL; +} + +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + int32_t cpy_r_r2; + PyObject *cpy_r_r3; + char cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + double cpy_r_r9; + char cpy_r_r10; + char cpy_r_r11; + PyObject *cpy_r_r12; + char cpy_r_r13; + PyObject *cpy_r_r14; + char cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + char cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + char cpy_r_r24; + PyObject *cpy_r_r25; + char cpy_r_r26; + PyObject *cpy_r_r27; + char cpy_r_r28; + tuple_T3OOO cpy_r_r29; + char cpy_r_r30; + PyObject **cpy_r_r31; + PyObject *cpy_r_r32; + char cpy_r_r33; + tuple_T3OOO cpy_r_r34; + tuple_T3OOO cpy_r_r35; + tuple_T3OOO cpy_r_r36; + char cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + double cpy_r_r45; + char cpy_r_r46; + char cpy_r_r47; + PyObject *cpy_r_r48; + double cpy_r_r49; + char cpy_r_r50; + double cpy_r_r51; + char cpy_r_r52; + PyObject *cpy_r_r53; + double cpy_r_r54; + char cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + char cpy_r_r58; + PyObject *cpy_r_r59; + double cpy_r_r60; + char cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject **cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + PyObject *cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + double cpy_r_r72; + char cpy_r_r73; + char cpy_r_r74; + PyObject *cpy_r_r75; + double cpy_r_r76; + char cpy_r_r77; + double cpy_r_r78; + char cpy_r_r79; + PyObject *cpy_r_r80; + double cpy_r_r81; + char cpy_r_r82; + PyObject *cpy_r_r83; + double cpy_r_r84; + char cpy_r_r85; + char cpy_r_r86; + PyObject *cpy_r_r87; + PyObject *cpy_r_r88; + char cpy_r_r89; + PyObject *cpy_r_r90; + char cpy_r_r91; + PyObject *cpy_r_r92; + char cpy_r_r93; + char cpy_r_r94; + PyObject *cpy_r_r95; + char cpy_r_r96; + char cpy_r_r97; + char cpy_r_r98; + char cpy_r_r99; + PyObject *cpy_r_r100; + cpy_r_r0 = NULL; + cpy_r_r1 = cpy_r_r0; + cpy_r_r2 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__; + goto CPyL84; +CPyL1: ; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = cpy_r_type != cpy_r_r3; + if (!cpy_r_r4) goto CPyL4; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 270, CPyStatic_stats___globals); + goto CPyL88; + } + CPy_Unreachable(); +CPyL4: ; + cpy_r_r5 = CPyStatic_stats___globals; + cpy_r_r6 = CPyStatics[702]; /* 'time' */ + cpy_r_r7 = CPyDict_GetItem(cpy_r_r5, cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 278, CPyStatic_stats___globals); + goto CPyL88; + } + cpy_r_r8 = PyObject_Vectorcall(cpy_r_r7, 0, 0, 0); + CPy_DECREF(cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 278, CPyStatic_stats___globals); + goto CPyL88; + } + cpy_r_r9 = PyFloat_AsDouble(cpy_r_r8); + if (cpy_r_r9 == -1.0 && PyErr_Occurred()) { + CPy_TypeError("float", cpy_r_r8); cpy_r_r9 = -113.0; + } + CPy_DECREF(cpy_r_r8); + cpy_r_r10 = cpy_r_r9 == -113.0; + if (unlikely(cpy_r_r10)) goto CPyL8; +CPyL7: ; + if (unlikely(cpy_r_r9 == -113.0)) { + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->bitmap |= 1; + } + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__start = cpy_r_r9; + cpy_r_r11 = 1; + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 278, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL9; +CPyL8: ; + cpy_r_r12 = PyErr_Occurred(); + if (unlikely(cpy_r_r12 != NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 278, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL7; +CPyL9: ; + if (unlikely(0.0 == -113.0)) { + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->bitmap |= 2; + } + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__time_since_notified = 0.0; + cpy_r_r13 = 1; + if (unlikely(!cpy_r_r13)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 279, CPyStatic_stats___globals); + goto CPyL88; + } +CPyL10: ; + if (!1) goto CPyL79; + cpy_r_r14 = CPyStatic_stats___yield_to_loop; + if (likely(cpy_r_r14 != NULL)) goto CPyL14; + PyErr_SetString(PyExc_NameError, "value for final name \"yield_to_loop\" was not set"); + cpy_r_r15 = 0; + if (unlikely(!cpy_r_r15)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 281, CPyStatic_stats___globals); + goto CPyL88; + } + CPy_Unreachable(); +CPyL14: ; + cpy_r_r16 = PyObject_Vectorcall(cpy_r_r14, 0, 0, 0); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 281, CPyStatic_stats___globals); + goto CPyL88; + } + cpy_r_r17 = CPy_GetCoro(cpy_r_r16); + CPy_DECREF(cpy_r_r16); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 281, CPyStatic_stats___globals); + goto CPyL88; + } + if (((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 != NULL) { + CPy_DECREF(((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0); + } + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 = cpy_r_r17; + cpy_r_r18 = 1; + if (unlikely(!cpy_r_r18)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", -1, CPyStatic_stats___globals); + goto CPyL88; + } + cpy_r_r19 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0; + if (unlikely(cpy_r_r19 == NULL)) { + CPy_AttributeError("dank_mids\\stats\\__init__.py", "_stats_daemon", "_stats_daemon__StatsLogger_gen", "__mypyc_temp__0", -1, CPyStatic_stats___globals); + goto CPyL88; + } + CPy_INCREF(cpy_r_r19); +CPyL18: ; + cpy_r_r20 = CPyIter_Next(cpy_r_r19); + CPy_DECREF(cpy_r_r19); + if (cpy_r_r20 != NULL) goto CPyL21; + cpy_r_r21 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 281, CPyStatic_stats___globals); + goto CPyL88; + } + cpy_r_r22 = cpy_r_r21; + CPy_DECREF(cpy_r_r22); + cpy_r_r23 = NULL; + if (((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 != NULL) { + CPy_DECREF(((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0); + } + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0 = cpy_r_r23; + cpy_r_r24 = 1; + if (unlikely(!cpy_r_r24)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 281, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL43; +CPyL21: ; + cpy_r_r25 = cpy_r_r20; +CPyL22: ; + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = 1; + return cpy_r_r25; +CPyL23: ; + cpy_r_r27 = (PyObject *)&_Py_NoneStruct; + cpy_r_r28 = cpy_r_type != cpy_r_r27; + if (!cpy_r_r28) goto CPyL89; + CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 281, CPyStatic_stats___globals); + goto CPyL27; + } else + goto CPyL90; +CPyL25: ; + CPy_Unreachable(); +CPyL26: ; + CPy_INCREF(cpy_r_arg); + goto CPyL38; +CPyL27: ; + cpy_r_r29 = CPy_CatchError(); + if (((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1.f0 != NULL) { + CPy_DECREF(((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1.f0); + CPy_DECREF(((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1.f1); + CPy_DECREF(((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1.f2); + } + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1 = cpy_r_r29; + cpy_r_r30 = 1; + if (unlikely(!cpy_r_r30)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", -1, CPyStatic_stats___globals); + goto CPyL91; + } + cpy_r_r31 = (PyObject **)&cpy_r_r1; + cpy_r_r32 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0; + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AttributeError("dank_mids\\stats\\__init__.py", "_stats_daemon", "_stats_daemon__StatsLogger_gen", "__mypyc_temp__0", -1, CPyStatic_stats___globals); + goto CPyL91; + } + CPy_INCREF(cpy_r_r32); +CPyL29: ; + cpy_r_r33 = CPy_YieldFromErrorHandle(cpy_r_r32, cpy_r_r31); + CPy_DecRef(cpy_r_r32); + if (unlikely(cpy_r_r33 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 281, CPyStatic_stats___globals); + goto CPyL91; + } + if (cpy_r_r33) goto CPyL33; + cpy_r_r25 = cpy_r_r1; + cpy_r_r34 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1; + if (unlikely(cpy_r_r34.f0 == NULL)) { + CPy_AttributeError("dank_mids\\stats\\__init__.py", "_stats_daemon", "_stats_daemon__StatsLogger_gen", "__mypyc_temp__1", -1, CPyStatic_stats___globals); + goto CPyL92; + } + CPy_INCREF(cpy_r_r34.f0); + CPy_INCREF(cpy_r_r34.f1); + CPy_INCREF(cpy_r_r34.f2); +CPyL32: ; + CPy_RestoreExcInfo(cpy_r_r34); + CPy_DecRef(cpy_r_r34.f0); + CPy_DecRef(cpy_r_r34.f1); + CPy_DecRef(cpy_r_r34.f2); + goto CPyL22; +CPyL33: ; + cpy_r_r22 = cpy_r_r1; + CPy_DecRef(cpy_r_r22); + cpy_r_r35 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1; + if (unlikely(cpy_r_r35.f0 == NULL)) { + CPy_AttributeError("dank_mids\\stats\\__init__.py", "_stats_daemon", "_stats_daemon__StatsLogger_gen", "__mypyc_temp__1", -1, CPyStatic_stats___globals); + goto CPyL35; + } + CPy_INCREF(cpy_r_r35.f0); + CPy_INCREF(cpy_r_r35.f1); + CPy_INCREF(cpy_r_r35.f2); +CPyL34: ; + CPy_RestoreExcInfo(cpy_r_r35); + CPy_DecRef(cpy_r_r35.f0); + CPy_DecRef(cpy_r_r35.f1); + CPy_DecRef(cpy_r_r35.f2); + goto CPyL43; +CPyL35: ; + cpy_r_r36 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__1; + if (unlikely(cpy_r_r36.f0 == NULL)) { + CPy_AttributeError("dank_mids\\stats\\__init__.py", "_stats_daemon", "_stats_daemon__StatsLogger_gen", "__mypyc_temp__1", -1, CPyStatic_stats___globals); + goto CPyL88; + } + CPy_INCREF(cpy_r_r36.f0); + CPy_INCREF(cpy_r_r36.f1); + CPy_INCREF(cpy_r_r36.f2); +CPyL36: ; + CPy_RestoreExcInfo(cpy_r_r36); + CPy_DecRef(cpy_r_r36.f0); + CPy_DecRef(cpy_r_r36.f1); + CPy_DecRef(cpy_r_r36.f2); + cpy_r_r37 = CPy_KeepPropagating(); + if (!cpy_r_r37) goto CPyL88; + CPy_Unreachable(); +CPyL38: ; + cpy_r_r38 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_temp__0; + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AttributeError("dank_mids\\stats\\__init__.py", "_stats_daemon", "_stats_daemon__StatsLogger_gen", "__mypyc_temp__0", -1, CPyStatic_stats___globals); + goto CPyL93; + } + CPy_INCREF(cpy_r_r38); +CPyL39: ; + 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 CPyL41; + cpy_r_r25 = cpy_r_r39; + goto CPyL22; +CPyL41: ; + cpy_r_r40 = CPy_FetchStopIterationValue(); + if (unlikely(cpy_r_r40 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 281, CPyStatic_stats___globals); + goto CPyL88; + } + cpy_r_r22 = cpy_r_r40; + CPy_DECREF(cpy_r_r22); +CPyL43: ; + cpy_r_r41 = CPyStatic_stats___globals; + cpy_r_r42 = CPyStatics[702]; /* 'time' */ + cpy_r_r43 = CPyDict_GetItem(cpy_r_r41, cpy_r_r42); + if (unlikely(cpy_r_r43 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 282, CPyStatic_stats___globals); + goto CPyL88; + } + cpy_r_r44 = PyObject_Vectorcall(cpy_r_r43, 0, 0, 0); + CPy_DECREF(cpy_r_r43); + if (unlikely(cpy_r_r44 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 282, CPyStatic_stats___globals); + goto CPyL88; + } + cpy_r_r45 = PyFloat_AsDouble(cpy_r_r44); + if (cpy_r_r45 == -1.0 && PyErr_Occurred()) { + CPy_TypeError("float", cpy_r_r44); cpy_r_r45 = -113.0; + } + CPy_DECREF(cpy_r_r44); + cpy_r_r46 = cpy_r_r45 == -113.0; + if (unlikely(cpy_r_r46)) goto CPyL47; +CPyL46: ; + if (unlikely(cpy_r_r45 == -113.0)) { + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->bitmap |= 4; + } + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__now = cpy_r_r45; + cpy_r_r47 = 1; + if (unlikely(!cpy_r_r47)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 282, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL48; +CPyL47: ; + cpy_r_r48 = PyErr_Occurred(); + if (unlikely(cpy_r_r48 != NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 282, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL46; +CPyL48: ; + cpy_r_r49 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__now; + if (unlikely(cpy_r_r49 == -113.0) && !(((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->bitmap & 4)) { + PyErr_SetString(PyExc_AttributeError, "attribute 'now' of '_stats_daemon__StatsLogger_gen' undefined"); + } + cpy_r_r50 = cpy_r_r49 == -113.0; + if (unlikely(cpy_r_r50)) goto CPyL50; +CPyL49: ; + cpy_r_r51 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__start; + if (unlikely(cpy_r_r51 == -113.0) && !(((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->bitmap & 1)) { + PyErr_SetString(PyExc_AttributeError, "attribute 'start' of '_stats_daemon__StatsLogger_gen' undefined"); + } + cpy_r_r52 = cpy_r_r51 == -113.0; + if (unlikely(cpy_r_r52)) { + goto CPyL52; + } else + goto CPyL51; +CPyL50: ; + cpy_r_r53 = PyErr_Occurred(); + if (unlikely(cpy_r_r53 != NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 283, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL49; +CPyL51: ; + cpy_r_r54 = cpy_r_r49 - cpy_r_r51; + if (unlikely(cpy_r_r54 == -113.0)) { + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->bitmap |= 8; + } + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__duration = cpy_r_r54; + cpy_r_r55 = 1; + if (unlikely(!cpy_r_r55)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 283, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL53; +CPyL52: ; + cpy_r_r56 = PyErr_Occurred(); + if (unlikely(cpy_r_r56 != NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 283, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL51; +CPyL53: ; + cpy_r_r57 = CPyStatic_stats___collector; + if (likely(cpy_r_r57 != NULL)) goto CPyL56; + PyErr_SetString(PyExc_NameError, "value for final name \"collector\" was not set"); + cpy_r_r58 = 0; + if (unlikely(!cpy_r_r58)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 284, CPyStatic_stats___globals); + goto CPyL88; + } + CPy_Unreachable(); +CPyL56: ; + cpy_r_r59 = ((dank_mids___stats____CollectorObject *)cpy_r_r57)->_event_loop_times; + CPy_INCREF(cpy_r_r59); + cpy_r_r60 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__duration; + if (unlikely(cpy_r_r60 == -113.0) && !(((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->bitmap & 8)) { + PyErr_SetString(PyExc_AttributeError, "attribute 'duration' of '_stats_daemon__StatsLogger_gen' undefined"); + } + cpy_r_r61 = cpy_r_r60 == -113.0; + if (unlikely(cpy_r_r61)) goto CPyL58; +CPyL57: ; + cpy_r_r62 = CPyStatics[19]; /* 'append' */ + cpy_r_r63 = PyFloat_FromDouble(cpy_r_r60); + PyObject *cpy_r_r64[2] = {cpy_r_r59, cpy_r_r63}; + cpy_r_r65 = (PyObject **)&cpy_r_r64; + cpy_r_r66 = PyObject_VectorcallMethod(cpy_r_r62, cpy_r_r65, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r66 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 284, CPyStatic_stats___globals); + goto CPyL94; + } else + goto CPyL95; +CPyL58: ; + cpy_r_r67 = PyErr_Occurred(); + if (unlikely(cpy_r_r67 != NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 284, CPyStatic_stats___globals); + goto CPyL96; + } else + goto CPyL57; +CPyL59: ; + CPy_DECREF(cpy_r_r59); + CPy_DECREF(cpy_r_r63); + cpy_r_r68 = CPyStatic_stats___globals; + cpy_r_r69 = CPyStatics[702]; /* 'time' */ + cpy_r_r70 = CPyDict_GetItem(cpy_r_r68, cpy_r_r69); + if (unlikely(cpy_r_r70 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 285, CPyStatic_stats___globals); + goto CPyL88; + } + cpy_r_r71 = PyObject_Vectorcall(cpy_r_r70, 0, 0, 0); + CPy_DECREF(cpy_r_r70); + if (unlikely(cpy_r_r71 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 285, CPyStatic_stats___globals); + goto CPyL88; + } + cpy_r_r72 = PyFloat_AsDouble(cpy_r_r71); + if (cpy_r_r72 == -1.0 && PyErr_Occurred()) { + CPy_TypeError("float", cpy_r_r71); cpy_r_r72 = -113.0; + } + CPy_DECREF(cpy_r_r71); + cpy_r_r73 = cpy_r_r72 == -113.0; + if (unlikely(cpy_r_r73)) goto CPyL63; +CPyL62: ; + if (unlikely(cpy_r_r72 == -113.0)) { + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->bitmap |= 1; + } + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__start = cpy_r_r72; + cpy_r_r74 = 1; + if (unlikely(!cpy_r_r74)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 285, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL64; +CPyL63: ; + cpy_r_r75 = PyErr_Occurred(); + if (unlikely(cpy_r_r75 != NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 285, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL62; +CPyL64: ; + cpy_r_r76 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__time_since_notified; + if (unlikely(cpy_r_r76 == -113.0) && !(((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->bitmap & 2)) { + PyErr_SetString(PyExc_AttributeError, "attribute 'time_since_notified' of '_stats_daemon__StatsLogger_gen' undefined"); + } + cpy_r_r77 = cpy_r_r76 == -113.0; + if (unlikely(cpy_r_r77)) goto CPyL66; +CPyL65: ; + cpy_r_r78 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__duration; + if (unlikely(cpy_r_r78 == -113.0) && !(((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->bitmap & 8)) { + PyErr_SetString(PyExc_AttributeError, "attribute 'duration' of '_stats_daemon__StatsLogger_gen' undefined"); + } + cpy_r_r79 = cpy_r_r78 == -113.0; + if (unlikely(cpy_r_r79)) { + goto CPyL68; + } else + goto CPyL67; +CPyL66: ; + cpy_r_r80 = PyErr_Occurred(); + if (unlikely(cpy_r_r80 != NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 286, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL65; +CPyL67: ; + cpy_r_r81 = cpy_r_r76 + cpy_r_r78; + if (unlikely(cpy_r_r81 == -113.0)) { + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->bitmap |= 2; + } + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__time_since_notified = cpy_r_r81; + cpy_r_r82 = 1; + if (unlikely(!cpy_r_r82)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 286, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL69; +CPyL68: ; + cpy_r_r83 = PyErr_Occurred(); + if (unlikely(cpy_r_r83 != NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 286, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL67; +CPyL69: ; + cpy_r_r84 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__time_since_notified; + if (unlikely(cpy_r_r84 == -113.0) && !(((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->bitmap & 2)) { + PyErr_SetString(PyExc_AttributeError, "attribute 'time_since_notified' of '_stats_daemon__StatsLogger_gen' undefined"); + } + cpy_r_r85 = cpy_r_r84 == -113.0; + if (unlikely(cpy_r_r85)) goto CPyL71; +CPyL70: ; + cpy_r_r86 = cpy_r_r84 > 300.0; + if (cpy_r_r86) { + goto CPyL72; + } else + goto CPyL10; +CPyL71: ; + cpy_r_r87 = PyErr_Occurred(); + if (unlikely(cpy_r_r87 != NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 287, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL70; +CPyL72: ; + cpy_r_r88 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r88 == NULL)) { + CPy_AttributeError("dank_mids\\stats\\__init__.py", "_stats_daemon", "_stats_daemon__StatsLogger_gen", "self", 288, CPyStatic_stats___globals); + goto CPyL88; + } + CPy_INCREF_NO_IMM(cpy_r_r88); +CPyL73: ; + cpy_r_r89 = CPyDef_stats____StatsLogger___log_subprocess_stats(cpy_r_r88, 40); + CPy_DECREF_NO_IMM(cpy_r_r88); + if (unlikely(cpy_r_r89 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 288, CPyStatic_stats___globals); + goto CPyL88; + } + cpy_r_r90 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r90 == NULL)) { + CPy_AttributeError("dank_mids\\stats\\__init__.py", "_stats_daemon", "_stats_daemon__StatsLogger_gen", "self", 289, CPyStatic_stats___globals); + goto CPyL88; + } + CPy_INCREF_NO_IMM(cpy_r_r90); +CPyL75: ; + cpy_r_r91 = CPyDef_stats____StatsLogger___log_brownie_stats(cpy_r_r90, 40); + CPy_DECREF_NO_IMM(cpy_r_r90); + if (unlikely(cpy_r_r91 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 289, CPyStatic_stats___globals); + goto CPyL88; + } + cpy_r_r92 = ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__self; + if (unlikely(cpy_r_r92 == NULL)) { + CPy_AttributeError("dank_mids\\stats\\__init__.py", "_stats_daemon", "_stats_daemon__StatsLogger_gen", "self", 290, CPyStatic_stats___globals); + goto CPyL88; + } + CPy_INCREF_NO_IMM(cpy_r_r92); +CPyL77: ; + cpy_r_r93 = CPyDef_stats____StatsLogger___log_event_loop_stats(cpy_r_r92, 40); + CPy_DECREF_NO_IMM(cpy_r_r92); + if (unlikely(cpy_r_r93 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 290, CPyStatic_stats___globals); + goto CPyL88; + } + if (unlikely(0.0 == -113.0)) { + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->bitmap |= 2; + } + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_generator_attribute__time_since_notified = 0.0; + cpy_r_r94 = 1; + if (unlikely(!cpy_r_r94)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 291, CPyStatic_stats___globals); + goto CPyL88; + } else + goto CPyL10; +CPyL79: ; + cpy_r_r95 = Py_None; + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r___mypyc_self__)->___mypyc_next_label__ = -1; + if (cpy_r_stop_iter_ptr != NULL) goto CPyL83; + CPyGen_SetStopIterationValue(cpy_r_r95); + if (!0) goto CPyL88; + CPy_Unreachable(); +CPyL83: ; + *(PyObject * *)cpy_r_stop_iter_ptr = cpy_r_r95; + return 0; +CPyL84: ; + cpy_r_r97 = cpy_r_r2 == 0; + if (cpy_r_r97) goto CPyL97; + cpy_r_r98 = cpy_r_r2 == 1; + if (cpy_r_r98) { + goto CPyL23; + } else + goto CPyL98; +CPyL86: ; + PyErr_SetNone(PyExc_StopIteration); + cpy_r_r99 = 0; + if (unlikely(!cpy_r_r99)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 270, CPyStatic_stats___globals); + goto CPyL88; + } + CPy_Unreachable(); +CPyL88: ; + cpy_r_r100 = NULL; + return cpy_r_r100; +CPyL89: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL26; +CPyL90: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL25; +CPyL91: ; + CPy_XDecRef(cpy_r_r1); + goto CPyL35; +CPyL92: ; + CPy_DecRef(cpy_r_r25); + goto CPyL35; +CPyL93: ; + CPy_DecRef(cpy_r_arg); + goto CPyL88; +CPyL94: ; + CPy_DecRef(cpy_r_r59); + CPy_DecRef(cpy_r_r63); + goto CPyL88; +CPyL95: ; + CPy_DECREF(cpy_r_r66); + goto CPyL59; +CPyL96: ; + CPy_DecRef(cpy_r_r59); + goto CPyL88; +CPyL97: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL1; +CPyL98: ; + CPy_XDECREF(cpy_r_r1); + goto CPyL86; +} + +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen_____next__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_stats____stats_daemon__StatsLogger_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_r0, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__next__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_stats____stats_daemon__StatsLogger_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.stats._stats_daemon__StatsLogger_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_stats____stats_daemon__StatsLogger_gen_____next__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__next__", -1, CPyStatic_stats___globals); + return NULL; +} + +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = CPyDef_stats____stats_daemon__StatsLogger_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_r0, cpy_r_r0, cpy_r_r0, cpy_r_arg, 0); + if (cpy_r_r1 == NULL) goto CPyL2; + return cpy_r_r1; +CPyL2: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +} + +PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"arg", 0}; + static CPyArg_Parser parser = {"O:send", kwlist, 0}; + PyObject *obj_arg; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_arg)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_stats____stats_daemon__StatsLogger_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.stats._stats_daemon__StatsLogger_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_arg = obj_arg; + PyObject *retval = CPyDef_stats____stats_daemon__StatsLogger_gen___send(arg___mypyc_self__, arg_arg); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "send", -1, CPyStatic_stats___globals); + return NULL; +} + +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen_____iter__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__iter__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_stats____stats_daemon__StatsLogger_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.stats._stats_daemon__StatsLogger_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_stats____stats_daemon__StatsLogger_gen_____iter__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__iter__", -1, CPyStatic_stats___globals); + return NULL; +} + +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + if (cpy_r_value != NULL) goto CPyL7; + CPy_INCREF(cpy_r_r0); + cpy_r_value = cpy_r_r0; +CPyL2: ; + if (cpy_r_traceback != NULL) goto CPyL8; + CPy_INCREF(cpy_r_r0); + cpy_r_traceback = cpy_r_r0; +CPyL4: ; + cpy_r_r1 = CPyDef_stats____stats_daemon__StatsLogger_gen_____mypyc_generator_helper__(cpy_r___mypyc_self__, cpy_r_type, cpy_r_value, cpy_r_traceback, cpy_r_r0, 0); + CPy_DECREF(cpy_r_value); + CPy_DECREF(cpy_r_traceback); + if (cpy_r_r1 == NULL) goto CPyL6; + return cpy_r_r1; +CPyL6: ; + cpy_r_r2 = NULL; + return cpy_r_r2; +CPyL7: ; + CPy_INCREF(cpy_r_value); + goto CPyL2; +CPyL8: ; + CPy_INCREF(cpy_r_traceback); + goto CPyL4; +} + +PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"type", "value", "traceback", 0}; + static CPyArg_Parser parser = {"O|OO:throw", kwlist, 0}; + PyObject *obj_type; + PyObject *obj_value = NULL; + PyObject *obj_traceback = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_type, &obj_value, &obj_traceback)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_stats____stats_daemon__StatsLogger_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.stats._stats_daemon__StatsLogger_gen", obj___mypyc_self__); + goto fail; + } + PyObject *arg_type = obj_type; + PyObject *arg_value; + if (obj_value == NULL) { + arg_value = NULL; + } else { + arg_value = obj_value; + } + PyObject *arg_traceback; + if (obj_traceback == NULL) { + arg_traceback = NULL; + } else { + arg_traceback = obj_traceback; + } + PyObject *retval = CPyDef_stats____stats_daemon__StatsLogger_gen___throw(arg___mypyc_self__, arg_type, arg_value, arg_traceback); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "throw", -1, CPyStatic_stats___globals); + return NULL; +} + +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen___close(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + tuple_T3OOO cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + tuple_T2OO cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = CPyStatics[17]; /* 'GeneratorExit' */ + cpy_r_r2 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL3; + cpy_r_r3 = (PyObject *)&_Py_NoneStruct; + cpy_r_r4 = (PyObject *)&_Py_NoneStruct; + cpy_r_r5 = CPyDef_stats____stats_daemon__StatsLogger_gen___throw(cpy_r___mypyc_self__, cpy_r_r2, cpy_r_r3, cpy_r_r4); + if (cpy_r_r5 != NULL) goto CPyL11; +CPyL3: ; + cpy_r_r6 = CPy_CatchError(); + cpy_r_r7 = CPyModule_builtins; + cpy_r_r8 = CPyStatics[18]; /* 'StopIteration' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + if (cpy_r_r9 == NULL) goto CPyL12; + cpy_r_r10.f0 = cpy_r_r2; + cpy_r_r10.f1 = cpy_r_r9; + cpy_r_r11 = PyTuple_New(2); + if (unlikely(cpy_r_r11 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp337 = cpy_r_r10.f0; + PyTuple_SET_ITEM(cpy_r_r11, 0, __tmp337); + PyObject *__tmp338 = cpy_r_r10.f1; + PyTuple_SET_ITEM(cpy_r_r11, 1, __tmp338); + cpy_r_r12 = CPy_ExceptionMatches(cpy_r_r11); + CPy_DECREF(cpy_r_r11); + if (!cpy_r_r12) goto CPyL13; + CPy_RestoreExcInfo(cpy_r_r6); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + cpy_r_r13 = (PyObject *)&_Py_NoneStruct; + CPy_INCREF(cpy_r_r13); + return cpy_r_r13; +CPyL6: ; + CPy_Reraise(); + if (!0) goto CPyL10; + CPy_Unreachable(); +CPyL8: ; + PyErr_SetString(PyExc_RuntimeError, "generator ignored GeneratorExit"); + cpy_r_r14 = 0; + if (!cpy_r_r14) goto CPyL10; + CPy_Unreachable(); +CPyL10: ; + cpy_r_r15 = NULL; + return cpy_r_r15; +CPyL11: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r5); + goto CPyL8; +CPyL12: ; + CPy_DECREF(cpy_r_r2); + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL10; +CPyL13: ; + CPy_DECREF(cpy_r_r6.f0); + CPy_DECREF(cpy_r_r6.f1); + CPy_DECREF(cpy_r_r6.f2); + goto CPyL6; +} + +PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":close", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_stats____stats_daemon__StatsLogger_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.stats._stats_daemon__StatsLogger_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_stats____stats_daemon__StatsLogger_gen___close(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "close", -1, CPyStatic_stats___globals); + return NULL; +} + +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen_____await__(PyObject *cpy_r___mypyc_self__) { + CPy_INCREF_NO_IMM(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +} + +PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__await__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_stats____stats_daemon__StatsLogger_gen)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.stats._stats_daemon__StatsLogger_gen", obj___mypyc_self__); + goto fail; + } + PyObject *retval = CPyDef_stats____stats_daemon__StatsLogger_gen_____await__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__await__", -1, CPyStatic_stats___globals); + return NULL; +} + +PyObject *CPyDef_stats____StatsLogger____stats_daemon(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + char cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = CPyDef_stats____stats_daemon__StatsLogger_gen(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 270, CPyStatic_stats___globals); + goto CPyL3; + } + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r_r0)->___mypyc_next_label__ = 0; + CPy_INCREF_NO_IMM(cpy_r_self); + if (((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self); + } + ((dank_mids___stats____stats_daemon__StatsLogger_genObject *)cpy_r_r0)->___mypyc_generator_attribute__self = cpy_r_self; + cpy_r_r2 = 1; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 270, CPyStatic_stats___globals); + goto CPyL4; + } + return cpy_r_r0; +CPyL3: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +CPyL4: ; + CPy_DecRef(cpy_r_r0); + goto CPyL3; +} + +PyObject *CPyPy_stats____StatsLogger____stats_daemon(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":_stats_daemon", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____StatsLogger)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._StatsLogger", obj_self); + goto fail; + } + PyObject *retval = CPyDef_stats____StatsLogger____stats_daemon(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_stats_daemon", 270, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____StatsLogger___log_validation_error(PyObject *cpy_r_self, PyObject *cpy_r_method, PyObject *cpy_r_e) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject **cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + char cpy_r_r9; + PyObject *cpy_r_r10; + char cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject **cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + tuple_T1O cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + char cpy_r_r22; + char cpy_r_r23; + cpy_r_r0 = CPyStatics[700]; /* 'isEnabledFor' */ + cpy_r_r1 = CPyStatics[885]; /* 15 */ + PyObject *cpy_r_r2[2] = {cpy_r_self, cpy_r_r1}; + cpy_r_r3 = (PyObject **)&cpy_r_r2; + cpy_r_r4 = PyObject_VectorcallMethod(cpy_r_r0, cpy_r_r3, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_validation_error", 306, CPyStatic_stats___globals); + goto CPyL16; + } + if (unlikely(!PyBool_Check(cpy_r_r4))) { + CPy_TypeError("bool", cpy_r_r4); cpy_r_r5 = 2; + } else + cpy_r_r5 = cpy_r_r4 == Py_True; + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r5 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_validation_error", 306, CPyStatic_stats___globals); + goto CPyL16; + } + cpy_r_r6 = CPyStatic_stats___globals; + cpy_r_r7 = CPyStatics[701]; /* 'COLLECT_STATS' */ + cpy_r_r8 = CPyDict_GetItem(cpy_r_r6, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_validation_error", 307, CPyStatic_stats___globals); + goto CPyL16; + } + if (unlikely(!PyBool_Check(cpy_r_r8))) { + CPy_TypeError("bool", cpy_r_r8); cpy_r_r9 = 2; + } else + cpy_r_r9 = cpy_r_r8 == Py_True; + CPy_DECREF(cpy_r_r8); + if (unlikely(cpy_r_r9 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_validation_error", 307, CPyStatic_stats___globals); + goto CPyL16; + } + if (cpy_r_r9) goto CPyL6; + if (!cpy_r_r5) goto CPyL12; +CPyL6: ; + cpy_r_r10 = CPyStatic_stats___collector; + if (likely(cpy_r_r10 != NULL)) goto CPyL9; + PyErr_SetString(PyExc_NameError, "value for final name \"collector\" was not set"); + cpy_r_r11 = 0; + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_validation_error", 308, CPyStatic_stats___globals); + goto CPyL16; + } + CPy_Unreachable(); +CPyL9: ; + cpy_r_r12 = ((dank_mids___stats____CollectorObject *)cpy_r_r10)->_validation_errors; + CPy_INCREF(cpy_r_r12); + cpy_r_r13 = CPyDict_GetItem(cpy_r_r12, cpy_r_method); + CPy_DECREF(cpy_r_r12); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_validation_error", 308, CPyStatic_stats___globals); + goto CPyL16; + } + cpy_r_r14 = CPyStatics[19]; /* 'append' */ + PyObject *cpy_r_r15[2] = {cpy_r_r13, cpy_r_e}; + cpy_r_r16 = (PyObject **)&cpy_r_r15; + cpy_r_r17 = PyObject_VectorcallMethod(cpy_r_r14, cpy_r_r16, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_validation_error", 308, CPyStatic_stats___globals); + goto CPyL17; + } else + goto CPyL18; +CPyL11: ; + CPy_DECREF(cpy_r_r13); +CPyL12: ; + if (!cpy_r_r5) goto CPyL15; + cpy_r_r18 = CPyStatics[711]; /* ('ValidationError when decoding response for %s. This ' + "*should* not impact your script. If it does, you'll " + 'know.') */ + CPy_INCREF(cpy_r_method); + cpy_r_r19.f0 = cpy_r_method; + cpy_r_r20 = PyTuple_New(1); + if (unlikely(cpy_r_r20 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp339 = cpy_r_r19.f0; + PyTuple_SET_ITEM(cpy_r_r20, 0, __tmp339); + cpy_r_r21 = PyDict_New(); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_validation_error", 310, CPyStatic_stats___globals); + goto CPyL19; + } + cpy_r_r22 = CPyDef_stats____StatsLogger____log(cpy_r_self, 30, cpy_r_r18, cpy_r_r20, cpy_r_r21); + CPy_DECREF(cpy_r_r20); + CPy_DECREF(cpy_r_r21); + if (unlikely(cpy_r_r22 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_validation_error", 310, CPyStatic_stats___globals); + goto CPyL16; + } +CPyL15: ; + return 1; +CPyL16: ; + cpy_r_r23 = 2; + return cpy_r_r23; +CPyL17: ; + CPy_DecRef(cpy_r_r13); + goto CPyL16; +CPyL18: ; + CPy_DECREF(cpy_r_r17); + goto CPyL11; +CPyL19: ; + CPy_DecRef(cpy_r_r20); + goto CPyL16; +} + +PyObject *CPyPy_stats____StatsLogger___log_validation_error(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"method", "e", 0}; + static CPyArg_Parser parser = {"OO:log_validation_error", kwlist, 0}; + PyObject *obj_method; + PyObject *obj_e; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_method, &obj_e)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____StatsLogger)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._StatsLogger", obj_self); + goto fail; + } + PyObject *arg_method = obj_method; + PyObject *arg_e = obj_e; + char retval = CPyDef_stats____StatsLogger___log_validation_error(arg_self, arg_method, arg_e); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_validation_error", 295, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____StatsLogger___log_types(PyObject *cpy_r_self, PyObject *cpy_r_method, PyObject *cpy_r_decoded) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject **cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + int32_t cpy_r_r8; + char cpy_r_r9; + char cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + char cpy_r_r18; + PyObject *cpy_r_r19; + int32_t cpy_r_r20; + char cpy_r_r21; + char cpy_r_r22; + PyObject *cpy_r_r23; + PyObject **cpy_r_r25; + PyObject *cpy_r_r26; + CPyTagged cpy_r_r27; + char cpy_r_r28; + PyObject *cpy_r_r29; + char cpy_r_r30; + PyObject *cpy_r_r31; + int32_t cpy_r_r32; + char cpy_r_r33; + char cpy_r_r34; + cpy_r_r0 = PySet_New(NULL); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 332, CPyStatic_stats___globals); + goto CPyL20; + } + cpy_r_r1 = CPyStatics[502]; /* 'values' */ + PyObject *cpy_r_r2[1] = {cpy_r_decoded}; + cpy_r_r3 = (PyObject **)&cpy_r_r2; + cpy_r_r4 = PyObject_VectorcallMethod(cpy_r_r1, cpy_r_r3, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 332, CPyStatic_stats___globals); + goto CPyL21; + } + cpy_r_r5 = PyObject_GetIter(cpy_r_r4); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 332, CPyStatic_stats___globals); + goto CPyL21; + } +CPyL3: ; + cpy_r_r6 = PyIter_Next(cpy_r_r5); + if (cpy_r_r6 == NULL) goto CPyL22; + cpy_r_r7 = CPy_TYPE(cpy_r_r6); + CPy_DECREF(cpy_r_r6); + cpy_r_r8 = PySet_Add(cpy_r_r0, cpy_r_r7); + CPy_DECREF(cpy_r_r7); + cpy_r_r9 = cpy_r_r8 >= 0; + if (unlikely(!cpy_r_r9)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 332, CPyStatic_stats___globals); + goto CPyL23; + } else + goto CPyL3; +CPyL5: ; + cpy_r_r10 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 332, CPyStatic_stats___globals); + goto CPyL21; + } + cpy_r_r11 = CPyStatics[712]; /* 'my method and types: ' */ + cpy_r_r12 = PyObject_Str(cpy_r_method); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 333, CPyStatic_stats___globals); + goto CPyL24; + } + cpy_r_r13 = CPyStatics[392]; /* ' ' */ + cpy_r_r14 = PyObject_Str(cpy_r_r0); + if (unlikely(cpy_r_r14 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 333, CPyStatic_stats___globals); + goto CPyL25; + } + cpy_r_r15 = CPyStr_Build(4, cpy_r_r11, cpy_r_r12, cpy_r_r13, cpy_r_r14); + CPy_DECREF(cpy_r_r12); + CPy_DECREF(cpy_r_r14); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 333, CPyStatic_stats___globals); + goto CPyL24; + } + cpy_r_r16 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_r17 = PyDict_New(); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 333, CPyStatic_stats___globals); + goto CPyL26; + } + cpy_r_r18 = CPyDef_stats____StatsLogger___devhint(cpy_r_self, cpy_r_r15, cpy_r_r16, cpy_r_r17); + CPy_DECREF(cpy_r_r15); + CPy_DECREF(cpy_r_r16); + CPy_DECREF(cpy_r_r17); + if (unlikely(cpy_r_r18 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 333, CPyStatic_stats___globals); + goto CPyL24; + } + cpy_r_r19 = (PyObject *)&PyList_Type; + cpy_r_r20 = PySet_Contains(cpy_r_r0, cpy_r_r19); + cpy_r_r21 = cpy_r_r20 >= 0; + if (unlikely(!cpy_r_r21)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 334, CPyStatic_stats___globals); + goto CPyL24; + } + cpy_r_r22 = cpy_r_r20; + if (!cpy_r_r22) goto CPyL15; + cpy_r_r23 = CPyStatics[502]; /* 'values' */ + PyObject *cpy_r_r24[1] = {cpy_r_decoded}; + cpy_r_r25 = (PyObject **)&cpy_r_r24; + cpy_r_r26 = PyObject_VectorcallMethod(cpy_r_r23, cpy_r_r25, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 335, CPyStatic_stats___globals); + goto CPyL24; + } + cpy_r_r27 = CPY_INT_TAG; + cpy_r_r28 = CPyDef_stats____StatsLogger____log_list_types(cpy_r_self, cpy_r_r26, cpy_r_r27); + CPy_DECREF(cpy_r_r26); + if (unlikely(cpy_r_r28 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 335, CPyStatic_stats___globals); + goto CPyL24; + } +CPyL15: ; + cpy_r_r29 = CPyStatic_stats___collector; + if (unlikely(cpy_r_r29 == NULL)) { + goto CPyL27; + } else + goto CPyL18; +CPyL16: ; + PyErr_SetString(PyExc_NameError, "value for final name \"collector\" was not set"); + cpy_r_r30 = 0; + if (unlikely(!cpy_r_r30)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 336, CPyStatic_stats___globals); + goto CPyL20; + } + CPy_Unreachable(); +CPyL18: ; + cpy_r_r31 = ((dank_mids___stats____CollectorObject *)cpy_r_r29)->_types; + CPy_INCREF(cpy_r_r31); + cpy_r_r32 = _PySet_Update(cpy_r_r31, cpy_r_r0); + CPy_DECREF(cpy_r_r31); + CPy_DECREF(cpy_r_r0); + cpy_r_r33 = cpy_r_r32 >= 0; + if (unlikely(!cpy_r_r33)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 336, CPyStatic_stats___globals); + goto CPyL20; + } + return 1; +CPyL20: ; + cpy_r_r34 = 2; + return cpy_r_r34; +CPyL21: ; + CPy_DecRef(cpy_r_r0); + goto CPyL20; +CPyL22: ; + CPy_DECREF(cpy_r_r5); + goto CPyL5; +CPyL23: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r5); + goto CPyL20; +CPyL24: ; + CPy_DecRef(cpy_r_r0); + goto CPyL20; +CPyL25: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r12); + goto CPyL20; +CPyL26: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r15); + CPy_DecRef(cpy_r_r16); + goto CPyL20; +CPyL27: ; + CPy_DecRef(cpy_r_r0); + goto CPyL16; +} + +PyObject *CPyPy_stats____StatsLogger___log_types(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"method", "decoded", 0}; + static CPyArg_Parser parser = {"OO:log_types", kwlist, 0}; + PyObject *obj_method; + PyObject *obj_decoded; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_method, &obj_decoded)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____StatsLogger)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._StatsLogger", obj_self); + goto fail; + } + PyObject *arg_method = obj_method; + PyObject *arg_decoded = obj_decoded; + char retval = CPyDef_stats____StatsLogger___log_types(arg_self, arg_method, arg_decoded); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "log_types", 316, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____StatsLogger____log_list_types(PyObject *cpy_r_self, PyObject *cpy_r_values, CPyTagged cpy_r_level) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + char cpy_r_r3; + PyObject *cpy_r_r4; + int64_t cpy_r_r5; + CPyPtr cpy_r_r6; + int64_t cpy_r_r7; + char cpy_r_r8; + CPyPtr cpy_r_r9; + CPyPtr cpy_r_r10; + int64_t cpy_r_r11; + CPyPtr cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + int32_t cpy_r_r15; + char cpy_r_r16; + int64_t cpy_r_r17; + char cpy_r_r18; + PyObject *cpy_r_r19; + char cpy_r_r20; + PyObject *cpy_r_r21; + int32_t cpy_r_r22; + char cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject **cpy_r_r27; + PyObject *cpy_r_r28; + char cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + char cpy_r_r35; + char cpy_r_r36; + if (cpy_r_level != CPY_INT_TAG) goto CPyL25; + cpy_r_level = 30; +CPyL2: ; + cpy_r_r0 = PySet_New(NULL); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_list_types", 353, CPyStatic_stats___globals); + goto CPyL26; + } + cpy_r_r1 = PyObject_GetIter(cpy_r_values); + if (unlikely(cpy_r_r1 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_list_types", 353, CPyStatic_stats___globals); + goto CPyL27; + } +CPyL4: ; + cpy_r_r2 = PyIter_Next(cpy_r_r1); + if (cpy_r_r2 == NULL) goto CPyL28; + cpy_r_r3 = PyList_Check(cpy_r_r2); + if (!cpy_r_r3) goto CPyL29; + if (likely(PyList_Check(cpy_r_r2))) + cpy_r_r4 = cpy_r_r2; + else { + CPy_TypeErrorTraceback("dank_mids\\stats\\__init__.py", "_log_list_types", 353, CPyStatic_stats___globals, "list", cpy_r_r2); + goto CPyL30; + } + cpy_r_r5 = 0; +CPyL8: ; + cpy_r_r6 = (CPyPtr)&((PyVarObject *)cpy_r_r4)->ob_size; + cpy_r_r7 = *(int64_t *)cpy_r_r6; + cpy_r_r8 = cpy_r_r5 < cpy_r_r7; + if (!cpy_r_r8) goto CPyL31; + cpy_r_r9 = (CPyPtr)&((PyListObject *)cpy_r_r4)->ob_item; + cpy_r_r10 = *(CPyPtr *)cpy_r_r9; + cpy_r_r11 = cpy_r_r5 * 8; + cpy_r_r12 = cpy_r_r10 + cpy_r_r11; + cpy_r_r13 = *(PyObject * *)cpy_r_r12; + CPy_INCREF(cpy_r_r13); + cpy_r_r14 = CPy_TYPE(cpy_r_r13); + CPy_DECREF(cpy_r_r13); + cpy_r_r15 = PySet_Add(cpy_r_r0, cpy_r_r14); + CPy_DECREF(cpy_r_r14); + cpy_r_r16 = cpy_r_r15 >= 0; + if (unlikely(!cpy_r_r16)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_list_types", 353, CPyStatic_stats___globals); + goto CPyL32; + } + cpy_r_r17 = cpy_r_r5 + 1; + cpy_r_r5 = cpy_r_r17; + goto CPyL8; +CPyL11: ; + cpy_r_r18 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r18)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_list_types", 353, CPyStatic_stats___globals); + goto CPyL27; + } + cpy_r_r19 = CPyStatic_stats___collector; + if (unlikely(cpy_r_r19 == NULL)) { + goto CPyL33; + } else + goto CPyL15; +CPyL13: ; + PyErr_SetString(PyExc_NameError, "value for final name \"collector\" was not set"); + cpy_r_r20 = 0; + if (unlikely(!cpy_r_r20)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_list_types", 354, CPyStatic_stats___globals); + goto CPyL24; + } + CPy_Unreachable(); +CPyL15: ; + cpy_r_r21 = ((dank_mids___stats____CollectorObject *)cpy_r_r19)->_types; + CPy_INCREF(cpy_r_r21); + cpy_r_r22 = _PySet_Update(cpy_r_r21, cpy_r_r0); + CPy_DECREF(cpy_r_r21); + cpy_r_r23 = cpy_r_r22 >= 0; + if (unlikely(!cpy_r_r23)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_list_types", 354, CPyStatic_stats___globals); + goto CPyL34; + } + cpy_r_r24 = CPyStatics[700]; /* 'isEnabledFor' */ + CPyTagged_INCREF(cpy_r_level); + cpy_r_r25 = CPyTagged_StealAsObject(cpy_r_level); + PyObject *cpy_r_r26[2] = {cpy_r_self, cpy_r_r25}; + cpy_r_r27 = (PyObject **)&cpy_r_r26; + cpy_r_r28 = PyObject_VectorcallMethod(cpy_r_r24, cpy_r_r27, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_list_types", 355, CPyStatic_stats___globals); + goto CPyL35; + } + CPy_DECREF(cpy_r_r25); + if (unlikely(!PyBool_Check(cpy_r_r28))) { + CPy_TypeError("bool", cpy_r_r28); cpy_r_r29 = 2; + } else + cpy_r_r29 = cpy_r_r28 == Py_True; + CPy_DECREF(cpy_r_r28); + if (unlikely(cpy_r_r29 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_list_types", 355, CPyStatic_stats___globals); + goto CPyL34; + } + if (!cpy_r_r29) goto CPyL36; + cpy_r_r30 = CPyStatics[713]; /* 'list types: ' */ + cpy_r_r31 = PyObject_Str(cpy_r_r0); + CPy_DECREF(cpy_r_r0); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_list_types", 356, CPyStatic_stats___globals); + goto CPyL26; + } + cpy_r_r32 = CPyStr_Build(2, cpy_r_r30, cpy_r_r31); + CPy_DECREF(cpy_r_r31); + if (unlikely(cpy_r_r32 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_list_types", 356, CPyStatic_stats___globals); + goto CPyL26; + } + cpy_r_r33 = NULL; + cpy_r_r34 = PyDict_New(); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_list_types", 356, CPyStatic_stats___globals); + goto CPyL37; + } + cpy_r_r35 = CPyDef_stats____StatsLogger____log(cpy_r_self, cpy_r_level, cpy_r_r32, cpy_r_r33, cpy_r_r34); + CPyTagged_DECREF(cpy_r_level); + CPy_DECREF(cpy_r_r32); + CPy_DECREF(cpy_r_r34); + if (unlikely(cpy_r_r35 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_list_types", 356, CPyStatic_stats___globals); + goto CPyL24; + } +CPyL23: ; + return 1; +CPyL24: ; + cpy_r_r36 = 2; + return cpy_r_r36; +CPyL25: ; + CPyTagged_INCREF(cpy_r_level); + goto CPyL2; +CPyL26: ; + CPyTagged_DecRef(cpy_r_level); + goto CPyL24; +CPyL27: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r0); + goto CPyL24; +CPyL28: ; + CPy_DECREF(cpy_r_r1); + goto CPyL11; +CPyL29: ; + CPy_DECREF(cpy_r_r2); + goto CPyL4; +CPyL30: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r1); + goto CPyL24; +CPyL31: ; + CPy_DECREF_NO_IMM(cpy_r_r4); + goto CPyL4; +CPyL32: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r1); + CPy_DecRef(cpy_r_r4); + goto CPyL24; +CPyL33: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r0); + goto CPyL13; +CPyL34: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r0); + goto CPyL24; +CPyL35: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r25); + goto CPyL24; +CPyL36: ; + CPyTagged_DECREF(cpy_r_level); + CPy_DECREF(cpy_r_r0); + goto CPyL23; +CPyL37: ; + CPyTagged_DecRef(cpy_r_level); + CPy_DecRef(cpy_r_r32); + goto CPyL24; +} + +PyObject *CPyPy_stats____StatsLogger____log_list_types(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"values", "level", 0}; + static CPyArg_Parser parser = {"O|O:_log_list_types", kwlist, 0}; + PyObject *obj_values; + PyObject *obj_level = NULL; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_values, &obj_level)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____StatsLogger)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._StatsLogger", obj_self); + goto fail; + } + PyObject *arg_values = obj_values; + CPyTagged arg_level; + if (obj_level == NULL) { + arg_level = CPY_INT_TAG; + } else if (likely(PyLong_Check(obj_level))) + arg_level = CPyTagged_BorrowFromObject(obj_level); + else { + CPy_TypeError("int", obj_level); goto fail; + } + char retval = CPyDef_stats____StatsLogger____log_list_types(arg_self, arg_values, arg_level); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "_log_list_types", 338, CPyStatic_stats___globals); + return NULL; +} + +PyObject *CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__get__", -1, CPyStatic_stats___globals); + return NULL; +} + +PyObject *CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____call__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + cpy_r_r0 = ((dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *)cpy_r___mypyc_self__)->___mypyc_env__; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\stats\\__init__.py", "", "__mypyc_lambda__0___init____Collector_obj", "__mypyc_env__", 373, CPyStatic_stats___globals); + goto CPyL4; + } + CPy_INCREF_NO_IMM(cpy_r_r0); + goto CPyL5; +CPyL1: ; + cpy_r_r1 = CPyStatic_stats___globals; + cpy_r_r2 = CPyStatics[714]; /* 'deque' */ + cpy_r_r3 = CPyDict_GetItem(cpy_r_r1, cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 373, CPyStatic_stats___globals); + goto CPyL4; + } + cpy_r_r4 = CPyStatics[886]; /* 50000 */ + PyObject *cpy_r_r5[1] = {cpy_r_r4}; + cpy_r_r6 = (PyObject **)&cpy_r_r5; + cpy_r_r7 = CPyStatics[1043]; /* ('maxlen',) */ + cpy_r_r8 = PyObject_Vectorcall(cpy_r_r3, cpy_r_r6, 0, cpy_r_r7); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 373, CPyStatic_stats___globals); + goto CPyL4; + } + return cpy_r_r8; +CPyL4: ; + cpy_r_r9 = NULL; + return cpy_r_r9; +CPyL5: ; + CPy_DECREF_NO_IMM(cpy_r_r0); + goto CPyL1; +} + +PyObject *CPyPy_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__call__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, PyVectorcall_NARGS(nargs), kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *retval = CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____call__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 373, CPyStatic_stats___globals); + return NULL; +} + +PyObject *CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + cpy_r_r0 = (PyObject *)&_Py_NoneStruct; + cpy_r_r1 = cpy_r_instance == cpy_r_r0; + if (!cpy_r_r1) goto CPyL2; + CPy_INCREF(cpy_r___mypyc_self__); + return cpy_r___mypyc_self__; +CPyL2: ; + cpy_r_r2 = PyMethod_New(cpy_r___mypyc_self__, cpy_r_instance); + if (cpy_r_r2 == NULL) goto CPyL4; + return cpy_r_r2; +CPyL4: ; + cpy_r_r3 = NULL; + return cpy_r_r3; +} + +PyObject *CPyPy_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {"instance", "owner", 0}; + static CPyArg_Parser parser = {"OO:__get__", kwlist, 0}; + PyObject *obj_instance; + PyObject *obj_owner; + if (!CPyArg_ParseStackAndKeywordsSimple(args, nargs, kwnames, &parser, &obj_instance, &obj_owner)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *arg_instance = obj_instance; + PyObject *arg_owner = obj_owner; + PyObject *retval = CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____get__(arg___mypyc_self__, arg_instance, arg_owner); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__get__", -1, CPyStatic_stats___globals); + return NULL; +} + +PyObject *CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____call__(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + cpy_r_r0 = ((dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *)cpy_r___mypyc_self__)->___mypyc_env__; + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AttributeError("dank_mids\\stats\\__init__.py", "", "__mypyc_lambda__1___init____Collector_obj", "__mypyc_env__", 394, CPyStatic_stats___globals); + goto CPyL4; + } + CPy_INCREF_NO_IMM(cpy_r_r0); + goto CPyL5; +CPyL1: ; + cpy_r_r1 = CPyStatic_stats___globals; + cpy_r_r2 = CPyStatics[714]; /* 'deque' */ + cpy_r_r3 = CPyDict_GetItem(cpy_r_r1, cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 394, CPyStatic_stats___globals); + goto CPyL4; + } + cpy_r_r4 = CPyStatics[887]; /* 100 */ + PyObject *cpy_r_r5[1] = {cpy_r_r4}; + cpy_r_r6 = (PyObject **)&cpy_r_r5; + cpy_r_r7 = CPyStatics[1043]; /* ('maxlen',) */ + cpy_r_r8 = PyObject_Vectorcall(cpy_r_r3, cpy_r_r6, 0, cpy_r_r7); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 394, CPyStatic_stats___globals); + goto CPyL4; + } + return cpy_r_r8; +CPyL4: ; + cpy_r_r9 = NULL; + return cpy_r_r9; +CPyL5: ; + CPy_DECREF_NO_IMM(cpy_r_r0); + goto CPyL1; +} + +PyObject *CPyPy_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__call__", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, PyVectorcall_NARGS(nargs), kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__ = obj___mypyc_self__; + PyObject *retval = CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____call__(arg___mypyc_self__); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 394, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____Collector_____init__(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + char cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject **cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject **cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + char cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject **cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + char cpy_r_r36; + cpy_r_r0 = CPyDef_stats_____init___3__Collector_env(); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 366, CPyStatic_stats___globals); + goto CPyL17; + } + cpy_r_r1 = CPyStatic_stats___globals; + cpy_r_r2 = CPyStatics[714]; /* 'deque' */ + cpy_r_r3 = CPyDict_GetItem(cpy_r_r1, cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 367, CPyStatic_stats___globals); + goto CPyL18; + } + cpy_r_r4 = CPyStatics[888]; /* 500 */ + PyObject *cpy_r_r5[1] = {cpy_r_r4}; + cpy_r_r6 = (PyObject **)&cpy_r_r5; + cpy_r_r7 = CPyStatics[1043]; /* ('maxlen',) */ + cpy_r_r8 = PyObject_Vectorcall(cpy_r_r3, cpy_r_r6, 0, cpy_r_r7); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 367, CPyStatic_stats___globals); + goto CPyL18; + } + ((dank_mids___stats____CollectorObject *)cpy_r_self)->_errd_batches = cpy_r_r8; + cpy_r_r9 = CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj(); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 373, CPyStatic_stats___globals); + goto CPyL18; + } + CPy_INCREF_NO_IMM(cpy_r_r0); + if (((dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *)cpy_r_r9)->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *)cpy_r_r9)->___mypyc_env__); + } + ((dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *)cpy_r_r9)->___mypyc_env__ = cpy_r_r0; + cpy_r_r10 = 1; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 373, CPyStatic_stats___globals); + goto CPyL19; + } + cpy_r_r11 = CPyStatic_stats___globals; + cpy_r_r12 = CPyStatics[716]; /* 'defaultdict' */ + cpy_r_r13 = CPyDict_GetItem(cpy_r_r11, cpy_r_r12); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 373, CPyStatic_stats___globals); + goto CPyL19; + } + PyObject *cpy_r_r14[1] = {cpy_r_r9}; + cpy_r_r15 = (PyObject **)&cpy_r_r14; + cpy_r_r16 = PyObject_Vectorcall(cpy_r_r13, cpy_r_r15, 1, 0); + CPy_DECREF(cpy_r_r13); + if (unlikely(cpy_r_r16 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 373, CPyStatic_stats___globals); + goto CPyL19; + } + CPy_DECREF_NO_IMM(cpy_r_r9); + if (likely(PyDict_Check(cpy_r_r16))) + cpy_r_r17 = cpy_r_r16; + else { + CPy_TypeErrorTraceback("dank_mids\\stats\\__init__.py", "__init__", 373, CPyStatic_stats___globals, "dict", cpy_r_r16); + goto CPyL18; + } + ((dank_mids___stats____CollectorObject *)cpy_r_self)->_durations = cpy_r_r17; + cpy_r_r18 = PySet_New(NULL); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 380, CPyStatic_stats___globals); + goto CPyL18; + } + ((dank_mids___stats____CollectorObject *)cpy_r_self)->_types = cpy_r_r18; + cpy_r_r19 = CPyStatic_stats___globals; + cpy_r_r20 = CPyStatics[714]; /* 'deque' */ + cpy_r_r21 = CPyDict_GetItem(cpy_r_r19, cpy_r_r20); + if (unlikely(cpy_r_r21 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 386, CPyStatic_stats___globals); + goto CPyL18; + } + cpy_r_r22 = CPyStatics[886]; /* 50000 */ + PyObject *cpy_r_r23[1] = {cpy_r_r22}; + cpy_r_r24 = (PyObject **)&cpy_r_r23; + cpy_r_r25 = CPyStatics[1043]; /* ('maxlen',) */ + cpy_r_r26 = PyObject_Vectorcall(cpy_r_r21, cpy_r_r24, 0, cpy_r_r25); + CPy_DECREF(cpy_r_r21); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 386, CPyStatic_stats___globals); + goto CPyL18; + } + ((dank_mids___stats____CollectorObject *)cpy_r_self)->_event_loop_times = cpy_r_r26; + cpy_r_r27 = CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj(); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 394, CPyStatic_stats___globals); + goto CPyL18; + } + if (((dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *)cpy_r_r27)->___mypyc_env__ != NULL) { + CPy_DECREF_NO_IMM(((dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *)cpy_r_r27)->___mypyc_env__); + } + ((dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *)cpy_r_r27)->___mypyc_env__ = cpy_r_r0; + cpy_r_r28 = 1; + if (unlikely(!cpy_r_r28)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 394, CPyStatic_stats___globals); + goto CPyL20; + } + cpy_r_r29 = CPyStatic_stats___globals; + cpy_r_r30 = CPyStatics[716]; /* 'defaultdict' */ + cpy_r_r31 = CPyDict_GetItem(cpy_r_r29, cpy_r_r30); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 394, CPyStatic_stats___globals); + goto CPyL20; + } + PyObject *cpy_r_r32[1] = {cpy_r_r27}; + cpy_r_r33 = (PyObject **)&cpy_r_r32; + cpy_r_r34 = PyObject_Vectorcall(cpy_r_r31, cpy_r_r33, 1, 0); + CPy_DECREF(cpy_r_r31); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 394, CPyStatic_stats___globals); + goto CPyL20; + } + CPy_DECREF_NO_IMM(cpy_r_r27); + if (likely(PyDict_Check(cpy_r_r34))) + cpy_r_r35 = cpy_r_r34; + else { + CPy_TypeErrorTraceback("dank_mids\\stats\\__init__.py", "__init__", 394, CPyStatic_stats___globals, "dict", cpy_r_r34); + goto CPyL17; + } + ((dank_mids___stats____CollectorObject *)cpy_r_self)->_validation_errors = cpy_r_r35; + return 1; +CPyL17: ; + cpy_r_r36 = 2; + return cpy_r_r36; +CPyL18: ; + CPy_DecRef(cpy_r_r0); + goto CPyL17; +CPyL19: ; + CPy_DecRef(cpy_r_r0); + CPy_DecRef(cpy_r_r9); + goto CPyL17; +CPyL20: ; + CPy_DecRef(cpy_r_r27); + goto CPyL17; +} + +PyObject *CPyPy_stats____Collector_____init__(PyObject *self, PyObject *args, PyObject *kw) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + if (!CPyArg_ParseTupleAndKeywords(args, kw, "", "__init__", kwlist)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____Collector)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._Collector", obj_self); + goto fail; + } + char retval = CPyDef_stats____Collector_____init__(arg_self); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__init__", 366, CPyStatic_stats___globals); + return NULL; +} + +double CPyDef_stats____Collector___avg_loop_time(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject **cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + char cpy_r_r11; + PyObject *cpy_r_r12; + CPyTagged cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + double cpy_r_r16; + char cpy_r_r17; + PyObject *cpy_r_r18; + double cpy_r_r19; + cpy_r_r0 = CPyStatic_stats___collector; + if (likely(cpy_r_r0 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"collector\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "avg_loop_time", 413, CPyStatic_stats___globals); + goto CPyL14; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r2 = ((dank_mids___stats____CollectorObject *)cpy_r_r0)->_event_loop_times; + CPy_INCREF(cpy_r_r2); + cpy_r_r3 = CPyModule_builtins; + cpy_r_r4 = CPyStatics[717]; /* 'sum' */ + cpy_r_r5 = CPyObject_GetAttr(cpy_r_r3, cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "avg_loop_time", 413, CPyStatic_stats___globals); + goto CPyL15; + } + PyObject *cpy_r_r6[1] = {cpy_r_r2}; + cpy_r_r7 = (PyObject **)&cpy_r_r6; + cpy_r_r8 = PyObject_Vectorcall(cpy_r_r5, cpy_r_r7, 1, 0); + CPy_DECREF(cpy_r_r5); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "avg_loop_time", 413, CPyStatic_stats___globals); + goto CPyL15; + } + CPy_DECREF(cpy_r_r2); + if (CPyFloat_Check(cpy_r_r8)) + cpy_r_r9 = cpy_r_r8; + else { + cpy_r_r9 = NULL; + } + if (cpy_r_r9 != NULL) goto __LL340; + if (PyLong_Check(cpy_r_r8)) + cpy_r_r9 = cpy_r_r8; + else { + cpy_r_r9 = NULL; + } + if (cpy_r_r9 != NULL) goto __LL340; + CPy_TypeErrorTraceback("dank_mids\\stats\\__init__.py", "avg_loop_time", 413, CPyStatic_stats___globals, "union[float, int]", cpy_r_r8); + goto CPyL14; +__LL340: ; + cpy_r_r10 = CPyStatic_stats___collector; + if (unlikely(cpy_r_r10 == NULL)) { + goto CPyL16; + } else + goto CPyL9; +CPyL7: ; + PyErr_SetString(PyExc_NameError, "value for final name \"collector\" was not set"); + cpy_r_r11 = 0; + if (unlikely(!cpy_r_r11)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "avg_loop_time", 413, CPyStatic_stats___globals); + goto CPyL14; + } + CPy_Unreachable(); +CPyL9: ; + cpy_r_r12 = ((dank_mids___stats____CollectorObject *)cpy_r_r10)->_event_loop_times; + CPy_INCREF(cpy_r_r12); + cpy_r_r13 = CPyObject_Size(cpy_r_r12); + CPy_DECREF(cpy_r_r12); + if (unlikely(cpy_r_r13 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "avg_loop_time", 413, CPyStatic_stats___globals); + goto CPyL17; + } + cpy_r_r14 = CPyTagged_StealAsObject(cpy_r_r13); + cpy_r_r15 = PyNumber_TrueDivide(cpy_r_r9, cpy_r_r14); + CPy_DECREF(cpy_r_r9); + CPy_DECREF(cpy_r_r14); + if (unlikely(cpy_r_r15 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "avg_loop_time", 413, CPyStatic_stats___globals); + goto CPyL14; + } + cpy_r_r16 = PyFloat_AsDouble(cpy_r_r15); + if (cpy_r_r16 == -1.0 && PyErr_Occurred()) { + CPy_TypeError("float", cpy_r_r15); cpy_r_r16 = -113.0; + } + CPy_DECREF(cpy_r_r15); + cpy_r_r17 = cpy_r_r16 == -113.0; + if (unlikely(cpy_r_r17)) goto CPyL13; +CPyL12: ; + return cpy_r_r16; +CPyL13: ; + cpy_r_r18 = PyErr_Occurred(); + if (unlikely(cpy_r_r18 != NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "avg_loop_time", 413, CPyStatic_stats___globals); + } else + goto CPyL12; +CPyL14: ; + cpy_r_r19 = -113.0; + return cpy_r_r19; +CPyL15: ; + CPy_DecRef(cpy_r_r2); + goto CPyL14; +CPyL16: ; + CPy_DecRef(cpy_r_r9); + goto CPyL7; +CPyL17: ; + CPy_DecRef(cpy_r_r9); + goto CPyL14; +} + +PyObject *CPyPy_stats____Collector___avg_loop_time(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":avg_loop_time", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____Collector)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._Collector", obj_self); + goto fail; + } + double retval = CPyDef_stats____Collector___avg_loop_time(arg_self); + if (retval == -113.0 && PyErr_Occurred()) { + return NULL; + } + PyObject *retbox = PyFloat_FromDouble(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "avg_loop_time", 403, CPyStatic_stats___globals); + return NULL; +} + +CPyTagged CPyDef_stats____Collector___count_active_brownie_calls(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + char cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + CPyTagged cpy_r_r11; + CPyTagged cpy_r_r12; + cpy_r_r0 = CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_CALL_SEMAPHORE; + if (likely(cpy_r_r0 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"BROWNIE_CALL_SEMAPHORE\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "count_active_brownie_calls", 426, CPyStatic_stats___globals); + goto CPyL12; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r2 = CPyStatics[718]; /* 'default_value' */ + cpy_r_r3 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "count_active_brownie_calls", 426, CPyStatic_stats___globals); + goto CPyL12; + } + cpy_r_r4 = CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_CALL_SEMAPHORE; + if (unlikely(cpy_r_r4 == NULL)) { + goto CPyL13; + } else + goto CPyL7; +CPyL5: ; + PyErr_SetString(PyExc_NameError, "value for final name \"BROWNIE_CALL_SEMAPHORE\" was not set"); + cpy_r_r5 = 0; + if (unlikely(!cpy_r_r5)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "count_active_brownie_calls", 426, CPyStatic_stats___globals); + goto CPyL12; + } + CPy_Unreachable(); +CPyL7: ; + cpy_r_r6 = CPyStatics[719]; /* 'semaphore' */ + cpy_r_r7 = CPyObject_GetAttr(cpy_r_r4, cpy_r_r6); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "count_active_brownie_calls", 426, CPyStatic_stats___globals); + goto CPyL14; + } + cpy_r_r8 = CPyStatics[213]; /* '_value' */ + cpy_r_r9 = CPyObject_GetAttr(cpy_r_r7, cpy_r_r8); + CPy_DECREF(cpy_r_r7); + if (unlikely(cpy_r_r9 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "count_active_brownie_calls", 426, CPyStatic_stats___globals); + goto CPyL14; + } + cpy_r_r10 = PyNumber_Subtract(cpy_r_r3, cpy_r_r9); + CPy_DECREF(cpy_r_r3); + CPy_DECREF(cpy_r_r9); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "count_active_brownie_calls", 426, CPyStatic_stats___globals); + goto CPyL12; + } + if (likely(PyLong_Check(cpy_r_r10))) + cpy_r_r11 = CPyTagged_FromObject(cpy_r_r10); + else { + CPy_TypeError("int", cpy_r_r10); cpy_r_r11 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_r10); + if (unlikely(cpy_r_r11 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "count_active_brownie_calls", 426, CPyStatic_stats___globals); + goto CPyL12; + } + return cpy_r_r11; +CPyL12: ; + cpy_r_r12 = CPY_INT_TAG; + return cpy_r_r12; +CPyL13: ; + CPy_DecRef(cpy_r_r3); + goto CPyL5; +CPyL14: ; + CPy_DecRef(cpy_r_r3); + goto CPyL12; +} + +PyObject *CPyPy_stats____Collector___count_active_brownie_calls(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":count_active_brownie_calls", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____Collector)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._Collector", obj_self); + goto fail; + } + CPyTagged retval = CPyDef_stats____Collector___count_active_brownie_calls(arg_self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "count_active_brownie_calls", 416, CPyStatic_stats___globals); + return NULL; +} + +CPyTagged CPyDef_stats____Collector___count_queued_brownie_calls(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + CPyTagged cpy_r_r6; + CPyTagged cpy_r_r7; + cpy_r_r0 = CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_CALL_SEMAPHORE; + if (likely(cpy_r_r0 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"BROWNIE_CALL_SEMAPHORE\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "count_queued_brownie_calls", 439, CPyStatic_stats___globals); + goto CPyL7; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r2 = CPyStatics[719]; /* 'semaphore' */ + cpy_r_r3 = CPyObject_GetAttr(cpy_r_r0, cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "count_queued_brownie_calls", 439, CPyStatic_stats___globals); + goto CPyL7; + } + cpy_r_r4 = CPyStatics[720]; /* '_waiters' */ + cpy_r_r5 = CPyObject_GetAttr(cpy_r_r3, cpy_r_r4); + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "count_queued_brownie_calls", 439, CPyStatic_stats___globals); + goto CPyL7; + } + cpy_r_r6 = CPyObject_Size(cpy_r_r5); + CPy_DECREF(cpy_r_r5); + if (unlikely(cpy_r_r6 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "count_queued_brownie_calls", 439, CPyStatic_stats___globals); + goto CPyL7; + } + return cpy_r_r6; +CPyL7: ; + cpy_r_r7 = CPY_INT_TAG; + return cpy_r_r7; +} + +PyObject *CPyPy_stats____Collector___count_queued_brownie_calls(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":count_queued_brownie_calls", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____Collector)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._Collector", obj_self); + goto fail; + } + CPyTagged retval = CPyDef_stats____Collector___count_queued_brownie_calls(arg_self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "count_queued_brownie_calls", 429, CPyStatic_stats___globals); + return NULL; +} + +CPyTagged CPyDef_stats____Collector___encoder_queue_len(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + CPyTagged cpy_r_r7; + CPyTagged cpy_r_r8; + cpy_r_r0 = CPyStatic_stats___globals; + cpy_r_r1 = CPyStatics[358]; /* 'ENVS' */ + cpy_r_r2 = CPyDict_GetItem(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "encoder_queue_len", 452, CPyStatic_stats___globals); + goto CPyL5; + } + cpy_r_r3 = CPyStatics[359]; /* 'BROWNIE_ENCODER_PROCESSES' */ + cpy_r_r4 = CPyObject_GetAttr(cpy_r_r2, cpy_r_r3); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "encoder_queue_len", 452, CPyStatic_stats___globals); + goto CPyL5; + } + cpy_r_r5 = CPyStatics[721]; /* '_queue_count' */ + cpy_r_r6 = CPyObject_GetAttr(cpy_r_r4, cpy_r_r5); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "encoder_queue_len", 452, CPyStatic_stats___globals); + goto CPyL5; + } + if (likely(PyLong_Check(cpy_r_r6))) + cpy_r_r7 = CPyTagged_FromObject(cpy_r_r6); + else { + CPy_TypeError("int", cpy_r_r6); cpy_r_r7 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r7 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "encoder_queue_len", 452, CPyStatic_stats___globals); + goto CPyL5; + } + return cpy_r_r7; +CPyL5: ; + cpy_r_r8 = CPY_INT_TAG; + return cpy_r_r8; +} + +PyObject *CPyPy_stats____Collector___encoder_queue_len(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":encoder_queue_len", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____Collector)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._Collector", obj_self); + goto fail; + } + CPyTagged retval = CPyDef_stats____Collector___encoder_queue_len(arg_self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "encoder_queue_len", 442, CPyStatic_stats___globals); + return NULL; +} + +CPyTagged CPyDef_stats____Collector___decoder_queue_len(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + CPyTagged cpy_r_r7; + CPyTagged cpy_r_r8; + cpy_r_r0 = CPyStatic_stats___globals; + cpy_r_r1 = CPyStatics[358]; /* 'ENVS' */ + cpy_r_r2 = CPyDict_GetItem(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "decoder_queue_len", 465, CPyStatic_stats___globals); + goto CPyL5; + } + cpy_r_r3 = CPyStatics[362]; /* 'BROWNIE_DECODER_PROCESSES' */ + cpy_r_r4 = CPyObject_GetAttr(cpy_r_r2, cpy_r_r3); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "decoder_queue_len", 465, CPyStatic_stats___globals); + goto CPyL5; + } + cpy_r_r5 = CPyStatics[721]; /* '_queue_count' */ + cpy_r_r6 = CPyObject_GetAttr(cpy_r_r4, cpy_r_r5); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "decoder_queue_len", 465, CPyStatic_stats___globals); + goto CPyL5; + } + if (likely(PyLong_Check(cpy_r_r6))) + cpy_r_r7 = CPyTagged_FromObject(cpy_r_r6); + else { + CPy_TypeError("int", cpy_r_r6); cpy_r_r7 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r7 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "decoder_queue_len", 465, CPyStatic_stats___globals); + goto CPyL5; + } + return cpy_r_r7; +CPyL5: ; + cpy_r_r8 = CPY_INT_TAG; + return cpy_r_r8; +} + +PyObject *CPyPy_stats____Collector___decoder_queue_len(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":decoder_queue_len", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____Collector)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._Collector", obj_self); + goto fail; + } + CPyTagged retval = CPyDef_stats____Collector___decoder_queue_len(arg_self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "decoder_queue_len", 455, CPyStatic_stats___globals); + return NULL; +} + +CPyTagged CPyDef_stats____Collector___mcall_decoder_queue_len(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + CPyTagged cpy_r_r7; + CPyTagged cpy_r_r8; + cpy_r_r0 = CPyStatic_stats___globals; + cpy_r_r1 = CPyStatics[358]; /* 'ENVS' */ + cpy_r_r2 = CPyDict_GetItem(cpy_r_r0, cpy_r_r1); + if (unlikely(cpy_r_r2 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "mcall_decoder_queue_len", 478, CPyStatic_stats___globals); + goto CPyL5; + } + cpy_r_r3 = CPyStatics[706]; /* 'MULTICALL_DECODER_PROCESSES' */ + cpy_r_r4 = CPyObject_GetAttr(cpy_r_r2, cpy_r_r3); + CPy_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "mcall_decoder_queue_len", 478, CPyStatic_stats___globals); + goto CPyL5; + } + cpy_r_r5 = CPyStatics[721]; /* '_queue_count' */ + cpy_r_r6 = CPyObject_GetAttr(cpy_r_r4, cpy_r_r5); + CPy_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "mcall_decoder_queue_len", 478, CPyStatic_stats___globals); + goto CPyL5; + } + if (likely(PyLong_Check(cpy_r_r6))) + cpy_r_r7 = CPyTagged_FromObject(cpy_r_r6); + else { + CPy_TypeError("int", cpy_r_r6); cpy_r_r7 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r7 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "mcall_decoder_queue_len", 478, CPyStatic_stats___globals); + goto CPyL5; + } + return cpy_r_r7; +CPyL5: ; + cpy_r_r8 = CPY_INT_TAG; + return cpy_r_r8; +} + +PyObject *CPyPy_stats____Collector___mcall_decoder_queue_len(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":mcall_decoder_queue_len", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____Collector)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._Collector", obj_self); + goto fail; + } + CPyTagged retval = CPyDef_stats____Collector___mcall_decoder_queue_len(arg_self); + if (retval == CPY_INT_TAG) { + return NULL; + } + PyObject *retbox = CPyTagged_StealAsObject(retval); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "mcall_decoder_queue_len", 468, CPyStatic_stats___globals); + return NULL; +} + +PyObject *CPyDef_stats____Writer___event_loop(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + double cpy_r_r3; + char cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + cpy_r_r0 = CPyStatics[722]; /* 'Average event loop time: ' */ + cpy_r_r1 = CPyStatic_stats___collector; + if (likely(cpy_r_r1 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"collector\" was not set"); + cpy_r_r2 = 0; + if (unlikely(!cpy_r_r2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "event_loop", 498, CPyStatic_stats___globals); + goto CPyL8; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r3 = CPyDef_stats____Collector___avg_loop_time(cpy_r_r1); + cpy_r_r4 = cpy_r_r3 == -113.0; + if (unlikely(cpy_r_r4)) goto CPyL5; +CPyL4: ; + cpy_r_r5 = PyFloat_FromDouble(cpy_r_r3); + cpy_r_r6 = PyObject_Str(cpy_r_r5); + CPy_DECREF(cpy_r_r5); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "event_loop", 498, CPyStatic_stats___globals); + goto CPyL8; + } else + goto CPyL6; +CPyL5: ; + cpy_r_r7 = PyErr_Occurred(); + if (unlikely(cpy_r_r7 != NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "event_loop", 498, CPyStatic_stats___globals); + goto CPyL8; + } else + goto CPyL4; +CPyL6: ; + cpy_r_r8 = CPyStr_Build(2, cpy_r_r0, cpy_r_r6); + CPy_DECREF(cpy_r_r6); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "event_loop", 498, CPyStatic_stats___globals); + goto CPyL8; + } + return cpy_r_r8; +CPyL8: ; + cpy_r_r9 = NULL; + return cpy_r_r9; +} + +PyObject *CPyPy_stats____Writer___event_loop(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":event_loop", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____Writer)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._Writer", obj_self); + goto fail; + } + PyObject *retval = CPyDef_stats____Writer___event_loop(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "event_loop", 488, CPyStatic_stats___globals); + return NULL; +} + +PyObject *CPyDef_stats____Writer___brownie(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + char cpy_r_r1; + CPyTagged cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + char cpy_r_r6; + CPyTagged cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + cpy_r_r0 = CPyStatic_stats___collector; + if (likely(cpy_r_r0 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"collector\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "brownie", 510, CPyStatic_stats___globals); + goto CPyL12; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r2 = CPyDef_stats____Collector___count_active_brownie_calls(cpy_r_r0); + if (unlikely(cpy_r_r2 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "brownie", 510, CPyStatic_stats___globals); + goto CPyL12; + } +CPyL4: ; + cpy_r_r3 = CPyTagged_Str(cpy_r_r2); + CPyTagged_DECREF(cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "brownie", 510, CPyStatic_stats___globals); + goto CPyL12; + } + cpy_r_r4 = CPyStatics[723]; /* ' brownie calls are processing, ' */ + cpy_r_r5 = CPyStatic_stats___collector; + if (unlikely(cpy_r_r5 == NULL)) { + goto CPyL13; + } else + goto CPyL8; +CPyL6: ; + PyErr_SetString(PyExc_NameError, "value for final name \"collector\" was not set"); + cpy_r_r6 = 0; + if (unlikely(!cpy_r_r6)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "brownie", 510, CPyStatic_stats___globals); + goto CPyL12; + } + CPy_Unreachable(); +CPyL8: ; + cpy_r_r7 = CPyDef_stats____Collector___count_queued_brownie_calls(cpy_r_r5); + if (unlikely(cpy_r_r7 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "brownie", 510, CPyStatic_stats___globals); + goto CPyL14; + } +CPyL9: ; + cpy_r_r8 = CPyTagged_Str(cpy_r_r7); + CPyTagged_DECREF(cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "brownie", 510, CPyStatic_stats___globals); + goto CPyL14; + } + cpy_r_r9 = CPyStatics[724]; /* ' are queued in None.' */ + cpy_r_r10 = CPyStr_Build(4, cpy_r_r3, cpy_r_r4, cpy_r_r8, cpy_r_r9); + CPy_DECREF(cpy_r_r3); + CPy_DECREF(cpy_r_r8); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "brownie", 510, CPyStatic_stats___globals); + goto CPyL12; + } + return cpy_r_r10; +CPyL12: ; + cpy_r_r11 = NULL; + return cpy_r_r11; +CPyL13: ; + CPy_DecRef(cpy_r_r3); + goto CPyL6; +CPyL14: ; + CPy_DecRef(cpy_r_r3); + goto CPyL12; +} + +PyObject *CPyPy_stats____Writer___brownie(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":brownie", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____Writer)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._Writer", obj_self); + goto fail; + } + PyObject *retval = CPyDef_stats____Writer___brownie(arg_self); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "brownie", 500, CPyStatic_stats___globals); + return NULL; +} + +PyObject *CPyDef_stats____Writer___queue(PyObject *cpy_r_self, PyObject *cpy_r_pool) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + CPyTagged cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + cpy_r_r0 = PyObject_Str(cpy_r_pool); + if (unlikely(cpy_r_r0 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "queue", 525, CPyStatic_stats___globals); + goto CPyL6; + } + cpy_r_r1 = CPyStatics[725]; /* ' has ' */ + cpy_r_r2 = CPyStatics[721]; /* '_queue_count' */ + cpy_r_r3 = CPyObject_GetAttr(cpy_r_pool, cpy_r_r2); + if (unlikely(cpy_r_r3 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "queue", 525, CPyStatic_stats___globals); + goto CPyL7; + } + if (likely(PyLong_Check(cpy_r_r3))) + cpy_r_r4 = CPyTagged_FromObject(cpy_r_r3); + else { + CPy_TypeError("int", cpy_r_r3); cpy_r_r4 = CPY_INT_TAG; + } + CPy_DECREF(cpy_r_r3); + if (unlikely(cpy_r_r4 == CPY_INT_TAG)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "queue", 525, CPyStatic_stats___globals); + goto CPyL7; + } + cpy_r_r5 = CPyTagged_Str(cpy_r_r4); + CPyTagged_DECREF(cpy_r_r4); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "queue", 525, CPyStatic_stats___globals); + goto CPyL7; + } + cpy_r_r6 = CPyStatics[726]; /* ' items in its queue' */ + cpy_r_r7 = CPyStr_Build(4, cpy_r_r0, cpy_r_r1, cpy_r_r5, cpy_r_r6); + CPy_DECREF(cpy_r_r0); + CPy_DECREF(cpy_r_r5); + if (unlikely(cpy_r_r7 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "queue", 525, CPyStatic_stats___globals); + goto CPyL6; + } + return cpy_r_r7; +CPyL6: ; + cpy_r_r8 = NULL; + return cpy_r_r8; +CPyL7: ; + CPy_DecRef(cpy_r_r0); + goto CPyL6; +} + +PyObject *CPyPy_stats____Writer___queue(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {"pool", 0}; + static CPyArg_Parser parser = {"O:queue", kwlist, 0}; + PyObject *obj_pool; + if (!CPyArg_ParseStackAndKeywordsOneArg(args, nargs, kwnames, &parser, &obj_pool)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____Writer)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._Writer", obj_self); + goto fail; + } + PyObject *arg_pool = obj_pool; + PyObject *retval = CPyDef_stats____Writer___queue(arg_self, arg_pool); + return retval; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "queue", 512, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____SentryExporter___push_measurements(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + int32_t cpy_r_r4; + char cpy_r_r5; + char cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject **cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject **cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + CPyTagged cpy_r_r24; + int64_t cpy_r_r25; + PyObject *cpy_r_r26; + tuple_T4CIOO cpy_r_r27; + CPyTagged cpy_r_r28; + char cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + char cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_attr; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject **cpy_r_r41; + PyObject *cpy_r_r42; + char cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject **cpy_r_r50; + PyObject *cpy_r_r51; + char cpy_r_r52; + char cpy_r_r53; + char cpy_r_r54; + cpy_r_r0 = ((dank_mids___stats____SentryExporterObject *)cpy_r_self)->__exc; + CPy_INCREF(cpy_r_r0); + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (!cpy_r_r2) goto CPyL33; + cpy_r_r3 = cpy_r_r0; + cpy_r_r4 = PyObject_IsTrue(cpy_r_r3); + CPy_DECREF(cpy_r_r3); + cpy_r_r5 = cpy_r_r4 >= 0; + if (unlikely(!cpy_r_r5)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 556, CPyStatic_stats___globals); + goto CPyL32; + } + cpy_r_r6 = cpy_r_r4; + if (!cpy_r_r6) goto CPyL11; + cpy_r_r7 = ((dank_mids___stats____SentryExporterObject *)cpy_r_self)->__exc; + CPy_INCREF(cpy_r_r7); + cpy_r_r8 = CPyStatic_stats___globals; + cpy_r_r9 = CPyStatics[727]; /* 'deepcopy' */ + cpy_r_r10 = CPyDict_GetItem(cpy_r_r8, cpy_r_r9); + if (unlikely(cpy_r_r10 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 557, CPyStatic_stats___globals); + goto CPyL34; + } + PyObject *cpy_r_r11[1] = {cpy_r_r7}; + cpy_r_r12 = (PyObject **)&cpy_r_r11; + cpy_r_r13 = PyObject_Vectorcall(cpy_r_r10, cpy_r_r12, 1, 0); + CPy_DECREF(cpy_r_r10); + if (unlikely(cpy_r_r13 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 557, CPyStatic_stats___globals); + goto CPyL34; + } + CPy_DECREF(cpy_r_r7); + cpy_r_r14 = ((dank_mids___stats____SentryExporterObject *)cpy_r_self)->__exc; + CPy_INCREF(cpy_r_r14); + cpy_r_r15 = cpy_r_r14; + cpy_r_r16 = CPyStatics[728]; /* '__traceback__' */ + cpy_r_r17 = CPyObject_GetAttr(cpy_r_r15, cpy_r_r16); + CPy_DECREF(cpy_r_r15); + if (unlikely(cpy_r_r17 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 557, CPyStatic_stats___globals); + goto CPyL35; + } + cpy_r_r18 = cpy_r_r17; + cpy_r_r19 = CPyStatics[729]; /* 'with_traceback' */ + PyObject *cpy_r_r20[2] = {cpy_r_r13, cpy_r_r18}; + cpy_r_r21 = (PyObject **)&cpy_r_r20; + cpy_r_r22 = PyObject_VectorcallMethod(cpy_r_r19, cpy_r_r21, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 557, CPyStatic_stats___globals); + goto CPyL36; + } + CPy_DECREF(cpy_r_r13); + CPy_DECREF(cpy_r_r18); + CPy_Raise(cpy_r_r22); + CPy_DECREF(cpy_r_r22); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 557, CPyStatic_stats___globals); + goto CPyL32; + } + CPy_Unreachable(); +CPyL11: ; + cpy_r_r23 = ((dank_mids___stats____SentryExporterObject *)cpy_r_self)->_metrics; + CPy_INCREF(cpy_r_r23); + cpy_r_r24 = 0; + cpy_r_r25 = PyDict_Size(cpy_r_r23); + cpy_r_r26 = CPyDict_GetItemsIter(cpy_r_r23); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 558, CPyStatic_stats___globals); + goto CPyL37; + } +CPyL12: ; + cpy_r_r27 = CPyDict_NextItem(cpy_r_r26, cpy_r_r24); + cpy_r_r28 = cpy_r_r27.f1; + cpy_r_r24 = cpy_r_r28; + cpy_r_r29 = cpy_r_r27.f0; + if (!cpy_r_r29) goto CPyL38; + cpy_r_r30 = cpy_r_r27.f2; + CPy_INCREF(cpy_r_r30); + cpy_r_r31 = cpy_r_r27.f3; + CPy_INCREF(cpy_r_r31); + CPy_DECREF(cpy_r_r27.f2); + CPy_DECREF(cpy_r_r27.f3); + if (likely(PyUnicode_Check(cpy_r_r30))) + cpy_r_r32 = cpy_r_r30; + else { + CPy_TypeErrorTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 558, CPyStatic_stats___globals, "str", cpy_r_r30); + goto CPyL39; + } + if (likely(PyUnicode_Check(cpy_r_r31))) + cpy_r_r33 = cpy_r_r31; + else { + CPy_TypeErrorTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 558, CPyStatic_stats___globals, "str", cpy_r_r31); + goto CPyL40; + } + cpy_r_r34 = CPyStatic_stats___collector; + if (unlikely(cpy_r_r34 == NULL)) { + goto CPyL41; + } else + goto CPyL18; +CPyL16: ; + PyErr_SetString(PyExc_NameError, "value for final name \"collector\" was not set"); + cpy_r_r35 = 0; + if (unlikely(!cpy_r_r35)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 559, CPyStatic_stats___globals); + goto CPyL32; + } + CPy_Unreachable(); +CPyL18: ; + cpy_r_r36 = CPyObject_GetAttr(cpy_r_r34, cpy_r_r33); + if (unlikely(cpy_r_r36 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 559, CPyStatic_stats___globals); + goto CPyL42; + } + cpy_r_attr = cpy_r_r36; + cpy_r_r37 = CPyModule_builtins; + cpy_r_r38 = CPyStatics[730]; /* 'callable' */ + cpy_r_r39 = CPyObject_GetAttr(cpy_r_r37, cpy_r_r38); + if (unlikely(cpy_r_r39 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 560, CPyStatic_stats___globals); + goto CPyL43; + } + PyObject *cpy_r_r40[1] = {cpy_r_attr}; + cpy_r_r41 = (PyObject **)&cpy_r_r40; + cpy_r_r42 = PyObject_Vectorcall(cpy_r_r39, cpy_r_r41, 1, 0); + CPy_DECREF(cpy_r_r39); + if (unlikely(cpy_r_r42 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 560, CPyStatic_stats___globals); + goto CPyL43; + } + if (unlikely(!PyBool_Check(cpy_r_r42))) { + CPy_TypeError("bool", cpy_r_r42); cpy_r_r43 = 2; + } else + cpy_r_r43 = cpy_r_r42 == Py_True; + CPy_DECREF(cpy_r_r42); + if (unlikely(cpy_r_r43 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 560, CPyStatic_stats___globals); + goto CPyL43; + } + if (!cpy_r_r43) goto CPyL25; + cpy_r_r44 = PyObject_Vectorcall(cpy_r_attr, 0, 0, 0); + CPy_DECREF(cpy_r_attr); + if (unlikely(cpy_r_r44 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 561, CPyStatic_stats___globals); + goto CPyL42; + } + cpy_r_attr = cpy_r_r44; +CPyL25: ; + cpy_r_r45 = ((dank_mids___stats____SentryExporterObject *)cpy_r_self)->_units; + CPy_INCREF(cpy_r_r45); + cpy_r_r46 = CPyDict_GetWithNone(cpy_r_r45, cpy_r_r33); + CPy_DECREF(cpy_r_r45); + CPy_DECREF(cpy_r_r33); + if (unlikely(cpy_r_r46 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 562, CPyStatic_stats___globals); + goto CPyL44; + } + if (PyUnicode_Check(cpy_r_r46)) + cpy_r_r47 = cpy_r_r46; + else { + cpy_r_r47 = NULL; + } + if (cpy_r_r47 != NULL) goto __LL341; + if (cpy_r_r46 == Py_None) + cpy_r_r47 = cpy_r_r46; + else { + cpy_r_r47 = NULL; + } + if (cpy_r_r47 != NULL) goto __LL341; + CPy_TypeErrorTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 562, CPyStatic_stats___globals, "str or None", cpy_r_r46); + goto CPyL44; +__LL341: ; + cpy_r_r48 = ((dank_mids___stats____SentryExporterObject *)cpy_r_self)->_set_measurement; + CPy_INCREF(cpy_r_r48); + PyObject *cpy_r_r49[3] = {cpy_r_r32, cpy_r_attr, cpy_r_r47}; + cpy_r_r50 = (PyObject **)&cpy_r_r49; + cpy_r_r51 = PyObject_Vectorcall(cpy_r_r48, cpy_r_r50, 3, 0); + CPy_DECREF(cpy_r_r48); + if (unlikely(cpy_r_r51 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 562, CPyStatic_stats___globals); + goto CPyL45; + } else + goto CPyL46; +CPyL28: ; + CPy_DECREF(cpy_r_r32); + CPy_DECREF(cpy_r_attr); + CPy_DECREF(cpy_r_r47); + cpy_r_r52 = CPyDict_CheckSize(cpy_r_r23, cpy_r_r25); + if (unlikely(!cpy_r_r52)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 558, CPyStatic_stats___globals); + goto CPyL47; + } else + goto CPyL12; +CPyL30: ; + cpy_r_r53 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r53)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 558, CPyStatic_stats___globals); + goto CPyL32; + } + return 1; +CPyL32: ; + cpy_r_r54 = 2; + return cpy_r_r54; +CPyL33: ; + CPy_DECREF(cpy_r_r0); + goto CPyL11; +CPyL34: ; + CPy_DecRef(cpy_r_r7); + goto CPyL32; +CPyL35: ; + CPy_DecRef(cpy_r_r13); + goto CPyL32; +CPyL36: ; + CPy_DecRef(cpy_r_r13); + CPy_DecRef(cpy_r_r18); + goto CPyL32; +CPyL37: ; + CPy_DecRef(cpy_r_r23); + goto CPyL32; +CPyL38: ; + CPy_DECREF(cpy_r_r23); + CPy_DECREF(cpy_r_r26); + CPy_DECREF(cpy_r_r27.f2); + CPy_DECREF(cpy_r_r27.f3); + goto CPyL30; +CPyL39: ; + CPy_DecRef(cpy_r_r23); + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r31); + goto CPyL32; +CPyL40: ; + CPy_DecRef(cpy_r_r23); + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r32); + goto CPyL32; +CPyL41: ; + CPy_DecRef(cpy_r_r23); + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r32); + CPy_DecRef(cpy_r_r33); + goto CPyL16; +CPyL42: ; + CPy_DecRef(cpy_r_r23); + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r32); + CPy_DecRef(cpy_r_r33); + goto CPyL32; +CPyL43: ; + CPy_DecRef(cpy_r_r23); + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r32); + CPy_DecRef(cpy_r_r33); + CPy_DecRef(cpy_r_attr); + goto CPyL32; +CPyL44: ; + CPy_DecRef(cpy_r_r23); + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r32); + CPy_DecRef(cpy_r_attr); + goto CPyL32; +CPyL45: ; + CPy_DecRef(cpy_r_r23); + CPy_DecRef(cpy_r_r26); + CPy_DecRef(cpy_r_r32); + CPy_DecRef(cpy_r_attr); + CPy_DecRef(cpy_r_r47); + goto CPyL32; +CPyL46: ; + CPy_DECREF(cpy_r_r51); + goto CPyL28; +CPyL47: ; + CPy_DecRef(cpy_r_r23); + CPy_DecRef(cpy_r_r26); + goto CPyL32; +} + +PyObject *CPyPy_stats____SentryExporter___push_measurements(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":push_measurements", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____SentryExporter)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._SentryExporter", obj_self); + goto fail; + } + char retval = CPyDef_stats____SentryExporter___push_measurements(arg_self); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_measurements", 552, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____SentryExporter___push_envs(PyObject *cpy_r_self) { + PyObject *cpy_r_r0; + char cpy_r_r1; + PyObject *cpy_r_r2; + PyObject **cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + char cpy_r_r10; + PyObject *cpy_r_r11; + char cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + PyObject **cpy_r_r17; + PyObject *cpy_r_r18; + tuple_T3OOO cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + char cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + char cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject **cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + char cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject **cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + char cpy_r_r50; + char cpy_r_r51; + char cpy_r_r52; + cpy_r_r0 = CPyStatic_stats____ENVS; + if (likely(cpy_r_r0 != NULL)) goto CPyL3; + PyErr_SetString(PyExc_NameError, "value for final name \"_ENVS\" was not set"); + cpy_r_r1 = 0; + if (unlikely(!cpy_r_r1)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 573, CPyStatic_stats___globals); + goto CPyL42; + } + CPy_Unreachable(); +CPyL3: ; + cpy_r_r2 = CPyStatics[240]; /* 'items' */ + PyObject *cpy_r_r3[1] = {cpy_r_r0}; + cpy_r_r4 = (PyObject **)&cpy_r_r3; + cpy_r_r5 = PyObject_VectorcallMethod(cpy_r_r2, cpy_r_r4, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r5 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 573, CPyStatic_stats___globals); + goto CPyL42; + } + cpy_r_r6 = PyObject_GetIter(cpy_r_r5); + CPy_DECREF(cpy_r_r5); + if (unlikely(cpy_r_r6 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 573, CPyStatic_stats___globals); + goto CPyL42; + } +CPyL5: ; + cpy_r_r7 = PyIter_Next(cpy_r_r6); + if (cpy_r_r7 == NULL) goto CPyL43; + cpy_r_r8 = PyObject_GetIter(cpy_r_r7); + CPy_DECREF(cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 573, CPyStatic_stats___globals); + goto CPyL44; + } + cpy_r_r9 = PyIter_Next(cpy_r_r8); + if (cpy_r_r9 == NULL) { + goto CPyL45; + } else + goto CPyL10; +CPyL8: ; + PyErr_SetString(PyExc_ValueError, "not enough values to unpack"); + cpy_r_r10 = 0; + if (unlikely(!cpy_r_r10)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 573, CPyStatic_stats___globals); + goto CPyL42; + } + CPy_Unreachable(); +CPyL10: ; + cpy_r_r11 = PyIter_Next(cpy_r_r8); + if (cpy_r_r11 == NULL) { + goto CPyL46; + } else + goto CPyL13; +CPyL11: ; + PyErr_SetString(PyExc_ValueError, "not enough values to unpack"); + cpy_r_r12 = 0; + if (unlikely(!cpy_r_r12)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 573, CPyStatic_stats___globals); + goto CPyL42; + } + CPy_Unreachable(); +CPyL13: ; + cpy_r_r13 = PyIter_Next(cpy_r_r8); + CPy_DECREF(cpy_r_r8); + if (cpy_r_r13 == NULL) { + goto CPyL16; + } else + goto CPyL47; +CPyL14: ; + PyErr_SetString(PyExc_ValueError, "too many values to unpack"); + cpy_r_r14 = 0; + if (unlikely(!cpy_r_r14)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 573, CPyStatic_stats___globals); + goto CPyL42; + } + CPy_Unreachable(); +CPyL16: ; + cpy_r_r15 = ((dank_mids___stats____SentryExporterObject *)cpy_r_self)->_set_tag; + CPy_INCREF(cpy_r_r15); + PyObject *cpy_r_r16[2] = {cpy_r_r9, cpy_r_r11}; + cpy_r_r17 = (PyObject **)&cpy_r_r16; + cpy_r_r18 = PyObject_Vectorcall(cpy_r_r15, cpy_r_r17, 2, 0); + CPy_DECREF(cpy_r_r15); + if (unlikely(cpy_r_r18 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 575, CPyStatic_stats___globals); + goto CPyL18; + } else + goto CPyL48; +CPyL17: ; + CPy_DECREF(cpy_r_r9); + CPy_DECREF(cpy_r_r11); + goto CPyL5; +CPyL18: ; + cpy_r_r19 = CPy_CatchError(); + cpy_r_r20 = CPyModule_builtins; + cpy_r_r21 = CPyStatics[16]; /* 'Exception' */ + cpy_r_r22 = CPyObject_GetAttr(cpy_r_r20, cpy_r_r21); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 576, CPyStatic_stats___globals); + goto CPyL49; + } + cpy_r_r23 = CPy_ExceptionMatches(cpy_r_r22); + CPy_DecRef(cpy_r_r22); + if (!cpy_r_r23) goto CPyL50; + cpy_r_r24 = CPy_GetExcValue(); + cpy_r_r25 = CPyStatic_stats___logger; + if (unlikely(cpy_r_r25 == NULL)) { + goto CPyL51; + } else + goto CPyL23; +CPyL21: ; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r26 = 0; + if (unlikely(!cpy_r_r26)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 577, CPyStatic_stats___globals); + goto CPyL38; + } else + goto CPyL52; +CPyL22: ; + CPy_Unreachable(); +CPyL23: ; + cpy_r_r27 = CPyStatics[731]; /* 'Unable to set sentry tag ' */ + cpy_r_r28 = PyObject_Str(cpy_r_r9); + CPy_DecRef(cpy_r_r9); + if (unlikely(cpy_r_r28 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 578, CPyStatic_stats___globals); + goto CPyL53; + } + cpy_r_r29 = CPyStatics[732]; /* ' to ' */ + cpy_r_r30 = PyObject_Str(cpy_r_r11); + CPy_DecRef(cpy_r_r11); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 578, CPyStatic_stats___globals); + goto CPyL54; + } + cpy_r_r31 = CPyStatics[733]; /* '. See ' */ + cpy_r_r32 = CPyStatics[734]; /* '__class__' */ + cpy_r_r33 = CPyObject_GetAttr(cpy_r_r24, cpy_r_r32); + if (unlikely(cpy_r_r33 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 578, CPyStatic_stats___globals); + goto CPyL55; + } + cpy_r_r34 = CPy_GetName(cpy_r_r33); + CPy_DecRef(cpy_r_r33); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 578, CPyStatic_stats___globals); + goto CPyL55; + } + if (likely(PyUnicode_Check(cpy_r_r34))) + cpy_r_r35 = cpy_r_r34; + else { + CPy_TypeErrorTraceback("dank_mids\\stats\\__init__.py", "push_envs", 578, CPyStatic_stats___globals, "str", cpy_r_r34); + goto CPyL55; + } + cpy_r_r36 = CPyStatics[735]; /* ' below:' */ + cpy_r_r37 = CPyStr_Build(7, cpy_r_r27, cpy_r_r28, cpy_r_r29, cpy_r_r30, cpy_r_r31, cpy_r_r35, cpy_r_r36); + CPy_DecRef(cpy_r_r28); + CPy_DecRef(cpy_r_r30); + CPy_DecRef(cpy_r_r35); + if (unlikely(cpy_r_r37 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 578, CPyStatic_stats___globals); + goto CPyL56; + } + cpy_r_r38 = CPyStatics[155]; /* 'warning' */ + PyObject *cpy_r_r39[2] = {cpy_r_r25, cpy_r_r37}; + cpy_r_r40 = (PyObject **)&cpy_r_r39; + cpy_r_r41 = PyObject_VectorcallMethod(cpy_r_r38, cpy_r_r40, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r41 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 577, CPyStatic_stats___globals); + goto CPyL57; + } else + goto CPyL58; +CPyL30: ; + CPy_DecRef(cpy_r_r37); + cpy_r_r42 = CPyStatic_stats___logger; + if (unlikely(cpy_r_r42 == NULL)) { + goto CPyL59; + } else + goto CPyL33; +CPyL31: ; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r43 = 0; + if (unlikely(!cpy_r_r43)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 580, CPyStatic_stats___globals); + goto CPyL38; + } else + goto CPyL60; +CPyL32: ; + CPy_Unreachable(); +CPyL33: ; + cpy_r_r44 = CPyStatics[650]; /* 'info' */ + cpy_r_r45 = 1 ? Py_True : Py_False; + PyObject *cpy_r_r46[3] = {cpy_r_r42, cpy_r_r24, cpy_r_r45}; + cpy_r_r47 = (PyObject **)&cpy_r_r46; + cpy_r_r48 = CPyStatics[928]; /* ('exc_info',) */ + cpy_r_r49 = PyObject_VectorcallMethod(cpy_r_r44, cpy_r_r47, 9223372036854775810ULL, cpy_r_r48); + if (unlikely(cpy_r_r49 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 580, CPyStatic_stats___globals); + goto CPyL56; + } else + goto CPyL61; +CPyL34: ; + CPy_DecRef(cpy_r_r24); + goto CPyL37; +CPyL35: ; + CPy_Reraise(); + if (!0) { + goto CPyL38; + } else + goto CPyL62; +CPyL36: ; + CPy_Unreachable(); +CPyL37: ; + CPy_RestoreExcInfo(cpy_r_r19); + CPy_DecRef(cpy_r_r19.f0); + CPy_DecRef(cpy_r_r19.f1); + CPy_DecRef(cpy_r_r19.f2); + goto CPyL5; +CPyL38: ; + CPy_RestoreExcInfo(cpy_r_r19); + CPy_DecRef(cpy_r_r19.f0); + CPy_DecRef(cpy_r_r19.f1); + CPy_DecRef(cpy_r_r19.f2); + cpy_r_r50 = CPy_KeepPropagating(); + if (!cpy_r_r50) goto CPyL42; + CPy_Unreachable(); +CPyL40: ; + cpy_r_r51 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r51)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 573, CPyStatic_stats___globals); + goto CPyL42; + } + return 1; +CPyL42: ; + cpy_r_r52 = 2; + return cpy_r_r52; +CPyL43: ; + CPy_DECREF(cpy_r_r6); + goto CPyL40; +CPyL44: ; + CPy_DecRef(cpy_r_r6); + goto CPyL42; +CPyL45: ; + CPy_DECREF(cpy_r_r6); + CPy_DECREF(cpy_r_r8); + goto CPyL8; +CPyL46: ; + CPy_DECREF(cpy_r_r6); + CPy_DECREF(cpy_r_r8); + CPy_DECREF(cpy_r_r9); + goto CPyL11; +CPyL47: ; + CPy_DECREF(cpy_r_r6); + CPy_DECREF(cpy_r_r9); + CPy_DECREF(cpy_r_r11); + CPy_DECREF(cpy_r_r13); + goto CPyL14; +CPyL48: ; + CPy_DECREF(cpy_r_r18); + goto CPyL17; +CPyL49: ; + CPy_DecRef(cpy_r_r6); + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r11); + goto CPyL38; +CPyL50: ; + CPy_DecRef(cpy_r_r6); + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r11); + goto CPyL35; +CPyL51: ; + CPy_DecRef(cpy_r_r6); + CPy_DecRef(cpy_r_r9); + CPy_DecRef(cpy_r_r11); + CPy_DecRef(cpy_r_r24); + goto CPyL21; +CPyL52: ; + CPy_DecRef(cpy_r_r19.f0); + CPy_DecRef(cpy_r_r19.f1); + CPy_DecRef(cpy_r_r19.f2); + goto CPyL22; +CPyL53: ; + CPy_DecRef(cpy_r_r6); + CPy_DecRef(cpy_r_r11); + CPy_DecRef(cpy_r_r24); + goto CPyL38; +CPyL54: ; + CPy_DecRef(cpy_r_r6); + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r28); + goto CPyL38; +CPyL55: ; + CPy_DecRef(cpy_r_r6); + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r28); + CPy_DecRef(cpy_r_r30); + goto CPyL38; +CPyL56: ; + CPy_DecRef(cpy_r_r6); + CPy_DecRef(cpy_r_r24); + goto CPyL38; +CPyL57: ; + CPy_DecRef(cpy_r_r6); + CPy_DecRef(cpy_r_r24); + CPy_DecRef(cpy_r_r37); + goto CPyL38; +CPyL58: ; + CPy_DecRef(cpy_r_r41); + goto CPyL30; +CPyL59: ; + CPy_DecRef(cpy_r_r6); + CPy_DecRef(cpy_r_r24); + goto CPyL31; +CPyL60: ; + CPy_DecRef(cpy_r_r19.f0); + CPy_DecRef(cpy_r_r19.f1); + CPy_DecRef(cpy_r_r19.f2); + goto CPyL32; +CPyL61: ; + CPy_DecRef(cpy_r_r49); + goto CPyL34; +CPyL62: ; + CPy_DecRef(cpy_r_r19.f0); + CPy_DecRef(cpy_r_r19.f1); + CPy_DecRef(cpy_r_r19.f2); + goto CPyL36; +} + +PyObject *CPyPy_stats____SentryExporter___push_envs(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj_self = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":push_envs", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg_self; + if (likely(Py_TYPE(obj_self) == CPyType_stats____SentryExporter)) + arg_self = obj_self; + else { + CPy_TypeError("dank_mids.stats._SentryExporter", obj_self); + goto fail; + } + char retval = CPyDef_stats____SentryExporter___push_envs(arg_self); + if (retval == 2) { + return NULL; + } + PyObject *retbox = Py_None; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "push_envs", 564, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats____SentryExporter_____mypyc_defaults_setup(PyObject *cpy_r___mypyc_self__) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + PyObject *cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + char cpy_r_r29; + cpy_r_r0 = CPyStatics[736]; /* 'active_eth_calls' */ + cpy_r_r1 = CPyStatics[737]; /* 'count_active_brownie_calls' */ + cpy_r_r2 = CPyStatics[738]; /* 'queued_eth_calls' */ + cpy_r_r3 = CPyStatics[739]; /* 'count_queued_brownie_calls' */ + cpy_r_r4 = CPyStatics[740]; /* 'encoder_queue' */ + cpy_r_r5 = CPyStatics[741]; /* 'encoder_queue_len' */ + cpy_r_r6 = CPyStatics[742]; /* 'decoder_queue' */ + cpy_r_r7 = CPyStatics[743]; /* 'decoder_queue_len' */ + cpy_r_r8 = CPyStatics[744]; /* 'loop_time' */ + cpy_r_r9 = CPyStatics[745]; /* 'avg_loop_time' */ + cpy_r_r10 = CPyDict_Build(5, cpy_r_r0, cpy_r_r1, cpy_r_r2, cpy_r_r3, cpy_r_r4, cpy_r_r5, cpy_r_r6, cpy_r_r7, cpy_r_r8, cpy_r_r9); + if (cpy_r_r10 == NULL) goto CPyL9; + ((dank_mids___stats____SentryExporterObject *)cpy_r___mypyc_self__)->_metrics = cpy_r_r10; + cpy_r_r11 = CPyStatics[744]; /* 'loop_time' */ + cpy_r_r12 = CPyStatics[746]; /* 'seconds' */ + cpy_r_r13 = CPyDict_Build(1, cpy_r_r11, cpy_r_r12); + if (cpy_r_r13 == NULL) goto CPyL9; + ((dank_mids___stats____SentryExporterObject *)cpy_r___mypyc_self__)->_units = cpy_r_r13; + cpy_r_r14 = CPyStatic_stats___globals; + cpy_r_r15 = CPyStatics[747]; /* '_nocompile' */ + cpy_r_r16 = CPyDict_GetItem(cpy_r_r14, cpy_r_r15); + if (cpy_r_r16 == NULL) goto CPyL9; + cpy_r_r17 = CPyStatics[748]; /* 'set_tag' */ + cpy_r_r18 = CPyObject_GetAttr(cpy_r_r16, cpy_r_r17); + CPy_DECREF(cpy_r_r16); + if (cpy_r_r18 == NULL) goto CPyL9; + ((dank_mids___stats____SentryExporterObject *)cpy_r___mypyc_self__)->_set_tag = cpy_r_r18; + cpy_r_r19 = CPyStatic_stats___globals; + cpy_r_r20 = CPyStatics[747]; /* '_nocompile' */ + cpy_r_r21 = CPyDict_GetItem(cpy_r_r19, cpy_r_r20); + if (cpy_r_r21 == NULL) goto CPyL9; + cpy_r_r22 = CPyStatics[749]; /* 'set_measurement' */ + cpy_r_r23 = CPyObject_GetAttr(cpy_r_r21, cpy_r_r22); + CPy_DECREF(cpy_r_r21); + if (cpy_r_r23 == NULL) goto CPyL9; + ((dank_mids___stats____SentryExporterObject *)cpy_r___mypyc_self__)->_set_measurement = cpy_r_r23; + cpy_r_r24 = CPyStatic_stats___globals; + cpy_r_r25 = CPyStatics[747]; /* '_nocompile' */ + cpy_r_r26 = CPyDict_GetItem(cpy_r_r24, cpy_r_r25); + if (cpy_r_r26 == NULL) goto CPyL9; + cpy_r_r27 = CPyStatics[750]; /* 'exc' */ + cpy_r_r28 = CPyObject_GetAttr(cpy_r_r26, cpy_r_r27); + CPy_DECREF(cpy_r_r26); + if (cpy_r_r28 == NULL) goto CPyL9; + ((dank_mids___stats____SentryExporterObject *)cpy_r___mypyc_self__)->__exc = cpy_r_r28; + return 1; +CPyL9: ; + cpy_r_r29 = 2; + return cpy_r_r29; +} + +PyObject *CPyPy_stats____SentryExporter_____mypyc_defaults_setup(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { + PyObject *obj___mypyc_self__ = self; + static const char * const kwlist[] = {0}; + static CPyArg_Parser parser = {":__mypyc_defaults_setup", kwlist, 0}; + if (!CPyArg_ParseStackAndKeywordsNoArgs(args, nargs, kwnames, &parser)) { + return NULL; + } + PyObject *arg___mypyc_self__; + if (likely(Py_TYPE(obj___mypyc_self__) == CPyType_stats____SentryExporter)) + arg___mypyc_self__ = obj___mypyc_self__; + else { + CPy_TypeError("dank_mids.stats._SentryExporter", obj___mypyc_self__); + goto fail; + } + char retval = CPyDef_stats____SentryExporter_____mypyc_defaults_setup(arg___mypyc_self__); + if (retval == 2) { + return NULL; + } + PyObject *retbox = retval ? Py_True : Py_False; + CPy_INCREF(retbox); + return retbox; +fail: ; + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "__mypyc_defaults_setup", -1, CPyStatic_stats___globals); + return NULL; +} + +char CPyDef_stats_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject **cpy_r_r5; + void *cpy_r_r7; + void *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject *cpy_r_r13; + char cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + PyObject *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject **cpy_r_r39; + void *cpy_r_r41; + void *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + char cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + PyObject *cpy_r_r52; + PyObject *cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + PyObject *cpy_r_r61; + PyObject *cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + PyObject *cpy_r_r65; + PyObject *cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + PyObject *cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + int32_t cpy_r_r73; + char cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + PyObject *cpy_r_r77; + PyObject *cpy_r_r78; + PyObject **cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + int32_t cpy_r_r84; + char cpy_r_r85; + PyObject *cpy_r_r86; + PyObject *cpy_r_r87; + PyObject *cpy_r_r88; + int32_t cpy_r_r89; + char cpy_r_r90; + PyObject *cpy_r_r91; + PyObject *cpy_r_r92; + PyObject *cpy_r_r93; + int32_t cpy_r_r94; + char cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + PyObject *cpy_r_r98; + int32_t cpy_r_r99; + char cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + PyObject *cpy_r_r104; + PyObject *cpy_r_r105; + int32_t cpy_r_r106; + char cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + PyObject *cpy_r_r111; + PyObject *cpy_r_r112; + int32_t cpy_r_r113; + char cpy_r_r114; + PyObject *cpy_r_r115; + PyObject *cpy_r_r116; + PyObject *cpy_r_r117; + PyObject *cpy_r_r118; + PyObject *cpy_r_r119; + PyObject *cpy_r_r120; + PyObject *cpy_r_r121; + char cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + PyObject *cpy_r_r126; + int32_t cpy_r_r127; + char cpy_r_r128; + PyObject *cpy_r_r129; + PyObject *cpy_r_r130; + int32_t cpy_r_r131; + char cpy_r_r132; + PyObject *cpy_r_r133; + PyObject *cpy_r_r134; + PyObject *cpy_r_r135; + PyObject *cpy_r_r136; + PyObject *cpy_r_r137; + PyObject *cpy_r_r138; + PyObject *cpy_r_r139; + int32_t cpy_r_r140; + char cpy_r_r141; + PyObject *cpy_r_r142; + PyObject *cpy_r_r143; + PyObject *cpy_r_r144; + PyObject *cpy_r_r145; + char cpy_r_r146; + PyObject *cpy_r_r147; + PyObject *cpy_r_r148; + PyObject *cpy_r_r149; + PyObject *cpy_r_r150; + PyObject *cpy_r_r151; + PyObject *cpy_r_r152; + PyObject *cpy_r_r153; + int32_t cpy_r_r154; + char cpy_r_r155; + PyObject *cpy_r_r156; + PyObject *cpy_r_r157; + int32_t cpy_r_r158; + char cpy_r_r159; + PyObject *cpy_r_r160; + PyObject *cpy_r_r161; + PyObject *cpy_r_r162; + PyObject *cpy_r_r163; + char cpy_r_r164; + PyObject *cpy_r_r165; + PyObject *cpy_r_r166; + int32_t cpy_r_r167; + char cpy_r_r168; + PyObject *cpy_r_r169; + PyObject *cpy_r_r170; + int32_t cpy_r_r171; + char cpy_r_r172; + PyObject *cpy_r_r173; + PyObject *cpy_r_r174; + PyObject *cpy_r_r175; + PyObject *cpy_r_r176; + char cpy_r_r177; + PyObject *cpy_r_r178; + PyObject *cpy_r_r179; + PyObject *cpy_r_r180; + PyObject *cpy_r_r181; + PyObject *cpy_r_r182; + PyObject *cpy_r_r183; + PyObject *cpy_r_r184; + int32_t cpy_r_r185; + char cpy_r_r186; + PyObject *cpy_r_r187; + PyObject *cpy_r_r188; + int32_t cpy_r_r189; + char cpy_r_r190; + PyObject *cpy_r_r191; + PyObject *cpy_r_r192; + PyObject *cpy_r_r193; + PyObject *cpy_r_r194; + PyObject *cpy_r_r195; + PyObject *cpy_r_r196; + PyObject *cpy_r_r197; + PyObject *cpy_r_r198; + PyObject *cpy_r_r199; + PyObject *cpy_r_r200; + PyObject *cpy_r_r201; + PyObject *cpy_r_r202; + PyObject *cpy_r_r203; + int32_t cpy_r_r204; + char cpy_r_r205; + PyObject *cpy_r_r206; + PyObject *cpy_r_r207; + PyObject *cpy_r_r208; + PyObject *cpy_r_r209; + PyObject *cpy_r_r210; + int32_t cpy_r_r211; + char cpy_r_r212; + PyObject *cpy_r_r213; + PyObject *cpy_r_r214; + PyObject *cpy_r_r215; + PyObject *cpy_r_r216; + PyObject *cpy_r_r217; + PyObject *cpy_r_r218; + PyObject *cpy_r_r219; + int32_t cpy_r_r220; + char cpy_r_r221; + PyObject *cpy_r_r222; + PyObject *cpy_r_r223; + PyObject *cpy_r_r224; + PyObject *cpy_r_r225; + PyObject *cpy_r_r226; + PyObject *cpy_r_r227; + PyObject *cpy_r_r228; + int32_t cpy_r_r229; + char cpy_r_r230; + PyObject *cpy_r_r231; + PyObject *cpy_r_r232; + PyObject *cpy_r_r233; + PyObject *cpy_r_r234; + PyObject *cpy_r_r235; + PyObject *cpy_r_r236; + PyObject *cpy_r_r237; + int32_t cpy_r_r238; + char cpy_r_r239; + PyObject *cpy_r_r240; + PyObject *cpy_r_r241; + PyObject *cpy_r_r242; + PyObject *cpy_r_r243; + PyObject *cpy_r_r244; + PyObject *cpy_r_r245; + PyObject *cpy_r_r246; + PyObject *cpy_r_r247; + PyObject *cpy_r_r248; + int32_t cpy_r_r249; + char cpy_r_r250; + PyObject *cpy_r_r251; + char cpy_r_r252; + PyObject *cpy_r_r253; + PyObject *cpy_r_r254; + PyObject *cpy_r_r255; + PyObject *cpy_r_r256; + int32_t cpy_r_r257; + char cpy_r_r258; + PyObject *cpy_r_r259; + char cpy_r_r260; + PyObject *cpy_r_r261; + PyObject *cpy_r_r262; + PyObject *cpy_r_r263; + PyObject *cpy_r_r264; + int32_t cpy_r_r265; + char cpy_r_r266; + PyObject *cpy_r_r267; + PyObject *cpy_r_r268; + PyObject *cpy_r_r269; + int32_t cpy_r_r270; + char cpy_r_r271; + PyObject *cpy_r_r272; + PyObject *cpy_r_r273; + PyObject *cpy_r_r274; + int32_t cpy_r_r275; + char cpy_r_r276; + char cpy_r_r277; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", -1, CPyStatic_stats___globals); + goto CPyL86; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = (PyObject **)&CPyModule_logging; + PyObject **cpy_r_r6[1] = {cpy_r_r5}; + cpy_r_r7 = (void *)&cpy_r_r6; + int64_t cpy_r_r8[1] = {19}; + cpy_r_r9 = (void *)&cpy_r_r8; + cpy_r_r10 = CPyStatics[934]; /* (('logging', 'logging', 'logging'),) */ + cpy_r_r11 = CPyStatic_stats___globals; + cpy_r_r12 = CPyStatics[751]; /* 'dank_mids\\stats\\__init__.py' */ + cpy_r_r13 = CPyStatics[43]; /* '' */ + 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 CPyL86; + cpy_r_r15 = CPyStatics[1044]; /* ('create_task',) */ + cpy_r_r16 = CPyStatics[31]; /* 'asyncio' */ + cpy_r_r17 = CPyStatic_stats___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\\stats\\__init__.py", "", 20, CPyStatic_stats___globals); + goto CPyL86; + } + CPyModule_asyncio = cpy_r_r18; + CPy_INCREF(CPyModule_asyncio); + CPy_DECREF(cpy_r_r18); + cpy_r_r19 = CPyStatics[1045]; /* ('defaultdict', 'deque') */ + cpy_r_r20 = CPyStatics[752]; /* 'collections' */ + cpy_r_r21 = CPyStatic_stats___globals; + cpy_r_r22 = CPyImport_ImportFromMany(cpy_r_r20, cpy_r_r19, cpy_r_r19, cpy_r_r21); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 21, CPyStatic_stats___globals); + goto CPyL86; + } + CPyModule_collections = cpy_r_r22; + CPy_INCREF(CPyModule_collections); + CPy_DECREF(cpy_r_r22); + cpy_r_r23 = CPyStatics[1046]; /* ('ProcessPoolExecutor',) */ + cpy_r_r24 = CPyStatics[753]; /* 'concurrent.futures' */ + cpy_r_r25 = CPyStatic_stats___globals; + cpy_r_r26 = CPyImport_ImportFromMany(cpy_r_r24, cpy_r_r23, cpy_r_r23, cpy_r_r25); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 22, CPyStatic_stats___globals); + goto CPyL86; + } + CPyModule_concurrent___futures = cpy_r_r26; + CPy_INCREF(CPyModule_concurrent___futures); + CPy_DECREF(cpy_r_r26); + cpy_r_r27 = CPyStatics[1047]; /* ('deepcopy',) */ + cpy_r_r28 = CPyStatics[754]; /* 'copy' */ + cpy_r_r29 = CPyStatic_stats___globals; + cpy_r_r30 = CPyImport_ImportFromMany(cpy_r_r28, cpy_r_r27, cpy_r_r27, cpy_r_r29); + if (unlikely(cpy_r_r30 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 23, CPyStatic_stats___globals); + goto CPyL86; + } + CPyModule_copy = cpy_r_r30; + CPy_INCREF(CPyModule_copy); + CPy_DECREF(cpy_r_r30); + cpy_r_r31 = CPyStatics[1048]; /* ('time',) */ + cpy_r_r32 = CPyStatics[702]; /* 'time' */ + cpy_r_r33 = CPyStatic_stats___globals; + cpy_r_r34 = CPyImport_ImportFromMany(cpy_r_r32, cpy_r_r31, cpy_r_r31, cpy_r_r33); + if (unlikely(cpy_r_r34 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 24, CPyStatic_stats___globals); + goto CPyL86; + } + CPyModule_time = cpy_r_r34; + CPy_INCREF(CPyModule_time); + CPy_DECREF(cpy_r_r34); + cpy_r_r35 = CPyStatics[1049]; /* ('TYPE_CHECKING', 'Any', 'Callable', 'DefaultDict', + 'Deque', 'Final', 'Iterable', 'Set', 'Tuple', 'Type', + 'TypeVar', 'final') */ + cpy_r_r36 = CPyStatics[40]; /* 'typing' */ + cpy_r_r37 = CPyStatic_stats___globals; + cpy_r_r38 = CPyImport_ImportFromMany(cpy_r_r36, cpy_r_r35, cpy_r_r35, cpy_r_r37); + if (unlikely(cpy_r_r38 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 25, CPyStatic_stats___globals); + goto CPyL86; + } + CPyModule_typing = cpy_r_r38; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r38); + cpy_r_r39 = (PyObject **)&CPyModule_msgspec; + PyObject **cpy_r_r40[1] = {cpy_r_r39}; + cpy_r_r41 = (void *)&cpy_r_r40; + int64_t cpy_r_r42[1] = {40}; + cpy_r_r43 = (void *)&cpy_r_r42; + cpy_r_r44 = CPyStatics[1050]; /* (('msgspec', 'msgspec', 'msgspec'),) */ + cpy_r_r45 = CPyStatic_stats___globals; + cpy_r_r46 = CPyStatics[751]; /* 'dank_mids\\stats\\__init__.py' */ + cpy_r_r47 = CPyStatics[43]; /* '' */ + 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 CPyL86; + cpy_r_r49 = CPyStatics[1051]; /* ('sleep0',) */ + cpy_r_r50 = CPyStatics[626]; /* 'a_sync.asyncio' */ + cpy_r_r51 = CPyStatic_stats___globals; + cpy_r_r52 = CPyImport_ImportFromMany(cpy_r_r50, cpy_r_r49, cpy_r_r49, cpy_r_r51); + if (unlikely(cpy_r_r52 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 41, CPyStatic_stats___globals); + goto CPyL86; + } + CPyModule_a_sync___asyncio = cpy_r_r52; + CPy_INCREF(CPyModule_a_sync___asyncio); + CPy_DECREF(cpy_r_r52); + cpy_r_r53 = CPyStatics[1052]; /* ('_ENVIRONMENT_VARIABLES_SET_BY_USER',) */ + cpy_r_r54 = CPyStatics[758]; /* 'typed_envs.registry' */ + cpy_r_r55 = CPyStatic_stats___globals; + cpy_r_r56 = CPyImport_ImportFromMany(cpy_r_r54, cpy_r_r53, cpy_r_r53, cpy_r_r55); + if (unlikely(cpy_r_r56 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 42, CPyStatic_stats___globals); + goto CPyL86; + } + CPyModule_typed_envs___registry = cpy_r_r56; + CPy_INCREF(CPyModule_typed_envs___registry); + CPy_DECREF(cpy_r_r56); + cpy_r_r57 = CPyStatics[1053]; /* ('RPCEndpoint',) */ + cpy_r_r58 = CPyStatics[296]; /* 'web3.types' */ + cpy_r_r59 = CPyStatic_stats___globals; + cpy_r_r60 = CPyImport_ImportFromMany(cpy_r_r58, cpy_r_r57, cpy_r_r57, cpy_r_r59); + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 43, CPyStatic_stats___globals); + goto CPyL86; + } + CPyModule_web3___types = cpy_r_r60; + CPy_INCREF(CPyModule_web3___types); + CPy_DECREF(cpy_r_r60); + cpy_r_r61 = CPyStatics[919]; /* ('ENVIRONMENT_VARIABLES',) */ + cpy_r_r62 = CPyStatics[994]; /* ('ENVS',) */ + cpy_r_r63 = CPyStatics[71]; /* 'dank_mids' */ + cpy_r_r64 = CPyStatic_stats___globals; + cpy_r_r65 = CPyImport_ImportFromMany(cpy_r_r63, cpy_r_r61, cpy_r_r62, cpy_r_r64); + if (unlikely(cpy_r_r65 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 45, CPyStatic_stats___globals); + goto CPyL86; + } + CPyModule_dank_mids = cpy_r_r65; + CPy_INCREF(CPyModule_dank_mids); + CPy_DECREF(cpy_r_r65); + cpy_r_r66 = CPyStatics[1054]; /* ('_nocompile',) */ + cpy_r_r67 = CPyStatics[759]; /* 'dank_mids.stats' */ + cpy_r_r68 = CPyStatic_stats___globals; + cpy_r_r69 = CPyImport_ImportFromMany(cpy_r_r67, cpy_r_r66, cpy_r_r66, cpy_r_r68); + if (unlikely(cpy_r_r69 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 46, CPyStatic_stats___globals); + goto CPyL86; + } + CPyModule_dank_mids___stats = cpy_r_r69; + CPy_INCREF(CPyModule_dank_mids___stats); + CPy_DECREF(cpy_r_r69); + cpy_r_r70 = (PyObject *)&PyLong_Type; + cpy_r_r71 = CPyStatic_stats___globals; + cpy_r_r72 = CPyStatics[760]; /* '_LogLevel' */ + cpy_r_r73 = CPyDict_SetItem(cpy_r_r71, cpy_r_r72, cpy_r_r70); + cpy_r_r74 = cpy_r_r73 >= 0; + if (unlikely(!cpy_r_r74)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 52, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r75 = CPyStatics[761]; /* 'T' */ + cpy_r_r76 = CPyStatic_stats___globals; + cpy_r_r77 = CPyStatics[37]; /* 'TypeVar' */ + cpy_r_r78 = CPyDict_GetItem(cpy_r_r76, cpy_r_r77); + if (unlikely(cpy_r_r78 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 54, CPyStatic_stats___globals); + goto CPyL86; + } + PyObject *cpy_r_r79[1] = {cpy_r_r75}; + cpy_r_r80 = (PyObject **)&cpy_r_r79; + cpy_r_r81 = PyObject_Vectorcall(cpy_r_r78, cpy_r_r80, 1, 0); + CPy_DECREF(cpy_r_r78); + if (unlikely(cpy_r_r81 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 54, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r82 = CPyStatic_stats___globals; + cpy_r_r83 = CPyStatics[761]; /* 'T' */ + cpy_r_r84 = CPyDict_SetItem(cpy_r_r82, cpy_r_r83, cpy_r_r81); + CPy_DECREF(cpy_r_r81); + cpy_r_r85 = cpy_r_r84 >= 0; + if (unlikely(!cpy_r_r85)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 54, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r86 = CPyStatic_stats___globals; + cpy_r_r87 = CPyStatics[762]; /* 'STATS' */ + cpy_r_r88 = CPyStatics[884]; /* 13 */ + cpy_r_r89 = CPyDict_SetItem(cpy_r_r86, cpy_r_r87, cpy_r_r88); + cpy_r_r90 = cpy_r_r89 >= 0; + if (unlikely(!cpy_r_r90)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 58, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r91 = CPyStatic_stats___globals; + cpy_r_r92 = CPyStatics[763]; /* 'DEVHINT' */ + cpy_r_r93 = CPyStatics[885]; /* 15 */ + cpy_r_r94 = CPyDict_SetItem(cpy_r_r91, cpy_r_r92, cpy_r_r93); + cpy_r_r95 = cpy_r_r94 >= 0; + if (unlikely(!cpy_r_r95)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 61, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r96 = CPyStatic_stats___globals; + cpy_r_r97 = CPyStatics[701]; /* 'COLLECT_STATS' */ + cpy_r_r98 = 0 ? Py_True : Py_False; + cpy_r_r99 = CPyDict_SetItem(cpy_r_r96, cpy_r_r97, cpy_r_r98); + cpy_r_r100 = cpy_r_r99 >= 0; + if (unlikely(!cpy_r_r100)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 64, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r101 = CPyStatic_stats___globals; + cpy_r_r102 = CPyStatics[757]; /* '_ENVIRONMENT_VARIABLES_SET_BY_USER' */ + cpy_r_r103 = CPyDict_GetItem(cpy_r_r101, cpy_r_r102); + if (unlikely(cpy_r_r103 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 67, CPyStatic_stats___globals); + goto CPyL86; + } + CPyStatic_stats____ENVS = cpy_r_r103; + CPy_INCREF(CPyStatic_stats____ENVS); + cpy_r_r104 = CPyStatic_stats___globals; + cpy_r_r105 = CPyStatics[764]; /* '_ENVS' */ + cpy_r_r106 = CPyDict_SetItem(cpy_r_r104, cpy_r_r105, cpy_r_r103); + CPy_DECREF(cpy_r_r103); + cpy_r_r107 = cpy_r_r106 >= 0; + if (unlikely(!cpy_r_r107)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 67, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r108 = CPyStatic_stats___globals; + cpy_r_r109 = CPyStatics[632]; /* 'sleep0' */ + cpy_r_r110 = CPyDict_GetItem(cpy_r_r108, cpy_r_r109); + if (unlikely(cpy_r_r110 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 69, CPyStatic_stats___globals); + goto CPyL86; + } + CPyStatic_stats___yield_to_loop = cpy_r_r110; + CPy_INCREF(CPyStatic_stats___yield_to_loop); + cpy_r_r111 = CPyStatic_stats___globals; + cpy_r_r112 = CPyStatics[633]; /* 'yield_to_loop' */ + cpy_r_r113 = CPyDict_SetItem(cpy_r_r111, cpy_r_r112, cpy_r_r110); + CPy_DECREF(cpy_r_r110); + cpy_r_r114 = cpy_r_r113 >= 0; + if (unlikely(!cpy_r_r114)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 69, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r115 = CPyModule_logging; + cpy_r_r116 = CPyStatics[427]; /* 'Logger' */ + cpy_r_r117 = CPyObject_GetAttr(cpy_r_r115, cpy_r_r116); + if (unlikely(cpy_r_r117 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 110, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r118 = PyTuple_Pack(1, cpy_r_r117); + CPy_DECREF(cpy_r_r117); + if (unlikely(cpy_r_r118 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 110, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r119 = CPyStatics[759]; /* 'dank_mids.stats' */ + cpy_r_r120 = (PyObject *)CPyType_stats____StatsLogger_template; + cpy_r_r121 = CPyType_FromTemplate(cpy_r_r120, cpy_r_r118, cpy_r_r119); + CPy_DECREF(cpy_r_r118); + if (unlikely(cpy_r_r121 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 110, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r122 = CPyDef_stats____StatsLogger_trait_vtable_setup(); + if (unlikely(cpy_r_r122 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", -1, CPyStatic_stats___globals); + goto CPyL87; + } + cpy_r_r123 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r124 = CPyStatics[765]; /* '_daemon' */ + cpy_r_r125 = CPyStatics[178]; /* '__dict__' */ + cpy_r_r126 = PyTuple_Pack(2, cpy_r_r124, cpy_r_r125); + if (unlikely(cpy_r_r126 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 110, CPyStatic_stats___globals); + goto CPyL87; + } + cpy_r_r127 = PyObject_SetAttr(cpy_r_r121, cpy_r_r123, cpy_r_r126); + CPy_DECREF(cpy_r_r126); + cpy_r_r128 = cpy_r_r127 >= 0; + if (unlikely(!cpy_r_r128)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 110, CPyStatic_stats___globals); + goto CPyL87; + } + CPyType_stats____StatsLogger = (PyTypeObject *)cpy_r_r121; + CPy_INCREF(CPyType_stats____StatsLogger); + cpy_r_r129 = CPyStatic_stats___globals; + cpy_r_r130 = CPyStatics[766]; /* '_StatsLogger' */ + cpy_r_r131 = PyDict_SetItem(cpy_r_r129, cpy_r_r130, cpy_r_r121); + CPy_DECREF(cpy_r_r121); + cpy_r_r132 = cpy_r_r131 >= 0; + if (unlikely(!cpy_r_r132)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 110, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r133 = CPyStatic_stats___globals; + cpy_r_r134 = CPyStatics[756]; /* 'Deque' */ + cpy_r_r135 = CPyDict_GetItem(cpy_r_r133, cpy_r_r134); + if (unlikely(cpy_r_r135 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 359, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r136 = (PyObject *)&PyFloat_Type; + cpy_r_r137 = PyObject_GetItem(cpy_r_r135, cpy_r_r136); + CPy_DECREF(cpy_r_r135); + if (unlikely(cpy_r_r137 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 359, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r138 = CPyStatic_stats___globals; + cpy_r_r139 = CPyStatics[767]; /* '_Times' */ + cpy_r_r140 = CPyDict_SetItem(cpy_r_r138, cpy_r_r139, cpy_r_r137); + CPy_DECREF(cpy_r_r137); + cpy_r_r141 = cpy_r_r140 >= 0; + if (unlikely(!cpy_r_r141)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 359, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r142 = NULL; + cpy_r_r143 = CPyStatics[759]; /* 'dank_mids.stats' */ + cpy_r_r144 = (PyObject *)CPyType_stats____Collector_template; + cpy_r_r145 = CPyType_FromTemplate(cpy_r_r144, cpy_r_r142, cpy_r_r143); + if (unlikely(cpy_r_r145 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 363, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r146 = CPyDef_stats____Collector_trait_vtable_setup(); + if (unlikely(cpy_r_r146 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", -1, CPyStatic_stats___globals); + goto CPyL88; + } + cpy_r_r147 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r148 = CPyStatics[768]; /* 'errd_batches' */ + cpy_r_r149 = CPyStatics[769]; /* 'durations' */ + cpy_r_r150 = CPyStatics[267]; /* 'types' */ + cpy_r_r151 = CPyStatics[770]; /* 'event_loop_times' */ + cpy_r_r152 = CPyStatics[771]; /* 'validation_errors' */ + cpy_r_r153 = PyTuple_Pack(5, cpy_r_r148, cpy_r_r149, cpy_r_r150, cpy_r_r151, cpy_r_r152); + if (unlikely(cpy_r_r153 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 363, CPyStatic_stats___globals); + goto CPyL88; + } + cpy_r_r154 = PyObject_SetAttr(cpy_r_r145, cpy_r_r147, cpy_r_r153); + CPy_DECREF(cpy_r_r153); + cpy_r_r155 = cpy_r_r154 >= 0; + if (unlikely(!cpy_r_r155)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 363, CPyStatic_stats___globals); + goto CPyL88; + } + CPyType_stats____Collector = (PyTypeObject *)cpy_r_r145; + CPy_INCREF(CPyType_stats____Collector); + cpy_r_r156 = CPyStatic_stats___globals; + cpy_r_r157 = CPyStatics[772]; /* '_Collector' */ + cpy_r_r158 = PyDict_SetItem(cpy_r_r156, cpy_r_r157, cpy_r_r145); + CPy_DECREF(cpy_r_r145); + cpy_r_r159 = cpy_r_r158 >= 0; + if (unlikely(!cpy_r_r159)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 363, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r160 = NULL; + cpy_r_r161 = CPyStatics[759]; /* 'dank_mids.stats' */ + cpy_r_r162 = (PyObject *)CPyType_stats____Writer_template; + cpy_r_r163 = CPyType_FromTemplate(cpy_r_r162, cpy_r_r160, cpy_r_r161); + if (unlikely(cpy_r_r163 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 482, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r164 = CPyDef_stats____Writer_trait_vtable_setup(); + if (unlikely(cpy_r_r164 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", -1, CPyStatic_stats___globals); + goto CPyL89; + } + cpy_r_r165 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r166 = CPyTuple_LoadEmptyTupleConstant(); + cpy_r_r167 = PyObject_SetAttr(cpy_r_r163, cpy_r_r165, cpy_r_r166); + CPy_DECREF(cpy_r_r166); + cpy_r_r168 = cpy_r_r167 >= 0; + if (unlikely(!cpy_r_r168)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 482, CPyStatic_stats___globals); + goto CPyL89; + } + CPyType_stats____Writer = (PyTypeObject *)cpy_r_r163; + CPy_INCREF(CPyType_stats____Writer); + cpy_r_r169 = CPyStatic_stats___globals; + cpy_r_r170 = CPyStatics[773]; /* '_Writer' */ + cpy_r_r171 = PyDict_SetItem(cpy_r_r169, cpy_r_r170, cpy_r_r163); + CPy_DECREF(cpy_r_r163); + cpy_r_r172 = cpy_r_r171 >= 0; + if (unlikely(!cpy_r_r172)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 482, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r173 = NULL; + cpy_r_r174 = CPyStatics[759]; /* 'dank_mids.stats' */ + cpy_r_r175 = (PyObject *)CPyType_stats____SentryExporter_template; + cpy_r_r176 = CPyType_FromTemplate(cpy_r_r175, cpy_r_r173, cpy_r_r174); + if (unlikely(cpy_r_r176 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 529, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r177 = CPyDef_stats____SentryExporter_trait_vtable_setup(); + if (unlikely(cpy_r_r177 == 2)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", -1, CPyStatic_stats___globals); + goto CPyL90; + } + cpy_r_r178 = CPyStatics[63]; /* '__mypyc_attrs__' */ + cpy_r_r179 = CPyStatics[774]; /* 'metrics' */ + cpy_r_r180 = CPyStatics[775]; /* 'units' */ + cpy_r_r181 = CPyStatics[748]; /* 'set_tag' */ + cpy_r_r182 = CPyStatics[749]; /* 'set_measurement' */ + cpy_r_r183 = CPyStatics[776]; /* '_exc' */ + cpy_r_r184 = PyTuple_Pack(5, cpy_r_r179, cpy_r_r180, cpy_r_r181, cpy_r_r182, cpy_r_r183); + if (unlikely(cpy_r_r184 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 529, CPyStatic_stats___globals); + goto CPyL90; + } + cpy_r_r185 = PyObject_SetAttr(cpy_r_r176, cpy_r_r178, cpy_r_r184); + CPy_DECREF(cpy_r_r184); + cpy_r_r186 = cpy_r_r185 >= 0; + if (unlikely(!cpy_r_r186)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 529, CPyStatic_stats___globals); + goto CPyL90; + } + CPyType_stats____SentryExporter = (PyTypeObject *)cpy_r_r176; + CPy_INCREF(CPyType_stats____SentryExporter); + cpy_r_r187 = CPyStatic_stats___globals; + cpy_r_r188 = CPyStatics[777]; /* '_SentryExporter' */ + cpy_r_r189 = PyDict_SetItem(cpy_r_r187, cpy_r_r188, cpy_r_r176); + CPy_DECREF(cpy_r_r176); + cpy_r_r190 = cpy_r_r189 >= 0; + if (unlikely(!cpy_r_r190)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 529, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r191 = (PyObject *)CPyType_stats____SentryExporter; + cpy_r_r192 = CPyStatics[736]; /* 'active_eth_calls' */ + cpy_r_r193 = CPyStatics[737]; /* 'count_active_brownie_calls' */ + cpy_r_r194 = CPyStatics[738]; /* 'queued_eth_calls' */ + cpy_r_r195 = CPyStatics[739]; /* 'count_queued_brownie_calls' */ + cpy_r_r196 = CPyStatics[740]; /* 'encoder_queue' */ + cpy_r_r197 = CPyStatics[741]; /* 'encoder_queue_len' */ + cpy_r_r198 = CPyStatics[742]; /* 'decoder_queue' */ + cpy_r_r199 = CPyStatics[743]; /* 'decoder_queue_len' */ + cpy_r_r200 = CPyStatics[744]; /* 'loop_time' */ + cpy_r_r201 = CPyStatics[745]; /* 'avg_loop_time' */ + cpy_r_r202 = CPyDict_Build(5, cpy_r_r192, cpy_r_r193, cpy_r_r194, cpy_r_r195, cpy_r_r196, cpy_r_r197, cpy_r_r198, cpy_r_r199, cpy_r_r200, cpy_r_r201); + if (unlikely(cpy_r_r202 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 543, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r203 = CPyStatics[774]; /* 'metrics' */ + cpy_r_r204 = PyObject_SetAttr(cpy_r_r191, cpy_r_r203, cpy_r_r202); + cpy_r_r205 = cpy_r_r204 >= 0; + if (unlikely(!cpy_r_r205)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 543, CPyStatic_stats___globals); + goto CPyL91; + } + CPyStatic_stats____SentryExporter___metrics = cpy_r_r202; + CPy_INCREF(CPyStatic_stats____SentryExporter___metrics); + CPy_DECREF(cpy_r_r202); + cpy_r_r206 = (PyObject *)CPyType_stats____SentryExporter; + cpy_r_r207 = CPyStatics[744]; /* 'loop_time' */ + cpy_r_r208 = CPyStatics[746]; /* 'seconds' */ + cpy_r_r209 = CPyDict_Build(1, cpy_r_r207, cpy_r_r208); + if (unlikely(cpy_r_r209 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 550, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r210 = CPyStatics[775]; /* 'units' */ + cpy_r_r211 = PyObject_SetAttr(cpy_r_r206, cpy_r_r210, cpy_r_r209); + cpy_r_r212 = cpy_r_r211 >= 0; + if (unlikely(!cpy_r_r212)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 550, CPyStatic_stats___globals); + goto CPyL92; + } + CPyStatic_stats____SentryExporter___units = cpy_r_r209; + CPy_INCREF(CPyStatic_stats____SentryExporter___units); + CPy_DECREF(cpy_r_r209); + cpy_r_r213 = (PyObject *)CPyType_stats____SentryExporter; + cpy_r_r214 = CPyStatic_stats___globals; + cpy_r_r215 = CPyStatics[747]; /* '_nocompile' */ + cpy_r_r216 = CPyDict_GetItem(cpy_r_r214, cpy_r_r215); + if (unlikely(cpy_r_r216 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 582, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r217 = CPyStatics[748]; /* 'set_tag' */ + cpy_r_r218 = CPyObject_GetAttr(cpy_r_r216, cpy_r_r217); + CPy_DECREF(cpy_r_r216); + if (unlikely(cpy_r_r218 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 582, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r219 = CPyStatics[748]; /* 'set_tag' */ + cpy_r_r220 = PyObject_SetAttr(cpy_r_r213, cpy_r_r219, cpy_r_r218); + cpy_r_r221 = cpy_r_r220 >= 0; + if (unlikely(!cpy_r_r221)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 582, CPyStatic_stats___globals); + goto CPyL93; + } + CPyStatic_stats____SentryExporter___set_tag = cpy_r_r218; + CPy_INCREF(CPyStatic_stats____SentryExporter___set_tag); + CPy_DECREF(cpy_r_r218); + cpy_r_r222 = (PyObject *)CPyType_stats____SentryExporter; + cpy_r_r223 = CPyStatic_stats___globals; + cpy_r_r224 = CPyStatics[747]; /* '_nocompile' */ + cpy_r_r225 = CPyDict_GetItem(cpy_r_r223, cpy_r_r224); + if (unlikely(cpy_r_r225 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 593, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r226 = CPyStatics[749]; /* 'set_measurement' */ + cpy_r_r227 = CPyObject_GetAttr(cpy_r_r225, cpy_r_r226); + CPy_DECREF(cpy_r_r225); + if (unlikely(cpy_r_r227 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 593, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r228 = CPyStatics[749]; /* 'set_measurement' */ + cpy_r_r229 = PyObject_SetAttr(cpy_r_r222, cpy_r_r228, cpy_r_r227); + cpy_r_r230 = cpy_r_r229 >= 0; + if (unlikely(!cpy_r_r230)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 593, CPyStatic_stats___globals); + goto CPyL94; + } + CPyStatic_stats____SentryExporter___set_measurement = cpy_r_r227; + CPy_INCREF(CPyStatic_stats____SentryExporter___set_measurement); + CPy_DECREF(cpy_r_r227); + cpy_r_r231 = (PyObject *)CPyType_stats____SentryExporter; + cpy_r_r232 = CPyStatic_stats___globals; + cpy_r_r233 = CPyStatics[747]; /* '_nocompile' */ + cpy_r_r234 = CPyDict_GetItem(cpy_r_r232, cpy_r_r233); + if (unlikely(cpy_r_r234 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 604, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r235 = CPyStatics[750]; /* 'exc' */ + cpy_r_r236 = CPyObject_GetAttr(cpy_r_r234, cpy_r_r235); + CPy_DECREF(cpy_r_r234); + if (unlikely(cpy_r_r236 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 604, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r237 = CPyStatics[776]; /* '_exc' */ + cpy_r_r238 = PyObject_SetAttr(cpy_r_r231, cpy_r_r237, cpy_r_r236); + cpy_r_r239 = cpy_r_r238 >= 0; + if (unlikely(!cpy_r_r239)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 604, CPyStatic_stats___globals); + goto CPyL95; + } + CPyStatic_stats____SentryExporter____exc = cpy_r_r236; + CPy_INCREF(CPyStatic_stats____SentryExporter____exc); + CPy_DECREF(cpy_r_r236); + cpy_r_r240 = CPyStatic_stats___globals; + cpy_r_r241 = CPyStatics[59]; /* '__name__' */ + cpy_r_r242 = CPyDict_GetItem(cpy_r_r240, cpy_r_r241); + if (unlikely(cpy_r_r242 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 611, CPyStatic_stats___globals); + goto CPyL86; + } + if (likely(PyUnicode_Check(cpy_r_r242))) + cpy_r_r243 = cpy_r_r242; + else { + CPy_TypeErrorTraceback("dank_mids\\stats\\__init__.py", "", 611, CPyStatic_stats___globals, "str", cpy_r_r242); + goto CPyL86; + } + cpy_r_r244 = PyTuple_Pack(1, cpy_r_r243); + CPy_DECREF(cpy_r_r243); + if (unlikely(cpy_r_r244 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 611, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r245 = PyDict_New(); + if (unlikely(cpy_r_r245 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 611, CPyStatic_stats___globals); + goto CPyL96; + } + cpy_r_r246 = CPyDef_stats____StatsLogger(cpy_r_r244, cpy_r_r245); + CPy_DECREF(cpy_r_r244); + CPy_DECREF(cpy_r_r245); + if (unlikely(cpy_r_r246 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 611, CPyStatic_stats___globals); + goto CPyL86; + } + CPyStatic_stats___logger = cpy_r_r246; + CPy_INCREF_NO_IMM(CPyStatic_stats___logger); + cpy_r_r247 = CPyStatic_stats___globals; + cpy_r_r248 = CPyStatics[60]; /* 'logger' */ + cpy_r_r249 = CPyDict_SetItem(cpy_r_r247, cpy_r_r248, cpy_r_r246); + CPy_DECREF_NO_IMM(cpy_r_r246); + cpy_r_r250 = cpy_r_r249 >= 0; + if (unlikely(!cpy_r_r250)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 611, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r251 = CPyStatic_stats___logger; + if (likely(cpy_r_r251 != NULL)) goto CPyL74; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r252 = 0; + if (unlikely(!cpy_r_r252)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 612, CPyStatic_stats___globals); + goto CPyL86; + } + CPy_Unreachable(); +CPyL74: ; + cpy_r_r253 = CPyStatics[778]; /* 'stats' */ + cpy_r_r254 = CPyObject_GetAttr(cpy_r_r251, cpy_r_r253); + if (unlikely(cpy_r_r254 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 612, CPyStatic_stats___globals); + goto CPyL86; + } + CPyStatic_stats___log = cpy_r_r254; + CPy_INCREF(CPyStatic_stats___log); + cpy_r_r255 = CPyStatic_stats___globals; + cpy_r_r256 = CPyStatics[779]; /* 'log' */ + cpy_r_r257 = CPyDict_SetItem(cpy_r_r255, cpy_r_r256, cpy_r_r254); + CPy_DECREF(cpy_r_r254); + cpy_r_r258 = cpy_r_r257 >= 0; + if (unlikely(!cpy_r_r258)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 612, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r259 = CPyStatic_stats___logger; + if (likely(cpy_r_r259 != NULL)) goto CPyL79; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r260 = 0; + if (unlikely(!cpy_r_r260)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 613, CPyStatic_stats___globals); + goto CPyL86; + } + CPy_Unreachable(); +CPyL79: ; + cpy_r_r261 = CPyStatics[780]; /* 'devhint' */ + cpy_r_r262 = CPyObject_GetAttr(cpy_r_r259, cpy_r_r261); + if (unlikely(cpy_r_r262 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 613, CPyStatic_stats___globals); + goto CPyL86; + } + CPyStatic_stats___devhint = cpy_r_r262; + CPy_INCREF(CPyStatic_stats___devhint); + cpy_r_r263 = CPyStatic_stats___globals; + cpy_r_r264 = CPyStatics[780]; /* 'devhint' */ + cpy_r_r265 = CPyDict_SetItem(cpy_r_r263, cpy_r_r264, cpy_r_r262); + CPy_DECREF(cpy_r_r262); + cpy_r_r266 = cpy_r_r265 >= 0; + if (unlikely(!cpy_r_r266)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 613, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r267 = CPyDef_stats____Collector(); + if (unlikely(cpy_r_r267 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 614, CPyStatic_stats___globals); + goto CPyL86; + } + CPyStatic_stats___collector = cpy_r_r267; + CPy_INCREF_NO_IMM(CPyStatic_stats___collector); + cpy_r_r268 = CPyStatic_stats___globals; + cpy_r_r269 = CPyStatics[781]; /* 'collector' */ + cpy_r_r270 = CPyDict_SetItem(cpy_r_r268, cpy_r_r269, cpy_r_r267); + CPy_DECREF_NO_IMM(cpy_r_r267); + cpy_r_r271 = cpy_r_r270 >= 0; + if (unlikely(!cpy_r_r271)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 614, CPyStatic_stats___globals); + goto CPyL86; + } + cpy_r_r272 = CPyDef_stats____SentryExporter(); + if (unlikely(cpy_r_r272 == NULL)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 615, CPyStatic_stats___globals); + goto CPyL86; + } + CPyStatic_stats___sentry = cpy_r_r272; + CPy_INCREF_NO_IMM(CPyStatic_stats___sentry); + cpy_r_r273 = CPyStatic_stats___globals; + cpy_r_r274 = CPyStatics[782]; /* 'sentry' */ + cpy_r_r275 = CPyDict_SetItem(cpy_r_r273, cpy_r_r274, cpy_r_r272); + CPy_DECREF_NO_IMM(cpy_r_r272); + cpy_r_r276 = cpy_r_r275 >= 0; + if (unlikely(!cpy_r_r276)) { + CPy_AddTraceback("dank_mids\\stats\\__init__.py", "", 615, CPyStatic_stats___globals); + goto CPyL86; + } + return 1; +CPyL86: ; + cpy_r_r277 = 2; + return cpy_r_r277; +CPyL87: ; + CPy_DecRef(cpy_r_r121); + goto CPyL86; +CPyL88: ; + CPy_DecRef(cpy_r_r145); + goto CPyL86; +CPyL89: ; + CPy_DecRef(cpy_r_r163); + goto CPyL86; +CPyL90: ; + CPy_DecRef(cpy_r_r176); + goto CPyL86; +CPyL91: ; + CPy_DecRef(cpy_r_r202); + goto CPyL86; +CPyL92: ; + CPy_DecRef(cpy_r_r209); + goto CPyL86; +CPyL93: ; + CPy_DecRef(cpy_r_r218); + goto CPyL86; +CPyL94: ; + CPy_DecRef(cpy_r_r227); + goto CPyL86; +CPyL95: ; + CPy_DecRef(cpy_r_r236); + goto CPyL86; +CPyL96: ; + CPy_DecRef(cpy_r_r244); + goto CPyL86; +} +static PyMethodDef constantsmodule_methods[] = { + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___constants(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___constants__internal, "__name__"); + CPyStatic_constants___globals = PyModule_GetDict(CPyModule_dank_mids___constants__internal); + if (unlikely(CPyStatic_constants___globals == NULL)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_constants_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___constants__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic_constants___TOO_MUCH_DATA_ERRS); + CPyStatic_constants___TOO_MUCH_DATA_ERRS = NULL; + CPy_XDECREF(CPyStatic_constants___RETRY_ERRS); + CPyStatic_constants___RETRY_ERRS = NULL; + CPy_XDECREF(CPyStatic_constants___GAS_LIMIT); + CPyStatic_constants___GAS_LIMIT = NULL; + CPy_XDECREF(CPyStatic_constants___MULTICALL2_OVERRIDE_CODE); + CPyStatic_constants___MULTICALL2_OVERRIDE_CODE = NULL; + CPy_XDECREF(CPyStatic_constants___MULTICALL3_OVERRIDE_CODE); + CPyStatic_constants___MULTICALL3_OVERRIDE_CODE = NULL; + CPy_XDECREF(CPyStatic_constants___MULTICALL2_DEPLOY_BLOCKS); + CPyStatic_constants___MULTICALL2_DEPLOY_BLOCKS = NULL; + CPy_XDECREF(CPyStatic_constants___MULTICALL3_DEPLOY_BLOCKS); + CPyStatic_constants___MULTICALL3_DEPLOY_BLOCKS = NULL; + CPy_XDECREF(CPyStatic_constants___BAD_HEXES.f0); + CPy_XDECREF(CPyStatic_constants___BAD_HEXES.f1); + CPy_XDECREF(CPyStatic_constants___BAD_HEXES.f2); + CPy_XDECREF(CPyStatic_constants___BAD_HEXES.f3); + CPy_XDECREF(CPyStatic_constants___BAD_HEXES.f4); + CPy_XDECREF(CPyStatic_constants___BAD_HEXES.f5); + CPy_XDECREF(CPyStatic_constants___BAD_HEXES.f6); + CPy_XDECREF(CPyStatic_constants___BAD_HEXES.f7); + CPy_XDECREF(CPyStatic_constants___BAD_HEXES.f8); + CPy_XDECREF(CPyStatic_constants___BAD_HEXES.f9); + CPyStatic_constants___BAD_HEXES = (tuple_T10OOOOOOOOOO) { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }; + CPy_XDECREF(CPyStatic_constants___REVERT_SELECTORS.f0); + CPy_XDECREF(CPyStatic_constants___REVERT_SELECTORS.f1); + CPyStatic_constants___REVERT_SELECTORS = (tuple_T2OO) { NULL, NULL }; + return -1; +} +static struct PyModuleDef constantsmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.constants", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + constantsmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___constants(void) +{ + if (CPyModule_dank_mids___constants__internal) { + Py_INCREF(CPyModule_dank_mids___constants__internal); + return CPyModule_dank_mids___constants__internal; + } + CPyModule_dank_mids___constants__internal = PyModule_Create(&constantsmodule); + if (unlikely(CPyModule_dank_mids___constants__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___constants(CPyModule_dank_mids___constants__internal) != 0) + goto fail; + return CPyModule_dank_mids___constants__internal; + fail: + return NULL; +} + +char CPyDef_constants_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject **cpy_r_r9; + void *cpy_r_r11; + void *cpy_r_r13; + PyObject *cpy_r_r14; + PyObject *cpy_r_r15; + PyObject *cpy_r_r16; + PyObject *cpy_r_r17; + char cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + PyObject *cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + int32_t cpy_r_r32; + char cpy_r_r33; + int32_t cpy_r_r34; + char cpy_r_r35; + int32_t cpy_r_r36; + char cpy_r_r37; + int32_t cpy_r_r38; + char cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + int32_t cpy_r_r42; + char cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + PyObject *cpy_r_r46; + PyObject *cpy_r_r47; + PyObject *cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + int32_t cpy_r_r51; + char cpy_r_r52; + int32_t cpy_r_r53; + char cpy_r_r54; + int32_t cpy_r_r55; + char cpy_r_r56; + int32_t cpy_r_r57; + char cpy_r_r58; + int32_t cpy_r_r59; + char cpy_r_r60; + int32_t cpy_r_r61; + char cpy_r_r62; + PyObject *cpy_r_r63; + PyObject *cpy_r_r64; + int32_t cpy_r_r65; + char cpy_r_r66; + PyObject *cpy_r_r67; + PyObject *cpy_r_r68; + PyObject *cpy_r_r69; + PyObject *cpy_r_r70; + PyObject *cpy_r_r71; + PyObject *cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + PyObject *cpy_r_r75; + int32_t cpy_r_r76; + char cpy_r_r77; + PyObject *cpy_r_r78; + PyObject *cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + PyObject *cpy_r_r82; + PyObject *cpy_r_r83; + PyObject *cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + int32_t cpy_r_r87; + char 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; + PyObject *cpy_r_r95; + PyObject *cpy_r_r96; + PyObject *cpy_r_r97; + int32_t cpy_r_r98; + char cpy_r_r99; + tuple_T3OOO cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + char cpy_r_r104; + PyObject *cpy_r_r105; + PyObject *cpy_r_r106; + PyObject *cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + PyObject *cpy_r_r111; + PyObject *cpy_r_r112; + PyObject *cpy_r_r113; + int32_t cpy_r_r114; + char cpy_r_r115; + char cpy_r_r116; + tuple_T3OOO cpy_r_r117; + tuple_T3OOO cpy_r_r118; + tuple_T3OOO cpy_r_r119; + PyObject *cpy_r_r120; + PyObject *cpy_r_r121; + PyObject *cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + int32_t cpy_r_r125; + char cpy_r_r126; + char cpy_r_r127; + PyObject *cpy_r_r128; + PyObject *cpy_r_r129; + PyObject *cpy_r_r130; + PyObject *cpy_r_r131; + PyObject *cpy_r_r132; + PyObject *cpy_r_r133; + PyObject *cpy_r_r134; + PyObject *cpy_r_r135; + PyObject *cpy_r_r136; + PyObject *cpy_r_r137; + PyObject *cpy_r_r138; + PyObject *cpy_r_r139; + PyObject *cpy_r_r140; + PyObject *cpy_r_r141; + PyObject *cpy_r_r142; + PyObject *cpy_r_r143; + PyObject *cpy_r_r144; + PyObject *cpy_r_r145; + PyObject *cpy_r_r146; + PyObject *cpy_r_r147; + PyObject *cpy_r_r148; + PyObject *cpy_r_r149; + PyObject *cpy_r_r150; + PyObject *cpy_r_r151; + PyObject *cpy_r_r152; + PyObject *cpy_r_r153; + PyObject *cpy_r_r154; + int32_t cpy_r_r155; + char cpy_r_r156; + PyObject *cpy_r_r157; + PyObject *cpy_r_r158; + PyObject *cpy_r_r159; + PyObject *cpy_r_r160; + PyObject *cpy_r_r161; + PyObject *cpy_r_r162; + PyObject *cpy_r_r163; + PyObject *cpy_r_r164; + PyObject *cpy_r_r165; + PyObject *cpy_r_r166; + PyObject *cpy_r_r167; + PyObject *cpy_r_r168; + PyObject *cpy_r_r169; + PyObject *cpy_r_r170; + PyObject *cpy_r_r171; + PyObject *cpy_r_r172; + PyObject *cpy_r_r173; + PyObject *cpy_r_r174; + PyObject *cpy_r_r175; + PyObject *cpy_r_r176; + PyObject *cpy_r_r177; + PyObject *cpy_r_r178; + PyObject *cpy_r_r179; + PyObject *cpy_r_r180; + PyObject *cpy_r_r181; + PyObject *cpy_r_r182; + PyObject *cpy_r_r183; + PyObject *cpy_r_r184; + PyObject *cpy_r_r185; + PyObject *cpy_r_r186; + PyObject *cpy_r_r187; + PyObject *cpy_r_r188; + PyObject *cpy_r_r189; + int32_t cpy_r_r190; + char cpy_r_r191; + PyObject *cpy_r_r192; + PyObject *cpy_r_r193; + PyObject *cpy_r_r194; + PyObject *cpy_r_r195; + PyObject *cpy_r_r196; + PyObject *cpy_r_r197; + PyObject *cpy_r_r198; + PyObject *cpy_r_r199; + PyObject *cpy_r_r200; + PyObject *cpy_r_r201; + tuple_T10OOOOOOOOOO cpy_r_r202; + PyObject *cpy_r_r203; + PyObject *cpy_r_r204; + PyObject *cpy_r_r205; + int32_t cpy_r_r206; + char cpy_r_r207; + PyObject *cpy_r_r208; + PyObject *cpy_r_r209; + tuple_T2OO cpy_r_r210; + PyObject *cpy_r_r211; + PyObject *cpy_r_r212; + PyObject *cpy_r_r213; + int32_t cpy_r_r214; + char cpy_r_r215; + char cpy_r_r216; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", -1, CPyStatic_constants___globals); + goto CPyL80; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[1055]; /* ('Dict', 'Final') */ + cpy_r_r6 = CPyStatics[40]; /* 'typing' */ + cpy_r_r7 = CPyStatic_constants___globals; + cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 2, CPyStatic_constants___globals); + goto CPyL80; + } + CPyModule_typing = cpy_r_r8; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = (PyObject **)&CPyModule_multicall___constants; + PyObject **cpy_r_r10[1] = {cpy_r_r9}; + 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[1057]; /* (('multicall.constants', 'multicall', 'multicall'),) */ + cpy_r_r15 = CPyStatic_constants___globals; + cpy_r_r16 = CPyStatics[784]; /* 'dank_mids\\constants.py' */ + cpy_r_r17 = CPyStatics[43]; /* '' */ + 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[1058]; /* ('BlockNumber',) */ + cpy_r_r20 = CPyStatics[137]; /* '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); + if (unlikely(cpy_r_r22 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 5, CPyStatic_constants___globals); + goto CPyL80; + } + CPyModule_eth_typing = cpy_r_r22; + CPy_INCREF(CPyModule_eth_typing); + CPy_DECREF(cpy_r_r22); + cpy_r_r23 = CPyStatics[1059]; /* ('Network',) */ + cpy_r_r24 = CPyStatics[445]; /* '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); + if (unlikely(cpy_r_r26 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 6, CPyStatic_constants___globals); + goto CPyL80; + } + CPyModule_multicall___constants = cpy_r_r26; + CPy_INCREF(CPyModule_multicall___constants); + CPy_DECREF(cpy_r_r26); + cpy_r_r27 = CPyStatics[787]; /* 'payload too large' */ + cpy_r_r28 = CPyStatics[788]; /* 'content length too large' */ + cpy_r_r29 = CPyStatics[789]; /* 'request entity too large' */ + cpy_r_r30 = CPyStatics[790]; /* '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); + goto CPyL80; + } + cpy_r_r32 = PySet_Add(cpy_r_r31, cpy_r_r27); + cpy_r_r33 = cpy_r_r32 >= 0; + if (unlikely(!cpy_r_r33)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 8, CPyStatic_constants___globals); + goto CPyL81; + } + cpy_r_r34 = PySet_Add(cpy_r_r31, cpy_r_r28); + cpy_r_r35 = cpy_r_r34 >= 0; + if (unlikely(!cpy_r_r35)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 8, CPyStatic_constants___globals); + goto CPyL81; + } + cpy_r_r36 = PySet_Add(cpy_r_r31, cpy_r_r29); + cpy_r_r37 = cpy_r_r36 >= 0; + if (unlikely(!cpy_r_r37)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 8, CPyStatic_constants___globals); + goto CPyL81; + } + cpy_r_r38 = PySet_Add(cpy_r_r31, cpy_r_r30); + cpy_r_r39 = cpy_r_r38 >= 0; + if (unlikely(!cpy_r_r39)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 8, CPyStatic_constants___globals); + goto CPyL81; + } + 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[791]; /* '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; + if (unlikely(!cpy_r_r43)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 8, CPyStatic_constants___globals); + goto CPyL80; + } + cpy_r_r44 = CPyStatics[792]; /* 'connection reset by peer' */ + cpy_r_r45 = CPyStatics[793]; /* 'server disconnected' */ + cpy_r_r46 = CPyStatics[794]; /* 'execution aborted (timeout =' */ + cpy_r_r47 = CPyStatics[790]; /* 'batch limit exceeded' */ + cpy_r_r48 = CPyStatics[795]; /* 'request timed out' */ + cpy_r_r49 = CPyStatics[796]; /* 'evm timeout' */ + cpy_r_r50 = PySet_New(NULL); + if (unlikely(cpy_r_r50 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 19, CPyStatic_constants___globals); + goto CPyL80; + } + cpy_r_r51 = PySet_Add(cpy_r_r50, cpy_r_r44); + cpy_r_r52 = cpy_r_r51 >= 0; + if (unlikely(!cpy_r_r52)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 19, CPyStatic_constants___globals); + goto CPyL82; + } + cpy_r_r53 = PySet_Add(cpy_r_r50, cpy_r_r45); + cpy_r_r54 = cpy_r_r53 >= 0; + if (unlikely(!cpy_r_r54)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 19, CPyStatic_constants___globals); + goto CPyL82; + } + cpy_r_r55 = PySet_Add(cpy_r_r50, cpy_r_r46); + cpy_r_r56 = cpy_r_r55 >= 0; + if (unlikely(!cpy_r_r56)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 19, CPyStatic_constants___globals); + goto CPyL82; + } + cpy_r_r57 = PySet_Add(cpy_r_r50, cpy_r_r47); + cpy_r_r58 = cpy_r_r57 >= 0; + if (unlikely(!cpy_r_r58)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 19, CPyStatic_constants___globals); + goto CPyL82; + } + cpy_r_r59 = PySet_Add(cpy_r_r50, cpy_r_r48); + cpy_r_r60 = cpy_r_r59 >= 0; + if (unlikely(!cpy_r_r60)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 19, CPyStatic_constants___globals); + goto CPyL82; + } + cpy_r_r61 = PySet_Add(cpy_r_r50, cpy_r_r49); + cpy_r_r62 = cpy_r_r61 >= 0; + if (unlikely(!cpy_r_r62)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 19, CPyStatic_constants___globals); + goto CPyL82; + } + CPyStatic_constants___RETRY_ERRS = cpy_r_r50; + CPy_INCREF(CPyStatic_constants___RETRY_ERRS); + cpy_r_r63 = CPyStatic_constants___globals; + cpy_r_r64 = CPyStatics[797]; /* '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; + if (unlikely(!cpy_r_r66)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 19, CPyStatic_constants___globals); + goto CPyL80; + } + cpy_r_r67 = CPyStatic_constants___globals; + cpy_r_r68 = CPyStatics[783]; /* '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[798]; /* '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[799]; /* 'GAS_LIMIT' */ + cpy_r_r73 = CPyObject_GetAttr(cpy_r_r71, cpy_r_r72); + CPy_DECREF(cpy_r_r71); + if (unlikely(cpy_r_r73 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 32, CPyStatic_constants___globals); + goto CPyL80; + } + CPyStatic_constants___GAS_LIMIT = cpy_r_r73; + CPy_INCREF(CPyStatic_constants___GAS_LIMIT); + cpy_r_r74 = CPyStatic_constants___globals; + cpy_r_r75 = CPyStatics[799]; /* '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; + if (unlikely(!cpy_r_r77)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 32, CPyStatic_constants___globals); + goto CPyL80; + } + cpy_r_r78 = CPyStatic_constants___globals; + cpy_r_r79 = CPyStatics[783]; /* '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[798]; /* '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[800]; /* 'MULTICALL2_BYTECODE' */ + cpy_r_r84 = CPyObject_GetAttr(cpy_r_r82, cpy_r_r83); + CPy_DECREF(cpy_r_r82); + if (unlikely(cpy_r_r84 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 38, CPyStatic_constants___globals); + goto CPyL80; + } + 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[801]; /* '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; + if (unlikely(!cpy_r_r88)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 38, CPyStatic_constants___globals); + goto CPyL80; + } + cpy_r_r89 = CPyStatic_constants___globals; + cpy_r_r90 = CPyStatics[783]; /* '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[798]; /* '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[802]; /* 'MULTICALL3_BYTECODE' */ + cpy_r_r95 = CPyObject_GetAttr(cpy_r_r93, cpy_r_r94); + CPy_DECREF(cpy_r_r93); + if (unlikely(cpy_r_r95 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 45, CPyStatic_constants___globals); + goto CPyL33; + } + cpy_r_r96 = CPyStatic_constants___globals; + cpy_r_r97 = CPyStatics[803]; /* '__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; + if (unlikely(!cpy_r_r99)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 45, CPyStatic_constants___globals); + } else + goto CPyL44; +CPyL33: ; + cpy_r_r100 = CPy_CatchError(); + cpy_r_r101 = CPyModule_builtins; + cpy_r_r102 = CPyStatics[189]; /* 'AttributeError' */ + cpy_r_r103 = CPyObject_GetAttr(cpy_r_r101, cpy_r_r102); + if (unlikely(cpy_r_r103 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 50, CPyStatic_constants___globals); + goto CPyL42; + } + cpy_r_r104 = CPy_ExceptionMatches(cpy_r_r103); + CPy_DecRef(cpy_r_r103); + if (!cpy_r_r104) goto CPyL39; + cpy_r_r105 = CPyStatic_constants___globals; + cpy_r_r106 = CPyStatics[783]; /* '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[798]; /* '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[800]; /* 'MULTICALL2_BYTECODE' */ + cpy_r_r111 = CPyObject_GetAttr(cpy_r_r109, cpy_r_r110); + CPy_DecRef(cpy_r_r109); + if (unlikely(cpy_r_r111 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 51, CPyStatic_constants___globals); + goto CPyL42; + } + cpy_r_r112 = CPyStatic_constants___globals; + cpy_r_r113 = CPyStatics[803]; /* '__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; + if (unlikely(!cpy_r_r115)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 51, CPyStatic_constants___globals); + goto CPyL42; + } else + goto CPyL41; +CPyL39: ; + CPy_Reraise(); + if (!0) { + goto CPyL42; + } else + goto CPyL83; +CPyL40: ; + CPy_Unreachable(); +CPyL41: ; + CPy_RestoreExcInfo(cpy_r_r100); + CPy_DecRef(cpy_r_r100.f0); + CPy_DecRef(cpy_r_r100.f1); + CPy_DecRef(cpy_r_r100.f2); + goto CPyL44; +CPyL42: ; + CPy_RestoreExcInfo(cpy_r_r100); + CPy_DecRef(cpy_r_r100.f0); + CPy_DecRef(cpy_r_r100.f1); + CPy_DecRef(cpy_r_r100.f2); + cpy_r_r116 = CPy_KeepPropagating(); + if (!cpy_r_r116) goto CPyL45; + CPy_Unreachable(); +CPyL44: ; + tuple_T3OOO __tmp342 = { NULL, NULL, NULL }; + cpy_r_r117 = __tmp342; + cpy_r_r118 = cpy_r_r117; + goto CPyL46; +CPyL45: ; + cpy_r_r119 = CPy_CatchError(); + cpy_r_r118 = cpy_r_r119; +CPyL46: ; + cpy_r_r120 = CPyStatic_constants___globals; + cpy_r_r121 = CPyStatics[803]; /* '__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); + goto CPyL51; + } + 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[804]; /* '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; + if (unlikely(!cpy_r_r126)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 53, CPyStatic_constants___globals); + goto CPyL51; + } + if (cpy_r_r118.f0 == NULL) goto CPyL55; + CPy_Reraise(); + if (!0) { + goto CPyL51; + } else + goto CPyL84; +CPyL50: ; + CPy_Unreachable(); +CPyL51: ; + if (cpy_r_r118.f0 == NULL) goto CPyL53; + CPy_RestoreExcInfo(cpy_r_r118); + CPy_XDECREF(cpy_r_r118.f0); + CPy_XDECREF(cpy_r_r118.f1); + CPy_XDECREF(cpy_r_r118.f2); +CPyL53: ; + cpy_r_r127 = CPy_KeepPropagating(); + if (!cpy_r_r127) goto CPyL80; + CPy_Unreachable(); +CPyL55: ; + cpy_r_r128 = CPyStatic_constants___globals; + cpy_r_r129 = CPyStatics[786]; /* '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[805]; /* 'Mainnet' */ + cpy_r_r132 = CPyObject_GetAttr(cpy_r_r130, cpy_r_r131); + CPy_DECREF(cpy_r_r130); + if (unlikely(cpy_r_r132 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 56, CPyStatic_constants___globals); + goto CPyL80; + } + cpy_r_r133 = CPyStatic_constants___globals; + cpy_r_r134 = CPyStatics[786]; /* '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[806]; /* 'Fantom' */ + cpy_r_r137 = CPyObject_GetAttr(cpy_r_r135, cpy_r_r136); + CPy_DECREF(cpy_r_r135); + if (unlikely(cpy_r_r137 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 57, CPyStatic_constants___globals); + goto CPyL85; + } + cpy_r_r138 = CPyStatic_constants___globals; + cpy_r_r139 = CPyStatics[786]; /* '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[807]; /* 'Arbitrum' */ + cpy_r_r142 = CPyObject_GetAttr(cpy_r_r140, cpy_r_r141); + CPy_DECREF(cpy_r_r140); + if (unlikely(cpy_r_r142 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 58, CPyStatic_constants___globals); + goto CPyL86; + } + cpy_r_r143 = CPyStatic_constants___globals; + cpy_r_r144 = CPyStatics[786]; /* '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[808]; /* '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[889]; /* 12336033 */ + cpy_r_r149 = CPyStatics[890]; /* 16572242 */ + cpy_r_r150 = CPyStatics[891]; /* 821923 */ + cpy_r_r151 = CPyStatics[892]; /* 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); + CPy_DECREF(cpy_r_r142); + CPy_DECREF(cpy_r_r147); + if (unlikely(cpy_r_r152 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 55, CPyStatic_constants___globals); + goto CPyL80; + } + 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[809]; /* '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; + if (unlikely(!cpy_r_r156)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 55, CPyStatic_constants___globals); + goto CPyL80; + } + cpy_r_r157 = CPyStatic_constants___globals; + cpy_r_r158 = CPyStatics[786]; /* '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[805]; /* 'Mainnet' */ + cpy_r_r161 = CPyObject_GetAttr(cpy_r_r159, cpy_r_r160); + CPy_DECREF(cpy_r_r159); + if (unlikely(cpy_r_r161 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 64, CPyStatic_constants___globals); + goto CPyL80; + } + cpy_r_r162 = CPyStatic_constants___globals; + cpy_r_r163 = CPyStatics[786]; /* '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[806]; /* 'Fantom' */ + cpy_r_r166 = CPyObject_GetAttr(cpy_r_r164, cpy_r_r165); + CPy_DECREF(cpy_r_r164); + if (unlikely(cpy_r_r166 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 65, CPyStatic_constants___globals); + goto CPyL88; + } + cpy_r_r167 = CPyStatic_constants___globals; + cpy_r_r168 = CPyStatics[786]; /* '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[807]; /* 'Arbitrum' */ + cpy_r_r171 = CPyObject_GetAttr(cpy_r_r169, cpy_r_r170); + CPy_DECREF(cpy_r_r169); + if (unlikely(cpy_r_r171 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 66, CPyStatic_constants___globals); + goto CPyL89; + } + cpy_r_r172 = CPyStatic_constants___globals; + cpy_r_r173 = CPyStatics[786]; /* '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[808]; /* 'Optimism' */ + cpy_r_r176 = CPyObject_GetAttr(cpy_r_r174, cpy_r_r175); + CPy_DECREF(cpy_r_r174); + if (unlikely(cpy_r_r176 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 67, CPyStatic_constants___globals); + goto CPyL90; + } + cpy_r_r177 = CPyStatic_constants___globals; + cpy_r_r178 = CPyStatics[786]; /* '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[810]; /* '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[893]; /* 14353601 */ + cpy_r_r183 = CPyStatics[894]; /* 33001987 */ + cpy_r_r184 = CPyStatics[895]; /* 7654707 */ + cpy_r_r185 = CPyStatics[896]; /* 4286263 */ + cpy_r_r186 = CPyStatics[897]; /* 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); + CPy_DECREF(cpy_r_r171); + CPy_DECREF(cpy_r_r176); + CPy_DECREF(cpy_r_r181); + if (unlikely(cpy_r_r187 == NULL)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 63, CPyStatic_constants___globals); + goto CPyL80; + } + 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[811]; /* '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; + if (unlikely(!cpy_r_r191)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 63, CPyStatic_constants___globals); + goto CPyL80; + } + cpy_r_r192 = CPyStatics[812]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000094e6f206163636573730000000000000000000000000000000000000000000000' */ + cpy_r_r193 = CPyStatics[813]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e6d696e7420697320706175736564000000000000000000000000000000000000' */ + cpy_r_r194 = CPyStatics[814]; /* '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000016496e76616c6964206574686572207472616e7366657200000000000000000000' */ + cpy_r_r195 = CPyStatics[815]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e4e4f4e5f454d5054595f44415441000000000000000000000000000000000000' */ + cpy_r_r196 = CPyStatics[816]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000246d73672e736967206973206e6f742061737369676e656420746f207375626d6f64756c6500000000000000000000000000000000000000000000000000000000' */ + cpy_r_r197 = CPyStatics[817]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000346f6e6c792077726170706564206e617469766520636f6e747261637420636f756c642073656e64206e617469766520746f6b656e000000000000000000000000' */ + cpy_r_r198 = CPyStatics[818]; /* '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000013434f4e54524f4c4c45525f52454a454354454400000000000000000000000000' */ + cpy_r_r199 = CPyStatics[819]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000204469616d6f6e643a2046756e6374696f6e20646f6573206e6f74206578697374' */ + cpy_r_r200 = CPyStatics[820]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a66756e6374696f6e2073686f756c6420626520616c6c6f776564000000000000' */ + cpy_r_r201 = CPyStatics[821]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001846756e6374696f6e20646f6573206e6f742065786973742e0000000000000000' */ + CPy_INCREF(cpy_r_r192); + CPy_INCREF(cpy_r_r193); + CPy_INCREF(cpy_r_r194); + CPy_INCREF(cpy_r_r195); + CPy_INCREF(cpy_r_r196); + CPy_INCREF(cpy_r_r197); + CPy_INCREF(cpy_r_r198); + CPy_INCREF(cpy_r_r199); + CPy_INCREF(cpy_r_r200); + CPy_INCREF(cpy_r_r201); + cpy_r_r202.f0 = cpy_r_r192; + cpy_r_r202.f1 = cpy_r_r193; + cpy_r_r202.f2 = cpy_r_r194; + cpy_r_r202.f3 = cpy_r_r195; + cpy_r_r202.f4 = cpy_r_r196; + cpy_r_r202.f5 = cpy_r_r197; + cpy_r_r202.f6 = cpy_r_r198; + cpy_r_r202.f7 = cpy_r_r199; + cpy_r_r202.f8 = cpy_r_r200; + cpy_r_r202.f9 = cpy_r_r201; + CPyStatic_constants___BAD_HEXES = cpy_r_r202; + CPy_INCREF(CPyStatic_constants___BAD_HEXES.f0); + CPy_INCREF(CPyStatic_constants___BAD_HEXES.f1); + CPy_INCREF(CPyStatic_constants___BAD_HEXES.f2); + CPy_INCREF(CPyStatic_constants___BAD_HEXES.f3); + CPy_INCREF(CPyStatic_constants___BAD_HEXES.f4); + CPy_INCREF(CPyStatic_constants___BAD_HEXES.f5); + CPy_INCREF(CPyStatic_constants___BAD_HEXES.f6); + CPy_INCREF(CPyStatic_constants___BAD_HEXES.f7); + CPy_INCREF(CPyStatic_constants___BAD_HEXES.f8); + CPy_INCREF(CPyStatic_constants___BAD_HEXES.f9); + cpy_r_r203 = CPyStatic_constants___globals; + cpy_r_r204 = CPyStatics[822]; /* 'BAD_HEXES' */ + cpy_r_r205 = PyTuple_New(10); + if (unlikely(cpy_r_r205 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp343 = cpy_r_r202.f0; + PyTuple_SET_ITEM(cpy_r_r205, 0, __tmp343); + PyObject *__tmp344 = cpy_r_r202.f1; + PyTuple_SET_ITEM(cpy_r_r205, 1, __tmp344); + PyObject *__tmp345 = cpy_r_r202.f2; + PyTuple_SET_ITEM(cpy_r_r205, 2, __tmp345); + PyObject *__tmp346 = cpy_r_r202.f3; + PyTuple_SET_ITEM(cpy_r_r205, 3, __tmp346); + PyObject *__tmp347 = cpy_r_r202.f4; + PyTuple_SET_ITEM(cpy_r_r205, 4, __tmp347); + PyObject *__tmp348 = cpy_r_r202.f5; + PyTuple_SET_ITEM(cpy_r_r205, 5, __tmp348); + PyObject *__tmp349 = cpy_r_r202.f6; + PyTuple_SET_ITEM(cpy_r_r205, 6, __tmp349); + PyObject *__tmp350 = cpy_r_r202.f7; + PyTuple_SET_ITEM(cpy_r_r205, 7, __tmp350); + PyObject *__tmp351 = cpy_r_r202.f8; + PyTuple_SET_ITEM(cpy_r_r205, 8, __tmp351); + PyObject *__tmp352 = cpy_r_r202.f9; + PyTuple_SET_ITEM(cpy_r_r205, 9, __tmp352); + cpy_r_r206 = CPyDict_SetItem(cpy_r_r203, cpy_r_r204, cpy_r_r205); + CPy_DECREF(cpy_r_r205); + cpy_r_r207 = cpy_r_r206 >= 0; + if (unlikely(!cpy_r_r207)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 75, CPyStatic_constants___globals); + goto CPyL80; + } + cpy_r_r208 = CPyStatics[870]; /* b'\x08\xc3y\xa0' */ + cpy_r_r209 = CPyStatics[871]; /* b'4e487b71' */ + CPy_INCREF(cpy_r_r208); + CPy_INCREF(cpy_r_r209); + cpy_r_r210.f0 = cpy_r_r208; + cpy_r_r210.f1 = cpy_r_r209; + CPyStatic_constants___REVERT_SELECTORS = cpy_r_r210; + CPy_INCREF(CPyStatic_constants___REVERT_SELECTORS.f0); + CPy_INCREF(CPyStatic_constants___REVERT_SELECTORS.f1); + cpy_r_r211 = CPyStatic_constants___globals; + cpy_r_r212 = CPyStatics[595]; /* 'REVERT_SELECTORS' */ + cpy_r_r213 = PyTuple_New(2); + if (unlikely(cpy_r_r213 == NULL)) + CPyError_OutOfMemory(); + PyObject *__tmp353 = cpy_r_r210.f0; + PyTuple_SET_ITEM(cpy_r_r213, 0, __tmp353); + PyObject *__tmp354 = cpy_r_r210.f1; + PyTuple_SET_ITEM(cpy_r_r213, 1, __tmp354); + cpy_r_r214 = CPyDict_SetItem(cpy_r_r211, cpy_r_r212, cpy_r_r213); + CPy_DECREF(cpy_r_r213); + cpy_r_r215 = cpy_r_r214 >= 0; + if (unlikely(!cpy_r_r215)) { + CPy_AddTraceback("dank_mids\\constants.py", "", 101, CPyStatic_constants___globals); + goto CPyL80; + } + return 1; +CPyL80: ; + cpy_r_r216 = 2; + return cpy_r_r216; +CPyL81: ; + CPy_DecRef(cpy_r_r31); + goto CPyL80; +CPyL82: ; + CPy_DecRef(cpy_r_r50); + goto CPyL80; +CPyL83: ; + CPy_DecRef(cpy_r_r100.f0); + CPy_DecRef(cpy_r_r100.f1); + CPy_DecRef(cpy_r_r100.f2); + goto CPyL40; +CPyL84: ; + CPy_XDECREF(cpy_r_r118.f0); + CPy_XDECREF(cpy_r_r118.f1); + CPy_XDECREF(cpy_r_r118.f2); + goto CPyL50; +CPyL85: ; + CPy_DecRef(cpy_r_r132); + goto CPyL80; +CPyL86: ; + CPy_DecRef(cpy_r_r132); + CPy_DecRef(cpy_r_r137); + goto CPyL80; +CPyL87: ; + CPy_DecRef(cpy_r_r132); + CPy_DecRef(cpy_r_r137); + CPy_DecRef(cpy_r_r142); + goto CPyL80; +CPyL88: ; + CPy_DecRef(cpy_r_r161); + goto CPyL80; +CPyL89: ; + CPy_DecRef(cpy_r_r161); + CPy_DecRef(cpy_r_r166); + goto CPyL80; +CPyL90: ; + CPy_DecRef(cpy_r_r161); + CPy_DecRef(cpy_r_r166); + CPy_DecRef(cpy_r_r171); + goto CPyL80; +CPyL91: ; + CPy_DecRef(cpy_r_r161); + CPy_DecRef(cpy_r_r166); + CPy_DecRef(cpy_r_r171); + CPy_DecRef(cpy_r_r176); + goto CPyL80; +} +static PyMethodDef ENVIRONMENT_VARIABLESmodule_methods[] = { + {NULL, NULL, 0, NULL} +}; + +int CPyExec_dank_mids___ENVIRONMENT_VARIABLES(PyObject *module) +{ + PyObject* modname = NULL; + modname = PyObject_GetAttrString((PyObject *)CPyModule_dank_mids___ENVIRONMENT_VARIABLES__internal, "__name__"); + CPyStatic_ENVIRONMENT_VARIABLES___globals = PyModule_GetDict(CPyModule_dank_mids___ENVIRONMENT_VARIABLES__internal); + if (unlikely(CPyStatic_ENVIRONMENT_VARIABLES___globals == NULL)) + goto fail; + if (CPyGlobalsInit() < 0) + goto fail; + char result = CPyDef_ENVIRONMENT_VARIABLES_____top_level__(); + if (result == 2) + goto fail; + Py_DECREF(modname); + return 0; + fail: + Py_CLEAR(CPyModule_dank_mids___ENVIRONMENT_VARIABLES__internal); + Py_CLEAR(modname); + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___logger); + CPyStatic_ENVIRONMENT_VARIABLES___logger = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE); + CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___MAX_MULTICALL_SIZE); + CPyStatic_ENVIRONMENT_VARIABLES___MAX_MULTICALL_SIZE = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___MAX_JSONRPC_BATCH_SIZE); + CPyStatic_ENVIRONMENT_VARIABLES___MAX_JSONRPC_BATCH_SIZE = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___REQUESTS_PER_SECOND); + CPyStatic_ENVIRONMENT_VARIABLES___REQUESTS_PER_SECOND = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___MIN_REQUESTS_PER_SECOND); + CPyStatic_ENVIRONMENT_VARIABLES___MIN_REQUESTS_PER_SECOND = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___demo_mode); + CPyStatic_ENVIRONMENT_VARIABLES___demo_mode = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___DEMO_MODE); + CPyStatic_ENVIRONMENT_VARIABLES___DEMO_MODE = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___ganache_fork); + CPyStatic_ENVIRONMENT_VARIABLES___ganache_fork = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___GANACHE_FORK); + CPyStatic_ENVIRONMENT_VARIABLES___GANACHE_FORK = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___AIOHTTP_TIMEOUT); + CPyStatic_ENVIRONMENT_VARIABLES___AIOHTTP_TIMEOUT = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___brownie_semaphore); + CPyStatic_ENVIRONMENT_VARIABLES___brownie_semaphore = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_CALL_SEMAPHORE); + CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_CALL_SEMAPHORE = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_ENCODER_SEMAPHORE); + CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_ENCODER_SEMAPHORE = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___COLLECTION_FACTOR); + CPyStatic_ENVIRONMENT_VARIABLES___COLLECTION_FACTOR = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___USE_FULL_REQUEST); + CPyStatic_ENVIRONMENT_VARIABLES___USE_FULL_REQUEST = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___DEBUG); + CPyStatic_ENVIRONMENT_VARIABLES___DEBUG = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___EXPORT_STATS); + CPyStatic_ENVIRONMENT_VARIABLES___EXPORT_STATS = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___COLLECT_STATS); + CPyStatic_ENVIRONMENT_VARIABLES___COLLECT_STATS = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___STUCK_CALL_TIMEOUT); + CPyStatic_ENVIRONMENT_VARIABLES___STUCK_CALL_TIMEOUT = NULL; + CPy_XDECREF(CPyStatic_ENVIRONMENT_VARIABLES___method_semaphores); + CPyStatic_ENVIRONMENT_VARIABLES___method_semaphores = NULL; + return -1; +} +static struct PyModuleDef ENVIRONMENT_VARIABLESmodule = { + PyModuleDef_HEAD_INIT, + "dank_mids.ENVIRONMENT_VARIABLES", + NULL, /* docstring */ + 0, /* size of per-interpreter state of the module */ + ENVIRONMENT_VARIABLESmodule_methods, + NULL, +}; + +PyObject *CPyInit_dank_mids___ENVIRONMENT_VARIABLES(void) +{ + if (CPyModule_dank_mids___ENVIRONMENT_VARIABLES__internal) { + Py_INCREF(CPyModule_dank_mids___ENVIRONMENT_VARIABLES__internal); + return CPyModule_dank_mids___ENVIRONMENT_VARIABLES__internal; + } + CPyModule_dank_mids___ENVIRONMENT_VARIABLES__internal = PyModule_Create(&ENVIRONMENT_VARIABLESmodule); + if (unlikely(CPyModule_dank_mids___ENVIRONMENT_VARIABLES__internal == NULL)) + goto fail; + if (CPyExec_dank_mids___ENVIRONMENT_VARIABLES(CPyModule_dank_mids___ENVIRONMENT_VARIABLES__internal) != 0) + goto fail; + return CPyModule_dank_mids___ENVIRONMENT_VARIABLES__internal; + fail: + return NULL; +} + +char CPyDef_ENVIRONMENT_VARIABLES_____top_level__(void) { + PyObject *cpy_r_r0; + PyObject *cpy_r_r1; + char cpy_r_r2; + PyObject *cpy_r_r3; + PyObject *cpy_r_r4; + PyObject *cpy_r_r5; + PyObject *cpy_r_r6; + PyObject *cpy_r_r7; + PyObject *cpy_r_r8; + PyObject *cpy_r_r9; + PyObject *cpy_r_r10; + PyObject *cpy_r_r11; + PyObject *cpy_r_r12; + PyObject **cpy_r_r13; + PyObject **cpy_r_r14; + void *cpy_r_r16; + void *cpy_r_r18; + PyObject *cpy_r_r19; + PyObject *cpy_r_r20; + PyObject *cpy_r_r21; + PyObject *cpy_r_r22; + char cpy_r_r23; + PyObject *cpy_r_r24; + PyObject *cpy_r_r25; + PyObject *cpy_r_r26; + PyObject *cpy_r_r27; + PyObject *cpy_r_r28; + PyObject *cpy_r_r29; + PyObject *cpy_r_r30; + PyObject *cpy_r_r31; + PyObject *cpy_r_r32; + PyObject *cpy_r_r33; + PyObject *cpy_r_r34; + PyObject *cpy_r_r35; + PyObject *cpy_r_r36; + PyObject *cpy_r_r37; + PyObject *cpy_r_r38; + PyObject *cpy_r_r39; + PyObject *cpy_r_r40; + PyObject *cpy_r_r41; + PyObject *cpy_r_r42; + PyObject *cpy_r_r43; + PyObject *cpy_r_r44; + PyObject *cpy_r_r45; + char cpy_r_r46; + PyObject **cpy_r_r48; + PyObject *cpy_r_r49; + PyObject *cpy_r_r50; + PyObject *cpy_r_r51; + int32_t cpy_r_r52; + char cpy_r_r53; + PyObject *cpy_r_r54; + PyObject *cpy_r_r55; + PyObject *cpy_r_r56; + PyObject *cpy_r_r57; + PyObject *cpy_r_r58; + PyObject *cpy_r_r59; + PyObject *cpy_r_r60; + int32_t cpy_r_r61; + char cpy_r_r62; + char cpy_r_r63; + PyObject *cpy_r_r64; + char cpy_r_r65; + PyObject *cpy_r_r66; + PyObject **cpy_r_r68; + PyObject *cpy_r_r69; + char cpy_r_r70; + PyObject *cpy_r_r71; + char cpy_r_r72; + PyObject *cpy_r_r73; + PyObject *cpy_r_r74; + PyObject *cpy_r_r75; + PyObject *cpy_r_r76; + PyObject *cpy_r_r77; + PyObject **cpy_r_r79; + PyObject *cpy_r_r80; + PyObject *cpy_r_r81; + char cpy_r_r82; + CPyTagged cpy_r_r83; + char cpy_r_r84; + PyObject *cpy_r_r85; + PyObject *cpy_r_r86; + PyObject **cpy_r_r88; + PyObject *cpy_r_r89; + char cpy_r_r90; + PyObject *cpy_r_r91; + char cpy_r_r92; + CPyTagged cpy_r_r93; + char cpy_r_r94; + PyObject *cpy_r_r95; + PyObject *cpy_r_r96; + PyObject **cpy_r_r98; + PyObject *cpy_r_r99; + PyObject *cpy_r_r100; + char cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + PyObject **cpy_r_r105; + PyObject *cpy_r_r106; + PyObject *cpy_r_r107; + PyObject *cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + PyObject *cpy_r_r111; + PyObject *cpy_r_r112; + char cpy_r_r113; + PyObject *cpy_r_r114; + PyObject **cpy_r_r116; + PyObject *cpy_r_r117; + PyObject *cpy_r_r118; + PyObject *cpy_r_r119; + PyObject *cpy_r_r120; + int32_t cpy_r_r121; + char cpy_r_r122; + PyObject *cpy_r_r123; + PyObject *cpy_r_r124; + PyObject *cpy_r_r125; + char cpy_r_r126; + PyObject *cpy_r_r127; + PyObject **cpy_r_r129; + PyObject *cpy_r_r130; + PyObject *cpy_r_r131; + PyObject *cpy_r_r132; + PyObject *cpy_r_r133; + int32_t cpy_r_r134; + char cpy_r_r135; + PyObject *cpy_r_r136; + PyObject *cpy_r_r137; + PyObject *cpy_r_r138; + char cpy_r_r139; + PyObject *cpy_r_r140; + PyObject **cpy_r_r142; + PyObject *cpy_r_r143; + PyObject *cpy_r_r144; + PyObject *cpy_r_r145; + PyObject *cpy_r_r146; + int32_t cpy_r_r147; + char cpy_r_r148; + PyObject *cpy_r_r149; + PyObject *cpy_r_r150; + PyObject *cpy_r_r151; + char cpy_r_r152; + PyObject *cpy_r_r153; + PyObject **cpy_r_r155; + PyObject *cpy_r_r156; + PyObject *cpy_r_r157; + PyObject *cpy_r_r158; + PyObject *cpy_r_r159; + int32_t cpy_r_r160; + char cpy_r_r161; + PyObject *cpy_r_r162; + PyObject *cpy_r_r163; + PyObject *cpy_r_r164; + char cpy_r_r165; + PyObject *cpy_r_r166; + PyObject **cpy_r_r168; + PyObject *cpy_r_r169; + PyObject *cpy_r_r170; + PyObject *cpy_r_r171; + PyObject *cpy_r_r172; + int32_t cpy_r_r173; + char cpy_r_r174; + PyObject *cpy_r_r175; + char cpy_r_r176; + PyObject *cpy_r_r177; + PyObject *cpy_r_r178; + PyObject *cpy_r_r179; + PyObject *cpy_r_r180; + PyObject *cpy_r_r181; + PyObject **cpy_r_r183; + PyObject *cpy_r_r184; + PyObject *cpy_r_r185; + PyObject *cpy_r_r186; + PyObject *cpy_r_r187; + int32_t cpy_r_r188; + char cpy_r_r189; + PyObject *cpy_r_r190; + PyObject *cpy_r_r191; + PyObject *cpy_r_r192; + char cpy_r_r193; + int32_t cpy_r_r194; + char cpy_r_r195; + char cpy_r_r196; + PyObject *cpy_r_r197; + char cpy_r_r198; + PyObject *cpy_r_r199; + PyObject *cpy_r_r200; + PyObject **cpy_r_r202; + PyObject *cpy_r_r203; + PyObject *cpy_r_r204; + PyObject *cpy_r_r205; + PyObject *cpy_r_r206; + int32_t cpy_r_r207; + char cpy_r_r208; + PyObject *cpy_r_r209; + char cpy_r_r210; + PyObject *cpy_r_r211; + PyObject *cpy_r_r212; + PyObject *cpy_r_r213; + PyObject *cpy_r_r214; + PyObject *cpy_r_r215; + PyObject **cpy_r_r217; + PyObject *cpy_r_r218; + PyObject *cpy_r_r219; + PyObject *cpy_r_r220; + PyObject *cpy_r_r221; + int32_t cpy_r_r222; + char cpy_r_r223; + PyObject *cpy_r_r224; + PyObject *cpy_r_r225; + PyObject *cpy_r_r226; + char cpy_r_r227; + int32_t cpy_r_r228; + char cpy_r_r229; + char cpy_r_r230; + PyObject *cpy_r_r231; + char cpy_r_r232; + PyObject *cpy_r_r233; + PyObject **cpy_r_r235; + PyObject *cpy_r_r236; + PyObject *cpy_r_r237; + PyObject *cpy_r_r238; + PyObject *cpy_r_r239; + int32_t cpy_r_r240; + char cpy_r_r241; + PyObject *cpy_r_r242; + PyObject *cpy_r_r243; + PyObject *cpy_r_r244; + char cpy_r_r245; + PyObject *cpy_r_r246; + PyObject **cpy_r_r248; + PyObject *cpy_r_r249; + PyObject *cpy_r_r250; + PyObject *cpy_r_r251; + PyObject *cpy_r_r252; + int32_t cpy_r_r253; + char cpy_r_r254; + PyObject *cpy_r_r255; + char cpy_r_r256; + PyObject *cpy_r_r257; + PyObject *cpy_r_r258; + PyObject *cpy_r_r259; + PyObject *cpy_r_r260; + PyObject *cpy_r_r261; + PyObject **cpy_r_r263; + PyObject *cpy_r_r264; + PyObject *cpy_r_r265; + PyObject *cpy_r_r266; + PyObject *cpy_r_r267; + int32_t cpy_r_r268; + char cpy_r_r269; + PyObject *cpy_r_r270; + PyObject *cpy_r_r271; + PyObject *cpy_r_r272; + PyObject *cpy_r_r273; + PyObject *cpy_r_r274; + char cpy_r_r275; + PyObject *cpy_r_r276; + char cpy_r_r277; + PyObject *cpy_r_r278; + PyObject *cpy_r_r279; + int32_t cpy_r_r280; + char cpy_r_r281; + char cpy_r_r282; + PyObject *cpy_r_r283; + char cpy_r_r284; + PyObject *cpy_r_r285; + PyObject **cpy_r_r287; + PyObject *cpy_r_r288; + PyObject *cpy_r_r289; + PyObject *cpy_r_r290; + PyObject *cpy_r_r291; + int32_t cpy_r_r292; + char cpy_r_r293; + PyObject *cpy_r_r294; + PyObject *cpy_r_r295; + PyObject *cpy_r_r296; + PyObject *cpy_r_r297; + PyObject *cpy_r_r298; + char cpy_r_r299; + PyObject *cpy_r_r300; + PyObject *cpy_r_r301; + PyObject *cpy_r_r302; + PyObject *cpy_r_r303; + PyObject *cpy_r_r304; + char cpy_r_r305; + PyObject *cpy_r_r306; + PyObject *cpy_r_r307; + int32_t cpy_r_r308; + char cpy_r_r309; + char cpy_r_r310; + PyObject *cpy_r_r311; + char cpy_r_r312; + PyObject *cpy_r_r313; + PyObject **cpy_r_r315; + PyObject *cpy_r_r316; + PyObject *cpy_r_r317; + PyObject *cpy_r_r318; + PyObject *cpy_r_r319; + int32_t cpy_r_r320; + char cpy_r_r321; + PyObject *cpy_r_r322; + PyObject *cpy_r_r323; + PyObject *cpy_r_r324; + PyObject *cpy_r_r325; + PyObject *cpy_r_r326; + char cpy_r_r327; + PyObject *cpy_r_r328; + PyObject *cpy_r_r329; + int32_t cpy_r_r330; + char cpy_r_r331; + char cpy_r_r332; + CPyTagged cpy_r_r333; + PyObject *cpy_r_r334; + char cpy_r_r335; + PyObject *cpy_r_r336; + PyObject *cpy_r_r337; + int32_t cpy_r_r338; + char cpy_r_r339; + char cpy_r_r340; + PyObject *cpy_r_r341; + char cpy_r_r342; + PyObject *cpy_r_r343; + PyObject *cpy_r_r344; + PyObject **cpy_r_r346; + PyObject *cpy_r_r347; + PyObject *cpy_r_r348; + PyObject *cpy_r_r349; + PyObject *cpy_r_r350; + int32_t cpy_r_r351; + char cpy_r_r352; + PyObject *cpy_r_r353; + PyObject *cpy_r_r354; + PyObject *cpy_r_r355; + PyObject *cpy_r_r356; + PyObject *cpy_r_r357; + char cpy_r_r358; + PyObject *cpy_r_r359; + PyObject *cpy_r_r360; + int32_t cpy_r_r361; + char cpy_r_r362; + char cpy_r_r363; + CPyTagged cpy_r_r364; + PyObject *cpy_r_r365; + char cpy_r_r366; + PyObject *cpy_r_r367; + PyObject *cpy_r_r368; + int32_t cpy_r_r369; + char cpy_r_r370; + char cpy_r_r371; + PyObject *cpy_r_r372; + char cpy_r_r373; + PyObject *cpy_r_r374; + PyObject *cpy_r_r375; + PyObject **cpy_r_r377; + PyObject *cpy_r_r378; + PyObject *cpy_r_r379; + PyObject *cpy_r_r380; + PyObject *cpy_r_r381; + int32_t cpy_r_r382; + char cpy_r_r383; + PyObject *cpy_r_r384; + PyObject *cpy_r_r385; + PyObject *cpy_r_r386; + PyObject *cpy_r_r387; + PyObject *cpy_r_r388; + char cpy_r_r389; + PyObject *cpy_r_r390; + PyObject *cpy_r_r391; + int32_t cpy_r_r392; + char cpy_r_r393; + char cpy_r_r394; + CPyTagged cpy_r_r395; + PyObject *cpy_r_r396; + char cpy_r_r397; + PyObject *cpy_r_r398; + PyObject *cpy_r_r399; + int32_t cpy_r_r400; + char cpy_r_r401; + char cpy_r_r402; + PyObject *cpy_r_r403; + char cpy_r_r404; + PyObject *cpy_r_r405; + PyObject *cpy_r_r406; + PyObject **cpy_r_r408; + PyObject *cpy_r_r409; + PyObject *cpy_r_r410; + PyObject *cpy_r_r411; + PyObject *cpy_r_r412; + int32_t cpy_r_r413; + char cpy_r_r414; + PyObject *cpy_r_r415; + PyObject *cpy_r_r416; + PyObject *cpy_r_r417; + char cpy_r_r418; + PyObject *cpy_r_r419; + PyObject *cpy_r_r420; + int32_t cpy_r_r421; + char cpy_r_r422; + char cpy_r_r423; + CPyTagged cpy_r_r424; + PyObject *cpy_r_r425; + char cpy_r_r426; + PyObject *cpy_r_r427; + PyObject *cpy_r_r428; + int32_t cpy_r_r429; + char cpy_r_r430; + char cpy_r_r431; + PyObject *cpy_r_r432; + char cpy_r_r433; + PyObject *cpy_r_r434; + PyObject *cpy_r_r435; + PyObject **cpy_r_r437; + PyObject *cpy_r_r438; + PyObject *cpy_r_r439; + PyObject *cpy_r_r440; + PyObject *cpy_r_r441; + int32_t cpy_r_r442; + char cpy_r_r443; + PyObject *cpy_r_r444; + PyObject *cpy_r_r445; + PyObject *cpy_r_r446; + char cpy_r_r447; + PyObject *cpy_r_r448; + PyObject *cpy_r_r449; + PyObject **cpy_r_r451; + PyObject *cpy_r_r452; + PyObject *cpy_r_r453; + PyObject *cpy_r_r454; + PyObject *cpy_r_r455; + int32_t cpy_r_r456; + char cpy_r_r457; + PyObject *cpy_r_r458; + PyObject *cpy_r_r459; + PyObject *cpy_r_r460; + char cpy_r_r461; + PyObject *cpy_r_r462; + PyObject *cpy_r_r463; + PyObject **cpy_r_r465; + PyObject *cpy_r_r466; + PyObject *cpy_r_r467; + PyObject *cpy_r_r468; + PyObject *cpy_r_r469; + int32_t cpy_r_r470; + char cpy_r_r471; + PyObject *cpy_r_r472; + PyObject *cpy_r_r473; + PyObject *cpy_r_r474; + char cpy_r_r475; + PyObject *cpy_r_r476; + PyObject *cpy_r_r477; + PyObject **cpy_r_r479; + PyObject *cpy_r_r480; + PyObject *cpy_r_r481; + PyObject *cpy_r_r482; + PyObject *cpy_r_r483; + int32_t cpy_r_r484; + char cpy_r_r485; + PyObject *cpy_r_r486; + PyObject *cpy_r_r487; + PyObject *cpy_r_r488; + char cpy_r_r489; + PyObject *cpy_r_r490; + char cpy_r_r491; + int32_t cpy_r_r492; + char cpy_r_r493; + char cpy_r_r494; + PyObject *cpy_r_r495; + char cpy_r_r496; + PyObject *cpy_r_r497; + PyObject **cpy_r_r499; + PyObject *cpy_r_r500; + PyObject *cpy_r_r501; + PyObject *cpy_r_r502; + PyObject *cpy_r_r503; + int32_t cpy_r_r504; + char cpy_r_r505; + PyObject *cpy_r_r506; + PyObject *cpy_r_r507; + PyObject *cpy_r_r508; + char cpy_r_r509; + PyObject *cpy_r_r510; + PyObject **cpy_r_r512; + PyObject *cpy_r_r513; + PyObject *cpy_r_r514; + PyObject *cpy_r_r515; + PyObject *cpy_r_r516; + int32_t cpy_r_r517; + char cpy_r_r518; + PyObject *cpy_r_r519; + PyObject *cpy_r_r520; + PyObject *cpy_r_r521; + PyObject *cpy_r_r522; + PyObject *cpy_r_r523; + PyObject *cpy_r_r524; + char cpy_r_r525; + PyObject *cpy_r_r526; + PyObject *cpy_r_r527; + PyObject *cpy_r_r528; + char cpy_r_r529; + PyObject *cpy_r_r530; + PyObject **cpy_r_r532; + PyObject *cpy_r_r533; + PyObject *cpy_r_r534; + PyObject *cpy_r_r535; + PyObject *cpy_r_r536; + PyObject *cpy_r_r537; + PyObject *cpy_r_r538; + PyObject *cpy_r_r539; + PyObject *cpy_r_r540; + PyObject *cpy_r_r541; + PyObject *cpy_r_r542; + char cpy_r_r543; + PyObject *cpy_r_r544; + PyObject *cpy_r_r545; + PyObject **cpy_r_r547; + PyObject *cpy_r_r548; + PyObject *cpy_r_r549; + PyObject *cpy_r_r550; + PyObject *cpy_r_r551; + PyObject *cpy_r_r552; + PyObject *cpy_r_r553; + PyObject *cpy_r_r554; + PyObject *cpy_r_r555; + PyObject *cpy_r_r556; + PyObject *cpy_r_r557; + char cpy_r_r558; + PyObject *cpy_r_r559; + PyObject *cpy_r_r560; + PyObject **cpy_r_r562; + PyObject *cpy_r_r563; + PyObject *cpy_r_r564; + PyObject *cpy_r_r565; + PyObject *cpy_r_r566; + PyObject *cpy_r_r567; + int32_t cpy_r_r568; + char cpy_r_r569; + PyObject *cpy_r_r570; + PyObject *cpy_r_r571; + PyObject *cpy_r_r572; + PyObject *cpy_r_r573; + PyObject *cpy_r_r574; + PyObject *cpy_r_r575; + PyObject *cpy_r_r576; + int32_t cpy_r_r577; + char cpy_r_r578; + char cpy_r_r579; + PyObject *cpy_r_r580; + char cpy_r_r581; + PyObject *cpy_r_r582; + PyObject *cpy_r_r583; + PyObject **cpy_r_r585; + PyObject *cpy_r_r586; + PyObject *cpy_r_r587; + char cpy_r_r588; + PyObject *cpy_r_r589; + PyObject *cpy_r_r590; + PyObject **cpy_r_r592; + PyObject *cpy_r_r593; + PyObject *cpy_r_r594; + char cpy_r_r595; + PyObject *cpy_r_r596; + PyObject *cpy_r_r597; + int32_t cpy_r_r598; + char cpy_r_r599; + char cpy_r_r600; + PyObject *cpy_r_r601; + char cpy_r_r602; + PyObject *cpy_r_r603; + PyObject *cpy_r_r604; + PyObject **cpy_r_r606; + PyObject *cpy_r_r607; + PyObject *cpy_r_r608; + char cpy_r_r609; + PyObject *cpy_r_r610; + PyObject *cpy_r_r611; + int32_t cpy_r_r612; + char cpy_r_r613; + char cpy_r_r614; + PyObject *cpy_r_r615; + PyObject *cpy_r_r616; + PyObject *cpy_r_r617; + PyObject *cpy_r_r618; + PyObject *cpy_r_r619; + PyObject *cpy_r_r620; + PyObject *cpy_r_r621; + PyObject *cpy_r_r622; + PyObject *cpy_r_r623; + PyObject *cpy_r_r624; + int32_t cpy_r_r625; + char cpy_r_r626; + int32_t cpy_r_r627; + char cpy_r_r628; + int32_t cpy_r_r629; + char cpy_r_r630; + PyObject *cpy_r_r631; + PyObject *cpy_r_r632; + PyObject *cpy_r_r633; + PyObject *cpy_r_r634; + int32_t cpy_r_r635; + char cpy_r_r636; + PyObject *cpy_r_r637; + PyObject *cpy_r_r638; + PyObject *cpy_r_r639; + PyObject *cpy_r_r640; + PyObject *cpy_r_r641; + int32_t cpy_r_r642; + char cpy_r_r643; + char cpy_r_r644; + PyObject *cpy_r_r645; + PyObject *cpy_r_r646; + PyObject *cpy_r_r647; + PyObject *cpy_r_r648; + PyObject *cpy_r_r649; + PyObject *cpy_r_r650; + PyObject *cpy_r_r651; + PyObject *cpy_r_r652; + PyObject *cpy_r_r653; + PyObject *cpy_r_r654; + PyObject *cpy_r_r655; + PyObject *cpy_r_r656; + PyObject **cpy_r_r658; + PyObject *cpy_r_r659; + char cpy_r_r660; + char cpy_r_r661; + cpy_r_r0 = CPyModule_builtins; + cpy_r_r1 = (PyObject *)&_Py_NoneStruct; + cpy_r_r2 = cpy_r_r0 != cpy_r_r1; + if (cpy_r_r2) goto CPyL3; + cpy_r_r3 = CPyStatics[29]; /* 'builtins' */ + cpy_r_r4 = PyImport_Import(cpy_r_r3); + if (unlikely(cpy_r_r4 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", -1, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPyModule_builtins = cpy_r_r4; + CPy_INCREF(CPyModule_builtins); + CPy_DECREF(cpy_r_r4); +CPyL3: ; + cpy_r_r5 = CPyStatics[1060]; /* ('StreamHandler',) */ + cpy_r_r6 = CPyStatics[169]; /* '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); + if (unlikely(cpy_r_r8 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 2, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPyModule_logging = cpy_r_r8; + CPy_INCREF(CPyModule_logging); + CPy_DECREF(cpy_r_r8); + cpy_r_r9 = CPyStatics[1055]; /* ('Dict', 'Final') */ + cpy_r_r10 = CPyStatics[40]; /* '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); + if (unlikely(cpy_r_r12 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 3, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPyModule_typing = cpy_r_r12; + CPy_INCREF(CPyModule_typing); + CPy_DECREF(cpy_r_r12); + cpy_r_r13 = (PyObject **)&CPyModule_a_sync; + cpy_r_r14 = (PyObject **)&CPyModule_typed_envs; + PyObject **cpy_r_r15[2] = {cpy_r_r13, cpy_r_r14}; + 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[1062]; /* (('a_sync', 'a_sync', 'a_sync'), + ('typed_envs', 'typed_envs', 'typed_envs')) */ + cpy_r_r20 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r21 = CPyStatics[824]; /* 'dank_mids\\ENVIRONMENT_VARIABLES.py' */ + cpy_r_r22 = CPyStatics[43]; /* '' */ + 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[982]; /* ('AsyncProcessPoolExecutor',) */ + cpy_r_r25 = CPyStatics[41]; /* '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); + if (unlikely(cpy_r_r27 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 7, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPyModule_a_sync = cpy_r_r27; + CPy_INCREF(CPyModule_a_sync); + CPy_DECREF(cpy_r_r27); + cpy_r_r28 = CPyStatics[1063]; /* ('_envs',) */ + cpy_r_r29 = CPyStatics[71]; /* '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); + if (unlikely(cpy_r_r31 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 9, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPyModule_dank_mids = cpy_r_r31; + CPy_INCREF(CPyModule_dank_mids); + CPy_DECREF(cpy_r_r31); + cpy_r_r32 = CPyStatics[1064]; /* ('INFO', 'getLogger') */ + cpy_r_r33 = CPyStatics[47]; /* '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); + if (unlikely(cpy_r_r35 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 10, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPyModule_dank_mids____logging = cpy_r_r35; + CPy_INCREF(CPyModule_dank_mids____logging); + CPy_DECREF(cpy_r_r35); + cpy_r_r36 = CPyStatics[1065]; /* ('OperationMode',) */ + cpy_r_r37 = CPyStatics[827]; /* '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)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 11, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPyModule_dank_mids____mode = cpy_r_r39; + CPy_INCREF(CPyModule_dank_mids____mode); + CPy_DECREF(cpy_r_r39); + cpy_r_r40 = CPyStatics[922]; /* ('BlockSemaphore',) */ + cpy_r_r41 = CPyStatics[81]; /* '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); + if (unlikely(cpy_r_r43 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 12, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPyModule_dank_mids___semaphores = cpy_r_r43; + CPy_INCREF(CPyModule_dank_mids___semaphores); + CPy_DECREF(cpy_r_r43); + cpy_r_r44 = CPyStatics[828]; /* '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"); + cpy_r_r46 = 0; + if (unlikely(!cpy_r_r46)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 15, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL14: ; + PyObject *cpy_r_r47[1] = {cpy_r_r44}; + cpy_r_r48 = (PyObject **)&cpy_r_r47; + cpy_r_r49 = PyObject_Vectorcall(cpy_r_r45, cpy_r_r48, 1, 0); + if (unlikely(cpy_r_r49 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 15, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPyStatic_ENVIRONMENT_VARIABLES___logger = cpy_r_r49; + CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___logger); + cpy_r_r50 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r51 = CPyStatics[60]; /* 'logger' */ + 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; + if (unlikely(!cpy_r_r53)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 15, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r54 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r55 = CPyStatics[79]; /* 'typed_envs' */ + cpy_r_r56 = CPyDict_GetItem(cpy_r_r54, cpy_r_r55); + if (unlikely(cpy_r_r56 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 17, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r57 = CPyStatics[60]; /* 'logger' */ + cpy_r_r58 = CPyObject_GetAttr(cpy_r_r56, cpy_r_r57); + CPy_DECREF(cpy_r_r56); + if (unlikely(cpy_r_r58 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 17, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r59 = CPyStatics[829]; /* 'disabled' */ + cpy_r_r60 = CPyObject_GetAttr(cpy_r_r58, cpy_r_r59); + CPy_DECREF(cpy_r_r58); + if (unlikely(cpy_r_r60 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 17, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r61 = PyObject_IsTrue(cpy_r_r60); + CPy_DECREF(cpy_r_r60); + cpy_r_r62 = cpy_r_r61 >= 0; + if (unlikely(!cpy_r_r62)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 17, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r63 = cpy_r_r61; + if (cpy_r_r63) goto CPyL55; + cpy_r_r64 = CPyStatic_ENVIRONMENT_VARIABLES___logger; + if (likely(cpy_r_r64 != NULL)) goto CPyL24; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r65 = 0; + if (unlikely(!cpy_r_r65)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 18, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL24: ; + cpy_r_r66 = CPyStatics[830]; /* '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); + if (unlikely(cpy_r_r69 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 18, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + if (unlikely(!PyBool_Check(cpy_r_r69))) { + CPy_TypeError("bool", cpy_r_r69); cpy_r_r70 = 2; + } else + cpy_r_r70 = cpy_r_r69 == Py_True; + CPy_DECREF(cpy_r_r69); + if (unlikely(cpy_r_r70 == 2)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 18, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + if (cpy_r_r70) goto CPyL34; + cpy_r_r71 = CPyStatic_ENVIRONMENT_VARIABLES___logger; + if (likely(cpy_r_r71 != NULL)) goto CPyL30; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r72 = 0; + if (unlikely(!cpy_r_r72)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 19, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL30: ; + cpy_r_r73 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r74 = CPyStatics[823]; /* '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); + goto CPyL332; + } + cpy_r_r76 = PyObject_Vectorcall(cpy_r_r75, 0, 0, 0); + CPy_DECREF(cpy_r_r75); + if (unlikely(cpy_r_r76 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 19, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r77 = CPyStatics[831]; /* '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); + if (unlikely(cpy_r_r80 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 19, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL333; + } else + goto CPyL334; +CPyL33: ; + CPy_DECREF(cpy_r_r76); +CPyL34: ; + cpy_r_r81 = CPyStatic_ENVIRONMENT_VARIABLES___logger; + if (likely(cpy_r_r81 != NULL)) goto CPyL37; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r82 = 0; + if (unlikely(!cpy_r_r82)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 20, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL37: ; + cpy_r_r83 = CPyStatic__logging___INFO; + if (likely(cpy_r_r83 != CPY_INT_TAG)) goto CPyL40; + PyErr_SetString(PyExc_NameError, "value for final name \"INFO\" was not set"); + cpy_r_r84 = 0; + if (unlikely(!cpy_r_r84)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 20, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL40: ; + cpy_r_r85 = CPyStatics[700]; /* '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}; + cpy_r_r88 = (PyObject **)&cpy_r_r87; + cpy_r_r89 = PyObject_VectorcallMethod(cpy_r_r85, cpy_r_r88, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r89 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 20, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL335; + } + CPy_DECREF(cpy_r_r86); + if (unlikely(!PyBool_Check(cpy_r_r89))) { + CPy_TypeError("bool", cpy_r_r89); cpy_r_r90 = 2; + } else + cpy_r_r90 = cpy_r_r89 == Py_True; + CPy_DECREF(cpy_r_r89); + if (unlikely(cpy_r_r90 == 2)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 20, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + if (cpy_r_r90) goto CPyL51; + cpy_r_r91 = CPyStatic_ENVIRONMENT_VARIABLES___logger; + if (likely(cpy_r_r91 != NULL)) goto CPyL46; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r92 = 0; + if (unlikely(!cpy_r_r92)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 21, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL46: ; + cpy_r_r93 = CPyStatic__logging___INFO; + if (likely(cpy_r_r93 != CPY_INT_TAG)) goto CPyL49; + PyErr_SetString(PyExc_NameError, "value for final name \"INFO\" was not set"); + cpy_r_r94 = 0; + if (unlikely(!cpy_r_r94)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 21, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL49: ; + cpy_r_r95 = CPyStatics[832]; /* '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}; + cpy_r_r98 = (PyObject **)&cpy_r_r97; + cpy_r_r99 = PyObject_VectorcallMethod(cpy_r_r95, cpy_r_r98, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r99 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 21, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL336; + } else + goto CPyL337; +CPyL50: ; + CPy_DECREF(cpy_r_r96); +CPyL51: ; + cpy_r_r100 = CPyStatic_ENVIRONMENT_VARIABLES___logger; + if (likely(cpy_r_r100 != NULL)) goto CPyL54; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r101 = 0; + if (unlikely(!cpy_r_r101)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 22, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL54: ; + cpy_r_r102 = CPyStatics[833]; /* ('For your information, you can tweak your ' + 'configuration for optimal performance using any of ' + 'the envs below:') */ + cpy_r_r103 = CPyStatics[650]; /* '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); + if (unlikely(cpy_r_r106 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 22, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } else + goto CPyL338; +CPyL55: ; + cpy_r_r107 = CPyStatics[834]; /* 'OPERATION_MODE' */ + cpy_r_r108 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r109 = CPyStatics[826]; /* '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[835]; /* 'infura' */ + cpy_r_r112 = CPyStatic__envs___create_env; + if (unlikely(cpy_r_r112 == NULL)) { + goto CPyL339; + } else + goto CPyL59; +CPyL57: ; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r113 = 0; + if (unlikely(!cpy_r_r113)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 34, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +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[1066]; /* ('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); + goto CPyL340; + } + CPy_DECREF(cpy_r_r110); + CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE = cpy_r_r118; + CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE); + cpy_r_r119 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r120 = CPyStatics[834]; /* 'OPERATION_MODE' */ + cpy_r_r121 = CPyDict_SetItem(cpy_r_r119, cpy_r_r120, cpy_r_r118); + CPy_DECREF(cpy_r_r118); + cpy_r_r122 = cpy_r_r121 >= 0; + if (unlikely(!cpy_r_r122)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 34, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r123 = CPyStatics[838]; /* 'MAX_MULTICALL_SIZE' */ + cpy_r_r124 = (PyObject *)&PyLong_Type; + cpy_r_r125 = CPyStatic__envs___create_env; + if (likely(cpy_r_r125 != NULL)) goto CPyL64; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r126 = 0; + if (unlikely(!cpy_r_r126)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 39, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL64: ; + cpy_r_r127 = CPyStatics[898]; /* 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[1067]; /* ('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); + goto CPyL332; + } + 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[838]; /* '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; + if (unlikely(!cpy_r_r135)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 39, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r136 = CPyStatics[839]; /* '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; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r139 = 0; + if (unlikely(!cpy_r_r139)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 41, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL69: ; + cpy_r_r140 = CPyStatics[888]; /* 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[1067]; /* ('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); + goto CPyL332; + } + 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[839]; /* '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; + if (unlikely(!cpy_r_r148)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 41, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r149 = CPyStatics[840]; /* 'REQUESTS_PER_SECOND' */ + cpy_r_r150 = (PyObject *)&PyLong_Type; + cpy_r_r151 = CPyStatic__envs___create_env; + if (likely(cpy_r_r151 != NULL)) goto CPyL74; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r152 = 0; + if (unlikely(!cpy_r_r152)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 43, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL74: ; + cpy_r_r153 = CPyStatics[874]; /* 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[1067]; /* ('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); + goto CPyL332; + } + 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[840]; /* '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; + if (unlikely(!cpy_r_r161)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 43, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r162 = CPyStatics[841]; /* '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; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r165 = 0; + if (unlikely(!cpy_r_r165)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 45, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL79: ; + cpy_r_r166 = CPyStatics[878]; /* 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[1067]; /* ('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); + goto CPyL332; + } + 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[841]; /* '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; + if (unlikely(!cpy_r_r174)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 45, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r175 = CPyStatic__envs____deprecated_format; + if (likely(cpy_r_r175 != NULL)) goto CPyL84; + PyErr_SetString(PyExc_NameError, "value for final name \"_deprecated_format\" was not set"); + cpy_r_r176 = 0; + if (unlikely(!cpy_r_r176)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 48, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL84: ; + cpy_r_r177 = CPyStatics[842]; /* 'DEMO_MODE' */ + cpy_r_r178 = (PyObject *)&PyBool_Type; + cpy_r_r179 = CPyStatics[87]; /* '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[1066]; /* ('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); + goto CPyL332; + } + 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[843]; /* '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; + if (unlikely(!cpy_r_r189)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 48, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r190 = CPyStatics[842]; /* 'DEMO_MODE' */ + cpy_r_r191 = (PyObject *)&PyBool_Type; + cpy_r_r192 = CPyStatic_ENVIRONMENT_VARIABLES___demo_mode; + if (likely(cpy_r_r192 != NULL)) goto CPyL89; + PyErr_SetString(PyExc_NameError, "value for final name \"demo_mode\" was not set"); + cpy_r_r193 = 0; + if (unlikely(!cpy_r_r193)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 51, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL89: ; + cpy_r_r194 = PyObject_IsTrue(cpy_r_r192); + cpy_r_r195 = cpy_r_r194 >= 0; + if (unlikely(!cpy_r_r195)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 51, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r196 = cpy_r_r194; + cpy_r_r197 = CPyStatic__envs___create_env; + if (likely(cpy_r_r197 != NULL)) goto CPyL93; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r198 = 0; + if (unlikely(!cpy_r_r198)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 51, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL93: ; + cpy_r_r199 = cpy_r_r196 ? Py_True : Py_False; + 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[1066]; /* ('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); + goto CPyL332; + } + 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[842]; /* '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; + if (unlikely(!cpy_r_r208)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 51, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r209 = CPyStatic__envs____deprecated_format; + if (likely(cpy_r_r209 != NULL)) goto CPyL98; + PyErr_SetString(PyExc_NameError, "value for final name \"_deprecated_format\" was not set"); + cpy_r_r210 = 0; + if (unlikely(!cpy_r_r210)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 54, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL98: ; + cpy_r_r211 = CPyStatics[844]; /* 'GANACHE_FORK' */ + cpy_r_r212 = (PyObject *)&PyBool_Type; + cpy_r_r213 = CPyStatics[87]; /* '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[1066]; /* ('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); + goto CPyL332; + } + 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[845]; /* '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; + if (unlikely(!cpy_r_r223)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 54, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r224 = CPyStatics[844]; /* 'GANACHE_FORK' */ + cpy_r_r225 = (PyObject *)&PyBool_Type; + cpy_r_r226 = CPyStatic_ENVIRONMENT_VARIABLES___ganache_fork; + if (likely(cpy_r_r226 != NULL)) goto CPyL103; + PyErr_SetString(PyExc_NameError, "value for final name \"ganache_fork\" was not set"); + cpy_r_r227 = 0; + if (unlikely(!cpy_r_r227)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 57, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL103: ; + cpy_r_r228 = PyObject_IsTrue(cpy_r_r226); + cpy_r_r229 = cpy_r_r228 >= 0; + if (unlikely(!cpy_r_r229)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 57, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r230 = cpy_r_r228; + cpy_r_r231 = CPyStatic__envs___create_env; + if (likely(cpy_r_r231 != NULL)) goto CPyL107; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r232 = 0; + if (unlikely(!cpy_r_r232)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 57, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +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[1067]; /* ('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); + goto CPyL332; + } + 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[844]; /* '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; + if (unlikely(!cpy_r_r241)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 57, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r242 = CPyStatics[846]; /* 'AIOHTTP_TIMEOUT' */ + cpy_r_r243 = (PyObject *)&PyLong_Type; + cpy_r_r244 = CPyStatic__envs___create_env; + if (likely(cpy_r_r244 != NULL)) goto CPyL112; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r245 = 0; + if (unlikely(!cpy_r_r245)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 61, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL112: ; + cpy_r_r246 = CPyStatics[899]; /* 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[1067]; /* ('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); + goto CPyL332; + } + 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[846]; /* '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; + if (unlikely(!cpy_r_r254)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 61, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r255 = CPyStatic__envs____deprecated_format; + if (likely(cpy_r_r255 != NULL)) goto CPyL117; + PyErr_SetString(PyExc_NameError, "value for final name \"_deprecated_format\" was not set"); + cpy_r_r256 = 0; + if (unlikely(!cpy_r_r256)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 67, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL117: ; + cpy_r_r257 = CPyStatics[847]; /* 'BROWNIE_CALL_SEMAPHORE' */ + cpy_r_r258 = (PyObject *)&PyLong_Type; + cpy_r_r259 = CPyStatics[87]; /* 'create_env' */ + cpy_r_r260 = CPyStatics[900]; /* 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[1066]; /* ('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); + goto CPyL332; + } + 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[848]; /* '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; + if (unlikely(!cpy_r_r269)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 67, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r270 = CPyStatics[847]; /* 'BROWNIE_CALL_SEMAPHORE' */ + cpy_r_r271 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r272 = CPyStatics[80]; /* 'BlockSemaphore' */ + cpy_r_r273 = CPyDict_GetItem(cpy_r_r271, cpy_r_r272); + if (unlikely(cpy_r_r273 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 72, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r274 = CPyStatic_ENVIRONMENT_VARIABLES___brownie_semaphore; + if (unlikely(cpy_r_r274 == NULL)) { + goto CPyL341; + } else + goto CPyL123; +CPyL121: ; + PyErr_SetString(PyExc_NameError, "value for final name \"brownie_semaphore\" was not set"); + cpy_r_r275 = 0; + if (unlikely(!cpy_r_r275)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 73, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL123: ; + cpy_r_r276 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; + if (unlikely(cpy_r_r276 == NULL)) { + goto CPyL342; + } else + goto CPyL126; +CPyL124: ; + PyErr_SetString(PyExc_NameError, "value for final name \"OPERATION_MODE\" was not set"); + cpy_r_r277 = 0; + if (unlikely(!cpy_r_r277)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 74, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL126: ; + cpy_r_r278 = CPyStatics[835]; /* '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); + goto CPyL343; + } + cpy_r_r280 = PyObject_Not(cpy_r_r279); + CPy_DECREF(cpy_r_r279); + cpy_r_r281 = cpy_r_r280 >= 0; + if (unlikely(!cpy_r_r281)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 74, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL343; + } + cpy_r_r282 = cpy_r_r280; + cpy_r_r283 = CPyStatic__envs___create_env; + if (unlikely(cpy_r_r283 == NULL)) { + goto CPyL344; + } else + goto CPyL131; +CPyL129: ; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r284 = 0; + if (unlikely(!cpy_r_r284)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 70, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +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[1066]; /* ('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); + goto CPyL343; + } + CPy_DECREF(cpy_r_r273); + CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_CALL_SEMAPHORE = cpy_r_r289; + CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_CALL_SEMAPHORE); + cpy_r_r290 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r291 = CPyStatics[847]; /* 'BROWNIE_CALL_SEMAPHORE' */ + cpy_r_r292 = CPyDict_SetItem(cpy_r_r290, cpy_r_r291, cpy_r_r289); + CPy_DECREF(cpy_r_r289); + cpy_r_r293 = cpy_r_r292 >= 0; + if (unlikely(!cpy_r_r293)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 70, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r294 = CPyStatics[849]; /* 'BROWNIE_ENCODER_SEMAPHORE' */ + cpy_r_r295 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r296 = CPyStatics[80]; /* 'BlockSemaphore' */ + cpy_r_r297 = CPyDict_GetItem(cpy_r_r295, cpy_r_r296); + if (unlikely(cpy_r_r297 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 85, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r298 = CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_CALL_SEMAPHORE; + if (unlikely(cpy_r_r298 == NULL)) { + goto CPyL345; + } else + goto CPyL137; +CPyL135: ; + PyErr_SetString(PyExc_NameError, "value for final name \"BROWNIE_CALL_SEMAPHORE\" was not set"); + cpy_r_r299 = 0; + if (unlikely(!cpy_r_r299)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 86, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL137: ; + cpy_r_r300 = CPyStatics[850]; /* '_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[901]; /* 2 */ + cpy_r_r303 = PyNumber_Multiply(cpy_r_r301, cpy_r_r302); + CPy_DECREF(cpy_r_r301); + if (unlikely(cpy_r_r303 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 86, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL346; + } + cpy_r_r304 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; + if (unlikely(cpy_r_r304 == NULL)) { + goto CPyL347; + } else + goto CPyL142; +CPyL140: ; + PyErr_SetString(PyExc_NameError, "value for final name \"OPERATION_MODE\" was not set"); + cpy_r_r305 = 0; + if (unlikely(!cpy_r_r305)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 87, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL142: ; + cpy_r_r306 = CPyStatics[835]; /* '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); + goto CPyL348; + } + cpy_r_r308 = PyObject_Not(cpy_r_r307); + CPy_DECREF(cpy_r_r307); + cpy_r_r309 = cpy_r_r308 >= 0; + if (unlikely(!cpy_r_r309)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 87, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL348; + } + cpy_r_r310 = cpy_r_r308; + cpy_r_r311 = CPyStatic__envs___create_env; + if (unlikely(cpy_r_r311 == NULL)) { + goto CPyL349; + } else + goto CPyL147; +CPyL145: ; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r312 = 0; + if (unlikely(!cpy_r_r312)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 83, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +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[1066]; /* ('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); + goto CPyL348; + } + CPy_DECREF(cpy_r_r297); + CPy_DECREF(cpy_r_r303); + CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_ENCODER_SEMAPHORE = cpy_r_r317; + CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_ENCODER_SEMAPHORE); + cpy_r_r318 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r319 = CPyStatics[849]; /* 'BROWNIE_ENCODER_SEMAPHORE' */ + cpy_r_r320 = CPyDict_SetItem(cpy_r_r318, cpy_r_r319, cpy_r_r317); + CPy_DECREF(cpy_r_r317); + cpy_r_r321 = cpy_r_r320 >= 0; + if (unlikely(!cpy_r_r321)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 83, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r322 = CPyStatics[359]; /* 'BROWNIE_ENCODER_PROCESSES' */ + cpy_r_r323 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r324 = CPyStatics[388]; /* 'AsyncProcessPoolExecutor' */ + cpy_r_r325 = CPyDict_GetItem(cpy_r_r323, cpy_r_r324); + if (unlikely(cpy_r_r325 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 101, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r326 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; + if (unlikely(cpy_r_r326 == NULL)) { + goto CPyL350; + } else + goto CPyL153; +CPyL151: ; + PyErr_SetString(PyExc_NameError, "value for final name \"OPERATION_MODE\" was not set"); + cpy_r_r327 = 0; + if (unlikely(!cpy_r_r327)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 102, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL153: ; + cpy_r_r328 = CPyStatics[835]; /* '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); + goto CPyL351; + } + cpy_r_r330 = PyObject_IsTrue(cpy_r_r329); + CPy_DECREF(cpy_r_r329); + cpy_r_r331 = cpy_r_r330 >= 0; + if (unlikely(!cpy_r_r331)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 102, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL351; + } + cpy_r_r332 = cpy_r_r330; + if (!cpy_r_r332) goto CPyL157; + cpy_r_r333 = 0; + goto CPyL158; +CPyL157: ; + cpy_r_r333 = 2; +CPyL158: ; + cpy_r_r334 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; + if (unlikely(cpy_r_r334 == NULL)) { + goto CPyL352; + } else + goto CPyL161; +CPyL159: ; + PyErr_SetString(PyExc_NameError, "value for final name \"OPERATION_MODE\" was not set"); + cpy_r_r335 = 0; + if (unlikely(!cpy_r_r335)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 103, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL161: ; + cpy_r_r336 = CPyStatics[835]; /* '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); + goto CPyL353; + } + cpy_r_r338 = PyObject_Not(cpy_r_r337); + CPy_DECREF(cpy_r_r337); + cpy_r_r339 = cpy_r_r338 >= 0; + if (unlikely(!cpy_r_r339)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 103, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL353; + } + cpy_r_r340 = cpy_r_r338; + cpy_r_r341 = CPyStatic__envs___create_env; + if (unlikely(cpy_r_r341 == NULL)) { + goto CPyL354; + } else + goto CPyL166; +CPyL164: ; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r342 = 0; + if (unlikely(!cpy_r_r342)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 99, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL166: ; + cpy_r_r343 = CPyTagged_StealAsObject(cpy_r_r333); + 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[1066]; /* ('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); + goto CPyL355; + } + CPy_DECREF(cpy_r_r325); + CPy_DECREF(cpy_r_r343); + cpy_r_r349 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r350 = CPyStatics[359]; /* 'BROWNIE_ENCODER_PROCESSES' */ + cpy_r_r351 = CPyDict_SetItem(cpy_r_r349, cpy_r_r350, cpy_r_r348); + CPy_DECREF(cpy_r_r348); + cpy_r_r352 = cpy_r_r351 >= 0; + if (unlikely(!cpy_r_r352)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 99, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r353 = CPyStatics[362]; /* 'BROWNIE_DECODER_PROCESSES' */ + cpy_r_r354 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r355 = CPyStatics[388]; /* 'AsyncProcessPoolExecutor' */ + cpy_r_r356 = CPyDict_GetItem(cpy_r_r354, cpy_r_r355); + if (unlikely(cpy_r_r356 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 114, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r357 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; + if (unlikely(cpy_r_r357 == NULL)) { + goto CPyL356; + } else + goto CPyL172; +CPyL170: ; + PyErr_SetString(PyExc_NameError, "value for final name \"OPERATION_MODE\" was not set"); + cpy_r_r358 = 0; + if (unlikely(!cpy_r_r358)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 115, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL172: ; + cpy_r_r359 = CPyStatics[835]; /* '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); + goto CPyL357; + } + cpy_r_r361 = PyObject_IsTrue(cpy_r_r360); + CPy_DECREF(cpy_r_r360); + cpy_r_r362 = cpy_r_r361 >= 0; + if (unlikely(!cpy_r_r362)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 115, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL357; + } + cpy_r_r363 = cpy_r_r361; + if (!cpy_r_r363) goto CPyL176; + cpy_r_r364 = 0; + goto CPyL177; +CPyL176: ; + cpy_r_r364 = 2; +CPyL177: ; + cpy_r_r365 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; + if (unlikely(cpy_r_r365 == NULL)) { + goto CPyL358; + } else + goto CPyL180; +CPyL178: ; + PyErr_SetString(PyExc_NameError, "value for final name \"OPERATION_MODE\" was not set"); + cpy_r_r366 = 0; + if (unlikely(!cpy_r_r366)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 116, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL180: ; + cpy_r_r367 = CPyStatics[835]; /* '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); + goto CPyL359; + } + cpy_r_r369 = PyObject_Not(cpy_r_r368); + CPy_DECREF(cpy_r_r368); + cpy_r_r370 = cpy_r_r369 >= 0; + if (unlikely(!cpy_r_r370)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 116, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL359; + } + cpy_r_r371 = cpy_r_r369; + cpy_r_r372 = CPyStatic__envs___create_env; + if (unlikely(cpy_r_r372 == NULL)) { + goto CPyL360; + } else + goto CPyL185; +CPyL183: ; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r373 = 0; + if (unlikely(!cpy_r_r373)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 112, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL185: ; + cpy_r_r374 = CPyTagged_StealAsObject(cpy_r_r364); + 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[1066]; /* ('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); + goto CPyL361; + } + CPy_DECREF(cpy_r_r356); + CPy_DECREF(cpy_r_r374); + cpy_r_r380 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r381 = CPyStatics[362]; /* 'BROWNIE_DECODER_PROCESSES' */ + cpy_r_r382 = CPyDict_SetItem(cpy_r_r380, cpy_r_r381, cpy_r_r379); + CPy_DECREF(cpy_r_r379); + cpy_r_r383 = cpy_r_r382 >= 0; + if (unlikely(!cpy_r_r383)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 112, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r384 = CPyStatics[706]; /* 'MULTICALL_DECODER_PROCESSES' */ + cpy_r_r385 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r386 = CPyStatics[388]; /* 'AsyncProcessPoolExecutor' */ + cpy_r_r387 = CPyDict_GetItem(cpy_r_r385, cpy_r_r386); + if (unlikely(cpy_r_r387 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 127, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r388 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; + if (unlikely(cpy_r_r388 == NULL)) { + goto CPyL362; + } else + goto CPyL191; +CPyL189: ; + PyErr_SetString(PyExc_NameError, "value for final name \"OPERATION_MODE\" was not set"); + cpy_r_r389 = 0; + if (unlikely(!cpy_r_r389)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 128, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL191: ; + cpy_r_r390 = CPyStatics[835]; /* '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); + goto CPyL363; + } + cpy_r_r392 = PyObject_IsTrue(cpy_r_r391); + CPy_DECREF(cpy_r_r391); + cpy_r_r393 = cpy_r_r392 >= 0; + if (unlikely(!cpy_r_r393)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 128, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL363; + } + cpy_r_r394 = cpy_r_r392; + if (!cpy_r_r394) goto CPyL195; + cpy_r_r395 = 0; + goto CPyL196; +CPyL195: ; + cpy_r_r395 = 2; +CPyL196: ; + cpy_r_r396 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; + if (unlikely(cpy_r_r396 == NULL)) { + goto CPyL364; + } else + goto CPyL199; +CPyL197: ; + PyErr_SetString(PyExc_NameError, "value for final name \"OPERATION_MODE\" was not set"); + cpy_r_r397 = 0; + if (unlikely(!cpy_r_r397)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 129, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL199: ; + cpy_r_r398 = CPyStatics[835]; /* '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); + goto CPyL365; + } + cpy_r_r400 = PyObject_Not(cpy_r_r399); + CPy_DECREF(cpy_r_r399); + cpy_r_r401 = cpy_r_r400 >= 0; + if (unlikely(!cpy_r_r401)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 129, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL365; + } + cpy_r_r402 = cpy_r_r400; + cpy_r_r403 = CPyStatic__envs___create_env; + if (unlikely(cpy_r_r403 == NULL)) { + goto CPyL366; + } else + goto CPyL204; +CPyL202: ; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r404 = 0; + if (unlikely(!cpy_r_r404)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 125, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL204: ; + cpy_r_r405 = CPyTagged_StealAsObject(cpy_r_r395); + 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[1066]; /* ('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); + goto CPyL367; + } + CPy_DECREF(cpy_r_r387); + CPy_DECREF(cpy_r_r405); + cpy_r_r411 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r412 = CPyStatics[706]; /* '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; + if (unlikely(!cpy_r_r414)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 125, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r415 = CPyStatics[851]; /* 'COLLECTION_FACTOR' */ + cpy_r_r416 = (PyObject *)&PyLong_Type; + cpy_r_r417 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; + if (likely(cpy_r_r417 != NULL)) goto CPyL209; + PyErr_SetString(PyExc_NameError, "value for final name \"OPERATION_MODE\" was not set"); + cpy_r_r418 = 0; + if (unlikely(!cpy_r_r418)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 141, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL209: ; + cpy_r_r419 = CPyStatics[835]; /* '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); + goto CPyL332; + } + cpy_r_r421 = PyObject_IsTrue(cpy_r_r420); + CPy_DECREF(cpy_r_r420); + cpy_r_r422 = cpy_r_r421 >= 0; + if (unlikely(!cpy_r_r422)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 141, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r423 = cpy_r_r421; + if (!cpy_r_r423) goto CPyL213; + cpy_r_r424 = 20; + goto CPyL214; +CPyL213: ; + cpy_r_r424 = 2; +CPyL214: ; + cpy_r_r425 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; + if (unlikely(cpy_r_r425 == NULL)) { + goto CPyL368; + } else + goto CPyL217; +CPyL215: ; + PyErr_SetString(PyExc_NameError, "value for final name \"OPERATION_MODE\" was not set"); + cpy_r_r426 = 0; + if (unlikely(!cpy_r_r426)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 142, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL217: ; + cpy_r_r427 = CPyStatics[835]; /* '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); + goto CPyL369; + } + cpy_r_r429 = PyObject_Not(cpy_r_r428); + CPy_DECREF(cpy_r_r428); + cpy_r_r430 = cpy_r_r429 >= 0; + if (unlikely(!cpy_r_r430)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 142, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL369; + } + cpy_r_r431 = cpy_r_r429; + cpy_r_r432 = CPyStatic__envs___create_env; + if (unlikely(cpy_r_r432 == NULL)) { + goto CPyL370; + } else + goto CPyL222; +CPyL220: ; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r433 = 0; + if (unlikely(!cpy_r_r433)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 138, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL222: ; + cpy_r_r434 = CPyTagged_StealAsObject(cpy_r_r424); + 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[1066]; /* ('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); + goto CPyL371; + } + CPy_DECREF(cpy_r_r434); + 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[851]; /* '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; + if (unlikely(!cpy_r_r443)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 138, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r444 = CPyStatics[852]; /* 'USE_FULL_REQUEST' */ + cpy_r_r445 = (PyObject *)&PyBool_Type; + cpy_r_r446 = CPyStatic__envs___create_env; + if (likely(cpy_r_r446 != NULL)) goto CPyL227; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r447 = 0; + if (unlikely(!cpy_r_r447)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 148, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL227: ; + cpy_r_r448 = 0 ? Py_True : Py_False; + 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[1066]; /* ('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); + goto CPyL332; + } + 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[852]; /* '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; + if (unlikely(!cpy_r_r457)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 148, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r458 = CPyStatics[206]; /* 'DEBUG' */ + cpy_r_r459 = (PyObject *)&PyBool_Type; + cpy_r_r460 = CPyStatic__envs___create_env; + if (likely(cpy_r_r460 != NULL)) goto CPyL232; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r461 = 0; + if (unlikely(!cpy_r_r461)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 151, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL232: ; + cpy_r_r462 = 0 ? Py_True : Py_False; + 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[1066]; /* ('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); + goto CPyL332; + } + CPyStatic_ENVIRONMENT_VARIABLES___DEBUG = cpy_r_r467; + CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___DEBUG); + cpy_r_r468 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r469 = CPyStatics[206]; /* 'DEBUG' */ + cpy_r_r470 = CPyDict_SetItem(cpy_r_r468, cpy_r_r469, cpy_r_r467); + CPy_DECREF(cpy_r_r467); + cpy_r_r471 = cpy_r_r470 >= 0; + if (unlikely(!cpy_r_r471)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 151, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r472 = CPyStatics[853]; /* 'EXPORT_STATS' */ + cpy_r_r473 = (PyObject *)&PyBool_Type; + cpy_r_r474 = CPyStatic__envs___create_env; + if (likely(cpy_r_r474 != NULL)) goto CPyL237; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r475 = 0; + if (unlikely(!cpy_r_r475)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 154, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL237: ; + cpy_r_r476 = 0 ? Py_True : Py_False; + 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[1066]; /* ('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); + goto CPyL332; + } + 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[853]; /* '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; + if (unlikely(!cpy_r_r485)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 154, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r486 = CPyStatics[701]; /* 'COLLECT_STATS' */ + cpy_r_r487 = (PyObject *)&PyBool_Type; + cpy_r_r488 = CPyStatic_ENVIRONMENT_VARIABLES___EXPORT_STATS; + if (likely(cpy_r_r488 != NULL)) goto CPyL242; + PyErr_SetString(PyExc_NameError, "value for final name \"EXPORT_STATS\" was not set"); + cpy_r_r489 = 0; + if (unlikely(!cpy_r_r489)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 157, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL242: ; + cpy_r_r490 = CPyStatic_ENVIRONMENT_VARIABLES___EXPORT_STATS; + if (likely(cpy_r_r490 != NULL)) goto CPyL245; + PyErr_SetString(PyExc_NameError, "value for final name \"EXPORT_STATS\" was not set"); + cpy_r_r491 = 0; + if (unlikely(!cpy_r_r491)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 157, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL245: ; + cpy_r_r492 = PyObject_Not(cpy_r_r490); + cpy_r_r493 = cpy_r_r492 >= 0; + if (unlikely(!cpy_r_r493)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 157, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r494 = cpy_r_r492; + cpy_r_r495 = CPyStatic__envs___create_env; + if (likely(cpy_r_r495 != NULL)) goto CPyL249; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r496 = 0; + if (unlikely(!cpy_r_r496)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 156, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +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[1066]; /* ('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); + goto CPyL332; + } + 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[701]; /* '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; + if (unlikely(!cpy_r_r505)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 156, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r506 = CPyStatics[854]; /* 'STUCK_CALL_TIMEOUT' */ + cpy_r_r507 = (PyObject *)&PyLong_Type; + cpy_r_r508 = CPyStatic__envs___create_env; + if (likely(cpy_r_r508 != NULL)) goto CPyL254; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r509 = 0; + if (unlikely(!cpy_r_r509)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 161, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL254: ; + cpy_r_r510 = CPyStatics[902]; /* 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[1067]; /* ('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); + goto CPyL332; + } + 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[854]; /* '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; + if (unlikely(!cpy_r_r518)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 161, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r519 = CPyStatics[536]; /* 'eth_call' */ + cpy_r_r520 = CPyStatics[855]; /* 'ETH_CALL_SEMAPHORE' */ + cpy_r_r521 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r522 = CPyStatics[80]; /* 'BlockSemaphore' */ + cpy_r_r523 = CPyDict_GetItem(cpy_r_r521, cpy_r_r522); + if (unlikely(cpy_r_r523 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 167, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r524 = CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_CALL_SEMAPHORE; + if (unlikely(cpy_r_r524 == NULL)) { + goto CPyL372; + } else + goto CPyL260; +CPyL258: ; + PyErr_SetString(PyExc_NameError, "value for final name \"BROWNIE_CALL_SEMAPHORE\" was not set"); + cpy_r_r525 = 0; + if (unlikely(!cpy_r_r525)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 168, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL260: ; + cpy_r_r526 = CPyStatics[213]; /* '_value' */ + cpy_r_r527 = CPyObject_GetAttr(cpy_r_r524, cpy_r_r526); + if (unlikely(cpy_r_r527 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 168, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL373; + } + cpy_r_r528 = CPyStatic__envs___create_env; + if (unlikely(cpy_r_r528 == NULL)) { + goto CPyL374; + } else + goto CPyL264; +CPyL262: ; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r529 = 0; + if (unlikely(!cpy_r_r529)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 165, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +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[1066]; /* ('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); + goto CPyL375; + } + CPy_DECREF(cpy_r_r523); + CPy_DECREF(cpy_r_r527); + cpy_r_r535 = CPyStatics[856]; /* 'eth_getBlock' */ + cpy_r_r536 = CPyStatics[857]; /* 'ETH_GETBLOCK_SEMAPHORE' */ + cpy_r_r537 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r538 = CPyStatics[41]; /* 'a_sync' */ + cpy_r_r539 = CPyDict_GetItem(cpy_r_r537, cpy_r_r538); + if (unlikely(cpy_r_r539 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 173, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL376; + } + cpy_r_r540 = CPyStatics[84]; /* 'Semaphore' */ + cpy_r_r541 = CPyObject_GetAttr(cpy_r_r539, cpy_r_r540); + CPy_DECREF(cpy_r_r539); + if (unlikely(cpy_r_r541 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 173, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL376; + } + cpy_r_r542 = CPyStatic__envs___create_env; + if (unlikely(cpy_r_r542 == NULL)) { + goto CPyL377; + } else + goto CPyL270; +CPyL268: ; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r543 = 0; + if (unlikely(!cpy_r_r543)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 171, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL270: ; + cpy_r_r544 = CPyStatics[903]; /* 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[1066]; /* ('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[683]; /* 'eth_getCode' */ + cpy_r_r551 = CPyStatics[858]; /* 'ETH_GETCODE_SEMAPHORE' */ + cpy_r_r552 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r553 = CPyStatics[41]; /* 'a_sync' */ + cpy_r_r554 = CPyDict_GetItem(cpy_r_r552, cpy_r_r553); + if (unlikely(cpy_r_r554 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 179, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL379; + } + cpy_r_r555 = CPyStatics[84]; /* 'Semaphore' */ + cpy_r_r556 = CPyObject_GetAttr(cpy_r_r554, cpy_r_r555); + CPy_DECREF(cpy_r_r554); + if (unlikely(cpy_r_r556 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 179, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL379; + } + cpy_r_r557 = CPyStatic__envs___create_env; + if (unlikely(cpy_r_r557 == NULL)) { + goto CPyL380; + } else + goto CPyL276; +CPyL274: ; + PyErr_SetString(PyExc_NameError, "value for final name \"create_env\" was not set"); + cpy_r_r558 = 0; + if (unlikely(!cpy_r_r558)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 177, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL276: ; + cpy_r_r559 = CPyStatics[904]; /* 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[1066]; /* ('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); + goto CPyL381; + } + CPy_DECREF(cpy_r_r556); + cpy_r_r565 = CPyDict_Build(3, cpy_r_r519, cpy_r_r534, cpy_r_r535, cpy_r_r549, cpy_r_r550, cpy_r_r564); + CPy_DECREF(cpy_r_r534); + CPy_DECREF(cpy_r_r549); + CPy_DECREF(cpy_r_r564); + if (unlikely(cpy_r_r565 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 164, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + 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[859]; /* '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; + if (unlikely(!cpy_r_r569)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 164, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r570 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r571 = CPyStatics[79]; /* 'typed_envs' */ + cpy_r_r572 = CPyDict_GetItem(cpy_r_r570, cpy_r_r571); + if (unlikely(cpy_r_r572 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 185, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r573 = CPyStatics[60]; /* 'logger' */ + cpy_r_r574 = CPyObject_GetAttr(cpy_r_r572, cpy_r_r573); + CPy_DECREF(cpy_r_r572); + if (unlikely(cpy_r_r574 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 185, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r575 = CPyStatics[829]; /* 'disabled' */ + cpy_r_r576 = CPyObject_GetAttr(cpy_r_r574, cpy_r_r575); + CPy_DECREF(cpy_r_r574); + if (unlikely(cpy_r_r576 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 185, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r577 = PyObject_IsTrue(cpy_r_r576); + CPy_DECREF(cpy_r_r576); + cpy_r_r578 = cpy_r_r577 >= 0; + if (unlikely(!cpy_r_r578)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 185, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r579 = cpy_r_r577; + if (cpy_r_r579) goto CPyL292; + cpy_r_r580 = CPyStatic_ENVIRONMENT_VARIABLES___logger; + if (likely(cpy_r_r580 != NULL)) goto CPyL287; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r581 = 0; + if (unlikely(!cpy_r_r581)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 186, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL287: ; + cpy_r_r582 = CPyStatics[860]; /* ('More details can be found in ' + 'dank_mids/ENVIRONMENT_VARIABLES.py') */ + cpy_r_r583 = CPyStatics[650]; /* '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); + if (unlikely(cpy_r_r586 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 186, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } else + goto CPyL382; +CPyL288: ; + cpy_r_r587 = CPyStatic_ENVIRONMENT_VARIABLES___logger; + if (likely(cpy_r_r587 != NULL)) goto CPyL291; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r588 = 0; + if (unlikely(!cpy_r_r588)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 187, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL291: ; + cpy_r_r589 = CPyStatics[861]; /* ('NOTE: You can disable these logs by setting the ' + '`TYPEDENVS_SHUTUP` env var to any value.') */ + cpy_r_r590 = CPyStatics[650]; /* '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); + if (unlikely(cpy_r_r593 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 187, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } else + goto CPyL383; +CPyL292: ; + cpy_r_r594 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; + if (likely(cpy_r_r594 != NULL)) goto CPyL295; + PyErr_SetString(PyExc_NameError, "value for final name \"OPERATION_MODE\" was not set"); + cpy_r_r595 = 0; + if (unlikely(!cpy_r_r595)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 195, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL295: ; + cpy_r_r596 = CPyStatics[835]; /* '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); + goto CPyL332; + } + cpy_r_r598 = PyObject_IsTrue(cpy_r_r597); + CPy_DECREF(cpy_r_r597); + cpy_r_r599 = cpy_r_r598 >= 0; + if (unlikely(!cpy_r_r599)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 195, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r600 = cpy_r_r598; + if (cpy_r_r600) goto CPyL302; + cpy_r_r601 = CPyStatic_ENVIRONMENT_VARIABLES___logger; + if (likely(cpy_r_r601 != NULL)) goto CPyL301; + PyErr_SetString(PyExc_NameError, "value for final name \"logger\" was not set"); + cpy_r_r602 = 0; + if (unlikely(!cpy_r_r602)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 196, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL301: ; + cpy_r_r603 = CPyStatics[862]; /* ("Unless you know what you're doing, dank mids should " + 'be run in infura mode for now') */ + cpy_r_r604 = CPyStatics[155]; /* 'warning' */ + PyObject *cpy_r_r605[2] = {cpy_r_r601, cpy_r_r603}; + cpy_r_r606 = (PyObject **)&cpy_r_r605; + cpy_r_r607 = PyObject_VectorcallMethod(cpy_r_r604, cpy_r_r606, 9223372036854775810ULL, 0); + if (unlikely(cpy_r_r607 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 196, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } else + goto CPyL384; +CPyL302: ; + cpy_r_r608 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; + if (likely(cpy_r_r608 != NULL)) goto CPyL305; + PyErr_SetString(PyExc_NameError, "value for final name \"OPERATION_MODE\" was not set"); + cpy_r_r609 = 0; + if (unlikely(!cpy_r_r609)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 200, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL305: ; + cpy_r_r610 = CPyStatics[835]; /* '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); + goto CPyL332; + } + cpy_r_r612 = PyObject_IsTrue(cpy_r_r611); + CPy_DECREF(cpy_r_r611); + cpy_r_r613 = cpy_r_r612 >= 0; + if (unlikely(!cpy_r_r613)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 200, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r614 = cpy_r_r612; + if (!cpy_r_r614) goto CPyL331; + cpy_r_r615 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r616 = CPyStatics[706]; /* '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); + goto CPyL332; + } + cpy_r_r618 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r619 = CPyStatics[362]; /* 'BROWNIE_DECODER_PROCESSES' */ + cpy_r_r620 = CPyDict_GetItem(cpy_r_r618, cpy_r_r619); + if (unlikely(cpy_r_r620 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 203, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL385; + } + cpy_r_r621 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r622 = CPyStatics[359]; /* 'BROWNIE_ENCODER_PROCESSES' */ + cpy_r_r623 = CPyDict_GetItem(cpy_r_r621, cpy_r_r622); + if (unlikely(cpy_r_r623 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 204, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL386; + } + cpy_r_r624 = PySet_New(NULL); + if (unlikely(cpy_r_r624 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 201, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL387; + } + cpy_r_r625 = PySet_Add(cpy_r_r624, cpy_r_r617); + CPy_DECREF(cpy_r_r617); + cpy_r_r626 = cpy_r_r625 >= 0; + if (unlikely(!cpy_r_r626)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 201, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL388; + } + cpy_r_r627 = PySet_Add(cpy_r_r624, cpy_r_r620); + CPy_DECREF(cpy_r_r620); + cpy_r_r628 = cpy_r_r627 >= 0; + if (unlikely(!cpy_r_r628)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 201, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL389; + } + cpy_r_r629 = PySet_Add(cpy_r_r624, cpy_r_r623); + CPy_DECREF(cpy_r_r623); + cpy_r_r630 = cpy_r_r629 >= 0; + if (unlikely(!cpy_r_r630)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 201, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL390; + } + cpy_r_r631 = PyObject_GetIter(cpy_r_r624); + CPy_DECREF(cpy_r_r624); + if (unlikely(cpy_r_r631 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 201, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } +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[863]; /* '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; + if (unlikely(!cpy_r_r636)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 201, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL392; + } + cpy_r_r637 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r638 = CPyStatics[863]; /* '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); + goto CPyL392; + } + cpy_r_r640 = CPyStatics[387]; /* '_max_workers' */ + cpy_r_r641 = CPyObject_GetAttr(cpy_r_r639, cpy_r_r640); + CPy_DECREF(cpy_r_r639); + if (unlikely(cpy_r_r641 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 206, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL392; + } + cpy_r_r642 = PyObject_IsTrue(cpy_r_r641); + CPy_DECREF(cpy_r_r641); + cpy_r_r643 = cpy_r_r642 >= 0; + if (unlikely(!cpy_r_r643)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 206, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL392; + } + cpy_r_r644 = cpy_r_r642; + if (cpy_r_r644) { + goto CPyL393; + } else + goto CPyL316; +CPyL322: ; + cpy_r_r645 = CPyStatics[864]; /* 'You cannot set env var ' */ + cpy_r_r646 = CPyStatic_ENVIRONMENT_VARIABLES___globals; + cpy_r_r647 = CPyStatics[863]; /* '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); + goto CPyL332; + } + cpy_r_r649 = CPyStatics[4]; /* 'name' */ + cpy_r_r650 = CPyObject_GetAttr(cpy_r_r648, cpy_r_r649); + CPy_DECREF(cpy_r_r648); + if (unlikely(cpy_r_r650 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 208, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r651 = PyObject_Str(cpy_r_r650); + CPy_DECREF(cpy_r_r650); + if (unlikely(cpy_r_r651 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 208, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r652 = CPyStatics[865]; /* ' 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)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 208, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + cpy_r_r654 = CPyModule_builtins; + cpy_r_r655 = CPyStatics[177]; /* 'ValueError' */ + cpy_r_r656 = CPyObject_GetAttr(cpy_r_r654, cpy_r_r655); + if (unlikely(cpy_r_r656 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 207, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL394; + } + PyObject *cpy_r_r657[1] = {cpy_r_r653}; + cpy_r_r658 = (PyObject **)&cpy_r_r657; + cpy_r_r659 = PyObject_Vectorcall(cpy_r_r656, cpy_r_r658, 1, 0); + CPy_DECREF(cpy_r_r656); + if (unlikely(cpy_r_r659 == NULL)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 207, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL394; + } + CPy_DECREF(cpy_r_r653); + CPy_Raise(cpy_r_r659); + CPy_DECREF(cpy_r_r659); + if (unlikely(!0)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 207, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } + CPy_Unreachable(); +CPyL330: ; + cpy_r_r660 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r660)) { + CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 201, CPyStatic_ENVIRONMENT_VARIABLES___globals); + goto CPyL332; + } +CPyL331: ; + return 1; +CPyL332: ; + cpy_r_r661 = 2; + return cpy_r_r661; +CPyL333: ; + CPy_DecRef(cpy_r_r76); + goto CPyL332; +CPyL334: ; + CPy_DECREF(cpy_r_r80); + goto CPyL33; +CPyL335: ; + CPy_DecRef(cpy_r_r86); + goto CPyL332; +CPyL336: ; + CPy_DecRef(cpy_r_r96); + goto CPyL332; +CPyL337: ; + CPy_DECREF(cpy_r_r99); + goto CPyL50; +CPyL338: ; + CPy_DECREF(cpy_r_r106); + goto CPyL55; +CPyL339: ; + CPy_DecRef(cpy_r_r110); + goto CPyL57; +CPyL340: ; + CPy_DecRef(cpy_r_r110); + goto CPyL332; +CPyL341: ; + CPy_DecRef(cpy_r_r273); + goto CPyL121; +CPyL342: ; + CPy_DecRef(cpy_r_r273); + goto CPyL124; +CPyL343: ; + CPy_DecRef(cpy_r_r273); + goto CPyL332; +CPyL344: ; + CPy_DecRef(cpy_r_r273); + goto CPyL129; +CPyL345: ; + CPy_DecRef(cpy_r_r297); + goto CPyL135; +CPyL346: ; + CPy_DecRef(cpy_r_r297); + goto CPyL332; +CPyL347: ; + CPy_DecRef(cpy_r_r297); + CPy_DecRef(cpy_r_r303); + goto CPyL140; +CPyL348: ; + CPy_DecRef(cpy_r_r297); + CPy_DecRef(cpy_r_r303); + goto CPyL332; +CPyL349: ; + CPy_DecRef(cpy_r_r297); + CPy_DecRef(cpy_r_r303); + goto CPyL145; +CPyL350: ; + CPy_DecRef(cpy_r_r325); + goto CPyL151; +CPyL351: ; + CPy_DecRef(cpy_r_r325); + goto CPyL332; +CPyL352: ; + CPy_DecRef(cpy_r_r325); + CPyTagged_DecRef(cpy_r_r333); + goto CPyL159; +CPyL353: ; + CPy_DecRef(cpy_r_r325); + CPyTagged_DecRef(cpy_r_r333); + goto CPyL332; +CPyL354: ; + CPy_DecRef(cpy_r_r325); + CPyTagged_DecRef(cpy_r_r333); + goto CPyL164; +CPyL355: ; + CPy_DecRef(cpy_r_r325); + CPy_DecRef(cpy_r_r343); + goto CPyL332; +CPyL356: ; + CPy_DecRef(cpy_r_r356); + goto CPyL170; +CPyL357: ; + CPy_DecRef(cpy_r_r356); + goto CPyL332; +CPyL358: ; + CPy_DecRef(cpy_r_r356); + CPyTagged_DecRef(cpy_r_r364); + goto CPyL178; +CPyL359: ; + CPy_DecRef(cpy_r_r356); + CPyTagged_DecRef(cpy_r_r364); + goto CPyL332; +CPyL360: ; + CPy_DecRef(cpy_r_r356); + CPyTagged_DecRef(cpy_r_r364); + goto CPyL183; +CPyL361: ; + CPy_DecRef(cpy_r_r356); + CPy_DecRef(cpy_r_r374); + goto CPyL332; +CPyL362: ; + CPy_DecRef(cpy_r_r387); + goto CPyL189; +CPyL363: ; + CPy_DecRef(cpy_r_r387); + goto CPyL332; +CPyL364: ; + CPy_DecRef(cpy_r_r387); + CPyTagged_DecRef(cpy_r_r395); + goto CPyL197; +CPyL365: ; + CPy_DecRef(cpy_r_r387); + CPyTagged_DecRef(cpy_r_r395); + goto CPyL332; +CPyL366: ; + CPy_DecRef(cpy_r_r387); + CPyTagged_DecRef(cpy_r_r395); + goto CPyL202; +CPyL367: ; + CPy_DecRef(cpy_r_r387); + CPy_DecRef(cpy_r_r405); + goto CPyL332; +CPyL368: ; + CPyTagged_DecRef(cpy_r_r424); + goto CPyL215; +CPyL369: ; + CPyTagged_DecRef(cpy_r_r424); + goto CPyL332; +CPyL370: ; + CPyTagged_DecRef(cpy_r_r424); + goto CPyL220; +CPyL371: ; + CPy_DecRef(cpy_r_r434); + goto CPyL332; +CPyL372: ; + CPy_DecRef(cpy_r_r523); + goto CPyL258; +CPyL373: ; + CPy_DecRef(cpy_r_r523); + goto CPyL332; +CPyL374: ; + CPy_DecRef(cpy_r_r523); + CPy_DecRef(cpy_r_r527); + goto CPyL262; +CPyL375: ; + CPy_DecRef(cpy_r_r523); + CPy_DecRef(cpy_r_r527); + goto CPyL332; +CPyL376: ; + CPy_DecRef(cpy_r_r534); + goto CPyL332; +CPyL377: ; + CPy_DecRef(cpy_r_r534); + CPy_DecRef(cpy_r_r541); + goto CPyL268; +CPyL378: ; + CPy_DecRef(cpy_r_r534); + CPy_DecRef(cpy_r_r541); + goto CPyL332; +CPyL379: ; + CPy_DecRef(cpy_r_r534); + CPy_DecRef(cpy_r_r549); + goto CPyL332; +CPyL380: ; + CPy_DecRef(cpy_r_r534); + CPy_DecRef(cpy_r_r549); + CPy_DecRef(cpy_r_r556); + goto CPyL274; +CPyL381: ; + CPy_DecRef(cpy_r_r534); + CPy_DecRef(cpy_r_r549); + CPy_DecRef(cpy_r_r556); + goto CPyL332; +CPyL382: ; + CPy_DECREF(cpy_r_r586); + goto CPyL288; +CPyL383: ; + CPy_DECREF(cpy_r_r593); + goto CPyL292; +CPyL384: ; + CPy_DECREF(cpy_r_r607); + goto CPyL302; +CPyL385: ; + CPy_DecRef(cpy_r_r617); + goto CPyL332; +CPyL386: ; + CPy_DecRef(cpy_r_r617); + CPy_DecRef(cpy_r_r620); + goto CPyL332; +CPyL387: ; + CPy_DecRef(cpy_r_r617); + CPy_DecRef(cpy_r_r620); + CPy_DecRef(cpy_r_r623); + goto CPyL332; +CPyL388: ; + CPy_DecRef(cpy_r_r620); + CPy_DecRef(cpy_r_r623); + CPy_DecRef(cpy_r_r624); + goto CPyL332; +CPyL389: ; + CPy_DecRef(cpy_r_r623); + CPy_DecRef(cpy_r_r624); + goto CPyL332; +CPyL390: ; + CPy_DecRef(cpy_r_r624); + goto CPyL332; +CPyL391: ; + CPy_DECREF(cpy_r_r631); + goto CPyL330; +CPyL392: ; + CPy_DecRef(cpy_r_r631); + goto CPyL332; +CPyL393: ; + CPy_DECREF(cpy_r_r631); + goto CPyL322; +CPyL394: ; + CPy_DecRef(cpy_r_r653); + goto CPyL332; +} + +int CPyGlobalsInit(void) +{ + static int is_initialized = 0; + if (is_initialized) return 0; + + CPy_Init(); + CPyModule_dank_mids____batch = Py_None; + CPyModule_builtins = Py_None; + CPyModule_asyncio = Py_None; + CPyModule_typing = Py_None; + CPyModule_a_sync = Py_None; + CPyModule_dank_mids____exceptions = Py_None; + CPyModule_dank_mids____logging = Py_None; + CPyModule_dank_mids____requests = Py_None; + CPyModule_dank_mids___helpers____codec = Py_None; + CPyModule_dank_mids___helpers____errors = Py_None; + CPyModule_dank_mids___types = Py_None; + CPyModule_dank_mids____demo_mode = Py_None; + CPyModule_builtins = Py_None; + CPyModule_typing = Py_None; + CPyModule_dank_mids = Py_None; + CPyModule_dank_mids____logging = Py_None; + CPyModule_dank_mids____envs = Py_None; + CPyModule_builtins = Py_None; + CPyModule_typing = Py_None; + CPyModule_a_sync = Py_None; + CPyModule_typed_envs = Py_None; + CPyModule_dank_mids___semaphores = Py_None; + CPyModule_dank_mids____eth_utils = Py_None; + CPyModule_builtins = Py_None; + CPyModule_binascii = Py_None; + CPyModule_typing = Py_None; + CPyModule_eth_typing = Py_None; + CPyModule_eth_utils___crypto = Py_None; + CPyModule_web3___main = Py_None; + CPyModule_web3___middleware___filter = Py_None; + CPyModule_web3___providers___base = Py_None; + CPyModule_web3____utils___encoding = Py_None; + CPyModule_web3____utils___events = Py_None; + CPyModule_web3____utils___normalizers = Py_None; + CPyModule_web3____utils___type_conversion = Py_None; + CPyModule_dank_mids____exceptions = Py_None; + CPyModule_builtins = Py_None; + CPyModule_logging = Py_None; + CPyModule_re = Py_None; + CPyModule_typing = Py_None; + CPyModule_aiohttp___client_exceptions = Py_None; + CPyModule_dank_mids____logging = Py_None; + CPyModule_builtins = Py_None; + CPyModule_logging = Py_None; + CPyModule_typing = Py_None; + CPyModule_dank_mids____uid = Py_None; + CPyModule_builtins = Py_None; + CPyModule_dank_mids___helpers____lock = Py_None; + CPyModule_dank_mids____requests___base = Py_None; + CPyModule_builtins = Py_None; + CPyModule_typing = Py_None; + CPyModule_mypy_extensions = Py_None; + CPyModule_dank_mids___helpers = Py_None; + CPyModule_dank_mids____web3___abi = Py_None; + CPyModule_builtins = Py_None; + CPyModule_typing = Py_None; + CPyModule_dataclasses = Py_None; + CPyModule_eth_typing = Py_None; + CPyModule_faster_eth_abi = Py_None; + CPyModule_faster_eth_abi___grammar = Py_None; + CPyModule_dank_mids____web3___formatters = Py_None; + CPyModule_builtins = Py_None; + CPyModule_typing = Py_None; + CPyModule_eth_typing = Py_None; + CPyModule_faster_eth_utils___curried = Py_None; + CPyModule_faster_eth_utils___toolz = Py_None; + CPyModule_web3____utils___method_formatters = Py_None; + CPyModule_web3____utils___rpc_abi = Py_None; + CPyModule_web3___types = Py_None; + CPyModule_dank_mids____web3___abi = Py_None; + CPyModule_dank_mids___brownie_patch = Py_None; + CPyModule_builtins = Py_None; + CPyModule_contextlib = Py_None; + CPyModule_web3___eth = Py_None; + CPyModule_dank_mids___helpers = Py_None; + CPyModule_dank_mids___brownie_patch___types = Py_None; + CPyModule_dank_mids___eth = Py_None; + CPyModule_dank_mids___helpers____helpers = Py_None; + CPyModule_brownie = Py_None; + CPyModule_dank_mids___brownie_patch___contract = Py_None; + CPyModule_dank_mids___brownie_patch____abi = Py_None; + CPyModule_builtins = Py_None; + CPyModule_typing = Py_None; + CPyModule_weakref = Py_None; + CPyModule_eth_hash = Py_None; + CPyModule_eth_typing = Py_None; + CPyModule_mypy_extensions = Py_None; + CPyModule_typing_extensions = Py_None; + CPyModule_dank_mids___helpers___hashing = Py_None; + CPyModule_dank_mids___brownie_patch___call = Py_None; + CPyModule_builtins = Py_None; + CPyModule_decimal = Py_None; + CPyModule_concurrent___futures___process = Py_None; + CPyModule_logging = Py_None; + CPyModule_pickle = Py_None; + CPyModule_types = Py_None; + CPyModule_typing = Py_None; + CPyModule_brownie___convert___datatypes = Py_None; + CPyModule_brownie___convert___normalize = Py_None; + CPyModule_brownie___network___contract = Py_None; + CPyModule_faster_eth_abi = Py_None; + CPyModule_hexbytes = Py_None; + CPyModule_a_sync = Py_None; + CPyModule_brownie = Py_None; + CPyModule_brownie___convert___utils = Py_None; + CPyModule_brownie___exceptions = Py_None; + CPyModule_brownie___project___compiler___solidity = Py_None; + CPyModule_faster_eth_abi___exceptions = Py_None; + CPyModule_eth_typing = Py_None; + CPyModule_evmspec___data = Py_None; + CPyModule_hexbytes___main = Py_None; + CPyModule_multicall___constants = Py_None; + CPyModule_web3___types = Py_None; + CPyModule_dank_mids = Py_None; + CPyModule_dank_mids____logging = Py_None; + CPyModule_dank_mids___helpers___lru_cache = Py_None; + CPyModule_dank_mids___helpers____helpers = Py_None; + CPyModule_dank_mids___brownie_patch___overloaded = Py_None; + CPyModule_builtins = Py_None; + CPyModule_functools = Py_None; + CPyModule_types = Py_None; + CPyModule_typing = Py_None; + CPyModule_brownie = Py_None; + CPyModule_brownie___network___contract = Py_None; + CPyModule_dank_mids___brownie_patch___call = Py_None; + CPyModule_dank_mids___helpers____helpers = Py_None; + CPyModule_dank_mids___brownie_patch___types = Py_None; + CPyModule_builtins = Py_None; + CPyModule_typing = Py_None; + CPyModule_brownie___network___contract = Py_None; + CPyModule_brownie___typing = Py_None; + CPyModule_eth_typing = Py_None; + CPyModule_dank_mids___brownie_patch____method = Py_None; + CPyModule_dank_mids___helpers = Py_None; + CPyModule_builtins = Py_None; + CPyModule_dank_mids___helpers____gather = Py_None; + CPyModule_dank_mids___helpers____helpers = Py_None; + CPyModule_dank_mids___helpers___future = Py_None; + CPyModule_dank_mids___helpers___hashing = Py_None; + CPyModule_dank_mids___helpers___lru_cache = Py_None; + CPyModule_dank_mids___helpers____codec = Py_None; + CPyModule_builtins = Py_None; + CPyModule_typing = Py_None; + CPyModule_hexbytes = Py_None; + CPyModule_msgspec = Py_None; + CPyModule_eth_typing = Py_None; + CPyModule_faster_eth_abi = Py_None; + CPyModule_faster_eth_abi___abi = Py_None; + CPyModule_faster_eth_abi___encoding = Py_None; + CPyModule_evmspec___data = Py_None; + CPyModule_msgspec___json = Py_None; + CPyModule_dank_mids___types = Py_None; + CPyModule_dank_mids___helpers____errors = Py_None; + CPyModule_builtins = Py_None; + CPyModule_logging = Py_None; + CPyModule_typing = Py_None; + CPyModule_web3___exceptions = Py_None; + CPyModule_dank_mids____exceptions = Py_None; + CPyModule_dank_mids____logging = Py_None; + CPyModule_dank_mids___constants = Py_None; + CPyModule_dank_mids___types = Py_None; + CPyModule_dank_mids___helpers____gather = Py_None; + CPyModule_builtins = Py_None; + CPyModule_asyncio = Py_None; + CPyModule_typing = Py_None; + CPyModule_a_sync___asyncio = Py_None; + CPyModule_dank_mids___helpers____weaklist = Py_None; + CPyModule_builtins = Py_None; + CPyModule_typing = Py_None; + CPyModule_weakref = Py_None; + CPyModule_dank_mids___helpers___batch_size = Py_None; + CPyModule_builtins = Py_None; + CPyModule_logging = Py_None; + CPyModule_typing = Py_None; + CPyModule_dank_mids___helpers___hashing = Py_None; + CPyModule_builtins = Py_None; + CPyModule_functools = Py_None; + CPyModule_collections___abc = Py_None; + CPyModule_typing = Py_None; + CPyModule_dank_mids___helpers___lru_cache = Py_None; + CPyModule_builtins = Py_None; + CPyModule_functools = Py_None; + CPyModule_typing = Py_None; + CPyModule_typing_extensions = Py_None; + CPyModule_dank_mids___helpers___method = Py_None; + CPyModule_builtins = Py_None; + CPyModule_typing = Py_None; + CPyModule_dank_mids___helpers___lru_cache = Py_None; + CPyModule_dank_mids___stats = Py_None; + CPyModule_builtins = Py_None; + CPyModule_logging = Py_None; + CPyModule_asyncio = Py_None; + CPyModule_collections = Py_None; + CPyModule_concurrent___futures = Py_None; + CPyModule_copy = Py_None; + CPyModule_time = Py_None; + CPyModule_typing = Py_None; + CPyModule_msgspec = Py_None; + CPyModule_a_sync___asyncio = Py_None; + CPyModule_typed_envs___registry = Py_None; + CPyModule_web3___types = Py_None; + CPyModule_dank_mids = Py_None; + CPyModule_dank_mids___stats = Py_None; + CPyModule_dank_mids___constants = Py_None; + CPyModule_builtins = Py_None; + CPyModule_typing = Py_None; + CPyModule_multicall___constants = Py_None; + CPyModule_eth_typing = Py_None; + CPyModule_dank_mids___ENVIRONMENT_VARIABLES = Py_None; + CPyModule_builtins = Py_None; + CPyModule_logging = Py_None; + CPyModule_typing = Py_None; + CPyModule_a_sync = Py_None; + CPyModule_typed_envs = Py_None; + CPyModule_dank_mids = Py_None; + CPyModule_dank_mids____logging = Py_None; + CPyModule_dank_mids____mode = Py_None; + CPyModule_dank_mids___semaphores = Py_None; + if (CPyStatics_Initialize(CPyStatics, CPyLit_Str, CPyLit_Bytes, CPyLit_Int, CPyLit_Float, CPyLit_Complex, CPyLit_Tuple, CPyLit_FrozenSet) < 0) { + return -1; + } + is_initialized = 1; + return 0; +} + +PyObject *CPyStatics[1069]; +const char * const CPyLit_Str[] = { + "\006\016 via DankBatch\004name\abatcher\004step\037\"The batch has already been awaited\fRuntimeError\005start\acleanup", + "\006\006_batch\t__await__\tException\rGeneratorExit\rStopIteration\006append", + "\b\nskip_check\006extend\ais_full\fJSONRPCBatch\004next\005_done\003set\tMulticall", + "\b\fmake_request\bbuiltins\004Task\aasyncio\rTYPE_CHECKING\003Any\tAwaitable\005Final", + "\a\tGenerator\aTypeVar\005Union\005final\006typing\006a_sync\023dank_mids\\_batch.py", + "\004\b\025DankMidsInternalError\025dank_mids._exceptions\tgetLogger", + "\003\022dank_mids._logging\023dank_mids._requests\vRawResponse", + "\003\030dank_mids.helpers._codec\022log_internal_error\031dank_mids.helpers._errors", + "\b\nMulticalls\017dank_mids.types\003__T\004Coro\bMIN_SIZE\005CHECK\b__name__\006logger", + "\005\vcreate_task\020dank_mids._batch\017__mypyc_attrs__\ncontroller\nmulticalls", + "\005\trpc_calls\b_awaited\n_check_len\tDankBatch\025ENVIRONMENT_VARIABLES", + "\005\tdank_mids\024dank_mids._demo_mode\vDummyLogger\016dank_mids.demo\a_logger", + "\004\vdemo_logger\022dank_mids\\_envs.py\rEnvVarFactory\ntyped_envs", + "\005\016BlockSemaphore\024dank_mids.semaphores\bDANKMIDS\b_factory\tSemaphore", + "\004\031register_string_converter\023ProcessPoolExecutor\ncreate_env\tDANK_MIDS", + "\005\022_deprecated_format\020eth_utils.crypto\teth_utils\bto_bytes\006crypto", + "\a\tweb3.main\004web3\006to_hex\004main\026web3.middleware.filter\nmiddleware\006filter", + "\005\023web3.providers.base\tproviders\004base\024web3._utils.encoding\006_utils", + "\004\bencoding\022web3._utils.events\006events\027web3._utils.normalizers", + "\003\vnormalizers\033web3._utils.type_conversion\023ModuleNotFoundError", + "\006\017type_conversion\005lower\0030x1\0030x0\tbytearray\nmemoryview", + "\001aUnsupported type: The primitive argument must be one of: bytes,bytearray, int or bool and not str", + "\002\tTypeError\023Unsupported type: \'", + "\0016\'. Must be one of: bool, str, bytes, bytearray or int.", + "\001Rexpected a bool, int, byte or bytearray in first arg, or keyword of hexstr or text", + "\001 Value must be an instance of str", + "\002+Value must be an instance of str or unicode\000", + "\0043is_0x_prefixed requires text typed arguments. Got: \005{:{}}\006format\0020x", + "\a\0020X\bbinascii\027dank_mids\\_eth_utils.py\006AnyStr\bOptional\006HexStr\neth_typing", + "\a\ahexlify\tunhexlify\bresponse\rBaseException\005error\ato_dict\b__init__", + "\006\amessage\001:\032batch limit (\\d+) exceeded\006search\005super\frequest_info", + "\003\ahistory\006status\aheaders", + "\0030unhandled exception inside dank mids internals: \awarning\bexc_info", + "\003\023_original_exception\005calls\aresults", + "\001gThis will not mess up your run but will make things needlessly slow. Please show this to Bob.\nendpoint=", + "\a\bendpoint\020\nclient_version=\016client_version\a\ncalls=\003uid\n\nresponse=\004data", + "\006\ftry_again_in\alogging\002re\030dank_mids\\_exceptions.py\004List\bSequence", + "\003\023ClientResponseError\031aiohttp.client_exceptions\024dank_mids.exceptions", + "\006\nValueError\b__dict__\vBadResponse\nEmptyBatch\021ExecutionReverted\bOutOfGas", + "\005\017PayloadTooLarge\023ExceedsMaxBatchSize\arequest\004args\n_exception", + "\003\033DankMidsClientResponseError\016AttributeError\021UnboundLocalError", + "\003\023NotImplementedError\vSyntaxError\023_internal_err_types", + "\003\022internal_err_types\026BatchResponseSortError\016RateLimitError", + "\003\030ChainstackRateLimitError\026QuiknodeRateLimitError\025dank_mids\\_logging.py", + "\t\bCRITICAL\005FATAL\005ERROR\004WARN\aWARNING\004INFO\005DEBUG\006NOTSET\rAlertingRLock", + "\005\b__exit__\t__enter__\027dank_mids.helpers._lock\016dank_mids._uid\006_value", + "\a\005_lock\fUIDGenerator\bcall_uid\005_loop\020DebuggableFuture\004_fut\fget_response", + "\005\aGeneric\nmypyc_attr\017mypy_extensions\021dank_mids.helpers\f_RequestBase", + "\006\a__all__\005Batch\v__prepare__\t__slots__\v__weakref__\a__len__", + "\003\017__annotations__\026mypyc filler docstring\a__doc__", + "\005\030dank_mids._requests.base\n__module__\fnative_class\fabi_sub_tree\003map", + "\a\005items\004func\017strip_abi_types\bis_array\titem_type\tTupleType\ncomponents", + "\005\vto_type_str\026dank_mids\\_web3\\abi.py\tdataclass\vdataclasses\bCallable", + "\006\004Dict\005Tuple\aTypeStr\agrammar\016faster_eth_abi\aABIType", + "\006\026faster_eth_abi.grammar\002_T\nNormalizer\tMapperKey\fDataTreeFunc\bIterable", + "\006\aMapping\005parse\023dank_mids._web3.abi\005types\tFormatter\v_formatters", + "\005\017_data_tree_maps\021map_to_typed_data\babi_type\fABITypedData\006frozen", + "\002\034apply_abi_formatters_to_dict\030apply_formatter_at_index", + "\0032ABI definitions must be a list or dictionary, got \a{!r:{}}\003get", + "\005\freturn_as_is\acompose\020ERROR_FORMATTERS\026NULL_RESULT_FORMATTERS\bIterator", + "\003\030faster_eth_utils.curried\026faster_eth_utils.toolz\022METHOD_NORMALIZERS", + "\002\033PYTHONIC_REQUEST_FORMATTERS\024STANDARD_NORMALIZERS", + "\004\035web3._utils.method_formatters\bRPC_ABIS\023web3._utils.rpc_abi\nFormatters", + "\004\vRPCEndpoint\vRPCResponse\nweb3.types\rget_formatter", + "\003\026ABI_REQUEST_FORMATTERS\026REQUEST_FORMATTER_MAPS\023_request_formatters", + "\004\020SuccessFormatter\016ErrorFormatter\rNullFormatter\022ResponseFormatters", + "\005\024_response_formatters\bsuppress\ncontextlib\bAsyncEth\bweb3.eth", + "\003\027setup_dank_w3_from_sync\020DankContractCall\022DankContractMethod", + "\003\016DankContractTx\024DankOverloadedMethod\035dank_mids.brownie_patch.types", + "\005\aDankEth\rdank_mids.eth\bDankWeb3\032dank_mids.helpers._helpers\tdank_web3", + "\006\bdank_eth\vImportError\anetwork\abrownie\fis_connected\bContract", + "\005\016patch_contract dank_mids.brownie_patch.contract\003eth\003abi\tinput_sig", + "\t\tsignature\bKeyError\004type\005tuple\001(\001,\001)\areplace\006inputs", + "\006\023WeakValueDictionary\aweakref\004auto\beth_hash\fABIComponent\vABIFunction", + "\004\006Unpack\021typing_extensions\rmake_hashable\031dank_mids.helpers.hashing", + "\006\fSingletonKey\v_singletons\006keccak\vFunctionABI\fstaticmethod\tsingleton", + "\003\034dank_mids.brownie_patch._abi\004ENVS\031BROWNIE_ENCODER_PROCESSES", + "\005\016__encode_input\003run\031BROWNIE_DECODER_PROCESSES\017__decode_output\b_address", + "\004\017_skip_proc_pool\027_skip_decoder_proc_pool\021_get_coroutine_fn\nMethodType", + "\003\tcoroutine\r_call_no_args+Cannot use state override with `coroutine`.", + "\006\t__aexit__\n__aenter__\fencode_input\002to\004call\025InsufficientDataBytes", + "\005\027 when decoding response\006method\bcontract\005block\025_request_data_no_args", + "\002\f__contains__\021BrokenProcessPool", + "\0027Oh fuck, you broke the %s while decoding %s with abi %s\bcritical", + "\005\f_max_workers\030AsyncProcessPoolExecutor\rPicklingError\005_name\nstartswith", + "\004\001 \002: \nContract(\'\003\').", + "\0022 object has no attribute \'_skip_decoder_proc_pool\'\020DEBUG ME BRO: %s", + "\a\005debug\020get_type_strings\aoutputs\rDecodingError\006hexstr\n0x08c379a0\006string", + "\004\017Call reverted: \n0x4e487b71\024SOLIDITY_ERROR_CODES\023Panic (error code: ", + "\002\n0xc1b84b2f!Call reverted: execution reverted", + "\002/No data was returned - the call likely reverted\023VirtualMachineError", + "\b\026 requires no arguments\001\'\004\' - \aarrlist\004uint\003int\vfixed168x10\004bool", + "\005\aaddress\004byte\016Unknown type: \adecimal\037dank_mids\\brownie_patch\\call.py", + "\004\032concurrent.futures.process\006Logger\006pickle\aNewType", + "\002\031brownie.convert.datatypes\031brownie.convert.normalize", + "\004\030brownie.network.contract\bhexbytes\005chain\025brownie.convert.utils", + "\003\022brownie.exceptions\fContractCall!brownie.project.compiler.solidity", + "\004\031faster_eth_abi.exceptions\aAddress\fevmspec.data\tBytesLike", + "\003\rhexbytes.main\024MULTICALL2_ADDRESSES\023multicall.constants", + "\003\017BlockIdentifier\nexceptions\025lru_cache_lite_nonull", + "\004\033dank_mids.helpers.lru_cache\vapplication\020APPLICATION_MODE\bTypeStrs", + "\a\vListOrTuple\aAbiDict\aDecimal\bHexBytes\aconvert\tdatatypes\vReturnValue", + "\a\tnormalize\tHexString\006Revert\ato_bool\nto_decimal\006to_int\tto_string", + "\006\ato_uint\f_check_array\016_get_abi_types\006encode\006decode\bchecksum", + "\003\023to_checksum_address\020__eth_abi_encode\020__eth_abi_decode", + "\005*0xcA11bde05977b3631167028862bE2a173976CA11\002id\achainid\001e\003429", + "\003\nmulticall2 format_input_but_cache_checksums\fformat_input", + "\002!format_output_but_cache_checksums\rformat_output", + "\002!_format_array_but_cache_checksums\r_format_array", + "\002\"_format_single_but_cache_checksums\016_format_single", + "\003!_format_tuple_but_cache_checksums\r_format_tuple\021_get_fn_from_args", + "\001&Contract has more than one function \'.", + "\001BYou must explicitly declare which function you are calling, e.g. .", + "\a\a(*args)\n.coroutine\020block_identifier\bdecimals\boverride\005wraps\amethods", + "\004\006values\nContractTx\tfunctools\020OverloadedMethod", + "\006\034dank_mids.brownie_patch.call\006_owner\003256\anatspec\006update\bconstant", + "\006\017stateMutability\004view\004pure\fAccountsType\016brownie.typing\017ChecksumAddress", + "\004\v_DankMethod\020_DankMethodMixin\b_EVMType\037dank_mids.brownie_patch._method", + "\004\016ContractMethod\016_NonOverloaded\tgatherish\031dank_mids.helpers._gather", + "\004\rsetup_dank_w3\030dank_mids.helpers.future\016lru_cache_lite\rbetter_decode", + "\a\017PartialResponse\bResponse\r_decode_batch\nbit_length\003big\005rjust\beth_call", + "\b\rdecode_result\aRequest\amsgspec\003Raw\aDecoder\aLiteral\004Type\boverload", + "\004\033dank_mids\\helpers\\_codec.py\bdecoding\rdefault_codec\022faster_eth_abi.abi", + "\004\023DynamicArrayEncoder\fTupleEncoder\027faster_eth_abi.encoding\aEncoder", + "\005\fmsgspec.json\fStrEncodable\tEncodable\bRpcThing\016MulticallChunk", + "\004\020MulticallEncoder\aSuccess\020DecodedMulticall\020MulticallDecoder", + "\003\rtypes.Request\023JSONRPCBatchRequest\025types.PartialResponse", + "\004\024JSONRPCBatchResponse\fBatchDecoder\024ContextFramesBytesIO\vDecodeError", + "\006\rdecode_string\v_decode_raw\004_raw\f_encode_hook\benc_hook\t_registry", + "\004\030(bool,(address,bytes)[])\vget_encoder\016_mcall_encoder\bencoders", + "\005\016_array_encoder\fitem_encoder\r_item_encoder\016validate_value\f__encode_new", + "\002\025__encode_elements_new\017encode_elements", + "\003 (uint256,uint256,(bool,bytes)[])\vget_decoder\016_mcall_decoder", + "\001\022ContractLogicError", + "\001uThat\'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", + "\002\017invalid request\vparse error", + "\001eyour node says the partial request was invalid but its okay, we can use the full jsonrpc spec instead", + "\004\017web3.exceptions\020REVERT_SELECTORS\023dank_mids.constants\020dank_mids.errors", + "\005\ferror_logger\022error_logger_debug\004_log\020error_logger_log\areverts", + "\005\bgetChild\rrevert_logger\021revert_logger_log\btimeouts\016timeout_logger", + "\004\024timeout_logger_debug\026timeout_logger_warning\003gas\ngas_logger", + "\004\020gas_logger_debug\016invalid opcode\021missing trie node\022resource not found", + "\002\026invalid ether transfer\034error processing call revert", + "\004\036INDIVIDUAL_CALL_REVERT_STRINGS\004loop\017FIRST_COMPLETED\vreturn_when", + "\005\006cancel\034dank_mids\\helpers\\_gather.py\tCoroutine\003Set\016a_sync.asyncio", + "\005\023asyncio.Future[__T]\rFinishedTasks\fPendingTasks\020get_running_loop\004wait", + "\b\006sleep0\ryield_to_loop\002([\002, \004repr\002])\003any\f_gc_callback", + "\004\035list.remove(x): x not in list\003pop\003ref\nGCCallback", + "\003\033dank_mids.helpers._weaklist\005_refs\bWeakList", + "\0015checking if we should reduce %s batch size... (%s %s)", + "\005\024dank_mids.batch_size\021batch_size_logger\004info\t_log_info\v__setattr__", + "\002\006pretty\bHashable\027Found unhashable type \'\003\': \016dispatch_cache", + "\004\n_find_impl\t_to_tuple\034dank_mids\\helpers\\hashing.py\017collections.abc", + "\b\tItemsView\bKeysView\nValuesView\004TKey\005bound\006TValue\006__hash\rAttributeDict", + "\0030__mypyc_singledispatch_main_function__to_tuple__\006object\bregistry", + "\005\005clear\023lru_cache_lite_wrap\005cache\tParamSpec\003__P", + "\003\031eth_getTransactionReceipt\022eth_getTransaction\veth_getCode", + "\005\016eth_getBlockBy\017eth_blockNumber\veth_getLogs\006trace_\006debug_", + "\003\016BYPASS_METHODS\aget_len\fshould_batch", + "\004$jsonrpc batch failed\njson batch id: \003jid\b | len: \020 | total calls: ", + "\005\vtotal_calls\001\n\020methods called: \rmethod_counts\fisEnabledFor", + "\005\rCOLLECT_STATS\004time\006 took \f_log_nocheck\nevent_loop", + "\004\033MULTICALL_DECODER_PROCESSES\005queue\031_StatsLogger debug daemon\004done", + "\001\texception", + "\001mValidationError when decoding response for %s. This *should* not impact your script. If it does, you\'ll know.", + "\006\025my method and types: \flist types: \005deque\006maxlen\vdefaultdict\003sum", + "\004\rdefault_value\tsemaphore\b_waiters\f_queue_count", + "\002\031Average event loop time: \037 brownie calls are processing, ", + "\005\024 are queued in None.\005 has \023 items in its queue\bdeepcopy\r__traceback__", + "\005\016with_traceback\bcallable\031Unable to set sentry tag \004 to \006. See ", + "\004\t__class__\a below:\020active_eth_calls\032count_active_brownie_calls", + "\003\020queued_eth_calls\032count_queued_brownie_calls\rencoder_queue", + "\004\021encoder_queue_len\rdecoder_queue\021decoder_queue_len\tloop_time", + "\006\ravg_loop_time\aseconds\n_nocompile\aset_tag\017set_measurement\003exc", + "\004\033dank_mids\\stats\\__init__.py\vcollections\022concurrent.futures\004copy", + "\003\vDefaultDict\005Deque\"_ENVIRONMENT_VARIABLES_SET_BY_USER", + "\a\023typed_envs.registry\017dank_mids.stats\t_LogLevel\001T\005STATS\aDEVHINT\005_ENVS", + "\006\a_daemon\f_StatsLogger\006_Times\ferrd_batches\tdurations\020event_loop_times", + "\006\021validation_errors\n_Collector\a_Writer\ametrics\005units\004_exc", + "\a\017_SentryExporter\005stats\003log\adevhint\tcollector\006sentry\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", + "\002\030MULTICALL2_OVERRIDE_CODE\023MULTICALL3_BYTECODE", + "\004\032__MULTICALL3_OVERRIDE_CODE\030MULTICALL3_OVERRIDE_CODE\aMainnet\006Fantom", + "\004\bArbitrum\bOptimism\030MULTICALL2_DEPLOY_BLOCKS\004Base", + "\001\030MULTICALL3_DEPLOY_BLOCKS", + "\001\201J0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000094e6f206163636573730000000000000000000000000000000000000000000000", + "\001\201J0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e6d696e7420697320706175736564000000000000000000000000000000000000", + "\001\201J0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000016496e76616c6964206574686572207472616e7366657200000000000000000000", + "\001\201J0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e4e4f4e5f454d5054595f44415441000000000000000000000000000000000000", + "\001\202\n0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000246d73672e736967206973206e6f742061737369676e656420746f207375626d6f64756c6500000000000000000000000000000000000000000000000000000000", + "\001\202\n0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000346f6e6c792077726170706564206e617469766520636f6e747261637420636f756c642073656e64206e617469766520746f6b656e000000000000000000000000", + "\001\201J0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000013434f4e54524f4c4c45525f52454a454354454400000000000000000000000000", + "\001\201J0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000204469616d6f6e643a2046756e6374696f6e20646f6573206e6f74206578697374", + "\001\201J0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a66756e6374696f6e2073686f756c6420626520616c6c6f776564000000000000", + "\001\201J0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001846756e6374696f6e20646f6573206e6f742065786973742e0000000000000000", + "\004\tBAD_HEXES\rStreamHandler\"dank_mids\\ENVIRONMENT_VARIABLES.py\005_envs", + "\005\rOperationMode\017dank_mids._mode\016dank_mids.envs\bdisabled\vhasHandlers", + "\002\naddHandler\bsetLevel", + "\001kFor your information, you can tweak your configuration for optimal performance using any of the envs below:", + "\005\016OPERATION_MODE\006infura\adefault\averbose\022MAX_MULTICALL_SIZE", + "\003\026MAX_JSONRPC_BATCH_SIZE\023REQUESTS_PER_SECOND\027MIN_REQUESTS_PER_SECOND", + "\005\tDEMO_MODE\tdemo_mode\fGANACHE_FORK\fganache_fork\017AIOHTTP_TIMEOUT", + "\003\026BROWNIE_CALL_SEMAPHORE\021brownie_semaphore\031BROWNIE_ENCODER_SEMAPHORE", + "\004\016_default_value\021COLLECTION_FACTOR\020USE_FULL_REQUEST\fEXPORT_STATS", + "\003\022STUCK_CALL_TIMEOUT\022ETH_CALL_SEMAPHORE\feth_getBlock", + "\003\026ETH_GETBLOCK_SEMAPHORE\025ETH_GETCODE_SEMAPHORE\021method_semaphores", + "\001\?More details can be found in dank_mids/ENVIRONMENT_VARIABLES.py", + "\001XNOTE: You can disable these logs by setting the `TYPEDENVS_SHUTUP` env var to any value.", + "\001QUnless you know what you\'re doing, dank mids should be run in infura mode for now", + "\002\fprocess_pool\027You cannot set env var ", + "\001# while running dank in infura mode.", + "", +}; +const char * const CPyLit_Bytes[] = { + "\006\001\001\001\000\020Unexpected error\000\004\b\303y\240\b4e487b71", + "", +}; +const char * const CPyLit_Int[] = { + "\0250\0001\00050\00040\00030\00020\00010\0008\0004\00016\000-1\00032\00013\00015\00050000\000100\000500\00012336033\00016572242\000821923\000722566", + "\f14353601\00033001987\0007654707\0004286263\0005022\00010000\0001200\000100000\0002\000120\0001000\0005000", + "", +}; +const double CPyLit_Float[] = {0}; +const double CPyLit_Complex[] = {0}; +const int CPyLit_Tuple[] = { + 163, 1, 4, 1, 13, 1, 20, 1, 30, 8, 32, 33, 34, 35, 36, 37, 38, 39, + 3, 41, 41, 41, 1, 910, 1, 44, 1, 46, 2, 23, 27, 1, 49, 1, 51, 1, 53, + 3, 33, 35, 39, 1, 70, 1, 35, 1, 78, 1, 80, 3, 132, 132, 132, 1, 923, + 4, 33, 134, 35, 135, 1, 136, 3, 152, 145, 153, 1, 156, 3, 169, 169, + 169, 3, 170, 170, 170, 2, 929, 930, 6, 32, 35, 172, 173, 38, 39, 1, + 174, 1, 929, 1, 208, 7, 32, 33, 35, 36, 221, 135, 38, 1, 222, 1, 218, + 1, 237, 3, 40, 40, 40, 1, 940, 1, 249, 9, 33, 251, 252, 35, 172, 135, + 253, 37, 39, 1, 254, 1, 255, 2, 257, 245, 1, 274, 10, 33, 251, 252, + 35, 284, 172, 173, 253, 37, 38, 1, 276, 1, 281, 5, 282, 287, 283, 288, + 289, 2, 291, 275, 3, 293, 294, 295, 1, 297, 1, 306, 1, 308, 1, 310, 4, + 311, 312, 313, 314, 1, 316, 1, 318, 2, 323, 95, 2, 326, 327, 8, 33, + 252, 35, 172, 135, 173, 253, 39, 1, 341, 1, 343, 2, 345, 346, 1, 347, + 1, 349, 3, 424, 424, 424, 1, 969, 1, 384, 1, 427, 1, 389, 1, 368, 12, + 32, 33, 251, 252, 35, 172, 429, 135, 173, 253, 37, 38, 3, 430, 324, + 324, 3, 431, 324, 324, 3, 432, 324, 324, 3, 256, 256, 256, 3, 433, + 433, 433, 5, 976, 977, 978, 979, 980, 1, 388, 1, 434, 1, 257, 1, 399, + 1, 412, 1, 437, 1, 407, 2, 401, 377, 1, 440, 1, 442, 1, 444, 1, 446, + 1, 358, 1, 447, 1, 448, 1, 500, 4, 33, 252, 135, 38, 1, 326, 3, 437, + 503, 505, 2, 367, 365, 7, 33, 252, 135, 253, 37, 38, 39, 1, 515, 1, + 517, 3, 518, 519, 520, 1, 524, 2, 526, 310, 2, 528, 448, 1, 334, 4, + 530, 538, 531, 529, 1, 530, 18, 32, 33, 134, 251, 252, 35, 263, 172, + 542, 264, 135, 38, 253, 543, 37, 38, 39, 544, 3, 539, 539, 539, 2, + 980, 1013, 2, 517, 136, 1, 546, 1, 547, 2, 549, 550, 2, 541, 552, 1, + 573, 3, 32, 33, 35, 1, 589, 1, 179, 2, 206, 46, 1, 595, 2, 619, 4, 1, + 621, 3, 31, 31, 31, 1, 1028, 10, 624, 35, 263, 542, 135, 625, 253, 37, + 38, 544, 3, 626, 41, 41, 1, 1031, 10, 33, 251, 252, 35, 221, 263, 284, + 135, 37, 39, 1, 642, 2, 35, 542, 3, 504, 504, 504, 1, 1036, 1, 657, + 15, 33, 252, 35, 665, 284, 666, 172, 264, 135, 173, 253, 37, 38, 667, + 39, 1, 669, 3, 251, 252, 37, 1, 679, 1, 715, 1, 61, 2, 716, 714, 1, + 86, 1, 727, 1, 702, 12, 32, 33, 251, 755, 756, 35, 263, 625, 253, 543, + 37, 39, 1, 1013, 1, 632, 1, 757, 1, 294, 1, 747, 2, 252, 35, 3, 445, + 783, 783, 1, 1056, 1, 785, 1, 786, 1, 823, 3, 79, 79, 79, 2, 910, + 1061, 1, 825, 2, 205, 46, 1, 826, 2, 836, 837, 1, 836 +}; +const int CPyLit_FrozenSet[] = {1, 2, 682, 683}; +CPyModule *CPyModule_dank_mids____batch__internal = NULL; +CPyModule *CPyModule_dank_mids____batch; +PyObject *CPyStatic__batch___globals; +CPyModule *CPyModule_builtins; +CPyModule *CPyModule_asyncio; +CPyModule *CPyModule_typing; +CPyModule *CPyModule_a_sync; +CPyModule *CPyModule_dank_mids____exceptions__internal = NULL; +CPyModule *CPyModule_dank_mids____exceptions; +CPyModule *CPyModule_dank_mids____logging__internal = NULL; +CPyModule *CPyModule_dank_mids____logging; +CPyModule *CPyModule_dank_mids____requests; +CPyModule *CPyModule_dank_mids___helpers____codec__internal = NULL; +CPyModule *CPyModule_dank_mids___helpers____codec; +CPyModule *CPyModule_dank_mids___helpers____errors__internal = NULL; +CPyModule *CPyModule_dank_mids___helpers____errors; +CPyModule *CPyModule_dank_mids___types; +CPyModule *CPyModule_dank_mids____demo_mode__internal = NULL; +CPyModule *CPyModule_dank_mids____demo_mode; +PyObject *CPyStatic__demo_mode___globals; +CPyModule *CPyModule_dank_mids; +CPyModule *CPyModule_dank_mids____envs__internal = NULL; +CPyModule *CPyModule_dank_mids____envs; +PyObject *CPyStatic__envs___globals; +CPyModule *CPyModule_typed_envs; +CPyModule *CPyModule_dank_mids___semaphores; +CPyModule *CPyModule_dank_mids____eth_utils__internal = NULL; +CPyModule *CPyModule_dank_mids____eth_utils; +PyObject *CPyStatic__eth_utils___globals; +CPyModule *CPyModule_binascii; +CPyModule *CPyModule_eth_typing; +CPyModule *CPyModule_eth_utils___crypto; +CPyModule *CPyModule_web3___main; +CPyModule *CPyModule_web3___middleware___filter; +CPyModule *CPyModule_web3___providers___base; +CPyModule *CPyModule_web3____utils___encoding; +CPyModule *CPyModule_web3____utils___events; +CPyModule *CPyModule_web3____utils___normalizers; +CPyModule *CPyModule_web3____utils___type_conversion; +PyObject *CPyStatic__exceptions___globals; +CPyModule *CPyModule_logging; +CPyModule *CPyModule_re; +CPyModule *CPyModule_aiohttp___client_exceptions; +PyObject *CPyStatic__logging___globals; +CPyModule *CPyModule_dank_mids____uid__internal = NULL; +CPyModule *CPyModule_dank_mids____uid; +PyObject *CPyStatic__uid___globals; +CPyModule *CPyModule_dank_mids___helpers____lock; +CPyModule *CPyModule_dank_mids____requests___base__internal = NULL; +CPyModule *CPyModule_dank_mids____requests___base; +PyObject *CPyStatic_base___globals; +CPyModule *CPyModule_mypy_extensions; +CPyModule *CPyModule_dank_mids___helpers__internal = NULL; +CPyModule *CPyModule_dank_mids___helpers; +CPyModule *CPyModule_dank_mids____web3___abi__internal = NULL; +CPyModule *CPyModule_dank_mids____web3___abi; +PyObject *CPyStatic_abi___globals; +CPyModule *CPyModule_dataclasses; +CPyModule *CPyModule_faster_eth_abi; +CPyModule *CPyModule_faster_eth_abi___grammar; +CPyModule *CPyModule_dank_mids____web3___formatters__internal = NULL; +CPyModule *CPyModule_dank_mids____web3___formatters; +PyObject *CPyStatic_formatters___globals; +CPyModule *CPyModule_faster_eth_utils___curried; +CPyModule *CPyModule_faster_eth_utils___toolz; +CPyModule *CPyModule_web3____utils___method_formatters; +CPyModule *CPyModule_web3____utils___rpc_abi; +CPyModule *CPyModule_web3___types; +CPyModule *CPyModule_dank_mids___brownie_patch__internal = NULL; +CPyModule *CPyModule_dank_mids___brownie_patch; +PyObject *CPyStatic_brownie_patch___globals; +CPyModule *CPyModule_contextlib; +CPyModule *CPyModule_web3___eth; +CPyModule *CPyModule_dank_mids___brownie_patch___types__internal = NULL; +CPyModule *CPyModule_dank_mids___brownie_patch___types; +CPyModule *CPyModule_dank_mids___eth; +CPyModule *CPyModule_dank_mids___helpers____helpers; +CPyModule *CPyModule_brownie; +CPyModule *CPyModule_dank_mids___brownie_patch___contract; +CPyModule *CPyModule_dank_mids___brownie_patch____abi__internal = NULL; +CPyModule *CPyModule_dank_mids___brownie_patch____abi; +PyObject *CPyStatic__abi___globals; +CPyModule *CPyModule_weakref; +CPyModule *CPyModule_eth_hash; +CPyModule *CPyModule_typing_extensions; +CPyModule *CPyModule_dank_mids___helpers___hashing__internal = NULL; +CPyModule *CPyModule_dank_mids___helpers___hashing; +CPyModule *CPyModule_dank_mids___brownie_patch___call__internal = NULL; +CPyModule *CPyModule_dank_mids___brownie_patch___call; +PyObject *CPyStatic_call___globals; +CPyModule *CPyModule_decimal; +CPyModule *CPyModule_concurrent___futures___process; +CPyModule *CPyModule_pickle; +CPyModule *CPyModule_types; +CPyModule *CPyModule_brownie___convert___datatypes; +CPyModule *CPyModule_brownie___convert___normalize; +CPyModule *CPyModule_brownie___network___contract; +CPyModule *CPyModule_hexbytes; +CPyModule *CPyModule_brownie___convert___utils; +CPyModule *CPyModule_brownie___exceptions; +CPyModule *CPyModule_brownie___project___compiler___solidity; +CPyModule *CPyModule_faster_eth_abi___exceptions; +CPyModule *CPyModule_evmspec___data; +CPyModule *CPyModule_hexbytes___main; +CPyModule *CPyModule_multicall___constants; +CPyModule *CPyModule_dank_mids___helpers___lru_cache__internal = NULL; +CPyModule *CPyModule_dank_mids___helpers___lru_cache; +CPyModule *CPyModule_dank_mids___brownie_patch___overloaded__internal = NULL; +CPyModule *CPyModule_dank_mids___brownie_patch___overloaded; +PyObject *CPyStatic_overloaded___globals; +CPyModule *CPyModule_functools; +PyObject *CPyStatic_types___globals; +CPyModule *CPyModule_brownie___typing; +CPyModule *CPyModule_dank_mids___brownie_patch____method; +PyObject *CPyStatic_helpers___globals; +CPyModule *CPyModule_dank_mids___helpers____gather__internal = NULL; +CPyModule *CPyModule_dank_mids___helpers____gather; +CPyModule *CPyModule_dank_mids___helpers___future; +PyObject *CPyStatic__codec___globals; +CPyModule *CPyModule_msgspec; +CPyModule *CPyModule_faster_eth_abi___abi; +CPyModule *CPyModule_faster_eth_abi___encoding; +CPyModule *CPyModule_msgspec___json; +PyObject *CPyStatic__errors___globals; +CPyModule *CPyModule_web3___exceptions; +CPyModule *CPyModule_dank_mids___constants__internal = NULL; +CPyModule *CPyModule_dank_mids___constants; +PyObject *CPyStatic__gather___globals; +CPyModule *CPyModule_a_sync___asyncio; +CPyModule *CPyModule_dank_mids___helpers____weaklist__internal = NULL; +CPyModule *CPyModule_dank_mids___helpers____weaklist; +PyObject *CPyStatic__weaklist___globals; +CPyModule *CPyModule_dank_mids___helpers___batch_size__internal = NULL; +CPyModule *CPyModule_dank_mids___helpers___batch_size; +PyObject *CPyStatic_batch_size___globals; +PyObject *CPyStatic_hashing___globals; +CPyModule *CPyModule_collections___abc; +PyObject *CPyStatic_lru_cache___globals; +CPyModule *CPyModule_dank_mids___helpers___method__internal = NULL; +CPyModule *CPyModule_dank_mids___helpers___method; +PyObject *CPyStatic_method___globals; +CPyModule *CPyModule_dank_mids___stats__internal = NULL; +CPyModule *CPyModule_dank_mids___stats; +PyObject *CPyStatic_stats___globals; +CPyModule *CPyModule_collections; +CPyModule *CPyModule_concurrent___futures; +CPyModule *CPyModule_copy; +CPyModule *CPyModule_time; +CPyModule *CPyModule_typed_envs___registry; +PyObject *CPyStatic_constants___globals; +CPyModule *CPyModule_dank_mids___ENVIRONMENT_VARIABLES__internal = NULL; +CPyModule *CPyModule_dank_mids___ENVIRONMENT_VARIABLES; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___globals; +CPyModule *CPyModule_dank_mids____mode; +PyObject *CPyStatic__batch___logger = NULL; +PyObject *CPyStatic__batch___create_task = NULL; +PyTypeObject *CPyType__batch___DankBatch; +PyObject *CPyDef__batch___DankBatch(PyObject *cpy_r_controller, PyObject *cpy_r_multicalls, PyObject *cpy_r_rpc_calls); +PyTypeObject *CPyType__batch____await_DankBatch_gen; +PyObject *CPyDef__batch____await_DankBatch_gen(void); +CPyThreadLocal dank_mids____batch____await_DankBatch_genObject *_batch____await_DankBatch_gen_free_instance; +PyTypeObject *CPyType__batch___coroutines_DankBatch_gen; +PyObject *CPyDef__batch___coroutines_DankBatch_gen(void); +CPyThreadLocal dank_mids____batch___coroutines_DankBatch_genObject *_batch___coroutines_DankBatch_gen_free_instance; +PyObject *CPyDef__batch____create_named_task(PyObject *cpy_r_awaitable); +PyObject *CPyPy__batch____create_named_task(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__batch___DankBatch_____init__(PyObject *cpy_r_self, PyObject *cpy_r_controller, PyObject *cpy_r_multicalls, PyObject *cpy_r_rpc_calls); +PyObject *CPyPy__batch___DankBatch_____init__(PyObject *self, PyObject *args, PyObject *kw); +PyObject *CPyDef__batch___DankBatch_____repr__(PyObject *cpy_r_self); +PyObject *CPyPy__batch___DankBatch_____repr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__batch___DankBatch_____await__(PyObject *cpy_r_self); +PyObject *CPyPy__batch___DankBatch_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__batch____await_DankBatch_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +PyObject *CPyDef__batch____await_DankBatch_gen_____next__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__batch____await_DankBatch_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__batch____await_DankBatch_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +PyObject *CPyPy__batch____await_DankBatch_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__batch____await_DankBatch_gen_____iter__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__batch____await_DankBatch_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__batch____await_DankBatch_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +PyObject *CPyPy__batch____await_DankBatch_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__batch____await_DankBatch_gen___close(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__batch____await_DankBatch_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__batch____await_DankBatch_gen_____await__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__batch____await_DankBatch_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__batch___DankBatch____await(PyObject *cpy_r_self); +PyObject *CPyPy__batch___DankBatch____await(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__batch___coroutines_DankBatch_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +PyObject *CPyDef__batch___coroutines_DankBatch_gen_____next__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__batch___coroutines_DankBatch_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__batch___coroutines_DankBatch_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +PyObject *CPyPy__batch___coroutines_DankBatch_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__batch___coroutines_DankBatch_gen_____iter__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__batch___coroutines_DankBatch_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__batch___coroutines_DankBatch_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +PyObject *CPyPy__batch___coroutines_DankBatch_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__batch___coroutines_DankBatch_gen___close(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__batch___coroutines_DankBatch_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__batch___DankBatch___coroutines(PyObject *cpy_r_self); +PyObject *CPyPy__batch___DankBatch___coroutines(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__batch_____top_level__(void); +PyObject *CPyStatic__demo_mode___demo_logger = NULL; +PyTypeObject *CPyType__demo_mode___DummyLogger; +PyObject *CPyDef__demo_mode___DummyLogger(void); +char CPyDef__demo_mode___DummyLogger___info(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +PyObject *CPyPy__demo_mode___DummyLogger___info(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__demo_mode_____top_level__(void); +PyObject *CPyStatic__envs____factory = NULL; +PyObject *CPyStatic__envs___create_env = NULL; +PyObject *CPyStatic__envs____deprecated_format = NULL; +char CPyDef__envs_____top_level__(void); +PyObject *CPyStatic__eth_utils___hexlify = NULL; +PyObject *CPyStatic__eth_utils___unhexlify = NULL; +char CPyDef__eth_utils___patch_eth_utils(void); +PyObject *CPyPy__eth_utils___patch_eth_utils(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__eth_utils___to_hex(PyObject *cpy_r_primitive, PyObject *cpy_r_hexstr, PyObject *cpy_r_text); +PyObject *CPyPy__eth_utils___to_hex(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__eth_utils___to_bytes(PyObject *cpy_r_primitive, PyObject *cpy_r_hexstr, PyObject *cpy_r_text); +PyObject *CPyPy__eth_utils___to_bytes(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__eth_utils___decode_hex(PyObject *cpy_r_value); +PyObject *CPyPy__eth_utils___decode_hex(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__eth_utils___encode_hex(PyObject *cpy_r_value); +PyObject *CPyPy__eth_utils___encode_hex(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__eth_utils___is_0x_prefixed(PyObject *cpy_r_value); +PyObject *CPyPy__eth_utils___is_0x_prefixed(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__eth_utils___remove_0x_prefix(PyObject *cpy_r_value); +PyObject *CPyPy__eth_utils___remove_0x_prefix(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__eth_utils___add_0x_prefix(PyObject *cpy_r_value); +PyObject *CPyPy__eth_utils___add_0x_prefix(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__eth_utils_____top_level__(void); +PyObject *CPyStatic__exceptions___logger = NULL; +PyObject *CPyStatic__exceptions___internal_err_types = NULL; +PyTypeObject *CPyType__exceptions___BadResponse; +PyTypeObject *CPyType__exceptions___EmptyBatch; +PyTypeObject *CPyType__exceptions___ExecutionReverted; +PyTypeObject *CPyType__exceptions___OutOfGas; +PyTypeObject *CPyType__exceptions___PayloadTooLarge; +PyTypeObject *CPyType__exceptions___ExceedsMaxBatchSize; +PyTypeObject *CPyType__exceptions___DankMidsClientResponseError; +PyObject *CPyDef__exceptions___DankMidsClientResponseError(PyObject *cpy_r_exc, PyObject *cpy_r_request); +PyTypeObject *CPyType__exceptions___DankMidsInternalError; +PyTypeObject *CPyType__exceptions___BatchResponseSortError; +PyTypeObject *CPyType__exceptions___RateLimitError; +PyTypeObject *CPyType__exceptions___ChainstackRateLimitError; +PyTypeObject *CPyType__exceptions___QuiknodeRateLimitError; +char CPyDef__exceptions___BadResponse_____init__(PyObject *cpy_r_self, PyObject *cpy_r_response); +PyObject *CPyPy__exceptions___BadResponse_____init__(PyObject *self, PyObject *args, PyObject *kw); +char CPyDef__exceptions___ExecutionReverted_____init__(PyObject *cpy_r_self, PyObject *cpy_r_response); +PyObject *CPyPy__exceptions___ExecutionReverted_____init__(PyObject *self, PyObject *args, PyObject *kw); +CPyTagged CPyDef__exceptions___ExceedsMaxBatchSize___limit(PyObject *cpy_r_self); +PyObject *CPyPy__exceptions___ExceedsMaxBatchSize___limit(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__exceptions___DankMidsClientResponseError_____init__(PyObject *cpy_r_self, PyObject *cpy_r_exc, PyObject *cpy_r_request); +PyObject *CPyPy__exceptions___DankMidsClientResponseError_____init__(PyObject *self, PyObject *args, PyObject *kw); +char CPyDef__exceptions___DankMidsInternalError_____init__(PyObject *cpy_r_self, PyObject *cpy_r_exc); +PyObject *CPyPy__exceptions___DankMidsInternalError_____init__(PyObject *self, PyObject *args, PyObject *kw); +char CPyDef__exceptions___BatchResponseSortError_____init__(PyObject *cpy_r_self, PyObject *cpy_r_controller, PyObject *cpy_r_calls, PyObject *cpy_r_response); +PyObject *CPyPy__exceptions___BatchResponseSortError_____init__(PyObject *self, PyObject *args, PyObject *kw); +double CPyDef__exceptions___ChainstackRateLimitError___try_again_in(PyObject *cpy_r_self); +PyObject *CPyPy__exceptions___ChainstackRateLimitError___try_again_in(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__exceptions_____top_level__(void); +PyObject *CPyStatic__logging___getLogger = NULL; +CPyTagged CPyStatic__logging___CRITICAL = CPY_INT_TAG; +CPyTagged CPyStatic__logging___FATAL = CPY_INT_TAG; +CPyTagged CPyStatic__logging___ERROR = CPY_INT_TAG; +CPyTagged CPyStatic__logging___WARN = CPY_INT_TAG; +CPyTagged CPyStatic__logging___WARNING = CPY_INT_TAG; +CPyTagged CPyStatic__logging___INFO = CPY_INT_TAG; +CPyTagged CPyStatic__logging___DEBUG = CPY_INT_TAG; +CPyTagged CPyStatic__logging___NOTSET = CPY_INT_TAG; +char CPyDef__logging_____top_level__(void); +PyTypeObject *CPyType__uid___UIDGenerator; +PyObject *CPyDef__uid___UIDGenerator(void); +char CPyDef__uid___UIDGenerator_____init__(PyObject *cpy_r_self); +PyObject *CPyPy__uid___UIDGenerator_____init__(PyObject *self, PyObject *args, PyObject *kw); +CPyTagged CPyDef__uid___UIDGenerator___latest(PyObject *cpy_r_self); +PyObject *CPyPy__uid___UIDGenerator___latest(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +CPyTagged CPyDef__uid___UIDGenerator___next(PyObject *cpy_r_self); +PyObject *CPyPy__uid___UIDGenerator___next(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__uid_____top_level__(void); +PyTypeObject *CPyType_base____RequestBase; +PyTypeObject *CPyType_base_____init___3__RequestBase_obj; +PyObject *CPyDef_base_____init___3__RequestBase_obj(void); +CPyThreadLocal dank_mids____requests___base_____init___3__RequestBase_objObject *base_____init___3__RequestBase_obj_free_instance; +PyTypeObject *CPyType_base_____await___3__RequestBase_obj; +PyObject *CPyDef_base_____await___3__RequestBase_obj(void); +CPyThreadLocal dank_mids____requests___base_____await___3__RequestBase_objObject *base_____await___3__RequestBase_obj_free_instance; +PyTypeObject *CPyType_base_____len___3__RequestBase_obj; +PyObject *CPyDef_base_____len___3__RequestBase_obj(void); +CPyThreadLocal dank_mids____requests___base_____len___3__RequestBase_objObject *base_____len___3__RequestBase_obj_free_instance; +PyTypeObject *CPyType_base___get_response__RequestBase_obj; +PyObject *CPyDef_base___get_response__RequestBase_obj(void); +CPyThreadLocal dank_mids____requests___base___get_response__RequestBase_objObject *base___get_response__RequestBase_obj_free_instance; +PyTypeObject *CPyType_base___get_response__RequestBase_gen; +PyObject *CPyDef_base___get_response__RequestBase_gen(void); +CPyThreadLocal dank_mids____requests___base___get_response__RequestBase_genObject *base___get_response__RequestBase_gen_free_instance; +PyObject *CPyDef_base_____init___3__RequestBase_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy_base_____init___3__RequestBase_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_base_____init___3__RequestBase_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_controller, PyObject *cpy_r_uid); +PyObject *CPyPy_base_____init___3__RequestBase_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_base_____await___3__RequestBase_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy_base_____await___3__RequestBase_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_base_____await___3__RequestBase_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self); +PyObject *CPyPy_base_____await___3__RequestBase_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_base_____len___3__RequestBase_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy_base_____len___3__RequestBase_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +CPyTagged CPyDef_base_____len___3__RequestBase_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self); +PyObject *CPyPy_base_____len___3__RequestBase_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_base___get_response__RequestBase_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy_base___get_response__RequestBase_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_base___get_response__RequestBase_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +PyObject *CPyDef_base___get_response__RequestBase_gen_____next__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_base___get_response__RequestBase_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_base___get_response__RequestBase_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +PyObject *CPyPy_base___get_response__RequestBase_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_base___get_response__RequestBase_gen_____iter__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_base___get_response__RequestBase_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_base___get_response__RequestBase_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +PyObject *CPyPy_base___get_response__RequestBase_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_base___get_response__RequestBase_gen___close(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_base___get_response__RequestBase_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_base___get_response__RequestBase_gen_____await__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_base___get_response__RequestBase_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_base___get_response__RequestBase_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self); +PyObject *CPyPy_base___get_response__RequestBase_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_base_____top_level__(void); +PyObject *CPyStatic_abi___Iterable = NULL; +PyObject *CPyStatic_abi___Mapping = NULL; +PyObject *CPyStatic_abi___parse = NULL; +PyObject *CPyStatic_abi____formatters = NULL; +PyObject *CPyStatic_abi____data_tree_maps = NULL; +PyTypeObject *CPyType_abi___Formatter; +PyObject *CPyDef_abi___Formatter(PyObject *cpy_r_normalizers, PyObject *cpy_r_types); +PyTypeObject *CPyType_abi___map_to_typed_data; +PyObject *CPyDef_abi___map_to_typed_data(PyObject *cpy_r_func); +PyTypeObject *CPyType_abi___ABITypedData; +PyObject *CPyDef_abi___ABITypedData(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +char CPyDef_abi___Formatter_____init__(PyObject *cpy_r_self, PyObject *cpy_r_normalizers, PyObject *cpy_r_types); +PyObject *CPyPy_abi___Formatter_____init__(PyObject *self, PyObject *args, PyObject *kw); +PyObject *CPyDef_abi___Formatter_____call__(PyObject *cpy_r_self, PyObject *cpy_r_data); +PyObject *CPyPy_abi___Formatter_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_abi___get_formatter(PyObject *cpy_r_normalizers, PyObject *cpy_r_types); +PyObject *CPyPy_abi___get_formatter(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_abi___get_data_tree_map(PyObject *cpy_r_func); +PyObject *CPyPy_abi___get_data_tree_map(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_abi___map_to_typed_data_____init__(PyObject *cpy_r_self, PyObject *cpy_r_func); +PyObject *CPyPy_abi___map_to_typed_data_____init__(PyObject *self, PyObject *args, PyObject *kw); +PyObject *CPyDef_abi___map_to_typed_data_____call__(PyObject *cpy_r_self, PyObject *cpy_r_elements); +PyObject *CPyPy_abi___map_to_typed_data_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_abi___strip_abi_types(PyObject *cpy_r_data); +PyObject *CPyPy_abi___strip_abi_types(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_abi___abi_sub_tree(PyObject *cpy_r_abi_type, PyObject *cpy_r_data_value); +PyObject *CPyPy_abi___abi_sub_tree(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_abi_____top_level__(void); +PyObject *CPyStatic_formatters___ABI_REQUEST_FORMATTERS = NULL; +tuple_T3OOO CPyStatic_formatters___REQUEST_FORMATTER_MAPS = { NULL, NULL, NULL }; +PyObject *CPyStatic_formatters____request_formatters = NULL; +PyObject *CPyStatic_formatters____response_formatters = NULL; +PyTypeObject *CPyType_formatters___abi_request_formatters_gen; +PyObject *CPyDef_formatters___abi_request_formatters_gen(void); +CPyThreadLocal dank_mids____web3___formatters___abi_request_formatters_genObject *formatters___abi_request_formatters_gen_free_instance; +PyObject *CPyDef_formatters___return_as_is(PyObject *cpy_r_x); +PyObject *CPyPy_formatters___return_as_is(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_formatters___abi_request_formatters_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +PyObject *CPyDef_formatters___abi_request_formatters_gen_____next__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_formatters___abi_request_formatters_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_formatters___abi_request_formatters_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +PyObject *CPyPy_formatters___abi_request_formatters_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_formatters___abi_request_formatters_gen_____iter__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_formatters___abi_request_formatters_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_formatters___abi_request_formatters_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +PyObject *CPyPy_formatters___abi_request_formatters_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_formatters___abi_request_formatters_gen___close(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_formatters___abi_request_formatters_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_formatters___abi_request_formatters(PyObject *cpy_r_normalizers, PyObject *cpy_r_abis); +PyObject *CPyPy_formatters___abi_request_formatters(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_formatters___get_request_formatters(PyObject *cpy_r_method_name); +PyObject *CPyPy_formatters___get_request_formatters(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +tuple_T3OOO CPyDef_formatters____get_response_formatters(PyObject *cpy_r_method); +PyObject *CPyPy_formatters____get_response_formatters(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_formatters_____top_level__(void); +char CPyDef_brownie_patch_____top_level__(void); +PyObject *CPyStatic__abi____singletons = NULL; +PyObject *CPyStatic__abi___keccak = NULL; +PyTypeObject *CPyType__abi___FunctionABI; +PyTypeObject *CPyType__abi_____init___3_FunctionABI_obj; +PyObject *CPyDef__abi_____init___3_FunctionABI_obj(void); +CPyThreadLocal dank_mids___brownie_patch____abi_____init___3_FunctionABI_objObject *_abi_____init___3_FunctionABI_obj_free_instance; +PyTypeObject *CPyType__abi___singleton_FunctionABI_obj; +PyObject *CPyDef__abi___singleton_FunctionABI_obj(void); +CPyThreadLocal dank_mids___brownie_patch____abi___singleton_FunctionABI_objObject *_abi___singleton_FunctionABI_obj_free_instance; +PyObject *CPyDef__abi_____init___3_FunctionABI_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy__abi_____init___3_FunctionABI_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__abi_____init___3_FunctionABI_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_abi); +PyObject *CPyPy__abi_____init___3_FunctionABI_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__abi___singleton_FunctionABI_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy__abi___singleton_FunctionABI_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__abi___singleton_FunctionABI_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_abi); +PyObject *CPyPy__abi___singleton_FunctionABI_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__abi___get_type_strings(PyObject *cpy_r_abi_params, PyObject *cpy_r_substitutions); +PyObject *CPyPy__abi___get_type_strings(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__abi___build_function_signature(PyObject *cpy_r_abi); +PyObject *CPyPy__abi___build_function_signature(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__abi___build_function_selector(PyObject *cpy_r_input_signature); +PyObject *CPyPy__abi___build_function_selector(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__abi_____top_level__(void); +char CPyStatic_call___APPLICATION_MODE = 2; +PyObject *CPyStatic_call___Decimal = NULL; +PyObject *CPyStatic_call___HexBytes = NULL; +PyObject *CPyStatic_call___Contract = NULL; +PyObject *CPyStatic_call___ReturnValue = NULL; +PyObject *CPyStatic_call___HexString = NULL; +PyObject *CPyStatic_call___TupleType = NULL; +PyObject *CPyStatic_call___Revert = NULL; +PyObject *CPyStatic_call___to_bool = NULL; +PyObject *CPyStatic_call___to_decimal = NULL; +PyObject *CPyStatic_call___to_int = NULL; +PyObject *CPyStatic_call___to_string = NULL; +PyObject *CPyStatic_call___to_uint = NULL; +PyObject *CPyStatic_call____check_array = NULL; +PyObject *CPyStatic_call____get_abi_types = NULL; +PyObject *CPyStatic_call___logger = NULL; +PyObject *CPyStatic_call___encode = NULL; +PyObject *CPyStatic_call___decode = NULL; +PyObject *CPyStatic_call___to_checksum_address = NULL; +PyObject *CPyStatic_call_____eth_abi_encode = NULL; +PyObject *CPyStatic_call_____eth_abi_decode = NULL; +PyTypeObject *CPyType_call_____mypyc_lambda__0_obj; +PyObject *CPyDef_call_____mypyc_lambda__0_obj(void); +CPyThreadLocal dank_mids___brownie_patch___call_____mypyc_lambda__0_objObject *call_____mypyc_lambda__0_obj_free_instance; +PyTypeObject *CPyType_call_____mypyc_lambda__1_obj; +PyObject *CPyDef_call_____mypyc_lambda__1_obj(void); +CPyThreadLocal dank_mids___brownie_patch___call_____mypyc_lambda__1_objObject *call_____mypyc_lambda__1_obj_free_instance; +PyTypeObject *CPyType_call____get_coroutine_fn_env; +PyObject *CPyDef_call____get_coroutine_fn_env(void); +CPyThreadLocal dank_mids___brownie_patch___call____get_coroutine_fn_envObject *call____get_coroutine_fn_env_free_instance; +PyTypeObject *CPyType_call___coroutine__get_coroutine_fn_env; +PyObject *CPyDef_call___coroutine__get_coroutine_fn_env(void); +CPyThreadLocal dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *call___coroutine__get_coroutine_fn_env_free_instance; +PyTypeObject *CPyType_call___coroutine__get_coroutine_fn_obj; +PyObject *CPyDef_call___coroutine__get_coroutine_fn_obj(void); +CPyThreadLocal dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *call___coroutine__get_coroutine_fn_obj_free_instance; +PyTypeObject *CPyType_call___coroutine_gen___3_147; +PyObject *CPyDef_call___coroutine_gen___3_147(void); +CPyThreadLocal dank_mids___brownie_patch___call___coroutine_gen___3_147Object *call___coroutine_gen___3_147_free_instance; +PyTypeObject *CPyType_call___encode_input_gen; +PyObject *CPyDef_call___encode_input_gen(void); +CPyThreadLocal dank_mids___brownie_patch___call___encode_input_genObject *call___encode_input_gen_free_instance; +PyTypeObject *CPyType_call___decode_output_gen; +PyObject *CPyDef_call___decode_output_gen(void); +CPyThreadLocal dank_mids___brownie_patch___call___decode_output_genObject *call___decode_output_gen_free_instance; +PyTypeObject *CPyType_call____request_data_no_args_gen; +PyObject *CPyDef_call____request_data_no_args_gen(void); +CPyThreadLocal dank_mids___brownie_patch___call____request_data_no_args_genObject *call____request_data_no_args_gen_free_instance; +PyObject *CPyDef_call_____mypyc_lambda__0_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy_call_____mypyc_lambda__0_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call_____mypyc_lambda__0_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_args); +PyObject *CPyPy_call_____mypyc_lambda__0_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call_____mypyc_lambda__1_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy_call_____mypyc_lambda__1_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call_____mypyc_lambda__1_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_data); +PyObject *CPyPy_call_____mypyc_lambda__1_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_call____patch_call(PyObject *cpy_r_call, PyObject *cpy_r_w3); +PyObject *CPyPy_call____patch_call(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___coroutine__get_coroutine_fn_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy_call___coroutine__get_coroutine_fn_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___coroutine_gen___3_147_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +PyObject *CPyDef_call___coroutine_gen___3_147_____next__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call___coroutine_gen___3_147_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___coroutine_gen___3_147___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +PyObject *CPyPy_call___coroutine_gen___3_147___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___coroutine_gen___3_147_____iter__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call___coroutine_gen___3_147_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___coroutine_gen___3_147___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +PyObject *CPyPy_call___coroutine_gen___3_147___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___coroutine_gen___3_147___close(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call___coroutine_gen___3_147___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___coroutine_gen___3_147_____await__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call___coroutine_gen___3_147_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___coroutine__get_coroutine_fn_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_args, PyObject *cpy_r_block_identifier, PyObject *cpy_r_decimals, PyObject *cpy_r_override); +PyObject *CPyPy_call___coroutine__get_coroutine_fn_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call____get_coroutine_fn(PyObject *cpy_r_w3, CPyTagged cpy_r_len_inputs); +PyObject *CPyPy_call____get_coroutine_fn(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call____call_no_args(PyObject *cpy_r_self); +PyObject *CPyPy_call____call_no_args(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___encode_input_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +PyObject *CPyDef_call___encode_input_gen_____next__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call___encode_input_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___encode_input_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +PyObject *CPyPy_call___encode_input_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___encode_input_gen_____iter__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call___encode_input_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___encode_input_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +PyObject *CPyPy_call___encode_input_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___encode_input_gen___close(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call___encode_input_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___encode_input_gen_____await__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call___encode_input_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___encode_input(PyObject *cpy_r_call, CPyTagged cpy_r_len_inputs, PyObject *cpy_r_get_request_data, PyObject *cpy_r_args); +PyObject *CPyPy_call___encode_input(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___decode_output_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +PyObject *CPyDef_call___decode_output_gen_____next__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call___decode_output_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___decode_output_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +PyObject *CPyPy_call___decode_output_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___decode_output_gen_____iter__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call___decode_output_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___decode_output_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +PyObject *CPyPy_call___decode_output_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___decode_output_gen___close(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call___decode_output_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___decode_output_gen_____await__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call___decode_output_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___decode_output(PyObject *cpy_r_call, PyObject *cpy_r_data); +PyObject *CPyPy_call___decode_output(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call____request_data_no_args_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +PyObject *CPyDef_call____request_data_no_args_gen_____next__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call____request_data_no_args_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call____request_data_no_args_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +PyObject *CPyPy_call____request_data_no_args_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call____request_data_no_args_gen_____iter__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call____request_data_no_args_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call____request_data_no_args_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +PyObject *CPyPy_call____request_data_no_args_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call____request_data_no_args_gen___close(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call____request_data_no_args_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call____request_data_no_args_gen_____await__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_call____request_data_no_args_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call____request_data_no_args(PyObject *cpy_r_call); +PyObject *CPyPy_call____request_data_no_args(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call_____encode_input(PyObject *cpy_r_abi, PyObject *cpy_r_signature, PyObject *cpy_r_args); +PyObject *CPyPy_call_____encode_input(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call_____decode_output(PyObject *cpy_r_hexstr, PyObject *cpy_r_abi); +PyObject *CPyPy_call_____decode_output(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_call_____validate_output(PyObject *cpy_r_abi, PyObject *cpy_r_hexstr); +PyObject *CPyPy_call_____validate_output(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___format_input_but_cache_checksums(PyObject *cpy_r_abi, PyObject *cpy_r_inputs); +PyObject *CPyPy_call___format_input_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call___format_output_but_cache_checksums(PyObject *cpy_r_abi, PyObject *cpy_r_outputs); +PyObject *CPyPy_call___format_output_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call____format_tuple_but_cache_checksums(PyObject *cpy_r_abi_types, PyObject *cpy_r_values); +PyObject *CPyPy_call____format_tuple_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call____format_array_but_cache_checksums(PyObject *cpy_r_abi_type, PyObject *cpy_r_values); +PyObject *CPyPy_call____format_array_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_call____format_single_but_cache_checksums(PyObject *cpy_r_type_str, PyObject *cpy_r_value); +PyObject *CPyPy_call____format_single_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_call_____top_level__(void); +PyTypeObject *CPyType_overloaded____patch_overloaded_method_env; +PyObject *CPyDef_overloaded____patch_overloaded_method_env(void); +CPyThreadLocal dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *overloaded____patch_overloaded_method_env_free_instance; +PyTypeObject *CPyType_overloaded___coroutine__patch_overloaded_method_env; +PyObject *CPyDef_overloaded___coroutine__patch_overloaded_method_env(void); +CPyThreadLocal dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *overloaded___coroutine__patch_overloaded_method_env_free_instance; +PyTypeObject *CPyType_overloaded___coroutine__patch_overloaded_method_obj; +PyObject *CPyDef_overloaded___coroutine__patch_overloaded_method_obj(void); +CPyThreadLocal dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *overloaded___coroutine__patch_overloaded_method_obj_free_instance; +PyTypeObject *CPyType_overloaded___coroutine_gen___3_23; +PyObject *CPyDef_overloaded___coroutine_gen___3_23(void); +CPyThreadLocal dank_mids___brownie_patch___overloaded___coroutine_gen___3_23Object *overloaded___coroutine_gen___3_23_free_instance; +PyObject *CPyDef_overloaded___coroutine__patch_overloaded_method_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy_overloaded___coroutine__patch_overloaded_method_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_overloaded___coroutine_gen___3_23_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +PyObject *CPyDef_overloaded___coroutine_gen___3_23_____next__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_overloaded___coroutine_gen___3_23_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_overloaded___coroutine_gen___3_23___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +PyObject *CPyPy_overloaded___coroutine_gen___3_23___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_overloaded___coroutine_gen___3_23_____iter__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_overloaded___coroutine_gen___3_23_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_overloaded___coroutine_gen___3_23___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +PyObject *CPyPy_overloaded___coroutine_gen___3_23___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_overloaded___coroutine_gen___3_23___close(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_overloaded___coroutine_gen___3_23___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_overloaded___coroutine_gen___3_23_____await__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_overloaded___coroutine_gen___3_23_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_overloaded___coroutine__patch_overloaded_method_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_args, PyObject *cpy_r_block_identifier, PyObject *cpy_r_decimals, PyObject *cpy_r_override); +PyObject *CPyPy_overloaded___coroutine__patch_overloaded_method_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_overloaded____patch_overloaded_method(PyObject *cpy_r_call, PyObject *cpy_r_w3); +PyObject *CPyPy_overloaded____patch_overloaded_method(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_overloaded_____top_level__(void); +PyTypeObject *CPyType_types___DankContractCall; +PyObject *CPyDef_types___DankContractCall(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +PyTypeObject *CPyType_types___DankContractTx; +PyObject *CPyDef_types___DankContractTx(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +PyTypeObject *CPyType_types___DankOverloadedMethod; +PyObject *CPyDef_types___DankOverloadedMethod(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +PyTypeObject *CPyType_types___coroutine_DankOverloadedMethod_gen; +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen(void); +CPyThreadLocal dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *types___coroutine_DankOverloadedMethod_gen_free_instance; +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen_____next__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen_____iter__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen___close(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen_____await__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_types___DankOverloadedMethod___coroutine(PyObject *cpy_r_self, PyObject *cpy_r_args, PyObject *cpy_r_block_identifier, PyObject *cpy_r_decimals, PyObject *cpy_r_override); +PyObject *CPyPy_types___DankOverloadedMethod___coroutine(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_types___DankOverloadedMethod____add_fn(PyObject *cpy_r_self, PyObject *cpy_r_abi, PyObject *cpy_r_natspec); +PyObject *CPyPy_types___DankOverloadedMethod____add_fn(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_types____get_method_object(PyObject *cpy_r_address, PyObject *cpy_r_abi, PyObject *cpy_r_name, PyObject *cpy_r_owner, PyObject *cpy_r_natspec); +PyObject *CPyPy_types____get_method_object(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_types_____top_level__(void); +char CPyDef_helpers_____top_level__(void); +PyObject *CPyStatic__codec___HexBytes = NULL; +PyObject *CPyStatic__codec___Raw = NULL; +PyObject *CPyStatic__codec___ContextFramesBytesIO = NULL; +PyObject *CPyStatic__codec___DecodeError = NULL; +PyObject *CPyStatic__codec___decode_string = NULL; +PyObject *CPyStatic__codec____decode_raw = NULL; +PyObject *CPyStatic__codec___encode = NULL; +PyObject *CPyStatic__codec____mcall_encoder = NULL; +PyObject *CPyStatic__codec____array_encoder = NULL; +PyObject *CPyStatic__codec____item_encoder = NULL; +PyObject *CPyStatic__codec____mcall_decoder = NULL; +PyTypeObject *CPyType__codec___RawResponse; +PyObject *CPyDef__codec___RawResponse(PyObject *cpy_r_raw); +PyTypeObject *CPyType__codec_____mypyc_lambda__0_obj; +PyObject *CPyDef__codec_____mypyc_lambda__0_obj(void); +CPyThreadLocal dank_mids___helpers____codec_____mypyc_lambda__0_objObject *_codec_____mypyc_lambda__0_obj_free_instance; +char CPyDef__codec___RawResponse_____init__(PyObject *cpy_r_self, PyObject *cpy_r_raw); +PyObject *CPyPy__codec___RawResponse_____init__(PyObject *self, PyObject *args, PyObject *kw); +PyObject *CPyDef__codec___RawResponse___decode(PyObject *cpy_r_self, char cpy_r_partial); +PyObject *CPyPy__codec___RawResponse___decode(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__codec___decode_raw(PyObject *cpy_r_data); +PyObject *CPyPy__codec___decode_raw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__codec___decode_jsonrpc_batch(PyObject *cpy_r_data); +PyObject *CPyPy__codec___decode_jsonrpc_batch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__codec____encode_hook(PyObject *cpy_r_obj); +PyObject *CPyPy__codec____encode_hook(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__codec____rudimentary_encode_dict_value(PyObject *cpy_r_value); +PyObject *CPyPy__codec____rudimentary_encode_dict_value(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__codec_____mypyc_lambda__0_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy__codec_____mypyc_lambda__0_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__codec_____mypyc_lambda__0_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r__); +PyObject *CPyPy__codec_____mypyc_lambda__0_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__codec____int_to_big_endian(CPyTagged cpy_r_value); +PyObject *CPyPy__codec____int_to_big_endian(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__codec____encode_uint_256(CPyTagged cpy_r_i); +PyObject *CPyPy__codec____encode_uint_256(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__codec_____encode_new(PyObject *cpy_r_values); +PyObject *CPyPy__codec_____encode_new(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +tuple_T2OI CPyDef__codec_____encode_elements_new(PyObject *cpy_r_values); +PyObject *CPyPy__codec_____encode_elements_new(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__codec___mcall_encode(PyObject *cpy_r_data); +PyObject *CPyPy__codec___mcall_encode(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__codec___mcall_decode(PyObject *cpy_r_data); +PyObject *CPyPy__codec___mcall_decode(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__codec_____import_from_types(void); +PyObject *CPyPy__codec_____import_from_types(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__codec_____make_decode_batch(void); +PyObject *CPyPy__codec_____make_decode_batch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__codec_____top_level__(void); +PyObject *CPyStatic__errors___error_logger = NULL; +PyObject *CPyStatic__errors___error_logger_debug = NULL; +PyObject *CPyStatic__errors___error_logger_log = NULL; +PyObject *CPyStatic__errors___revert_logger = NULL; +PyObject *CPyStatic__errors___revert_logger_log = NULL; +PyObject *CPyStatic__errors___timeout_logger = NULL; +PyObject *CPyStatic__errors___timeout_logger_debug = NULL; +PyObject *CPyStatic__errors___timeout_logger_warning = NULL; +PyObject *CPyStatic__errors___gas_logger = NULL; +PyObject *CPyStatic__errors___gas_logger_debug = NULL; +PyObject *CPyStatic__errors___INDIVIDUAL_CALL_REVERT_STRINGS = NULL; +char CPyDef__errors___error_logger_log_debug(PyObject *cpy_r_msg, PyObject *cpy_r_args); +PyObject *CPyPy__errors___error_logger_log_debug(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__errors___revert_logger_log_debug(PyObject *cpy_r_msg, PyObject *cpy_r_args); +PyObject *CPyPy__errors___revert_logger_log_debug(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__errors___log_internal_error(PyObject *cpy_r_logger, PyObject *cpy_r_batch, PyObject *cpy_r_exc); +PyObject *CPyPy__errors___log_internal_error(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__errors___needs_full_request_spec(PyObject *cpy_r_response); +PyObject *CPyPy__errors___needs_full_request_spec(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__errors___is_call_revert(PyObject *cpy_r_e); +PyObject *CPyPy__errors___is_call_revert(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__errors___is_revert_bytes(PyObject *cpy_r_data); +PyObject *CPyPy__errors___is_revert_bytes(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +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___Task = NULL; +PyObject *CPyStatic__gather___get_running_loop = NULL; +PyObject *CPyStatic__gather___wait = NULL; +PyObject *CPyStatic__gather___yield_to_loop = NULL; +PyTypeObject *CPyType__gather___gatherish_gen; +PyObject *CPyDef__gather___gatherish_gen(void); +CPyThreadLocal dank_mids___helpers____gather___gatherish_genObject *_gather___gatherish_gen_free_instance; +PyTypeObject *CPyType__gather___first_completed_gen; +PyObject *CPyDef__gather___first_completed_gen(void); +CPyThreadLocal dank_mids___helpers____gather___first_completed_genObject *_gather___first_completed_gen_free_instance; +PyObject *CPyDef__gather___gatherish_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +PyObject *CPyDef__gather___gatherish_gen_____next__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__gather___gatherish_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__gather___gatherish_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +PyObject *CPyPy__gather___gatherish_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__gather___gatherish_gen_____iter__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__gather___gatherish_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__gather___gatherish_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +PyObject *CPyPy__gather___gatherish_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__gather___gatherish_gen___close(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__gather___gatherish_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__gather___gatherish_gen_____await__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__gather___gatherish_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__gather___gatherish(PyObject *cpy_r_coros, PyObject *cpy_r_name); +PyObject *CPyPy__gather___gatherish(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__gather___first_completed_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +PyObject *CPyDef__gather___first_completed_gen_____next__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__gather___first_completed_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__gather___first_completed_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +PyObject *CPyPy__gather___first_completed_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__gather___first_completed_gen_____iter__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__gather___first_completed_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__gather___first_completed_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +PyObject *CPyPy__gather___first_completed_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__gather___first_completed_gen___close(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__gather___first_completed_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__gather___first_completed_gen_____await__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__gather___first_completed_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__gather___first_completed(PyObject *cpy_r_fs, char cpy_r_cancel); +PyObject *CPyPy__gather___first_completed(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__gather_____top_level__(void); +PyTypeObject *CPyType__weaklist___WeakList; +PyObject *CPyDef__weaklist___WeakList(PyObject *cpy_r_data); +PyTypeObject *CPyType__weaklist_____iter___3_WeakList_gen; +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen(void); +CPyThreadLocal dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *_weaklist_____iter___3_WeakList_gen_free_instance; +char CPyDef__weaklist___WeakList_____init__(PyObject *cpy_r_self, PyObject *cpy_r_data); +PyObject *CPyPy__weaklist___WeakList_____init__(PyObject *self, PyObject *args, PyObject *kw); +PyObject *CPyDef__weaklist___WeakList_____repr__(PyObject *cpy_r_self); +PyObject *CPyPy__weaklist___WeakList_____repr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +CPyTagged CPyDef__weaklist___WeakList_____len__(PyObject *cpy_r_self); +PyObject *CPyPy__weaklist___WeakList_____len__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__weaklist___WeakList_____bool__(PyObject *cpy_r_self); +PyObject *CPyPy__weaklist___WeakList_____bool__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__weaklist___WeakList_____contains__(PyObject *cpy_r_self, PyObject *cpy_r_item); +PyObject *CPyPy__weaklist___WeakList_____contains__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen_____next__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__weaklist_____iter___3_WeakList_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +PyObject *CPyPy__weaklist_____iter___3_WeakList_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen_____iter__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__weaklist_____iter___3_WeakList_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +PyObject *CPyPy__weaklist_____iter___3_WeakList_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__weaklist_____iter___3_WeakList_gen___close(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy__weaklist_____iter___3_WeakList_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef__weaklist___WeakList_____iter__(PyObject *cpy_r_self); +PyObject *CPyPy__weaklist___WeakList_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__weaklist___WeakList___append(PyObject *cpy_r_self, PyObject *cpy_r_item); +PyObject *CPyPy__weaklist___WeakList___append(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__weaklist___WeakList___extend(PyObject *cpy_r_self, PyObject *cpy_r_items); +PyObject *CPyPy__weaklist___WeakList___extend(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__weaklist___WeakList___remove(PyObject *cpy_r_self, PyObject *cpy_r_item); +PyObject *CPyPy__weaklist___WeakList___remove(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__weaklist___WeakList____gc_callback(PyObject *cpy_r_self, PyObject *cpy_r_item); +PyObject *CPyPy__weaklist___WeakList____gc_callback(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef__weaklist_____top_level__(void); +PyObject *CPyStatic_batch_size___batch_size_logger = NULL; +PyObject *CPyStatic_batch_size____log_info = NULL; +char CPyDef_batch_size___log_check(PyObject *cpy_r_batch_type, PyObject *cpy_r_member_type, CPyTagged cpy_r_num_calls); +PyObject *CPyPy_batch_size___log_check(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_batch_size_____top_level__(void); +PyTypeObject *CPyType_hashing___AttributeDict; +PyObject *CPyDef_hashing___AttributeDict(PyObject *cpy_r_dictionary, PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +PyTypeObject *CPyType_hashing____to_tuple_obj; +PyObject *CPyDef_hashing____to_tuple_obj(void); +CPyThreadLocal dank_mids___helpers___hashing____to_tuple_objObject *hashing____to_tuple_obj_free_instance; +PyObject *CPyDef_hashing___make_hashable(PyObject *cpy_r_obj); +PyObject *CPyPy_hashing___make_hashable(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_hashing___AttributeDict_____init__(PyObject *cpy_r_self, PyObject *cpy_r_dictionary, PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +PyObject *CPyPy_hashing___AttributeDict_____init__(PyObject *self, PyObject *args, PyObject *kw); +CPyTagged CPyDef_hashing___AttributeDict_____hash__(PyObject *cpy_r_self); +PyObject *CPyPy_hashing___AttributeDict_____hash__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_hashing___AttributeDict_____eq__(PyObject *cpy_r_self, PyObject *cpy_r_other); +PyObject *CPyPy_hashing___AttributeDict_____eq__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_hashing___AttributeDict_____setattr__(PyObject *cpy_r_self, PyObject *cpy_r_attr, PyObject *cpy_r_val); +PyObject *CPyPy_hashing___AttributeDict_____setattr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_hashing___AttributeDict_____delattr__(PyObject *cpy_r_self, PyObject *cpy_r_key); +PyObject *CPyPy_hashing___AttributeDict_____delattr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_hashing___AttributeDict_____getitem__(PyObject *cpy_r_self, PyObject *cpy_r_key); +PyObject *CPyPy_hashing___AttributeDict_____getitem__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_hashing___AttributeDict_____iter__(PyObject *cpy_r_self); +PyObject *CPyPy_hashing___AttributeDict_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +CPyTagged CPyDef_hashing___AttributeDict_____len__(PyObject *cpy_r_self); +PyObject *CPyPy_hashing___AttributeDict_____len__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_hashing___AttributeDict_____repr__(PyObject *cpy_r_self); +PyObject *CPyPy_hashing___AttributeDict_____repr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_hashing___AttributeDict____repr_pretty_(PyObject *cpy_r_self, PyObject *cpy_r_builder, char cpy_r_cycle); +PyObject *CPyPy_hashing___AttributeDict____repr_pretty_(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_hashing___AttributeDict___recursive(PyObject *cpy_r_cls, PyObject *cpy_r_value); +PyObject *CPyPy_hashing___AttributeDict___recursive(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_hashing___AttributeDict___keys(PyObject *cpy_r_self); +PyObject *CPyPy_hashing___AttributeDict___keys(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_hashing___AttributeDict___values(PyObject *cpy_r_self); +PyObject *CPyPy_hashing___AttributeDict___values(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_hashing___AttributeDict___items(PyObject *cpy_r_self); +PyObject *CPyPy_hashing___AttributeDict___items(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_hashing___AttributeDict_____ne__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_rhs); +PyObject *CPyPy_hashing___AttributeDict_____ne__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_hashing___tupleize_lists_nested(PyObject *cpy_r_d); +PyObject *CPyPy_hashing___tupleize_lists_nested(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_hashing_____mypyc_singledispatch_main_function__to_tuple__(PyObject *cpy_r_value); +PyObject *CPyPy_hashing_____mypyc_singledispatch_main_function__to_tuple__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_hashing____to_tuple_obj_____init__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_hashing____to_tuple_obj_____init__(PyObject *self, PyObject *args, PyObject *kw); +PyObject *CPyDef_hashing____to_tuple_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_value); +PyObject *CPyPy_hashing____to_tuple_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_hashing____to_tuple_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy_hashing____to_tuple_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_hashing____to_tuple_obj___register(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_cls, PyObject *cpy_r_func); +PyObject *CPyPy_hashing____to_tuple_obj___register(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_hashing____to_tuple(PyObject *cpy_r_value); +PyObject *CPyPy_hashing____to_tuple(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_hashing_______155(PyObject *cpy_r_value); +PyObject *CPyPy_hashing_______155(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_hashing_______160(PyObject *cpy_r_value); +PyObject *CPyPy_hashing_______160(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_hashing_____top_level__(void); +PyTypeObject *CPyType_lru_cache___lru_cache_lite_env; +PyObject *CPyDef_lru_cache___lru_cache_lite_env(void); +CPyThreadLocal dank_mids___helpers___lru_cache___lru_cache_lite_envObject *lru_cache___lru_cache_lite_env_free_instance; +PyTypeObject *CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj; +PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj(void); +CPyThreadLocal dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_free_instance; +PyTypeObject *CPyType_lru_cache___lru_cache_lite_nonull_env; +PyObject *CPyDef_lru_cache___lru_cache_lite_nonull_env(void); +CPyThreadLocal dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *lru_cache___lru_cache_lite_nonull_env_free_instance; +PyTypeObject *CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj; +PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj(void); +CPyThreadLocal dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_free_instance; +PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_args); +PyObject *CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_lru_cache___lru_cache_lite(PyObject *cpy_r_func); +PyObject *CPyPy_lru_cache___lru_cache_lite(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_args); +PyObject *CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_lru_cache___lru_cache_lite_nonull(PyObject *cpy_r_func); +PyObject *CPyPy_lru_cache___lru_cache_lite_nonull(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_lru_cache_____top_level__(void); +tuple_T4OOOO CPyStatic_method___BYPASS_METHODS = { NULL, NULL, NULL, NULL }; +CPyTagged CPyDef_method___get_len(PyObject *cpy_r_method); +PyObject *CPyPy_method___get_len(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_method___should_batch(PyObject *cpy_r_method); +PyObject *CPyPy_method___should_batch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_method_____top_level__(void); +PyObject *CPyStatic_stats____ENVS = NULL; +PyObject *CPyStatic_stats___yield_to_loop = NULL; +PyObject *CPyStatic_stats____SentryExporter___metrics = NULL; +PyObject *CPyStatic_stats____SentryExporter___units = NULL; +PyObject *CPyStatic_stats____SentryExporter___set_tag = NULL; +PyObject *CPyStatic_stats____SentryExporter___set_measurement = NULL; +PyObject *CPyStatic_stats____SentryExporter____exc = NULL; +PyObject *CPyStatic_stats___logger = NULL; +PyObject *CPyStatic_stats___log = NULL; +PyObject *CPyStatic_stats___devhint = NULL; +PyObject *CPyStatic_stats___collector = NULL; +PyObject *CPyStatic_stats___sentry = NULL; +PyTypeObject *CPyType_stats____StatsLogger; +PyObject *CPyDef_stats____StatsLogger(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +PyTypeObject *CPyType_stats____Collector; +PyObject *CPyDef_stats____Collector(void); +PyTypeObject *CPyType_stats____Writer; +PyObject *CPyDef_stats____Writer(void); +PyTypeObject *CPyType_stats____SentryExporter; +PyObject *CPyDef_stats____SentryExporter(void); +PyTypeObject *CPyType_stats____stats_daemon__StatsLogger_gen; +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen(void); +CPyThreadLocal dank_mids___stats____stats_daemon__StatsLogger_genObject *stats____stats_daemon__StatsLogger_gen_free_instance; +PyTypeObject *CPyType_stats_____init___3__Collector_env; +PyObject *CPyDef_stats_____init___3__Collector_env(void); +CPyThreadLocal dank_mids___stats_____init___3__Collector_envObject *stats_____init___3__Collector_env_free_instance; +PyTypeObject *CPyType_stats_____mypyc_lambda__0___3_init___3__Collector_obj; +PyObject *CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj(void); +CPyThreadLocal dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *stats_____mypyc_lambda__0___3_init___3__Collector_obj_free_instance; +PyTypeObject *CPyType_stats_____mypyc_lambda__1___3_init___3__Collector_obj; +PyObject *CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj(void); +CPyThreadLocal dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *stats_____mypyc_lambda__1___3_init___3__Collector_obj_free_instance; +char CPyDef_stats___log_errd_batch(PyObject *cpy_r_batch); +PyObject *CPyPy_stats___log_errd_batch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats___log_duration(PyObject *cpy_r_work_descriptor, double cpy_r_start, CPyTagged cpy_r_level); +PyObject *CPyPy_stats___log_duration(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____StatsLogger___enabled(PyObject *cpy_r_self); +PyObject *CPyPy_stats____StatsLogger___enabled(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____StatsLogger___stats(PyObject *cpy_r_self, PyObject *cpy_r_msg, PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +PyObject *CPyPy_stats____StatsLogger___stats(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____StatsLogger___devhint(PyObject *cpy_r_self, PyObject *cpy_r_msg, PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +PyObject *CPyPy_stats____StatsLogger___devhint(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____StatsLogger___log_brownie_stats(PyObject *cpy_r_self, CPyTagged cpy_r_level); +PyObject *CPyPy_stats____StatsLogger___log_brownie_stats(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____StatsLogger___log_event_loop_stats(PyObject *cpy_r_self, CPyTagged cpy_r_level); +PyObject *CPyPy_stats____StatsLogger___log_event_loop_stats(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____StatsLogger___log_subprocess_stats(PyObject *cpy_r_self, CPyTagged cpy_r_level); +PyObject *CPyPy_stats____StatsLogger___log_subprocess_stats(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____StatsLogger____log(PyObject *cpy_r_self, CPyTagged cpy_r_level, PyObject *cpy_r_msg, PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +PyObject *CPyPy_stats____StatsLogger____log(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____StatsLogger____log_nocheck(PyObject *cpy_r_self, CPyTagged cpy_r_level, PyObject *cpy_r_msg, PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +PyObject *CPyPy_stats____StatsLogger____log_nocheck(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____StatsLogger____log_fn_result(PyObject *cpy_r_self, CPyTagged cpy_r_level, PyObject *cpy_r_callable, PyObject *cpy_r_callable_args, PyObject *cpy_r_logging_kwargs); +PyObject *CPyPy_stats____StatsLogger____log_fn_result(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____StatsLogger____ensure_daemon(PyObject *cpy_r_self); +PyObject *CPyPy_stats____StatsLogger____ensure_daemon(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen_____next__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen_____iter__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen___close(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen_____await__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_stats____StatsLogger____stats_daemon(PyObject *cpy_r_self); +PyObject *CPyPy_stats____StatsLogger____stats_daemon(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____StatsLogger___log_validation_error(PyObject *cpy_r_self, PyObject *cpy_r_method, PyObject *cpy_r_e); +PyObject *CPyPy_stats____StatsLogger___log_validation_error(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____StatsLogger___log_types(PyObject *cpy_r_self, PyObject *cpy_r_method, PyObject *cpy_r_decoded); +PyObject *CPyPy_stats____StatsLogger___log_types(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____StatsLogger____log_list_types(PyObject *cpy_r_self, PyObject *cpy_r_values, CPyTagged cpy_r_level); +PyObject *CPyPy_stats____StatsLogger____log_list_types(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____call__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +PyObject *CPyPy_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____call__(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____Collector_____init__(PyObject *cpy_r_self); +PyObject *CPyPy_stats____Collector_____init__(PyObject *self, PyObject *args, PyObject *kw); +double CPyDef_stats____Collector___avg_loop_time(PyObject *cpy_r_self); +PyObject *CPyPy_stats____Collector___avg_loop_time(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +CPyTagged CPyDef_stats____Collector___count_active_brownie_calls(PyObject *cpy_r_self); +PyObject *CPyPy_stats____Collector___count_active_brownie_calls(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +CPyTagged CPyDef_stats____Collector___count_queued_brownie_calls(PyObject *cpy_r_self); +PyObject *CPyPy_stats____Collector___count_queued_brownie_calls(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +CPyTagged CPyDef_stats____Collector___encoder_queue_len(PyObject *cpy_r_self); +PyObject *CPyPy_stats____Collector___encoder_queue_len(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +CPyTagged CPyDef_stats____Collector___decoder_queue_len(PyObject *cpy_r_self); +PyObject *CPyPy_stats____Collector___decoder_queue_len(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +CPyTagged CPyDef_stats____Collector___mcall_decoder_queue_len(PyObject *cpy_r_self); +PyObject *CPyPy_stats____Collector___mcall_decoder_queue_len(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_stats____Writer___event_loop(PyObject *cpy_r_self); +PyObject *CPyPy_stats____Writer___event_loop(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_stats____Writer___brownie(PyObject *cpy_r_self); +PyObject *CPyPy_stats____Writer___brownie(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +PyObject *CPyDef_stats____Writer___queue(PyObject *cpy_r_self, PyObject *cpy_r_pool); +PyObject *CPyPy_stats____Writer___queue(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____SentryExporter___push_measurements(PyObject *cpy_r_self); +PyObject *CPyPy_stats____SentryExporter___push_measurements(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____SentryExporter___push_envs(PyObject *cpy_r_self); +PyObject *CPyPy_stats____SentryExporter___push_envs(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats____SentryExporter_____mypyc_defaults_setup(PyObject *cpy_r___mypyc_self__); +PyObject *CPyPy_stats____SentryExporter_____mypyc_defaults_setup(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +char CPyDef_stats_____top_level__(void); +PyObject *CPyStatic_constants___TOO_MUCH_DATA_ERRS = NULL; +PyObject *CPyStatic_constants___RETRY_ERRS = NULL; +PyObject *CPyStatic_constants___GAS_LIMIT = NULL; +PyObject *CPyStatic_constants___MULTICALL2_OVERRIDE_CODE = NULL; +PyObject *CPyStatic_constants___MULTICALL3_OVERRIDE_CODE = NULL; +PyObject *CPyStatic_constants___MULTICALL2_DEPLOY_BLOCKS = NULL; +PyObject *CPyStatic_constants___MULTICALL3_DEPLOY_BLOCKS = NULL; +tuple_T10OOOOOOOOOO CPyStatic_constants___BAD_HEXES = { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }; +tuple_T2OO CPyStatic_constants___REVERT_SELECTORS = { NULL, NULL }; +char CPyDef_constants_____top_level__(void); +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___logger = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___MAX_MULTICALL_SIZE = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___MAX_JSONRPC_BATCH_SIZE = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___REQUESTS_PER_SECOND = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___MIN_REQUESTS_PER_SECOND = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___demo_mode = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___DEMO_MODE = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___ganache_fork = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___GANACHE_FORK = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___AIOHTTP_TIMEOUT = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___brownie_semaphore = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_CALL_SEMAPHORE = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_ENCODER_SEMAPHORE = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___COLLECTION_FACTOR = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___USE_FULL_REQUEST = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___DEBUG = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___EXPORT_STATS = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___COLLECT_STATS = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___STUCK_CALL_TIMEOUT = NULL; +PyObject *CPyStatic_ENVIRONMENT_VARIABLES___method_semaphores = NULL; +char CPyDef_ENVIRONMENT_VARIABLES_____top_level__(void); + +static int exec_2c5455e5e91297368063__mypyc(PyObject *module) +{ + int res; + PyObject *capsule; + PyObject *tmp; + + extern PyObject *CPyInit_dank_mids____batch(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids____batch, "2c5455e5e91297368063__mypyc.init_dank_mids____batch", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids____batch", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids____demo_mode(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids____demo_mode, "2c5455e5e91297368063__mypyc.init_dank_mids____demo_mode", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids____demo_mode", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids____envs(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids____envs, "2c5455e5e91297368063__mypyc.init_dank_mids____envs", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids____envs", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids____eth_utils(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids____eth_utils, "2c5455e5e91297368063__mypyc.init_dank_mids____eth_utils", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids____eth_utils", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids____exceptions(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids____exceptions, "2c5455e5e91297368063__mypyc.init_dank_mids____exceptions", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids____exceptions", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids____logging(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids____logging, "2c5455e5e91297368063__mypyc.init_dank_mids____logging", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids____logging", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids____uid(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids____uid, "2c5455e5e91297368063__mypyc.init_dank_mids____uid", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids____uid", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids____requests___base(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids____requests___base, "2c5455e5e91297368063__mypyc.init_dank_mids____requests___base", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids____requests___base", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids____web3___abi(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids____web3___abi, "2c5455e5e91297368063__mypyc.init_dank_mids____web3___abi", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids____web3___abi", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids____web3___formatters(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids____web3___formatters, "2c5455e5e91297368063__mypyc.init_dank_mids____web3___formatters", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids____web3___formatters", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___brownie_patch(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___brownie_patch, "2c5455e5e91297368063__mypyc.init_dank_mids___brownie_patch", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___brownie_patch", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___brownie_patch____abi(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___brownie_patch____abi, "2c5455e5e91297368063__mypyc.init_dank_mids___brownie_patch____abi", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___brownie_patch____abi", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___brownie_patch___call(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___brownie_patch___call, "2c5455e5e91297368063__mypyc.init_dank_mids___brownie_patch___call", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___brownie_patch___call", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___brownie_patch___overloaded(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___brownie_patch___overloaded, "2c5455e5e91297368063__mypyc.init_dank_mids___brownie_patch___overloaded", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___brownie_patch___overloaded", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___brownie_patch___types(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___brownie_patch___types, "2c5455e5e91297368063__mypyc.init_dank_mids___brownie_patch___types", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___brownie_patch___types", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___helpers(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___helpers, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___helpers", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___helpers____codec(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___helpers____codec, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers____codec", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___helpers____codec", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___helpers____errors(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___helpers____errors, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers____errors", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___helpers____errors", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___helpers____gather(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___helpers____gather, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers____gather", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___helpers____gather", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___helpers____weaklist(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___helpers____weaklist, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers____weaklist", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___helpers____weaklist", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___helpers___batch_size(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___helpers___batch_size, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers___batch_size", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___helpers___batch_size", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___helpers___hashing(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___helpers___hashing, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers___hashing", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___helpers___hashing", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___helpers___lru_cache(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___helpers___lru_cache, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers___lru_cache", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___helpers___lru_cache", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___helpers___method(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___helpers___method, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers___method", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___helpers___method", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___stats(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___stats, "2c5455e5e91297368063__mypyc.init_dank_mids___stats", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___stats", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___constants(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___constants, "2c5455e5e91297368063__mypyc.init_dank_mids___constants", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___constants", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + extern PyObject *CPyInit_dank_mids___ENVIRONMENT_VARIABLES(void); + capsule = PyCapsule_New((void *)CPyInit_dank_mids___ENVIRONMENT_VARIABLES, "2c5455e5e91297368063__mypyc.init_dank_mids___ENVIRONMENT_VARIABLES", NULL); + if (!capsule) { + goto fail; + } + res = PyObject_SetAttrString(module, "init_dank_mids___ENVIRONMENT_VARIABLES", capsule); + Py_DECREF(capsule); + if (res < 0) { + goto fail; + } + + return 0; + fail: + return -1; +} +static PyModuleDef module_def_2c5455e5e91297368063__mypyc = { + PyModuleDef_HEAD_INIT, + .m_name = "2c5455e5e91297368063__mypyc", + .m_doc = NULL, + .m_size = -1, + .m_methods = NULL, +}; +PyMODINIT_FUNC PyInit_2c5455e5e91297368063__mypyc(void) { + static PyObject *module = NULL; + if (module) { + Py_INCREF(module); + return module; + } + module = PyModule_Create(&module_def_2c5455e5e91297368063__mypyc); + if (!module) { + return NULL; + } + if (exec_2c5455e5e91297368063__mypyc(module) < 0) { + Py_DECREF(module); + return NULL; + } + return module; +} diff --git a/build/__native_2c5455e5e91297368063.h b/build/__native_2c5455e5e91297368063.h new file mode 100644 index 0000000000..31b260091d --- /dev/null +++ b/build/__native_2c5455e5e91297368063.h @@ -0,0 +1,748 @@ +#ifndef MYPYC_NATIVE_2c5455e5e91297368063_H +#define MYPYC_NATIVE_2c5455e5e91297368063_H +#include +#include +#ifndef MYPYC_DECLARED_tuple_T3CIO +#define MYPYC_DECLARED_tuple_T3CIO +typedef struct tuple_T3CIO { + char f0; + CPyTagged f1; + PyObject *f2; +} tuple_T3CIO; +#endif + +#ifndef MYPYC_DECLARED_tuple_T3OOO +#define MYPYC_DECLARED_tuple_T3OOO +typedef struct tuple_T3OOO { + PyObject *f0; + PyObject *f1; + PyObject *f2; +} tuple_T3OOO; +#endif + +#ifndef MYPYC_DECLARED_tuple_T2OO +#define MYPYC_DECLARED_tuple_T2OO +typedef struct tuple_T2OO { + PyObject *f0; + PyObject *f1; +} tuple_T2OO; +#endif + +#ifndef MYPYC_DECLARED_tuple_T6OOOOOO +#define MYPYC_DECLARED_tuple_T6OOOOOO +typedef struct tuple_T6OOOOOO { + PyObject *f0; + PyObject *f1; + PyObject *f2; + PyObject *f3; + PyObject *f4; + PyObject *f5; +} tuple_T6OOOOOO; +#endif + +#ifndef MYPYC_DECLARED_tuple_T5OOOOO +#define MYPYC_DECLARED_tuple_T5OOOOO +typedef struct tuple_T5OOOOO { + PyObject *f0; + PyObject *f1; + PyObject *f2; + PyObject *f3; + PyObject *f4; +} tuple_T5OOOOO; +#endif + +#ifndef MYPYC_DECLARED_tuple_T0 +#define MYPYC_DECLARED_tuple_T0 +typedef struct tuple_T0 { + int empty_struct_error_flag; +} tuple_T0; +#endif + +#ifndef MYPYC_DECLARED_tuple_T4CIOO +#define MYPYC_DECLARED_tuple_T4CIOO +typedef struct tuple_T4CIOO { + char f0; + CPyTagged f1; + PyObject *f2; + PyObject *f3; +} tuple_T4CIOO; +#endif + +#ifndef MYPYC_DECLARED_tuple_T2OI +#define MYPYC_DECLARED_tuple_T2OI +typedef struct tuple_T2OI { + PyObject *f0; + CPyTagged f1; +} tuple_T2OI; +#endif + +#ifndef MYPYC_DECLARED_tuple_T2CO +#define MYPYC_DECLARED_tuple_T2CO +typedef struct tuple_T2CO { + char f0; + PyObject *f1; +} tuple_T2CO; +#endif + +#ifndef MYPYC_DECLARED_tuple_T3IIO +#define MYPYC_DECLARED_tuple_T3IIO +typedef struct tuple_T3IIO { + CPyTagged f0; + CPyTagged f1; + PyObject *f2; +} tuple_T3IIO; +#endif + +#ifndef MYPYC_DECLARED_tuple_T4OOOO +#define MYPYC_DECLARED_tuple_T4OOOO +typedef struct tuple_T4OOOO { + PyObject *f0; + PyObject *f1; + PyObject *f2; + PyObject *f3; +} tuple_T4OOOO; +#endif + +#ifndef MYPYC_DECLARED_tuple_T2IO +#define MYPYC_DECLARED_tuple_T2IO +typedef struct tuple_T2IO { + CPyTagged f0; + PyObject *f1; +} tuple_T2IO; +#endif + +#ifndef MYPYC_DECLARED_tuple_T1O +#define MYPYC_DECLARED_tuple_T1O +typedef struct tuple_T1O { + PyObject *f0; +} tuple_T1O; +#endif + +#ifndef MYPYC_DECLARED_tuple_T10OOOOOOOOOO +#define MYPYC_DECLARED_tuple_T10OOOOOOOOOO +typedef struct tuple_T10OOOOOOOOOO { + PyObject *f0; + PyObject *f1; + PyObject *f2; + PyObject *f3; + PyObject *f4; + PyObject *f5; + PyObject *f6; + PyObject *f7; + PyObject *f8; + PyObject *f9; +} tuple_T10OOOOOOOOOO; +#endif + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *_controller; + PyObject *_multicalls; + PyObject *_rpc_calls; + char __awaited; + PyObject *__check_len; +} dank_mids____batch___DankBatchObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_generator_attribute__self; + int32_t ___mypyc_next_label__; + PyObject *___mypyc_generator_attribute__batches; + PyObject *___mypyc_generator_attribute__last_failure; + PyObject *___mypyc_temp__0; + int64_t ___mypyc_temp__1; + PyObject *___mypyc_temp__2; + int64_t ___mypyc_temp__3; + PyObject *___mypyc_generator_attribute__coro; + PyObject *___mypyc_temp__4; + int64_t ___mypyc_temp__5; + PyObject *___mypyc_generator_attribute__batch; + PyObject *___mypyc_generator_attribute__task; + PyObject *___mypyc_temp__6; + tuple_T3OOO ___mypyc_temp__7; + tuple_T3OOO ___mypyc_temp__8; + PyObject *___mypyc_generator_attribute__e; + PyObject *___mypyc_temp__9; + tuple_T3OOO ___mypyc_temp__10; +} dank_mids____batch____await_DankBatch_genObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_generator_attribute__self; + int32_t ___mypyc_next_label__; + PyObject *___mypyc_generator_attribute__working_batch; + PyObject *___mypyc_generator_attribute__batch_append; + PyObject *___mypyc_generator_attribute__check_len; + PyObject *___mypyc_temp__11; + CPyTagged ___mypyc_temp__12; + int64_t ___mypyc_temp__13; + PyObject *___mypyc_temp__14; + PyObject *___mypyc_generator_attribute__mcall; + PyObject *___mypyc_generator_attribute__call; +} dank_mids____batch___coroutines_DankBatch_genObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids____demo_mode___DummyLoggerObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids____exceptions___BadResponseObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids____exceptions___EmptyBatchObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids____exceptions___ExecutionRevertedObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids____exceptions___OutOfGasObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids____exceptions___PayloadTooLargeObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids____exceptions___ExceedsMaxBatchSizeObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *_request; + PyObject *_args; + PyObject *__exception; +} dank_mids____exceptions___DankMidsClientResponseErrorObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids____exceptions___DankMidsInternalErrorObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids____exceptions___BatchResponseSortErrorObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids____exceptions___RateLimitErrorObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids____exceptions___ChainstackRateLimitErrorObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids____exceptions___QuiknodeRateLimitErrorObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + CPyTagged __value; + PyObject *__lock; +} dank_mids____uid___UIDGeneratorObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; +} dank_mids____requests___base_____init___3__RequestBase_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; +} dank_mids____requests___base_____await___3__RequestBase_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; +} dank_mids____requests___base_____len___3__RequestBase_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; +} dank_mids____requests___base___get_response__RequestBase_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_generator_attribute__self; + int32_t ___mypyc_next_label__; +} dank_mids____requests___base___get_response__RequestBase_genObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; + PyObject *_normalizers; + PyObject *_types; +} dank_mids____web3___abi___FormatterObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; + PyObject *_func; +} dank_mids____web3___abi___map_to_typed_dataObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *_abi_type; + PyObject *_data; +} dank_mids____web3___abi___ABITypedDataObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_generator_attribute__normalizers; + PyObject *___mypyc_generator_attribute__abis; + int32_t ___mypyc_next_label__; + PyObject *___mypyc_temp__0; + CPyTagged ___mypyc_temp__1; + int64_t ___mypyc_temp__2; + PyObject *___mypyc_temp__3; + PyObject *___mypyc_generator_attribute__method; + PyObject *___mypyc_generator_attribute__abi_types; + PyObject *___mypyc_generator_attribute__single_dict_formatter; +} dank_mids____web3___formatters___abi_request_formatters_genObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; +} dank_mids___brownie_patch____abi_____init___3_FunctionABI_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; +} dank_mids___brownie_patch____abi___singleton_FunctionABI_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; +} dank_mids___brownie_patch___call_____mypyc_lambda__0_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; +} dank_mids___brownie_patch___call_____mypyc_lambda__1_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_self__; + PyObject *_w3; + CPyTagged _len_inputs; + PyObject *_get_request_data; + PyObject *_coroutine; +} dank_mids___brownie_patch___call____get_coroutine_fn_envObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_self__; + PyObject *___mypyc_env__; + PyObject *___mypyc_generator_attribute__self; + PyObject *___mypyc_generator_attribute__args; + PyObject *___mypyc_generator_attribute__block_identifier; + PyObject *___mypyc_generator_attribute__decimals; + PyObject *___mypyc_generator_attribute__override; + PyObject *_type; + PyObject *_value; + PyObject *_traceback; + PyObject *_arg; + PyObject **_stop_iter_ptr; + int32_t ___mypyc_next_label__; + PyObject *___mypyc_temp__0; + PyObject *___mypyc_temp__1; + char ___mypyc_temp__2; + PyObject *___mypyc_temp__3; + tuple_T3OOO ___mypyc_temp__4; + PyObject *___mypyc_temp__5; + tuple_T3OOO ___mypyc_temp__6; + PyObject *___mypyc_generator_attribute__data; + PyObject *___mypyc_temp__7; + PyObject *___mypyc_temp__8; + char ___mypyc_temp__9; + PyObject *___mypyc_temp__10; + tuple_T3OOO ___mypyc_temp__11; + PyObject *___mypyc_temp__12; + tuple_T3OOO ___mypyc_temp__13; + PyObject *___mypyc_generator_attribute__output; + tuple_T3OOO ___mypyc_temp__14; + PyObject *___mypyc_temp__15; + tuple_T3OOO ___mypyc_temp__16; + PyObject *___mypyc_temp__17; + tuple_T3OOO ___mypyc_temp__18; + tuple_T3OOO ___mypyc_temp__19; + PyObject *___mypyc_temp__20; + tuple_T3OOO ___mypyc_temp__21; + PyObject *___mypyc_temp__22; + tuple_T3OOO ___mypyc_temp__23; + PyObject *___mypyc_temp__24; + tuple_T3OOO ___mypyc_temp__25; + PyObject *___mypyc_generator_attribute__decoded; + tuple_T3OOO ___mypyc_temp__26; + PyObject *___mypyc_generator_attribute__e; +} dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; + PyObject *___mypyc_env__; +} dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_env__; +} dank_mids___brownie_patch___call___coroutine_gen___3_147Object; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_generator_attribute__call; + CPyTagged ___mypyc_generator_attribute__len_inputs; + PyObject *___mypyc_generator_attribute__get_request_data; + PyObject *___mypyc_generator_attribute__args; + int32_t ___mypyc_next_label__; + PyObject *___mypyc_temp__27; + int64_t ___mypyc_temp__28; + int64_t ___mypyc_temp__29; + PyObject *___mypyc_generator_attribute__arg; + PyObject *___mypyc_generator_attribute__data; + PyObject *___mypyc_temp__30; + tuple_T3OOO ___mypyc_temp__31; + tuple_T3OOO ___mypyc_temp__32; + PyObject *___mypyc_generator_attribute__exc_str; +} dank_mids___brownie_patch___call___encode_input_genObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_generator_attribute__call; + PyObject *___mypyc_generator_attribute__data; + int32_t ___mypyc_next_label__; + PyObject *___mypyc_generator_attribute__decoded; + PyObject *___mypyc_temp__33; + tuple_T3OOO ___mypyc_temp__34; + tuple_T3OOO ___mypyc_temp__35; + tuple_T3OOO ___mypyc_temp__36; + PyObject *___mypyc_generator_attribute__e; + PyObject *___mypyc_temp__37; + tuple_T3OOO ___mypyc_temp__38; +} dank_mids___brownie_patch___call___decode_output_genObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_generator_attribute__call; + int32_t ___mypyc_next_label__; +} dank_mids___brownie_patch___call____request_data_no_args_genObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_self__; + PyObject *_call; + PyObject *_coroutine; + PyObject *_w3; +} dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_self__; + PyObject *___mypyc_env__; + PyObject *___mypyc_generator_attribute__self; + PyObject *___mypyc_generator_attribute__args; + PyObject *___mypyc_generator_attribute__block_identifier; + PyObject *___mypyc_generator_attribute__decimals; + PyObject *___mypyc_generator_attribute__override; + PyObject *_type; + PyObject *_value; + PyObject *_traceback; + PyObject *_arg; + PyObject **_stop_iter_ptr; + int32_t ___mypyc_next_label__; + PyObject *___mypyc_generator_attribute__fn; + tuple_T3OOO ___mypyc_temp__0; + PyObject *___mypyc_generator_attribute__e; + PyObject *___mypyc_generator_attribute__exc_str; + tuple_T2OO ___mypyc_generator_attribute__match_on; + tuple_T2OO ___mypyc_temp__1; + PyObject *___mypyc_temp__2; + PyObject *___mypyc_generator_attribute__s; + CPyTagged ___mypyc_generator_attribute__breakpoint; + PyObject *___mypyc_generator_attribute__kwargs; + PyObject *___mypyc_temp__3; + PyObject *___mypyc_temp__4; + CPyTagged ___mypyc_temp__5; + int64_t ___mypyc_temp__6; + PyObject *___mypyc_temp__7; + PyObject *___mypyc_generator_attribute__k; + PyObject *___mypyc_generator_attribute__v; + PyObject *___mypyc_temp__8; + tuple_T3OOO ___mypyc_temp__9; +} dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; + PyObject *___mypyc_env__; +} dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_env__; +} dank_mids___brownie_patch___overloaded___coroutine_gen___3_23Object; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids___brownie_patch___types___DankContractCallObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids___brownie_patch___types___DankContractTxObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *_methods; +} dank_mids___brownie_patch___types___DankOverloadedMethodObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_generator_attribute__self; + PyObject *___mypyc_generator_attribute__args; + PyObject *___mypyc_generator_attribute__block_identifier; + PyObject *___mypyc_generator_attribute__decimals; + PyObject *___mypyc_generator_attribute__override; + int32_t ___mypyc_next_label__; + PyObject *___mypyc_generator_attribute__call; + PyObject *___mypyc_temp__0; + tuple_T3OOO ___mypyc_temp__1; +} dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *__raw; +} dank_mids___helpers____codec___RawResponseObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; +} dank_mids___helpers____codec_____mypyc_lambda__0_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_generator_attribute__coros; + PyObject *___mypyc_generator_attribute__name; + int32_t ___mypyc_next_label__; + PyObject *___mypyc_generator_attribute__loop; + PyObject *___mypyc_temp__0; + PyObject *___mypyc_temp__1; + PyObject *___mypyc_temp__2; + PyObject *___mypyc_generator_attribute__coro; + PyObject *___mypyc_generator_attribute__tasks; + PyObject *___mypyc_temp__3; + tuple_T3OOO ___mypyc_temp__4; + PyObject *___mypyc_temp__5; + tuple_T3OOO ___mypyc_temp__6; + PyObject *___mypyc_temp__7; + PyObject *___mypyc_temp__8; + PyObject *___mypyc_generator_attribute__task; + PyObject *___mypyc_temp__9; + tuple_T3OOO ___mypyc_temp__10; + tuple_T3OOO ___mypyc_temp__11; + PyObject *___mypyc_temp__12; + PyObject *___mypyc_temp__13; + PyObject *___mypyc_temp__14; + tuple_T3OOO ___mypyc_temp__15; + tuple_T3OOO ___mypyc_temp__16; +} dank_mids___helpers____gather___gatherish_genObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_generator_attribute__fs; + char ___mypyc_generator_attribute__cancel; + int32_t ___mypyc_next_label__; + PyObject *___mypyc_temp__17; + tuple_T3OOO ___mypyc_temp__18; + PyObject *___mypyc_temp__19; + tuple_T3OOO ___mypyc_temp__20; + PyObject *___mypyc_generator_attribute__done; + PyObject *___mypyc_generator_attribute__pending; + PyObject *___mypyc_temp__21; + PyObject *___mypyc_temp__22; + PyObject *___mypyc_generator_attribute__p; +} dank_mids___helpers____gather___first_completed_genObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *__refs; +} dank_mids___helpers____weaklist___WeakListObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_generator_attribute__self; + int32_t ___mypyc_next_label__; + PyObject *___mypyc_temp__0; + CPyTagged ___mypyc_temp__1; + int64_t ___mypyc_temp__2; + PyObject *___mypyc_temp__3; + PyObject *___mypyc_generator_attribute__reference; + PyObject *___mypyc_generator_attribute__obj; +} dank_mids___helpers____weaklist_____iter___3_WeakList_genObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___dict__; + PyObject *___hash; +} dank_mids___helpers___hashing___AttributeDictObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; + PyObject *_registry; + PyObject *_dispatch_cache; +} dank_mids___helpers___hashing____to_tuple_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_self__; + PyObject *_func; + PyObject *_cache; + PyObject *_cache_miss; + PyObject *_lru_cache_lite_wrap; +} dank_mids___helpers___lru_cache___lru_cache_lite_envObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; + PyObject *___mypyc_env__; +} dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_self__; + PyObject *_func; + PyObject *_cache; + PyObject *_lru_cache_lite_wrap; +} dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; + PyObject *___mypyc_env__; +} dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *__daemon; +} dank_mids___stats____StatsLoggerObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *_errd_batches; + PyObject *_durations; + PyObject *_types; + PyObject *_event_loop_times; + PyObject *_validation_errors; +} dank_mids___stats____CollectorObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; +} dank_mids___stats____WriterObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *_metrics; + PyObject *_units; + PyObject *_set_tag; + PyObject *_set_measurement; + PyObject *__exc; +} dank_mids___stats____SentryExporterObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + uint32_t bitmap; + PyObject *___mypyc_generator_attribute__self; + int32_t ___mypyc_next_label__; + double ___mypyc_generator_attribute__start; + double ___mypyc_generator_attribute__time_since_notified; + PyObject *___mypyc_temp__0; + tuple_T3OOO ___mypyc_temp__1; + double ___mypyc_generator_attribute__now; + double ___mypyc_generator_attribute__duration; +} dank_mids___stats____stats_daemon__StatsLogger_genObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + PyObject *___mypyc_self__; + PyObject *_self; +} dank_mids___stats_____init___3__Collector_envObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; + PyObject *___mypyc_env__; +} dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject; + +typedef struct { + PyObject_HEAD + CPyVTableItem *vtable; + vectorcallfunc vectorcall; + PyObject *___mypyc_env__; +} dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject; + +#endif diff --git a/build/__native_internal_2c5455e5e91297368063.h b/build/__native_internal_2c5455e5e91297368063.h new file mode 100644 index 0000000000..a5513826b6 --- /dev/null +++ b/build/__native_internal_2c5455e5e91297368063.h @@ -0,0 +1,1014 @@ +#ifndef MYPYC_NATIVE_INTERNAL_2c5455e5e91297368063_H +#define MYPYC_NATIVE_INTERNAL_2c5455e5e91297368063_H +#include +#include +#include "__native_2c5455e5e91297368063.h" + +int CPyGlobalsInit(void); + +extern PyObject *CPyStatics[1069]; +extern const char * const CPyLit_Str[]; +extern const char * const CPyLit_Bytes[]; +extern const char * const CPyLit_Int[]; +extern const double CPyLit_Float[]; +extern const double CPyLit_Complex[]; +extern const int CPyLit_Tuple[]; +extern const int CPyLit_FrozenSet[]; +extern CPyModule *CPyModule_dank_mids____batch__internal; +extern CPyModule *CPyModule_dank_mids____batch; +extern PyObject *CPyStatic__batch___globals; +extern CPyModule *CPyModule_builtins; +extern CPyModule *CPyModule_asyncio; +extern CPyModule *CPyModule_typing; +extern CPyModule *CPyModule_a_sync; +extern CPyModule *CPyModule_dank_mids____exceptions__internal; +extern CPyModule *CPyModule_dank_mids____exceptions; +extern CPyModule *CPyModule_dank_mids____logging__internal; +extern CPyModule *CPyModule_dank_mids____logging; +extern CPyModule *CPyModule_dank_mids____requests; +extern CPyModule *CPyModule_dank_mids___helpers____codec__internal; +extern CPyModule *CPyModule_dank_mids___helpers____codec; +extern CPyModule *CPyModule_dank_mids___helpers____errors__internal; +extern CPyModule *CPyModule_dank_mids___helpers____errors; +extern CPyModule *CPyModule_dank_mids___types; +extern CPyModule *CPyModule_dank_mids____demo_mode__internal; +extern CPyModule *CPyModule_dank_mids____demo_mode; +extern PyObject *CPyStatic__demo_mode___globals; +extern CPyModule *CPyModule_dank_mids; +extern CPyModule *CPyModule_dank_mids____envs__internal; +extern CPyModule *CPyModule_dank_mids____envs; +extern PyObject *CPyStatic__envs___globals; +extern CPyModule *CPyModule_typed_envs; +extern CPyModule *CPyModule_dank_mids___semaphores; +extern CPyModule *CPyModule_dank_mids____eth_utils__internal; +extern CPyModule *CPyModule_dank_mids____eth_utils; +extern PyObject *CPyStatic__eth_utils___globals; +extern CPyModule *CPyModule_binascii; +extern CPyModule *CPyModule_eth_typing; +extern CPyModule *CPyModule_eth_utils___crypto; +extern CPyModule *CPyModule_web3___main; +extern CPyModule *CPyModule_web3___middleware___filter; +extern CPyModule *CPyModule_web3___providers___base; +extern CPyModule *CPyModule_web3____utils___encoding; +extern CPyModule *CPyModule_web3____utils___events; +extern CPyModule *CPyModule_web3____utils___normalizers; +extern CPyModule *CPyModule_web3____utils___type_conversion; +extern PyObject *CPyStatic__exceptions___globals; +extern CPyModule *CPyModule_logging; +extern CPyModule *CPyModule_re; +extern CPyModule *CPyModule_aiohttp___client_exceptions; +extern PyObject *CPyStatic__logging___globals; +extern CPyModule *CPyModule_dank_mids____uid__internal; +extern CPyModule *CPyModule_dank_mids____uid; +extern PyObject *CPyStatic__uid___globals; +extern CPyModule *CPyModule_dank_mids___helpers____lock; +extern CPyModule *CPyModule_dank_mids____requests___base__internal; +extern CPyModule *CPyModule_dank_mids____requests___base; +extern PyObject *CPyStatic_base___globals; +extern CPyModule *CPyModule_mypy_extensions; +extern CPyModule *CPyModule_dank_mids___helpers__internal; +extern CPyModule *CPyModule_dank_mids___helpers; +extern CPyModule *CPyModule_dank_mids____web3___abi__internal; +extern CPyModule *CPyModule_dank_mids____web3___abi; +extern PyObject *CPyStatic_abi___globals; +extern CPyModule *CPyModule_dataclasses; +extern CPyModule *CPyModule_faster_eth_abi; +extern CPyModule *CPyModule_faster_eth_abi___grammar; +extern CPyModule *CPyModule_dank_mids____web3___formatters__internal; +extern CPyModule *CPyModule_dank_mids____web3___formatters; +extern PyObject *CPyStatic_formatters___globals; +extern CPyModule *CPyModule_faster_eth_utils___curried; +extern CPyModule *CPyModule_faster_eth_utils___toolz; +extern CPyModule *CPyModule_web3____utils___method_formatters; +extern CPyModule *CPyModule_web3____utils___rpc_abi; +extern CPyModule *CPyModule_web3___types; +extern CPyModule *CPyModule_dank_mids___brownie_patch__internal; +extern CPyModule *CPyModule_dank_mids___brownie_patch; +extern PyObject *CPyStatic_brownie_patch___globals; +extern CPyModule *CPyModule_contextlib; +extern CPyModule *CPyModule_web3___eth; +extern CPyModule *CPyModule_dank_mids___brownie_patch___types__internal; +extern CPyModule *CPyModule_dank_mids___brownie_patch___types; +extern CPyModule *CPyModule_dank_mids___eth; +extern CPyModule *CPyModule_dank_mids___helpers____helpers; +extern CPyModule *CPyModule_brownie; +extern CPyModule *CPyModule_dank_mids___brownie_patch___contract; +extern CPyModule *CPyModule_dank_mids___brownie_patch____abi__internal; +extern CPyModule *CPyModule_dank_mids___brownie_patch____abi; +extern PyObject *CPyStatic__abi___globals; +extern CPyModule *CPyModule_weakref; +extern CPyModule *CPyModule_eth_hash; +extern CPyModule *CPyModule_typing_extensions; +extern CPyModule *CPyModule_dank_mids___helpers___hashing__internal; +extern CPyModule *CPyModule_dank_mids___helpers___hashing; +extern CPyModule *CPyModule_dank_mids___brownie_patch___call__internal; +extern CPyModule *CPyModule_dank_mids___brownie_patch___call; +extern PyObject *CPyStatic_call___globals; +extern CPyModule *CPyModule_decimal; +extern CPyModule *CPyModule_concurrent___futures___process; +extern CPyModule *CPyModule_pickle; +extern CPyModule *CPyModule_types; +extern CPyModule *CPyModule_brownie___convert___datatypes; +extern CPyModule *CPyModule_brownie___convert___normalize; +extern CPyModule *CPyModule_brownie___network___contract; +extern CPyModule *CPyModule_hexbytes; +extern CPyModule *CPyModule_brownie___convert___utils; +extern CPyModule *CPyModule_brownie___exceptions; +extern CPyModule *CPyModule_brownie___project___compiler___solidity; +extern CPyModule *CPyModule_faster_eth_abi___exceptions; +extern CPyModule *CPyModule_evmspec___data; +extern CPyModule *CPyModule_hexbytes___main; +extern CPyModule *CPyModule_multicall___constants; +extern CPyModule *CPyModule_dank_mids___helpers___lru_cache__internal; +extern CPyModule *CPyModule_dank_mids___helpers___lru_cache; +extern CPyModule *CPyModule_dank_mids___brownie_patch___overloaded__internal; +extern CPyModule *CPyModule_dank_mids___brownie_patch___overloaded; +extern PyObject *CPyStatic_overloaded___globals; +extern CPyModule *CPyModule_functools; +extern PyObject *CPyStatic_types___globals; +extern CPyModule *CPyModule_brownie___typing; +extern CPyModule *CPyModule_dank_mids___brownie_patch____method; +extern PyObject *CPyStatic_helpers___globals; +extern CPyModule *CPyModule_dank_mids___helpers____gather__internal; +extern CPyModule *CPyModule_dank_mids___helpers____gather; +extern CPyModule *CPyModule_dank_mids___helpers___future; +extern PyObject *CPyStatic__codec___globals; +extern CPyModule *CPyModule_msgspec; +extern CPyModule *CPyModule_faster_eth_abi___abi; +extern CPyModule *CPyModule_faster_eth_abi___encoding; +extern CPyModule *CPyModule_msgspec___json; +extern PyObject *CPyStatic__errors___globals; +extern CPyModule *CPyModule_web3___exceptions; +extern CPyModule *CPyModule_dank_mids___constants__internal; +extern CPyModule *CPyModule_dank_mids___constants; +extern PyObject *CPyStatic__gather___globals; +extern CPyModule *CPyModule_a_sync___asyncio; +extern CPyModule *CPyModule_dank_mids___helpers____weaklist__internal; +extern CPyModule *CPyModule_dank_mids___helpers____weaklist; +extern PyObject *CPyStatic__weaklist___globals; +extern CPyModule *CPyModule_dank_mids___helpers___batch_size__internal; +extern CPyModule *CPyModule_dank_mids___helpers___batch_size; +extern PyObject *CPyStatic_batch_size___globals; +extern PyObject *CPyStatic_hashing___globals; +extern CPyModule *CPyModule_collections___abc; +extern PyObject *CPyStatic_lru_cache___globals; +extern CPyModule *CPyModule_dank_mids___helpers___method__internal; +extern CPyModule *CPyModule_dank_mids___helpers___method; +extern PyObject *CPyStatic_method___globals; +extern CPyModule *CPyModule_dank_mids___stats__internal; +extern CPyModule *CPyModule_dank_mids___stats; +extern PyObject *CPyStatic_stats___globals; +extern CPyModule *CPyModule_collections; +extern CPyModule *CPyModule_concurrent___futures; +extern CPyModule *CPyModule_copy; +extern CPyModule *CPyModule_time; +extern CPyModule *CPyModule_typed_envs___registry; +extern PyObject *CPyStatic_constants___globals; +extern CPyModule *CPyModule_dank_mids___ENVIRONMENT_VARIABLES__internal; +extern CPyModule *CPyModule_dank_mids___ENVIRONMENT_VARIABLES; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___globals; +extern CPyModule *CPyModule_dank_mids____mode; +extern PyObject *CPyStatic__batch___logger; +extern PyObject *CPyStatic__batch___create_task; +extern PyTypeObject *CPyType__batch___DankBatch; +extern PyObject *CPyDef__batch___DankBatch(PyObject *cpy_r_controller, PyObject *cpy_r_multicalls, PyObject *cpy_r_rpc_calls); +extern PyTypeObject *CPyType__batch____await_DankBatch_gen; +extern PyObject *CPyDef__batch____await_DankBatch_gen(void); +extern CPyThreadLocal dank_mids____batch____await_DankBatch_genObject *_batch____await_DankBatch_gen_free_instance; +extern PyTypeObject *CPyType__batch___coroutines_DankBatch_gen; +extern PyObject *CPyDef__batch___coroutines_DankBatch_gen(void); +extern CPyThreadLocal dank_mids____batch___coroutines_DankBatch_genObject *_batch___coroutines_DankBatch_gen_free_instance; +extern PyObject *CPyDef__batch____create_named_task(PyObject *cpy_r_awaitable); +extern PyObject *CPyPy__batch____create_named_task(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__batch___DankBatch_____init__(PyObject *cpy_r_self, PyObject *cpy_r_controller, PyObject *cpy_r_multicalls, PyObject *cpy_r_rpc_calls); +extern PyObject *CPyPy__batch___DankBatch_____init__(PyObject *self, PyObject *args, PyObject *kw); +extern PyObject *CPyDef__batch___DankBatch_____repr__(PyObject *cpy_r_self); +extern PyObject *CPyPy__batch___DankBatch_____repr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__batch___DankBatch_____await__(PyObject *cpy_r_self); +extern PyObject *CPyPy__batch___DankBatch_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__batch____await_DankBatch_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +extern PyObject *CPyDef__batch____await_DankBatch_gen_____next__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__batch____await_DankBatch_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__batch____await_DankBatch_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +extern PyObject *CPyPy__batch____await_DankBatch_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__batch____await_DankBatch_gen_____iter__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__batch____await_DankBatch_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__batch____await_DankBatch_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +extern PyObject *CPyPy__batch____await_DankBatch_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__batch____await_DankBatch_gen___close(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__batch____await_DankBatch_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__batch____await_DankBatch_gen_____await__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__batch____await_DankBatch_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__batch___DankBatch____await(PyObject *cpy_r_self); +extern PyObject *CPyPy__batch___DankBatch____await(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__batch___coroutines_DankBatch_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +extern PyObject *CPyDef__batch___coroutines_DankBatch_gen_____next__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__batch___coroutines_DankBatch_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__batch___coroutines_DankBatch_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +extern PyObject *CPyPy__batch___coroutines_DankBatch_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__batch___coroutines_DankBatch_gen_____iter__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__batch___coroutines_DankBatch_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__batch___coroutines_DankBatch_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +extern PyObject *CPyPy__batch___coroutines_DankBatch_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__batch___coroutines_DankBatch_gen___close(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__batch___coroutines_DankBatch_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__batch___DankBatch___coroutines(PyObject *cpy_r_self); +extern PyObject *CPyPy__batch___DankBatch___coroutines(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__batch_____top_level__(void); +extern PyObject *CPyStatic__demo_mode___demo_logger; +extern PyTypeObject *CPyType__demo_mode___DummyLogger; +extern PyObject *CPyDef__demo_mode___DummyLogger(void); +extern char CPyDef__demo_mode___DummyLogger___info(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +extern PyObject *CPyPy__demo_mode___DummyLogger___info(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__demo_mode_____top_level__(void); +extern PyObject *CPyStatic__envs____factory; +extern PyObject *CPyStatic__envs___create_env; +extern PyObject *CPyStatic__envs____deprecated_format; +extern char CPyDef__envs_____top_level__(void); +extern PyObject *CPyStatic__eth_utils___hexlify; +extern PyObject *CPyStatic__eth_utils___unhexlify; +extern char CPyDef__eth_utils___patch_eth_utils(void); +extern PyObject *CPyPy__eth_utils___patch_eth_utils(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__eth_utils___to_hex(PyObject *cpy_r_primitive, PyObject *cpy_r_hexstr, PyObject *cpy_r_text); +extern PyObject *CPyPy__eth_utils___to_hex(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__eth_utils___to_bytes(PyObject *cpy_r_primitive, PyObject *cpy_r_hexstr, PyObject *cpy_r_text); +extern PyObject *CPyPy__eth_utils___to_bytes(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__eth_utils___decode_hex(PyObject *cpy_r_value); +extern PyObject *CPyPy__eth_utils___decode_hex(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__eth_utils___encode_hex(PyObject *cpy_r_value); +extern PyObject *CPyPy__eth_utils___encode_hex(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__eth_utils___is_0x_prefixed(PyObject *cpy_r_value); +extern PyObject *CPyPy__eth_utils___is_0x_prefixed(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__eth_utils___remove_0x_prefix(PyObject *cpy_r_value); +extern PyObject *CPyPy__eth_utils___remove_0x_prefix(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__eth_utils___add_0x_prefix(PyObject *cpy_r_value); +extern PyObject *CPyPy__eth_utils___add_0x_prefix(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__eth_utils_____top_level__(void); +extern PyObject *CPyStatic__exceptions___logger; +extern PyObject *CPyStatic__exceptions___internal_err_types; +extern PyTypeObject *CPyType__exceptions___BadResponse; +extern PyTypeObject *CPyType__exceptions___EmptyBatch; +extern PyTypeObject *CPyType__exceptions___ExecutionReverted; +extern PyTypeObject *CPyType__exceptions___OutOfGas; +extern PyTypeObject *CPyType__exceptions___PayloadTooLarge; +extern PyTypeObject *CPyType__exceptions___ExceedsMaxBatchSize; +extern PyTypeObject *CPyType__exceptions___DankMidsClientResponseError; +extern PyObject *CPyDef__exceptions___DankMidsClientResponseError(PyObject *cpy_r_exc, PyObject *cpy_r_request); +extern PyTypeObject *CPyType__exceptions___DankMidsInternalError; +extern PyTypeObject *CPyType__exceptions___BatchResponseSortError; +extern PyTypeObject *CPyType__exceptions___RateLimitError; +extern PyTypeObject *CPyType__exceptions___ChainstackRateLimitError; +extern PyTypeObject *CPyType__exceptions___QuiknodeRateLimitError; +extern char CPyDef__exceptions___BadResponse_____init__(PyObject *cpy_r_self, PyObject *cpy_r_response); +extern PyObject *CPyPy__exceptions___BadResponse_____init__(PyObject *self, PyObject *args, PyObject *kw); +extern char CPyDef__exceptions___ExecutionReverted_____init__(PyObject *cpy_r_self, PyObject *cpy_r_response); +extern PyObject *CPyPy__exceptions___ExecutionReverted_____init__(PyObject *self, PyObject *args, PyObject *kw); +extern CPyTagged CPyDef__exceptions___ExceedsMaxBatchSize___limit(PyObject *cpy_r_self); +extern PyObject *CPyPy__exceptions___ExceedsMaxBatchSize___limit(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__exceptions___DankMidsClientResponseError_____init__(PyObject *cpy_r_self, PyObject *cpy_r_exc, PyObject *cpy_r_request); +extern PyObject *CPyPy__exceptions___DankMidsClientResponseError_____init__(PyObject *self, PyObject *args, PyObject *kw); +extern char CPyDef__exceptions___DankMidsInternalError_____init__(PyObject *cpy_r_self, PyObject *cpy_r_exc); +extern PyObject *CPyPy__exceptions___DankMidsInternalError_____init__(PyObject *self, PyObject *args, PyObject *kw); +extern char CPyDef__exceptions___BatchResponseSortError_____init__(PyObject *cpy_r_self, PyObject *cpy_r_controller, PyObject *cpy_r_calls, PyObject *cpy_r_response); +extern PyObject *CPyPy__exceptions___BatchResponseSortError_____init__(PyObject *self, PyObject *args, PyObject *kw); +extern double CPyDef__exceptions___ChainstackRateLimitError___try_again_in(PyObject *cpy_r_self); +extern PyObject *CPyPy__exceptions___ChainstackRateLimitError___try_again_in(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__exceptions_____top_level__(void); +extern PyObject *CPyStatic__logging___getLogger; +extern CPyTagged CPyStatic__logging___CRITICAL; +extern CPyTagged CPyStatic__logging___FATAL; +extern CPyTagged CPyStatic__logging___ERROR; +extern CPyTagged CPyStatic__logging___WARN; +extern CPyTagged CPyStatic__logging___WARNING; +extern CPyTagged CPyStatic__logging___INFO; +extern CPyTagged CPyStatic__logging___DEBUG; +extern CPyTagged CPyStatic__logging___NOTSET; +extern char CPyDef__logging_____top_level__(void); +extern PyTypeObject *CPyType__uid___UIDGenerator; +extern PyObject *CPyDef__uid___UIDGenerator(void); +extern char CPyDef__uid___UIDGenerator_____init__(PyObject *cpy_r_self); +extern PyObject *CPyPy__uid___UIDGenerator_____init__(PyObject *self, PyObject *args, PyObject *kw); +extern CPyTagged CPyDef__uid___UIDGenerator___latest(PyObject *cpy_r_self); +extern PyObject *CPyPy__uid___UIDGenerator___latest(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern CPyTagged CPyDef__uid___UIDGenerator___next(PyObject *cpy_r_self); +extern PyObject *CPyPy__uid___UIDGenerator___next(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__uid_____top_level__(void); +extern PyTypeObject *CPyType_base____RequestBase; +extern PyTypeObject *CPyType_base_____init___3__RequestBase_obj; +extern PyObject *CPyDef_base_____init___3__RequestBase_obj(void); +extern CPyThreadLocal dank_mids____requests___base_____init___3__RequestBase_objObject *base_____init___3__RequestBase_obj_free_instance; +extern PyTypeObject *CPyType_base_____await___3__RequestBase_obj; +extern PyObject *CPyDef_base_____await___3__RequestBase_obj(void); +extern CPyThreadLocal dank_mids____requests___base_____await___3__RequestBase_objObject *base_____await___3__RequestBase_obj_free_instance; +extern PyTypeObject *CPyType_base_____len___3__RequestBase_obj; +extern PyObject *CPyDef_base_____len___3__RequestBase_obj(void); +extern CPyThreadLocal dank_mids____requests___base_____len___3__RequestBase_objObject *base_____len___3__RequestBase_obj_free_instance; +extern PyTypeObject *CPyType_base___get_response__RequestBase_obj; +extern PyObject *CPyDef_base___get_response__RequestBase_obj(void); +extern CPyThreadLocal dank_mids____requests___base___get_response__RequestBase_objObject *base___get_response__RequestBase_obj_free_instance; +extern PyTypeObject *CPyType_base___get_response__RequestBase_gen; +extern PyObject *CPyDef_base___get_response__RequestBase_gen(void); +extern CPyThreadLocal dank_mids____requests___base___get_response__RequestBase_genObject *base___get_response__RequestBase_gen_free_instance; +extern PyObject *CPyDef_base_____init___3__RequestBase_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy_base_____init___3__RequestBase_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_base_____init___3__RequestBase_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_controller, PyObject *cpy_r_uid); +extern PyObject *CPyPy_base_____init___3__RequestBase_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_base_____await___3__RequestBase_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy_base_____await___3__RequestBase_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_base_____await___3__RequestBase_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self); +extern PyObject *CPyPy_base_____await___3__RequestBase_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_base_____len___3__RequestBase_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy_base_____len___3__RequestBase_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern CPyTagged CPyDef_base_____len___3__RequestBase_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self); +extern PyObject *CPyPy_base_____len___3__RequestBase_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_base___get_response__RequestBase_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy_base___get_response__RequestBase_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_base___get_response__RequestBase_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +extern PyObject *CPyDef_base___get_response__RequestBase_gen_____next__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_base___get_response__RequestBase_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_base___get_response__RequestBase_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +extern PyObject *CPyPy_base___get_response__RequestBase_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_base___get_response__RequestBase_gen_____iter__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_base___get_response__RequestBase_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_base___get_response__RequestBase_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +extern PyObject *CPyPy_base___get_response__RequestBase_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_base___get_response__RequestBase_gen___close(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_base___get_response__RequestBase_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_base___get_response__RequestBase_gen_____await__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_base___get_response__RequestBase_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_base___get_response__RequestBase_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self); +extern PyObject *CPyPy_base___get_response__RequestBase_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_base_____top_level__(void); +extern PyObject *CPyStatic_abi___Iterable; +extern PyObject *CPyStatic_abi___Mapping; +extern PyObject *CPyStatic_abi___parse; +extern PyObject *CPyStatic_abi____formatters; +extern PyObject *CPyStatic_abi____data_tree_maps; +extern PyTypeObject *CPyType_abi___Formatter; +extern PyObject *CPyDef_abi___Formatter(PyObject *cpy_r_normalizers, PyObject *cpy_r_types); +extern PyTypeObject *CPyType_abi___map_to_typed_data; +extern PyObject *CPyDef_abi___map_to_typed_data(PyObject *cpy_r_func); +extern PyTypeObject *CPyType_abi___ABITypedData; +extern PyObject *CPyDef_abi___ABITypedData(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +extern char CPyDef_abi___Formatter_____init__(PyObject *cpy_r_self, PyObject *cpy_r_normalizers, PyObject *cpy_r_types); +extern PyObject *CPyPy_abi___Formatter_____init__(PyObject *self, PyObject *args, PyObject *kw); +extern PyObject *CPyDef_abi___Formatter_____call__(PyObject *cpy_r_self, PyObject *cpy_r_data); +extern PyObject *CPyPy_abi___Formatter_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_abi___get_formatter(PyObject *cpy_r_normalizers, PyObject *cpy_r_types); +extern PyObject *CPyPy_abi___get_formatter(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_abi___get_data_tree_map(PyObject *cpy_r_func); +extern PyObject *CPyPy_abi___get_data_tree_map(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_abi___map_to_typed_data_____init__(PyObject *cpy_r_self, PyObject *cpy_r_func); +extern PyObject *CPyPy_abi___map_to_typed_data_____init__(PyObject *self, PyObject *args, PyObject *kw); +extern PyObject *CPyDef_abi___map_to_typed_data_____call__(PyObject *cpy_r_self, PyObject *cpy_r_elements); +extern PyObject *CPyPy_abi___map_to_typed_data_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_abi___strip_abi_types(PyObject *cpy_r_data); +extern PyObject *CPyPy_abi___strip_abi_types(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_abi___abi_sub_tree(PyObject *cpy_r_abi_type, PyObject *cpy_r_data_value); +extern PyObject *CPyPy_abi___abi_sub_tree(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_abi_____top_level__(void); +extern PyObject *CPyStatic_formatters___ABI_REQUEST_FORMATTERS; +extern tuple_T3OOO CPyStatic_formatters___REQUEST_FORMATTER_MAPS; +extern PyObject *CPyStatic_formatters____request_formatters; +extern PyObject *CPyStatic_formatters____response_formatters; +extern PyTypeObject *CPyType_formatters___abi_request_formatters_gen; +extern PyObject *CPyDef_formatters___abi_request_formatters_gen(void); +extern CPyThreadLocal dank_mids____web3___formatters___abi_request_formatters_genObject *formatters___abi_request_formatters_gen_free_instance; +extern PyObject *CPyDef_formatters___return_as_is(PyObject *cpy_r_x); +extern PyObject *CPyPy_formatters___return_as_is(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_formatters___abi_request_formatters_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +extern PyObject *CPyDef_formatters___abi_request_formatters_gen_____next__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_formatters___abi_request_formatters_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_formatters___abi_request_formatters_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +extern PyObject *CPyPy_formatters___abi_request_formatters_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_formatters___abi_request_formatters_gen_____iter__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_formatters___abi_request_formatters_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_formatters___abi_request_formatters_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +extern PyObject *CPyPy_formatters___abi_request_formatters_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_formatters___abi_request_formatters_gen___close(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_formatters___abi_request_formatters_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_formatters___abi_request_formatters(PyObject *cpy_r_normalizers, PyObject *cpy_r_abis); +extern PyObject *CPyPy_formatters___abi_request_formatters(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_formatters___get_request_formatters(PyObject *cpy_r_method_name); +extern PyObject *CPyPy_formatters___get_request_formatters(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern tuple_T3OOO CPyDef_formatters____get_response_formatters(PyObject *cpy_r_method); +extern PyObject *CPyPy_formatters____get_response_formatters(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_formatters_____top_level__(void); +extern char CPyDef_brownie_patch_____top_level__(void); +extern PyObject *CPyStatic__abi____singletons; +extern PyObject *CPyStatic__abi___keccak; +extern PyTypeObject *CPyType__abi___FunctionABI; +extern PyTypeObject *CPyType__abi_____init___3_FunctionABI_obj; +extern PyObject *CPyDef__abi_____init___3_FunctionABI_obj(void); +extern CPyThreadLocal dank_mids___brownie_patch____abi_____init___3_FunctionABI_objObject *_abi_____init___3_FunctionABI_obj_free_instance; +extern PyTypeObject *CPyType__abi___singleton_FunctionABI_obj; +extern PyObject *CPyDef__abi___singleton_FunctionABI_obj(void); +extern CPyThreadLocal dank_mids___brownie_patch____abi___singleton_FunctionABI_objObject *_abi___singleton_FunctionABI_obj_free_instance; +extern PyObject *CPyDef__abi_____init___3_FunctionABI_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy__abi_____init___3_FunctionABI_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__abi_____init___3_FunctionABI_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_abi); +extern PyObject *CPyPy__abi_____init___3_FunctionABI_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__abi___singleton_FunctionABI_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy__abi___singleton_FunctionABI_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__abi___singleton_FunctionABI_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_abi); +extern PyObject *CPyPy__abi___singleton_FunctionABI_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__abi___get_type_strings(PyObject *cpy_r_abi_params, PyObject *cpy_r_substitutions); +extern PyObject *CPyPy__abi___get_type_strings(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__abi___build_function_signature(PyObject *cpy_r_abi); +extern PyObject *CPyPy__abi___build_function_signature(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__abi___build_function_selector(PyObject *cpy_r_input_signature); +extern PyObject *CPyPy__abi___build_function_selector(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__abi_____top_level__(void); +extern char CPyStatic_call___APPLICATION_MODE; +extern PyObject *CPyStatic_call___Decimal; +extern PyObject *CPyStatic_call___HexBytes; +extern PyObject *CPyStatic_call___Contract; +extern PyObject *CPyStatic_call___ReturnValue; +extern PyObject *CPyStatic_call___HexString; +extern PyObject *CPyStatic_call___TupleType; +extern PyObject *CPyStatic_call___Revert; +extern PyObject *CPyStatic_call___to_bool; +extern PyObject *CPyStatic_call___to_decimal; +extern PyObject *CPyStatic_call___to_int; +extern PyObject *CPyStatic_call___to_string; +extern PyObject *CPyStatic_call___to_uint; +extern PyObject *CPyStatic_call____check_array; +extern PyObject *CPyStatic_call____get_abi_types; +extern PyObject *CPyStatic_call___logger; +extern PyObject *CPyStatic_call___encode; +extern PyObject *CPyStatic_call___decode; +extern PyObject *CPyStatic_call___to_checksum_address; +extern PyObject *CPyStatic_call_____eth_abi_encode; +extern PyObject *CPyStatic_call_____eth_abi_decode; +extern PyTypeObject *CPyType_call_____mypyc_lambda__0_obj; +extern PyObject *CPyDef_call_____mypyc_lambda__0_obj(void); +extern CPyThreadLocal dank_mids___brownie_patch___call_____mypyc_lambda__0_objObject *call_____mypyc_lambda__0_obj_free_instance; +extern PyTypeObject *CPyType_call_____mypyc_lambda__1_obj; +extern PyObject *CPyDef_call_____mypyc_lambda__1_obj(void); +extern CPyThreadLocal dank_mids___brownie_patch___call_____mypyc_lambda__1_objObject *call_____mypyc_lambda__1_obj_free_instance; +extern PyTypeObject *CPyType_call____get_coroutine_fn_env; +extern PyObject *CPyDef_call____get_coroutine_fn_env(void); +extern CPyThreadLocal dank_mids___brownie_patch___call____get_coroutine_fn_envObject *call____get_coroutine_fn_env_free_instance; +extern PyTypeObject *CPyType_call___coroutine__get_coroutine_fn_env; +extern PyObject *CPyDef_call___coroutine__get_coroutine_fn_env(void); +extern CPyThreadLocal dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_envObject *call___coroutine__get_coroutine_fn_env_free_instance; +extern PyTypeObject *CPyType_call___coroutine__get_coroutine_fn_obj; +extern PyObject *CPyDef_call___coroutine__get_coroutine_fn_obj(void); +extern CPyThreadLocal dank_mids___brownie_patch___call___coroutine__get_coroutine_fn_objObject *call___coroutine__get_coroutine_fn_obj_free_instance; +extern PyTypeObject *CPyType_call___coroutine_gen___3_147; +extern PyObject *CPyDef_call___coroutine_gen___3_147(void); +extern CPyThreadLocal dank_mids___brownie_patch___call___coroutine_gen___3_147Object *call___coroutine_gen___3_147_free_instance; +extern PyTypeObject *CPyType_call___encode_input_gen; +extern PyObject *CPyDef_call___encode_input_gen(void); +extern CPyThreadLocal dank_mids___brownie_patch___call___encode_input_genObject *call___encode_input_gen_free_instance; +extern PyTypeObject *CPyType_call___decode_output_gen; +extern PyObject *CPyDef_call___decode_output_gen(void); +extern CPyThreadLocal dank_mids___brownie_patch___call___decode_output_genObject *call___decode_output_gen_free_instance; +extern PyTypeObject *CPyType_call____request_data_no_args_gen; +extern PyObject *CPyDef_call____request_data_no_args_gen(void); +extern CPyThreadLocal dank_mids___brownie_patch___call____request_data_no_args_genObject *call____request_data_no_args_gen_free_instance; +extern PyObject *CPyDef_call_____mypyc_lambda__0_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy_call_____mypyc_lambda__0_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call_____mypyc_lambda__0_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_args); +extern PyObject *CPyPy_call_____mypyc_lambda__0_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call_____mypyc_lambda__1_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy_call_____mypyc_lambda__1_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call_____mypyc_lambda__1_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_data); +extern PyObject *CPyPy_call_____mypyc_lambda__1_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_call____patch_call(PyObject *cpy_r_call, PyObject *cpy_r_w3); +extern PyObject *CPyPy_call____patch_call(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___coroutine__get_coroutine_fn_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy_call___coroutine__get_coroutine_fn_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___coroutine_gen___3_147_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +extern PyObject *CPyDef_call___coroutine_gen___3_147_____next__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call___coroutine_gen___3_147_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___coroutine_gen___3_147___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +extern PyObject *CPyPy_call___coroutine_gen___3_147___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___coroutine_gen___3_147_____iter__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call___coroutine_gen___3_147_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___coroutine_gen___3_147___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +extern PyObject *CPyPy_call___coroutine_gen___3_147___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___coroutine_gen___3_147___close(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call___coroutine_gen___3_147___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___coroutine_gen___3_147_____await__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call___coroutine_gen___3_147_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___coroutine__get_coroutine_fn_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_args, PyObject *cpy_r_block_identifier, PyObject *cpy_r_decimals, PyObject *cpy_r_override); +extern PyObject *CPyPy_call___coroutine__get_coroutine_fn_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call____get_coroutine_fn(PyObject *cpy_r_w3, CPyTagged cpy_r_len_inputs); +extern PyObject *CPyPy_call____get_coroutine_fn(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call____call_no_args(PyObject *cpy_r_self); +extern PyObject *CPyPy_call____call_no_args(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___encode_input_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +extern PyObject *CPyDef_call___encode_input_gen_____next__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call___encode_input_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___encode_input_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +extern PyObject *CPyPy_call___encode_input_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___encode_input_gen_____iter__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call___encode_input_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___encode_input_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +extern PyObject *CPyPy_call___encode_input_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___encode_input_gen___close(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call___encode_input_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___encode_input_gen_____await__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call___encode_input_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___encode_input(PyObject *cpy_r_call, CPyTagged cpy_r_len_inputs, PyObject *cpy_r_get_request_data, PyObject *cpy_r_args); +extern PyObject *CPyPy_call___encode_input(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___decode_output_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +extern PyObject *CPyDef_call___decode_output_gen_____next__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call___decode_output_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___decode_output_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +extern PyObject *CPyPy_call___decode_output_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___decode_output_gen_____iter__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call___decode_output_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___decode_output_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +extern PyObject *CPyPy_call___decode_output_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___decode_output_gen___close(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call___decode_output_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___decode_output_gen_____await__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call___decode_output_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___decode_output(PyObject *cpy_r_call, PyObject *cpy_r_data); +extern PyObject *CPyPy_call___decode_output(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call____request_data_no_args_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +extern PyObject *CPyDef_call____request_data_no_args_gen_____next__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call____request_data_no_args_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call____request_data_no_args_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +extern PyObject *CPyPy_call____request_data_no_args_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call____request_data_no_args_gen_____iter__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call____request_data_no_args_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call____request_data_no_args_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +extern PyObject *CPyPy_call____request_data_no_args_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call____request_data_no_args_gen___close(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call____request_data_no_args_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call____request_data_no_args_gen_____await__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_call____request_data_no_args_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call____request_data_no_args(PyObject *cpy_r_call); +extern PyObject *CPyPy_call____request_data_no_args(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call_____encode_input(PyObject *cpy_r_abi, PyObject *cpy_r_signature, PyObject *cpy_r_args); +extern PyObject *CPyPy_call_____encode_input(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call_____decode_output(PyObject *cpy_r_hexstr, PyObject *cpy_r_abi); +extern PyObject *CPyPy_call_____decode_output(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_call_____validate_output(PyObject *cpy_r_abi, PyObject *cpy_r_hexstr); +extern PyObject *CPyPy_call_____validate_output(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___format_input_but_cache_checksums(PyObject *cpy_r_abi, PyObject *cpy_r_inputs); +extern PyObject *CPyPy_call___format_input_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call___format_output_but_cache_checksums(PyObject *cpy_r_abi, PyObject *cpy_r_outputs); +extern PyObject *CPyPy_call___format_output_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call____format_tuple_but_cache_checksums(PyObject *cpy_r_abi_types, PyObject *cpy_r_values); +extern PyObject *CPyPy_call____format_tuple_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call____format_array_but_cache_checksums(PyObject *cpy_r_abi_type, PyObject *cpy_r_values); +extern PyObject *CPyPy_call____format_array_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_call____format_single_but_cache_checksums(PyObject *cpy_r_type_str, PyObject *cpy_r_value); +extern PyObject *CPyPy_call____format_single_but_cache_checksums(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_call_____top_level__(void); +extern PyTypeObject *CPyType_overloaded____patch_overloaded_method_env; +extern PyObject *CPyDef_overloaded____patch_overloaded_method_env(void); +extern CPyThreadLocal dank_mids___brownie_patch___overloaded____patch_overloaded_method_envObject *overloaded____patch_overloaded_method_env_free_instance; +extern PyTypeObject *CPyType_overloaded___coroutine__patch_overloaded_method_env; +extern PyObject *CPyDef_overloaded___coroutine__patch_overloaded_method_env(void); +extern CPyThreadLocal dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_envObject *overloaded___coroutine__patch_overloaded_method_env_free_instance; +extern PyTypeObject *CPyType_overloaded___coroutine__patch_overloaded_method_obj; +extern PyObject *CPyDef_overloaded___coroutine__patch_overloaded_method_obj(void); +extern CPyThreadLocal dank_mids___brownie_patch___overloaded___coroutine__patch_overloaded_method_objObject *overloaded___coroutine__patch_overloaded_method_obj_free_instance; +extern PyTypeObject *CPyType_overloaded___coroutine_gen___3_23; +extern PyObject *CPyDef_overloaded___coroutine_gen___3_23(void); +extern CPyThreadLocal dank_mids___brownie_patch___overloaded___coroutine_gen___3_23Object *overloaded___coroutine_gen___3_23_free_instance; +extern PyObject *CPyDef_overloaded___coroutine__patch_overloaded_method_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy_overloaded___coroutine__patch_overloaded_method_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_overloaded___coroutine_gen___3_23_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +extern PyObject *CPyDef_overloaded___coroutine_gen___3_23_____next__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_overloaded___coroutine_gen___3_23_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_overloaded___coroutine_gen___3_23___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +extern PyObject *CPyPy_overloaded___coroutine_gen___3_23___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_overloaded___coroutine_gen___3_23_____iter__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_overloaded___coroutine_gen___3_23_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_overloaded___coroutine_gen___3_23___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +extern PyObject *CPyPy_overloaded___coroutine_gen___3_23___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_overloaded___coroutine_gen___3_23___close(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_overloaded___coroutine_gen___3_23___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_overloaded___coroutine_gen___3_23_____await__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_overloaded___coroutine_gen___3_23_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_overloaded___coroutine__patch_overloaded_method_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_self, PyObject *cpy_r_args, PyObject *cpy_r_block_identifier, PyObject *cpy_r_decimals, PyObject *cpy_r_override); +extern PyObject *CPyPy_overloaded___coroutine__patch_overloaded_method_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_overloaded____patch_overloaded_method(PyObject *cpy_r_call, PyObject *cpy_r_w3); +extern PyObject *CPyPy_overloaded____patch_overloaded_method(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_overloaded_____top_level__(void); +extern PyTypeObject *CPyType_types___DankContractCall; +extern PyObject *CPyDef_types___DankContractCall(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +extern PyTypeObject *CPyType_types___DankContractTx; +extern PyObject *CPyDef_types___DankContractTx(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +extern PyTypeObject *CPyType_types___DankOverloadedMethod; +extern PyObject *CPyDef_types___DankOverloadedMethod(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +extern PyTypeObject *CPyType_types___coroutine_DankOverloadedMethod_gen; +extern PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen(void); +extern CPyThreadLocal dank_mids___brownie_patch___types___coroutine_DankOverloadedMethod_genObject *types___coroutine_DankOverloadedMethod_gen_free_instance; +extern PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +extern PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen_____next__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +extern PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen_____iter__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +extern PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen___close(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_types___coroutine_DankOverloadedMethod_gen_____await__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_types___coroutine_DankOverloadedMethod_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_types___DankOverloadedMethod___coroutine(PyObject *cpy_r_self, PyObject *cpy_r_args, PyObject *cpy_r_block_identifier, PyObject *cpy_r_decimals, PyObject *cpy_r_override); +extern PyObject *CPyPy_types___DankOverloadedMethod___coroutine(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_types___DankOverloadedMethod____add_fn(PyObject *cpy_r_self, PyObject *cpy_r_abi, PyObject *cpy_r_natspec); +extern PyObject *CPyPy_types___DankOverloadedMethod____add_fn(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_types____get_method_object(PyObject *cpy_r_address, PyObject *cpy_r_abi, PyObject *cpy_r_name, PyObject *cpy_r_owner, PyObject *cpy_r_natspec); +extern PyObject *CPyPy_types____get_method_object(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_types_____top_level__(void); +extern char CPyDef_helpers_____top_level__(void); +extern PyObject *CPyStatic__codec___HexBytes; +extern PyObject *CPyStatic__codec___Raw; +extern PyObject *CPyStatic__codec___ContextFramesBytesIO; +extern PyObject *CPyStatic__codec___DecodeError; +extern PyObject *CPyStatic__codec___decode_string; +extern PyObject *CPyStatic__codec____decode_raw; +extern PyObject *CPyStatic__codec___encode; +extern PyObject *CPyStatic__codec____mcall_encoder; +extern PyObject *CPyStatic__codec____array_encoder; +extern PyObject *CPyStatic__codec____item_encoder; +extern PyObject *CPyStatic__codec____mcall_decoder; +extern PyTypeObject *CPyType__codec___RawResponse; +extern PyObject *CPyDef__codec___RawResponse(PyObject *cpy_r_raw); +extern PyTypeObject *CPyType__codec_____mypyc_lambda__0_obj; +extern PyObject *CPyDef__codec_____mypyc_lambda__0_obj(void); +extern CPyThreadLocal dank_mids___helpers____codec_____mypyc_lambda__0_objObject *_codec_____mypyc_lambda__0_obj_free_instance; +extern char CPyDef__codec___RawResponse_____init__(PyObject *cpy_r_self, PyObject *cpy_r_raw); +extern PyObject *CPyPy__codec___RawResponse_____init__(PyObject *self, PyObject *args, PyObject *kw); +extern PyObject *CPyDef__codec___RawResponse___decode(PyObject *cpy_r_self, char cpy_r_partial); +extern PyObject *CPyPy__codec___RawResponse___decode(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__codec___decode_raw(PyObject *cpy_r_data); +extern PyObject *CPyPy__codec___decode_raw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__codec___decode_jsonrpc_batch(PyObject *cpy_r_data); +extern PyObject *CPyPy__codec___decode_jsonrpc_batch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__codec____encode_hook(PyObject *cpy_r_obj); +extern PyObject *CPyPy__codec____encode_hook(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__codec____rudimentary_encode_dict_value(PyObject *cpy_r_value); +extern PyObject *CPyPy__codec____rudimentary_encode_dict_value(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__codec_____mypyc_lambda__0_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy__codec_____mypyc_lambda__0_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__codec_____mypyc_lambda__0_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r__); +extern PyObject *CPyPy__codec_____mypyc_lambda__0_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__codec____int_to_big_endian(CPyTagged cpy_r_value); +extern PyObject *CPyPy__codec____int_to_big_endian(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__codec____encode_uint_256(CPyTagged cpy_r_i); +extern PyObject *CPyPy__codec____encode_uint_256(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__codec_____encode_new(PyObject *cpy_r_values); +extern PyObject *CPyPy__codec_____encode_new(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern tuple_T2OI CPyDef__codec_____encode_elements_new(PyObject *cpy_r_values); +extern PyObject *CPyPy__codec_____encode_elements_new(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__codec___mcall_encode(PyObject *cpy_r_data); +extern PyObject *CPyPy__codec___mcall_encode(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__codec___mcall_decode(PyObject *cpy_r_data); +extern PyObject *CPyPy__codec___mcall_decode(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__codec_____import_from_types(void); +extern PyObject *CPyPy__codec_____import_from_types(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__codec_____make_decode_batch(void); +extern PyObject *CPyPy__codec_____make_decode_batch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__codec_____top_level__(void); +extern PyObject *CPyStatic__errors___error_logger; +extern PyObject *CPyStatic__errors___error_logger_debug; +extern PyObject *CPyStatic__errors___error_logger_log; +extern PyObject *CPyStatic__errors___revert_logger; +extern PyObject *CPyStatic__errors___revert_logger_log; +extern PyObject *CPyStatic__errors___timeout_logger; +extern PyObject *CPyStatic__errors___timeout_logger_debug; +extern PyObject *CPyStatic__errors___timeout_logger_warning; +extern PyObject *CPyStatic__errors___gas_logger; +extern PyObject *CPyStatic__errors___gas_logger_debug; +extern PyObject *CPyStatic__errors___INDIVIDUAL_CALL_REVERT_STRINGS; +extern char CPyDef__errors___error_logger_log_debug(PyObject *cpy_r_msg, PyObject *cpy_r_args); +extern PyObject *CPyPy__errors___error_logger_log_debug(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__errors___revert_logger_log_debug(PyObject *cpy_r_msg, PyObject *cpy_r_args); +extern PyObject *CPyPy__errors___revert_logger_log_debug(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__errors___log_internal_error(PyObject *cpy_r_logger, PyObject *cpy_r_batch, PyObject *cpy_r_exc); +extern PyObject *CPyPy__errors___log_internal_error(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__errors___needs_full_request_spec(PyObject *cpy_r_response); +extern PyObject *CPyPy__errors___needs_full_request_spec(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__errors___is_call_revert(PyObject *cpy_r_e); +extern PyObject *CPyPy__errors___is_call_revert(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__errors___is_revert_bytes(PyObject *cpy_r_data); +extern PyObject *CPyPy__errors___is_revert_bytes(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +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___Task; +extern PyObject *CPyStatic__gather___get_running_loop; +extern PyObject *CPyStatic__gather___wait; +extern PyObject *CPyStatic__gather___yield_to_loop; +extern PyTypeObject *CPyType__gather___gatherish_gen; +extern PyObject *CPyDef__gather___gatherish_gen(void); +extern CPyThreadLocal dank_mids___helpers____gather___gatherish_genObject *_gather___gatherish_gen_free_instance; +extern PyTypeObject *CPyType__gather___first_completed_gen; +extern PyObject *CPyDef__gather___first_completed_gen(void); +extern CPyThreadLocal dank_mids___helpers____gather___first_completed_genObject *_gather___first_completed_gen_free_instance; +extern PyObject *CPyDef__gather___gatherish_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +extern PyObject *CPyDef__gather___gatherish_gen_____next__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__gather___gatherish_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__gather___gatherish_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +extern PyObject *CPyPy__gather___gatherish_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__gather___gatherish_gen_____iter__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__gather___gatherish_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__gather___gatherish_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +extern PyObject *CPyPy__gather___gatherish_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__gather___gatherish_gen___close(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__gather___gatherish_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__gather___gatherish_gen_____await__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__gather___gatherish_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__gather___gatherish(PyObject *cpy_r_coros, PyObject *cpy_r_name); +extern PyObject *CPyPy__gather___gatherish(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__gather___first_completed_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +extern PyObject *CPyDef__gather___first_completed_gen_____next__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__gather___first_completed_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__gather___first_completed_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +extern PyObject *CPyPy__gather___first_completed_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__gather___first_completed_gen_____iter__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__gather___first_completed_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__gather___first_completed_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +extern PyObject *CPyPy__gather___first_completed_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__gather___first_completed_gen___close(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__gather___first_completed_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__gather___first_completed_gen_____await__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__gather___first_completed_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__gather___first_completed(PyObject *cpy_r_fs, char cpy_r_cancel); +extern PyObject *CPyPy__gather___first_completed(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__gather_____top_level__(void); +extern PyTypeObject *CPyType__weaklist___WeakList; +extern PyObject *CPyDef__weaklist___WeakList(PyObject *cpy_r_data); +extern PyTypeObject *CPyType__weaklist_____iter___3_WeakList_gen; +extern PyObject *CPyDef__weaklist_____iter___3_WeakList_gen(void); +extern CPyThreadLocal dank_mids___helpers____weaklist_____iter___3_WeakList_genObject *_weaklist_____iter___3_WeakList_gen_free_instance; +extern char CPyDef__weaklist___WeakList_____init__(PyObject *cpy_r_self, PyObject *cpy_r_data); +extern PyObject *CPyPy__weaklist___WeakList_____init__(PyObject *self, PyObject *args, PyObject *kw); +extern PyObject *CPyDef__weaklist___WeakList_____repr__(PyObject *cpy_r_self); +extern PyObject *CPyPy__weaklist___WeakList_____repr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern CPyTagged CPyDef__weaklist___WeakList_____len__(PyObject *cpy_r_self); +extern PyObject *CPyPy__weaklist___WeakList_____len__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__weaklist___WeakList_____bool__(PyObject *cpy_r_self); +extern PyObject *CPyPy__weaklist___WeakList_____bool__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__weaklist___WeakList_____contains__(PyObject *cpy_r_self, PyObject *cpy_r_item); +extern PyObject *CPyPy__weaklist___WeakList_____contains__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__weaklist_____iter___3_WeakList_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +extern PyObject *CPyDef__weaklist_____iter___3_WeakList_gen_____next__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__weaklist_____iter___3_WeakList_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__weaklist_____iter___3_WeakList_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +extern PyObject *CPyPy__weaklist_____iter___3_WeakList_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__weaklist_____iter___3_WeakList_gen_____iter__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__weaklist_____iter___3_WeakList_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__weaklist_____iter___3_WeakList_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +extern PyObject *CPyPy__weaklist_____iter___3_WeakList_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__weaklist_____iter___3_WeakList_gen___close(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy__weaklist_____iter___3_WeakList_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef__weaklist___WeakList_____iter__(PyObject *cpy_r_self); +extern PyObject *CPyPy__weaklist___WeakList_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__weaklist___WeakList___append(PyObject *cpy_r_self, PyObject *cpy_r_item); +extern PyObject *CPyPy__weaklist___WeakList___append(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__weaklist___WeakList___extend(PyObject *cpy_r_self, PyObject *cpy_r_items); +extern PyObject *CPyPy__weaklist___WeakList___extend(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__weaklist___WeakList___remove(PyObject *cpy_r_self, PyObject *cpy_r_item); +extern PyObject *CPyPy__weaklist___WeakList___remove(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__weaklist___WeakList____gc_callback(PyObject *cpy_r_self, PyObject *cpy_r_item); +extern PyObject *CPyPy__weaklist___WeakList____gc_callback(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef__weaklist_____top_level__(void); +extern PyObject *CPyStatic_batch_size___batch_size_logger; +extern PyObject *CPyStatic_batch_size____log_info; +extern char CPyDef_batch_size___log_check(PyObject *cpy_r_batch_type, PyObject *cpy_r_member_type, CPyTagged cpy_r_num_calls); +extern PyObject *CPyPy_batch_size___log_check(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_batch_size_____top_level__(void); +extern PyTypeObject *CPyType_hashing___AttributeDict; +extern PyObject *CPyDef_hashing___AttributeDict(PyObject *cpy_r_dictionary, PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +extern PyTypeObject *CPyType_hashing____to_tuple_obj; +extern PyObject *CPyDef_hashing____to_tuple_obj(void); +extern CPyThreadLocal dank_mids___helpers___hashing____to_tuple_objObject *hashing____to_tuple_obj_free_instance; +extern PyObject *CPyDef_hashing___make_hashable(PyObject *cpy_r_obj); +extern PyObject *CPyPy_hashing___make_hashable(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_hashing___AttributeDict_____init__(PyObject *cpy_r_self, PyObject *cpy_r_dictionary, PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +extern PyObject *CPyPy_hashing___AttributeDict_____init__(PyObject *self, PyObject *args, PyObject *kw); +extern CPyTagged CPyDef_hashing___AttributeDict_____hash__(PyObject *cpy_r_self); +extern PyObject *CPyPy_hashing___AttributeDict_____hash__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_hashing___AttributeDict_____eq__(PyObject *cpy_r_self, PyObject *cpy_r_other); +extern PyObject *CPyPy_hashing___AttributeDict_____eq__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_hashing___AttributeDict_____setattr__(PyObject *cpy_r_self, PyObject *cpy_r_attr, PyObject *cpy_r_val); +extern PyObject *CPyPy_hashing___AttributeDict_____setattr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_hashing___AttributeDict_____delattr__(PyObject *cpy_r_self, PyObject *cpy_r_key); +extern PyObject *CPyPy_hashing___AttributeDict_____delattr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_hashing___AttributeDict_____getitem__(PyObject *cpy_r_self, PyObject *cpy_r_key); +extern PyObject *CPyPy_hashing___AttributeDict_____getitem__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_hashing___AttributeDict_____iter__(PyObject *cpy_r_self); +extern PyObject *CPyPy_hashing___AttributeDict_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern CPyTagged CPyDef_hashing___AttributeDict_____len__(PyObject *cpy_r_self); +extern PyObject *CPyPy_hashing___AttributeDict_____len__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_hashing___AttributeDict_____repr__(PyObject *cpy_r_self); +extern PyObject *CPyPy_hashing___AttributeDict_____repr__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_hashing___AttributeDict____repr_pretty_(PyObject *cpy_r_self, PyObject *cpy_r_builder, char cpy_r_cycle); +extern PyObject *CPyPy_hashing___AttributeDict____repr_pretty_(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_hashing___AttributeDict___recursive(PyObject *cpy_r_cls, PyObject *cpy_r_value); +extern PyObject *CPyPy_hashing___AttributeDict___recursive(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_hashing___AttributeDict___keys(PyObject *cpy_r_self); +extern PyObject *CPyPy_hashing___AttributeDict___keys(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_hashing___AttributeDict___values(PyObject *cpy_r_self); +extern PyObject *CPyPy_hashing___AttributeDict___values(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_hashing___AttributeDict___items(PyObject *cpy_r_self); +extern PyObject *CPyPy_hashing___AttributeDict___items(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_hashing___AttributeDict_____ne__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_rhs); +extern PyObject *CPyPy_hashing___AttributeDict_____ne__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_hashing___tupleize_lists_nested(PyObject *cpy_r_d); +extern PyObject *CPyPy_hashing___tupleize_lists_nested(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_hashing_____mypyc_singledispatch_main_function__to_tuple__(PyObject *cpy_r_value); +extern PyObject *CPyPy_hashing_____mypyc_singledispatch_main_function__to_tuple__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_hashing____to_tuple_obj_____init__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_hashing____to_tuple_obj_____init__(PyObject *self, PyObject *args, PyObject *kw); +extern PyObject *CPyDef_hashing____to_tuple_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_value); +extern PyObject *CPyPy_hashing____to_tuple_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_hashing____to_tuple_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy_hashing____to_tuple_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_hashing____to_tuple_obj___register(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_cls, PyObject *cpy_r_func); +extern PyObject *CPyPy_hashing____to_tuple_obj___register(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_hashing____to_tuple(PyObject *cpy_r_value); +extern PyObject *CPyPy_hashing____to_tuple(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_hashing_______155(PyObject *cpy_r_value); +extern PyObject *CPyPy_hashing_______155(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_hashing_______160(PyObject *cpy_r_value); +extern PyObject *CPyPy_hashing_______160(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_hashing_____top_level__(void); +extern PyTypeObject *CPyType_lru_cache___lru_cache_lite_env; +extern PyObject *CPyDef_lru_cache___lru_cache_lite_env(void); +extern CPyThreadLocal dank_mids___helpers___lru_cache___lru_cache_lite_envObject *lru_cache___lru_cache_lite_env_free_instance; +extern PyTypeObject *CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj; +extern PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj(void); +extern CPyThreadLocal dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_objObject *lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_free_instance; +extern PyTypeObject *CPyType_lru_cache___lru_cache_lite_nonull_env; +extern PyObject *CPyDef_lru_cache___lru_cache_lite_nonull_env(void); +extern CPyThreadLocal dank_mids___helpers___lru_cache___lru_cache_lite_nonull_envObject *lru_cache___lru_cache_lite_nonull_env_free_instance; +extern PyTypeObject *CPyType_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj; +extern PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj(void); +extern CPyThreadLocal dank_mids___helpers___lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_objObject *lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_free_instance; +extern PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_args); +extern PyObject *CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_lru_cache___lru_cache_lite(PyObject *cpy_r_func); +extern PyObject *CPyPy_lru_cache___lru_cache_lite(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____call__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_args); +extern PyObject *CPyPy_lru_cache___lru_cache_lite_wrap_lru_cache_lite_nonull_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_lru_cache___lru_cache_lite_nonull(PyObject *cpy_r_func); +extern PyObject *CPyPy_lru_cache___lru_cache_lite_nonull(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_lru_cache_____top_level__(void); +extern tuple_T4OOOO CPyStatic_method___BYPASS_METHODS; +extern CPyTagged CPyDef_method___get_len(PyObject *cpy_r_method); +extern PyObject *CPyPy_method___get_len(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_method___should_batch(PyObject *cpy_r_method); +extern PyObject *CPyPy_method___should_batch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_method_____top_level__(void); +extern PyObject *CPyStatic_stats____ENVS; +extern PyObject *CPyStatic_stats___yield_to_loop; +extern PyObject *CPyStatic_stats____SentryExporter___metrics; +extern PyObject *CPyStatic_stats____SentryExporter___units; +extern PyObject *CPyStatic_stats____SentryExporter___set_tag; +extern PyObject *CPyStatic_stats____SentryExporter___set_measurement; +extern PyObject *CPyStatic_stats____SentryExporter____exc; +extern PyObject *CPyStatic_stats___logger; +extern PyObject *CPyStatic_stats___log; +extern PyObject *CPyStatic_stats___devhint; +extern PyObject *CPyStatic_stats___collector; +extern PyObject *CPyStatic_stats___sentry; +extern PyTypeObject *CPyType_stats____StatsLogger; +extern PyObject *CPyDef_stats____StatsLogger(PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +extern PyTypeObject *CPyType_stats____Collector; +extern PyObject *CPyDef_stats____Collector(void); +extern PyTypeObject *CPyType_stats____Writer; +extern PyObject *CPyDef_stats____Writer(void); +extern PyTypeObject *CPyType_stats____SentryExporter; +extern PyObject *CPyDef_stats____SentryExporter(void); +extern PyTypeObject *CPyType_stats____stats_daemon__StatsLogger_gen; +extern PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen(void); +extern CPyThreadLocal dank_mids___stats____stats_daemon__StatsLogger_genObject *stats____stats_daemon__StatsLogger_gen_free_instance; +extern PyTypeObject *CPyType_stats_____init___3__Collector_env; +extern PyObject *CPyDef_stats_____init___3__Collector_env(void); +extern CPyThreadLocal dank_mids___stats_____init___3__Collector_envObject *stats_____init___3__Collector_env_free_instance; +extern PyTypeObject *CPyType_stats_____mypyc_lambda__0___3_init___3__Collector_obj; +extern PyObject *CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj(void); +extern CPyThreadLocal dank_mids___stats_____mypyc_lambda__0___3_init___3__Collector_objObject *stats_____mypyc_lambda__0___3_init___3__Collector_obj_free_instance; +extern PyTypeObject *CPyType_stats_____mypyc_lambda__1___3_init___3__Collector_obj; +extern PyObject *CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj(void); +extern CPyThreadLocal dank_mids___stats_____mypyc_lambda__1___3_init___3__Collector_objObject *stats_____mypyc_lambda__1___3_init___3__Collector_obj_free_instance; +extern char CPyDef_stats___log_errd_batch(PyObject *cpy_r_batch); +extern PyObject *CPyPy_stats___log_errd_batch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats___log_duration(PyObject *cpy_r_work_descriptor, double cpy_r_start, CPyTagged cpy_r_level); +extern PyObject *CPyPy_stats___log_duration(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____StatsLogger___enabled(PyObject *cpy_r_self); +extern PyObject *CPyPy_stats____StatsLogger___enabled(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____StatsLogger___stats(PyObject *cpy_r_self, PyObject *cpy_r_msg, PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +extern PyObject *CPyPy_stats____StatsLogger___stats(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____StatsLogger___devhint(PyObject *cpy_r_self, PyObject *cpy_r_msg, PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +extern PyObject *CPyPy_stats____StatsLogger___devhint(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____StatsLogger___log_brownie_stats(PyObject *cpy_r_self, CPyTagged cpy_r_level); +extern PyObject *CPyPy_stats____StatsLogger___log_brownie_stats(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____StatsLogger___log_event_loop_stats(PyObject *cpy_r_self, CPyTagged cpy_r_level); +extern PyObject *CPyPy_stats____StatsLogger___log_event_loop_stats(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____StatsLogger___log_subprocess_stats(PyObject *cpy_r_self, CPyTagged cpy_r_level); +extern PyObject *CPyPy_stats____StatsLogger___log_subprocess_stats(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____StatsLogger____log(PyObject *cpy_r_self, CPyTagged cpy_r_level, PyObject *cpy_r_msg, PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +extern PyObject *CPyPy_stats____StatsLogger____log(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____StatsLogger____log_nocheck(PyObject *cpy_r_self, CPyTagged cpy_r_level, PyObject *cpy_r_msg, PyObject *cpy_r_args, PyObject *cpy_r_kwargs); +extern PyObject *CPyPy_stats____StatsLogger____log_nocheck(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____StatsLogger____log_fn_result(PyObject *cpy_r_self, CPyTagged cpy_r_level, PyObject *cpy_r_callable, PyObject *cpy_r_callable_args, PyObject *cpy_r_logging_kwargs); +extern PyObject *CPyPy_stats____StatsLogger____log_fn_result(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____StatsLogger____ensure_daemon(PyObject *cpy_r_self); +extern PyObject *CPyPy_stats____StatsLogger____ensure_daemon(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen_____mypyc_generator_helper__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback, PyObject *cpy_r_arg, PyObject **cpy_r_stop_iter_ptr); +extern PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen_____next__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen_____next__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen___send(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_arg); +extern PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen___send(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen_____iter__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen_____iter__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen___throw(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_type, PyObject *cpy_r_value, PyObject *cpy_r_traceback); +extern PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen___throw(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen___close(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen___close(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_stats____stats_daemon__StatsLogger_gen_____await__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_stats____stats_daemon__StatsLogger_gen_____await__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_stats____StatsLogger____stats_daemon(PyObject *cpy_r_self); +extern PyObject *CPyPy_stats____StatsLogger____stats_daemon(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____StatsLogger___log_validation_error(PyObject *cpy_r_self, PyObject *cpy_r_method, PyObject *cpy_r_e); +extern PyObject *CPyPy_stats____StatsLogger___log_validation_error(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____StatsLogger___log_types(PyObject *cpy_r_self, PyObject *cpy_r_method, PyObject *cpy_r_decoded); +extern PyObject *CPyPy_stats____StatsLogger___log_types(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____StatsLogger____log_list_types(PyObject *cpy_r_self, PyObject *cpy_r_values, CPyTagged cpy_r_level); +extern PyObject *CPyPy_stats____StatsLogger____log_list_types(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____call__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_stats_____mypyc_lambda__0___3_init___3__Collector_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____get__(PyObject *cpy_r___mypyc_self__, PyObject *cpy_r_instance, PyObject *cpy_r_owner); +extern PyObject *CPyPy_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____get__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____call__(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_stats_____mypyc_lambda__1___3_init___3__Collector_obj_____call__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____Collector_____init__(PyObject *cpy_r_self); +extern PyObject *CPyPy_stats____Collector_____init__(PyObject *self, PyObject *args, PyObject *kw); +extern double CPyDef_stats____Collector___avg_loop_time(PyObject *cpy_r_self); +extern PyObject *CPyPy_stats____Collector___avg_loop_time(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern CPyTagged CPyDef_stats____Collector___count_active_brownie_calls(PyObject *cpy_r_self); +extern PyObject *CPyPy_stats____Collector___count_active_brownie_calls(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern CPyTagged CPyDef_stats____Collector___count_queued_brownie_calls(PyObject *cpy_r_self); +extern PyObject *CPyPy_stats____Collector___count_queued_brownie_calls(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern CPyTagged CPyDef_stats____Collector___encoder_queue_len(PyObject *cpy_r_self); +extern PyObject *CPyPy_stats____Collector___encoder_queue_len(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern CPyTagged CPyDef_stats____Collector___decoder_queue_len(PyObject *cpy_r_self); +extern PyObject *CPyPy_stats____Collector___decoder_queue_len(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern CPyTagged CPyDef_stats____Collector___mcall_decoder_queue_len(PyObject *cpy_r_self); +extern PyObject *CPyPy_stats____Collector___mcall_decoder_queue_len(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_stats____Writer___event_loop(PyObject *cpy_r_self); +extern PyObject *CPyPy_stats____Writer___event_loop(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_stats____Writer___brownie(PyObject *cpy_r_self); +extern PyObject *CPyPy_stats____Writer___brownie(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern PyObject *CPyDef_stats____Writer___queue(PyObject *cpy_r_self, PyObject *cpy_r_pool); +extern PyObject *CPyPy_stats____Writer___queue(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____SentryExporter___push_measurements(PyObject *cpy_r_self); +extern PyObject *CPyPy_stats____SentryExporter___push_measurements(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____SentryExporter___push_envs(PyObject *cpy_r_self); +extern PyObject *CPyPy_stats____SentryExporter___push_envs(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats____SentryExporter_____mypyc_defaults_setup(PyObject *cpy_r___mypyc_self__); +extern PyObject *CPyPy_stats____SentryExporter_____mypyc_defaults_setup(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); +extern char CPyDef_stats_____top_level__(void); +extern PyObject *CPyStatic_constants___TOO_MUCH_DATA_ERRS; +extern PyObject *CPyStatic_constants___RETRY_ERRS; +extern PyObject *CPyStatic_constants___GAS_LIMIT; +extern PyObject *CPyStatic_constants___MULTICALL2_OVERRIDE_CODE; +extern PyObject *CPyStatic_constants___MULTICALL3_OVERRIDE_CODE; +extern PyObject *CPyStatic_constants___MULTICALL2_DEPLOY_BLOCKS; +extern PyObject *CPyStatic_constants___MULTICALL3_DEPLOY_BLOCKS; +extern tuple_T10OOOOOOOOOO CPyStatic_constants___BAD_HEXES; +extern tuple_T2OO CPyStatic_constants___REVERT_SELECTORS; +extern char CPyDef_constants_____top_level__(void); +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___logger; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___MAX_MULTICALL_SIZE; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___MAX_JSONRPC_BATCH_SIZE; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___REQUESTS_PER_SECOND; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___MIN_REQUESTS_PER_SECOND; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___demo_mode; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___DEMO_MODE; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___ganache_fork; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___GANACHE_FORK; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___AIOHTTP_TIMEOUT; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___brownie_semaphore; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_CALL_SEMAPHORE; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___BROWNIE_ENCODER_SEMAPHORE; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___COLLECTION_FACTOR; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___USE_FULL_REQUEST; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___DEBUG; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___EXPORT_STATS; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___COLLECT_STATS; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___STUCK_CALL_TIMEOUT; +extern PyObject *CPyStatic_ENVIRONMENT_VARIABLES___method_semaphores; +extern char CPyDef_ENVIRONMENT_VARIABLES_____top_level__(void); +#endif diff --git a/build/dank_mids/ENVIRONMENT_VARIABLES.c b/build/dank_mids/ENVIRONMENT_VARIABLES.c index 5a95749945..34e7d8496b 100644 --- a/build/dank_mids/ENVIRONMENT_VARIABLES.c +++ b/build/dank_mids/ENVIRONMENT_VARIABLES.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit_ENVIRONMENT_VARIABLES(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___ENVIRONMENT_VARIABLES"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___ENVIRONMENT_VARIABLES"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___ENVIRONMENT_VARIABLES"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/_batch.c b/build/dank_mids/_batch.c index e5b400521f..b65e084e85 100644 --- a/build/dank_mids/_batch.c +++ b/build/dank_mids/_batch.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit__batch(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids____batch"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids____batch"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids____batch"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/_demo_mode.c b/build/dank_mids/_demo_mode.c index b8c841ebee..f152f92d8e 100644 --- a/build/dank_mids/_demo_mode.c +++ b/build/dank_mids/_demo_mode.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit__demo_mode(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids____demo_mode"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids____demo_mode"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids____demo_mode"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/_envs.c b/build/dank_mids/_envs.c index 42a6bb7cd5..3a367d4b48 100644 --- a/build/dank_mids/_envs.c +++ b/build/dank_mids/_envs.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit__envs(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids____envs"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids____envs"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids____envs"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/_eth_utils.c b/build/dank_mids/_eth_utils.c index d0c48bf2be..9b385daa07 100644 --- a/build/dank_mids/_eth_utils.c +++ b/build/dank_mids/_eth_utils.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit__eth_utils(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids____eth_utils"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids____eth_utils"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids____eth_utils"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/_exceptions.c b/build/dank_mids/_exceptions.c index 822d40639f..6b4ee37219 100644 --- a/build/dank_mids/_exceptions.c +++ b/build/dank_mids/_exceptions.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit__exceptions(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids____exceptions"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids____exceptions"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids____exceptions"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/_logging.c b/build/dank_mids/_logging.c index cc19574f6c..b9eb5bd9c4 100644 --- a/build/dank_mids/_logging.c +++ b/build/dank_mids/_logging.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit__logging(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids____logging"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids____logging"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids____logging"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/_requests/base.c b/build/dank_mids/_requests/base.c new file mode 100644 index 0000000000..f8f2c2a3dc --- /dev/null +++ b/build/dank_mids/_requests/base.c @@ -0,0 +1,21 @@ +#include + +PyMODINIT_FUNC +PyInit_base(void) +{ + PyObject *tmp; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; + PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids____requests___base"); + Py_DECREF(tmp); + if (capsule == NULL) return NULL; + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids____requests___base"); + Py_DECREF(capsule); + if (!init_func) { + return NULL; + } + return ((PyObject *(*)(void))init_func)(); +} + +// distutils sometimes spuriously tells cl to export CPyInit___init__, +// so provide that so it chills out +PyMODINIT_FUNC PyInit___init__(void) { return PyInit_base(); } diff --git a/build/dank_mids/_uid.c b/build/dank_mids/_uid.c index 3110788459..4dd540f0c7 100644 --- a/build/dank_mids/_uid.c +++ b/build/dank_mids/_uid.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit__uid(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids____uid"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids____uid"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids____uid"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/_web3/abi.c b/build/dank_mids/_web3/abi.c index c15dc2420a..c5bd2e5a59 100644 --- a/build/dank_mids/_web3/abi.c +++ b/build/dank_mids/_web3/abi.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit_abi(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids____web3___abi"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids____web3___abi"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids____web3___abi"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/_web3/formatters.c b/build/dank_mids/_web3/formatters.c index a4ba86b1bd..779919f380 100644 --- a/build/dank_mids/_web3/formatters.c +++ b/build/dank_mids/_web3/formatters.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit_formatters(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids____web3___formatters"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids____web3___formatters"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids____web3___formatters"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/brownie_patch.c b/build/dank_mids/brownie_patch.c index a979908cf5..473c5a3441 100644 --- a/build/dank_mids/brownie_patch.c +++ b/build/dank_mids/brownie_patch.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit_brownie_patch(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___brownie_patch"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___brownie_patch"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___brownie_patch"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/brownie_patch/_abi.c b/build/dank_mids/brownie_patch/_abi.c index 1c1a265f84..bbcdd493e2 100644 --- a/build/dank_mids/brownie_patch/_abi.c +++ b/build/dank_mids/brownie_patch/_abi.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit__abi(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___brownie_patch____abi"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___brownie_patch____abi"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___brownie_patch____abi"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/brownie_patch/call.c b/build/dank_mids/brownie_patch/call.c index 92ddde69cf..8477c23a01 100644 --- a/build/dank_mids/brownie_patch/call.c +++ b/build/dank_mids/brownie_patch/call.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit_call(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___brownie_patch___call"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___brownie_patch___call"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___brownie_patch___call"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/brownie_patch/overloaded.c b/build/dank_mids/brownie_patch/overloaded.c index 2e8b95d898..f1590e8cca 100644 --- a/build/dank_mids/brownie_patch/overloaded.c +++ b/build/dank_mids/brownie_patch/overloaded.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit_overloaded(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___brownie_patch___overloaded"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___brownie_patch___overloaded"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___brownie_patch___overloaded"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/brownie_patch/types.c b/build/dank_mids/brownie_patch/types.c index c8acbed3d1..2d3e1b778c 100644 --- a/build/dank_mids/brownie_patch/types.c +++ b/build/dank_mids/brownie_patch/types.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit_types(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___brownie_patch___types"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___brownie_patch___types"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___brownie_patch___types"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/constants.c b/build/dank_mids/constants.c index 3f4b725d20..c827663d23 100644 --- a/build/dank_mids/constants.c +++ b/build/dank_mids/constants.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit_constants(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___constants"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___constants"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___constants"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/helpers.c b/build/dank_mids/helpers.c index 7f423837ac..7562e41b1a 100644 --- a/build/dank_mids/helpers.c +++ b/build/dank_mids/helpers.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit_helpers(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___helpers"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___helpers"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/helpers/_codec.c b/build/dank_mids/helpers/_codec.c index 2417234c01..89f860de9f 100644 --- a/build/dank_mids/helpers/_codec.c +++ b/build/dank_mids/helpers/_codec.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit__codec(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___helpers____codec"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___helpers____codec"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers____codec"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/helpers/_errors.c b/build/dank_mids/helpers/_errors.c index a7db3738af..a24c2ae0de 100644 --- a/build/dank_mids/helpers/_errors.c +++ b/build/dank_mids/helpers/_errors.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit__errors(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___helpers____errors"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___helpers____errors"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers____errors"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/helpers/_gather.c b/build/dank_mids/helpers/_gather.c index 883105a9b6..2391142e5b 100644 --- a/build/dank_mids/helpers/_gather.c +++ b/build/dank_mids/helpers/_gather.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit__gather(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___helpers____gather"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___helpers____gather"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers____gather"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/helpers/_weaklist.c b/build/dank_mids/helpers/_weaklist.c index c2525b606c..dddc486946 100644 --- a/build/dank_mids/helpers/_weaklist.c +++ b/build/dank_mids/helpers/_weaklist.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit__weaklist(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___helpers____weaklist"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___helpers____weaklist"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers____weaklist"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/helpers/batch_size.c b/build/dank_mids/helpers/batch_size.c index 0704095693..af1787a63d 100644 --- a/build/dank_mids/helpers/batch_size.c +++ b/build/dank_mids/helpers/batch_size.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit_batch_size(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___helpers___batch_size"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___helpers___batch_size"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers___batch_size"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/helpers/hashing.c b/build/dank_mids/helpers/hashing.c index 030c23cdbf..84bdf51bbb 100644 --- a/build/dank_mids/helpers/hashing.c +++ b/build/dank_mids/helpers/hashing.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit_hashing(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___helpers___hashing"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___helpers___hashing"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers___hashing"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/helpers/lru_cache.c b/build/dank_mids/helpers/lru_cache.c index 25850c5740..7f9165b2a9 100644 --- a/build/dank_mids/helpers/lru_cache.c +++ b/build/dank_mids/helpers/lru_cache.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit_lru_cache(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___helpers___lru_cache"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___helpers___lru_cache"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers___lru_cache"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/helpers/method.c b/build/dank_mids/helpers/method.c index 2483a2c7f7..219684fd04 100644 --- a/build/dank_mids/helpers/method.c +++ b/build/dank_mids/helpers/method.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit_method(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___helpers___method"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___helpers___method"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___helpers___method"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/dank_mids/stats.c b/build/dank_mids/stats.c index 29b66d035a..6d9ea0cf94 100644 --- a/build/dank_mids/stats.c +++ b/build/dank_mids/stats.c @@ -4,11 +4,11 @@ PyMODINIT_FUNC PyInit_stats(void) { PyObject *tmp; - if (!(tmp = PyImport_ImportModule("6486cd47b6f59329387b__mypyc"))) return NULL; + if (!(tmp = PyImport_ImportModule("2c5455e5e91297368063__mypyc"))) return NULL; PyObject *capsule = PyObject_GetAttrString(tmp, "init_dank_mids___stats"); Py_DECREF(tmp); if (capsule == NULL) return NULL; - void *init_func = PyCapsule_GetPointer(capsule, "6486cd47b6f59329387b__mypyc.init_dank_mids___stats"); + void *init_func = PyCapsule_GetPointer(capsule, "2c5455e5e91297368063__mypyc.init_dank_mids___stats"); Py_DECREF(capsule); if (!init_func) { return NULL; diff --git a/build/ops.txt b/build/ops.txt index c866c76bc6..f938db2e51 100644 --- a/build/ops.txt +++ b/build/ops.txt @@ -1,4141 +1,3155 @@ -def error_logger_log_debug(msg, args): - msg :: str - args :: tuple - r0 :: int +def get_len(method): + method, r0 :: str r1 :: bool - r2 :: object - r3 :: bool - r4 :: object - r5 :: object[3] - r6 :: object_ptr - r7 :: object - r8 :: None + r2 :: set + r3 :: i32 + r4 :: bit + r5 :: bool + r6 :: str + r7 :: i32 + r8 :: bit + r9 :: bool + r10 :: int L0: - r0 = dank_mids._logging.DEBUG :: static - if is_error(r0) goto L1 else goto L3 + r0 = 'eth_getTransactionReceipt' + r1 = CPyStr_Equal(method, 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:21) else goto L2 :: bool + return 10 L2: - unreachable + r2 = frozenset({'eth_getCode', 'eth_getTransaction'}) + r3 = PySet_Contains(r2, method) + r4 = r3 >= 0 :: signed + if not r4 goto L8 (error at get_len:18) else goto L3 :: bool L3: - r2 = dank_mids.helpers._errors.error_logger_log :: static - if is_error(r2) goto L4 else goto L6 + r5 = truncate r3: i32 to builtins.bool + if r5 goto L6 else goto L4 :: bool 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:21) else goto L5 :: bool + r6 = 'eth_getBlockBy' + r7 = PyUnicode_Contains(method, r6) + r8 = r7 >= 0 :: signed + if not r8 goto L8 (error at get_len:18) else goto L5 :: bool L5: - unreachable + r9 = truncate r7: i32 to builtins.bool + if r9 goto L6 else goto L7 :: bool 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:21) else goto L10 + return 6 L7: - dec_ref r4 - return 1 + return 2 L8: - r8 = :: None - return r8 -L9: - dec_ref r4 - goto L8 -L10: - dec_ref r7 - goto L7 + r10 = :: int + return r10 -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 +def should_batch(method): + method :: str + r0 :: bool + r1 :: tuple[str, str, str, str] + r2 :: bool + r3, r4, r5 :: object + r6 :: str + r7 :: i32 + r8 :: bit + r9, r10, r11 :: bool + r12 :: bit + r13 :: bool L0: - r0 = dank_mids._logging.DEBUG :: static - if is_error(r0) goto L1 else goto L3 + r0 = 1 + r1 = dank_mids.helpers.method.BYPASS_METHODS :: static + if is_error(r1) 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:29) else goto L2 :: bool + r2 = raise NameError('value for final name "BYPASS_METHODS" was not set') + if not r2 goto L11 (error at should_batch:25) 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 + inc_ref r1 + r3 = box(tuple[str, str, str, str], r1) + r4 = PyObject_GetIter(r3) + dec_ref r3 + if is_error(r4) goto L11 (error at should_batch:25) 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:29) else goto L5 :: bool + r5 = PyIter_Next(r4) + if is_error(r5) goto L12 else goto L5 L5: - unreachable + r6 = cast(str, r5) + if is_error(r6) goto L13 (error at should_batch:25) 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:29) else goto L10 + r7 = PyUnicode_Contains(method, r6) + dec_ref r6 + r8 = r7 >= 0 :: signed + if not r8 goto L13 (error at should_batch:25) else goto L7 :: bool L7: - dec_ref r4 - return 1 + r9 = truncate r7: i32 to builtins.bool + r10 = r9 ^ 1 + r11 = r10 ^ 1 + if r11 goto L14 else goto L4 :: bool L8: - r8 = :: None - return r8 + r0 = 0 + goto L10 L9: + r12 = CPy_NoErrOccurred() + if not r12 goto L11 (error at should_batch:25) else goto L10 :: bool +L10: + return r0 +L11: + r13 = :: bool + return r13 +L12: + dec_ref r4 + goto L9 +L13: + dec_ref r4 + goto L11 +L14: 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 +def __top_level__(): + r0, r1 :: object + r2 :: bit r3 :: str - r4 :: object - r5 :: bit - r6 :: dict - r7 :: str - r8 :: object - r9 :: i32 - r10 :: bit - r11 :: bool - r12 :: list - r13, r14 :: ptr - r15 :: bit - r16 :: str - r17, r18 :: object + r4, r5 :: object + r6 :: str + r7 :: dict + r8, r9 :: object + r10 :: str + r11 :: dict + r12 :: object + r13, r14, r15, r16 :: str + r17 :: tuple[str, str, str, str] + r18 :: dict r19 :: str - r20 :: ptr - r21 :: native_int - r22 :: short_int - r23, r24 :: object - r25, r26 :: str - r27, r28 :: object - r29 :: object[8] + r20 :: object + r21 :: i32 + r22 :: bit + r23 :: dict + r24 :: str + r25 :: object + r26 :: dict + r27 :: str + r28 :: object + r29 :: object[1] r30 :: object_ptr - r31, r32 :: object - r33 :: None + r31 :: object + r32 :: dict + r33 :: str + r34 :: i32 + r35 :: bit + r36 :: dict + r37 :: str + r38 :: object + r39 :: dict + r40 :: str + r41 :: object + r42 :: object[1] + r43 :: object_ptr + r44 :: object + 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: - r0 = PySequence_List(batch) - if is_error(r0) goto L3 (error at log_internal_error:51) else goto L2 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L15 (error at :-1) else goto L2 L2: - batch_objs = r0 - goto L16 -L3: - r1 = CPy_CatchError() - r2 = builtins :: module - r3 = 'TypeError' - r4 = CPyObject_GetAttr(r2, r3) - if is_error(r4) goto L14 (error at log_internal_error:52) else goto L4 -L4: - r5 = CPy_ExceptionMatches(r4) + builtins = r4 :: module dec_ref r4 - if r5 goto L5 else goto L11 :: bool -L5: - r6 = dank_mids.helpers._errors.globals :: static - r7 = 'ContractLogicError' - r8 = CPyDict_GetItem(r6, r7) - if is_error(r8) goto L14 (error at log_internal_error:54) else goto L6 -L6: - r9 = PyObject_IsInstance(exc, r8) - dec_ref r8 - r10 = r9 >= 0 :: signed - if not r10 goto L14 (error at log_internal_error:54) else goto L7 :: bool -L7: - r11 = truncate r9: i32 to builtins.bool - if r11 goto L8 else goto L9 :: bool -L8: - CPy_RestoreExcInfo(r1) - dec_ref r1 - return 1 -L9: - r12 = PyList_New(1) - if is_error(r12) goto L14 (error at log_internal_error:57) else goto L10 -L10: - r13 = get_element_ptr r12 ob_item :: PyListObject - r14 = load_mem r13 :: ptr* - inc_ref batch - set_mem r14, batch :: builtins.object* - batch_objs = r12 - goto L13 -L11: - CPy_Reraise() - if not 0 goto L14 else goto L23 :: bool -L12: - unreachable -L13: - CPy_RestoreExcInfo(r1) - dec_ref r1 - goto L16 -L14: - CPy_RestoreExcInfo(r1) - dec_ref r1 - r15 = CPy_KeepPropagating() - if not r15 goto L22 else goto L15 :: bool -L15: - unreachable -L16: - r16 = "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" - r17 = CPy_TYPE(batch) - r18 = CPy_GetName(r17) - dec_ref r17 - if is_error(r18) goto L24 (error at log_internal_error:62) else goto L17 -L17: - r19 = cast(str, r18) - if is_error(r19) goto L24 (error at log_internal_error:62) else goto L18 -L18: - r20 = get_element_ptr batch_objs ob_size :: PyVarObject - r21 = load_mem r20 :: native_int* - r22 = r21 << 1 - r23 = CPy_TYPE(batch) - r24 = CPy_GetName(r23) - dec_ref r23 - if is_error(r24) goto L25 (error at log_internal_error:65) else goto L19 -L19: - r25 = cast(str, r24) - if is_error(r25) goto L25 (error at log_internal_error:65) else goto L20 -L20: - r26 = 'error' - r27 = box(short_int, r22) - r28 = box(bool, 1) - r29 = [logger, r16, r19, r27, exc, r25, batch_objs, r28] - r30 = load_address r29 - r31 = ('exc_info',) - r32 = PyObject_VectorcallMethod(r26, r30, 9223372036854775815, r31) - if is_error(r32) goto L26 (error at log_internal_error:58) else goto L27 -L21: - dec_ref r19 - dec_ref r27 - dec_ref r25 - dec_ref batch_objs - return 1 -L22: - r33 = :: None - return r33 -L23: - dec_ref r1 - goto L12 -L24: - dec_ref batch_objs - goto L22 -L25: - dec_ref batch_objs - dec_ref r19 - goto L22 -L26: - dec_ref batch_objs - dec_ref r19 - dec_ref r25 - dec_ref r27 - goto L22 -L27: - dec_ref r32 - goto L21 - -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, r16 :: str - r17, r18, r19, r20 :: bool -L0: - r0 = 'error' - r1 = CPyObject_GetAttr(response, r0) - if is_error(r1) goto L14 (error at needs_full_request_spec:84) 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 L13 L3: - r5 = 'error' - r6 = CPyObject_GetAttr(response, r5) - if is_error(r6) goto L14 (error at needs_full_request_spec:84) else goto L4 + r5 = ('Final',) + r6 = 'typing' + r7 = dank_mids.helpers.method.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L15 (error at :1) else goto L4 L4: - r7 = 'message' - r8 = CPyObject_GetAttr(r6, r7) - dec_ref r6 - if is_error(r8) goto L14 (error at needs_full_request_spec:84) else goto L5 + typing = r8 :: module + dec_ref r8 + r9 = ('lru_cache_lite_nonull',) + r10 = 'dank_mids.helpers.lru_cache' + r11 = dank_mids.helpers.method.globals :: static + r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) + if is_error(r12) goto L15 (error at :3) else goto L5 L5: - r9 = cast(str, r8) - if is_error(r9) goto L14 (error at needs_full_request_spec:84) else goto L6 + dank_mids.helpers.lru_cache = r12 :: module + dec_ref r12 + r13 = 'eth_blockNumber' + r14 = 'eth_getLogs' + r15 = 'trace_' + r16 = 'debug_' + inc_ref r13 + inc_ref r14 + inc_ref r15 + inc_ref r16 + r17 = (r13, r14, r15, r16) + dank_mids.helpers.method.BYPASS_METHODS = r17 :: static + r18 = dank_mids.helpers.method.globals :: static + r19 = 'BYPASS_METHODS' + r20 = box(tuple[str, str, str, str], r17) + r21 = CPyDict_SetItem(r18, r19, r20) + dec_ref r20 + r22 = r21 >= 0 :: signed + if not r22 goto L15 (error at :6) else goto L6 :: bool L6: - r10 = 'lower' - r11 = [r9] - r12 = load_address r11 - r13 = PyObject_VectorcallMethod(r10, r12, 9223372036854775809, 0) - if is_error(r13) goto L15 (error at needs_full_request_spec:84) else goto L7 + r23 = dank_mids.helpers.method.globals :: static + r24 = 'get_len' + r25 = CPyDict_GetItem(r23, r24) + if is_error(r25) goto L15 (error at :13) else goto L7 L7: - dec_ref r9 - r14 = cast(str, r13) - if is_error(r14) goto L14 (error at needs_full_request_spec:84) else goto L8 + r26 = dank_mids.helpers.method.globals :: static + r27 = 'lru_cache_lite_nonull' + r28 = CPyDict_GetItem(r26, r27) + if is_error(r28) goto L16 (error at :13) else goto L8 L8: - r15 = 'invalid request' - r16 = 'parse error' - r17 = CPyStr_Equal(r14, r15) - if r17 goto L16 else goto L9 :: bool + r29 = [r25] + r30 = load_address r29 + r31 = PyObject_Vectorcall(r28, r30, 1, 0) + dec_ref r28 + if is_error(r31) goto L16 (error at :13) else goto L9 L9: - r18 = CPyStr_Equal(r14, r16) - dec_ref r14 - if r18 goto L11 else goto L10 :: bool + dec_ref r25 + r32 = dank_mids.helpers.method.globals :: static + r33 = 'get_len' + r34 = PyDict_SetItem(r32, r33, r31) + dec_ref r31 + r35 = r34 >= 0 :: signed + if not r35 goto L15 (error at :13) else goto L10 :: bool L10: - r19 = 0 - goto L12 + r36 = dank_mids.helpers.method.globals :: static + r37 = 'should_batch' + r38 = CPyDict_GetItem(r36, r37) + if is_error(r38) goto L15 (error at :23) else goto L11 L11: - r19 = 1 + r39 = dank_mids.helpers.method.globals :: static + r40 = 'lru_cache_lite_nonull' + r41 = CPyDict_GetItem(r39, r40) + if is_error(r41) goto L17 (error at :23) else goto L12 L12: - r4 = r19 + r42 = [r38] + r43 = load_address r42 + r44 = PyObject_Vectorcall(r41, r43, 1, 0) + dec_ref r41 + if is_error(r44) goto L17 (error at :23) else goto L13 L13: - return r4 + dec_ref r38 + r45 = dank_mids.helpers.method.globals :: static + r46 = 'should_batch' + r47 = PyDict_SetItem(r45, r46, r44) + dec_ref r44 + r48 = r47 >= 0 :: signed + if not r48 goto L15 (error at :23) else goto L14 :: bool L14: - r20 = :: bool - return r20 + return 1 L15: - dec_ref r9 - goto L14 + r49 = :: None + return r49 L16: - dec_ref r14 - goto L11 + dec_ref r25 + goto L15 +L17: + dec_ref r38 + goto L15 -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 :: str +def gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): + __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen + type, value, traceback, arg :: object + stop_iter_ptr :: object_ptr + r0, r1, r2, r3, r4, r5, r6, r7 :: object + r8 :: i32 + r9 :: object + r10 :: bit + r11 :: object r12 :: bool - r13 :: set + r13 :: object r14 :: bool - r15, r16 :: object - r17 :: str - r18 :: i32 - r19 :: bit - r20 :: bool - r21 :: bit - r22 :: bool + r15 :: list + r16 :: bool + r17, r18 :: object + r19, r20 :: bool + r21, r22 :: object + r23 :: bool + r24, r25 :: object + r26 :: union[str, None] + r27 :: object + r28 :: bool + r29 :: object[3] + r30 :: object_ptr + r31, r32 :: object + r33 :: list + r34 :: i32 + r35, r36 :: bit + r37 :: list + r38 :: object + r39 :: bool + r40 :: object + r41 :: bool + r42, r43 :: object + r44 :: bool + r45, r46, r47, r48, r49 :: object + r50 :: bool + r51 :: object + r52 :: bool + r53 :: object + r54 :: bit + r55 :: tuple[object, object, object] + r56 :: bool + r57 :: object_ptr + r58 :: object + r59 :: bool + r60, r61, r62 :: tuple[object, object, object] + r63 :: bit + r64, r65, r66, r67 :: object + r68 :: bool + r69, r70 :: object + r71 :: bool + r72, r73, r74, r75, r76 :: object + r77 :: bool + r78 :: object + r79 :: bool + r80 :: object + r81 :: bit + r82 :: tuple[object, object, object] + r83 :: bool + r84 :: object_ptr + r85 :: object + r86 :: bool + r87, r88, r89 :: tuple[object, object, object] + r90 :: bit + r91, r92, r93, r94, r95 :: object + r96, r97 :: bool + r98, r99 :: object + r100 :: bool + r101, r102 :: object + r103 :: bool + r104, r105, r106, r107, r108 :: object + r109 :: bool + r110 :: object + r111 :: bool + r112 :: object + r113 :: bit + r114 :: tuple[object, object, object] + r115 :: bool + r116 :: object_ptr + r117 :: object + r118 :: bool + r119, r120, r121 :: tuple[object, object, object] + r122 :: bit + r123, r124, r125 :: object + r126 :: tuple[object, object, object] + r127 :: bool + r128 :: object + r129 :: str + r130 :: object + r131 :: bit + r132, r133 :: object + r134, r135 :: bool + r136, r137 :: object + r138 :: bool + r139, r140 :: object + r141 :: bool + r142, r143, r144, r145, r146 :: object + r147 :: bool + r148 :: object + r149 :: bool + r150 :: object + r151 :: bit + r152 :: tuple[object, object, object] + r153 :: bool + r154 :: object_ptr + r155 :: object + r156 :: bool + r157, r158, r159 :: tuple[object, object, object] + r160 :: bit + r161, r162, r163 :: object + r164 :: tuple[object, object, object] + r165 :: bool + r166 :: object + r167 :: str + r168 :: object + r169 :: bit + r170, r171 :: tuple[object, object, object] + r172, r173 :: bit + r174 :: tuple[object, object, object] + r175, r176 :: bit + r177 :: object + r178 :: bool + r179, r180, r181, r182, r183 :: bit + r184 :: bool + r185 :: 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 L15 (error at is_call_revert:100) else goto L1 + r0 = :: object + r1 = r0 + r2 = :: object + r3 = r2 + r4 = :: object + r5 = r4 + r6 = :: object + r7 = r6 + r8 = __mypyc_self__.__mypyc_next_label__ + goto L194 L1: - r6 = cast(str, r5) - if is_error(r6) goto L15 (error at is_call_revert:100) else goto L2 + r9 = load_address _Py_NoneStruct + r10 = type != r9 + if r10 goto L2 else goto L4 :: bool L2: - r7 = 'lower' - r8 = [r6] - r9 = load_address r8 - r10 = PyObject_VectorcallMethod(r7, r9, 9223372036854775809, 0) - if is_error(r10) goto L16 (error at is_call_revert:100) else goto L3 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L201 (error at gatherish:33) else goto L3 :: bool L3: - dec_ref r6 - r11 = cast(str, r10) - if is_error(r11) goto L15 (error at is_call_revert:100) else goto L4 + unreachable L4: - r12 = 0 - r13 = dank_mids.helpers._errors.INDIVIDUAL_CALL_REVERT_STRINGS :: static - if is_error(r13) goto L17 else goto L7 + r11 = dank_mids.helpers._gather.get_running_loop :: static + if is_error(r11) goto L5 else goto L7 L5: - r14 = raise NameError('value for final name "INDIVIDUAL_CALL_REVERT_STRINGS" was not set') - if not r14 goto L15 (error at is_call_revert:101) else goto L6 :: bool + r12 = raise NameError('value for final name "get_running_loop" was not set') + if not r12 goto L201 (error at gatherish:41) else goto L6 :: bool L6: unreachable L7: - r15 = PyObject_GetIter(r13) - if is_error(r15) goto L18 (error at is_call_revert:101) else goto L8 + r13 = PyObject_Vectorcall(r11, 0, 0, 0) + if is_error(r13) goto L201 (error at gatherish:41) else goto L8 L8: - r16 = PyIter_Next(r15) - if is_error(r16) goto L19 else goto L9 + __mypyc_self__.__mypyc_generator_attribute__loop = r13; r14 = is_error + if not r14 goto L201 (error at gatherish:41) else goto L9 :: bool L9: - r17 = cast(str, r16) - if is_error(r17) goto L20 (error at is_call_revert:101) else goto L10 + r15 = PyList_New(0) + if is_error(r15) goto L201 (error at gatherish:44) else goto L10 L10: - r18 = PyUnicode_Contains(r11, r17) - dec_ref r17 - r19 = r18 >= 0 :: signed - if not r19 goto L20 (error at is_call_revert:101) else goto L11 :: bool + __mypyc_self__.__mypyc_temp__0 = r15; r16 = is_error + if not r16 goto L201 (error at gatherish:-1) else goto L11 :: bool L11: - r20 = truncate r18: i32 to builtins.bool - if r20 goto L21 else goto L8 :: bool + r17 = __mypyc_self__.__mypyc_generator_attribute__coros + if is_error(r17) goto L201 (error at gatherish:44) else goto L12 L12: - r12 = 1 - goto L14 + r18 = PyObject_GetIter(r17) + if is_error(r18) goto L202 (error at gatherish:44) else goto L13 L13: - r21 = CPy_NoErrOccurred() - if not r21 goto L15 (error at is_call_revert:101) else goto L14 :: bool + __mypyc_self__.__mypyc_temp__1 = r17; r19 = is_error + if not r19 goto L203 (error at gatherish:-1) else goto L14 :: bool L14: - return r12 + __mypyc_self__.__mypyc_temp__2 = r18; r20 = is_error + if not r20 goto L201 (error at gatherish:-1) else goto L15 :: bool L15: - r22 = :: bool - return r22 + r21 = __mypyc_self__.__mypyc_temp__2 + if is_error(r21) goto L201 (error at gatherish:44) else goto L16 L16: - dec_ref r6 - goto L15 + r22 = PyIter_Next(r21) + dec_ref r21 + if is_error(r22) goto L27 else goto L17 L17: - dec_ref r11 - goto L5 + __mypyc_self__.__mypyc_generator_attribute__coro = r22; r23 = is_error + if not r23 goto L201 (error at gatherish:44) else goto L18 :: bool L18: - dec_ref r11 - goto L15 + r24 = __mypyc_self__.__mypyc_generator_attribute__coro + if is_error(r24) goto L201 (error at gatherish:44) else goto L19 L19: - dec_ref r11 - dec_ref r15 - goto L13 + r25 = __mypyc_self__.__mypyc_generator_attribute__loop + if is_error(r25) goto L204 (error at gatherish:44) else goto L20 L20: - dec_ref r11 - dec_ref r15 - goto L15 + r26 = __mypyc_self__.__mypyc_generator_attribute__name + if is_error(r26) goto L205 (error at gatherish:44) else goto L21 L21: - dec_ref r11 - dec_ref r15 - goto L12 - -def is_revert_bytes(data): - data :: object - r0 :: bit - r1, r2 :: bool - r3 :: tuple[bytes, bytes] - r4 :: bool - r5, r6, r7 :: object - r8, r9 :: bytes - r10 :: str - r11 :: object[2] - r12 :: object_ptr - r13 :: object - r14 :: bool - r15 :: bit - r16 :: bool -L0: - r0 = PyBytes_Check(data) - if r0 goto L2 else goto L1 :: bool -L1: - r1 = r0 - goto L15 -L2: - r2 = 0 - r3 = dank_mids.constants.REVERT_SELECTORS :: static - if is_error(r3) goto L3 else goto L5 -L3: - r4 = raise NameError('value for final name "REVERT_SELECTORS" was not set') - if not r4 goto L16 (error at is_revert_bytes:115) else goto L4 :: bool -L4: + r27 = dank_mids.helpers._gather.Task :: static + if is_error(r27) goto L206 else goto L24 +L22: + r28 = raise NameError('value for final name "Task" was not set') + if not r28 goto L201 (error at gatherish:44) else goto L23 :: bool +L23: unreachable -L5: - inc_ref r3 - r5 = box(tuple[bytes, bytes], r3) - r6 = PyObject_GetIter(r5) - dec_ref r5 - if is_error(r6) goto L16 (error at is_revert_bytes:114) else goto L6 -L6: - r7 = PyIter_Next(r6) - if is_error(r7) goto L17 else goto L7 -L7: - r8 = cast(bytes, r7) - if is_error(r8) goto L18 (error at is_revert_bytes:114) else goto L8 -L8: - inc_ref data - r9 = cast(bytes, data) - if is_error(r9) goto L19 (error at is_revert_bytes:115) else goto L9 -L9: - r10 = 'startswith' - r11 = [r9, r8] - r12 = load_address r11 - r13 = PyObject_VectorcallMethod(r10, r12, 9223372036854775810, 0) - if is_error(r13) goto L20 (error at is_revert_bytes:115) else goto L10 -L10: - dec_ref r9 - dec_ref r8 - r14 = unbox(bool, r13) - dec_ref r13 - if is_error(r14) goto L18 (error at is_revert_bytes:115) else goto L11 -L11: - if r14 goto L21 else goto L6 :: bool -L12: - r2 = 1 - goto L14 -L13: - r15 = CPy_NoErrOccurred() - if not r15 goto L16 (error at is_revert_bytes:114) else goto L14 :: bool -L14: - r1 = r2 -L15: - return r1 -L16: - r16 = :: bool - return r16 -L17: - dec_ref r6 - goto L13 -L18: - dec_ref r6 - goto L16 -L19: - dec_ref r6 - dec_ref r8 - goto L16 -L20: - dec_ref r6 - dec_ref r8 - dec_ref r9 - goto L16 -L21: - dec_ref r6 - goto L12 - -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:120) 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:120) 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, r25 :: object - r26 :: str - r27 :: dict - r28, r29 :: object - r30 :: str - r31 :: dict - r32 :: object - r33 :: str - r34 :: object - r35 :: bool - r36 :: object[1] - r37 :: object_ptr - 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 :: str - r54 :: object - r55 :: dict - r56 :: str - r57 :: i32 - r58 :: bit - r59 :: object - r60 :: bool - r61, r62 :: str - r63 :: object[2] - r64 :: object_ptr - r65 :: object - r66 :: dict - r67 :: str - r68 :: i32 - r69 :: bit - r70 :: object - r71 :: bool - r72 :: str - r73 :: object - r74 :: dict - r75 :: str - r76 :: i32 - r77 :: bit - r78 :: object - r79 :: bool - r80, r81 :: str - r82 :: object[2] - r83 :: object_ptr - 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 :: str - r100 :: object - r101 :: dict - r102 :: str - r103 :: i32 - r104 :: bit - r105 :: object - r106 :: bool - r107, r108 :: str - r109 :: object[2] - r110 :: object_ptr - r111 :: object - r112 :: dict - r113 :: str - r114 :: i32 - r115 :: bit - r116 :: object - r117 :: bool - r118 :: str - r119 :: object - r120 :: dict - r121 :: str - r122 :: i32 - r123 :: bit - r124, r125, r126, r127, r128 :: str - r129 :: set - r130 :: i32 - r131 :: bit - r132 :: i32 - r133 :: bit - r134 :: i32 - r135 :: bit - r136 :: i32 - r137 :: bit - r138 :: i32 - r139 :: bit - r140 :: dict - r141 :: str - r142 :: i32 - r143 :: bit - r144 :: 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 L69 (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 L69 (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 L69 (error at :2) else goto L5 -L5: - typing = r12 :: module - dec_ref r12 - r13 = ('ContractLogicError',) - r14 = 'web3.exceptions' - r15 = dank_mids.helpers._errors.globals :: static - r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) - if is_error(r16) goto L69 (error at :4) else goto L6 -L6: - web3.exceptions = r16 :: module - dec_ref r16 - r17 = ('BadResponse',) - r18 = 'dank_mids._exceptions' - r19 = dank_mids.helpers._errors.globals :: static - r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) - if is_error(r20) goto L69 (error at :6) else goto L7 -L7: - dank_mids._exceptions = r20 :: module - dec_ref r20 - r21 = ('DEBUG', 'getLogger') - r22 = 'dank_mids._logging' - r23 = dank_mids.helpers._errors.globals :: static - r24 = CPyImport_ImportFromMany(r22, r21, r21, r23) - if is_error(r24) goto L69 (error at :7) else goto L8 -L8: - dank_mids._logging = r24 :: module - dec_ref r24 - r25 = ('REVERT_SELECTORS',) - r26 = 'dank_mids.constants' - r27 = dank_mids.helpers._errors.globals :: static - r28 = CPyImport_ImportFromMany(r26, r25, r25, r27) - if is_error(r28) goto L69 (error at :8) else goto L9 -L9: - dank_mids.constants = r28 :: module - dec_ref r28 - r29 = ('PartialResponse',) - r30 = 'dank_mids.types' - r31 = dank_mids.helpers._errors.globals :: static - r32 = CPyImport_ImportFromMany(r30, r29, r29, r31) - if is_error(r32) goto L69 (error at :9) else goto L10 -L10: - dank_mids.types = r32 :: module - dec_ref r32 - if 0 goto L11 else goto L11 :: bool -L11: - r33 = 'dank_mids.errors' - r34 = dank_mids._logging.getLogger :: static - if is_error(r34) goto L12 else goto L14 -L12: - r35 = raise NameError('value for final name "getLogger" was not set') - if not r35 goto L69 (error at :15) else goto L13 :: bool -L13: - unreachable -L14: - r36 = [r33] - r37 = load_address r36 - r38 = PyObject_Vectorcall(r34, r37, 1, 0) - if is_error(r38) goto L69 (error at :15) else goto L15 -L15: - dank_mids.helpers._errors.error_logger = r38 :: static - r39 = dank_mids.helpers._errors.globals :: static - r40 = 'error_logger' - r41 = CPyDict_SetItem(r39, r40, r38) - dec_ref r38 - r42 = r41 >= 0 :: signed - if not r42 goto L69 (error at :15) else goto L16 :: bool -L16: - r43 = dank_mids.helpers._errors.error_logger :: static - if is_error(r43) goto L17 else goto L19 -L17: - r44 = raise NameError('value for final name "error_logger" was not set') - if not r44 goto L69 (error at :16) else goto L18 :: bool -L18: - unreachable -L19: - r45 = 'debug' - r46 = CPyObject_GetAttr(r43, r45) - if is_error(r46) goto L69 (error at :16) else goto L20 -L20: - dank_mids.helpers._errors.error_logger_debug = r46 :: static - r47 = dank_mids.helpers._errors.globals :: static - r48 = 'error_logger_debug' - r49 = CPyDict_SetItem(r47, r48, r46) - dec_ref r46 - r50 = r49 >= 0 :: signed - if not r50 goto L69 (error at :16) else goto L21 :: bool -L21: - r51 = dank_mids.helpers._errors.error_logger :: static - if is_error(r51) goto L22 else goto L24 -L22: - r52 = raise NameError('value for final name "error_logger" was not set') - if not r52 goto L69 (error at :17) else goto L23 :: bool -L23: - unreachable -L24: - r53 = '_log' - r54 = CPyObject_GetAttr(r51, r53) - if is_error(r54) goto L69 (error at :17) else goto L25 -L25: - dank_mids.helpers._errors.error_logger_log = r54 :: static - r55 = dank_mids.helpers._errors.globals :: static - r56 = 'error_logger_log' - r57 = CPyDict_SetItem(r55, r56, r54) - dec_ref r54 - r58 = r57 >= 0 :: signed - if not r58 goto L69 (error at :17) else goto L26 :: bool -L26: - r59 = dank_mids.helpers._errors.error_logger :: static - if is_error(r59) goto L27 else goto L29 -L27: - r60 = raise NameError('value for final name "error_logger" was not set') - if not r60 goto L69 (error at :24) else goto L28 :: bool -L28: - unreachable -L29: - r61 = 'reverts' - r62 = 'getChild' - r63 = [r59, r61] - r64 = load_address r63 - r65 = PyObject_VectorcallMethod(r62, r64, 9223372036854775810, 0) - if is_error(r65) goto L69 (error at :24) else goto L30 -L30: - dank_mids.helpers._errors.revert_logger = r65 :: static - r66 = dank_mids.helpers._errors.globals :: static - r67 = 'revert_logger' - r68 = CPyDict_SetItem(r66, r67, r65) - dec_ref r65 - r69 = r68 >= 0 :: signed - if not r69 goto L69 (error at :24) else goto L31 :: bool -L31: - r70 = dank_mids.helpers._errors.revert_logger :: static - if is_error(r70) goto L32 else goto L34 -L32: - r71 = raise NameError('value for final name "revert_logger" was not set') - if not r71 goto L69 (error at :25) else goto L33 :: bool -L33: +L24: + r29 = [r24, r25, r26] + r30 = load_address r29 + r31 = ('loop', 'name') + r32 = PyObject_Vectorcall(r27, r30, 1, r31) + if is_error(r32) goto L207 (error at gatherish:44) else goto L25 +L25: + dec_ref r24 + dec_ref r25 + dec_ref r26 + r33 = __mypyc_self__.__mypyc_temp__0 + if is_error(r33) goto L208 (error at gatherish:-1) else goto L26 +L26: + r34 = PyList_Append(r33, r32) + dec_ref r33 + dec_ref r32 + r35 = r34 >= 0 :: signed + if not r35 goto L201 (error at gatherish:44) else goto L15 :: bool +L27: + r36 = CPy_NoErrOccurred() + if not r36 goto L201 (error at gatherish:44) else goto L28 :: bool +L28: + r37 = __mypyc_self__.__mypyc_temp__0 + if is_error(r37) goto L201 (error at gatherish:-1) else goto L29 +L29: + r38 = PyObject_GetIter(r37) + dec_ref r37 + if is_error(r38) goto L201 (error at gatherish:44) else goto L30 +L30: + __mypyc_self__.__mypyc_generator_attribute__tasks = r38; r39 = is_error + if not r39 goto L201 (error at gatherish:44) else goto L31 :: bool +L31: + r40 = dank_mids.helpers._gather.yield_to_loop :: static + if is_error(r40) goto L32 else goto L34 +L32: + r41 = raise NameError('value for final name "yield_to_loop" was not set') + if not r41 goto L201 (error at gatherish:49) else goto L33 :: bool +L33: unreachable L34: - r72 = '_log' - r73 = CPyObject_GetAttr(r70, r72) - if is_error(r73) goto L69 (error at :25) else goto L35 + r42 = PyObject_Vectorcall(r40, 0, 0, 0) + if is_error(r42) goto L201 (error at gatherish:49) else goto L35 L35: - dank_mids.helpers._errors.revert_logger_log = r73 :: static - r74 = dank_mids.helpers._errors.globals :: static - r75 = 'revert_logger_log' - r76 = CPyDict_SetItem(r74, r75, r73) - dec_ref r73 - r77 = r76 >= 0 :: signed - if not r77 goto L69 (error at :25) else goto L36 :: bool + r43 = CPy_GetCoro(r42) + dec_ref r42 + if is_error(r43) goto L201 (error at gatherish:49) else goto L36 L36: - r78 = dank_mids.helpers._errors.error_logger :: static - if is_error(r78) goto L37 else goto L39 + __mypyc_self__.__mypyc_temp__3 = r43; r44 = is_error + if not r44 goto L201 (error at gatherish:-1) else goto L37 :: bool L37: - r79 = raise NameError('value for final name "error_logger" was not set') - if not r79 goto L69 (error at :32) else goto L38 :: bool + r45 = __mypyc_self__.__mypyc_temp__3 + if is_error(r45) goto L201 (error at gatherish:-1) else goto L38 L38: - unreachable + r46 = CPyIter_Next(r45) + dec_ref r45 + if is_error(r46) goto L39 else goto L41 L39: - r80 = 'timeouts' - r81 = 'getChild' - r82 = [r78, r80] - r83 = load_address r82 - r84 = PyObject_VectorcallMethod(r81, r83, 9223372036854775810, 0) - if is_error(r84) goto L69 (error at :32) else goto L40 + r47 = CPy_FetchStopIterationValue() + if is_error(r47) goto L201 (error at gatherish:49) else goto L40 L40: - dank_mids.helpers._errors.timeout_logger = r84 :: static - r85 = dank_mids.helpers._errors.globals :: static - r86 = 'timeout_logger' - r87 = CPyDict_SetItem(r85, r86, r84) - dec_ref r84 - r88 = r87 >= 0 :: signed - if not r88 goto L69 (error at :32) else goto L41 :: bool + r48 = r47 + dec_ref r48 + r49 = :: object + __mypyc_self__.__mypyc_temp__3 = r49; r50 = is_error + if not r50 goto L201 (error at gatherish:49) else goto L63 :: bool L41: - r89 = dank_mids.helpers._errors.timeout_logger :: static - if is_error(r89) goto L42 else goto L44 + r51 = r46 L42: - r90 = raise NameError('value for final name "timeout_logger" was not set') - if not r90 goto L69 (error at :33) else goto L43 :: bool + __mypyc_self__.__mypyc_next_label__ = 1 + return r51 L43: - unreachable + r53 = load_address _Py_NoneStruct + r54 = type != r53 + if r54 goto L44 else goto L209 :: bool L44: - r91 = 'debug' - r92 = CPyObject_GetAttr(r89, r91) - if is_error(r92) goto L69 (error at :33) else goto L45 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L47 (error at gatherish:49) else goto L210 :: bool L45: - dank_mids.helpers._errors.timeout_logger_debug = r92 :: static - r93 = dank_mids.helpers._errors.globals :: static - r94 = 'timeout_logger_debug' - r95 = CPyDict_SetItem(r93, r94, r92) - dec_ref r92 - r96 = r95 >= 0 :: signed - if not r96 goto L69 (error at :33) else goto L46 :: bool + unreachable L46: - r97 = dank_mids.helpers._errors.timeout_logger :: static - if is_error(r97) goto L47 else goto L49 + inc_ref arg + goto L58 L47: - r98 = raise NameError('value for final name "timeout_logger" was not set') - if not r98 goto L69 (error at :34) else goto L48 :: bool + r55 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__4 = r55; r56 = is_error + if not r56 goto L211 (error at gatherish:-1) else goto L48 :: bool L48: - unreachable + r57 = load_address r1 + r58 = __mypyc_self__.__mypyc_temp__3 + if is_error(r58) goto L211 (error at gatherish:-1) else goto L49 L49: - r99 = 'warning' - r100 = CPyObject_GetAttr(r97, r99) - if is_error(r100) goto L69 (error at :34) else goto L50 + r59 = CPy_YieldFromErrorHandle(r58, r57) + dec_ref r58 + if is_error(r59) goto L211 (error at gatherish:49) else goto L50 L50: - dank_mids.helpers._errors.timeout_logger_warning = r100 :: static - r101 = dank_mids.helpers._errors.globals :: static - r102 = 'timeout_logger_warning' - r103 = CPyDict_SetItem(r101, r102, r100) - dec_ref r100 - r104 = r103 >= 0 :: signed - if not r104 goto L69 (error at :34) else goto L51 :: bool + if r59 goto L53 else goto L51 :: bool L51: - r105 = dank_mids.helpers._errors.error_logger :: static - if is_error(r105) goto L52 else goto L54 + r51 = r1 + r60 = __mypyc_self__.__mypyc_temp__4 + if is_error(r60) goto L212 (error at gatherish:-1) else goto L52 L52: - r106 = raise NameError('value for final name "error_logger" was not set') - if not r106 goto L69 (error at :37) else goto L53 :: bool + CPy_RestoreExcInfo(r60) + dec_ref r60 + goto L42 L53: - unreachable + r48 = r1 + dec_ref r48 + r61 = __mypyc_self__.__mypyc_temp__4 + if is_error(r61) goto L55 (error at gatherish:-1) else goto L54 L54: - r107 = 'gas' - r108 = 'getChild' - r109 = [r105, r107] - r110 = load_address r109 - r111 = PyObject_VectorcallMethod(r108, r110, 9223372036854775810, 0) - if is_error(r111) goto L69 (error at :37) else goto L55 + CPy_RestoreExcInfo(r61) + dec_ref r61 + goto L63 L55: - dank_mids.helpers._errors.gas_logger = r111 :: static - r112 = dank_mids.helpers._errors.globals :: static - r113 = 'gas_logger' - r114 = CPyDict_SetItem(r112, r113, r111) - dec_ref r111 - r115 = r114 >= 0 :: signed - if not r115 goto L69 (error at :37) else goto L56 :: bool + r62 = __mypyc_self__.__mypyc_temp__4 + if is_error(r62) goto L201 (error at gatherish:-1) else goto L56 L56: - r116 = dank_mids.helpers._errors.gas_logger :: static - if is_error(r116) goto L57 else goto L59 + CPy_RestoreExcInfo(r62) + dec_ref r62 + r63 = CPy_KeepPropagating() + if not r63 goto L201 else goto L57 :: bool L57: - r117 = raise NameError('value for final name "gas_logger" was not set') - if not r117 goto L69 (error at :38) else goto L58 :: bool -L58: unreachable +L58: + r64 = __mypyc_self__.__mypyc_temp__3 + if is_error(r64) goto L213 (error at gatherish:-1) else goto L59 L59: - r118 = 'debug' - r119 = CPyObject_GetAttr(r116, r118) - if is_error(r119) goto L69 (error at :38) else goto L60 + r65 = CPyIter_Send(r64, arg) + dec_ref r64 + dec_ref arg + if is_error(r65) goto L61 else goto L60 L60: - dank_mids.helpers._errors.gas_logger_debug = r119 :: static - r120 = dank_mids.helpers._errors.globals :: static - r121 = 'gas_logger_debug' - r122 = CPyDict_SetItem(r120, r121, r119) - dec_ref r119 - r123 = r122 >= 0 :: signed - if not r123 goto L69 (error at :38) else goto L61 :: bool + r51 = r65 + goto L42 L61: - r124 = 'invalid opcode' - r125 = 'missing trie node' - r126 = 'resource not found' - r127 = 'invalid ether transfer' - r128 = 'error processing call revert' - r129 = PySet_New(0) - if is_error(r129) goto L69 (error at :40) else goto L62 + r66 = CPy_FetchStopIterationValue() + if is_error(r66) goto L201 (error at gatherish:49) else goto L62 L62: - r130 = PySet_Add(r129, r124) - r131 = r130 >= 0 :: signed - if not r131 goto L70 (error at :40) else goto L63 :: bool + r48 = r66 + dec_ref r48 L63: - r132 = PySet_Add(r129, r125) - r133 = r132 >= 0 :: signed - if not r133 goto L70 (error at :40) else goto L64 :: bool + r67 = dank_mids.helpers._gather.yield_to_loop :: static + if is_error(r67) goto L64 else goto L66 L64: - r134 = PySet_Add(r129, r126) - r135 = r134 >= 0 :: signed - if not r135 goto L70 (error at :40) else goto L65 :: bool + r68 = raise NameError('value for final name "yield_to_loop" was not set') + if not r68 goto L201 (error at gatherish:50) else goto L65 :: bool L65: - r136 = PySet_Add(r129, r127) - r137 = r136 >= 0 :: signed - if not r137 goto L70 (error at :40) else goto L66 :: bool + unreachable L66: - r138 = PySet_Add(r129, r128) - r139 = r138 >= 0 :: signed - if not r139 goto L70 (error at :40) else goto L67 :: bool + r69 = PyObject_Vectorcall(r67, 0, 0, 0) + if is_error(r69) goto L201 (error at gatherish:50) else goto L67 L67: - dank_mids.helpers._errors.INDIVIDUAL_CALL_REVERT_STRINGS = r129 :: static - r140 = dank_mids.helpers._errors.globals :: static - r141 = 'INDIVIDUAL_CALL_REVERT_STRINGS' - r142 = CPyDict_SetItem(r140, r141, r129) - dec_ref r129 - r143 = r142 >= 0 :: signed - if not r143 goto L69 (error at :40) else goto L68 :: bool + r70 = CPy_GetCoro(r69) + dec_ref r69 + if is_error(r70) goto L201 (error at gatherish:50) else goto L68 L68: - return 1 + __mypyc_self__.__mypyc_temp__5 = r70; r71 = is_error + if not r71 goto L201 (error at gatherish:-1) else goto L69 :: bool L69: - r144 = :: None - return r144 + r72 = __mypyc_self__.__mypyc_temp__5 + if is_error(r72) goto L201 (error at gatherish:-1) else goto L70 L70: - dec_ref r129 - goto L69 - -def UIDGenerator.__init__(self): - self :: dank_mids._uid.UIDGenerator - r0 :: str - r1 :: dict - r2 :: str - r3 :: object - r4 :: object[1] - r5 :: object_ptr - r6, r7 :: object - r8 :: None -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 -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 -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 :: int -L0: - r0 = self._lock - r1 = CPy_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 -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 -L3: -L4: - r9 = borrow self._value - r10 = CPyTagged_Add(r9, 2) - inc_ref r10 :: int - self._value = r10 -L5: - r12 = :: tuple[object, object, object] - r13 = r12 -L6: - if 1 goto L7 else goto L23 :: bool -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 -L8: - dec_ref r0 -L9: - if is_error(r13) goto L12 else goto L26 -L10: - CPy_Reraise() - if not 0 goto L14 else goto L27 :: bool -L11: + r73 = CPyIter_Next(r72) + dec_ref r72 + if is_error(r73) goto L71 else goto L73 +L71: + r74 = CPy_FetchStopIterationValue() + if is_error(r74) goto L201 (error at gatherish:50) else goto L72 +L72: + r75 = r74 + dec_ref r75 + r76 = :: object + __mypyc_self__.__mypyc_temp__5 = r76; r77 = is_error + if not r77 goto L201 (error at gatherish:50) else goto L95 :: bool +L73: + r78 = r73 +L74: + __mypyc_self__.__mypyc_next_label__ = 2 + return r78 +L75: + r80 = load_address _Py_NoneStruct + r81 = type != r80 + if r81 goto L76 else goto L214 :: bool +L76: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L79 (error at gatherish:50) else goto L215 :: bool +L77: unreachable -L12: - if is_error(r10) goto L18 else goto L13 -L13: - return r10 -L14: - if is_error(r13) goto L16 else goto L15 -L15: - CPy_RestoreExcInfo(r13) - xdec_ref r13 -L16: - r18 = CPy_KeepPropagating() - if not r18 goto L19 else goto L17 :: bool -L17: +L78: + inc_ref arg + goto L90 +L79: + r82 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__6 = r82; r83 = is_error + if not r83 goto L216 (error at gatherish:-1) else goto L80 :: bool +L80: + r84 = load_address r3 + r85 = __mypyc_self__.__mypyc_temp__5 + if is_error(r85) goto L216 (error at gatherish:-1) else goto L81 +L81: + r86 = CPy_YieldFromErrorHandle(r85, r84) + dec_ref r85 + if is_error(r86) goto L216 (error at gatherish:50) else goto L82 +L82: + if r86 goto L85 else goto L83 :: bool +L83: + r78 = r3 + r87 = __mypyc_self__.__mypyc_temp__6 + if is_error(r87) goto L217 (error at gatherish:-1) else goto L84 +L84: + CPy_RestoreExcInfo(r87) + dec_ref r87 + goto L74 +L85: + r75 = r3 + dec_ref r75 + r88 = __mypyc_self__.__mypyc_temp__6 + if is_error(r88) goto L87 (error at gatherish:-1) else goto L86 +L86: + CPy_RestoreExcInfo(r88) + dec_ref r88 + goto L95 +L87: + r89 = __mypyc_self__.__mypyc_temp__6 + if is_error(r89) goto L201 (error at gatherish:-1) else goto L88 +L88: + CPy_RestoreExcInfo(r89) + dec_ref r89 + r90 = CPy_KeepPropagating() + if not r90 goto L201 else goto L89 :: bool +L89: unreachable -L18: +L90: + r91 = __mypyc_self__.__mypyc_temp__5 + if is_error(r91) goto L218 (error at gatherish:-1) else goto L91 +L91: + r92 = CPyIter_Send(r91, arg) + dec_ref r91 + dec_ref arg + if is_error(r92) goto L93 else goto L92 +L92: + r78 = r92 + goto L74 +L93: + r93 = CPy_FetchStopIterationValue() + if is_error(r93) goto L201 (error at gatherish:50) else goto L94 +L94: + r75 = r93 + dec_ref r75 +L95: + r94 = __mypyc_self__.__mypyc_generator_attribute__tasks + if is_error(r94) goto L201 (error at gatherish:51) else goto L96 +L96: + r95 = PyObject_GetIter(r94) + if is_error(r95) goto L219 (error at gatherish:51) else goto L97 +L97: + __mypyc_self__.__mypyc_temp__7 = r94; r96 = is_error + if not r96 goto L220 (error at gatherish:-1) else goto L98 :: bool +L98: + __mypyc_self__.__mypyc_temp__8 = r95; r97 = is_error + if not r97 goto L201 (error at gatherish:-1) else goto L99 :: bool +L99: + r98 = __mypyc_self__.__mypyc_temp__8 + if is_error(r98) goto L201 (error at gatherish:51) else goto L100 +L100: + r99 = PyIter_Next(r98) + dec_ref r98 + if is_error(r99) goto L188 else goto L101 +L101: + __mypyc_self__.__mypyc_generator_attribute__task = r99; r100 = is_error + if not r100 goto L201 (error at gatherish:51) else goto L102 :: bool +L102: + r101 = __mypyc_self__.__mypyc_generator_attribute__task + if is_error(r101) goto L131 (error at gatherish:53) else goto L103 +L103: + r102 = CPy_GetCoro(r101) + dec_ref r101 + if is_error(r102) goto L131 (error at gatherish:53) else goto L104 +L104: + __mypyc_self__.__mypyc_temp__9 = r102; r103 = is_error + if not r103 goto L131 (error at gatherish:-1) else goto L105 :: bool +L105: + r104 = __mypyc_self__.__mypyc_temp__9 + if is_error(r104) goto L131 (error at gatherish:-1) else goto L106 +L106: + r105 = CPyIter_Next(r104) + dec_ref r104 + if is_error(r105) goto L107 else goto L109 +L107: + r106 = CPy_FetchStopIterationValue() + if is_error(r106) goto L131 (error at gatherish:53) else goto L108 +L108: + r107 = r106 + dec_ref r107 + r108 = :: object + __mypyc_self__.__mypyc_temp__9 = r108; r109 = is_error + if not r109 goto L131 (error at gatherish:53) else goto L99 :: bool +L109: + r110 = r105 +L110: + __mypyc_self__.__mypyc_next_label__ = 3 + return r110 +L111: + r112 = load_address _Py_NoneStruct + r113 = type != r112 + if r113 goto L112 else goto L221 :: bool +L112: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L115 (error at gatherish:53) else goto L222 :: bool +L113: unreachable -L19: - r19 = :: int - return r19 -L20: - dec_ref r0 - dec_ref r1 - goto L19 -L21: - dec_ref r0 - dec_ref r3 - 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: +L114: + inc_ref arg + goto L126 +L115: + r114 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__10 = r114; r115 = is_error + if not r115 goto L223 (error at gatherish:-1) else goto L116 :: bool +L116: + r116 = load_address r5 + r117 = __mypyc_self__.__mypyc_temp__9 + if is_error(r117) goto L223 (error at gatherish:-1) else goto L117 +L117: + r118 = CPy_YieldFromErrorHandle(r117, r116) + dec_ref r117 + if is_error(r118) goto L223 (error at gatherish:53) else goto L118 +L118: + if r118 goto L121 else goto L119 :: bool +L119: + r110 = r5 + r119 = __mypyc_self__.__mypyc_temp__10 + if is_error(r119) goto L224 (error at gatherish:-1) else goto L120 +L120: + CPy_RestoreExcInfo(r119) + dec_ref r119 + goto L110 +L121: + r107 = r5 + dec_ref r107 + r120 = __mypyc_self__.__mypyc_temp__10 + if is_error(r120) goto L123 (error at gatherish:-1) else goto L122 +L122: + CPy_RestoreExcInfo(r120) + dec_ref r120 + goto L99 +L123: + r121 = __mypyc_self__.__mypyc_temp__10 + if is_error(r121) goto L131 (error at gatherish:-1) else goto L124 +L124: + CPy_RestoreExcInfo(r121) + dec_ref r121 + r122 = CPy_KeepPropagating() + if not r122 goto L131 else goto L125 :: bool +L125: + unreachable +L126: + r123 = __mypyc_self__.__mypyc_temp__9 + if is_error(r123) goto L225 (error at gatherish:-1) else goto L127 +L127: + r124 = CPyIter_Send(r123, arg) + dec_ref r123 + dec_ref arg + if is_error(r124) goto L129 else goto L128 +L128: + r110 = r124 + goto L110 +L129: + r125 = CPy_FetchStopIterationValue() + if is_error(r125) goto L131 (error at gatherish:53) else goto L130 +L130: + r107 = r125 + dec_ref r107 + goto L99 +L131: + r126 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__11 = r126; r127 = is_error + if not r127 goto L185 (error at gatherish:-1) else goto L132 :: bool +L132: + r128 = builtins :: module + r129 = 'Exception' + r130 = CPyObject_GetAttr(r128, r129) + if is_error(r130) goto L185 (error at gatherish:54) else goto L133 +L133: + r131 = CPy_ExceptionMatches(r130) + dec_ref r130 + if r131 goto L134 else goto L183 :: bool +L134: + r132 = __mypyc_self__.__mypyc_generator_attribute__tasks + if is_error(r132) goto L185 (error at gatherish:57) else goto L135 +L135: + r133 = PyObject_GetIter(r132) + if is_error(r133) goto L226 (error at gatherish:57) else goto L136 +L136: + __mypyc_self__.__mypyc_temp__12 = r132; r134 = is_error + if not r134 goto L227 (error at gatherish:-1) else goto L137 :: bool +L137: + __mypyc_self__.__mypyc_temp__13 = r133; r135 = is_error + if not r135 goto L185 (error at gatherish:-1) else goto L138 :: bool +L138: + r136 = __mypyc_self__.__mypyc_temp__13 + if is_error(r136) goto L185 (error at gatherish:57) else goto L139 +L139: + r137 = PyIter_Next(r136) + dec_ref r136 + if is_error(r137) goto L180 else goto L140 +L140: + __mypyc_self__.__mypyc_generator_attribute__task = r137; r138 = is_error + if not r138 goto L185 (error at gatherish:57) else goto L141 :: bool +L141: + r139 = __mypyc_self__.__mypyc_generator_attribute__task + if is_error(r139) goto L170 (error at gatherish:60) else goto L142 +L142: + r140 = CPy_GetCoro(r139) + dec_ref r139 + if is_error(r140) goto L170 (error at gatherish:60) else goto L143 +L143: + __mypyc_self__.__mypyc_temp__14 = r140; r141 = is_error + if not r141 goto L170 (error at gatherish:-1) else goto L144 :: bool +L144: + r142 = __mypyc_self__.__mypyc_temp__14 + if is_error(r142) goto L170 (error at gatherish:-1) else goto L145 +L145: + r143 = CPyIter_Next(r142) + dec_ref r142 + if is_error(r143) goto L146 else goto L148 +L146: + r144 = CPy_FetchStopIterationValue() + if is_error(r144) goto L170 (error at gatherish:60) else goto L147 +L147: + r145 = r144 + dec_ref r145 + r146 = :: object + __mypyc_self__.__mypyc_temp__14 = r146; r147 = is_error + if not r147 goto L170 (error at gatherish:60) else goto L138 :: bool +L148: + r148 = r143 +L149: + __mypyc_self__.__mypyc_next_label__ = 4 + return r148 +L150: + r150 = load_address _Py_NoneStruct + r151 = type != r150 + if r151 goto L151 else goto L228 :: bool +L151: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L154 (error at gatherish:60) else goto L229 :: bool +L152: + unreachable +L153: + inc_ref arg + goto L165 +L154: + r152 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__15 = r152; r153 = is_error + if not r153 goto L230 (error at gatherish:-1) else goto L155 :: bool +L155: + r154 = load_address r7 + r155 = __mypyc_self__.__mypyc_temp__14 + if is_error(r155) goto L230 (error at gatherish:-1) else goto L156 +L156: + r156 = CPy_YieldFromErrorHandle(r155, r154) + dec_ref r155 + if is_error(r156) goto L230 (error at gatherish:60) else goto L157 +L157: + if r156 goto L160 else goto L158 :: bool +L158: + r148 = r7 + r157 = __mypyc_self__.__mypyc_temp__15 + if is_error(r157) goto L231 (error at gatherish:-1) else goto L159 +L159: + CPy_RestoreExcInfo(r157) + dec_ref r157 + goto L149 +L160: + r145 = r7 + dec_ref r145 + r158 = __mypyc_self__.__mypyc_temp__15 + if is_error(r158) goto L162 (error at gatherish:-1) else goto L161 +L161: + CPy_RestoreExcInfo(r158) + dec_ref r158 + goto L138 +L162: + r159 = __mypyc_self__.__mypyc_temp__15 + if is_error(r159) goto L170 (error at gatherish:-1) else goto L163 +L163: + CPy_RestoreExcInfo(r159) + dec_ref r159 + r160 = CPy_KeepPropagating() + if not r160 goto L170 else goto L164 :: bool +L164: + unreachable +L165: + r161 = __mypyc_self__.__mypyc_temp__14 + if is_error(r161) goto L232 (error at gatherish:-1) else goto L166 +L166: + r162 = CPyIter_Send(r161, arg) + dec_ref r161 + dec_ref arg + if is_error(r162) goto L168 else goto L167 +L167: + r148 = r162 + goto L149 +L168: + r163 = CPy_FetchStopIterationValue() + if is_error(r163) goto L170 (error at gatherish:60) else goto L169 +L169: + r145 = r163 + dec_ref r145 + goto L138 +L170: + r164 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__16 = r164; r165 = is_error + if not r165 goto L177 (error at gatherish:-1) else goto L171 :: bool +L171: + r166 = builtins :: module + r167 = 'Exception' + r168 = CPyObject_GetAttr(r166, r167) + if is_error(r168) goto L177 (error at gatherish:61) else goto L172 +L172: + r169 = CPy_ExceptionMatches(r168) + dec_ref r168 + if r169 goto L175 else goto L173 :: bool +L173: + CPy_Reraise() + if not 0 goto L177 else goto L174 :: bool +L174: + unreachable +L175: + r170 = __mypyc_self__.__mypyc_temp__16 + if is_error(r170) goto L185 (error at gatherish:-1) else goto L176 +L176: + CPy_RestoreExcInfo(r170) + dec_ref r170 + goto L138 +L177: + r171 = __mypyc_self__.__mypyc_temp__16 + if is_error(r171) goto L185 (error at gatherish:-1) else goto L178 +L178: + CPy_RestoreExcInfo(r171) + dec_ref r171 + r172 = CPy_KeepPropagating() + if not r172 goto L185 else goto L179 :: bool +L179: + unreachable +L180: + r173 = CPy_NoErrOccurred() + if not r173 goto L185 (error at gatherish:57) else goto L181 :: bool +L181: + CPy_Reraise() + if not 0 goto L185 else goto L182 :: bool +L182: + unreachable +L183: + CPy_Reraise() + if not 0 goto L185 else goto L184 :: bool +L184: + unreachable +L185: + r174 = __mypyc_self__.__mypyc_temp__11 + if is_error(r174) goto L201 (error at gatherish:-1) else goto L186 +L186: + CPy_RestoreExcInfo(r174) + dec_ref r174 + r175 = CPy_KeepPropagating() + if not r175 goto L201 else goto L187 :: bool +L187: + unreachable +L188: + r176 = CPy_NoErrOccurred() + if not r176 goto L201 (error at gatherish:51) else goto L189 :: bool +L189: + r177 = box(None, 1) + __mypyc_self__.__mypyc_next_label__ = -1 +L190: + if is_error(stop_iter_ptr) goto L191 else goto L193 +L191: + CPyGen_SetStopIterationValue(r177) + if not 0 goto L201 else goto L192 :: bool +L192: + unreachable +L193: + inc_ref r177 + set_mem stop_iter_ptr, r177 :: builtins.object* + return 0 +L194: + r179 = r8 == 0 + if r179 goto L233 else goto L195 :: bool +L195: + r180 = r8 == 1 + if r180 goto L234 else goto L235 :: bool +L196: + r181 = r8 == 2 + if r181 goto L236 else goto L237 :: bool +L197: + r182 = r8 == 3 + if r182 goto L238 else goto L239 :: bool +L198: + r183 = r8 == 4 + if r183 goto L150 else goto L240 :: bool +L199: + r184 = raise StopIteration + if not r184 goto L201 (error at gatherish:33) else goto L200 :: bool +L200: + unreachable +L201: + r185 = :: object + return r185 +L202: dec_ref r17 - goto L8 -L26: - xdec_ref r10 :: int - goto L10 -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) - 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 = PyDict_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 + goto L201 +L203: + dec_ref r18 + goto L201 +L204: + dec_ref r24 + goto L201 +L205: + dec_ref r24 + dec_ref r25 + goto L201 +L206: + dec_ref r24 + dec_ref r25 + dec_ref r26 + goto L22 +L207: + dec_ref r24 + dec_ref r25 + dec_ref r26 + goto L201 +L208: + dec_ref r32 + goto L201 +L209: + xdec_ref r1 + goto L46 +L210: + xdec_ref r1 + goto L45 +L211: + xdec_ref r1 + goto L55 +L212: + dec_ref r51 + goto L55 +L213: + dec_ref arg + goto L201 +L214: + xdec_ref r3 + goto L78 +L215: + xdec_ref r3 + goto L77 +L216: + xdec_ref r3 + goto L87 +L217: + dec_ref r78 + goto L87 +L218: + dec_ref arg + goto L201 +L219: + dec_ref r94 + goto L201 +L220: + dec_ref r95 + goto L201 +L221: + xdec_ref r5 + goto L114 +L222: + xdec_ref r5 + goto L113 +L223: + xdec_ref r5 + goto L123 +L224: + dec_ref r110 + goto L123 +L225: + dec_ref arg + goto L131 +L226: + dec_ref r132 + goto L185 +L227: + dec_ref r133 + goto L185 +L228: + xdec_ref r7 + goto L153 +L229: + xdec_ref r7 + goto L152 +L230: + xdec_ref r7 + goto L162 +L231: + dec_ref r148 + goto L162 +L232: + dec_ref arg + goto L170 +L233: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + goto L1 +L234: + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + goto L43 +L235: + xdec_ref r1 + goto L196 +L236: + xdec_ref r5 + xdec_ref r7 + goto L75 +L237: + xdec_ref r3 + goto L197 +L238: + xdec_ref r7 + goto L111 +L239: + xdec_ref r5 + goto L198 +L240: + xdec_ref r7 + goto L199 -def __mypyc_lambda__0_obj.__get__(__mypyc_self__, instance, owner): - __mypyc_self__, instance, owner, r0 :: object - r1 :: bit - r2, r3 :: object +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 = instance == r0 - if r1 goto L1 else goto L2 :: bool + r1 = gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) + 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, 0) + 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: - r2 = PyMethod_New(__mypyc_self__, instance) - if is_error(r2) goto L4 else goto L3 + if is_error(traceback) goto L3 else goto L8 L3: - return r2 + inc_ref r0 + traceback = r0 L4: - r3 = :: object - return r3 + r1 = gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) + 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 __mypyc_lambda__0_obj.__call__(__mypyc_self__, self, args): - __mypyc_self__ :: dank_mids.brownie_patch.call.__mypyc_lambda__0_obj - self, args :: object - r0 :: dict +def gatherish_gen.close(__mypyc_self__): + __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen + r0 :: object r1 :: str - r2 :: object - r3 :: str - r4 :: object - r5 :: dict - r6 :: str + r2, r3, r4, r5 :: object + r6 :: tuple[object, object, object] r7 :: object r8 :: str r9 :: object - r10 :: str + r10 :: tuple[object, object] r11 :: object - r12 :: str + r12 :: bit r13 :: object - r14 :: list - r15, r16, r17, r18 :: ptr - r19 :: object - r20 :: tuple - r21, r22 :: object + r14 :: bool + r15 :: object L0: - r0 = dank_mids.brownie_patch.call.globals :: static - r1 = 'ENVS' - r2 = CPyDict_GetItem(r0, r1) - if is_error(r2) goto L11 (error at :82) else goto L1 L1: - r3 = 'BROWNIE_ENCODER_PROCESSES' - r4 = CPyObject_GetAttr(r2, r3) - dec_ref r2 - if is_error(r4) goto L11 (error at :82) else goto L2 + r0 = builtins :: module + r1 = 'GeneratorExit' + r2 = CPyObject_GetAttr(r0, r1) + if is_error(r2) goto L3 else goto L2 L2: - r5 = dank_mids.brownie_patch.call.globals :: static - r6 = '__encode_input' - r7 = CPyDict_GetItem(r5, r6) - if is_error(r7) goto L12 (error at :82) else goto L3 + 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: - r8 = 'abi' - r9 = CPyObject_GetAttr(self, r8) - if is_error(r9) goto L13 (error at :82) else goto L4 + r6 = CPy_CatchError() + r7 = builtins :: module + r8 = 'StopIteration' + r9 = CPyObject_GetAttr(r7, r8) + if is_error(r9) goto L12 else goto L4 L4: - r10 = 'signature' - r11 = CPyObject_GetAttr(self, r10) - if is_error(r11) goto L14 (error at :82) 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: - r12 = 'run' - r13 = CPyObject_GetAttr(r4, r12) - dec_ref r4 - if is_error(r13) goto L15 (error at :82) else goto L6 + CPy_RestoreExcInfo(r6) + dec_ref r6 + r13 = load_address _Py_NoneStruct + inc_ref r13 + return r13 L6: - r14 = PyList_New(3) - if is_error(r14) goto L16 (error at :82) else goto L7 + CPy_Reraise() + if not 0 goto L10 else goto L7 :: bool L7: - r15 = get_element_ptr r14 ob_item :: PyListObject - r16 = load_mem r15 :: ptr* - set_mem r16, r7 :: builtins.object* - r17 = r16 + 8 - set_mem r17, r9 :: builtins.object* - r18 = r16 + 16 - set_mem r18, r11 :: builtins.object* - r19 = CPyList_Extend(r14, args) - if is_error(r19) goto L17 (error at :82) else goto L18 + unreachable L8: - r20 = PyList_AsTuple(r14) - dec_ref r14 - if is_error(r20) goto L19 (error at :82) else goto L9 + r14 = raise RuntimeError('generator ignored GeneratorExit') + if not r14 goto L10 else goto L9 :: bool L9: - r21 = PyObject_CallObject(r13, r20) - dec_ref r13 - dec_ref r20 - if is_error(r21) goto L11 (error at :82) else goto L10 + unreachable L10: - return r21 + r15 = :: object + return r15 L11: - r22 = :: object - return r22 + dec_ref r2 + dec_ref r5 + goto L8 L12: - dec_ref r4 - goto L11 + dec_ref r2 + dec_ref r6 + goto L10 L13: - dec_ref r4 - dec_ref r7 - goto L11 -L14: - dec_ref r4 - dec_ref r7 - dec_ref r9 - goto L11 -L15: - dec_ref r7 - dec_ref r9 - dec_ref r11 - goto L11 -L16: - dec_ref r7 - dec_ref r9 - dec_ref r11 - dec_ref r13 - goto L11 -L17: - dec_ref r13 - dec_ref r14 - goto L11 -L18: - dec_ref r19 - goto L8 -L19: - dec_ref r13 - goto L11 + dec_ref r6 + goto L6 -def __mypyc_lambda__1_obj.__get__(__mypyc_self__, instance, owner): - __mypyc_self__, instance, owner, r0 :: object - r1 :: bit - r2, r3 :: object +def gatherish_gen.__await__(__mypyc_self__): + __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen 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 :: dict - r1 :: str - r2 :: object - r3 :: str - r4 :: object - r5 :: dict - r6 :: str - r7 :: object - r8 :: str - r9 :: object - r10 :: str - r11 :: object[4] - r12 :: object_ptr - r13, r14 :: object +def gatherish(coros, name): + coros :: object + name :: union[str, None] + r0 :: object + r1 :: dank_mids.helpers._gather.gatherish_gen + r2, r3, r4 :: bool + r5 :: dank_mids.helpers._gather.gatherish_gen L0: - r0 = dank_mids.brownie_patch.call.globals :: static - r1 = 'ENVS' - r2 = CPyDict_GetItem(r0, r1) - if is_error(r2) goto L6 (error at :101) else goto L1 + if is_error(name) goto L1 else goto L7 L1: - r3 = 'BROWNIE_DECODER_PROCESSES' - r4 = CPyObject_GetAttr(r2, r3) - dec_ref r2 - if is_error(r4) goto L6 (error at :101) else goto L2 + r0 = box(None, 1) + inc_ref r0 + name = r0 L2: - r5 = dank_mids.brownie_patch.call.globals :: static - r6 = '__decode_output' - r7 = CPyDict_GetItem(r5, r6) - if is_error(r7) goto L7 (error at :101) else goto L3 + r1 = gatherish_gen() + if is_error(r1) goto L8 (error at gatherish:33) else goto L3 L3: - r8 = 'abi' - r9 = CPyObject_GetAttr(self, r8) - if is_error(r9) goto L8 (error at :101) else goto L4 + r1.__mypyc_next_label__ = 0 + inc_ref coros + r1.__mypyc_generator_attribute__coros = coros; r3 = is_error + if not r3 goto L9 (error at gatherish:33) else goto L4 :: bool L4: - r10 = 'run' - r11 = [r4, r7, data, r9] - r12 = load_address r11 - r13 = PyObject_VectorcallMethod(r10, r12, 9223372036854775812, 0) - if is_error(r13) goto L9 (error at :101) else goto L5 + r1.__mypyc_generator_attribute__name = name; r4 = is_error + if not r4 goto L10 (error at gatherish:33) else goto L5 :: bool L5: - dec_ref r4 - dec_ref r7 - dec_ref r9 - return r13 + return r1 L6: - r14 = :: object - return r14 + r5 = :: dank_mids.helpers._gather.gatherish_gen + return r5 L7: - dec_ref r4 - goto L6 + inc_ref name + goto L2 L8: - dec_ref r4 - dec_ref r7 + dec_ref name goto L6 L9: - dec_ref r4 - dec_ref r7 - dec_ref r9 + dec_ref name + dec_ref r1 + goto L6 +L10: + dec_ref r1 goto L6 -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 +def first_completed_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): + __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen + type, value, traceback, arg :: object + stop_iter_ptr :: object_ptr + r0, r1, r2, r3 :: object + r4 :: i32 + r5 :: object + r6 :: bit + r7 :: bool + r8 :: tuple 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 + r11 :: bool + r12 :: object[2] + r13 :: object_ptr + r14, r15, r16 :: object + r17 :: bool + r18, r19, r20, r21, r22 :: object + r23 :: bool 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 + r25 :: bool + r26 :: object + r27 :: bit + r28 :: tuple[object, object, object] + r29 :: bool + r30 :: object_ptr + r31 :: object + r32 :: bool + r33, r34, r35 :: tuple[object, object, object] + r36 :: bit + r37, r38, r39 :: object + r40 :: tuple[set, set] + r41 :: object + r42 :: bool + r43 :: tuple + r44 :: str + r45 :: object + r46 :: bool + r47 :: object[2] + r48 :: object_ptr + r49, r50, r51 :: object + r52 :: bool + r53, r54, r55, r56, r57 :: object + r58 :: bool + r59 :: object + r60 :: bool + r61 :: object + r62 :: bit + r63 :: tuple[object, object, object] + r64 :: bool + r65 :: object_ptr + r66 :: object + r67 :: bool + r68, r69, r70 :: tuple[object, object, object] + r71 :: bit + r72, r73, r74 :: object + r75 :: tuple[set, set] + r76, r77, r78 :: set + r79 :: bool + r80 :: set + r81 :: bool + r82 :: set + r83 :: object + r84, r85 :: bool + r86, r87 :: object + r88 :: bool + r89 :: object + r90 :: str + r91 :: object[1] + r92 :: object_ptr + r93 :: object + r94 :: bit + r95 :: set + r96 :: bool + r97, r98, r99 :: bit + r100 :: bool + r101 :: object L0: - r0 = '_address' - r1 = CPyObject_GetAttr(call, r0) - if is_error(r1) goto L18 (error at _patch_call:135) else goto L1 + r0 = :: object + r1 = r0 + r2 = :: object + r3 = r2 + r4 = __mypyc_self__.__mypyc_next_label__ + goto L98 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:135) else goto L2 + r5 = load_address _Py_NoneStruct + r6 = type != r5 + if r6 goto L2 else goto L4 :: bool L2: - r5 = cast(set, r4) - if is_error(r5) goto L19 (error at _patch_call:135) else goto L3 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L103 (error at first_completed:74) else goto L3 :: bool 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:135) else goto L4 :: bool + unreachable 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:135) else goto L5 :: bool + r7 = __mypyc_self__.__mypyc_generator_attribute__cancel + if is_error(r7) goto L103 (error at first_completed:77) else goto L5 L5: - r13 = 'abi' - r14 = CPyObject_GetAttr(call, r13) - if is_error(r14) goto L18 (error at _patch_call:136) else goto L6 + if r7 goto L45 else goto L6 :: bool L6: - r15 = 'inputs' - r16 = PyObject_GetItem(r14, r15) - dec_ref r14 - if is_error(r16) goto L18 (error at _patch_call:136) else goto L7 + r8 = __mypyc_self__.__mypyc_generator_attribute__fs + if is_error(r8) goto L103 (error at first_completed:78) else goto L7 L7: - r17 = CPyObject_Size(r16) - dec_ref r16 - if is_error(r17) goto L18 (error at _patch_call:136) else goto L8 + r9 = 'FIRST_COMPLETED' + r10 = dank_mids.helpers._gather.wait :: static + if is_error(r10) goto L104 else goto L10 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:136) else goto L9 + r11 = raise NameError('value for final name "wait" was not set') + if not r11 goto L103 (error at first_completed:78) else goto L9 :: bool 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:136) else goto L10 + unreachable 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:136) else goto L11 + r12 = [r8, r9] + r13 = load_address r12 + r14 = ('return_when',) + r15 = PyObject_Vectorcall(r10, r13, 1, r14) + if is_error(r15) goto L105 (error at first_completed:78) 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:136) else goto L12 + dec_ref r8 + r16 = CPy_GetCoro(r15) + dec_ref r15 + if is_error(r16) goto L103 (error at first_completed:78) 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:136) else goto L13 :: bool + __mypyc_self__.__mypyc_temp__17 = r16; r17 = is_error + if not r17 goto L103 (error at first_completed:-1) 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:137) else goto L14 + r18 = __mypyc_self__.__mypyc_temp__17 + if is_error(r18) goto L103 (error at first_completed:-1) 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:137) else goto L15 + r19 = CPyIter_Next(r18) + dec_ref r18 + if is_error(r19) goto L15 else goto L17 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:137) else goto L16 + r20 = CPy_FetchStopIterationValue() + if is_error(r20) goto L103 (error at first_completed:78) 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:137) else goto L17 :: bool + r21 = r20 + r22 = :: object + __mypyc_self__.__mypyc_temp__17 = r22; r23 = is_error + if not r23 goto L106 (error at first_completed:78) else goto L39 :: bool L17: - return 1 + r24 = r19 L18: - r46 = :: None - return r46 + __mypyc_self__.__mypyc_next_label__ = 1 + return r24 L19: - dec_ref r1 - goto L18 + r26 = load_address _Py_NoneStruct + r27 = type != r26 + if r27 goto L20 else goto L107 :: bool L20: - dec_ref r17 :: int - goto L18 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L23 (error at first_completed:78) else goto L108 :: bool L21: - dec_ref r21 - goto L18 + unreachable L22: - dec_ref r24 - goto L18 + inc_ref arg + goto L34 L23: - dec_ref r36 + r28 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__18 = r28; r29 = is_error + if not r29 goto L109 (error at first_completed:-1) else goto L24 :: bool +L24: + r30 = load_address r1 + r31 = __mypyc_self__.__mypyc_temp__17 + if is_error(r31) goto L109 (error at first_completed:-1) else goto L25 +L25: + r32 = CPy_YieldFromErrorHandle(r31, r30) + dec_ref r31 + if is_error(r32) goto L109 (error at first_completed:78) else goto L26 +L26: + if r32 goto L29 else goto L27 :: bool +L27: + r24 = r1 + r33 = __mypyc_self__.__mypyc_temp__18 + if is_error(r33) goto L110 (error at first_completed:-1) else goto L28 +L28: + CPy_RestoreExcInfo(r33) + dec_ref r33 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_gen___147.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): - __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine_gen___147 - type, value, traceback, arg :: object - stop_iter_ptr :: object_ptr - 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, r22, r23 :: object - r24 :: dank_mids.brownie_patch.call.coroutine__get_coroutine_fn_env - r25 :: i32 - r26 :: dank_mids.brownie_patch.call._get_coroutine_fn_env - r27 :: object - r28 :: bit - r29 :: union[dict, None] - r30 :: object - r31 :: bit - r32 :: dict - r33 :: native_int - r34 :: short_int - r35 :: bit - r36 :: str - r37 :: object - r38 :: str - r39 :: object - r40 :: object[1] - r41 :: object_ptr - r42, r43 :: object - r44 :: bool - 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 :: bool - r68 :: object - r69 :: bit - r70 :: tuple[object, object, object] - r71 :: bool - r72 :: object_ptr - r73 :: object - r74 :: bool - r75, r76, r77 :: tuple[object, object, object] - r78 :: bit - r79, r80, r81, r82 :: object - r83 :: int - r84 :: object - r85 :: tuple - r86 :: dict - r87 :: str - r88 :: object - r89 :: list - r90 :: object - r91, r92, r93, r94 :: ptr - r95 :: object - r96 :: tuple - r97, r98 :: object - r99 :: bool - r100, r101, r102, r103, r104 :: object - r105 :: bool - r106 :: object - r107 :: bool - r108 :: object - r109 :: bit - r110 :: tuple[object, object, object] - r111 :: bool - r112 :: object_ptr - r113 :: object - r114 :: bool - r115, r116, r117 :: tuple[object, object, object] - r118 :: bit - r119, r120, r121 :: object - r122 :: str - r123 :: bool - r124 :: object - r125 :: bool - r126 :: union[object, None] - r127, r128 :: object - r129 :: str - r130 :: object - r131 :: bool - r132 :: str - r133 :: object - r134 :: object[1] - r135 :: object_ptr - r136 :: object - r137, r138 :: bool - r139 :: object - r140 :: bool - r141, r142, r143, r144, r145 :: object - r146 :: bool - r147 :: object - r148 :: bool - r149 :: object - r150 :: bit - r151 :: tuple[object, object, object] - r152 :: bool - r153 :: object_ptr - r154 :: object - r155 :: bool - r156, r157, r158 :: tuple[object, object, object] - r159 :: bit - r160, r161, r162, r163 :: object - r164 :: str - r165 :: object - r166 :: str - r167 :: object - r168 :: str - r169 :: object - r170, r171 :: str - r172 :: dict - r173 :: union[object, None] - r174 :: str - r175 :: object[3] - r176 :: object_ptr - r177, r178 :: object - r179 :: bool - r180, r181, r182, r183, r184 :: object - r185 :: bool - r186 :: object - r187 :: bool - r188 :: object - r189 :: bit - r190 :: tuple[object, object, object] - r191 :: bool - r192 :: object_ptr - r193 :: object - r194 :: bool - r195, r196, r197 :: tuple[object, object, object] - r198 :: bit - r199, r200, r201 :: object - r202 :: bool - r203 :: tuple[object, object, object] - r204, r205 :: bool - r206 :: tuple[object, object, object] - r207, r208, r209, r210, r211 :: object - r212 :: object[4] - r213 :: object_ptr - r214, r215 :: object - r216 :: bool - r217, r218, r219, r220, r221 :: object - r222 :: bool - r223 :: object - r224 :: bool - r225 :: object - r226 :: bit - r227 :: tuple[object, object, object] - r228 :: bool - r229 :: object_ptr - r230 :: object - r231 :: bool - r232, r233, r234 :: tuple[object, object, object] - r235 :: bit - r236, r237, r238 :: object - r239 :: i32 - r240 :: bit - r241 :: bool - r242, r243 :: tuple[object, object, object] - r244 :: bit - r245, r246 :: tuple[object, object, object] - r247 :: bool - r248, r249, r250 :: object - r251 :: object[4] - r252 :: object_ptr - r253, r254 :: object - r255 :: bool - r256, r257, r258, r259, r260 :: object - r261 :: bool - r262 :: object - r263 :: bool - r264 :: object - r265 :: bit - r266 :: tuple[object, object, object] - r267 :: bool - r268 :: object_ptr - r269 :: object - r270 :: bool - r271, r272, r273 :: tuple[object, object, object] - r274 :: bit - r275, r276, r277 :: object - r278 :: bit - r279 :: tuple[object, object, object] - r280, r281 :: bool - r282 :: tuple[object, object, object] - r283, r284, r285, r286, r287 :: object - r288 :: object[4] - r289 :: object_ptr - r290, r291 :: object - r292 :: bool - r293, r294, r295, r296, r297 :: object - r298 :: bool - r299 :: object - r300 :: bool - r301 :: object - r302 :: bit - r303 :: tuple[object, object, object] - r304 :: bool - r305 :: object_ptr - r306 :: object - r307 :: bool - r308, r309, r310 :: tuple[object, object, object] - r311 :: bit - r312, r313, r314 :: object - r315 :: i32 - r316 :: bit - r317 :: bool - r318, r319 :: tuple[object, object, object] - r320 :: bit - r321, r322 :: tuple[object, object, object] - r323 :: bool - r324, r325, r326 :: object - r327 :: object[4] - r328 :: object_ptr - r329, r330 :: object - r331 :: bool - r332, r333, r334, r335, r336 :: object - r337 :: bool - r338 :: object - r339 :: bool - r340 :: object - r341 :: bit - r342 :: tuple[object, object, object] - r343 :: bool - r344 :: object_ptr - r345 :: object - r346 :: bool - r347, r348, r349 :: tuple[object, object, object] - r350 :: bit - r351, r352, r353 :: object - r354 :: bit - r355, r356 :: object - r357 :: bytes - r358 :: dank_mids.brownie_patch.call.decode_output_gen - r359 :: bool - r360 :: dank_mids.brownie_patch.call.decode_output_gen - r361, r362 :: object - r363 :: object_ptr - r364 :: object - r365 :: bit - r366 :: object - r367 :: dank_mids.brownie_patch.call.decode_output_gen - r368 :: bool - r369 :: object - r370 :: bool - r371 :: object - r372 :: bit - r373 :: tuple[object, object, object] - r374 :: bool - r375 :: object_ptr - r376 :: dank_mids.brownie_patch.call.decode_output_gen - r377 :: bool - r378, r379, r380 :: tuple[object, object, object] - r381 :: bit - r382 :: dank_mids.brownie_patch.call.decode_output_gen - r383, r384 :: object - r385 :: bool - r386 :: tuple[object, object, object] - r387 :: bool - r388 :: dict - r389 :: str - r390 :: object - r391 :: bit - r392 :: object - r393 :: bool - r394 :: str - r395 :: object - r396, r397, r398, r399 :: str - r400 :: object - r401 :: str - r402 :: object - r403 :: str - r404 :: object - r405 :: str - r406 :: tuple - r407 :: str - r408 :: union[object, None] - r409 :: str - r410 :: object - r411, r412 :: dict - r413 :: str - r414 :: object - r415 :: object[1] - r416 :: object_ptr - r417 :: object - r418 :: tuple[object, object, object] - r419 :: bit - r420 :: union[int, None] - r421 :: object - r422 :: bit - r423, r424, r425 :: object - r426 :: union[int, None] - r427 :: int - r428 :: object - r429 :: bool - r430 :: object - r431 :: object[1] - r432 :: object_ptr - r433, r434, r435, r436 :: object - r437 :: bool - r438, r439, r440, r441, r442, r443, r444, r445, r446, r447 :: bit - r448 :: bool - r449 :: object -L0: - r0 = :: object - r1 = r0 - r2 = :: object - r3 = r2 - r4 = :: object - r5 = r4 - r6 = :: object - r7 = r6 - r8 = :: object - r9 = r8 - r10 = :: object - r11 = r10 - r12 = :: tuple[object, object, object] - r13 = r12 - r14 = :: object - r15 = r14 - r16 = :: object - r17 = r16 - r18 = :: tuple[object, object, object] - r19 = r18 - r20 = :: object - r21 = r20 - xdec_ref r21 - r22 = :: object - r23 = r22 - r24 = __mypyc_self__.__mypyc_env__ - if is_error(r24) goto L422 (error at coroutine:147) else goto L1 -L1: - r25 = r24.__mypyc_next_label__ - r26 = r24.__mypyc_env__ - if is_error(r26) goto L423 (error at coroutine:147) else goto L409 -L2: - r27 = load_address _Py_NoneStruct - r28 = type != r27 - if r28 goto L424 else goto L5 :: bool -L3: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L421 (error at coroutine:147) else goto L4 :: bool -L4: - unreachable -L5: - r29 = r24.__mypyc_generator_attribute__override - if is_error(r29) goto L425 (error at coroutine:154) else goto L6 -L6: - r30 = load_address _Py_NoneStruct - r31 = r29 != r30 - if r31 goto L7 else goto L426 :: bool -L7: - r32 = cast(dict, r29) - if is_error(r32) goto L425 (error at coroutine:154) else goto L8 -L8: - r33 = PyDict_Size(r32) - dec_ref r32 - r34 = r33 << 1 - r35 = r34 != 0 - if r35 goto L427 else goto L13 :: bool -L9: - r36 = 'Cannot use state override with `coroutine`.' - r37 = builtins :: module - r38 = 'ValueError' - r39 = CPyObject_GetAttr(r37, r38) - if is_error(r39) goto L421 (error at coroutine:155) else goto L10 -L10: - r40 = [r36] - r41 = load_address r40 - r42 = PyObject_Vectorcall(r39, r41, 1, 0) - dec_ref r39 - if is_error(r42) goto L421 (error at coroutine:155) else goto L11 -L11: - CPy_Raise(r42) - dec_ref r42 - if not 0 goto L421 (error at coroutine:155) else goto L12 :: bool -L12: - unreachable -L13: - r43 = dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_ENCODER_SEMAPHORE :: static - if is_error(r43) goto L428 else goto L16 -L14: - r44 = raise NameError('value for final name "BROWNIE_ENCODER_SEMAPHORE" was not set') - if not r44 goto L421 (error at coroutine:156) else goto L15 :: bool -L15: - unreachable -L16: - r45 = r24.__mypyc_generator_attribute__block_identifier - if is_error(r45) goto L425 (error at coroutine:156) else goto L17 -L17: - r46 = PyObject_GetItem(r43, r45) - dec_ref r45 - if is_error(r46) goto L425 (error at coroutine:156) else goto L18 -L18: - r47 = CPy_TYPE(r46) - r48 = '__aexit__' - r49 = CPyObject_GetAttr(r47, r48) - if is_error(r49) goto L429 (error at coroutine:156) else goto L19 -L19: - r24.__mypyc_temp__0 = r49; r50 = is_error - if not r50 goto L429 (error at coroutine:-1) else goto L20 :: bool -L20: - r51 = '__aenter__' - r52 = CPyObject_GetAttr(r47, r51) - dec_ref r47 - if is_error(r52) goto L430 (error at coroutine:156) else goto L21 -L21: - r53 = [r46] - r54 = load_address r53 - r55 = PyObject_Vectorcall(r52, r54, 1, 0) - dec_ref r52 - if is_error(r55) goto L430 (error at coroutine:156) else goto L22 -L22: - r24.__mypyc_temp__1 = r46; r56 = is_error - if not r56 goto L431 (error at coroutine:-1) else goto L23 :: bool -L23: - r24.__mypyc_temp__2 = 1; r57 = is_error - if not r57 goto L431 (error at coroutine:-1) else goto L24 :: bool -L24: - r58 = CPy_GetCoro(r55) - dec_ref r55 - if is_error(r58) goto L425 (error at coroutine:156) else goto L25 -L25: - r24.__mypyc_temp__3 = r58; r59 = is_error - if not r59 goto L425 (error at coroutine:-1) else goto L26 :: bool -L26: - r60 = r24.__mypyc_temp__3 - if is_error(r60) goto L425 (error at coroutine:-1) else goto L27 -L27: - r61 = CPyIter_Next(r60) - dec_ref r60 - if is_error(r61) goto L28 else goto L432 -L28: - r62 = CPy_FetchStopIterationValue() - if is_error(r62) goto L425 (error at coroutine:156) else goto L29 L29: - r63 = r62 - dec_ref r63 - r64 = :: object - r24.__mypyc_temp__3 = r64; r65 = is_error - if not r65 goto L425 (error at coroutine:156) else goto L52 :: bool + r21 = r1 + r34 = __mypyc_self__.__mypyc_temp__18 + if is_error(r34) goto L111 (error at first_completed:-1) else goto L30 L30: - r66 = r61 + CPy_RestoreExcInfo(r34) + dec_ref r34 + goto L39 L31: - r24.__mypyc_next_label__ = 1 - dec_ref r24 - return r66 + r35 = __mypyc_self__.__mypyc_temp__18 + if is_error(r35) goto L103 (error at first_completed:-1) else goto L32 L32: - r68 = load_address _Py_NoneStruct - r69 = type != r68 - if r69 goto L33 else goto L433 :: bool + CPy_RestoreExcInfo(r35) + dec_ref r35 + r36 = CPy_KeepPropagating() + if not r36 goto L103 else goto L33 :: bool L33: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L36 (error at coroutine:156) else goto L434 :: bool -L34: unreachable +L34: + r37 = __mypyc_self__.__mypyc_temp__17 + if is_error(r37) goto L112 (error at first_completed:-1) else goto L35 L35: - inc_ref arg - goto L47 + r38 = CPyIter_Send(r37, arg) + dec_ref r37 + dec_ref arg + if is_error(r38) goto L37 else goto L36 L36: - r70 = CPy_CatchError() - r24.__mypyc_temp__4 = r70; r71 = is_error - if not r71 goto L435 (error at coroutine:-1) else goto L37 :: bool + r24 = r38 + goto L18 L37: - r72 = load_address r1 - r73 = r24.__mypyc_temp__3 - if is_error(r73) goto L435 (error at coroutine:-1) else goto L38 + r39 = CPy_FetchStopIterationValue() + if is_error(r39) goto L103 (error at first_completed:78) else goto L38 L38: - r74 = CPy_YieldFromErrorHandle(r73, r72) - dec_ref r73 - if is_error(r74) goto L435 (error at coroutine:156) else goto L39 + r21 = r39 L39: - if r74 goto L42 else goto L436 :: bool + r40 = unbox(tuple[set, set], r21) + dec_ref r21 + if is_error(r40) goto L103 (error at first_completed:78) else goto L40 L40: - r66 = r1 - r75 = r24.__mypyc_temp__4 - if is_error(r75) goto L437 (error at coroutine:-1) else goto L41 + r41 = box(tuple[set, set], r40) + __mypyc_self__.__mypyc_next_label__ = -1 L41: - CPy_RestoreExcInfo(r75) - dec_ref r75 - goto L31 + if is_error(stop_iter_ptr) goto L42 else goto L44 L42: - r63 = r1 - dec_ref r63 - r76 = r24.__mypyc_temp__4 - if is_error(r76) goto L438 (error at coroutine:-1) else goto L43 + CPyGen_SetStopIterationValue(r41) + dec_ref r41 + if not 0 goto L103 else goto L43 :: bool L43: - CPy_RestoreExcInfo(r76) - dec_ref r76 - goto L52 + unreachable L44: - r77 = r24.__mypyc_temp__4 - dec_ref r24 - if is_error(r77) goto L421 (error at coroutine:-1) else goto L45 + set_mem stop_iter_ptr, r41 :: builtins.object* + return 0 L45: - CPy_RestoreExcInfo(r77) - dec_ref r77 - r78 = CPy_KeepPropagating() - if not r78 goto L421 else goto L46 :: bool + r43 = __mypyc_self__.__mypyc_generator_attribute__fs + if is_error(r43) goto L103 (error at first_completed:79) else goto L46 L46: - unreachable + r44 = 'FIRST_COMPLETED' + r45 = dank_mids.helpers._gather.wait :: static + if is_error(r45) goto L113 else goto L49 L47: - r79 = r24.__mypyc_temp__3 - if is_error(r79) goto L439 (error at coroutine:-1) else goto L48 + r46 = raise NameError('value for final name "wait" was not set') + if not r46 goto L103 (error at first_completed:79) else goto L48 :: bool L48: - r80 = CPyIter_Send(r79, arg) - dec_ref r79 - dec_ref arg - if is_error(r80) goto L50 else goto L440 + unreachable L49: - r66 = r80 - goto L31 + r47 = [r43, r44] + r48 = load_address r47 + r49 = ('return_when',) + r50 = PyObject_Vectorcall(r45, r48, 1, r49) + if is_error(r50) goto L114 (error at first_completed:79) else goto L50 L50: - r81 = CPy_FetchStopIterationValue() - if is_error(r81) goto L425 (error at coroutine:156) else goto L51 + dec_ref r43 + r51 = CPy_GetCoro(r50) + dec_ref r50 + if is_error(r51) goto L103 (error at first_completed:79) else goto L51 L51: - r63 = r81 - dec_ref r63 + __mypyc_self__.__mypyc_temp__19 = r51; r52 = is_error + if not r52 goto L103 (error at first_completed:-1) else goto L52 :: bool L52: - r82 = r24.__mypyc_generator_attribute__self - if is_error(r82) goto L441 (error at coroutine:157) else goto L53 + r53 = __mypyc_self__.__mypyc_temp__19 + if is_error(r53) goto L103 (error at first_completed:-1) else goto L53 L53: - r83 = r26.len_inputs - if is_error(r83) goto L442 (error at coroutine:157) else goto L54 + r54 = CPyIter_Next(r53) + dec_ref r53 + if is_error(r54) goto L54 else goto L56 L54: - r84 = r26.get_request_data - if is_error(r84) goto L443 (error at coroutine:157) else goto L55 + r55 = CPy_FetchStopIterationValue() + if is_error(r55) goto L103 (error at first_completed:79) else goto L55 L55: - r85 = r24.__mypyc_generator_attribute__args - if is_error(r85) goto L444 (error at coroutine:157) else goto L56 + r56 = r55 + r57 = :: object + __mypyc_self__.__mypyc_temp__19 = r57; r58 = is_error + if not r58 goto L115 (error at first_completed:79) else goto L78 :: bool L56: - r86 = dank_mids.brownie_patch.call.globals :: static - r87 = 'encode_input' - r88 = CPyDict_GetItem(r86, r87) - if is_error(r88) goto L445 (error at coroutine:157) else goto L57 + r59 = r54 L57: - r89 = PyList_New(3) - if is_error(r89) goto L446 (error at coroutine:157) else goto L58 + __mypyc_self__.__mypyc_next_label__ = 2 + return r59 L58: - r90 = box(int, r83) - r91 = get_element_ptr r89 ob_item :: PyListObject - r92 = load_mem r91 :: ptr* - set_mem r92, r82 :: builtins.object* - r93 = r92 + 8 - set_mem r93, r90 :: builtins.object* - r94 = r92 + 16 - set_mem r94, r84 :: builtins.object* - r95 = CPyList_Extend(r89, r85) - dec_ref r85 - if is_error(r95) goto L447 (error at coroutine:157) else goto L448 + r61 = load_address _Py_NoneStruct + r62 = type != r61 + if r62 goto L59 else goto L116 :: bool L59: - r96 = PyList_AsTuple(r89) - dec_ref r89 - if is_error(r96) goto L449 (error at coroutine:157) else goto L60 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L62 (error at first_completed:79) else goto L117 :: bool L60: - r97 = PyObject_CallObject(r88, r96) - dec_ref r88 - dec_ref r96 - if is_error(r97) goto L441 (error at coroutine:157) else goto L61 + unreachable L61: - r98 = CPy_GetCoro(r97) - dec_ref r97 - if is_error(r98) goto L441 (error at coroutine:157) else goto L62 + inc_ref arg + goto L73 L62: - r24.__mypyc_temp__5 = r98; r99 = is_error - if not r99 goto L441 (error at coroutine:-1) else goto L63 :: bool + r63 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__20 = r63; r64 = is_error + if not r64 goto L118 (error at first_completed:-1) else goto L63 :: bool L63: - r100 = r24.__mypyc_temp__5 - if is_error(r100) goto L441 (error at coroutine:-1) else goto L64 + r65 = load_address r3 + r66 = __mypyc_self__.__mypyc_temp__19 + if is_error(r66) goto L118 (error at first_completed:-1) else goto L64 L64: - r101 = CPyIter_Next(r100) - dec_ref r100 - if is_error(r101) goto L65 else goto L450 + r67 = CPy_YieldFromErrorHandle(r66, r65) + dec_ref r66 + if is_error(r67) goto L118 (error at first_completed:79) else goto L65 L65: - r102 = CPy_FetchStopIterationValue() - if is_error(r102) goto L441 (error at coroutine:157) else goto L66 + if r67 goto L68 else goto L66 :: bool L66: - r103 = r102 - r104 = :: object - r24.__mypyc_temp__5 = r104; r105 = is_error - if not r105 goto L451 (error at coroutine:157) else goto L89 :: bool + r59 = r3 + r68 = __mypyc_self__.__mypyc_temp__20 + if is_error(r68) goto L119 (error at first_completed:-1) else goto L67 L67: - r106 = r101 + CPy_RestoreExcInfo(r68) + dec_ref r68 + goto L57 L68: - r24.__mypyc_next_label__ = 2 - dec_ref r24 - return r106 + r56 = r3 + r69 = __mypyc_self__.__mypyc_temp__20 + if is_error(r69) goto L120 (error at first_completed:-1) else goto L69 L69: - r108 = load_address _Py_NoneStruct - r109 = type != r108 - if r109 goto L70 else goto L452 :: bool + CPy_RestoreExcInfo(r69) + dec_ref r69 + goto L78 L70: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L73 (error at coroutine:157) else goto L453 :: bool + r70 = __mypyc_self__.__mypyc_temp__20 + if is_error(r70) goto L103 (error at first_completed:-1) else goto L71 L71: - unreachable + CPy_RestoreExcInfo(r70) + dec_ref r70 + r71 = CPy_KeepPropagating() + if not r71 goto L103 else goto L72 :: bool L72: - inc_ref arg - goto L84 + unreachable L73: - r110 = CPy_CatchError() - r24.__mypyc_temp__6 = r110; r111 = is_error - if not r111 goto L454 (error at coroutine:-1) else goto L74 :: bool + r72 = __mypyc_self__.__mypyc_temp__19 + if is_error(r72) goto L121 (error at first_completed:-1) else goto L74 L74: - r112 = load_address r3 - r113 = r24.__mypyc_temp__5 - if is_error(r113) goto L454 (error at coroutine:-1) else goto L75 + r73 = CPyIter_Send(r72, arg) + dec_ref r72 + dec_ref arg + if is_error(r73) goto L76 else goto L75 L75: - r114 = CPy_YieldFromErrorHandle(r113, r112) - dec_ref r113 - if is_error(r114) goto L454 (error at coroutine:157) else goto L76 + r59 = r73 + goto L57 L76: - if r114 goto L79 else goto L455 :: bool + r74 = CPy_FetchStopIterationValue() + if is_error(r74) goto L103 (error at first_completed:79) else goto L77 L77: - r106 = r3 - r115 = r24.__mypyc_temp__6 - if is_error(r115) goto L456 (error at coroutine:-1) else goto L78 + r56 = r74 L78: - CPy_RestoreExcInfo(r115) - dec_ref r115 - goto L68 + r75 = unbox(tuple[set, set], r56) + dec_ref r56 + if is_error(r75) goto L103 (error at first_completed:79) else goto L79 L79: - r103 = r3 - r116 = r24.__mypyc_temp__6 - if is_error(r116) goto L457 (error at coroutine:-1) else goto L80 + r76 = borrow r75[0] + r77 = borrow r75[1] + r78 = unborrow r76 + __mypyc_self__.__mypyc_generator_attribute__done = r78; r79 = is_error + if not r79 goto L103 (error at first_completed:79) else goto L80 :: bool L80: - CPy_RestoreExcInfo(r116) - dec_ref r116 - goto L89 + r80 = unborrow r77 + __mypyc_self__.__mypyc_generator_attribute__pending = r80; r81 = is_error + if not r81 goto L103 (error at first_completed:79) else goto L81 :: bool L81: - r117 = r24.__mypyc_temp__6 - if is_error(r117) goto L251 (error at coroutine:-1) else goto L82 + r82 = __mypyc_self__.__mypyc_generator_attribute__pending + if is_error(r82) goto L103 (error at first_completed:80) else goto L82 L82: - CPy_RestoreExcInfo(r117) - dec_ref r117 - r118 = CPy_KeepPropagating() - if not r118 goto L251 else goto L458 :: bool + r83 = PyObject_GetIter(r82) + if is_error(r83) goto L122 (error at first_completed:80) else goto L83 L83: - unreachable + __mypyc_self__.__mypyc_temp__21 = r82; r84 = is_error + if not r84 goto L123 (error at first_completed:-1) else goto L84 :: bool L84: - r119 = r24.__mypyc_temp__5 - if is_error(r119) goto L459 (error at coroutine:-1) else goto L85 + __mypyc_self__.__mypyc_temp__22 = r83; r85 = is_error + if not r85 goto L103 (error at first_completed:-1) else goto L85 :: bool L85: - r120 = CPyIter_Send(r119, arg) - dec_ref r119 - dec_ref arg - if is_error(r120) goto L87 else goto L460 + r86 = __mypyc_self__.__mypyc_temp__22 + if is_error(r86) goto L103 (error at first_completed:80) else goto L86 L86: - r106 = r120 - goto L68 + r87 = PyIter_Next(r86) + dec_ref r86 + if is_error(r87) goto L91 else goto L87 L87: - r121 = CPy_FetchStopIterationValue() - if is_error(r121) goto L441 (error at coroutine:157) else goto L88 + __mypyc_self__.__mypyc_generator_attribute__p = r87; r88 = is_error + if not r88 goto L103 (error at first_completed:80) else goto L88 :: bool L88: - r103 = r121 + r89 = __mypyc_self__.__mypyc_generator_attribute__p + if is_error(r89) goto L103 (error at first_completed:81) else goto L89 L89: - r122 = cast(str, r103) - if is_error(r122) goto L441 (error at coroutine:157) else goto L90 + r90 = 'cancel' + r91 = [r89] + r92 = load_address r91 + r93 = PyObject_VectorcallMethod(r90, r92, 9223372036854775809, 0) + if is_error(r93) goto L124 (error at first_completed:81) else goto L125 L90: - r24.__mypyc_generator_attribute__data = r122; r123 = is_error - if not r123 goto L441 (error at coroutine:157) else goto L91 :: bool + dec_ref r89 + goto L85 L91: - r124 = dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_CALL_SEMAPHORE :: static - if is_error(r124) goto L461 else goto L94 + r94 = CPy_NoErrOccurred() + if not r94 goto L103 (error at first_completed:80) else goto L92 :: bool L92: - r125 = raise NameError('value for final name "BROWNIE_CALL_SEMAPHORE" was not set') - if not r125 goto L251 (error at coroutine:158) else goto L462 :: bool + r95 = __mypyc_self__.__mypyc_generator_attribute__done + if is_error(r95) goto L103 (error at first_completed:82) else goto L93 L93: - unreachable + __mypyc_self__.__mypyc_next_label__ = -1 L94: - r126 = r24.__mypyc_generator_attribute__block_identifier - if is_error(r126) goto L441 (error at coroutine:158) else goto L95 + if is_error(stop_iter_ptr) goto L95 else goto L97 L95: - r127 = PyObject_GetItem(r124, r126) - dec_ref r126 - if is_error(r127) goto L441 (error at coroutine:158) else goto L96 + CPyGen_SetStopIterationValue(r95) + dec_ref r95 + if not 0 goto L103 else goto L96 :: bool L96: - r128 = CPy_TYPE(r127) - r129 = '__aexit__' - r130 = CPyObject_GetAttr(r128, r129) - if is_error(r130) goto L463 (error at coroutine:158) else goto L97 + unreachable L97: - r24.__mypyc_temp__7 = r130; r131 = is_error - if not r131 goto L463 (error at coroutine:-1) else goto L98 :: bool + set_mem stop_iter_ptr, r95 :: builtins.object* + return 0 L98: - r132 = '__aenter__' - r133 = CPyObject_GetAttr(r128, r132) - dec_ref r128 - if is_error(r133) goto L464 (error at coroutine:158) else goto L99 + r97 = r4 == 0 + if r97 goto L126 else goto L99 :: bool L99: - r134 = [r127] - r135 = load_address r134 - r136 = PyObject_Vectorcall(r133, r135, 1, 0) - dec_ref r133 - if is_error(r136) goto L464 (error at coroutine:158) else goto L100 + r98 = r4 == 1 + if r98 goto L127 else goto L128 :: bool L100: - r24.__mypyc_temp__8 = r127; r137 = is_error - if not r137 goto L465 (error at coroutine:-1) else goto L101 :: bool + r99 = r4 == 2 + if r99 goto L58 else goto L129 :: bool L101: - r24.__mypyc_temp__9 = 1; r138 = is_error - if not r138 goto L465 (error at coroutine:-1) else goto L102 :: bool + r100 = raise StopIteration + if not r100 goto L103 (error at first_completed:74) else goto L102 :: bool L102: - r139 = CPy_GetCoro(r136) - dec_ref r136 - if is_error(r139) goto L441 (error at coroutine:158) else goto L103 + unreachable L103: - r24.__mypyc_temp__10 = r139; r140 = is_error - if not r140 goto L441 (error at coroutine:-1) else goto L104 :: bool + r101 = :: object + return r101 L104: - r141 = r24.__mypyc_temp__10 - if is_error(r141) goto L441 (error at coroutine:-1) else goto L105 + dec_ref r8 + goto L8 L105: - r142 = CPyIter_Next(r141) - dec_ref r141 - if is_error(r142) goto L106 else goto L466 + dec_ref r8 + goto L103 L106: - r143 = CPy_FetchStopIterationValue() - if is_error(r143) goto L441 (error at coroutine:158) else goto L107 + dec_ref r21 + goto L103 L107: - r144 = r143 - dec_ref r144 - r145 = :: object - r24.__mypyc_temp__10 = r145; r146 = is_error - if not r146 goto L441 (error at coroutine:158) else goto L130 :: bool + xdec_ref r1 + goto L22 L108: - r147 = r142 + xdec_ref r1 + goto L21 L109: - r24.__mypyc_next_label__ = 3 - dec_ref r24 - return r147 + xdec_ref r1 + goto L31 L110: - r149 = load_address _Py_NoneStruct - r150 = type != r149 - if r150 goto L111 else goto L467 :: bool + dec_ref r24 + goto L31 L111: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L114 (error at coroutine:158) else goto L468 :: bool + dec_ref r21 + goto L31 L112: - unreachable + dec_ref arg + goto L103 L113: - inc_ref arg - goto L125 + dec_ref r43 + goto L47 L114: - r151 = CPy_CatchError() - r24.__mypyc_temp__11 = r151; r152 = is_error - if not r152 goto L469 (error at coroutine:-1) else goto L115 :: bool + dec_ref r43 + goto L103 L115: - r153 = load_address r5 - r154 = r24.__mypyc_temp__10 - if is_error(r154) goto L469 (error at coroutine:-1) else goto L116 + dec_ref r56 + goto L103 L116: - r155 = CPy_YieldFromErrorHandle(r154, r153) - dec_ref r154 - if is_error(r155) goto L469 (error at coroutine:158) else goto L117 + xdec_ref r3 + goto L61 L117: - if r155 goto L120 else goto L470 :: bool + xdec_ref r3 + goto L60 L118: - r147 = r5 - r156 = r24.__mypyc_temp__11 - if is_error(r156) goto L471 (error at coroutine:-1) else goto L119 + xdec_ref r3 + goto L70 L119: - CPy_RestoreExcInfo(r156) - dec_ref r156 - goto L109 + dec_ref r59 + goto L70 L120: - r144 = r5 - dec_ref r144 - r157 = r24.__mypyc_temp__11 - if is_error(r157) goto L472 (error at coroutine:-1) else goto L121 + dec_ref r56 + goto L70 L121: - CPy_RestoreExcInfo(r157) - dec_ref r157 - goto L130 + dec_ref arg + goto L103 L122: - r158 = r24.__mypyc_temp__11 - if is_error(r158) goto L251 (error at coroutine:-1) else goto L123 + dec_ref r82 + goto L103 L123: - CPy_RestoreExcInfo(r158) - dec_ref r158 - r159 = CPy_KeepPropagating() - if not r159 goto L251 else goto L473 :: bool + dec_ref r83 + goto L103 L124: - unreachable + dec_ref r89 + goto L103 L125: - r160 = r24.__mypyc_temp__10 - if is_error(r160) goto L474 (error at coroutine:-1) else goto L126 + dec_ref r93 + goto L90 L126: - r161 = CPyIter_Send(r160, arg) - dec_ref r160 - dec_ref arg - if is_error(r161) goto L128 else goto L475 + xdec_ref r1 + xdec_ref r3 + goto L1 L127: - r147 = r161 - goto L109 + xdec_ref r3 + goto L19 L128: - r162 = CPy_FetchStopIterationValue() - if is_error(r162) goto L441 (error at coroutine:158) else goto L129 + xdec_ref r1 + goto L100 L129: - r144 = r162 - dec_ref r144 -L130: - r163 = r26.w3 - dec_ref r26 - if is_error(r163) goto L167 (error at coroutine:159) else goto L131 -L131: - r164 = 'eth' - r165 = CPyObject_GetAttr(r163, r164) - dec_ref r163 - if is_error(r165) goto L167 (error at coroutine:159) else goto L132 -L132: - r166 = 'to' - r167 = r24.__mypyc_generator_attribute__self - if is_error(r167) goto L476 (error at coroutine:159) else goto L133 -L133: - r168 = '_address' - r169 = CPyObject_GetAttr(r167, r168) - dec_ref r167 - if is_error(r169) goto L476 (error at coroutine:159) else goto L134 -L134: - r170 = 'data' - r171 = r24.__mypyc_generator_attribute__data - if is_error(r171) goto L477 (error at coroutine:159) else goto L135 -L135: - r172 = CPyDict_Build(2, r166, r169, r170, r171) - dec_ref r169 - dec_ref r171 - if is_error(r172) goto L476 (error at coroutine:159) else goto L136 -L136: - r173 = r24.__mypyc_generator_attribute__block_identifier - if is_error(r173) goto L478 (error at coroutine:159) else goto L137 -L137: - r174 = 'call' - r175 = [r165, r172, r173] - r176 = load_address r175 - r177 = PyObject_VectorcallMethod(r174, r176, 9223372036854775811, 0) - if is_error(r177) goto L479 (error at coroutine:159) else goto L138 -L138: - dec_ref r165 - dec_ref r172 - dec_ref r173 - r178 = CPy_GetCoro(r177) - dec_ref r177 - if is_error(r178) goto L167 (error at coroutine:159) else goto L139 -L139: - r24.__mypyc_temp__12 = r178; r179 = is_error - if not r179 goto L167 (error at coroutine:-1) else goto L140 :: bool -L140: - r180 = r24.__mypyc_temp__12 - if is_error(r180) goto L167 (error at coroutine:-1) else goto L141 -L141: - r181 = CPyIter_Next(r180) - dec_ref r180 - if is_error(r181) goto L142 else goto L144 -L142: - r182 = CPy_FetchStopIterationValue() - if is_error(r182) goto L167 (error at coroutine:159) else goto L143 -L143: - r183 = r182 - r184 = :: object - r24.__mypyc_temp__12 = r184; r185 = is_error - if not r185 goto L480 (error at coroutine:159) else goto L166 :: bool -L144: - r186 = r181 -L145: - r24.__mypyc_next_label__ = 4 - dec_ref r24 - return r186 -L146: - r188 = load_address _Py_NoneStruct - r189 = type != r188 - if r189 goto L147 else goto L481 :: bool -L147: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L150 (error at coroutine:159) else goto L482 :: bool -L148: - unreachable -L149: - inc_ref arg - goto L161 -L150: - r190 = CPy_CatchError() - r24.__mypyc_temp__13 = r190; r191 = is_error - if not r191 goto L483 (error at coroutine:-1) else goto L151 :: bool -L151: - r192 = load_address r7 - r193 = r24.__mypyc_temp__12 - if is_error(r193) goto L483 (error at coroutine:-1) else goto L152 -L152: - r194 = CPy_YieldFromErrorHandle(r193, r192) - dec_ref r193 - if is_error(r194) goto L483 (error at coroutine:159) else goto L153 -L153: - if r194 goto L156 else goto L154 :: bool -L154: - r186 = r7 - r195 = r24.__mypyc_temp__13 - if is_error(r195) goto L484 (error at coroutine:-1) else goto L155 -L155: - CPy_RestoreExcInfo(r195) - dec_ref r195 - goto L145 -L156: - r183 = r7 - r196 = r24.__mypyc_temp__13 - if is_error(r196) goto L485 (error at coroutine:-1) else goto L157 -L157: - CPy_RestoreExcInfo(r196) - dec_ref r196 - goto L166 -L158: - r197 = r24.__mypyc_temp__13 - if is_error(r197) goto L167 (error at coroutine:-1) else goto L159 -L159: - CPy_RestoreExcInfo(r197) - dec_ref r197 - r198 = CPy_KeepPropagating() - if not r198 goto L167 else goto L486 :: bool -L160: + xdec_ref r3 + goto L101 + +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, 0) + 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, 0) + 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, 0) + 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 -L161: - r199 = r24.__mypyc_temp__12 - if is_error(r199) goto L487 (error at coroutine:-1) else goto L162 -L162: - r200 = CPyIter_Send(r199, arg) - dec_ref r199 - dec_ref arg - if is_error(r200) goto L164 else goto L163 -L163: - r186 = r200 - goto L145 -L164: - r201 = CPy_FetchStopIterationValue() - if is_error(r201) goto L167 (error at coroutine:159) else goto L165 -L165: - r183 = r201 -L166: - r24.__mypyc_generator_attribute__output = r183; r202 = is_error - if not r202 goto L167 (error at coroutine:159) else goto L209 :: bool -L167: - r203 = CPy_CatchError() - r24.__mypyc_temp__14 = r203; r204 = is_error - if not r204 goto L206 (error at coroutine:-1) else goto L168 :: bool -L168: - r24.__mypyc_temp__9 = 0; r205 = is_error - if not r205 goto L206 (error at coroutine:158) else goto L169 :: bool -L169: - r206 = CPy_GetExcInfo() - r207 = r206[0] - r208 = r206[1] - r209 = r206[2] - dec_ref r206 - r210 = r24.__mypyc_temp__7 - if is_error(r210) goto L488 (error at coroutine:-1) else goto L170 -L170: - r211 = r24.__mypyc_temp__8 - if is_error(r211) goto L489 (error at coroutine:-1) else goto L171 -L171: - r212 = [r211, r207, r208, r209] - r213 = load_address r212 - r214 = PyObject_Vectorcall(r210, r213, 4, 0) - dec_ref r210 - if is_error(r214) goto L490 (error at coroutine:158) else goto L172 -L172: - dec_ref r211 - dec_ref r207 - dec_ref r208 - dec_ref r209 - r215 = CPy_GetCoro(r214) - dec_ref r214 - if is_error(r215) goto L206 (error at coroutine:158) else goto L173 -L173: - r24.__mypyc_temp__15 = r215; r216 = is_error - if not r216 goto L206 (error at coroutine:-1) else goto L174 :: bool -L174: - r217 = r24.__mypyc_temp__15 - if is_error(r217) goto L206 (error at coroutine:-1) else goto L175 -L175: - r218 = CPyIter_Next(r217) - dec_ref r217 - if is_error(r218) goto L176 else goto L178 -L176: - r219 = CPy_FetchStopIterationValue() - if is_error(r219) goto L206 (error at coroutine:158) else goto L177 -L177: - r220 = r219 - r221 = :: object - r24.__mypyc_temp__15 = r221; r222 = is_error - if not r222 goto L491 (error at coroutine:158) else goto L200 :: bool -L178: - r223 = r218 -L179: - r24.__mypyc_next_label__ = 5 - dec_ref r24 - return r223 -L180: - r225 = load_address _Py_NoneStruct - r226 = type != r225 - if r226 goto L181 else goto L492 :: bool -L181: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L184 (error at coroutine:158) else goto L493 :: bool -L182: +L8: + r14 = raise RuntimeError('generator ignored GeneratorExit') + if not r14 goto L10 else goto L9 :: bool +L9: unreachable -L183: - inc_ref arg - goto L195 -L184: - r227 = CPy_CatchError() - r24.__mypyc_temp__16 = r227; r228 = is_error - if not r228 goto L494 (error at coroutine:-1) else goto L185 :: bool -L185: - r229 = load_address r9 - r230 = r24.__mypyc_temp__15 - if is_error(r230) goto L494 (error at coroutine:-1) else goto L186 -L186: - r231 = CPy_YieldFromErrorHandle(r230, r229) - dec_ref r230 - if is_error(r231) goto L494 (error at coroutine:158) else goto L187 -L187: - if r231 goto L190 else goto L188 :: bool -L188: - r223 = r9 - r232 = r24.__mypyc_temp__16 - if is_error(r232) goto L495 (error at coroutine:-1) else goto L189 -L189: - CPy_RestoreExcInfo(r232) - dec_ref r232 - goto L179 -L190: - r220 = r9 - r233 = r24.__mypyc_temp__16 - if is_error(r233) goto L496 (error at coroutine:-1) else goto L191 -L191: - CPy_RestoreExcInfo(r233) - dec_ref r233 - goto L200 -L192: - r234 = r24.__mypyc_temp__16 - if is_error(r234) goto L206 (error at coroutine:-1) else goto L193 -L193: - CPy_RestoreExcInfo(r234) - dec_ref r234 - r235 = CPy_KeepPropagating() - if not r235 goto L206 else goto L497 :: bool -L194: - unreachable -L195: - r236 = r24.__mypyc_temp__15 - if is_error(r236) goto L498 (error at coroutine:-1) else goto L196 -L196: - r237 = CPyIter_Send(r236, arg) - dec_ref r236 - dec_ref arg - if is_error(r237) goto L198 else goto L197 -L197: - r223 = r237 - goto L179 -L198: - r238 = CPy_FetchStopIterationValue() - if is_error(r238) goto L206 (error at coroutine:158) else goto L199 -L199: - r220 = r238 -L200: - r239 = PyObject_IsTrue(r220) - dec_ref r220 - r240 = r239 >= 0 :: signed - if not r240 goto L206 (error at coroutine:-1) else goto L201 :: bool -L201: - r241 = truncate r239: i32 to builtins.bool - if r241 goto L204 else goto L202 :: bool -L202: - CPy_Reraise() - if not 0 goto L206 else goto L499 :: bool -L203: +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_gen + r1, r2, r3 :: bool + r4 :: dank_mids.helpers._gather.first_completed_gen +L0: + if is_error(cancel) goto L1 else goto L2 +L1: + cancel = 0 +L2: + r0 = first_completed_gen() + if is_error(r0) goto L6 (error at first_completed:74) else goto L3 +L3: + r0.__mypyc_next_label__ = 0 + inc_ref fs + r0.__mypyc_generator_attribute__fs = fs; r2 = is_error + if not r2 goto L7 (error at first_completed:74) else goto L4 :: bool +L4: + r0.__mypyc_generator_attribute__cancel = cancel; r3 = is_error + if not r3 goto L7 (error at first_completed:74) else goto L5 :: bool +L5: + return r0 +L6: + r4 = :: dank_mids.helpers._gather.first_completed_gen + return r4 +L7: + dec_ref r0 + 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 :: 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 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_gen___23.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 + type, value, traceback, arg :: object + stop_iter_ptr :: object_ptr + r0, r1 :: object + r2 :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_env + r3 :: i32 + 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 :: str + r58 :: int + r59 :: bool + r60 :: str + r61 :: int + r62 :: object + r63, r64, r65 :: str + r66 :: int + r67 :: object + r68, r69 :: str + r70 :: object + r71 :: str + r72 :: object + r73 :: object[1] + r74 :: object_ptr + r75 :: object + r76 :: tuple[object, object, object] + r77 :: bit + r78 :: str + r79 :: union[int, str, bytes, None] + r80 :: str + r81 :: union[int, None] + r82 :: str + r83 :: union[dict, None] + r84 :: dict + r85 :: bool + r86 :: dict + r87 :: bool + r88 :: dict + r89, r90 :: bool + r91 :: dict + r92 :: native_int + r93 :: bool + r94 :: object + r95 :: bool + r96 :: object + r97 :: short_int + r98 :: tuple[bool, short_int, object, object] + r99 :: short_int + r100, r101 :: bool + r102, r103 :: object + r104 :: str + r105 :: union[int, str, bytes, None, dict] + r106, r107 :: bool + r108 :: union[int, str, bytes, None, dict] + r109 :: object + r110 :: bit + r111 :: str + r112 :: union[int, str, bytes, None, dict] + r113 :: union[int, str, bytes, dict] + r114 :: dict + r115 :: i32 + r116 :: bit + r117 :: dict + r118 :: native_int + r119, r120 :: bit + r121 :: dict + r122 :: bool + r123 :: object + r124 :: tuple + r125 :: dict + r126 :: str + r127 :: object + r128 :: dict + r129, r130 :: object + r131 :: bool + r132, r133, r134, r135, r136 :: object + r137 :: bool + r138 :: object + r139 :: bool + r140 :: object + r141 :: bit + r142 :: tuple[object, object, object] + r143 :: bool + r144 :: object_ptr + r145 :: object + r146 :: bool + r147, r148, r149 :: tuple[object, object, object] + r150 :: bit + r151, r152, r153 :: object + r154 :: bool + r155, r156 :: bit + r157 :: bool + r158 :: object +L0: + r0 = :: object + r1 = r0 + r2 = __mypyc_self__.__mypyc_env__ + if is_error(r2) goto L142 (error at coroutine:23) else goto L1 +L1: + r3 = r2.__mypyc_next_label__ + r4 = r2.__mypyc_env__ + if is_error(r4) goto L143 (error at coroutine:23) else goto L137 +L2: + r5 = load_address _Py_NoneStruct + r6 = type != r5 + if r6 goto L144 else goto L5 :: bool +L3: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L141 (error at coroutine:23) else goto L4 :: bool +L4: unreachable -L204: - r242 = r24.__mypyc_temp__14 - if is_error(r242) goto L210 (error at coroutine:-1) else goto L205 -L205: - CPy_RestoreExcInfo(r242) - dec_ref r242 - goto L209 -L206: - r243 = r24.__mypyc_temp__14 - if is_error(r243) goto L210 (error at coroutine:-1) else goto L207 -L207: - CPy_RestoreExcInfo(r243) - dec_ref r243 - r244 = CPy_KeepPropagating() - if not r244 goto L210 else goto L500 :: bool -L208: - unreachable -L209: - r245 = :: tuple[object, object, object] - r13 = r245 - goto L211 -L210: - r246 = CPy_CatchError() - r13 = r246 -L211: - r247 = r24.__mypyc_temp__9 - if is_error(r247) goto L247 (error at coroutine:-1) else goto L212 -L212: - if r247 goto L213 else goto L244 :: bool -L213: - r248 = load_address _Py_NoneStruct - r249 = r24.__mypyc_temp__7 - if is_error(r249) goto L247 (error at coroutine:-1) else goto L214 -L214: - r250 = r24.__mypyc_temp__8 - if is_error(r250) goto L501 (error at coroutine:-1) else goto L215 -L215: - r251 = [r250, r248, r248, r248] - r252 = load_address r251 - r253 = PyObject_Vectorcall(r249, r252, 4, 0) - dec_ref r249 - if is_error(r253) goto L502 (error at coroutine:158) else goto L216 -L216: - dec_ref r250 - r254 = CPy_GetCoro(r253) - dec_ref r253 - if is_error(r254) goto L247 (error at coroutine:158) else goto L217 -L217: - r24.__mypyc_temp__17 = r254; r255 = is_error - if not r255 goto L247 (error at coroutine:-1) else goto L218 :: bool -L218: - r256 = r24.__mypyc_temp__17 - if is_error(r256) goto L247 (error at coroutine:-1) else goto L219 -L219: - r257 = CPyIter_Next(r256) - dec_ref r256 - if is_error(r257) goto L220 else goto L503 -L220: - r258 = CPy_FetchStopIterationValue() - if is_error(r258) goto L247 (error at coroutine:158) else goto L221 -L221: - r259 = r258 - dec_ref r259 - r260 = :: object - r24.__mypyc_temp__17 = r260; r261 = is_error - if not r261 goto L247 (error at coroutine:158) else goto L244 :: bool -L222: - r262 = r257 -L223: - r24.__mypyc_next_label__ = 6 - dec_ref r24 - return r262 -L224: - r264 = load_address _Py_NoneStruct - r265 = type != r264 - if r265 goto L225 else goto L504 :: bool -L225: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L228 (error at coroutine:158) else goto L505 :: bool -L226: - unreachable -L227: - inc_ref arg - goto L239 -L228: - r266 = CPy_CatchError() - r24.__mypyc_temp__18 = r266; r267 = is_error - if not r267 goto L506 (error at coroutine:-1) else goto L229 :: bool -L229: - r268 = load_address r11 - r269 = r24.__mypyc_temp__17 - if is_error(r269) goto L506 (error at coroutine:-1) else goto L230 -L230: - r270 = CPy_YieldFromErrorHandle(r269, r268) - dec_ref r269 - if is_error(r270) goto L506 (error at coroutine:158) else goto L231 -L231: - if r270 goto L234 else goto L232 :: bool -L232: - r262 = r11 - r271 = r24.__mypyc_temp__18 - if is_error(r271) goto L507 (error at coroutine:-1) else goto L508 -L233: - CPy_RestoreExcInfo(r271) - dec_ref r271 - goto L223 -L234: - r259 = r11 - dec_ref r259 - r272 = r24.__mypyc_temp__18 - if is_error(r272) goto L236 (error at coroutine:-1) else goto L235 -L235: - CPy_RestoreExcInfo(r272) - dec_ref r272 - goto L244 -L236: - r273 = r24.__mypyc_temp__18 - if is_error(r273) goto L247 (error at coroutine:-1) else goto L237 -L237: - CPy_RestoreExcInfo(r273) - dec_ref r273 - r274 = CPy_KeepPropagating() - if not r274 goto L247 else goto L509 :: bool -L238: +L5: + r7 = r2.__mypyc_generator_attribute__self + if is_error(r7) goto L9 (error at coroutine:44) else goto L6 +L6: + r8 = r2.__mypyc_generator_attribute__args + if is_error(r8) goto L145 (error at coroutine:44) else goto L7 +L7: + r9 = '_get_fn_from_args' + r10 = [r7, r8] + r11 = load_address r10 + r12 = PyObject_VectorcallMethod(r9, r11, 9223372036854775810, 0) + if is_error(r12) goto L146 (error at coroutine:44) else goto L8 +L8: + dec_ref r7 + dec_ref r8 + r2.__mypyc_generator_attribute__fn = r12; r13 = is_error + if not r13 goto L9 (error at coroutine:44) else goto L147 :: bool +L9: + r14 = CPy_CatchError() + r2.__mypyc_temp__0 = r14; r15 = is_error + if not r15 goto L148 (error at coroutine:-1) else goto L10 :: bool +L10: + r16 = builtins :: module + r17 = 'ValueError' + r18 = CPyObject_GetAttr(r16, r17) + if is_error(r18) goto L148 (error at coroutine:45) else goto L11 +L11: + r19 = CPy_ExceptionMatches(r18) + dec_ref r18 + if r19 goto L12 else goto L149 :: bool +L12: + r20 = CPy_GetExcValue() + r2.__mypyc_generator_attribute__e = r20; r21 = is_error + if not r21 goto L148 (error at coroutine:45) else goto L13 :: bool +L13: + r22 = r2.__mypyc_generator_attribute__e + if is_error(r22) goto L148 (error at coroutine:46) else goto L14 +L14: + r23 = PyObject_Str(r22) + dec_ref r22 + if is_error(r23) goto L148 (error at coroutine:46) else goto L15 +L15: + r2.__mypyc_generator_attribute__exc_str = r23; r24 = is_error + if not r24 goto L148 (error at coroutine:46) else goto L16 :: bool +L16: + r25 = "Contract has more than one function '." + r26 = r4.call + if is_error(r26) goto L148 (error at coroutine:48) else goto L17 +L17: + r27 = '_name' + r28 = CPyObject_GetAttr(r26, r27) + dec_ref r26 + if is_error(r28) goto L148 (error at coroutine:48) else goto L18 +L18: + r29 = PyObject_Str(r28) + dec_ref r28 + if is_error(r29) goto L148 (error at coroutine:48) else goto L19 +L19: + r30 = CPyStr_Build(2, r25, r29) + dec_ref r29 + if is_error(r30) goto L148 (error at coroutine:48) else goto L20 +L20: + r31 = 'You must explicitly declare which function you are calling, e.g. .' + r32 = r4.call + dec_ref r4 + if is_error(r32) goto L150 (error at coroutine:49) else goto L21 +L21: + r33 = '_name' + r34 = CPyObject_GetAttr(r32, r33) + dec_ref r32 + if is_error(r34) goto L150 (error at coroutine:49) else goto L22 +L22: + r35 = PyObject_Str(r34) + dec_ref r34 + if is_error(r35) goto L150 (error at coroutine:49) else goto L23 +L23: + r36 = CPyStr_Build(2, r31, r35) + dec_ref r35 + if is_error(r36) goto L150 (error at coroutine:49) else goto L24 +L24: + r37 = (r30, r36) + r2.__mypyc_generator_attribute__match_on = r37; r38 = is_error + if not r38 goto L60 (error at coroutine:47) else goto L25 :: bool +L25: + r39 = 1 + r40 = r2.__mypyc_generator_attribute__match_on + if is_error(r40) goto L60 (error at coroutine:51) else goto L26 +L26: + inc_ref r40 + r41 = box(tuple[str, str], r40) + r42 = PyObject_GetIter(r41) + dec_ref r41 + if is_error(r42) goto L151 (error at coroutine:51) else goto L27 +L27: + r2.__mypyc_temp__1 = r40; r43 = is_error + if not r43 goto L152 (error at coroutine:-1) else goto L28 :: bool +L28: + r2.__mypyc_temp__2 = r42; r44 = is_error + if not r44 goto L60 (error at coroutine:-1) else goto L29 :: bool +L29: + r45 = r2.__mypyc_temp__2 + if is_error(r45) goto L60 (error at coroutine:51) else goto L30 +L30: + r46 = PyIter_Next(r45) + dec_ref r45 + if is_error(r46) goto L38 else goto L31 +L31: + r47 = cast(str, r46) + if is_error(r47) goto L60 (error at coroutine:51) else goto L32 +L32: + r2.__mypyc_generator_attribute__s = r47; r48 = is_error + if not r48 goto L60 (error at coroutine:51) else goto L33 :: bool +L33: + r49 = r2.__mypyc_generator_attribute__s + if is_error(r49) goto L60 (error at coroutine:51) else goto L34 +L34: + r50 = r2.__mypyc_generator_attribute__exc_str + if is_error(r50) goto L153 (error at coroutine:51) else goto L35 +L35: + r51 = PyUnicode_Contains(r50, r49) + dec_ref r50 + dec_ref r49 + r52 = r51 >= 0 :: signed + if not r52 goto L60 (error at coroutine:51) else goto L36 :: bool +L36: + r53 = truncate r51: i32 to builtins.bool + r54 = r53 ^ 1 + if r54 goto L37 else goto L29 :: bool +L37: + r39 = 0 + goto L39 +L38: + r55 = CPy_NoErrOccurred() + if not r55 goto L60 (error at coroutine:51) else goto L39 :: bool +L39: + if r39 goto L40 else goto L56 :: bool +L40: + r56 = r2.__mypyc_generator_attribute__exc_str + if is_error(r56) goto L60 (error at coroutine:52) else goto L41 +L41: + r57 = '(*args)' + r58 = CPyStr_Find(r56, r57, 0, 1) + dec_ref r56 + if is_error(r58) goto L60 (error at coroutine:52) else goto L42 +L42: + r2.__mypyc_generator_attribute__breakpoint = r58; r59 = is_error + if not r59 goto L60 (error at coroutine:52) else goto L43 :: bool +L43: + r60 = r2.__mypyc_generator_attribute__exc_str + if is_error(r60) goto L60 (error at coroutine:53) else goto L44 +L44: + r61 = r2.__mypyc_generator_attribute__breakpoint + if is_error(r61) goto L154 (error at coroutine:53) else goto L45 +L45: + r62 = CPyStr_GetSlice(r60, 0, r61) + dec_ref r60 + dec_ref r61 :: int + if is_error(r62) goto L60 (error at coroutine:53) else goto L46 +L46: + r63 = cast(str, r62) + if is_error(r63) goto L60 (error at coroutine:53) else goto L47 +L47: + r64 = '.coroutine' + r65 = r2.__mypyc_generator_attribute__exc_str + if is_error(r65) goto L155 (error at coroutine:53) else goto L48 +L48: + r66 = r2.__mypyc_generator_attribute__breakpoint + if is_error(r66) goto L156 (error at coroutine:53) else goto L49 +L49: + r67 = CPyStr_GetSlice(r65, r66, 9223372036854775806) + dec_ref r65 + dec_ref r66 :: int + if is_error(r67) goto L155 (error at coroutine:53) else goto L50 +L50: + r68 = cast(str, r67) + if is_error(r68) goto L155 (error at coroutine:53) else goto L51 +L51: + r69 = CPyStr_Build(3, r63, r64, r68) + dec_ref r63 + dec_ref r68 + if is_error(r69) goto L60 (error at coroutine:53) else goto L52 +L52: + r70 = builtins :: module + r71 = 'ValueError' + r72 = CPyObject_GetAttr(r70, r71) + if is_error(r72) goto L157 (error at coroutine:53) else goto L53 +L53: + r73 = [r69] + r74 = load_address r73 + r75 = PyObject_Vectorcall(r72, r74, 1, 0) + dec_ref r72 + if is_error(r75) goto L157 (error at coroutine:53) else goto L54 +L54: + dec_ref r69 + CPy_Raise(r75) + dec_ref r75 + if not 0 goto L60 (error at coroutine:53) else goto L158 :: bool +L55: unreachable -L239: - r275 = r24.__mypyc_temp__17 - if is_error(r275) goto L510 (error at coroutine:-1) else goto L240 -L240: - r276 = CPyIter_Send(r275, arg) - dec_ref r275 - dec_ref arg - if is_error(r276) goto L242 else goto L511 -L241: - r262 = r276 - goto L223 -L242: - r277 = CPy_FetchStopIterationValue() - if is_error(r277) goto L247 (error at coroutine:158) else goto L243 -L243: - r259 = r277 - dec_ref r259 -L244: - if is_error(r13) goto L293 else goto L245 -L245: +L56: CPy_Reraise() - if not 0 goto L247 else goto L512 :: bool -L246: - unreachable -L247: - if is_error(r13) goto L249 else goto L248 -L248: - CPy_RestoreExcInfo(r13) - xdec_ref r13 -L249: - r278 = CPy_KeepPropagating() - if not r278 goto L251 else goto L513 :: bool -L250: - unreachable -L251: - r279 = CPy_CatchError() - r24.__mypyc_temp__19 = r279; r280 = is_error - if not r280 goto L290 (error at coroutine:-1) else goto L252 :: bool -L252: - r24.__mypyc_temp__2 = 0; r281 = is_error - if not r281 goto L290 (error at coroutine:156) else goto L253 :: bool -L253: - r282 = CPy_GetExcInfo() - r283 = r282[0] - r284 = r282[1] - r285 = r282[2] - dec_ref r282 - r286 = r24.__mypyc_temp__0 - if is_error(r286) goto L514 (error at coroutine:-1) else goto L254 -L254: - r287 = r24.__mypyc_temp__1 - if is_error(r287) goto L515 (error at coroutine:-1) else goto L255 -L255: - r288 = [r287, r283, r284, r285] - r289 = load_address r288 - r290 = PyObject_Vectorcall(r286, r289, 4, 0) - dec_ref r286 - if is_error(r290) goto L516 (error at coroutine:156) else goto L256 -L256: - dec_ref r287 - dec_ref r283 - dec_ref r284 - dec_ref r285 - r291 = CPy_GetCoro(r290) - dec_ref r290 - if is_error(r291) goto L290 (error at coroutine:156) else goto L257 -L257: - r24.__mypyc_temp__20 = r291; r292 = is_error - if not r292 goto L290 (error at coroutine:-1) else goto L258 :: bool -L258: - r293 = r24.__mypyc_temp__20 - if is_error(r293) goto L290 (error at coroutine:-1) else goto L259 -L259: - r294 = CPyIter_Next(r293) - dec_ref r293 - if is_error(r294) goto L260 else goto L262 -L260: - r295 = CPy_FetchStopIterationValue() - if is_error(r295) goto L290 (error at coroutine:156) else goto L261 -L261: - r296 = r295 - r297 = :: object - r24.__mypyc_temp__20 = r297; r298 = is_error - if not r298 goto L517 (error at coroutine:156) else goto L284 :: bool -L262: - r299 = r294 -L263: - r24.__mypyc_next_label__ = 7 - dec_ref r24 - return r299 -L264: - r301 = load_address _Py_NoneStruct - r302 = type != r301 - if r302 goto L265 else goto L518 :: bool -L265: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L268 (error at coroutine:156) else goto L519 :: bool -L266: - unreachable -L267: - inc_ref arg - goto L279 -L268: - r303 = CPy_CatchError() - r24.__mypyc_temp__21 = r303; r304 = is_error - if not r304 goto L520 (error at coroutine:-1) else goto L269 :: bool -L269: - r305 = load_address r15 - r306 = r24.__mypyc_temp__20 - if is_error(r306) goto L520 (error at coroutine:-1) else goto L270 -L270: - r307 = CPy_YieldFromErrorHandle(r306, r305) - dec_ref r306 - if is_error(r307) goto L520 (error at coroutine:156) else goto L271 -L271: - if r307 goto L274 else goto L272 :: bool -L272: - r299 = r15 - r308 = r24.__mypyc_temp__21 - if is_error(r308) goto L521 (error at coroutine:-1) else goto L273 -L273: - CPy_RestoreExcInfo(r308) - dec_ref r308 - goto L263 -L274: - r296 = r15 - r309 = r24.__mypyc_temp__21 - if is_error(r309) goto L522 (error at coroutine:-1) else goto L275 -L275: - CPy_RestoreExcInfo(r309) - dec_ref r309 - goto L284 -L276: - r310 = r24.__mypyc_temp__21 - if is_error(r310) goto L290 (error at coroutine:-1) else goto L277 -L277: - CPy_RestoreExcInfo(r310) - dec_ref r310 - r311 = CPy_KeepPropagating() - if not r311 goto L290 else goto L523 :: bool -L278: + if not 0 goto L60 else goto L159 :: bool +L57: unreachable -L279: - r312 = r24.__mypyc_temp__20 - if is_error(r312) goto L524 (error at coroutine:-1) else goto L280 -L280: - r313 = CPyIter_Send(r312, arg) - dec_ref r312 - dec_ref arg - if is_error(r313) goto L282 else goto L281 -L281: - r299 = r313 - goto L263 -L282: - r314 = CPy_FetchStopIterationValue() - if is_error(r314) goto L290 (error at coroutine:156) else goto L283 -L283: - r296 = r314 -L284: - r315 = PyObject_IsTrue(r296) - dec_ref r296 - r316 = r315 >= 0 :: signed - if not r316 goto L290 (error at coroutine:-1) else goto L285 :: bool -L285: - r317 = truncate r315: i32 to builtins.bool - if r317 goto L288 else goto L286 :: bool -L286: +L58: CPy_Reraise() - if not 0 goto L290 else goto L525 :: bool -L287: - unreachable -L288: - r318 = r24.__mypyc_temp__19 - if is_error(r318) goto L294 (error at coroutine:-1) else goto L289 -L289: - CPy_RestoreExcInfo(r318) - dec_ref r318 - goto L293 -L290: - r319 = r24.__mypyc_temp__19 - if is_error(r319) goto L294 (error at coroutine:-1) else goto L291 -L291: - CPy_RestoreExcInfo(r319) - dec_ref r319 - r320 = CPy_KeepPropagating() - if not r320 goto L294 else goto L526 :: bool -L292: + if not 0 goto L60 else goto L160 :: bool +L59: unreachable -L293: - r321 = :: tuple[object, object, object] - r19 = r321 - goto L295 -L294: - r322 = CPy_CatchError() - r19 = r322 -L295: - r323 = r24.__mypyc_temp__2 - if is_error(r323) goto L527 (error at coroutine:-1) else goto L296 -L296: - if r323 goto L297 else goto L328 :: bool -L297: - r324 = load_address _Py_NoneStruct - r325 = r24.__mypyc_temp__0 - if is_error(r325) goto L527 (error at coroutine:-1) else goto L298 -L298: - r326 = r24.__mypyc_temp__1 - if is_error(r326) goto L528 (error at coroutine:-1) else goto L299 -L299: - r327 = [r326, r324, r324, r324] - r328 = load_address r327 - r329 = PyObject_Vectorcall(r325, r328, 4, 0) - dec_ref r325 - if is_error(r329) goto L529 (error at coroutine:156) else goto L300 -L300: - dec_ref r326 - r330 = CPy_GetCoro(r329) - dec_ref r329 - if is_error(r330) goto L527 (error at coroutine:156) else goto L301 -L301: - r24.__mypyc_temp__22 = r330; r331 = is_error - if not r331 goto L527 (error at coroutine:-1) else goto L302 :: bool -L302: - r332 = r24.__mypyc_temp__22 - if is_error(r332) goto L527 (error at coroutine:-1) else goto L303 -L303: - r333 = CPyIter_Next(r332) - dec_ref r332 - if is_error(r333) goto L304 else goto L530 -L304: - r334 = CPy_FetchStopIterationValue() - if is_error(r334) goto L527 (error at coroutine:156) else goto L305 -L305: - r335 = r334 - dec_ref r335 - r336 = :: object - r24.__mypyc_temp__22 = r336; r337 = is_error - if not r337 goto L527 (error at coroutine:156) else goto L328 :: bool -L306: - r338 = r333 -L307: - r24.__mypyc_next_label__ = 8 - dec_ref r24 - return r338 -L308: - r340 = load_address _Py_NoneStruct - r341 = type != r340 - if r341 goto L309 else goto L531 :: bool -L309: +L60: + r76 = r2.__mypyc_temp__0 + dec_ref r2 + if is_error(r76) goto L141 (error at coroutine:-1) else goto L61 +L61: + CPy_RestoreExcInfo(r76) + dec_ref r76 + r77 = CPy_KeepPropagating() + if not r77 goto L141 else goto L62 :: bool +L62: + unreachable +L63: + r78 = 'block_identifier' + r79 = r2.__mypyc_generator_attribute__block_identifier + if is_error(r79) goto L161 (error at coroutine:56) else goto L64 +L64: + r80 = 'decimals' + r81 = r2.__mypyc_generator_attribute__decimals + if is_error(r81) goto L162 (error at coroutine:56) else goto L65 +L65: + r82 = 'override' + r83 = r2.__mypyc_generator_attribute__override + if is_error(r83) goto L163 (error at coroutine:56) else goto L66 +L66: + r84 = CPyDict_Build(3, r78, r79, r80, r81, r82, r83) + dec_ref r79 + dec_ref r81 + dec_ref r83 + if is_error(r84) goto L161 (error at coroutine:56) else goto L67 +L67: + r2.__mypyc_generator_attribute__kwargs = r84; r85 = is_error + if not r85 goto L161 (error at coroutine:56) else goto L68 :: bool +L68: + r86 = PyDict_New() + if is_error(r86) goto L161 (error at coroutine:57) else goto L69 +L69: + r2.__mypyc_temp__3 = r86; r87 = is_error + if not r87 goto L161 (error at coroutine:-1) else goto L70 :: bool +L70: + r88 = r2.__mypyc_generator_attribute__kwargs + if is_error(r88) goto L161 (error at coroutine:57) else goto L71 +L71: + inc_ref r88 + r2.__mypyc_temp__4 = r88; r89 = is_error + if not r89 goto L164 (error at coroutine:-1) else goto L72 :: bool +L72: + r2.__mypyc_temp__5 = 0; r90 = is_error + if not r90 goto L164 (error at coroutine:-1) else goto L73 :: bool +L73: + r91 = r2.__mypyc_temp__4 + if is_error(r91) goto L164 (error at coroutine:57) else goto L74 +L74: + r92 = PyDict_Size(r91) + dec_ref r91 + r2.__mypyc_temp__6 = r92; r93 = is_error + if not r93 goto L164 (error at coroutine:-1) else goto L75 :: bool +L75: + r94 = CPyDict_GetItemsIter(r88) + dec_ref r88 + if is_error(r94) goto L161 (error at coroutine:57) else goto L76 +L76: + r2.__mypyc_temp__7 = r94; r95 = is_error + if not r95 goto L161 (error at coroutine:-1) else goto L77 :: bool +L77: + r96 = r2.__mypyc_temp__7 + if is_error(r96) goto L161 (error at coroutine:57) else goto L78 +L78: + r97 = r2.__mypyc_temp__5 + if is_error(r97) goto L165 (error at coroutine:57) else goto L79 +L79: + r98 = CPyDict_NextItem(r96, r97) + dec_ref r96 + r99 = r98[1] + r2.__mypyc_temp__5 = r99; r100 = is_error + if not r100 goto L166 (error at coroutine:57) else goto L80 :: bool +L80: + r101 = r98[0] + if r101 goto L81 else goto L167 :: bool +L81: + r102 = r98[2] + r103 = r98[3] + dec_ref r98 + r104 = cast(str, r102) + if is_error(r104) goto L168 (error at coroutine:57) else goto L82 +L82: + r105 = cast(union[int, str, bytes, None, dict], r103) + if is_error(r105) goto L169 (error at coroutine:57) else goto L83 +L83: + r2.__mypyc_generator_attribute__k = r104; r106 = is_error + if not r106 goto L170 (error at coroutine:57) else goto L84 :: bool +L84: + r2.__mypyc_generator_attribute__v = r105; r107 = is_error + if not r107 goto L161 (error at coroutine:57) else goto L85 :: bool +L85: + r108 = r2.__mypyc_generator_attribute__v + if is_error(r108) goto L161 (error at coroutine:57) else goto L86 +L86: + r109 = load_address _Py_NoneStruct + r110 = r108 != r109 + dec_ref r108 + if r110 goto L87 else goto L92 :: bool +L87: + r111 = r2.__mypyc_generator_attribute__k + if is_error(r111) goto L161 (error at coroutine:57) else goto L88 +L88: + r112 = r2.__mypyc_generator_attribute__v + if is_error(r112) goto L171 (error at coroutine:57) else goto L89 +L89: + r113 = cast(union[int, str, bytes, dict], r112) + if is_error(r113) goto L171 (error at coroutine:57) else goto L90 +L90: + r114 = r2.__mypyc_temp__3 + if is_error(r114) goto L172 (error at coroutine:-1) else goto L91 +L91: + r115 = PyDict_SetItem(r114, r111, r113) + dec_ref r114 + dec_ref r111 + dec_ref r113 + r116 = r115 >= 0 :: signed + if not r116 goto L161 (error at coroutine:57) else goto L92 :: bool +L92: + r117 = r2.__mypyc_temp__4 + if is_error(r117) goto L161 (error at coroutine:57) else goto L93 +L93: + r118 = r2.__mypyc_temp__6 + if is_error(r118) goto L173 (error at coroutine:57) else goto L94 +L94: + r119 = CPyDict_CheckSize(r117, r118) + dec_ref r117 + if not r119 goto L161 (error at coroutine:57) else goto L77 :: bool +L95: + r120 = CPy_NoErrOccurred() + if not r120 goto L161 (error at coroutine:57) else goto L96 :: bool +L96: + r121 = r2.__mypyc_temp__3 + if is_error(r121) goto L161 (error at coroutine:-1) else goto L97 +L97: + r2.__mypyc_generator_attribute__kwargs = r121; r122 = is_error + if not r122 goto L161 (error at coroutine:57) else goto L98 :: bool +L98: + r123 = r2.__mypyc_generator_attribute__fn + if is_error(r123) goto L161 (error at coroutine:58) else goto L99 +L99: + r124 = r2.__mypyc_generator_attribute__args + if is_error(r124) goto L174 (error at coroutine:58) else goto L100 +L100: + r125 = r2.__mypyc_generator_attribute__kwargs + if is_error(r125) goto L175 (error at coroutine:58) else goto L101 +L101: + r126 = 'coroutine' + r127 = CPyObject_GetAttr(r123, r126) + dec_ref r123 + if is_error(r127) goto L176 (error at coroutine:58) else goto L102 +L102: + r128 = PyDict_Copy(r125) + dec_ref r125 + if is_error(r128) goto L177 (error at coroutine:58) else goto L103 +L103: + r129 = PyObject_Call(r127, r124, r128) + dec_ref r127 + dec_ref r124 + dec_ref r128 + if is_error(r129) goto L161 (error at coroutine:58) else goto L104 +L104: + r130 = CPy_GetCoro(r129) + dec_ref r129 + if is_error(r130) goto L161 (error at coroutine:58) else goto L105 +L105: + r2.__mypyc_temp__8 = r130; r131 = is_error + if not r131 goto L161 (error at coroutine:-1) else goto L106 :: bool +L106: + r132 = r2.__mypyc_temp__8 + if is_error(r132) goto L161 (error at coroutine:-1) else goto L107 +L107: + r133 = CPyIter_Next(r132) + dec_ref r132 + if is_error(r133) goto L108 else goto L110 +L108: + r134 = CPy_FetchStopIterationValue() + if is_error(r134) goto L161 (error at coroutine:58) else goto L109 +L109: + r135 = r134 + r136 = :: object + r2.__mypyc_temp__8 = r136; r137 = is_error + if not r137 goto L178 (error at coroutine:58) else goto L132 :: bool +L110: + r138 = r133 +L111: + r2.__mypyc_next_label__ = 1 + dec_ref r2 + return r138 +L112: + r140 = load_address _Py_NoneStruct + r141 = type != r140 + if r141 goto L113 else goto L179 :: bool +L113: CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L312 (error at coroutine:156) else goto L532 :: bool -L310: + if not 0 goto L116 (error at coroutine:58) else goto L180 :: bool +L114: unreachable -L311: +L115: inc_ref arg - goto L323 -L312: - r342 = CPy_CatchError() - r24.__mypyc_temp__23 = r342; r343 = is_error - if not r343 goto L533 (error at coroutine:-1) else goto L313 :: bool -L313: - r344 = load_address r17 - r345 = r24.__mypyc_temp__22 - if is_error(r345) goto L533 (error at coroutine:-1) else goto L314 -L314: - r346 = CPy_YieldFromErrorHandle(r345, r344) - dec_ref r345 - if is_error(r346) goto L533 (error at coroutine:156) else goto L315 -L315: - if r346 goto L318 else goto L316 :: bool -L316: - r338 = r17 - r347 = r24.__mypyc_temp__23 - if is_error(r347) goto L534 (error at coroutine:-1) else goto L535 -L317: - CPy_RestoreExcInfo(r347) - dec_ref r347 - goto L307 -L318: - r335 = r17 - dec_ref r335 - r348 = r24.__mypyc_temp__23 - if is_error(r348) goto L320 (error at coroutine:-1) else goto L319 -L319: - CPy_RestoreExcInfo(r348) - dec_ref r348 - goto L328 -L320: - r349 = r24.__mypyc_temp__23 - dec_ref r24 - if is_error(r349) goto L331 (error at coroutine:-1) else goto L321 -L321: - CPy_RestoreExcInfo(r349) - dec_ref r349 - r350 = CPy_KeepPropagating() - if not r350 goto L331 else goto L536 :: bool -L322: + goto L127 +L116: + r142 = CPy_CatchError() + r2.__mypyc_temp__9 = r142; r143 = is_error + if not r143 goto L181 (error at coroutine:-1) else goto L117 :: bool +L117: + r144 = load_address r1 + r145 = r2.__mypyc_temp__8 + if is_error(r145) goto L181 (error at coroutine:-1) else goto L118 +L118: + r146 = CPy_YieldFromErrorHandle(r145, r144) + dec_ref r145 + if is_error(r146) goto L181 (error at coroutine:58) else goto L119 +L119: + if r146 goto L122 else goto L120 :: bool +L120: + r138 = r1 + r147 = r2.__mypyc_temp__9 + if is_error(r147) goto L182 (error at coroutine:-1) else goto L121 +L121: + CPy_RestoreExcInfo(r147) + dec_ref r147 + goto L111 +L122: + r135 = r1 + r148 = r2.__mypyc_temp__9 + if is_error(r148) goto L183 (error at coroutine:-1) else goto L123 +L123: + CPy_RestoreExcInfo(r148) + dec_ref r148 + goto L132 +L124: + r149 = r2.__mypyc_temp__9 + dec_ref r2 + if is_error(r149) goto L141 (error at coroutine:-1) else goto L125 +L125: + CPy_RestoreExcInfo(r149) + dec_ref r149 + r150 = CPy_KeepPropagating() + if not r150 goto L141 else goto L126 :: bool +L126: unreachable -L323: - r351 = r24.__mypyc_temp__22 - if is_error(r351) goto L537 (error at coroutine:-1) else goto L324 -L324: - r352 = CPyIter_Send(r351, arg) - dec_ref r351 +L127: + r151 = r2.__mypyc_temp__8 + if is_error(r151) goto L184 (error at coroutine:-1) else goto L128 +L128: + r152 = CPyIter_Send(r151, arg) + dec_ref r151 dec_ref arg - if is_error(r352) goto L326 else goto L538 -L325: - r338 = r352 - goto L307 -L326: - r353 = CPy_FetchStopIterationValue() - if is_error(r353) goto L527 (error at coroutine:156) else goto L327 -L327: - r335 = r353 - dec_ref r335 -L328: - if is_error(r19) goto L335 else goto L539 -L329: - CPy_Reraise() - if not 0 goto L331 else goto L540 :: bool -L330: - unreachable -L331: - if is_error(r19) goto L333 else goto L332 -L332: - CPy_RestoreExcInfo(r19) - xdec_ref r19 -L333: - r354 = CPy_KeepPropagating() - if not r354 goto L421 else goto L334 :: bool -L334: - unreachable -L335: - r355 = r24.__mypyc_generator_attribute__self - if is_error(r355) goto L367 (error at coroutine:161) else goto L336 -L336: - r356 = r24.__mypyc_generator_attribute__output - if is_error(r356) goto L541 (error at coroutine:161) else goto L337 -L337: - r357 = cast(bytes, r356) - if is_error(r357) goto L541 (error at coroutine:161) else goto L338 -L338: - r358 = decode_output(r355, r357) - dec_ref r355 - dec_ref r357 - if is_error(r358) goto L367 (error at coroutine:161) else goto L339 -L339: - r24.__mypyc_temp__24 = r358; r359 = is_error - if not r359 goto L367 (error at coroutine:-1) else goto L340 :: bool -L340: - r360 = r24.__mypyc_temp__24 - if is_error(r360) goto L367 (error at coroutine:-1) else goto L341 -L341: - r361 = load_address _Py_NoneStruct - r362 = :: object - r21 = r362 - r363 = load_address r21 - r364 = r360.__mypyc_generator_helper__(r361, r361, r361, r361, r363) - dec_ref r360 - if is_error(r364) goto L342 else goto L542 -L342: - r365 = r21 != 0 - if not r365 goto L543 (error at coroutine:-1) else goto L343 :: bool -L343: - r366 = r21 - r367 = :: dank_mids.brownie_patch.call.decode_output_gen - r24.__mypyc_temp__24 = r367; r368 = is_error - if not r368 goto L544 (error at coroutine:161) else goto L366 :: bool -L344: - r369 = r364 -L345: - r24.__mypyc_next_label__ = 9 - dec_ref r24 - return r369 -L346: - r371 = load_address _Py_NoneStruct - r372 = type != r371 - if r372 goto L347 else goto L545 :: bool -L347: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L350 (error at coroutine:161) else goto L546 :: bool -L348: + if is_error(r152) goto L130 else goto L129 +L129: + r138 = r152 + goto L111 +L130: + r153 = CPy_FetchStopIterationValue() + if is_error(r153) goto L161 (error at coroutine:58) else goto L131 +L131: + r135 = r153 +L132: + r2.__mypyc_next_label__ = -1 + dec_ref r2 +L133: + if is_error(stop_iter_ptr) goto L134 else goto L136 +L134: + CPyGen_SetStopIterationValue(r135) + dec_ref r135 + if not 0 goto L141 else goto L135 :: bool +L135: unreachable -L349: - inc_ref arg - goto L361 -L350: - r373 = CPy_CatchError() - r24.__mypyc_temp__25 = r373; r374 = is_error - if not r374 goto L547 (error at coroutine:-1) else goto L351 :: bool -L351: - r375 = load_address r23 - r376 = r24.__mypyc_temp__24 - if is_error(r376) goto L547 (error at coroutine:-1) else goto L352 -L352: - r377 = CPy_YieldFromErrorHandle(r376, r375) - dec_ref r376 - if is_error(r377) goto L547 (error at coroutine:161) else goto L353 -L353: - if r377 goto L356 else goto L354 :: bool -L354: - r369 = r23 - r378 = r24.__mypyc_temp__25 - if is_error(r378) goto L548 (error at coroutine:-1) else goto L355 -L355: - CPy_RestoreExcInfo(r378) - dec_ref r378 - goto L345 -L356: - r366 = r23 - r379 = r24.__mypyc_temp__25 - if is_error(r379) goto L549 (error at coroutine:-1) else goto L357 -L357: - CPy_RestoreExcInfo(r379) - dec_ref r379 - goto L366 -L358: - r380 = r24.__mypyc_temp__25 - if is_error(r380) goto L367 (error at coroutine:-1) else goto L359 -L359: - CPy_RestoreExcInfo(r380) - dec_ref r380 - r381 = CPy_KeepPropagating() - if not r381 goto L367 else goto L550 :: bool -L360: +L136: + set_mem stop_iter_ptr, r135 :: builtins.object* + return 0 +L137: + r155 = r3 == 0 + if r155 goto L185 else goto L186 :: bool +L138: + r156 = r3 == 1 + if r156 goto L112 else goto L187 :: bool +L139: + r157 = raise StopIteration + if not r157 goto L141 (error at coroutine:23) else goto L140 :: bool +L140: unreachable -L361: - r382 = r24.__mypyc_temp__24 - if is_error(r382) goto L551 (error at coroutine:-1) else goto L362 -L362: - r383 = CPyIter_Send(r382, arg) - dec_ref r382 - dec_ref arg - if is_error(r383) goto L364 else goto L363 -L363: - r369 = r383 - goto L345 -L364: - r384 = CPy_FetchStopIterationValue() - if is_error(r384) goto L367 (error at coroutine:161) else goto L365 -L365: - r366 = r384 -L366: - r24.__mypyc_generator_attribute__decoded = r366; r385 = is_error - if not r385 goto L367 (error at coroutine:161) else goto L390 :: bool -L367: - r386 = CPy_CatchError() - r24.__mypyc_temp__26 = r386; r387 = is_error - if not r387 goto L387 (error at coroutine:-1) else goto L368 :: bool -L368: - r388 = dank_mids.brownie_patch.call.globals :: static - r389 = 'InsufficientDataBytes' - r390 = CPyDict_GetItem(r388, r389) - if is_error(r390) goto L387 (error at coroutine:162) else goto L369 -L369: - r391 = CPy_ExceptionMatches(r390) - dec_ref r390 - if r391 goto L370 else goto L385 :: bool -L370: - r392 = CPy_GetExcValue() - r24.__mypyc_generator_attribute__e = r392; r393 = is_error - if not r393 goto L387 (error at coroutine:162) else goto L371 :: bool -L371: - r394 = 'error' - r395 = r24.__mypyc_generator_attribute__e - if is_error(r395) goto L387 (error at coroutine:165) else goto L372 -L372: - r396 = PyObject_Str(r395) - dec_ref r395 - if is_error(r396) goto L387 (error at coroutine:165) else goto L373 -L373: - r397 = ' when decoding response' - r398 = CPyStr_Build(2, r396, r397) - dec_ref r396 - if is_error(r398) goto L387 (error at coroutine:165) else goto L374 -L374: - r399 = 'method' - r400 = r24.__mypyc_generator_attribute__self - if is_error(r400) goto L552 (error at coroutine:166) else goto L375 -L375: - r401 = 'contract' - r402 = r24.__mypyc_generator_attribute__self - if is_error(r402) goto L553 (error at coroutine:167) else goto L376 -L376: - r403 = '_address' - r404 = CPyObject_GetAttr(r402, r403) - dec_ref r402 - if is_error(r404) goto L553 (error at coroutine:167) else goto L377 -L377: - r405 = 'args' - r406 = r24.__mypyc_generator_attribute__args - if is_error(r406) goto L554 (error at coroutine:168) else goto L378 -L378: - r407 = 'block' - r408 = r24.__mypyc_generator_attribute__block_identifier - if is_error(r408) goto L555 (error at coroutine:169) else goto L379 -L379: - r409 = 'response' - r410 = r24.__mypyc_generator_attribute__output - if is_error(r410) goto L556 (error at coroutine:170) else goto L380 -L380: - r411 = CPyDict_Build(6, r394, r398, r399, r400, r401, r404, r405, r406, r407, r408, r409, r410) - dec_ref r398 - dec_ref r400 - dec_ref r404 - dec_ref r406 - dec_ref r408 - dec_ref r410 - if is_error(r411) goto L387 (error at coroutine:164) else goto L381 -L381: - r412 = dank_mids.brownie_patch.call.globals :: static - r413 = 'InsufficientDataBytes' - r414 = CPyDict_GetItem(r412, r413) - if is_error(r414) goto L557 (error at coroutine:163) else goto L382 -L382: - r415 = [r411] - r416 = load_address r415 - r417 = PyObject_Vectorcall(r414, r416, 1, 0) - dec_ref r414 - if is_error(r417) goto L557 (error at coroutine:163) else goto L383 -L383: - dec_ref r411 - CPy_Raise(r417) - dec_ref r417 - if not 0 goto L387 (error at coroutine:163) else goto L558 :: bool -L384: - unreachable -L385: - CPy_Reraise() - if not 0 goto L387 else goto L559 :: bool -L386: - unreachable -L387: - r418 = r24.__mypyc_temp__26 - dec_ref r24 - if is_error(r418) goto L421 (error at coroutine:-1) else goto L388 -L388: - CPy_RestoreExcInfo(r418) - dec_ref r418 - r419 = CPy_KeepPropagating() - if not r419 goto L421 else goto L389 :: bool -L389: - unreachable -L390: - r420 = r24.__mypyc_generator_attribute__decimals - if is_error(r420) goto L560 (error at coroutine:174) else goto L391 -L391: - r421 = load_address _Py_NoneStruct - r422 = r420 == r421 - dec_ref r420 - if r422 goto L392 else goto L394 :: bool -L392: - r423 = r24.__mypyc_generator_attribute__decoded - if is_error(r423) goto L560 (error at coroutine:174) else goto L393 -L393: - r424 = r423 - goto L404 -L394: - r425 = r24.__mypyc_generator_attribute__decoded - if is_error(r425) goto L560 (error at coroutine:174) else goto L395 -L395: - r426 = r24.__mypyc_generator_attribute__decimals - if is_error(r426) goto L561 (error at coroutine:174) else goto L396 -L396: - r427 = unbox(int, r426) - dec_ref r426 - if is_error(r427) goto L561 (error at coroutine:174) else goto L397 -L397: - r428 = dank_mids.brownie_patch.call.Decimal :: static - if is_error(r428) goto L562 else goto L400 -L398: - r429 = raise NameError('value for final name "Decimal" was not set') - if not r429 goto L421 (error at coroutine:174) else goto L399 :: bool -L399: - unreachable -L400: - r430 = box(int, r427) - r431 = [r430] - r432 = load_address r431 - r433 = PyObject_Vectorcall(r428, r432, 1, 0) - if is_error(r433) goto L563 (error at coroutine:174) else goto L401 -L401: - dec_ref r430 - r434 = object 10 - r435 = CPyNumber_Power(r434, r433) - dec_ref r433 - if is_error(r435) goto L561 (error at coroutine:174) else goto L402 -L402: - r436 = PyNumber_TrueDivide(r425, r435) - dec_ref r425 - dec_ref r435 - if is_error(r436) goto L560 (error at coroutine:174) else goto L403 -L403: - r424 = r436 -L404: - r24.__mypyc_next_label__ = -1 - dec_ref r24 -L405: - if is_error(stop_iter_ptr) goto L406 else goto L408 -L406: - CPyGen_SetStopIterationValue(r424) - dec_ref r424 - if not 0 goto L421 else goto L407 :: bool -L407: - unreachable -L408: - set_mem stop_iter_ptr, r424 :: builtins.object* - return 0 -L409: - r438 = r25 == 0 - if r438 goto L564 else goto L410 :: bool -L410: - r439 = r25 == 1 - if r439 goto L565 else goto L566 :: bool -L411: - r440 = r25 == 2 - if r440 goto L567 else goto L568 :: bool -L412: - r441 = r25 == 3 - if r441 goto L569 else goto L570 :: bool -L413: - r442 = r25 == 4 - if r442 goto L571 else goto L572 :: bool -L414: - r443 = r25 == 5 - if r443 goto L573 else goto L574 :: bool -L415: - r444 = r25 == 6 - if r444 goto L575 else goto L576 :: bool -L416: - r445 = r25 == 7 - if r445 goto L577 else goto L578 :: bool -L417: - r446 = r25 == 8 - if r446 goto L579 else goto L580 :: bool -L418: - r447 = r25 == 9 - if r447 goto L346 else goto L581 :: bool -L419: - r448 = raise StopIteration - if not r448 goto L421 (error at coroutine:147) else goto L420 :: bool -L420: - unreachable -L421: - r449 = :: object - return r449 -L422: +L141: + r158 = :: object + return r158 +L142: xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - xdec_ref r9 - xdec_ref r11 - xdec_ref r13 - xdec_ref r15 - xdec_ref r17 - xdec_ref r19 - xdec_ref r23 - goto L421 -L423: + goto L141 +L143: xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - xdec_ref r9 - xdec_ref r11 - xdec_ref r13 - xdec_ref r15 - xdec_ref r17 - xdec_ref r19 - xdec_ref r23 - dec_ref r24 - goto L421 -L424: - dec_ref r24 - dec_ref r26 + dec_ref r2 + goto L141 +L144: + dec_ref r2 + dec_ref r4 goto L3 -L425: - dec_ref r24 - dec_ref r26 - goto L421 -L426: - dec_ref r29 - goto L13 -L427: - dec_ref r24 - dec_ref r26 +L145: + dec_ref r7 goto L9 -L428: - dec_ref r24 - dec_ref r26 - goto L14 -L429: - dec_ref r24 - dec_ref r26 - dec_ref r46 - dec_ref r47 - goto L421 -L430: - dec_ref r24 - dec_ref r26 - dec_ref r46 - goto L421 -L431: - dec_ref r24 - dec_ref r26 - dec_ref r55 - goto L421 -L432: - dec_ref r26 - goto L30 -L433: +L146: + dec_ref r7 + dec_ref r8 + goto L9 +L147: + dec_ref r4 + goto L63 +L148: + dec_ref r4 + goto L60 +L149: + dec_ref r4 + goto L58 +L150: + dec_ref r30 + goto L60 +L151: + dec_ref r40 + goto L60 +L152: + dec_ref r42 + goto L60 +L153: + dec_ref r49 + goto L60 +L154: + dec_ref r60 + goto L60 +L155: + dec_ref r63 + goto L60 +L156: + dec_ref r63 + dec_ref r65 + goto L60 +L157: + dec_ref r69 + goto L60 +L158: + dec_ref r2 + goto L55 +L159: + dec_ref r2 + goto L57 +L160: + dec_ref r2 + goto L59 +L161: + dec_ref r2 + goto L141 +L162: + dec_ref r2 + dec_ref r79 + goto L141 +L163: + dec_ref r2 + dec_ref r79 + dec_ref r81 + goto L141 +L164: + dec_ref r2 + dec_ref r88 + goto L141 +L165: + dec_ref r2 + dec_ref r96 + goto L141 +L166: + dec_ref r2 + dec_ref r98 + goto L141 +L167: + dec_ref r98 + goto L95 +L168: + dec_ref r2 + dec_ref r103 + goto L141 +L169: + dec_ref r2 + dec_ref r104 + goto L141 +L170: + dec_ref r2 + dec_ref r105 + goto L141 +L171: + dec_ref r2 + dec_ref r111 + goto L141 +L172: + dec_ref r2 + dec_ref r111 + dec_ref r113 + goto L141 +L173: + dec_ref r2 + dec_ref r117 + goto L141 +L174: + dec_ref r2 + dec_ref r123 + goto L141 +L175: + dec_ref r2 + dec_ref r123 + dec_ref r124 + goto L141 +L176: + dec_ref r2 + dec_ref r124 + dec_ref r125 + goto L141 +L177: + dec_ref r2 + dec_ref r124 + dec_ref r127 + goto L141 +L178: + dec_ref r2 + dec_ref r135 + goto L141 +L179: xdec_ref r1 - goto L35 -L434: + goto L115 +L180: xdec_ref r1 - dec_ref r24 - dec_ref r26 - goto L34 -L435: + dec_ref r2 + goto L114 +L181: xdec_ref r1 - dec_ref r26 - goto L44 -L436: - dec_ref r26 - goto L40 -L437: - dec_ref r66 - goto L44 -L438: - dec_ref r26 - goto L44 -L439: - dec_ref r24 - dec_ref r26 + goto L124 +L182: + dec_ref r138 + goto L124 +L183: + dec_ref r135 + goto L124 +L184: + dec_ref r2 dec_ref arg - goto L421 -L440: - dec_ref r26 - goto L49 -L441: - dec_ref r26 - goto L251 -L442: - dec_ref r26 - dec_ref r82 - goto L251 -L443: - dec_ref r26 - dec_ref r82 - dec_ref r83 :: int - goto L251 -L444: - dec_ref r26 - dec_ref r82 - dec_ref r83 :: int - dec_ref r84 - goto L251 -L445: - dec_ref r26 - dec_ref r82 - dec_ref r83 :: int - dec_ref r84 - dec_ref r85 - goto L251 -L446: - dec_ref r26 - dec_ref r82 - dec_ref r83 :: int - dec_ref r84 - dec_ref r85 - dec_ref r88 - goto L251 -L447: - dec_ref r26 - dec_ref r88 - dec_ref r89 - goto L251 -L448: - dec_ref r95 - goto L59 -L449: - dec_ref r26 - dec_ref r88 - goto L251 -L450: - dec_ref r26 - goto L67 -L451: - dec_ref r26 - dec_ref r103 - goto L251 -L452: - xdec_ref r3 - goto L72 -L453: - xdec_ref r3 - dec_ref r24 - dec_ref r26 - goto L71 -L454: - xdec_ref r3 - dec_ref r26 - goto L81 -L455: - dec_ref r26 - goto L77 -L456: - dec_ref r106 - goto L81 -L457: - dec_ref r26 - dec_ref r103 - goto L81 -L458: - dec_ref r24 - goto L83 -L459: - dec_ref r26 - dec_ref arg - goto L251 -L460: - dec_ref r26 - goto L86 -L461: - dec_ref r26 - goto L92 -L462: - dec_ref r24 - goto L93 -L463: - dec_ref r26 - dec_ref r127 - dec_ref r128 - goto L251 -L464: - dec_ref r26 - dec_ref r127 - goto L251 -L465: - dec_ref r26 - dec_ref r136 - goto L251 -L466: - dec_ref r26 - goto L108 -L467: - xdec_ref r5 - goto L113 -L468: - xdec_ref r5 - dec_ref r24 - dec_ref r26 - goto L112 -L469: - xdec_ref r5 - dec_ref r26 - goto L122 -L470: - dec_ref r26 - goto L118 -L471: - dec_ref r147 - goto L122 -L472: - dec_ref r26 - goto L122 -L473: - dec_ref r24 - goto L124 -L474: - dec_ref r26 - dec_ref arg - goto L251 -L475: - dec_ref r26 - goto L127 -L476: - dec_ref r165 - goto L167 -L477: - dec_ref r165 - dec_ref r169 - goto L167 -L478: - dec_ref r165 - dec_ref r172 - goto L167 -L479: - dec_ref r165 - dec_ref r172 - dec_ref r173 - goto L167 -L480: - dec_ref r183 - goto L167 -L481: - xdec_ref r7 - goto L149 -L482: - xdec_ref r7 - dec_ref r24 - goto L148 -L483: - xdec_ref r7 - goto L158 -L484: - dec_ref r186 - goto L158 -L485: - dec_ref r183 - goto L158 -L486: - dec_ref r24 - goto L160 -L487: - dec_ref arg - goto L167 -L488: - dec_ref r207 - dec_ref r208 - dec_ref r209 - goto L206 -L489: - dec_ref r207 - dec_ref r208 - dec_ref r209 - dec_ref r210 - goto L206 -L490: - dec_ref r207 - dec_ref r208 - dec_ref r209 - dec_ref r211 - goto L206 -L491: - dec_ref r220 - goto L206 -L492: - xdec_ref r9 - goto L183 -L493: - xdec_ref r9 - dec_ref r24 - goto L182 -L494: - xdec_ref r9 - goto L192 -L495: - dec_ref r223 - goto L192 -L496: - dec_ref r220 - goto L192 -L497: - dec_ref r24 - goto L194 -L498: - dec_ref arg - goto L206 -L499: - dec_ref r24 - goto L203 -L500: - dec_ref r24 - goto L208 -L501: - dec_ref r249 - goto L247 -L502: - dec_ref r250 - goto L247 -L503: - xdec_ref r13 - goto L222 -L504: - xdec_ref r11 - goto L227 -L505: - xdec_ref r11 - xdec_ref r13 - dec_ref r24 - goto L226 -L506: - xdec_ref r11 - goto L236 -L507: - dec_ref r262 - goto L236 -L508: - xdec_ref r13 - goto L233 -L509: - xdec_ref r13 - dec_ref r24 - goto L238 -L510: - dec_ref arg - goto L247 -L511: - xdec_ref r13 - goto L241 -L512: - xdec_ref r13 - dec_ref r24 - goto L246 -L513: - dec_ref r24 - goto L250 -L514: - dec_ref r283 - dec_ref r284 - dec_ref r285 - goto L290 -L515: - dec_ref r283 - dec_ref r284 - dec_ref r285 - dec_ref r286 - goto L290 -L516: - dec_ref r283 - dec_ref r284 - dec_ref r285 - dec_ref r287 - goto L290 -L517: - dec_ref r296 - goto L290 -L518: - xdec_ref r15 - goto L267 -L519: - xdec_ref r15 - dec_ref r24 - goto L266 -L520: - xdec_ref r15 - goto L276 -L521: - dec_ref r299 - goto L276 -L522: - dec_ref r296 - goto L276 -L523: - dec_ref r24 - goto L278 -L524: - dec_ref arg - goto L290 -L525: - dec_ref r24 - goto L287 -L526: - dec_ref r24 - goto L292 -L527: - dec_ref r24 - goto L331 -L528: - dec_ref r24 - dec_ref r325 - goto L331 -L529: - dec_ref r24 - dec_ref r326 - goto L331 -L530: - xdec_ref r19 - goto L306 -L531: - xdec_ref r17 - goto L311 -L532: - xdec_ref r17 - xdec_ref r19 - dec_ref r24 - goto L310 -L533: - xdec_ref r17 - goto L320 -L534: - dec_ref r338 - goto L320 -L535: - xdec_ref r19 - goto L317 -L536: - xdec_ref r19 - goto L322 -L537: - dec_ref r24 - dec_ref arg - goto L331 -L538: - xdec_ref r19 - goto L325 -L539: - dec_ref r24 - goto L329 -L540: - xdec_ref r19 - goto L330 -L541: - dec_ref r355 - goto L367 -L542: - xdec_ref r21 - goto L344 -L543: - xdec_ref r21 - goto L367 -L544: - dec_ref r366 - goto L367 -L545: - xdec_ref r23 - goto L349 -L546: - xdec_ref r23 - dec_ref r24 - goto L348 -L547: - xdec_ref r23 - goto L358 -L548: - dec_ref r369 - goto L358 -L549: - dec_ref r366 - goto L358 -L550: - dec_ref r24 - goto L360 -L551: - dec_ref arg - goto L367 -L552: - dec_ref r398 - goto L387 -L553: - dec_ref r398 - dec_ref r400 - goto L387 -L554: - dec_ref r398 - dec_ref r400 - dec_ref r404 - goto L387 -L555: - dec_ref r398 - dec_ref r400 - dec_ref r404 - dec_ref r406 - goto L387 -L556: - dec_ref r398 - dec_ref r400 - dec_ref r404 - dec_ref r406 - dec_ref r408 - goto L387 -L557: - dec_ref r411 - goto L387 -L558: - dec_ref r24 - goto L384 -L559: - dec_ref r24 - goto L386 -L560: - dec_ref r24 - goto L421 -L561: - dec_ref r24 - dec_ref r425 - goto L421 -L562: - dec_ref r24 - dec_ref r425 - dec_ref r427 :: int - goto L398 -L563: - dec_ref r24 - dec_ref r425 - dec_ref r430 - goto L421 -L564: + goto L141 +L185: xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - xdec_ref r9 - xdec_ref r11 - xdec_ref r13 - xdec_ref r15 - xdec_ref r17 - xdec_ref r19 - xdec_ref r23 goto L2 -L565: - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - xdec_ref r9 - xdec_ref r11 - xdec_ref r13 - xdec_ref r15 - xdec_ref r17 - xdec_ref r19 - xdec_ref r23 - goto L32 -L566: +L186: + dec_ref r4 + goto L138 +L187: xdec_ref r1 - goto L411 -L567: - xdec_ref r5 - xdec_ref r7 - xdec_ref r9 - xdec_ref r11 - xdec_ref r13 - xdec_ref r15 - xdec_ref r17 - xdec_ref r19 - xdec_ref r23 - goto L69 -L568: - xdec_ref r3 - goto L412 -L569: - xdec_ref r7 - xdec_ref r9 - xdec_ref r11 - xdec_ref r13 - xdec_ref r15 - xdec_ref r17 - xdec_ref r19 - xdec_ref r23 - goto L110 -L570: - xdec_ref r5 - dec_ref r26 - goto L413 -L571: - xdec_ref r9 - xdec_ref r11 - xdec_ref r13 - xdec_ref r15 - xdec_ref r17 - xdec_ref r19 - xdec_ref r23 - goto L146 -L572: - xdec_ref r7 - goto L414 -L573: - xdec_ref r11 - xdec_ref r13 - xdec_ref r15 - xdec_ref r17 - xdec_ref r19 - xdec_ref r23 - goto L180 -L574: - xdec_ref r9 - goto L415 -L575: - xdec_ref r15 - xdec_ref r17 - xdec_ref r19 - xdec_ref r23 - goto L224 -L576: - xdec_ref r11 - xdec_ref r13 - goto L416 -L577: - xdec_ref r17 - xdec_ref r19 - xdec_ref r23 - goto L264 -L578: - xdec_ref r15 - goto L417 -L579: - xdec_ref r23 - goto L308 -L580: - xdec_ref r17 - xdec_ref r19 - goto L418 -L581: - xdec_ref r23 - dec_ref r24 - goto L419 + dec_ref r2 + goto L139 -def coroutine_gen___147.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine_gen___147 +def coroutine_gen___23.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 r0, r1, r2 :: object L0: r0 = load_address _Py_NoneStruct - r1 = coroutine_gen___147.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) + r1 = coroutine_gen___23.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) if is_error(r1) goto L2 else goto L1 L1: return r1 @@ -4143,12 +3157,12 @@ L2: r2 = :: object return r2 -def coroutine_gen___147.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine_gen___147 +def coroutine_gen___23.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 arg, r0, r1, r2 :: object L0: r0 = load_address _Py_NoneStruct - r1 = coroutine_gen___147.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) + r1 = coroutine_gen___23.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) if is_error(r1) goto L2 else goto L1 L1: return r1 @@ -4156,14 +3170,14 @@ L2: r2 = :: object return r2 -def coroutine_gen___147.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine_gen___147 +def coroutine_gen___23.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 L0: inc_ref __mypyc_self__ return __mypyc_self__ -def coroutine_gen___147.throw(__mypyc_self__, type, value, traceback): - __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine_gen___147 +def coroutine_gen___23.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 type, value, traceback, r0, r1, r2 :: object L0: r0 = load_address _Py_NoneStruct @@ -4177,7 +3191,7 @@ L3: inc_ref r0 traceback = r0 L4: - r1 = coroutine_gen___147.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) + r1 = coroutine_gen___23.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) dec_ref value dec_ref traceback if is_error(r1) goto L6 else goto L5 @@ -4193,8 +3207,8 @@ L8: inc_ref traceback goto L4 -def coroutine_gen___147.close(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine_gen___147 +def coroutine_gen___23.close(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 r0 :: object r1 :: str r2, r3, r4, r5 :: object @@ -4262,29 +3276,29 @@ L13: dec_ref r6 goto L6 -def coroutine_gen___147.__await__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine_gen___147 +def coroutine_gen___23.__await__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 L0: inc_ref __mypyc_self__ return __mypyc_self__ -def coroutine__get_coroutine_fn_obj.__call__(__mypyc_self__, self, args, block_identifier, decimals, override): - __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine__get_coroutine_fn_obj +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[object, None] + block_identifier :: union[int, str, bytes, None] decimals :: union[int, None] override :: union[dict, None] - r0 :: dank_mids.brownie_patch.call._get_coroutine_fn_env + r0 :: dank_mids.brownie_patch.overloaded._patch_overloaded_method_env r1, r2, r3 :: object - r4 :: dank_mids.brownie_patch.call.coroutine__get_coroutine_fn_env + r4 :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_env r5, r6, r7, r8, r9, r10 :: bool - r11 :: dank_mids.brownie_patch.call.coroutine_gen___147 + r11 :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 r12, r13 :: bool - r14 :: dank_mids.brownie_patch.call.coroutine_gen___147 + r14 :: object L0: r0 = __mypyc_self__.__mypyc_env__ - if is_error(r0) goto L17 (error at coroutine:147) else goto L1 + if is_error(r0) goto L17 (error at coroutine:23) else goto L1 L1: if is_error(block_identifier) goto L2 else goto L18 L2: @@ -4304,41 +3318,41 @@ L6: inc_ref r3 override = r3 L7: - r4 = coroutine__get_coroutine_fn_env() - if is_error(r4) goto L21 (error at coroutine:147) else goto L8 + r4 = coroutine__patch_overloaded_method_env() + if is_error(r4) goto L21 (error at coroutine:23) else goto L8 L8: r4.__mypyc_env__ = r0; r5 = is_error - if not r5 goto L22 (error at coroutine:147) else goto L9 :: bool + if not r5 goto L22 (error at coroutine:23) else goto L9 :: bool L9: inc_ref self r4.__mypyc_generator_attribute__self = self; r6 = is_error - if not r6 goto L22 (error at coroutine:147) else goto L10 :: bool + if not r6 goto L22 (error at coroutine:23) else goto L10 :: bool L10: inc_ref args r4.__mypyc_generator_attribute__args = args; r7 = is_error - if not r7 goto L22 (error at coroutine:147) else goto L11 :: bool + if not r7 goto L22 (error at coroutine:23) else goto L11 :: bool L11: r4.__mypyc_generator_attribute__block_identifier = block_identifier; r8 = is_error - if not r8 goto L23 (error at coroutine:147) else goto L12 :: bool + if not r8 goto L23 (error at coroutine:23) else goto L12 :: bool L12: r4.__mypyc_generator_attribute__decimals = decimals; r9 = is_error - if not r9 goto L24 (error at coroutine:147) else goto L13 :: bool + if not r9 goto L24 (error at coroutine:23) else goto L13 :: bool L13: r4.__mypyc_generator_attribute__override = override; r10 = is_error - if not r10 goto L25 (error at coroutine:147) else goto L14 :: bool + if not r10 goto L25 (error at coroutine:23) else goto L14 :: bool L14: - r11 = coroutine_gen___147() - if is_error(r11) goto L25 (error at coroutine:147) else goto L15 + r11 = coroutine_gen___23() + if is_error(r11) goto L25 (error at coroutine:23) else goto L15 L15: inc_ref r4 r11.__mypyc_env__ = r4; r12 = is_error - if not r12 goto L26 (error at coroutine:147) else goto L16 :: bool + if not r12 goto L26 (error at coroutine:23) else goto L16 :: bool L16: r4.__mypyc_next_label__ = 0 dec_ref r4 return r11 L17: - r14 = :: dank_mids.brownie_patch.call.coroutine_gen___147 + r14 = :: object return r14 L18: inc_ref block_identifier @@ -4378,9946 +3392,6590 @@ L26: dec_ref r11 goto L17 -def _get_coroutine_fn(w3, len_inputs): - w3 :: object - len_inputs :: int - r0 :: dank_mids.brownie_patch.call._get_coroutine_fn_env - r1, r2, r3, r4 :: bool - r5 :: int - r6 :: bit +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, r9 :: bool - r10 :: dict - r11 :: str - r12 :: object - r13 :: bool - r14 :: dank_mids.brownie_patch.call.coroutine__get_coroutine_fn_obj - r15 :: bool - coroutine, r16 :: 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 = _get_coroutine_fn_env() - if is_error(r0) goto L18 (error at _get_coroutine_fn:141) else goto L1 + r0 = _patch_overloaded_method_env() + if is_error(r0) goto L39 (error at _patch_overloaded_method:11) else goto L1 L1: - inc_ref w3 - r0.w3 = w3; r1 = is_error - if not r1 goto L19 (error at _get_coroutine_fn:141) else goto L2 :: bool + inc_ref call + r0.call = call; r1 = is_error + if not r1 goto L40 (error at _patch_overloaded_method:11) else goto L2 :: bool L2: - inc_ref len_inputs :: int - r0.len_inputs = len_inputs; r2 = is_error - if not r2 goto L19 (error at _get_coroutine_fn:141) else goto L3 :: bool + r2 = coroutine__patch_overloaded_method_obj() + if is_error(r2) goto L40 (error at _patch_overloaded_method:23) else goto L3 L3: - r3 = dank_mids.brownie_patch.call.APPLICATION_MODE :: static - if is_error(r3) goto L20 else goto L6 + inc_ref r0 + r2.__mypyc_env__ = r0; r3 = is_error + if not r3 goto L41 (error at _patch_overloaded_method:23) else goto L4 :: bool L4: - r4 = raise NameError('value for final name "APPLICATION_MODE" was not set') - if not r4 goto L18 (error at _get_coroutine_fn:142) else goto L5 :: bool + r4 = r0.call + if is_error(r4) goto L41 (error at _patch_overloaded_method:22) else goto L5 L5: - unreachable + 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:22) else goto L6 L6: - if r3 goto L9 else goto L7 :: bool + 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:22) else goto L7 L7: - r5 = r0.len_inputs - if is_error(r5) goto L19 (error at _get_coroutine_fn:142) else goto L8 + 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:23) else goto L8 L8: - r6 = r5 != 0 - dec_ref r5 :: int - if r6 goto L9 else goto L13 :: bool + dec_ref r2 + inc_ref r13 + r14 = dank_mids.brownie_patch.overloaded.globals :: static + r15 = 'coroutine' + r16 = PyDict_SetItem(r14, r15, r13) + dec_ref r13 + r17 = r16 >= 0 :: signed + if not r17 goto L43 (error at _patch_overloaded_method:23) else goto L9 :: bool L9: - r7 = dank_mids.brownie_patch.call.encode :: static - if is_error(r7) goto L21 else goto L12 + r18 = r0.call + if is_error(r18) goto L43 (error at _patch_overloaded_method:60) else goto L10 L10: - r8 = raise NameError('value for final name "encode" was not set') - if not r8 goto L18 (error at _get_coroutine_fn:143) else goto L11 :: bool + r19 = '__dict__' + r20 = CPyObject_GetAttr(r18, r19) + dec_ref r18 + if is_error(r20) goto L43 (error at _patch_overloaded_method:60) else goto L11 L11: - unreachable + r21 = 'methods' + r22 = PyObject_GetItem(r20, r21) + dec_ref r20 + if is_error(r22) goto L43 (error at _patch_overloaded_method:60) else goto L12 L12: - inc_ref r7 - r0.get_request_data = r7; r9 = is_error - if not r9 goto L19 (error at _get_coroutine_fn:143) else goto L15 :: bool + 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:60) else goto L13 L13: - r10 = dank_mids.brownie_patch.call.globals :: static - r11 = '_request_data_no_args' - r12 = CPyDict_GetItem(r10, r11) - if is_error(r12) goto L19 (error at _get_coroutine_fn:145) else goto L14 + dec_ref r22 + r27 = PyObject_GetIter(r26) + dec_ref r26 + if is_error(r27) goto L43 (error at _patch_overloaded_method:60) else goto L14 L14: - r0.get_request_data = r12; r13 = is_error - if not r13 goto L19 (error at _get_coroutine_fn:145) else goto L15 :: bool + r28 = PyIter_Next(r27) + if is_error(r28) goto L45 else goto L15 L15: - r14 = coroutine__get_coroutine_fn_obj() - if is_error(r14) goto L19 (error at _get_coroutine_fn:147) else goto L16 + 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:61) else goto L16 L16: - r14.__mypyc_env__ = r0; r15 = is_error - if not r15 goto L22 (error at _get_coroutine_fn:147) else goto L17 :: bool + 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:61) else goto L17 L17: - coroutine = r14 - return coroutine + 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:61) else goto L18 :: bool L18: - r16 = :: object - return r16 + r39 = truncate r37: i32 to builtins.bool + if r39 goto L19 else goto L48 :: bool L19: - dec_ref r0 - goto L18 + r40 = '_address' + r41 = CPyObject_GetAttr(r28, r40) + if is_error(r41) goto L46 (error at _patch_overloaded_method:62) else goto L20 L20: - dec_ref r0 - goto L4 + 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:62) else goto L21 L21: - dec_ref r0 - goto L10 + r45 = cast(set, r44) + if is_error(r45) goto L49 (error at _patch_overloaded_method:62) else goto L22 L22: - dec_ref r14 - goto L18 + 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:62) 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:62) else goto L24 :: bool +L24: + r53 = 'abi' + r54 = CPyObject_GetAttr(r28, r53) + if is_error(r54) goto L46 (error at _patch_overloaded_method:63) 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:63) else goto L26 +L26: + r57 = CPyObject_Size(r56) + dec_ref r56 + if is_error(r57) goto L46 (error at _patch_overloaded_method:63) 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:63) 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:63) 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:63) 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:63) 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:63) else goto L14 :: bool +L32: + r74 = CPy_NoErrOccurred() + if not r74 goto L43 (error at _patch_overloaded_method:60) else goto L33 :: bool +L33: + r75 = r0.call + if is_error(r75) goto L43 (error at _patch_overloaded_method:68) 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:68) 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:68) 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:68) 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:68) 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 _call_no_args(self): - self :: object - r0 :: str - r1 :: object[1] - r2 :: object_ptr - r3 :: object - r4 :: str - r5 :: object[1] - r6 :: object_ptr - r7, r8 :: object +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 :: object + r33 :: None L0: - r0 = 'coroutine' - r1 = [self] - r2 = load_address r1 - r3 = PyObject_VectorcallMethod(r0, r2, 9223372036854775809, 0) - if is_error(r3) goto L3 (error at _call_no_args:181) else goto L1 + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool L1: - r4 = '__await__' - r5 = [r3] - r6 = load_address r5 - r7 = PyObject_VectorcallMethod(r4, r6, 9223372036854775809, 0) - if is_error(r7) goto L4 (error at _call_no_args:181) else goto L2 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L11 (error at :-1) else goto L2 L2: - dec_ref r3 - return r7 -L3: - r8 = :: object - return r8 + 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 L11 (error at :1) else goto L4 L4: - dec_ref r3 - goto L3 + 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 L11 (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 L11 (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 L11 (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 L11 (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 L11 (error at :7) else goto L9 +L9: + dank_mids.brownie_patch.call = r28 :: module + dec_ref r28 + r29 = ('DankWeb3',) + r30 = 'dank_mids.helpers._helpers' + r31 = dank_mids.brownie_patch.overloaded.globals :: static + r32 = CPyImport_ImportFromMany(r30, r29, r29, r31) + if is_error(r32) goto L11 (error at :8) else goto L10 +L10: + dank_mids.helpers._helpers = r32 :: module + dec_ref r32 + return 1 +L11: + r33 = :: None + return r33 -def encode_input_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): - __mypyc_self__ :: dank_mids.brownie_patch.call.encode_input_gen +def return_as_is(x): + x :: object +L0: + inc_ref x + return x + +def abi_request_formatters_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): + __mypyc_self__ :: dank_mids._web3.formatters.abi_request_formatters_gen type, value, traceback, arg :: object stop_iter_ptr :: object_ptr - r0, r1 :: object - r2 :: i32 - r3 :: object - r4 :: bit - r5 :: bool - r6 :: tuple - r7 :: bool - r8 :: tuple - r9 :: ptr - r10 :: native_int - r11, r12 :: bool - r13, r14 :: native_int - r15 :: bit - r16 :: tuple - r17 :: native_int - r18 :: object - r19 :: bool - r20, r21 :: object - r22 :: bool - r23 :: i32 - r24 :: bit - r25 :: bool - r26 :: object - r27 :: str - r28 :: bool - r29, r30 :: native_int - r31 :: bool + r0 :: i32 + r1 :: object + r2 :: bit + r3 :: dict + r4, r5 :: bool + r6 :: dict + r7 :: native_int + r8 :: bool + r9 :: object + r10 :: bool + r11 :: object + r12 :: short_int + r13 :: tuple[bool, short_int, object, object] + r14 :: short_int + r15, r16 :: bool + r17, r18 :: object + r19 :: union[list, dict] + r20, r21 :: bool + r22 :: union[list, dict] + r23 :: bit + r24, r25 :: object + r26 :: tuple + r27 :: union[list, dict] + r28 :: list + r29 :: tuple + r30 :: dank_mids._web3.abi.Formatter + r31 :: tuple[object, dank_mids._web3.abi.Formatter] r32 :: object - r33 :: str - r34, r35 :: object - r36 :: str - r37 :: object - r38 :: tuple - r39 :: dict - r40 :: str - r41 :: object - r42 :: list - r43, r44, r45 :: ptr + r33 :: bool + r34 :: object + r35 :: bit + r36 :: union[list, dict] + r37 :: bit + r38 :: object + r39 :: union[list, dict] + r40, r41 :: dict + r42 :: str + r43 :: object + r44 :: object[2] + r45 :: object_ptr r46 :: object - r47 :: tuple - r48 :: object - r49 :: bool - r50 :: object - r51 :: tuple - r52 :: object - r53 :: list - r54, r55 :: ptr + r47 :: bool + r48, r49 :: object + r50 :: dict + r51 :: str + r52, r53 :: object + r54 :: object[2] + r55 :: object_ptr r56 :: object - r57 :: tuple - r58, r59 :: object - r60 :: bool - r61, r62, r63, r64, r65 :: object - r66 :: bool - r67 :: object - r68 :: bool - r69 :: object - r70 :: bit - r71 :: tuple[object, object, object] - r72 :: bool - r73 :: object_ptr - r74 :: object - r75 :: bool - r76, r77, r78 :: tuple[object, object, object] - r79 :: bit - r80, r81, r82 :: object - r83 :: bool - r84 :: tuple[object, object, object] - r85 :: bool + r57 :: tuple[object, object] + r58 :: object + r59 :: bool + r60 :: object + r61 :: bit + r62, r63, r64 :: str + r65 :: union[list, dict] + r66, r67 :: str + r68 :: object[3] + r69 :: object_ptr + r70 :: object + r71 :: list + r72, r73, r74 :: ptr + r75 :: str + r76 :: object + r77 :: str + r78 :: object + r79 :: object[1] + r80 :: object_ptr + r81 :: object + r82 :: dict + r83 :: native_int + r84, r85 :: bit r86 :: object - r87 :: str - r88, r89 :: object - r90 :: str - r91 :: object - r92 :: tuple[object, object] - r93 :: object - r94 :: bit - r95 :: object - r96 :: str - r97, r98 :: object - r99 :: str - r100 :: object - r101 :: tuple - r102 :: dict - r103 :: str - r104 :: object - r105 :: list - r106, r107, r108 :: ptr - r109 :: object - r110 :: tuple - r111 :: object - r112 :: bool - r113 :: dict - r114 :: str - r115 :: object - r116 :: bit - r117 :: object - r118 :: bool - r119 :: str - r120 :: dict - r121 :: str - r122 :: object - r123 :: str - r124 :: object - r125 :: union[str, object] - r126 :: object - r127 :: str - r128 :: object - r129 :: str - r130 :: object[5] - r131 :: object_ptr - r132 :: object - r133 :: dict - r134 :: str - r135 :: object - r136 :: str - r137 :: object - r138 :: str - r139 :: object - r140 :: dict - r141 :: str - r142 :: object - r143 :: object[1] - r144 :: object_ptr - r145 :: object - r146 :: dict - r147 :: str - r148 :: object - r149 :: str - r150 :: i32 - r151 :: bit - r152 :: int - r153 :: bit - r154 :: object - r155 :: str - r156, r157 :: object - r158 :: str - r159 :: object - r160 :: tuple - r161 :: dict - r162 :: str - r163 :: object - r164 :: list - r165, r166, r167 :: ptr - r168 :: object - r169 :: tuple - r170 :: object - r171 :: union[str, object] - r172 :: object - r173 :: str - r174 :: object - r175 :: bool - r176 :: dict - r177 :: str - r178 :: object - r179 :: bit - r180 :: int - r181 :: bit - r182 :: object - r183 :: str - r184, r185 :: object - r186 :: str - r187 :: object - r188 :: tuple - r189 :: dict - r190 :: str - r191 :: object - r192 :: list - r193, r194, r195 :: ptr - r196 :: object - r197 :: tuple - r198 :: object - r199 :: union[str, object] - r200 :: object - r201 :: str - r202 :: object - r203 :: bool - r204, r205 :: tuple[object, object, object] - r206 :: bit - r207 :: union[str, object] - r208 :: object - r209 :: str - r210 :: object - r211 :: i32 - r212 :: bit - r213 :: bool - r214 :: union[str, object] - r215 :: object - r216 :: str - r217 :: object - r218 :: tuple - r219 :: ptr - r220 :: native_int - r221 :: short_int - r222 :: bit - r223, r224 :: union[str, object] - r225 :: str - r226 :: bool - r227 :: str - r228 :: object - r229 :: str - r230 :: object - r231 :: str - r232 :: object[2] - r233 :: object_ptr - r234 :: object - r235 :: bool - r236, r237 :: str - r238 :: list - r239 :: object - r240 :: str - r241 :: bool - r242, r243, r244 :: str - r245 :: bool - r246 :: union[str, object] - r247 :: object - r248 :: str - r249 :: object - r250 :: str - r251 :: object - r252, r253 :: str - r254 :: object - r255 :: str - r256 :: object - r257, r258, r259, r260 :: str - r261 :: object[1] - r262 :: object_ptr - r263 :: object - r264 :: union[str, object] - r265 :: str - r266 :: bool - r267, r268 :: bit - r269 :: bool - r270 :: object + r87 :: bool + r88, r89, r90 :: bit + r91 :: bool + r92 :: object L0: - r0 = :: object - r1 = r0 - r2 = __mypyc_self__.__mypyc_next_label__ - goto L199 + r0 = __mypyc_self__.__mypyc_next_label__ + goto L64 L1: - r3 = load_address _Py_NoneStruct - r4 = type != r3 - if r4 goto L2 else goto L4 :: bool + r1 = load_address _Py_NoneStruct + r2 = type != r1 + if r2 goto L2 else goto L4 :: bool L2: CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L203 (error at encode_input:184) else goto L3 :: bool + if not 0 goto L69 (error at abi_request_formatters:27) else goto L3 :: bool L3: unreachable L4: - r5 = 0 - r6 = __mypyc_self__.__mypyc_generator_attribute__args - if is_error(r6) goto L203 (error at encode_input:186) else goto L5 + r3 = __mypyc_self__.__mypyc_generator_attribute__abis + if is_error(r3) goto L69 (error at abi_request_formatters:31) else goto L5 L5: - __mypyc_self__.__mypyc_temp__27 = r6; r7 = is_error - if not r7 goto L203 (error at encode_input:-1) else goto L6 :: bool + inc_ref r3 + __mypyc_self__.__mypyc_temp__0 = r3; r4 = is_error + if not r4 goto L70 (error at abi_request_formatters:-1) else goto L6 :: bool L6: - r8 = __mypyc_self__.__mypyc_temp__27 - if is_error(r8) goto L203 (error at encode_input:186) else goto L7 + __mypyc_self__.__mypyc_temp__1 = 0; r5 = is_error + if not r5 goto L70 (error at abi_request_formatters:-1) else goto L7 :: bool L7: - r9 = get_element_ptr r8 ob_size :: PyVarObject - r10 = load_mem r9 :: native_int* - dec_ref r8 - __mypyc_self__.__mypyc_temp__28 = r10; r11 = is_error - if not r11 goto L203 (error at encode_input:-1) else goto L8 :: bool + r6 = __mypyc_self__.__mypyc_temp__0 + if is_error(r6) goto L70 (error at abi_request_formatters:31) else goto L8 L8: - __mypyc_self__.__mypyc_temp__29 = 0; r12 = is_error - if not r12 goto L203 (error at encode_input:-1) else goto L9 :: bool + r7 = PyDict_Size(r6) + dec_ref r6 + __mypyc_self__.__mypyc_temp__2 = r7; r8 = is_error + if not r8 goto L70 (error at abi_request_formatters:-1) else goto L9 :: bool L9: - r13 = __mypyc_self__.__mypyc_temp__28 - if is_error(r13) goto L203 (error at encode_input:186) else goto L10 + r9 = CPyDict_GetItemsIter(r3) + dec_ref r3 + if is_error(r9) goto L69 (error at abi_request_formatters:31) else goto L10 L10: - r14 = __mypyc_self__.__mypyc_temp__29 - if is_error(r14) goto L203 (error at encode_input:186) else goto L11 + __mypyc_self__.__mypyc_temp__3 = r9; r10 = is_error + if not r10 goto L69 (error at abi_request_formatters:-1) else goto L11 :: bool L11: - r15 = r14 < r13 :: signed - if r15 goto L12 else goto L27 :: bool + r11 = __mypyc_self__.__mypyc_temp__3 + if is_error(r11) goto L69 (error at abi_request_formatters:31) else goto L12 L12: - r16 = __mypyc_self__.__mypyc_temp__27 - if is_error(r16) goto L203 (error at encode_input:186) else goto L13 + r12 = __mypyc_self__.__mypyc_temp__1 + if is_error(r12) goto L71 (error at abi_request_formatters:31) else goto L13 L13: - r17 = __mypyc_self__.__mypyc_temp__29 - if is_error(r17) goto L204 (error at encode_input:186) else goto L14 + r13 = CPyDict_NextItem(r11, r12) + dec_ref r11 + r14 = r13[1] + __mypyc_self__.__mypyc_temp__1 = r14; r15 = is_error + if not r15 goto L72 (error at abi_request_formatters:31) else goto L14 :: bool L14: - r18 = CPySequenceTuple_GetItemUnsafe(r16, r17) - dec_ref r16 - __mypyc_self__.__mypyc_generator_attribute__arg = r18; r19 = is_error - if not r19 goto L203 (error at encode_input:186) else goto L15 :: bool + r16 = r13[0] + if r16 goto L15 else goto L73 :: bool L15: - r20 = __mypyc_self__.__mypyc_generator_attribute__arg - if is_error(r20) goto L203 (error at encode_input:186) else goto L16 + r17 = r13[2] + r18 = r13[3] + dec_ref r13 + r19 = cast(union[list, dict], r18) + if is_error(r19) goto L74 (error at abi_request_formatters:31) else goto L16 L16: - r21 = dank_mids.brownie_patch.call.Contract :: static - if is_error(r21) goto L205 else goto L19 + __mypyc_self__.__mypyc_generator_attribute__method = r17; r20 = is_error + if not r20 goto L75 (error at abi_request_formatters:31) else goto L17 :: bool L17: - r22 = raise NameError('value for final name "Contract" was not set') - if not r22 goto L203 (error at encode_input:186) else goto L18 :: bool + __mypyc_self__.__mypyc_generator_attribute__abi_types = r19; r21 = is_error + if not r21 goto L69 (error at abi_request_formatters:31) else goto L18 :: bool L18: - unreachable + r22 = __mypyc_self__.__mypyc_generator_attribute__abi_types + if is_error(r22) goto L69 (error at abi_request_formatters:32) else goto L19 L19: - r23 = PyObject_IsInstance(r20, r21) - dec_ref r20 - r24 = r23 >= 0 :: signed - if not r24 goto L203 (error at encode_input:186) else goto L20 :: bool + r23 = PyList_Check(r22) + dec_ref r22 + if r23 goto L20 else goto L31 :: bool L20: - r25 = truncate r23: i32 to builtins.bool - if r25 goto L21 else goto L22 :: bool + r24 = __mypyc_self__.__mypyc_generator_attribute__method + if is_error(r24) goto L69 (error at abi_request_formatters:33) else goto L21 L21: - if r25 goto L24 else goto L25 :: bool + r25 = __mypyc_self__.__mypyc_generator_attribute__normalizers + if is_error(r25) goto L76 (error at abi_request_formatters:33) else goto L22 L22: - r26 = __mypyc_self__.__mypyc_generator_attribute__arg - if is_error(r26) goto L203 (error at encode_input:186) else goto L23 + r26 = PySequence_Tuple(r25) + dec_ref r25 + if is_error(r26) goto L76 (error at abi_request_formatters:33) else goto L23 L23: - r27 = '__contains__' - r28 = PyObject_HasAttr(r26, r27) - dec_ref r26 - if r28 goto L24 else goto L25 :: bool + r27 = __mypyc_self__.__mypyc_generator_attribute__abi_types + if is_error(r27) goto L77 (error at abi_request_formatters:33) else goto L24 L24: - r5 = 1 - goto L27 + r28 = cast(list, r27) + if is_error(r28) goto L77 (error at abi_request_formatters:33) else goto L25 L25: - r29 = __mypyc_self__.__mypyc_temp__29 - if is_error(r29) goto L203 (error at encode_input:186) else goto L26 + r29 = PyList_AsTuple(r28) + dec_ref r28 + if is_error(r29) goto L77 (error at abi_request_formatters:33) else goto L26 L26: - r30 = r29 + 1 - __mypyc_self__.__mypyc_temp__29 = r30; r31 = is_error - if not r31 goto L203 (error at encode_input:186) else goto L9 :: bool + r30 = get_formatter(r26, r29) + dec_ref r26 + dec_ref r29 + if is_error(r30) goto L76 (error at abi_request_formatters:33) else goto L27 L27: - if r5 goto L28 else goto L39 :: bool -L28: - r32 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r32) goto L203 (error at encode_input:188) else goto L29 + r31 = (r24, r30) + r32 = box(tuple[object, dank_mids._web3.abi.Formatter], r31) + __mypyc_self__.__mypyc_next_label__ = 1 + return r32 +L28: + r34 = load_address _Py_NoneStruct + r35 = type != r34 + if r35 goto L29 else goto L55 :: bool L29: - r33 = 'abi' - r34 = CPyObject_GetAttr(r32, r33) - dec_ref r32 - if is_error(r34) goto L203 (error at encode_input:188) else goto L30 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L69 (error at abi_request_formatters:33) else goto L30 :: bool L30: - r35 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r35) goto L206 (error at encode_input:188) else goto L31 + unreachable L31: - r36 = 'signature' - r37 = CPyObject_GetAttr(r35, r36) - dec_ref r35 - if is_error(r37) goto L206 (error at encode_input:188) else goto L32 + r36 = __mypyc_self__.__mypyc_generator_attribute__abi_types + if is_error(r36) goto L69 (error at abi_request_formatters:34) else goto L32 L32: - r38 = __mypyc_self__.__mypyc_generator_attribute__args - if is_error(r38) goto L207 (error at encode_input:188) else goto L33 + r37 = PyDict_Check(r36) + dec_ref r36 + if r37 goto L33 else goto L47 :: bool L33: - r39 = dank_mids.brownie_patch.call.globals :: static - r40 = '__encode_input' - r41 = CPyDict_GetItem(r39, r40) - if is_error(r41) goto L208 (error at encode_input:188) else goto L34 + r38 = __mypyc_self__.__mypyc_generator_attribute__normalizers + if is_error(r38) goto L69 (error at abi_request_formatters:35) else goto L34 L34: - r42 = PyList_New(2) - if is_error(r42) goto L209 (error at encode_input:188) else goto L35 + r39 = __mypyc_self__.__mypyc_generator_attribute__abi_types + if is_error(r39) goto L78 (error at abi_request_formatters:35) else goto L35 L35: - r43 = get_element_ptr r42 ob_item :: PyListObject - r44 = load_mem r43 :: ptr* - set_mem r44, r34 :: builtins.object* - r45 = r44 + 8 - set_mem r45, r37 :: builtins.object* - r46 = CPyList_Extend(r42, r38) - dec_ref r38 - if is_error(r46) goto L210 (error at encode_input:188) else goto L211 + r40 = cast(dict, r39) + if is_error(r40) goto L78 (error at abi_request_formatters:35) else goto L36 L36: - r47 = PyList_AsTuple(r42) - dec_ref r42 - if is_error(r47) goto L212 (error at encode_input:188) else goto L37 + r41 = dank_mids._web3.formatters.globals :: static + r42 = 'apply_abi_formatters_to_dict' + r43 = CPyDict_GetItem(r41, r42) + if is_error(r43) goto L79 (error at abi_request_formatters:35) else goto L37 L37: - r48 = PyObject_CallObject(r41, r47) - dec_ref r41 - dec_ref r47 - if is_error(r48) goto L203 (error at encode_input:188) else goto L38 + r44 = [r38, r40] + r45 = load_address r44 + r46 = PyObject_Vectorcall(r43, r45, 2, 0) + dec_ref r43 + if is_error(r46) goto L79 (error at abi_request_formatters:35) else goto L38 L38: - __mypyc_self__.__mypyc_generator_attribute__data = r48; r49 = is_error - if not r49 goto L203 (error at encode_input:188) else goto L151 :: bool + dec_ref r38 + dec_ref r40 + __mypyc_self__.__mypyc_generator_attribute__single_dict_formatter = r46; r47 = is_error + if not r47 goto L69 (error at abi_request_formatters:35) else goto L39 :: bool L39: - r50 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r50) goto L75 (error at encode_input:191) else goto L40 + r48 = __mypyc_self__.__mypyc_generator_attribute__method + if is_error(r48) goto L69 (error at abi_request_formatters:36) else goto L40 L40: - r51 = __mypyc_self__.__mypyc_generator_attribute__args - if is_error(r51) goto L213 (error at encode_input:191) else goto L41 + r49 = __mypyc_self__.__mypyc_generator_attribute__single_dict_formatter + if is_error(r49) goto L80 (error at abi_request_formatters:36) else goto L41 L41: - r52 = __mypyc_self__.__mypyc_generator_attribute__get_request_data - if is_error(r52) goto L214 (error at encode_input:191) else goto L42 + r50 = dank_mids._web3.formatters.globals :: static + r51 = 'apply_formatter_at_index' + r52 = CPyDict_GetItem(r50, r51) + if is_error(r52) goto L81 (error at abi_request_formatters:36) else goto L42 L42: - r53 = PyList_New(1) - if is_error(r53) goto L215 (error at encode_input:191) else goto L43 + r53 = object 0 + r54 = [r49, r53] + r55 = load_address r54 + r56 = PyObject_Vectorcall(r52, r55, 2, 0) + dec_ref r52 + if is_error(r56) goto L81 (error at abi_request_formatters:36) else goto L43 L43: - r54 = get_element_ptr r53 ob_item :: PyListObject - r55 = load_mem r54 :: ptr* - set_mem r55, r50 :: builtins.object* - r56 = CPyList_Extend(r53, r51) - dec_ref r51 - if is_error(r56) goto L216 (error at encode_input:191) else goto L217 + dec_ref r49 + r57 = (r48, r56) + r58 = box(tuple[object, object], r57) + __mypyc_self__.__mypyc_next_label__ = 2 + return r58 L44: - r57 = PyList_AsTuple(r53) - dec_ref r53 - if is_error(r57) goto L218 (error at encode_input:191) else goto L45 + r60 = load_address _Py_NoneStruct + r61 = type != r60 + if r61 goto L45 else goto L55 :: bool L45: - r58 = PyObject_CallObject(r52, r57) - dec_ref r52 - dec_ref r57 - if is_error(r58) goto L75 (error at encode_input:191) else goto L46 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L69 (error at abi_request_formatters:36) else goto L46 :: bool L46: - r59 = CPy_GetCoro(r58) - dec_ref r58 - if is_error(r59) goto L75 (error at encode_input:191) else goto L47 + unreachable L47: - __mypyc_self__.__mypyc_temp__30 = r59; r60 = is_error - if not r60 goto L75 (error at encode_input:-1) else goto L48 :: bool + r62 = '' + r63 = 'ABI definitions must be a list or dictionary, got ' + r64 = '{!r:{}}' + r65 = __mypyc_self__.__mypyc_generator_attribute__abi_types + if is_error(r65) goto L69 (error at abi_request_formatters:38) else goto L48 L48: - r61 = __mypyc_self__.__mypyc_temp__30 - if is_error(r61) goto L75 (error at encode_input:-1) else goto L49 + r66 = '' + r67 = 'format' + r68 = [r64, r65, r66] + r69 = load_address r68 + r70 = PyObject_VectorcallMethod(r67, r69, 9223372036854775811, 0) + if is_error(r70) goto L82 (error at abi_request_formatters:38) else goto L49 L49: - r62 = CPyIter_Next(r61) - dec_ref r61 - if is_error(r62) goto L50 else goto L52 + dec_ref r65 + r71 = PyList_New(2) + if is_error(r71) goto L83 (error at abi_request_formatters:38) else goto L50 L50: - r63 = CPy_FetchStopIterationValue() - if is_error(r63) goto L75 (error at encode_input:191) else goto L51 + r72 = get_element_ptr r71 ob_item :: PyListObject + r73 = load_mem r72 :: ptr* + inc_ref r63 + set_mem r73, r63 :: builtins.object* + r74 = r73 + 8 + set_mem r74, r70 :: builtins.object* + r75 = PyUnicode_Join(r62, r71) + dec_ref r71 + if is_error(r75) goto L69 (error at abi_request_formatters:38) else goto L51 L51: - r64 = r63 - r65 = :: object - __mypyc_self__.__mypyc_temp__30 = r65; r66 = is_error - if not r66 goto L219 (error at encode_input:191) else goto L74 :: bool + r76 = builtins :: module + r77 = 'TypeError' + r78 = CPyObject_GetAttr(r76, r77) + if is_error(r78) goto L84 (error at abi_request_formatters:38) else goto L52 L52: - r67 = r62 + r79 = [r75] + r80 = load_address r79 + r81 = PyObject_Vectorcall(r78, r80, 1, 0) + dec_ref r78 + if is_error(r81) goto L84 (error at abi_request_formatters:38) else goto L53 L53: - __mypyc_self__.__mypyc_next_label__ = 1 - return r67 + dec_ref r75 + CPy_Raise(r81) + dec_ref r81 + if not 0 goto L69 (error at abi_request_formatters:38) else goto L54 :: bool L54: - r69 = load_address _Py_NoneStruct - r70 = type != r69 - if r70 goto L55 else goto L220 :: bool + unreachable L55: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L58 (error at encode_input:191) else goto L221 :: bool + r82 = __mypyc_self__.__mypyc_temp__0 + if is_error(r82) goto L69 (error at abi_request_formatters:31) else goto L56 L56: - unreachable + r83 = __mypyc_self__.__mypyc_temp__2 + if is_error(r83) goto L85 (error at abi_request_formatters:31) else goto L57 L57: - inc_ref arg - goto L69 + r84 = CPyDict_CheckSize(r82, r83) + dec_ref r82 + if not r84 goto L69 (error at abi_request_formatters:31) else goto L11 :: bool L58: - r71 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__31 = r71; r72 = is_error - if not r72 goto L222 (error at encode_input:-1) else goto L59 :: bool + r85 = CPy_NoErrOccurred() + if not r85 goto L69 (error at abi_request_formatters:31) else goto L59 :: bool L59: - r73 = load_address r1 - r74 = __mypyc_self__.__mypyc_temp__30 - if is_error(r74) goto L222 (error at encode_input:-1) else goto L60 + r86 = box(None, 1) + __mypyc_self__.__mypyc_next_label__ = -1 L60: - r75 = CPy_YieldFromErrorHandle(r74, r73) - dec_ref r74 - if is_error(r75) goto L222 (error at encode_input:191) else goto L61 + if is_error(stop_iter_ptr) goto L61 else goto L63 L61: - if r75 goto L64 else goto L62 :: bool + CPyGen_SetStopIterationValue(r86) + if not 0 goto L69 else goto L62 :: bool L62: - r67 = r1 - r76 = __mypyc_self__.__mypyc_temp__31 - if is_error(r76) goto L223 (error at encode_input:-1) else goto L63 + unreachable L63: - CPy_RestoreExcInfo(r76) - dec_ref r76 - goto L53 + inc_ref r86 + set_mem stop_iter_ptr, r86 :: builtins.object* + return 0 L64: - r64 = r1 - r77 = __mypyc_self__.__mypyc_temp__31 - if is_error(r77) goto L224 (error at encode_input:-1) else goto L65 + r88 = r0 == 0 + if r88 goto L1 else goto L65 :: bool L65: - CPy_RestoreExcInfo(r77) - dec_ref r77 - goto L74 + r89 = r0 == 1 + if r89 goto L28 else goto L66 :: bool L66: - r78 = __mypyc_self__.__mypyc_temp__31 - if is_error(r78) goto L75 (error at encode_input:-1) else goto L67 + r90 = r0 == 2 + if r90 goto L44 else goto L67 :: bool L67: - CPy_RestoreExcInfo(r78) - dec_ref r78 - r79 = CPy_KeepPropagating() - if not r79 goto L75 else goto L68 :: bool + r91 = raise StopIteration + if not r91 goto L69 (error at abi_request_formatters:27) else goto L68 :: bool L68: unreachable L69: - r80 = __mypyc_self__.__mypyc_temp__30 - if is_error(r80) goto L225 (error at encode_input:-1) else goto L70 + r92 = :: object + return r92 L70: - r81 = CPyIter_Send(r80, arg) - dec_ref r80 - dec_ref arg - if is_error(r81) goto L72 else goto L71 + dec_ref r3 + goto L69 L71: - r67 = r81 - goto L53 + dec_ref r11 + goto L69 L72: - r82 = CPy_FetchStopIterationValue() - if is_error(r82) goto L75 (error at encode_input:191) else goto L73 + dec_ref r13 + goto L69 L73: - r64 = r82 + dec_ref r13 + goto L58 L74: - __mypyc_self__.__mypyc_generator_attribute__data = r64; r83 = is_error - if not r83 goto L75 (error at encode_input:191) else goto L151 :: bool + dec_ref r17 + goto L69 L75: - r84 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__32 = r84; r85 = is_error - if not r85 goto L148 (error at encode_input:-1) else goto L76 :: bool + dec_ref r19 + goto L69 L76: - r86 = builtins :: module - r87 = 'AttributeError' - r88 = CPyObject_GetAttr(r86, r87) - if is_error(r88) goto L148 (error at encode_input:192) else goto L77 + dec_ref r24 + goto L69 L77: - r89 = builtins :: module - r90 = 'TypeError' - r91 = CPyObject_GetAttr(r89, r90) - if is_error(r91) goto L226 (error at encode_input:192) else goto L78 + dec_ref r24 + dec_ref r26 + goto L69 L78: - r92 = (r88, r91) - r93 = box(tuple[object, object], r92) - r94 = CPy_ExceptionMatches(r93) - dec_ref r93 - if r94 goto L79 else goto L90 :: bool + dec_ref r38 + goto L69 L79: - r95 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r95) goto L148 (error at encode_input:194) else goto L80 + dec_ref r38 + dec_ref r40 + goto L69 L80: - r96 = 'abi' - r97 = CPyObject_GetAttr(r95, r96) - dec_ref r95 - if is_error(r97) goto L148 (error at encode_input:194) else goto L81 + dec_ref r48 + goto L69 L81: - r98 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r98) goto L227 (error at encode_input:194) else goto L82 + dec_ref r48 + dec_ref r49 + goto L69 L82: - r99 = 'signature' - r100 = CPyObject_GetAttr(r98, r99) - dec_ref r98 - if is_error(r100) goto L227 (error at encode_input:194) else goto L83 + dec_ref r65 + goto L69 L83: - r101 = __mypyc_self__.__mypyc_generator_attribute__args - if is_error(r101) goto L228 (error at encode_input:194) else goto L84 + dec_ref r70 + goto L69 L84: - r102 = dank_mids.brownie_patch.call.globals :: static - r103 = '__encode_input' - r104 = CPyDict_GetItem(r102, r103) - if is_error(r104) goto L229 (error at encode_input:194) else goto L85 + dec_ref r75 + goto L69 L85: - r105 = PyList_New(2) - if is_error(r105) goto L230 (error at encode_input:194) else goto L86 -L86: - r106 = get_element_ptr r105 ob_item :: PyListObject - r107 = load_mem r106 :: ptr* - set_mem r107, r97 :: builtins.object* - r108 = r107 + 8 - set_mem r108, r100 :: builtins.object* - r109 = CPyList_Extend(r105, r101) - dec_ref r101 - if is_error(r109) goto L231 (error at encode_input:194) else goto L232 -L87: - r110 = PyList_AsTuple(r105) - dec_ref r105 - if is_error(r110) goto L233 (error at encode_input:194) else goto L88 -L88: - r111 = PyObject_CallObject(r104, r110) - dec_ref r104 - dec_ref r110 - if is_error(r111) goto L148 (error at encode_input:194) else goto L89 -L89: - __mypyc_self__.__mypyc_generator_attribute__data = r111; r112 = is_error - if not r112 goto L148 (error at encode_input:194) else goto L146 :: bool -L90: - r113 = dank_mids.brownie_patch.call.globals :: static - r114 = 'BrokenProcessPool' - r115 = CPyDict_GetItem(r113, r114) - if is_error(r115) goto L148 (error at encode_input:196) else goto L91 -L91: - r116 = CPy_ExceptionMatches(r115) - dec_ref r115 - if r116 goto L92 else goto L125 :: bool -L92: - r117 = dank_mids.brownie_patch.call.logger :: static - if is_error(r117) goto L93 else goto L95 -L93: - r118 = raise NameError('value for final name "logger" was not set') - if not r118 goto L148 (error at encode_input:197) else goto L94 :: bool -L94: + dec_ref r82 + goto L69 + +def abi_request_formatters_gen.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids._web3.formatters.abi_request_formatters_gen + r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = abi_request_formatters_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def abi_request_formatters_gen.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids._web3.formatters.abi_request_formatters_gen + arg, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = abi_request_formatters_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def abi_request_formatters_gen.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids._web3.formatters.abi_request_formatters_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def abi_request_formatters_gen.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids._web3.formatters.abi_request_formatters_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 = abi_request_formatters_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) + 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 abi_request_formatters_gen.close(__mypyc_self__): + __mypyc_self__ :: dank_mids._web3.formatters.abi_request_formatters_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 -L95: - r119 = 'Oh fuck, you broke the %s while decoding %s with abi %s' - r120 = dank_mids.brownie_patch.call.globals :: static - r121 = 'ENVS' - r122 = CPyDict_GetItem(r120, r121) - if is_error(r122) goto L148 (error at encode_input:197) else goto L96 -L96: - r123 = 'BROWNIE_ENCODER_PROCESSES' - r124 = CPyObject_GetAttr(r122, r123) - dec_ref r122 - if is_error(r124) goto L148 (error at encode_input:197) else goto L97 -L97: - r125 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r125) goto L234 (error at encode_input:197) else goto L98 -L98: - r126 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r126) goto L235 (error at encode_input:197) else goto L99 -L99: - r127 = 'abi' - r128 = CPyObject_GetAttr(r126, r127) - dec_ref r126 - if is_error(r128) goto L235 (error at encode_input:197) else goto L100 -L100: - r129 = 'critical' - r130 = [r117, r119, r124, r125, r128] - r131 = load_address r130 - r132 = PyObject_VectorcallMethod(r129, r131, 9223372036854775813, 0) - if is_error(r132) goto L236 (error at encode_input:197) else goto L237 -L101: - dec_ref r124 - dec_ref r125 - dec_ref r128 - r133 = dank_mids.brownie_patch.call.globals :: static - r134 = 'ENVS' - r135 = CPyDict_GetItem(r133, r134) - if is_error(r135) goto L148 (error at encode_input:199) else goto L102 -L102: - r136 = 'BROWNIE_ENCODER_PROCESSES' - r137 = CPyObject_GetAttr(r135, r136) - dec_ref r135 - if is_error(r137) goto L148 (error at encode_input:199) else goto L103 -L103: - r138 = '_max_workers' - r139 = CPyObject_GetAttr(r137, r138) - dec_ref r137 - if is_error(r139) goto L148 (error at encode_input:199) else goto L104 -L104: - r140 = dank_mids.brownie_patch.call.globals :: static - r141 = 'AsyncProcessPoolExecutor' - r142 = CPyDict_GetItem(r140, r141) - if is_error(r142) goto L238 (error at encode_input:199) else goto L105 -L105: - r143 = [r139] - r144 = load_address r143 - r145 = PyObject_Vectorcall(r142, r144, 1, 0) - dec_ref r142 - if is_error(r145) goto L238 (error at encode_input:199) else goto L106 -L106: - dec_ref r139 - r146 = dank_mids.brownie_patch.call.globals :: static - r147 = 'ENVS' - r148 = CPyDict_GetItem(r146, r147) - if is_error(r148) goto L239 (error at encode_input:199) else goto L107 -L107: - r149 = 'BROWNIE_ENCODER_PROCESSES' - r150 = PyObject_SetAttr(r148, r149, r145) - dec_ref r148 - dec_ref r145 - r151 = r150 >= 0 :: signed - if not r151 goto L148 (error at encode_input:199) else goto L108 :: bool -L108: - r152 = __mypyc_self__.__mypyc_generator_attribute__len_inputs - if is_error(r152) goto L148 (error at encode_input:200) else goto L109 -L109: - r153 = r152 != 0 - dec_ref r152 :: int - if r153 goto L110 else goto L121 :: bool -L110: - r154 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r154) goto L148 (error at encode_input:200) else goto L111 -L111: - r155 = 'abi' - r156 = CPyObject_GetAttr(r154, r155) - dec_ref r154 - if is_error(r156) goto L148 (error at encode_input:200) else goto L112 -L112: - r157 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r157) goto L240 (error at encode_input:200) else goto L113 -L113: - r158 = 'signature' - r159 = CPyObject_GetAttr(r157, r158) - dec_ref r157 - if is_error(r159) goto L240 (error at encode_input:200) else goto L114 -L114: - r160 = __mypyc_self__.__mypyc_generator_attribute__args - if is_error(r160) goto L241 (error at encode_input:200) else goto L115 -L115: - r161 = dank_mids.brownie_patch.call.globals :: static - r162 = '__encode_input' - r163 = CPyDict_GetItem(r161, r162) - if is_error(r163) goto L242 (error at encode_input:200) else goto L116 -L116: - r164 = PyList_New(2) - if is_error(r164) goto L243 (error at encode_input:200) else goto L117 -L117: - r165 = get_element_ptr r164 ob_item :: PyListObject - r166 = load_mem r165 :: ptr* - set_mem r166, r156 :: builtins.object* - r167 = r166 + 8 - set_mem r167, r159 :: builtins.object* - r168 = CPyList_Extend(r164, r160) - dec_ref r160 - if is_error(r168) goto L244 (error at encode_input:200) else goto L245 -L118: - r169 = PyList_AsTuple(r164) - dec_ref r164 - if is_error(r169) goto L246 (error at encode_input:200) else goto L119 -L119: - r170 = PyObject_CallObject(r163, r169) - dec_ref r163 - dec_ref r169 - if is_error(r170) goto L148 (error at encode_input:200) else goto L120 -L120: - r171 = r170 - goto L124 -L121: - r172 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r172) goto L148 (error at encode_input:200) else goto L122 -L122: - r173 = 'signature' - r174 = CPyObject_GetAttr(r172, r173) - dec_ref r172 - if is_error(r174) goto L148 (error at encode_input:200) else goto L123 -L123: - r171 = r174 -L124: - __mypyc_self__.__mypyc_generator_attribute__data = r171; r175 = is_error - if not r175 goto L148 (error at encode_input:200) else goto L146 :: bool -L125: - r176 = dank_mids.brownie_patch.call.globals :: static - r177 = 'PicklingError' - r178 = CPyDict_GetItem(r176, r177) - if is_error(r178) goto L148 (error at encode_input:201) else goto L126 -L126: - r179 = CPy_ExceptionMatches(r178) - dec_ref r178 - if r179 goto L127 else goto L144 :: bool -L127: - r180 = __mypyc_self__.__mypyc_generator_attribute__len_inputs - if is_error(r180) goto L148 (error at encode_input:202) else goto L128 -L128: - r181 = r180 != 0 - dec_ref r180 :: int - if r181 goto L129 else goto L140 :: bool -L129: - r182 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r182) goto L148 (error at encode_input:202) else goto L130 -L130: - r183 = 'abi' - r184 = CPyObject_GetAttr(r182, r183) - dec_ref r182 - if is_error(r184) goto L148 (error at encode_input:202) else goto L131 -L131: - r185 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r185) goto L247 (error at encode_input:202) else goto L132 -L132: - r186 = 'signature' - r187 = CPyObject_GetAttr(r185, r186) - dec_ref r185 - if is_error(r187) goto L247 (error at encode_input:202) else goto L133 -L133: - r188 = __mypyc_self__.__mypyc_generator_attribute__args - if is_error(r188) goto L248 (error at encode_input:202) else goto L134 -L134: - r189 = dank_mids.brownie_patch.call.globals :: static - r190 = '__encode_input' - r191 = CPyDict_GetItem(r189, r190) - if is_error(r191) goto L249 (error at encode_input:202) else goto L135 -L135: - r192 = PyList_New(2) - if is_error(r192) goto L250 (error at encode_input:202) else goto L136 -L136: - r193 = get_element_ptr r192 ob_item :: PyListObject - r194 = load_mem r193 :: ptr* - set_mem r194, r184 :: builtins.object* - r195 = r194 + 8 - set_mem r195, r187 :: builtins.object* - r196 = CPyList_Extend(r192, r188) - dec_ref r188 - if is_error(r196) goto L251 (error at encode_input:202) else goto L252 -L137: - r197 = PyList_AsTuple(r192) - dec_ref r192 - if is_error(r197) goto L253 (error at encode_input:202) else goto L138 -L138: - r198 = PyObject_CallObject(r191, r197) - dec_ref r191 - dec_ref r197 - if is_error(r198) goto L148 (error at encode_input:202) else goto L139 -L139: - r199 = r198 - goto L143 -L140: - r200 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r200) goto L148 (error at encode_input:202) else goto L141 -L141: - r201 = 'signature' - r202 = CPyObject_GetAttr(r200, r201) - dec_ref r200 - if is_error(r202) goto L148 (error at encode_input:202) else goto L142 -L142: - r199 = r202 -L143: - __mypyc_self__.__mypyc_generator_attribute__data = r199; r203 = is_error - if not r203 goto L148 (error at encode_input:202) else goto L146 :: bool -L144: - CPy_Reraise() - if not 0 goto L148 else goto L145 :: bool -L145: - unreachable -L146: - r204 = __mypyc_self__.__mypyc_temp__32 - if is_error(r204) goto L203 (error at encode_input:-1) else goto L147 -L147: - CPy_RestoreExcInfo(r204) - dec_ref r204 - goto L151 -L148: - r205 = __mypyc_self__.__mypyc_temp__32 - if is_error(r205) goto L203 (error at encode_input:-1) else goto L149 -L149: - CPy_RestoreExcInfo(r205) - dec_ref r205 - r206 = CPy_KeepPropagating() - if not r206 goto L203 else goto L150 :: bool -L150: - unreachable -L151: - r207 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r207) goto L203 (error at encode_input:204) else goto L152 -L152: - r208 = builtins :: module - r209 = 'Exception' - r210 = CPyObject_GetAttr(r208, r209) - if is_error(r210) goto L254 (error at encode_input:204) else goto L153 -L153: - r211 = PyObject_IsInstance(r207, r210) - dec_ref r207 - dec_ref r210 - r212 = r211 >= 0 :: signed - if not r212 goto L203 (error at encode_input:204) else goto L154 :: bool -L154: - r213 = truncate r211: i32 to builtins.bool - if r213 goto L155 else goto L192 :: bool -L155: - r214 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r214) goto L203 (error at encode_input:205) else goto L156 -L156: - r215 = r214 - r216 = 'args' - r217 = CPyObject_GetAttr(r215, r216) - dec_ref r215 - if is_error(r217) goto L203 (error at encode_input:205) else goto L157 -L157: - r218 = cast(tuple, r217) - if is_error(r218) goto L203 (error at encode_input:205) else goto L158 -L158: -L159: - r219 = get_element_ptr r218 ob_size :: PyVarObject - r220 = load_mem r219 :: native_int* - dec_ref r218 - r221 = r220 << 1 - r222 = r221 != 2 - if r222 goto L160 else goto L163 :: bool -L160: - r223 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r223) goto L203 (error at encode_input:206) else goto L161 -L161: - CPy_Raise(r223) - dec_ref r223 - if not 0 goto L203 (error at encode_input:206) else goto L162 :: bool -L162: - unreachable -L163: - r224 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r224) goto L203 (error at encode_input:207) else goto L164 -L164: - r225 = PyObject_Str(r224) - dec_ref r224 - if is_error(r225) goto L203 (error at encode_input:207) else goto L165 -L165: - __mypyc_self__.__mypyc_generator_attribute__exc_str = r225; r226 = is_error - if not r226 goto L203 (error at encode_input:207) else goto L166 :: bool -L166: - r227 = __mypyc_self__.__mypyc_generator_attribute__exc_str - if is_error(r227) goto L203 (error at encode_input:208) else goto L167 -L167: - r228 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r228) goto L255 (error at encode_input:208) else goto L168 -L168: - r229 = '_name' - r230 = CPyObject_GetAttr(r228, r229) - dec_ref r228 - if is_error(r230) goto L255 (error at encode_input:208) else goto L169 -L169: - r231 = 'startswith' - r232 = [r227, r230] - r233 = load_address r232 - r234 = PyObject_VectorcallMethod(r231, r233, 9223372036854775810, 0) - if is_error(r234) goto L256 (error at encode_input:208) else goto L170 -L170: - dec_ref r227 - dec_ref r230 - r235 = unbox(bool, r234) - dec_ref r234 - if is_error(r235) goto L203 (error at encode_input:208) else goto L171 -L171: - if r235 goto L172 else goto L177 :: bool -L172: - r236 = __mypyc_self__.__mypyc_generator_attribute__exc_str - if is_error(r236) goto L203 (error at encode_input:209) else goto L173 -L173: - r237 = ' ' - r238 = CPyStr_Split(r236, r237, 2) - dec_ref r236 - if is_error(r238) goto L203 (error at encode_input:209) else goto L174 -L174: - r239 = CPyList_GetItemShort(r238, 2) - dec_ref r238 - if is_error(r239) goto L203 (error at encode_input:209) else goto L175 -L175: - r240 = cast(str, r239) - if is_error(r240) goto L203 (error at encode_input:209) else goto L176 -L176: - __mypyc_self__.__mypyc_generator_attribute__exc_str = r240; r241 = is_error - if not r241 goto L203 (error at encode_input:209) else goto L180 :: bool -L177: - r242 = ': ' - r243 = __mypyc_self__.__mypyc_generator_attribute__exc_str - if is_error(r243) goto L203 (error at encode_input:211) else goto L178 -L178: - r244 = CPyStr_Build(2, r242, r243) - dec_ref r243 - if is_error(r244) goto L203 (error at encode_input:211) else goto L179 -L179: - __mypyc_self__.__mypyc_generator_attribute__exc_str = r244; r245 = is_error - if not r245 goto L203 (error at encode_input:211) else goto L180 :: bool -L180: - r246 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r246) goto L203 (error at encode_input:212) else goto L181 -L181: - r247 = CPy_TYPE(r246) - dec_ref r246 - r248 = "Contract('" - r249 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r249) goto L257 (error at encode_input:212) else goto L182 -L182: - r250 = '_address' - r251 = CPyObject_GetAttr(r249, r250) - dec_ref r249 - if is_error(r251) goto L257 (error at encode_input:212) else goto L183 -L183: - r252 = PyObject_Str(r251) - dec_ref r251 - if is_error(r252) goto L257 (error at encode_input:212) else goto L184 -L184: - r253 = "')." - r254 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r254) goto L258 (error at encode_input:212) else goto L185 -L185: - r255 = '_name' - r256 = CPyObject_GetAttr(r254, r255) - dec_ref r254 - if is_error(r256) goto L258 (error at encode_input:212) else goto L186 -L186: - r257 = PyObject_Str(r256) - dec_ref r256 - if is_error(r257) goto L258 (error at encode_input:212) else goto L187 -L187: - r258 = ': ' - r259 = __mypyc_self__.__mypyc_generator_attribute__exc_str - if is_error(r259) goto L259 (error at encode_input:212) else goto L188 -L188: - r260 = CPyStr_Build(6, r248, r252, r253, r257, r258, r259) - dec_ref r252 - dec_ref r257 - dec_ref r259 - if is_error(r260) goto L257 (error at encode_input:212) else goto L189 -L189: - r261 = [r260] - r262 = load_address r261 - r263 = PyObject_Vectorcall(r247, r262, 1, 0) - dec_ref r247 - if is_error(r263) goto L260 (error at encode_input:212) else goto L190 -L190: - dec_ref r260 - CPy_Raise(r263) - dec_ref r263 - if not 0 goto L203 (error at encode_input:212) else goto L191 :: bool -L191: +L8: + r14 = raise RuntimeError('generator ignored GeneratorExit') + if not r14 goto L10 else goto L9 :: bool +L9: unreachable -L192: - r264 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r264) goto L203 (error at encode_input:213) else goto L193 -L193: - r265 = cast(str, r264) - if is_error(r265) goto L203 (error at encode_input:213) else goto L194 -L194: - __mypyc_self__.__mypyc_next_label__ = -1 -L195: - if is_error(stop_iter_ptr) goto L196 else goto L198 -L196: - CPyGen_SetStopIterationValue(r265) - dec_ref r265 - if not 0 goto L203 else goto L197 :: bool -L197: +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 abi_request_formatters(normalizers, abis): + normalizers :: object + abis :: dict + r0 :: dank_mids._web3.formatters.abi_request_formatters_gen + r1, r2, r3 :: bool + r4 :: dank_mids._web3.formatters.abi_request_formatters_gen +L0: + r0 = abi_request_formatters_gen() + if is_error(r0) goto L4 (error at abi_request_formatters:27) else goto L1 +L1: + r0.__mypyc_next_label__ = 0 + inc_ref normalizers + r0.__mypyc_generator_attribute__normalizers = normalizers; r2 = is_error + if not r2 goto L5 (error at abi_request_formatters:27) else goto L2 :: bool +L2: + inc_ref abis + r0.__mypyc_generator_attribute__abis = abis; r3 = is_error + if not r3 goto L5 (error at abi_request_formatters:27) else goto L3 :: bool +L3: + return r0 +L4: + r4 = :: dank_mids._web3.formatters.abi_request_formatters_gen + return r4 +L5: + dec_ref r0 + goto L4 + +def get_request_formatters(method_name): + method_name, r0 :: object + r1 :: bool + r2 :: str + r3 :: object[2] + r4 :: object_ptr + r5, formatters, r6 :: object + r7 :: bit + r8 :: list + r9 :: tuple[object, object, object] + r10 :: bool + r11, r12, r13 :: object + r14 :: str + r15 :: object[2] + r16 :: object_ptr + r17 :: object + r18 :: i32 + r19, r20 :: bit + r21 :: object + r22 :: list + r23, r24, r25 :: object + r26 :: bit + r27 :: i32 + r28, r29 :: bit + r30 :: ptr + r31 :: native_int + r32 :: short_int + r33 :: bit + r34 :: dict + r35 :: str + r36 :: object + r37 :: ptr + r38 :: native_int + r39 :: short_int + r40 :: bit + r41 :: object + r42 :: dict + r43 :: str + r44 :: object + r45 :: tuple + r46, r47 :: object + r48 :: bool + r49 :: i32 + r50 :: bit + r51 :: object +L0: + r0 = dank_mids._web3.formatters._request_formatters :: static + if is_error(r0) goto L1 else goto L3 +L1: + r1 = raise NameError('value for final name "_request_formatters" was not set') + if not r1 goto L36 (error at get_request_formatters:59) else goto L2 :: bool +L2: unreachable -L198: - set_mem stop_iter_ptr, r265 :: builtins.object* - return 0 -L199: - r267 = r2 == 0 - if r267 goto L261 else goto L200 :: bool -L200: - r268 = r2 == 1 - if r268 goto L54 else goto L262 :: bool -L201: - r269 = raise StopIteration - if not r269 goto L203 (error at encode_input:184) else goto L202 :: bool -L202: +L3: + r2 = 'get' + r3 = [r0, method_name] + r4 = load_address r3 + r5 = PyObject_VectorcallMethod(r2, r4, 9223372036854775810, 0) + if is_error(r5) goto L36 (error at get_request_formatters:59) else goto L4 +L4: + formatters = r5 + r6 = load_address _Py_NoneStruct + r7 = formatters == r6 + if r7 goto L37 else goto L35 :: bool +L5: + r8 = PyList_New(0) + if is_error(r8) goto L36 (error at get_request_formatters:61) else goto L6 +L6: + r9 = dank_mids._web3.formatters.REQUEST_FORMATTER_MAPS :: static + if is_error(r9) goto L38 else goto L9 +L7: + r10 = raise NameError('value for final name "REQUEST_FORMATTER_MAPS" was not set') + if not r10 goto L36 (error at get_request_formatters:61) else goto L8 :: bool +L8: unreachable -L203: - r270 = :: object - return r270 -L204: - dec_ref r16 - goto L203 -L205: - dec_ref r20 +L9: + inc_ref r9 + r11 = box(tuple[object, object, object], r9) + r12 = PyObject_GetIter(r11) + dec_ref r11 + if is_error(r12) goto L39 (error at get_request_formatters:61) else goto L10 +L10: + r13 = PyIter_Next(r12) + if is_error(r13) goto L40 else goto L11 +L11: + r14 = 'get' + r15 = [r13, method_name] + r16 = load_address r15 + r17 = PyObject_VectorcallMethod(r14, r16, 9223372036854775810, 0) + if is_error(r17) goto L41 (error at get_request_formatters:61) else goto L12 +L12: + dec_ref r13 + r18 = PyList_Append(r8, r17) + dec_ref r17 + r19 = r18 >= 0 :: signed + if not r19 goto L42 (error at get_request_formatters:61) else goto L10 :: bool +L13: + r20 = CPy_NoErrOccurred() + if not r20 goto L39 (error at get_request_formatters:61) else goto L14 :: bool +L14: + r21 = PyObject_GetIter(r8) + dec_ref r8 + if is_error(r21) goto L36 (error at get_request_formatters:61) else goto L15 +L15: + r22 = PyList_New(0) + if is_error(r22) goto L43 (error at get_request_formatters:62) else goto L16 +L16: + r23 = PyObject_GetIter(r21) + if is_error(r23) goto L44 (error at get_request_formatters:62) else goto L17 +L17: + r24 = PyIter_Next(r23) + if is_error(r24) goto L45 else goto L18 +L18: + r25 = load_address _Py_NoneStruct + r26 = r24 != r25 + if r26 goto L19 else goto L46 :: bool +L19: + r27 = PyList_Append(r22, r24) + dec_ref r24 + r28 = r27 >= 0 :: signed + if not r28 goto L47 (error at get_request_formatters:62) else goto L17 :: bool +L20: + r29 = CPy_NoErrOccurred() + if not r29 goto L44 (error at get_request_formatters:62) else goto L21 :: bool +L21: + r30 = get_element_ptr r22 ob_size :: PyVarObject + r31 = load_mem r30 :: native_int* + r32 = r31 << 1 + r33 = r32 != 0 + if r33 goto L24 else goto L48 :: bool +L22: + r34 = dank_mids._web3.formatters.globals :: static + r35 = 'return_as_is' + r36 = CPyDict_GetItem(r34, r35) + if is_error(r36) goto L36 (error at get_request_formatters:64) else goto L23 +L23: + formatters = r36 + goto L31 +L24: + r37 = get_element_ptr r22 ob_size :: PyVarObject + r38 = load_mem r37 :: native_int* + r39 = r38 << 1 + r40 = r39 == 2 + if r40 goto L49 else goto L50 :: bool +L25: + r41 = CPyList_GetItemShort(r22, 0) + dec_ref r22 + if is_error(r41) goto L36 (error at get_request_formatters:66) else goto L26 +L26: + formatters = r41 + goto L31 +L27: + r42 = dank_mids._web3.formatters.globals :: static + r43 = 'compose' + r44 = CPyDict_GetItem(r42, r43) + if is_error(r44) goto L43 (error at get_request_formatters:70) else goto L28 +L28: + r45 = PySequence_Tuple(r21) + dec_ref r21 + if is_error(r45) goto L51 (error at get_request_formatters:70) else goto L29 +L29: + r46 = PyObject_CallObject(r44, r45) + dec_ref r44 + dec_ref r45 + if is_error(r46) goto L36 (error at get_request_formatters:70) else goto L30 +L30: + formatters = r46 +L31: + r47 = dank_mids._web3.formatters._request_formatters :: static + if is_error(r47) goto L52 else goto L34 +L32: + r48 = raise NameError('value for final name "_request_formatters" was not set') + if not r48 goto L36 (error at get_request_formatters:71) else goto L33 :: bool +L33: + unreachable +L34: + r49 = PyObject_SetItem(r47, method_name, formatters) + r50 = r49 >= 0 :: signed + if not r50 goto L53 (error at get_request_formatters:71) else goto L35 :: bool +L35: + return formatters +L36: + r51 = :: object + return r51 +L37: + dec_ref formatters + goto L5 +L38: + dec_ref r8 + goto L7 +L39: + dec_ref r8 + goto L36 +L40: + dec_ref r12 + goto L13 +L41: + dec_ref r8 + dec_ref r12 + dec_ref r13 + goto L36 +L42: + dec_ref r8 + dec_ref r12 + goto L36 +L43: + dec_ref r21 + goto L36 +L44: + dec_ref r21 + dec_ref r22 + goto L36 +L45: + dec_ref r23 + goto L20 +L46: + dec_ref r24 goto L17 -L206: - dec_ref r34 - goto L203 -L207: - dec_ref r34 - dec_ref r37 - goto L203 -L208: - dec_ref r34 - dec_ref r37 - dec_ref r38 - goto L203 -L209: - dec_ref r34 - dec_ref r37 - dec_ref r38 - dec_ref r41 - goto L203 -L210: - dec_ref r41 - dec_ref r42 - goto L203 -L211: - dec_ref r46 +L47: + dec_ref r21 + dec_ref r22 + dec_ref r23 + goto L36 +L48: + dec_ref r21 + dec_ref r22 + goto L22 +L49: + dec_ref r21 + goto L25 +L50: + dec_ref r22 + goto L27 +L51: + dec_ref r44 + goto L36 +L52: + dec_ref formatters + goto L32 +L53: + dec_ref formatters goto L36 -L212: - dec_ref r41 - goto L203 -L213: - dec_ref r50 - goto L75 -L214: - dec_ref r50 - dec_ref r51 - goto L75 -L215: - dec_ref r50 - dec_ref r51 - dec_ref r52 - goto L75 -L216: - dec_ref r52 - dec_ref r53 - goto L75 -L217: - dec_ref r56 - goto L44 -L218: - dec_ref r52 - goto L75 -L219: - dec_ref r64 - goto L75 -L220: - xdec_ref r1 - goto L57 -L221: - xdec_ref r1 - goto L56 -L222: - xdec_ref r1 - goto L66 -L223: - dec_ref r67 - goto L66 -L224: - dec_ref r64 - goto L66 -L225: - dec_ref arg - goto L75 -L226: - dec_ref r88 - goto L148 -L227: - dec_ref r97 - goto L148 -L228: - dec_ref r97 - dec_ref r100 - goto L148 -L229: - dec_ref r97 - dec_ref r100 - dec_ref r101 - goto L148 -L230: - dec_ref r97 - dec_ref r100 - dec_ref r101 - dec_ref r104 - goto L148 -L231: - dec_ref r104 - dec_ref r105 - goto L148 -L232: - dec_ref r109 - goto L87 -L233: - dec_ref r104 - goto L148 -L234: - dec_ref r124 - goto L148 -L235: - dec_ref r124 - dec_ref r125 - goto L148 -L236: - dec_ref r124 - dec_ref r125 - dec_ref r128 - goto L148 -L237: - dec_ref r132 - goto L101 -L238: - dec_ref r139 - goto L148 -L239: - dec_ref r145 - goto L148 -L240: - dec_ref r156 - goto L148 -L241: - dec_ref r156 - dec_ref r159 - goto L148 -L242: - dec_ref r156 - dec_ref r159 - dec_ref r160 - goto L148 -L243: - dec_ref r156 - dec_ref r159 - dec_ref r160 - dec_ref r163 - goto L148 -L244: - dec_ref r163 - dec_ref r164 - goto L148 -L245: - dec_ref r168 - goto L118 -L246: - dec_ref r163 - goto L148 -L247: - dec_ref r184 - goto L148 -L248: - dec_ref r184 - dec_ref r187 - goto L148 -L249: - dec_ref r184 - dec_ref r187 - dec_ref r188 - goto L148 -L250: - dec_ref r184 - dec_ref r187 - dec_ref r188 - dec_ref r191 - goto L148 -L251: - dec_ref r191 - dec_ref r192 - goto L148 -L252: - dec_ref r196 - goto L137 -L253: - dec_ref r191 - goto L148 -L254: - dec_ref r207 - goto L203 -L255: - dec_ref r227 - goto L203 -L256: - dec_ref r227 - dec_ref r230 - goto L203 -L257: - dec_ref r247 - goto L203 -L258: - dec_ref r247 - dec_ref r252 - goto L203 -L259: - dec_ref r247 - dec_ref r252 - dec_ref r257 - goto L203 -L260: - dec_ref r260 - goto L203 -L261: - xdec_ref r1 - goto L1 -L262: - xdec_ref r1 - goto L201 - -def encode_input_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call.encode_input_gen - r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = encode_input_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def encode_input_gen.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids.brownie_patch.call.encode_input_gen - arg, r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = encode_input_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def encode_input_gen.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call.encode_input_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ -def encode_input_gen.throw(__mypyc_self__, type, value, traceback): - __mypyc_self__ :: dank_mids.brownie_patch.call.encode_input_gen - type, value, traceback, r0, r1, r2 :: object +def _get_response_formatters(method): + method :: object + r0 :: dict + r1 :: str + r2 :: object + r3 :: dict + r4 :: str + r5 :: object + r6 :: dict + r7 :: str + r8 :: object + r9 :: str + r10 :: object[3] + r11 :: object_ptr + r12 :: object + r13 :: dict + r14 :: str + r15 :: object + r16 :: dict + r17 :: str + r18 :: object + r19 :: str + r20 :: object[3] + r21 :: object_ptr + r22 :: object + r23 :: tuple[object, object, object] + r24 :: dict + r25 :: bool + r26 :: object + r27 :: i32 + r28 :: bit + r29 :: tuple[object, object, object] L0: - r0 = load_address _Py_NoneStruct - if is_error(value) goto L1 else goto L7 + r0 = dank_mids._web3.formatters.globals :: static + r1 = 'return_as_is' + r2 = CPyDict_GetItem(r0, r1) + if is_error(r2) goto L12 (error at _get_response_formatters:86) else goto L1 L1: - inc_ref r0 - value = r0 + r3 = dank_mids._web3.formatters.globals :: static + r4 = 'ERROR_FORMATTERS' + r5 = CPyDict_GetItem(r3, r4) + if is_error(r5) goto L13 (error at _get_response_formatters:87) else goto L2 L2: - if is_error(traceback) goto L3 else goto L8 + r6 = dank_mids._web3.formatters.globals :: static + r7 = 'return_as_is' + r8 = CPyDict_GetItem(r6, r7) + if is_error(r8) goto L14 (error at _get_response_formatters:87) else goto L3 L3: - inc_ref r0 - traceback = r0 + r9 = 'get' + r10 = [r5, method, r8] + r11 = load_address r10 + r12 = PyObject_VectorcallMethod(r9, r11, 9223372036854775811, 0) + if is_error(r12) goto L15 (error at _get_response_formatters:87) else goto L4 L4: - r1 = encode_input_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) - dec_ref value - dec_ref traceback - if is_error(r1) goto L6 else goto L5 + dec_ref r5 + dec_ref r8 + r13 = dank_mids._web3.formatters.globals :: static + r14 = 'NULL_RESULT_FORMATTERS' + r15 = CPyDict_GetItem(r13, r14) + if is_error(r15) goto L16 (error at _get_response_formatters:88) else goto L5 L5: - return r1 + r16 = dank_mids._web3.formatters.globals :: static + r17 = 'return_as_is' + r18 = CPyDict_GetItem(r16, r17) + if is_error(r18) goto L17 (error at _get_response_formatters:88) else goto L6 L6: - r2 = :: object - return r2 + r19 = 'get' + r20 = [r15, method, r18] + r21 = load_address r20 + r22 = PyObject_VectorcallMethod(r19, r21, 9223372036854775811, 0) + if is_error(r22) goto L18 (error at _get_response_formatters:88) else goto L7 L7: - inc_ref value - goto L2 + dec_ref r15 + dec_ref r18 + r23 = (r2, r12, r22) + inc_ref r23 + r24 = dank_mids._web3.formatters._response_formatters :: static + if is_error(r24) goto L19 else goto L10 L8: - inc_ref traceback - goto L4 - -def encode_input_gen.close(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call.encode_input_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 + r25 = raise NameError('value for final name "_response_formatters" was not set') + if not r25 goto L12 (error at _get_response_formatters:85) else goto L9 :: bool L9: unreachable L10: - r15 = :: object - return r15 + r26 = box(tuple[object, object, object], r23) + r27 = CPyDict_SetItem(r24, method, r26) + dec_ref r26 + r28 = r27 >= 0 :: signed + if not r28 goto L20 (error at _get_response_formatters:85) else goto L11 :: bool L11: + return r23 +L12: + r29 = :: tuple[object, object, object] + return r29 +L13: + dec_ref r2 + goto L12 +L14: dec_ref r2 dec_ref r5 - goto L8 -L12: + goto L12 +L15: dec_ref r2 - dec_ref r6 - goto L10 -L13: - dec_ref r6 - goto L6 - -def encode_input_gen.__await__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call.encode_input_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def encode_input(call, len_inputs, get_request_data, args): - call :: object - len_inputs :: int - get_request_data :: object - args :: tuple - r0 :: dank_mids.brownie_patch.call.encode_input_gen - r1, r2, r3, r4, r5 :: bool - r6 :: dank_mids.brownie_patch.call.encode_input_gen -L0: - r0 = encode_input_gen() - if is_error(r0) goto L6 (error at encode_input:184) else goto L1 -L1: - r0.__mypyc_next_label__ = 0 - inc_ref call - r0.__mypyc_generator_attribute__call = call; r2 = is_error - if not r2 goto L7 (error at encode_input:184) else goto L2 :: bool -L2: - inc_ref len_inputs :: int - r0.__mypyc_generator_attribute__len_inputs = len_inputs; r3 = is_error - if not r3 goto L7 (error at encode_input:184) else goto L3 :: bool -L3: - inc_ref get_request_data - r0.__mypyc_generator_attribute__get_request_data = get_request_data; r4 = is_error - if not r4 goto L7 (error at encode_input:184) else goto L4 :: bool -L4: - inc_ref args - r0.__mypyc_generator_attribute__args = args; r5 = is_error - if not r5 goto L7 (error at encode_input:184) else goto L5 :: bool -L5: - return r0 -L6: - r6 = :: dank_mids.brownie_patch.call.encode_input_gen - return r6 -L7: - dec_ref r0 - goto L6 + dec_ref r5 + dec_ref r8 + goto L12 +L16: + dec_ref r2 + dec_ref r12 + goto L12 +L17: + dec_ref r2 + dec_ref r12 + dec_ref r15 + goto L12 +L18: + dec_ref r2 + dec_ref r12 + dec_ref r15 + dec_ref r18 + goto L12 +L19: + dec_ref r23 + dec_ref r23 + goto L8 +L20: + dec_ref r23 + goto L12 -def decode_output_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): - __mypyc_self__ :: dank_mids.brownie_patch.call.decode_output_gen - type, value, traceback, arg :: object - stop_iter_ptr :: object_ptr - r0, r1, r2, r3, r4, r5 :: object - r6 :: i32 - r7 :: object - r8 :: bit - r9 :: object +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4, r5 :: object + r6 :: str + r7 :: dict + r8, r9 :: object r10 :: str - r11 :: object - r12 :: bytes - r13 :: dict - r14 :: None - r15 :: object - r16 :: str - r17 :: object - r18 :: i32 - r19 :: bit - r20 :: bool - r21, r22 :: bytes - r23 :: i32 - r24 :: bit - r25 :: bool - r26 :: bytes - r27 :: object - r28 :: str - r29 :: object - r30 :: dict - r31 :: object - r32 :: bool - r33 :: object - r34 :: bytes - r35 :: object - r36 :: bool - r37 :: object[2] - r38 :: object_ptr - r39, r40 :: object - r41 :: bool - r42, r43, r44, r45, r46 :: object - r47 :: bool - r48 :: object - r49 :: bool + 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 :: str + r38 :: dict + r39 :: str + r40 :: object + r41 :: object[1] + r42 :: object_ptr + r43 :: object + r44 :: dict + r45 :: str + r46 :: i32 + r47 :: bit + r48 :: dict + r49 :: str r50 :: object - r51 :: bit - r52 :: tuple[object, object, object] - r53 :: bool - r54 :: object_ptr - r55 :: object - r56 :: bool - r57, r58, r59 :: tuple[object, object, object] + r51 :: dict + r52 :: str + r53 :: object + r54 :: dict + r55 :: dank_mids._web3.formatters.abi_request_formatters_gen + r56, r57 :: dict + r58 :: str + r59 :: i32 r60 :: bit - r61, r62, r63 :: object - r64 :: bool - r65 :: tuple[object, object, object] - r66 :: bool - r67 :: dict - r68 :: str - r69 :: object - r70 :: bit - r71 :: object - r72 :: bool - r73 :: str - r74 :: dict - r75 :: str - r76 :: object + r61 :: object + r62 :: bool + r63 :: dict + r64 :: str + r65 :: object + r66 :: dict + r67 :: str + r68 :: object + r69 :: tuple[object, object, object] + r70 :: dict + r71 :: str + r72 :: object + r73 :: i32 + r74 :: bit + r75, r76 :: dict r77 :: str - r78 :: object - r79 :: bytes - r80 :: object + r78 :: i32 + r79 :: bit + r80 :: dict r81 :: str r82 :: object - r83 :: str - r84 :: object[5] - r85 :: object_ptr - r86 :: object - r87 :: dict - r88 :: str - r89 :: object + r83 :: dict + r84 :: str + r85 :: object + r86 :: list + r87, r88 :: ptr + r89 :: dict r90 :: str r91 :: object - r92 :: str - r93 :: object - r94 :: dict - r95 :: str - r96 :: object - r97 :: object[1] - r98 :: object_ptr - r99 :: object - r100 :: dict - r101 :: str - r102 :: object + r92 :: tuple[list, object] + r93, r94 :: object + r95 :: dict + r96 :: str + r97 :: i32 + r98 :: bit + r99 :: dict + r100 :: str + r101 :: object + r102 :: dict r103 :: str - r104 :: i32 - r105 :: bit - r106 :: bytes - r107 :: object - r108 :: str - r109 :: object - r110 :: dict - r111 :: object - r112 :: bool - r113, r114 :: tuple[object, object, object] - r115 :: bit - r116, r117 :: object - r118 :: str - r119 :: object - r120 :: i32 - r121 :: bit - r122 :: bool - r123, r124 :: object - r125 :: bool - r126 :: tuple[object, object, object] - r127 :: bool - r128 :: dict - r129 :: str - r130 :: object - r131 :: bit - r132 :: object - r133 :: bool - r134 :: object - r135 :: str - r136, r137, r138 :: object - r139 :: str - r140 :: object - r141 :: bytes - r142 :: list - r143 :: object - r144 :: i32 - r145 :: bit - r146 :: i32 - r147 :: bit - r148 :: i32 - r149 :: bit - r150 :: tuple - r151 :: object - r152 :: str - r153 :: i32 - r154 :: bit - r155 :: object - r156 :: str - r157 :: object - r158 :: bit - r159 :: object - r160 :: bool - r161 :: object - r162, r163 :: str - r164 :: i32 - r165 :: bool - r166 :: object - r167 :: bool - r168 :: str - r169 :: object - r170 :: str - r171 :: object[3] - r172 :: object_ptr - r173, r174 :: object - r175 :: str - r176 :: object - r177 :: dict - r178 :: str - r179 :: object - r180 :: set - r181 :: i32 - r182 :: bit - r183 :: bool - r184 :: object - r185 :: str - r186 :: object - r187 :: i32 - r188 :: bit - r189 :: object - r190 :: bytes - r191 :: dank_mids.brownie_patch.call.decode_output_gen - r192 :: bool - r193 :: dank_mids.brownie_patch.call.decode_output_gen - r194, r195 :: object - r196 :: object_ptr - r197 :: object - r198 :: bit - r199 :: object - r200 :: dank_mids.brownie_patch.call.decode_output_gen - r201 :: bool - r202 :: object - r203 :: bool - r204 :: object - r205 :: bit - r206 :: tuple[object, object, object] - r207 :: bool - r208 :: object_ptr - r209 :: dank_mids.brownie_patch.call.decode_output_gen - r210 :: bool - r211, r212, r213 :: tuple[object, object, object] - r214 :: bit - r215 :: dank_mids.brownie_patch.call.decode_output_gen - r216, r217 :: object - r218 :: tuple[object, object, object] - r219 :: bool - r220 :: tuple[object, object, object] - r221, r222, r223, r224 :: bit - r225 :: bool - r226 :: object + r104 :: object + r105 :: list + r106, r107 :: ptr + r108 :: dict + r109 :: str + r110 :: object + r111 :: tuple[list, object] + r112, r113 :: object + r114 :: dict + r115 :: str + r116 :: i32 + r117 :: bit + r118 :: dict + r119 :: str + r120 :: object + r121 :: dict + r122 :: str + r123 :: object + r124 :: list + r125, r126 :: ptr + r127 :: dict + r128 :: str + r129 :: object + r130 :: tuple[list, object] + r131, r132 :: object + r133 :: dict + r134 :: str + r135 :: i32 + r136 :: bit + r137 :: dict + r138 :: str + r139 :: object + r140 :: dict + r141 :: str + r142 :: object + r143 :: dict + r144 :: str + r145 :: object + r146 :: dict + r147 :: str + r148 :: object + r149 :: tuple[object, object, object] + r150, r151 :: object + r152 :: dict + r153 :: str + r154 :: i32 + r155 :: bit + r156, r157 :: dict + r158 :: str + r159 :: i32 + r160 :: bit + r161 :: None L0: - r0 = :: object - r1 = r0 - r2 = :: object - r3 = r2 - xdec_ref r3 - r4 = :: object - r5 = r4 - r6 = __mypyc_self__.__mypyc_next_label__ - goto L183 + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool L1: - r7 = load_address _Py_NoneStruct - r8 = type != r7 - if r8 goto L2 else goto L4 :: bool + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L55 (error at :-1) else goto L2 L2: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L188 (error at decode_output:216) else goto L3 :: bool + builtins = r4 :: module + dec_ref r4 L3: - unreachable + r5 = ('Any', 'Callable', 'Dict', 'Final', 'Iterator', 'List', 'Sequence', 'Tuple', 'TypeVar', 'Union') + r6 = 'typing' + r7 = dank_mids._web3.formatters.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L55 (error at :1) else goto L4 L4: - r9 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r9) goto L188 (error at decode_output:217) else goto L5 + typing = r8 :: module + dec_ref r8 + r9 = ('TypeStr',) + r10 = 'eth_typing' + r11 = dank_mids._web3.formatters.globals :: static + r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) + if is_error(r12) goto L55 (error at :3) else goto L5 L5: - r10 = 'abi' - r11 = CPyObject_GetAttr(r9, r10) - dec_ref r9 - if is_error(r11) goto L188 (error at decode_output:217) else goto L6 -L6: - r12 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r12) goto L189 (error at decode_output:217) else goto L7 -L7: - r13 = cast(dict, r11) - if is_error(r13) goto L190 (error at decode_output:217) else goto L8 -L8: - r14 = __validate_output(r13, r12) - dec_ref r13 + eth_typing = r12 :: module dec_ref r12 - if is_error(r14) goto L188 (error at decode_output:217) else goto L9 + r13 = ('apply_formatter_at_index',) + r14 = 'faster_eth_utils.curried' + r15 = dank_mids._web3.formatters.globals :: static + r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) + if is_error(r16) goto L55 (error at :4) else goto L6 +L6: + faster_eth_utils.curried = r16 :: module + dec_ref r16 + r17 = ('compose',) + r18 = 'faster_eth_utils.toolz' + r19 = dank_mids._web3.formatters.globals :: static + r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) + if is_error(r20) goto L55 (error at :5) else goto L7 +L7: + faster_eth_utils.toolz = r20 :: module + dec_ref r20 + r21 = ('ERROR_FORMATTERS', 'METHOD_NORMALIZERS', 'NULL_RESULT_FORMATTERS', 'PYTHONIC_REQUEST_FORMATTERS', 'STANDARD_NORMALIZERS') + r22 = 'web3._utils.method_formatters' + r23 = dank_mids._web3.formatters.globals :: static + r24 = CPyImport_ImportFromMany(r22, r21, r21, r23) + if is_error(r24) goto L55 (error at :6) else goto L8 +L8: + web3._utils.method_formatters = r24 :: module + dec_ref r24 + r25 = ('RPC_ABIS', 'apply_abi_formatters_to_dict') + r26 = 'web3._utils.rpc_abi' + r27 = dank_mids._web3.formatters.globals :: static + r28 = CPyImport_ImportFromMany(r26, r25, r25, r27) + if is_error(r28) goto L55 (error at :13) else goto L9 L9: - r15 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r15) goto L102 (error at decode_output:219) else goto L10 + web3._utils.rpc_abi = r28 :: module + dec_ref r28 + r29 = ('Formatters', 'RPCEndpoint', 'RPCResponse') + r30 = 'web3.types' + r31 = dank_mids._web3.formatters.globals :: static + r32 = CPyImport_ImportFromMany(r30, r29, r29, r31) + if is_error(r32) goto L55 (error at :14) else goto L10 L10: - r16 = '_skip_decoder_proc_pool' - r17 = CPyObject_GetAttr(r15, r16) - dec_ref r15 - if is_error(r17) goto L102 (error at decode_output:219) else goto L11 + web3.types = r32 :: module + dec_ref r32 + r33 = ('get_formatter',) + r34 = 'dank_mids._web3.abi' + r35 = dank_mids._web3.formatters.globals :: static + r36 = CPyImport_ImportFromMany(r34, r33, r33, r35) + if is_error(r36) goto L55 (error at :17) else goto L11 L11: - r18 = PyObject_IsTrue(r17) - dec_ref r17 - r19 = r18 >= 0 :: signed - if not r19 goto L102 (error at decode_output:219) else goto L12 :: bool + dank_mids._web3.abi = r36 :: module + dec_ref r36 + r37 = '_T' + r38 = dank_mids._web3.formatters.globals :: static + r39 = 'TypeVar' + r40 = CPyDict_GetItem(r38, r39) + if is_error(r40) goto L55 (error at :20) else goto L12 L12: - r20 = truncate r18: i32 to builtins.bool - if r20 goto L16 else goto L13 :: bool + r41 = [r37] + r42 = load_address r41 + r43 = PyObject_Vectorcall(r40, r42, 1, 0) + dec_ref r40 + if is_error(r43) goto L55 (error at :20) else goto L13 L13: - r21 = b'Unexpected error' - r22 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r22) goto L102 (error at decode_output:219) else goto L14 + r44 = dank_mids._web3.formatters.globals :: static + r45 = '_T' + r46 = CPyDict_SetItem(r44, r45, r43) + dec_ref r43 + r47 = r46 >= 0 :: signed + if not r47 goto L55 (error at :20) else goto L14 :: bool L14: - r23 = PySequence_Contains(r22, r21) - dec_ref r22 - r24 = r23 >= 0 :: signed - if not r24 goto L102 (error at decode_output:219) else goto L15 :: bool + r48 = dank_mids._web3.formatters.globals :: static + r49 = 'STANDARD_NORMALIZERS' + r50 = CPyDict_GetItem(r48, r49) + if is_error(r50) goto L55 (error at :42) else goto L15 L15: - r25 = truncate r23: i32 to builtins.bool - if r25 goto L16 else goto L22 :: bool + r51 = dank_mids._web3.formatters.globals :: static + r52 = 'RPC_ABIS' + r53 = CPyDict_GetItem(r51, r52) + if is_error(r53) goto L56 (error at :42) else goto L16 L16: - r26 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r26) goto L102 (error at decode_output:221) else goto L17 + r54 = cast(dict, r53) + if is_error(r54) goto L56 (error at :42) else goto L17 L17: - r27 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r27) goto L191 (error at decode_output:221) else goto L18 + r55 = abi_request_formatters(r50, r54) + dec_ref r50 + dec_ref r54 + if is_error(r55) goto L55 (error at :42) else goto L18 L18: - r28 = 'abi' - r29 = CPyObject_GetAttr(r27, r28) - dec_ref r27 - if is_error(r29) goto L191 (error at decode_output:221) else goto L19 + r56 = CPyDict_FromAny(r55) + dec_ref r55 + if is_error(r56) goto L55 (error at :41) else goto L19 L19: - r30 = cast(dict, r29) - if is_error(r30) goto L191 (error at decode_output:221) else goto L20 + dank_mids._web3.formatters.ABI_REQUEST_FORMATTERS = r56 :: static + r57 = dank_mids._web3.formatters.globals :: static + r58 = 'ABI_REQUEST_FORMATTERS' + r59 = CPyDict_SetItem(r57, r58, r56) + dec_ref r56 + r60 = r59 >= 0 :: signed + if not r60 goto L55 (error at :41) else goto L20 :: bool L20: - r31 = __decode_output(r26, r30) - dec_ref r26 - dec_ref r30 - if is_error(r31) goto L102 (error at decode_output:221) else goto L21 + r61 = dank_mids._web3.formatters.ABI_REQUEST_FORMATTERS :: static + if is_error(r61) goto L21 else goto L23 L21: - __mypyc_self__.__mypyc_generator_attribute__decoded = r31; r32 = is_error - if not r32 goto L102 (error at decode_output:221) else goto L89 :: bool + r62 = raise NameError('value for final name "ABI_REQUEST_FORMATTERS" was not set') + if not r62 goto L55 (error at :46) else goto L22 :: bool L22: - r33 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r33) goto L57 (error at decode_output:224) else goto L23 + unreachable L23: - r34 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r34) goto L192 (error at decode_output:224) else goto L24 + r63 = dank_mids._web3.formatters.globals :: static + r64 = 'METHOD_NORMALIZERS' + r65 = CPyDict_GetItem(r63, r64) + if is_error(r65) goto L55 (error at :51) else goto L24 L24: - r35 = dank_mids.brownie_patch.call.decode :: static - if is_error(r35) goto L193 else goto L27 + r66 = dank_mids._web3.formatters.globals :: static + r67 = 'PYTHONIC_REQUEST_FORMATTERS' + r68 = CPyDict_GetItem(r66, r67) + if is_error(r68) goto L57 (error at :52) else goto L25 L25: - r36 = raise NameError('value for final name "decode" was not set') - if not r36 goto L57 (error at decode_output:224) else goto L26 :: bool + inc_ref r61 + r69 = (r61, r65, r68) + dank_mids._web3.formatters.REQUEST_FORMATTER_MAPS = r69 :: static + r70 = dank_mids._web3.formatters.globals :: static + r71 = 'REQUEST_FORMATTER_MAPS' + r72 = box(tuple[object, object, object], r69) + r73 = CPyDict_SetItem(r70, r71, r72) + dec_ref r72 + r74 = r73 >= 0 :: signed + if not r74 goto L55 (error at :45) else goto L26 :: bool L26: - unreachable + r75 = PyDict_New() + if is_error(r75) goto L55 (error at :55) else goto L27 L27: - r37 = [r33, r34] - r38 = load_address r37 - r39 = PyObject_Vectorcall(r35, r38, 2, 0) - if is_error(r39) goto L194 (error at decode_output:224) else goto L28 + dank_mids._web3.formatters._request_formatters = r75 :: static + r76 = dank_mids._web3.formatters.globals :: static + r77 = '_request_formatters' + r78 = CPyDict_SetItem(r76, r77, r75) + dec_ref r75 + r79 = r78 >= 0 :: signed + if not r79 goto L55 (error at :55) else goto L28 :: bool L28: - dec_ref r33 - dec_ref r34 - r40 = CPy_GetCoro(r39) - dec_ref r39 - if is_error(r40) goto L57 (error at decode_output:224) else goto L29 + r80 = dank_mids._web3.formatters.globals :: static + r81 = 'Callable' + r82 = CPyDict_GetItem(r80, r81) + if is_error(r82) goto L55 (error at :75) else goto L29 L29: - __mypyc_self__.__mypyc_temp__33 = r40; r41 = is_error - if not r41 goto L57 (error at decode_output:-1) else goto L30 :: bool + r83 = dank_mids._web3.formatters.globals :: static + r84 = 'RPCResponse' + r85 = CPyDict_GetItem(r83, r84) + if is_error(r85) goto L58 (error at :75) else goto L30 L30: - r42 = __mypyc_self__.__mypyc_temp__33 - if is_error(r42) goto L57 (error at decode_output:-1) else goto L31 + r86 = PyList_New(1) + if is_error(r86) goto L59 (error at :75) else goto L31 L31: - r43 = CPyIter_Next(r42) - dec_ref r42 - if is_error(r43) goto L32 else goto L34 + r87 = get_element_ptr r86 ob_item :: PyListObject + r88 = load_mem r87 :: ptr* + set_mem r88, r85 :: builtins.object* + r89 = dank_mids._web3.formatters.globals :: static + r90 = 'Any' + r91 = CPyDict_GetItem(r89, r90) + if is_error(r91) goto L60 (error at :75) else goto L32 L32: - r44 = CPy_FetchStopIterationValue() - if is_error(r44) goto L57 (error at decode_output:224) else goto L33 + r92 = (r86, r91) + r93 = box(tuple[list, object], r92) + r94 = PyObject_GetItem(r82, r93) + dec_ref r82 + dec_ref r93 + if is_error(r94) goto L55 (error at :75) else goto L33 L33: - r45 = r44 - r46 = :: object - __mypyc_self__.__mypyc_temp__33 = r46; r47 = is_error - if not r47 goto L195 (error at decode_output:224) else goto L56 :: bool + r95 = dank_mids._web3.formatters.globals :: static + r96 = 'SuccessFormatter' + r97 = CPyDict_SetItem(r95, r96, r94) + dec_ref r94 + r98 = r97 >= 0 :: signed + if not r98 goto L55 (error at :75) else goto L34 :: bool L34: - r48 = r43 + r99 = dank_mids._web3.formatters.globals :: static + r100 = 'Callable' + r101 = CPyDict_GetItem(r99, r100) + if is_error(r101) goto L55 (error at :76) else goto L35 L35: - __mypyc_self__.__mypyc_next_label__ = 1 - return r48 + r102 = dank_mids._web3.formatters.globals :: static + r103 = 'RPCResponse' + r104 = CPyDict_GetItem(r102, r103) + if is_error(r104) goto L61 (error at :76) else goto L36 L36: - r50 = load_address _Py_NoneStruct - r51 = type != r50 - if r51 goto L37 else goto L196 :: bool + r105 = PyList_New(1) + if is_error(r105) goto L62 (error at :76) else goto L37 L37: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L40 (error at decode_output:224) else goto L197 :: bool + r106 = get_element_ptr r105 ob_item :: PyListObject + r107 = load_mem r106 :: ptr* + set_mem r107, r104 :: builtins.object* + r108 = dank_mids._web3.formatters.globals :: static + r109 = 'Any' + r110 = CPyDict_GetItem(r108, r109) + if is_error(r110) goto L63 (error at :76) else goto L38 L38: - unreachable + r111 = (r105, r110) + r112 = box(tuple[list, object], r111) + r113 = PyObject_GetItem(r101, r112) + dec_ref r101 + dec_ref r112 + if is_error(r113) goto L55 (error at :76) else goto L39 L39: - inc_ref arg - goto L51 + r114 = dank_mids._web3.formatters.globals :: static + r115 = 'ErrorFormatter' + r116 = CPyDict_SetItem(r114, r115, r113) + dec_ref r113 + r117 = r116 >= 0 :: signed + if not r117 goto L55 (error at :76) else goto L40 :: bool L40: - r52 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__34 = r52; r53 = is_error - if not r53 goto L198 (error at decode_output:-1) else goto L41 :: bool + r118 = dank_mids._web3.formatters.globals :: static + r119 = 'Callable' + r120 = CPyDict_GetItem(r118, r119) + if is_error(r120) goto L55 (error at :77) else goto L41 L41: - r54 = load_address r1 - r55 = __mypyc_self__.__mypyc_temp__33 - if is_error(r55) goto L198 (error at decode_output:-1) else goto L42 + r121 = dank_mids._web3.formatters.globals :: static + r122 = 'RPCResponse' + r123 = CPyDict_GetItem(r121, r122) + if is_error(r123) goto L64 (error at :77) else goto L42 L42: - r56 = CPy_YieldFromErrorHandle(r55, r54) - dec_ref r55 - if is_error(r56) goto L198 (error at decode_output:224) else goto L43 + r124 = PyList_New(1) + if is_error(r124) goto L65 (error at :77) else goto L43 L43: - if r56 goto L46 else goto L44 :: bool + r125 = get_element_ptr r124 ob_item :: PyListObject + r126 = load_mem r125 :: ptr* + set_mem r126, r123 :: builtins.object* + r127 = dank_mids._web3.formatters.globals :: static + r128 = 'Any' + r129 = CPyDict_GetItem(r127, r128) + if is_error(r129) goto L66 (error at :77) else goto L44 L44: - r48 = r1 - r57 = __mypyc_self__.__mypyc_temp__34 - if is_error(r57) goto L199 (error at decode_output:-1) else goto L45 + r130 = (r124, r129) + r131 = box(tuple[list, object], r130) + r132 = PyObject_GetItem(r120, r131) + dec_ref r120 + dec_ref r131 + if is_error(r132) goto L55 (error at :77) else goto L45 L45: - CPy_RestoreExcInfo(r57) - dec_ref r57 - goto L35 + r133 = dank_mids._web3.formatters.globals :: static + r134 = 'NullFormatter' + r135 = CPyDict_SetItem(r133, r134, r132) + dec_ref r132 + r136 = r135 >= 0 :: signed + if not r136 goto L55 (error at :77) else goto L46 :: bool L46: - r45 = r1 - r58 = __mypyc_self__.__mypyc_temp__34 - if is_error(r58) goto L200 (error at decode_output:-1) else goto L47 + r137 = dank_mids._web3.formatters.globals :: static + r138 = 'Tuple' + r139 = CPyDict_GetItem(r137, r138) + if is_error(r139) goto L55 (error at :79) else goto L47 L47: - CPy_RestoreExcInfo(r58) - dec_ref r58 - goto L56 + r140 = dank_mids._web3.formatters.globals :: static + r141 = 'SuccessFormatter' + r142 = CPyDict_GetItem(r140, r141) + if is_error(r142) goto L67 (error at :79) else goto L48 L48: - r59 = __mypyc_self__.__mypyc_temp__34 - if is_error(r59) goto L57 (error at decode_output:-1) else goto L49 + r143 = dank_mids._web3.formatters.globals :: static + r144 = 'ErrorFormatter' + r145 = CPyDict_GetItem(r143, r144) + if is_error(r145) goto L68 (error at :79) else goto L49 L49: - CPy_RestoreExcInfo(r59) - dec_ref r59 - r60 = CPy_KeepPropagating() - if not r60 goto L57 else goto L50 :: bool + r146 = dank_mids._web3.formatters.globals :: static + r147 = 'NullFormatter' + r148 = CPyDict_GetItem(r146, r147) + if is_error(r148) goto L69 (error at :79) else goto L50 L50: - unreachable + r149 = (r142, r145, r148) + r150 = box(tuple[object, object, object], r149) + r151 = PyObject_GetItem(r139, r150) + dec_ref r139 + dec_ref r150 + if is_error(r151) goto L55 (error at :79) else goto L51 L51: - r61 = __mypyc_self__.__mypyc_temp__33 - if is_error(r61) goto L201 (error at decode_output:-1) else goto L52 + r152 = dank_mids._web3.formatters.globals :: static + r153 = 'ResponseFormatters' + r154 = CPyDict_SetItem(r152, r153, r151) + dec_ref r151 + r155 = r154 >= 0 :: signed + if not r155 goto L55 (error at :79) else goto L52 :: bool L52: - r62 = CPyIter_Send(r61, arg) - dec_ref r61 - dec_ref arg - if is_error(r62) goto L54 else goto L53 + r156 = PyDict_New() + if is_error(r156) goto L55 (error at :81) else goto L53 L53: - r48 = r62 - goto L35 + dank_mids._web3.formatters._response_formatters = r156 :: static + r157 = dank_mids._web3.formatters.globals :: static + r158 = '_response_formatters' + r159 = CPyDict_SetItem(r157, r158, r156) + dec_ref r156 + r160 = r159 >= 0 :: signed + if not r160 goto L55 (error at :81) else goto L54 :: bool L54: - r63 = CPy_FetchStopIterationValue() - if is_error(r63) goto L57 (error at decode_output:224) else goto L55 + return 1 L55: - r45 = r63 + r161 = :: None + return r161 L56: - __mypyc_self__.__mypyc_generator_attribute__decoded = r45; r64 = is_error - if not r64 goto L57 (error at decode_output:224) else goto L89 :: bool + dec_ref r50 + goto L55 L57: - r65 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__35 = r65; r66 = is_error - if not r66 goto L86 (error at decode_output:-1) else goto L58 :: bool + dec_ref r65 + goto L55 L58: - r67 = dank_mids.brownie_patch.call.globals :: static - r68 = 'BrokenProcessPool' - r69 = CPyDict_GetItem(r67, r68) - if is_error(r69) goto L86 (error at decode_output:226) else goto L59 + dec_ref r82 + goto L55 L59: - r70 = CPy_ExceptionMatches(r69) - dec_ref r69 - if r70 goto L60 else goto L82 :: bool + dec_ref r82 + dec_ref r85 + goto L55 L60: - r71 = dank_mids.brownie_patch.call.logger :: static - if is_error(r71) goto L61 else goto L63 + dec_ref r82 + dec_ref r86 + goto L55 L61: - r72 = raise NameError('value for final name "logger" was not set') - if not r72 goto L86 (error at decode_output:228) else goto L62 :: bool + dec_ref r101 + goto L55 L62: - unreachable + dec_ref r101 + dec_ref r104 + goto L55 L63: - r73 = 'Oh fuck, you broke the %s while decoding %s with abi %s' - r74 = dank_mids.brownie_patch.call.globals :: static - r75 = 'ENVS' - r76 = CPyDict_GetItem(r74, r75) - if is_error(r76) goto L86 (error at decode_output:228) else goto L64 + dec_ref r101 + dec_ref r105 + goto L55 L64: - r77 = 'BROWNIE_DECODER_PROCESSES' - r78 = CPyObject_GetAttr(r76, r77) - dec_ref r76 - if is_error(r78) goto L86 (error at decode_output:228) else goto L65 + dec_ref r120 + goto L55 L65: - r79 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r79) goto L202 (error at decode_output:228) else goto L66 + dec_ref r120 + dec_ref r123 + goto L55 L66: - r80 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r80) goto L203 (error at decode_output:228) else goto L67 + dec_ref r120 + dec_ref r124 + goto L55 L67: - r81 = 'abi' - r82 = CPyObject_GetAttr(r80, r81) - dec_ref r80 - if is_error(r82) goto L203 (error at decode_output:228) else goto L68 + dec_ref r139 + goto L55 L68: - r83 = 'critical' - r84 = [r71, r73, r78, r79, r82] - r85 = load_address r84 - r86 = PyObject_VectorcallMethod(r83, r85, 9223372036854775813, 0) - if is_error(r86) goto L204 (error at decode_output:228) else goto L205 + dec_ref r139 + dec_ref r142 + goto L55 L69: - dec_ref r78 - dec_ref r79 - dec_ref r82 - r87 = dank_mids.brownie_patch.call.globals :: static - r88 = 'ENVS' - r89 = CPyDict_GetItem(r87, r88) - if is_error(r89) goto L86 (error at decode_output:229) else goto L70 -L70: - r90 = 'BROWNIE_DECODER_PROCESSES' - r91 = CPyObject_GetAttr(r89, r90) - dec_ref r89 - if is_error(r91) goto L86 (error at decode_output:229) else goto L71 -L71: - r92 = '_max_workers' - r93 = CPyObject_GetAttr(r91, r92) - dec_ref r91 - if is_error(r93) goto L86 (error at decode_output:229) else goto L72 -L72: - r94 = dank_mids.brownie_patch.call.globals :: static - r95 = 'AsyncProcessPoolExecutor' - r96 = CPyDict_GetItem(r94, r95) - if is_error(r96) goto L206 (error at decode_output:229) else goto L73 -L73: - r97 = [r93] - r98 = load_address r97 - r99 = PyObject_Vectorcall(r96, r98, 1, 0) - dec_ref r96 - if is_error(r99) goto L206 (error at decode_output:229) else goto L74 -L74: - dec_ref r93 - r100 = dank_mids.brownie_patch.call.globals :: static - r101 = 'ENVS' - r102 = CPyDict_GetItem(r100, r101) - if is_error(r102) goto L207 (error at decode_output:229) else goto L75 -L75: - r103 = 'BROWNIE_DECODER_PROCESSES' - r104 = PyObject_SetAttr(r102, r103, r99) - dec_ref r102 - dec_ref r99 - r105 = r104 >= 0 :: signed - if not r105 goto L86 (error at decode_output:229) else goto L76 :: bool -L76: - r106 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r106) goto L86 (error at decode_output:230) else goto L77 -L77: - r107 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r107) goto L208 (error at decode_output:230) else goto L78 -L78: - r108 = 'abi' - r109 = CPyObject_GetAttr(r107, r108) - dec_ref r107 - if is_error(r109) goto L208 (error at decode_output:230) else goto L79 -L79: - r110 = cast(dict, r109) - if is_error(r110) goto L208 (error at decode_output:230) else goto L80 -L80: - r111 = __decode_output(r106, r110) - dec_ref r106 - dec_ref r110 - if is_error(r111) goto L86 (error at decode_output:230) else goto L81 -L81: - __mypyc_self__.__mypyc_generator_attribute__decoded = r111; r112 = is_error - if not r112 goto L86 (error at decode_output:230) else goto L84 :: bool -L82: - CPy_Reraise() - if not 0 goto L86 else goto L83 :: bool -L83: - unreachable -L84: - r113 = __mypyc_self__.__mypyc_temp__35 - if is_error(r113) goto L102 (error at decode_output:-1) else goto L85 -L85: - CPy_RestoreExcInfo(r113) - dec_ref r113 - goto L89 -L86: - r114 = __mypyc_self__.__mypyc_temp__35 - if is_error(r114) goto L102 (error at decode_output:-1) else goto L87 -L87: - CPy_RestoreExcInfo(r114) - dec_ref r114 - r115 = CPy_KeepPropagating() - if not r115 goto L102 else goto L88 :: bool -L88: - unreachable -L89: - r116 = __mypyc_self__.__mypyc_generator_attribute__decoded - if is_error(r116) goto L102 (error at decode_output:232) else goto L90 -L90: - r117 = builtins :: module - r118 = 'Exception' - r119 = CPyObject_GetAttr(r117, r118) - if is_error(r119) goto L209 (error at decode_output:232) else goto L91 -L91: - r120 = PyObject_IsInstance(r116, r119) - dec_ref r116 - dec_ref r119 - r121 = r120 >= 0 :: signed - if not r121 goto L102 (error at decode_output:232) else goto L92 :: bool -L92: - r122 = truncate r120: i32 to builtins.bool - if r122 goto L93 else goto L96 :: bool -L93: - r123 = __mypyc_self__.__mypyc_generator_attribute__decoded - if is_error(r123) goto L102 (error at decode_output:233) else goto L94 -L94: - CPy_Raise(r123) - dec_ref r123 - if not 0 goto L102 (error at decode_output:233) else goto L95 :: bool -L95: + dec_ref r139 + dec_ref r142 + dec_ref r145 + goto L55 + +def log_errd_batch(batch): + batch :: object + r0 :: dank_mids.stats._Collector + r1 :: bool + r2 :: object + r3 :: str + r4 :: object[2] + r5 :: object_ptr + r6 :: object + r7 :: dank_mids.stats._StatsLogger + r8 :: bool + r9, r10 :: str + r11 :: object + r12 :: union[int, str] + r13, r14 :: str + r15 :: int + r16, r17, r18 :: str + r19 :: object + r20 :: int + r21, r22, r23, r24, r25 :: str + r26 :: object + r27 :: dict + r28, r29, r30 :: str + r31 :: tuple + r32 :: dict + r33, r34 :: None +L0: + r0 = dank_mids.stats.collector :: static + if is_error(r0) goto L1 else goto L3 +L1: + r1 = raise NameError('value for final name "collector" was not set') + if not r1 goto L24 (error at log_errd_batch:83) else goto L2 :: bool +L2: unreachable -L96: - r124 = __mypyc_self__.__mypyc_generator_attribute__decoded - if is_error(r124) goto L102 (error at decode_output:234) else goto L97 -L97: - __mypyc_self__.__mypyc_next_label__ = -1 -L98: - if is_error(stop_iter_ptr) goto L99 else goto L101 -L99: - CPyGen_SetStopIterationValue(r124) - dec_ref r124 - if not 0 goto L188 else goto L100 :: bool -L100: +L3: + r2 = r0.errd_batches + r3 = 'append' + r4 = [r2, batch] + r5 = load_address r4 + r6 = PyObject_VectorcallMethod(r3, r5, 9223372036854775810, 0) + if is_error(r6) goto L25 (error at log_errd_batch:83) else goto L26 +L4: + dec_ref r2 + r7 = dank_mids.stats.logger :: static + if is_error(r7) goto L5 else goto L7 +L5: + r8 = raise NameError('value for final name "logger" was not set') + if not r8 goto L24 (error at log_errd_batch:84) else goto L6 :: bool +L6: unreachable -L101: - set_mem stop_iter_ptr, r124 :: builtins.object* - return 0 -L102: - r126 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__36 = r126; r127 = is_error - if not r127 goto L180 (error at decode_output:-1) else goto L103 :: bool -L103: - r128 = dank_mids.brownie_patch.call.globals :: static - r129 = 'InsufficientDataBytes' - r130 = CPyDict_GetItem(r128, r129) - if is_error(r130) goto L180 (error at decode_output:235) else goto L104 -L104: - r131 = CPy_ExceptionMatches(r130) - dec_ref r130 - if r131 goto L105 else goto L122 :: bool -L105: - r132 = CPy_GetExcValue() - __mypyc_self__.__mypyc_generator_attribute__e = r132; r133 = is_error - if not r133 goto L180 (error at decode_output:235) else goto L106 :: bool -L106: - r134 = __mypyc_self__.__mypyc_generator_attribute__e - if is_error(r134) goto L180 (error at decode_output:237) else goto L107 -L107: - r135 = 'args' - r136 = CPyObject_GetAttr(r134, r135) - dec_ref r134 - if is_error(r136) goto L180 (error at decode_output:237) else goto L108 -L108: - r137 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r137) goto L210 (error at decode_output:237) else goto L109 -L109: - r138 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r138) goto L211 (error at decode_output:237) else goto L110 -L110: - r139 = '_address' - r140 = CPyObject_GetAttr(r138, r139) - dec_ref r138 - if is_error(r140) goto L211 (error at decode_output:237) else goto L111 -L111: - r141 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r141) goto L212 (error at decode_output:237) else goto L112 -L112: - r142 = PyList_New(0) - if is_error(r142) goto L213 (error at decode_output:237) else goto L113 -L113: - r143 = CPyList_Extend(r142, r136) - dec_ref r136 - if is_error(r143) goto L214 (error at decode_output:237) else goto L215 -L114: - r144 = PyList_Append(r142, r137) - dec_ref r137 - r145 = r144 >= 0 :: signed - if not r145 goto L216 (error at decode_output:237) else goto L115 :: bool -L115: - r146 = PyList_Append(r142, r140) - dec_ref r140 - r147 = r146 >= 0 :: signed - if not r147 goto L217 (error at decode_output:237) else goto L116 :: bool -L116: - r148 = PyList_Append(r142, r141) - dec_ref r141 - r149 = r148 >= 0 :: signed - if not r149 goto L218 (error at decode_output:237) else goto L117 :: bool -L117: - r150 = PyList_AsTuple(r142) - dec_ref r142 - if is_error(r150) goto L180 (error at decode_output:237) else goto L118 -L118: - r151 = __mypyc_self__.__mypyc_generator_attribute__e - if is_error(r151) goto L219 (error at decode_output:237) else goto L119 -L119: - r152 = 'args' - r153 = PyObject_SetAttr(r151, r152, r150) - dec_ref r151 - dec_ref r150 - r154 = r153 >= 0 :: signed - if not r154 goto L180 (error at decode_output:237) else goto L120 :: bool -L120: - CPy_Reraise() - if not 0 goto L180 else goto L121 :: bool -L121: +L7: + r9 = 'jsonrpc batch failed\njson batch id: ' + r10 = 'jid' + r11 = CPyObject_GetAttr(batch, r10) + if is_error(r11) goto L24 (error at log_errd_batch:85) else goto L8 +L8: + r12 = cast(union[int, str], r11) + if is_error(r12) goto L24 (error at log_errd_batch:85) else goto L9 +L9: + r13 = PyObject_Str(r12) + dec_ref r12 + if is_error(r13) goto L24 (error at log_errd_batch:85) else goto L10 +L10: + r14 = ' | len: ' + r15 = CPyObject_Size(batch) + if is_error(r15) goto L27 (error at log_errd_batch:85) else goto L11 +L11: + r16 = CPyTagged_Str(r15) + dec_ref r15 :: int + if is_error(r16) goto L27 (error at log_errd_batch:85) else goto L12 +L12: + r17 = ' | total calls: ' + r18 = 'total_calls' + r19 = CPyObject_GetAttr(batch, r18) + if is_error(r19) goto L28 (error at log_errd_batch:85) else goto L13 +L13: + r20 = unbox(int, r19) + dec_ref r19 + if is_error(r20) goto L28 (error at log_errd_batch:85) else goto L14 +L14: + r21 = CPyTagged_Str(r20) + dec_ref r20 :: int + if is_error(r21) goto L28 (error at log_errd_batch:85) else goto L15 +L15: + r22 = '\n' + r23 = CPyStr_Build(7, r9, r13, r14, r16, r17, r21, r22) + dec_ref r13 + dec_ref r16 + dec_ref r21 + if is_error(r23) goto L24 (error at log_errd_batch:85) else goto L16 +L16: + r24 = 'methods called: ' + r25 = 'method_counts' + r26 = CPyObject_GetAttr(batch, r25) + if is_error(r26) goto L29 (error at log_errd_batch:86) else goto L17 +L17: + r27 = cast(dict, r26) + if is_error(r27) goto L29 (error at log_errd_batch:86) else goto L18 +L18: + r28 = PyObject_Str(r27) + dec_ref r27 + if is_error(r28) goto L29 (error at log_errd_batch:86) else goto L19 +L19: + r29 = CPyStr_Build(2, r24, r28) + dec_ref r28 + if is_error(r29) goto L29 (error at log_errd_batch:86) else goto L20 +L20: + r30 = PyUnicode_Concat(r23, r29) + dec_ref r23 + dec_ref r29 + if is_error(r30) goto L24 (error at log_errd_batch:85) else goto L21 +L21: + r31 = CPyTuple_LoadEmptyTupleConstant() + r32 = PyDict_New() + if is_error(r32) goto L30 (error at log_errd_batch:84) else goto L22 +L22: + r33 = r7.devhint(r30, r31, r32) + dec_ref r30 + dec_ref r31 + dec_ref r32 + if is_error(r33) goto L24 (error at log_errd_batch:84) else goto L23 +L23: + return 1 +L24: + r34 = :: None + return r34 +L25: + dec_ref r2 + goto L24 +L26: + dec_ref r6 + goto L4 +L27: + dec_ref r13 + goto L24 +L28: + dec_ref r13 + dec_ref r16 + goto L24 +L29: + dec_ref r23 + goto L24 +L30: + dec_ref r30 + dec_ref r31 + goto L24 + +def log_duration(work_descriptor, start, level): + work_descriptor :: str + start :: float + level :: int + r0 :: dank_mids.stats._StatsLogger + r1 :: bool + r2 :: str + r3 :: object + r4 :: object[2] + r5 :: object_ptr + r6 :: object + r7 :: bool + r8 :: dict + r9 :: str + r10 :: object + r11 :: bool + r12 :: dict + r13 :: str + r14, r15 :: object + r16 :: float + r17 :: bit + r18 :: float + r19 :: dict + r20 :: str + r21, r22 :: object + r23 :: bool + r24 :: dank_mids.stats._Collector + r25 :: bool + r26 :: dict + r27 :: object + r28 :: str + r29 :: object + r30 :: object[2] + r31 :: object_ptr + r32 :: object + r33 :: dank_mids.stats._StatsLogger + r34 :: bool + r35 :: str + r36 :: object + r37, r38 :: str + r39 :: tuple + r40 :: dict + r41, r42 :: None +L0: + if is_error(level) goto L1 else goto L34 +L1: + level = 26 +L2: + r0 = dank_mids.stats.logger :: static + if is_error(r0) goto L35 else goto L5 +L3: + r1 = raise NameError('value for final name "logger" was not set') + if not r1 goto L33 (error at log_duration:100) else goto L4 :: bool +L4: unreachable -L122: - r155 = builtins :: module - r156 = 'AttributeError' - r157 = CPyObject_GetAttr(r155, r156) - if is_error(r157) goto L180 (error at decode_output:239) else goto L123 -L123: - r158 = CPy_ExceptionMatches(r157) - dec_ref r157 - if r158 goto L124 else goto L178 :: bool -L124: - r159 = CPy_GetExcValue() - __mypyc_self__.__mypyc_generator_attribute__e = r159; r160 = is_error - if not r160 goto L180 (error at decode_output:239) else goto L125 :: bool -L125: - r161 = __mypyc_self__.__mypyc_generator_attribute__e - if is_error(r161) goto L180 (error at decode_output:241) else goto L126 -L126: - r162 = PyObject_Str(r161) - dec_ref r161 - if is_error(r162) goto L180 (error at decode_output:241) else goto L127 -L127: - r163 = " object has no attribute '_skip_decoder_proc_pool'" - r164 = CPyStr_Endswith(r162, r163) - dec_ref r162 - r165 = truncate r164: i32 to builtins.bool - if r165 goto L130 else goto L128 :: bool -L128: - CPy_Reraise() - if not 0 goto L180 else goto L129 :: bool -L129: +L5: + r2 = 'isEnabledFor' + inc_ref level :: int + r3 = box(int, level) + r4 = [r0, r3] + r5 = load_address r4 + r6 = PyObject_VectorcallMethod(r2, r5, 9223372036854775810, 0) + if is_error(r6) goto L36 (error at log_duration:100) else goto L6 +L6: + dec_ref r3 + r7 = unbox(bool, r6) + dec_ref r6 + if is_error(r7) goto L37 (error at log_duration:100) else goto L7 +L7: + r8 = dank_mids.stats.globals :: static + r9 = 'COLLECT_STATS' + r10 = CPyDict_GetItem(r8, r9) + if is_error(r10) goto L37 (error at log_duration:101) else goto L8 +L8: + r11 = unbox(bool, r10) + dec_ref r10 + if is_error(r11) goto L37 (error at log_duration:101) else goto L9 +L9: + if r11 goto L11 else goto L10 :: bool +L10: + if r7 goto L11 else goto L38 :: bool +L11: + r12 = dank_mids.stats.globals :: static + r13 = 'time' + r14 = CPyDict_GetItem(r12, r13) + if is_error(r14) goto L37 (error at log_duration:102) else goto L12 +L12: + r15 = PyObject_Vectorcall(r14, 0, 0, 0) + dec_ref r14 + if is_error(r15) goto L37 (error at log_duration:102) else goto L13 +L13: + r16 = unbox(float, r15) + dec_ref r15 + r17 = r16 == -113.0 + if r17 goto L15 else goto L14 :: bool +L14: + r18 = r16 - start + r19 = dank_mids.stats.globals :: static + r20 = 'COLLECT_STATS' + r21 = CPyDict_GetItem(r19, r20) + if is_error(r21) goto L37 (error at log_duration:103) else goto L16 +L15: + r22 = PyErr_Occurred() + if not is_error(r22) goto L37 (error at log_duration:102) else goto L14 +L16: + r23 = unbox(bool, r21) + dec_ref r21 + if is_error(r23) goto L37 (error at log_duration:103) else goto L17 +L17: + if r23 goto L18 else goto L24 :: bool +L18: + r24 = dank_mids.stats.collector :: static + if is_error(r24) goto L39 else goto L21 +L19: + r25 = raise NameError('value for final name "collector" was not set') + if not r25 goto L33 (error at log_duration:104) else goto L20 :: bool +L20: unreachable -L130: - r166 = dank_mids.brownie_patch.call.logger :: static - if is_error(r166) goto L131 else goto L133 -L131: - r167 = raise NameError('value for final name "logger" was not set') - if not r167 goto L180 (error at decode_output:243) else goto L132 :: bool -L132: +L21: + r26 = r24.durations + r27 = CPyDict_GetItem(r26, work_descriptor) + dec_ref r26 + if is_error(r27) goto L37 (error at log_duration:104) else goto L22 +L22: + r28 = 'append' + r29 = box(float, r18) + r30 = [r27, r29] + r31 = load_address r30 + r32 = PyObject_VectorcallMethod(r28, r31, 9223372036854775810, 0) + if is_error(r32) goto L40 (error at log_duration:104) else goto L41 +L23: + dec_ref r27 + dec_ref r29 +L24: + if r7 goto L25 else goto L38 :: bool +L25: + r33 = dank_mids.stats.logger :: static + if is_error(r33) goto L42 else goto L28 +L26: + r34 = raise NameError('value for final name "logger" was not set') + if not r34 goto L33 (error at log_duration:106) else goto L27 :: bool +L27: unreachable -L133: - r168 = 'DEBUG ME BRO: %s' - r169 = __mypyc_self__.__mypyc_generator_attribute__e - if is_error(r169) goto L180 (error at decode_output:243) else goto L134 -L134: - r170 = 'debug' - r171 = [r166, r168, r169] - r172 = load_address r171 - r173 = PyObject_VectorcallMethod(r170, r172, 9223372036854775811, 0) - if is_error(r173) goto L220 (error at decode_output:243) else goto L221 -L135: - dec_ref r169 - r174 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r174) goto L180 (error at decode_output:244) else goto L136 -L136: - r175 = '_address' - r176 = CPyObject_GetAttr(r174, r175) - dec_ref r174 - if is_error(r176) goto L180 (error at decode_output:244) else goto L137 -L137: - r177 = dank_mids.brownie_patch.call.globals :: static - r178 = '_skip_proc_pool' - r179 = CPyDict_GetItem(r177, r178) - if is_error(r179) goto L222 (error at decode_output:244) else goto L138 -L138: - r180 = cast(set, r179) - if is_error(r180) goto L222 (error at decode_output:244) else goto L139 -L139: - r181 = PySet_Contains(r180, r176) - dec_ref r180 - dec_ref r176 - r182 = r181 >= 0 :: signed - if not r182 goto L180 (error at decode_output:244) else goto L140 :: bool -L140: - r183 = truncate r181: i32 to builtins.bool - r184 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r184) goto L180 (error at decode_output:244) else goto L141 -L141: - r185 = '_skip_decoder_proc_pool' - r186 = box(bool, r183) - r187 = PyObject_SetAttr(r184, r185, r186) - dec_ref r184 - r188 = r187 >= 0 :: signed - if not r188 goto L180 (error at decode_output:244) else goto L142 :: bool -L142: - r189 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r189) goto L180 (error at decode_output:245) else goto L143 -L143: - r190 = __mypyc_self__.__mypyc_generator_attribute__data - if is_error(r190) goto L223 (error at decode_output:245) else goto L144 -L144: - r191 = decode_output(r189, r190) - dec_ref r189 - dec_ref r190 - if is_error(r191) goto L180 (error at decode_output:245) else goto L145 -L145: - __mypyc_self__.__mypyc_temp__37 = r191; r192 = is_error - if not r192 goto L180 (error at decode_output:-1) else goto L146 :: bool -L146: - r193 = __mypyc_self__.__mypyc_temp__37 - if is_error(r193) goto L180 (error at decode_output:-1) else goto L147 -L147: - r194 = load_address _Py_NoneStruct - r195 = :: object - r3 = r195 - r196 = load_address r3 - r197 = r193.__mypyc_generator_helper__(r194, r194, r194, r194, r196) - dec_ref r193 - if is_error(r197) goto L148 else goto L224 -L148: - r198 = r3 != 0 - if not r198 goto L225 (error at decode_output:-1) else goto L149 :: bool -L149: - r199 = r3 - r200 = :: dank_mids.brownie_patch.call.decode_output_gen - __mypyc_self__.__mypyc_temp__37 = r200; r201 = is_error - if not r201 goto L226 (error at decode_output:245) else goto L172 :: bool -L150: - r202 = r197 -L151: - __mypyc_self__.__mypyc_next_label__ = 2 - return r202 -L152: - r204 = load_address _Py_NoneStruct - r205 = type != r204 - if r205 goto L153 else goto L227 :: bool -L153: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L156 (error at decode_output:245) else goto L228 :: bool -L154: - unreachable -L155: - inc_ref arg - goto L167 -L156: - r206 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__38 = r206; r207 = is_error - if not r207 goto L229 (error at decode_output:-1) else goto L157 :: bool -L157: - r208 = load_address r5 - r209 = __mypyc_self__.__mypyc_temp__37 - if is_error(r209) goto L229 (error at decode_output:-1) else goto L158 -L158: - r210 = CPy_YieldFromErrorHandle(r209, r208) - dec_ref r209 - if is_error(r210) goto L229 (error at decode_output:245) else goto L159 -L159: - if r210 goto L162 else goto L160 :: bool -L160: - r202 = r5 - r211 = __mypyc_self__.__mypyc_temp__38 - if is_error(r211) goto L230 (error at decode_output:-1) else goto L161 -L161: - CPy_RestoreExcInfo(r211) - dec_ref r211 - goto L151 -L162: - r199 = r5 - r212 = __mypyc_self__.__mypyc_temp__38 - if is_error(r212) goto L231 (error at decode_output:-1) else goto L163 -L163: - CPy_RestoreExcInfo(r212) - dec_ref r212 - goto L172 -L164: - r213 = __mypyc_self__.__mypyc_temp__38 - if is_error(r213) goto L180 (error at decode_output:-1) else goto L165 -L165: - CPy_RestoreExcInfo(r213) - dec_ref r213 - r214 = CPy_KeepPropagating() - if not r214 goto L180 else goto L166 :: bool -L166: - unreachable -L167: - r215 = __mypyc_self__.__mypyc_temp__37 - if is_error(r215) goto L232 (error at decode_output:-1) else goto L168 -L168: - r216 = CPyIter_Send(r215, arg) - dec_ref r215 - dec_ref arg - if is_error(r216) goto L170 else goto L169 -L169: - r202 = r216 - goto L151 -L170: - r217 = CPy_FetchStopIterationValue() - if is_error(r217) goto L180 (error at decode_output:245) else goto L171 -L171: - r199 = r217 -L172: - r218 = __mypyc_self__.__mypyc_temp__36 - if is_error(r218) goto L226 (error at decode_output:-1) else goto L173 -L173: - CPy_RestoreExcInfo(r218) - dec_ref r218 - __mypyc_self__.__mypyc_next_label__ = -1 -L174: - if is_error(stop_iter_ptr) goto L175 else goto L177 -L175: - CPyGen_SetStopIterationValue(r199) - dec_ref r199 - if not 0 goto L188 else goto L176 :: bool -L176: - unreachable -L177: - set_mem stop_iter_ptr, r199 :: builtins.object* - return 0 -L178: - CPy_Reraise() - if not 0 goto L180 else goto L179 :: bool -L179: - unreachable -L180: - r220 = __mypyc_self__.__mypyc_temp__36 - if is_error(r220) goto L188 (error at decode_output:-1) else goto L181 -L181: - CPy_RestoreExcInfo(r220) - dec_ref r220 - r221 = CPy_KeepPropagating() - if not r221 goto L188 else goto L182 :: bool -L182: - unreachable -L183: - r222 = r6 == 0 - if r222 goto L233 else goto L184 :: bool -L184: - r223 = r6 == 1 - if r223 goto L234 else goto L235 :: bool -L185: - r224 = r6 == 2 - if r224 goto L152 else goto L236 :: bool -L186: - r225 = raise StopIteration - if not r225 goto L188 (error at decode_output:216) else goto L187 :: bool -L187: - unreachable -L188: - r226 = :: object - return r226 -L189: - dec_ref r11 - goto L188 -L190: - dec_ref r12 - goto L188 -L191: - dec_ref r26 - goto L102 -L192: - dec_ref r33 - goto L57 -L193: - dec_ref r33 - dec_ref r34 - goto L25 -L194: - dec_ref r33 - dec_ref r34 - goto L57 -L195: - dec_ref r45 - goto L57 -L196: - xdec_ref r1 - goto L39 -L197: - xdec_ref r1 - goto L38 -L198: - xdec_ref r1 - goto L48 -L199: - dec_ref r48 - goto L48 -L200: - dec_ref r45 - goto L48 -L201: - dec_ref arg - goto L57 -L202: - dec_ref r78 - goto L86 -L203: - dec_ref r78 - dec_ref r79 - goto L86 -L204: - dec_ref r78 - dec_ref r79 - dec_ref r82 - goto L86 -L205: - dec_ref r86 - goto L69 -L206: - dec_ref r93 - goto L86 -L207: - dec_ref r99 - goto L86 -L208: - dec_ref r106 - goto L86 -L209: - dec_ref r116 - goto L102 -L210: - dec_ref r136 - goto L180 -L211: - dec_ref r136 - dec_ref r137 - goto L180 -L212: - dec_ref r136 - dec_ref r137 - dec_ref r140 - goto L180 -L213: - dec_ref r136 - dec_ref r137 - dec_ref r140 - dec_ref r141 - goto L180 -L214: - dec_ref r137 - dec_ref r140 - dec_ref r141 - dec_ref r142 - goto L180 -L215: - dec_ref r143 - goto L114 -L216: - dec_ref r140 - dec_ref r141 - dec_ref r142 - goto L180 -L217: - dec_ref r141 - dec_ref r142 - goto L180 -L218: - dec_ref r142 - goto L180 -L219: - dec_ref r150 - goto L180 -L220: - dec_ref r169 - goto L180 -L221: - dec_ref r173 - goto L135 -L222: - dec_ref r176 - goto L180 -L223: - dec_ref r189 - goto L180 -L224: - xdec_ref r3 - goto L150 -L225: - xdec_ref r3 - goto L180 -L226: - dec_ref r199 - goto L180 -L227: - xdec_ref r5 - goto L155 -L228: - xdec_ref r5 - goto L154 -L229: - xdec_ref r5 - goto L164 -L230: - dec_ref r202 - goto L164 -L231: - dec_ref r199 - goto L164 -L232: - dec_ref arg - goto L180 -L233: - xdec_ref r1 - xdec_ref r5 - goto L1 -L234: - xdec_ref r5 - goto L36 -L235: - xdec_ref r1 - goto L185 -L236: - xdec_ref r5 - goto L186 - -def decode_output_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call.decode_output_gen - r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = decode_output_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 +L28: + r35 = ' took ' + r36 = box(float, r18) + r37 = PyObject_Str(r36) + dec_ref r36 + if is_error(r37) goto L37 (error at log_duration:106) else goto L29 +L29: + r38 = CPyStr_Build(3, work_descriptor, r35, r37) + dec_ref r37 + if is_error(r38) goto L37 (error at log_duration:106) else goto L30 +L30: + r39 = CPyTuple_LoadEmptyTupleConstant() + r40 = PyDict_New() + if is_error(r40) goto L43 (error at log_duration:106) else goto L31 +L31: + r41 = r33._log_nocheck(level, r38, r39, r40) + dec_ref level :: int + dec_ref r38 + dec_ref r39 + dec_ref r40 + if is_error(r41) goto L33 (error at log_duration:106) else goto L32 +L32: + return 1 +L33: + r42 = :: None + return r42 +L34: + inc_ref level :: int + goto L2 +L35: + dec_ref level :: int + goto L3 +L36: + dec_ref level :: int + dec_ref r3 + goto L33 +L37: + dec_ref level :: int + goto L33 +L38: + dec_ref level :: int + goto L32 +L39: + dec_ref level :: int + goto L19 +L40: + dec_ref level :: int + dec_ref r27 + dec_ref r29 + goto L33 +L41: + dec_ref r32 + goto L23 +L42: + dec_ref level :: int + goto L26 +L43: + dec_ref level :: int + dec_ref r38 + dec_ref r39 + goto L33 -def decode_output_gen.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids.brownie_patch.call.decode_output_gen - arg, r0, r1, r2 :: object +def _StatsLogger.enabled(self): + self :: dank_mids.stats._StatsLogger + r0 :: None + r1 :: str + r2 :: object + r3 :: object[2] + r4 :: object_ptr + r5 :: object + r6, r7 :: bool L0: - r0 = load_address _Py_NoneStruct - r1 = decode_output_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) - if is_error(r1) goto L2 else goto L1 + r0 = self._ensure_daemon() + if is_error(r0) goto L4 (error at enabled:134) else goto L1 L1: - return r1 + r1 = 'isEnabledFor' + r2 = object 13 + r3 = [self, r2] + r4 = load_address r3 + r5 = PyObject_VectorcallMethod(r1, r4, 9223372036854775810, 0) + if is_error(r5) goto L4 (error at enabled:135) else goto L2 L2: - r2 = :: object - return r2 - -def decode_output_gen.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call.decode_output_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ + r6 = unbox(bool, r5) + dec_ref r5 + if is_error(r6) goto L4 (error at enabled:135) else goto L3 +L3: + return r6 +L4: + r7 = :: bool + return r7 -def decode_output_gen.throw(__mypyc_self__, type, value, traceback): - __mypyc_self__ :: dank_mids.brownie_patch.call.decode_output_gen - type, value, traceback, r0, r1, r2 :: object +def _StatsLogger.stats(self, msg, args, kwargs): + self :: dank_mids.stats._StatsLogger + msg :: str + args :: tuple + kwargs :: dict + r0 :: bool + r1 :: str + r2 :: object + r3 :: dict + r4 :: i32 + r5 :: bit + r6 :: object + r7 :: tuple + r8 :: object + r9 :: None L0: - r0 = load_address _Py_NoneStruct - if is_error(value) goto L1 else goto L7 + r0 = self.enabled + if is_error(r0) goto L8 (error at stats:151) else goto L1 L1: - inc_ref r0 - value = r0 + if r0 goto L2 else goto L7 :: bool L2: - if is_error(traceback) goto L3 else goto L8 + r1 = '_log_nocheck' + r2 = CPyObject_GetAttr(self, r1) + if is_error(r2) goto L8 (error at stats:152) else goto L3 L3: - inc_ref r0 - traceback = r0 + r3 = PyDict_New() + if is_error(r3) goto L9 (error at stats:152) else goto L4 L4: - r1 = decode_output_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) - dec_ref value - dec_ref traceback - if is_error(r1) goto L6 else goto L5 + r4 = CPyDict_UpdateInDisplay(r3, kwargs) + r5 = r4 >= 0 :: signed + if not r5 goto L10 (error at stats:152) else goto L5 :: bool L5: - return r1 + r6 = object 13 + r7 = PyTuple_Pack(3, r6, msg, args) + if is_error(r7) goto L10 (error at stats:152) else goto L6 L6: - r2 = :: object - return r2 + r8 = PyObject_Call(r2, r7, r3) + dec_ref r2 + dec_ref r7 + dec_ref r3 + if is_error(r8) goto L8 (error at stats:152) else goto L11 L7: - inc_ref value - goto L2 + return 1 L8: - inc_ref traceback - goto L4 + r9 = :: None + return r9 +L9: + dec_ref r2 + goto L8 +L10: + dec_ref r2 + dec_ref r3 + goto L8 +L11: + dec_ref r8 + goto L7 -def decode_output_gen.close(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call.decode_output_gen - r0 :: object - r1 :: str - r2, r3, r4, r5 :: object - r6 :: tuple[object, object, object] +def _StatsLogger.devhint(self, msg, args, kwargs): + self :: dank_mids.stats._StatsLogger + msg :: str + args :: tuple + kwargs :: dict + r0 :: str + r1 :: object + r2 :: dict + r3 :: i32 + r4 :: bit + r5 :: object + r6 :: tuple r7 :: object - r8 :: str - r9 :: object - r10 :: tuple[object, object] - r11 :: object - r12 :: bit - r13 :: object - r14 :: bool - r15 :: object + r8 :: None L0: + r0 = '_log' + r1 = CPyObject_GetAttr(self, r0) + if is_error(r1) goto L6 (error at devhint:166) else goto L1 L1: - r0 = builtins :: module - r1 = 'GeneratorExit' - r2 = CPyObject_GetAttr(r0, r1) - if is_error(r2) goto L3 else goto L2 + r2 = PyDict_New() + if is_error(r2) goto L7 (error at devhint:166) 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 + r3 = CPyDict_UpdateInDisplay(r2, kwargs) + r4 = r3 >= 0 :: signed + if not r4 goto L8 (error at devhint:166) 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 + r5 = object 15 + r6 = PyTuple_Pack(3, r5, msg, args) + if is_error(r6) goto L8 (error at devhint:166) 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 = PyObject_Call(r1, r6, r2) + dec_ref r1 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 decode_output_gen.__await__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call.decode_output_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def decode_output(call, data): - call :: object - data :: bytes - r0 :: dank_mids.brownie_patch.call.decode_output_gen - r1, r2, r3 :: bool - r4 :: dank_mids.brownie_patch.call.decode_output_gen -L0: - r0 = decode_output_gen() - if is_error(r0) goto L4 (error at decode_output:216) else goto L1 -L1: - r0.__mypyc_next_label__ = 0 - inc_ref call - r0.__mypyc_generator_attribute__call = call; r2 = is_error - if not r2 goto L5 (error at decode_output:216) else goto L2 :: bool -L2: - inc_ref data - r0.__mypyc_generator_attribute__data = data; r3 = is_error - if not r3 goto L5 (error at decode_output:216) else goto L3 :: bool -L3: - return r0 -L4: - r4 = :: dank_mids.brownie_patch.call.decode_output_gen - return r4 -L5: - dec_ref r0 - goto L4 - -def _request_data_no_args_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): - __mypyc_self__ :: dank_mids.brownie_patch.call._request_data_no_args_gen - type, value, traceback, arg :: object - stop_iter_ptr :: object_ptr - r0 :: i32 - r1 :: object - r2 :: bit - r3 :: object - r4 :: str - r5 :: object - r6 :: bool - r7 :: bit - r8 :: bool - r9 :: object -L0: - r0 = __mypyc_self__.__mypyc_next_label__ - goto L11 -L1: - r1 = load_address _Py_NoneStruct - r2 = type != r1 - if r2 goto L2 else goto L4 :: bool -L2: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L14 (error at _request_data_no_args:248) else goto L3 :: bool -L3: - unreachable -L4: - r3 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r3) goto L14 (error at _request_data_no_args:249) else goto L5 + if is_error(r7) goto L6 (error at devhint:166) else goto L9 L5: - r4 = 'signature' - r5 = CPyObject_GetAttr(r3, r4) - dec_ref r3 - if is_error(r5) goto L14 (error at _request_data_no_args:249) else goto L6 + return 1 L6: - __mypyc_self__.__mypyc_next_label__ = -1 + r8 = :: None + return r8 L7: - if is_error(stop_iter_ptr) goto L8 else goto L10 + dec_ref r1 + goto L6 L8: - CPyGen_SetStopIterationValue(r5) - dec_ref r5 - if not 0 goto L14 else goto L9 :: bool + dec_ref r1 + dec_ref r2 + goto L6 L9: - unreachable -L10: - set_mem stop_iter_ptr, r5 :: builtins.object* - return 0 -L11: - r7 = r0 == 0 - if r7 goto L1 else goto L12 :: bool -L12: - r8 = raise StopIteration - if not r8 goto L14 (error at _request_data_no_args:248) else goto L13 :: bool -L13: - unreachable -L14: - r9 = :: object - return r9 - -def _request_data_no_args_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call._request_data_no_args_gen - r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = _request_data_no_args_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def _request_data_no_args_gen.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids.brownie_patch.call._request_data_no_args_gen - arg, r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = _request_data_no_args_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def _request_data_no_args_gen.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call._request_data_no_args_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ + dec_ref r7 + goto L5 -def _request_data_no_args_gen.throw(__mypyc_self__, type, value, traceback): - __mypyc_self__ :: dank_mids.brownie_patch.call._request_data_no_args_gen - type, value, traceback, r0, r1, r2 :: object +def _StatsLogger.log_brownie_stats(self, level): + self :: dank_mids.stats._StatsLogger + level :: int + r0 :: object + r1 :: str + r2 :: object + r3 :: tuple + r4 :: dict + r5, r6 :: None L0: - r0 = load_address _Py_NoneStruct - if is_error(value) goto L1 else goto L7 + if is_error(level) goto L1 else goto L7 L1: - inc_ref r0 - value = r0 + level = 26 L2: - if is_error(traceback) goto L3 else goto L8 + r0 = dank_mids.stats._Writer :: type + r1 = 'brownie' + r2 = CPyObject_GetAttr(r0, r1) + if is_error(r2) goto L8 (error at log_brownie_stats:180) else goto L3 L3: - inc_ref r0 - traceback = r0 + r3 = CPyTuple_LoadEmptyTupleConstant() + r4 = PyDict_New() + if is_error(r4) goto L9 (error at log_brownie_stats:180) else goto L4 L4: - r1 = _request_data_no_args_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) - dec_ref value - dec_ref traceback - if is_error(r1) goto L6 else goto L5 + r5 = self._log_fn_result(level, r2, r3, r4) + dec_ref level :: int + dec_ref r2 + dec_ref r3 + dec_ref r4 + if is_error(r5) goto L6 (error at log_brownie_stats:180) else goto L5 L5: - return r1 + return 1 L6: - r2 = :: object - return r2 + r6 = :: None + return r6 L7: - inc_ref value + inc_ref level :: int goto L2 L8: - inc_ref traceback - goto L4 + dec_ref level :: int + goto L6 +L9: + dec_ref level :: int + dec_ref r2 + dec_ref r3 + goto L6 -def _request_data_no_args_gen.close(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call._request_data_no_args_gen +def _StatsLogger.log_event_loop_stats(self, level): + self :: dank_mids.stats._StatsLogger + level :: int 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 + r2 :: object + r3 :: tuple + r4 :: dict + r5, r6 :: None L0: + if is_error(level) goto L1 else goto L7 L1: - r0 = builtins :: module - r1 = 'GeneratorExit' - r2 = CPyObject_GetAttr(r0, r1) - if is_error(r2) goto L3 else goto L2 + level = 26 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 + r0 = dank_mids.stats._Writer :: type + r1 = 'event_loop' + r2 = CPyObject_GetAttr(r0, r1) + if is_error(r2) goto L8 (error at log_event_loop_stats:192) else goto L3 L3: - r6 = CPy_CatchError() - r7 = builtins :: module - r8 = 'StopIteration' - r9 = CPyObject_GetAttr(r7, r8) - if is_error(r9) goto L12 else goto L4 + r3 = CPyTuple_LoadEmptyTupleConstant() + r4 = PyDict_New() + if is_error(r4) goto L9 (error at log_event_loop_stats:192) 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 + r5 = self._log_fn_result(level, r2, r3, r4) + dec_ref level :: int + dec_ref r2 + dec_ref r3 + dec_ref r4 + if is_error(r5) goto L6 (error at log_event_loop_stats:192) else goto L5 L5: - CPy_RestoreExcInfo(r6) - dec_ref r6 - r13 = load_address _Py_NoneStruct - inc_ref r13 - return r13 + return 1 L6: - CPy_Reraise() - if not 0 goto L10 else goto L7 :: bool + r6 = :: None + return r6 L7: - unreachable + inc_ref level :: int + goto L2 L8: - r14 = raise RuntimeError('generator ignored GeneratorExit') - if not r14 goto L10 else goto L9 :: bool + dec_ref level :: int + goto L6 L9: - unreachable -L10: - r15 = :: object - return r15 -L11: - dec_ref r2 - dec_ref r5 - goto L8 -L12: + dec_ref level :: int dec_ref r2 - dec_ref r6 - goto L10 -L13: - dec_ref r6 + dec_ref r3 goto L6 -def _request_data_no_args_gen.__await__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.call._request_data_no_args_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def _request_data_no_args(call): - call :: object - r0 :: dank_mids.brownie_patch.call._request_data_no_args_gen - r1, r2 :: bool - r3 :: dank_mids.brownie_patch.call._request_data_no_args_gen -L0: - r0 = _request_data_no_args_gen() - if is_error(r0) goto L3 (error at _request_data_no_args:248) else goto L1 -L1: - r0.__mypyc_next_label__ = 0 - inc_ref call - r0.__mypyc_generator_attribute__call = call; r2 = is_error - if not r2 goto L4 (error at _request_data_no_args:248) else goto L2 :: bool -L2: - return r0 -L3: - r3 = :: dank_mids.brownie_patch.call._request_data_no_args_gen - return r3 -L4: - dec_ref r0 - goto L3 - -def __encode_input(abi, signature, args): - abi :: dict - signature :: str - args :: tuple - r0 :: list +def _StatsLogger.log_subprocess_stats(self, level): + self :: dank_mids.stats._StatsLogger + level :: int + r0 :: dict r1 :: str r2 :: object - r3 :: dict - r4 :: str - r5 :: object - r6 :: object[1] - r7 :: object_ptr - r8, r9 :: object - r10 :: bool - r11 :: object[2] - r12 :: object_ptr - r13 :: object - r14 :: bytes - r15 :: str - r16 :: object[1] - r17 :: object_ptr - r18 :: object - r19, r20 :: str - r21 :: tuple[object, object, object] - r22 :: object - r23 :: str - r24 :: object - r25 :: bit + r3 :: str + r4 :: object + r5 :: dict + r6 :: str + r7 :: object + r8 :: str + r9 :: object + r10 :: dict + r11 :: str + r12 :: object + r13 :: str + r14 :: object + r15 :: set + r16 :: i32 + r17 :: bit + r18 :: i32 + r19 :: bit + r20 :: i32 + r21 :: bit + r22, r23, r24 :: object + r25 :: str r26 :: object - r27 :: bit - r28 :: union[str, object] + r27 :: tuple + r28 :: dict + r29 :: None + r30 :: bit + r31 :: None L0: + if is_error(level) goto L1 else goto L21 L1: - r0 = format_input_but_cache_checksums(abi, args) - if is_error(r0) goto L14 (error at __encode_input:260) else goto L2 + level = 26 L2: - r1 = 'inputs' - r2 = CPyDict_GetItem(abi, r1) - if is_error(r2) goto L22 (error at __encode_input:261) else goto L3 + r0 = dank_mids.stats.globals :: static + r1 = 'ENVS' + r2 = CPyDict_GetItem(r0, r1) + if is_error(r2) goto L22 (error at log_subprocess_stats:204) else goto L3 L3: - r3 = dank_mids.brownie_patch.call.globals :: static - r4 = 'get_type_strings' - r5 = CPyDict_GetItem(r3, r4) - if is_error(r5) goto L23 (error at __encode_input:261) else goto L4 + r3 = 'BROWNIE_ENCODER_PROCESSES' + r4 = CPyObject_GetAttr(r2, r3) + dec_ref r2 + if is_error(r4) goto L22 (error at log_subprocess_stats:204) else goto L4 L4: - r6 = [r2] - r7 = load_address r6 - r8 = PyObject_Vectorcall(r5, r7, 1, 0) - dec_ref r5 - if is_error(r8) goto L23 (error at __encode_input:261) else goto L5 + r5 = dank_mids.stats.globals :: static + r6 = 'ENVS' + r7 = CPyDict_GetItem(r5, r6) + if is_error(r7) goto L23 (error at log_subprocess_stats:204) else goto L5 L5: - dec_ref r2 - r9 = dank_mids.brownie_patch.call.__eth_abi_encode :: static - if is_error(r9) goto L24 else goto L8 + r8 = 'BROWNIE_DECODER_PROCESSES' + r9 = CPyObject_GetAttr(r7, r8) + dec_ref r7 + if is_error(r9) goto L23 (error at log_subprocess_stats:204) else goto L6 L6: - r10 = raise NameError('value for final name "__eth_abi_encode" was not set') - if not r10 goto L14 (error at __encode_input:262) else goto L7 :: bool + r10 = dank_mids.stats.globals :: static + r11 = 'ENVS' + r12 = CPyDict_GetItem(r10, r11) + if is_error(r12) goto L24 (error at log_subprocess_stats:204) else goto L7 L7: - unreachable + r13 = 'MULTICALL_DECODER_PROCESSES' + r14 = CPyObject_GetAttr(r12, r13) + dec_ref r12 + if is_error(r14) goto L24 (error at log_subprocess_stats:204) else goto L8 L8: - r11 = [r8, r0] - r12 = load_address r11 - r13 = PyObject_Vectorcall(r9, r12, 2, 0) - if is_error(r13) goto L25 (error at __encode_input:262) else goto L9 + r15 = PySet_New(0) + if is_error(r15) goto L25 (error at log_subprocess_stats:204) else goto L9 L9: - dec_ref r8 - dec_ref r0 - r14 = cast(bytes, r13) - if is_error(r14) goto L14 (error at __encode_input:262) else goto L10 + r16 = PySet_Add(r15, r4) + dec_ref r4 + r17 = r16 >= 0 :: signed + if not r17 goto L26 (error at log_subprocess_stats:204) else goto L10 :: bool L10: - r15 = 'hex' - r16 = [r14] - r17 = load_address r16 - r18 = PyObject_VectorcallMethod(r15, r17, 9223372036854775809, 0) - if is_error(r18) goto L26 (error at __encode_input:262) else goto L11 + r18 = PySet_Add(r15, r9) + dec_ref r9 + r19 = r18 >= 0 :: signed + if not r19 goto L27 (error at log_subprocess_stats:204) else goto L11 :: bool L11: + r20 = PySet_Add(r15, r14) dec_ref r14 - r19 = cast(str, r18) - if is_error(r19) goto L14 (error at __encode_input:262) else goto L12 + r21 = r20 >= 0 :: signed + if not r21 goto L28 (error at log_subprocess_stats:204) else goto L12 :: bool L12: - r20 = PyUnicode_Concat(signature, r19) - dec_ref r19 - if is_error(r20) goto L14 (error at __encode_input:262) else goto L13 + r22 = PyObject_GetIter(r15) + dec_ref r15 + if is_error(r22) goto L22 (error at log_subprocess_stats:204) else goto L13 L13: - return r20 + r23 = PyIter_Next(r22) + if is_error(r23) goto L29 else goto L14 L14: - r21 = CPy_CatchError() - r22 = builtins :: module - r23 = 'Exception' - r24 = CPyObject_GetAttr(r22, r23) - if is_error(r24) goto L19 (error at __encode_input:263) else goto L15 + r24 = dank_mids.stats._Writer :: type + r25 = 'queue' + r26 = CPyObject_GetAttr(r24, r25) + if is_error(r26) goto L30 (error at log_subprocess_stats:205) else goto L15 L15: - r25 = CPy_ExceptionMatches(r24) - dec_ref r24 - if r25 goto L16 else goto L17 :: bool + r27 = PyTuple_Pack(1, r23) + dec_ref r23 + if is_error(r27) goto L31 (error at log_subprocess_stats:205) else goto L16 L16: - r26 = CPy_GetExcValue() - CPy_RestoreExcInfo(r21) - dec_ref r21 - return r26 + r28 = PyDict_New() + if is_error(r28) goto L32 (error at log_subprocess_stats:205) else goto L17 L17: - CPy_Reraise() - if not 0 goto L19 else goto L27 :: bool + r29 = self._log_fn_result(level, r26, r27, r28) + dec_ref r26 + dec_ref r27 + dec_ref r28 + if is_error(r29) goto L33 (error at log_subprocess_stats:205) else goto L13 L18: - unreachable + r30 = CPy_NoErrOccurred() + if not r30 goto L20 (error at log_subprocess_stats:204) else goto L19 :: bool L19: - CPy_RestoreExcInfo(r21) - dec_ref r21 - r27 = CPy_KeepPropagating() - if not r27 goto L21 else goto L20 :: bool + return 1 L20: - unreachable + r31 = :: None + return r31 L21: - r28 = :: union[str, object] - return r28 + inc_ref level :: int + goto L2 L22: - dec_ref r0 - goto L14 + dec_ref level :: int + goto L20 L23: - dec_ref r0 - dec_ref r2 - goto L14 + dec_ref level :: int + dec_ref r4 + goto L20 L24: - dec_ref r0 - dec_ref r8 - goto L6 + dec_ref level :: int + dec_ref r4 + dec_ref r9 + goto L20 L25: - dec_ref r0 - dec_ref r8 - goto L14 + dec_ref level :: int + dec_ref r4 + dec_ref r9 + dec_ref r14 + goto L20 L26: + dec_ref level :: int + dec_ref r9 dec_ref r14 - goto L14 + dec_ref r15 + goto L20 L27: - dec_ref r21 + dec_ref level :: int + dec_ref r14 + dec_ref r15 + goto L20 +L28: + dec_ref level :: int + dec_ref r15 + goto L20 +L29: + dec_ref level :: int + dec_ref r22 goto L18 +L30: + dec_ref level :: int + dec_ref r22 + dec_ref r23 + goto L20 +L31: + dec_ref level :: int + dec_ref r22 + dec_ref r26 + goto L20 +L32: + dec_ref level :: int + dec_ref r22 + dec_ref r26 + dec_ref r27 + goto L20 +L33: + dec_ref level :: int + dec_ref r22 + goto L20 -def __decode_output(hexstr, abi): - hexstr :: object - abi :: dict - r0 :: str +def _StatsLogger._log(self, level, msg, args, kwargs): + self :: dank_mids.stats._StatsLogger + level :: int + msg :: str + args :: tuple + kwargs :: dict + r0 :: tuple[] r1 :: object - r2 :: dict - r3 :: str - r4 :: object - r5 :: object[1] - r6 :: object_ptr - r7, r8 :: object - r9 :: bool - r10 :: object[1] - r11 :: object_ptr - r12, r13 :: object - r14 :: bool - r15 :: object[2] - r16 :: object_ptr - r17 :: object - r18, result :: tuple - r19 :: object - r20 :: tuple - r21 :: ptr - r22 :: native_int - r23 :: short_int - r24 :: bit - r25, r26 :: object - r27 :: tuple[object, object, object] - r28 :: dict - r29 :: str - r30 :: object - r31 :: bit - r32, e :: object - r33 :: str - r34 :: object - r35, r36 :: str - r37 :: dict - r38 :: list - r39 :: object - r40 :: i32 - r41 :: bit - r42 :: tuple - r43 :: str - r44 :: i32 - r45 :: bit - r46 :: object - r47 :: str - r48 :: object - r49 :: bit - r50 :: object - r51 :: bit - r52 :: object + r2 :: str + r3 :: object + r4 :: object[2] + r5 :: object_ptr + r6 :: object + r7 :: bool + r8 :: str + r9 :: object + r10 :: list + r11 :: object + r12, r13, r14 :: ptr + r15 :: object + r16 :: dict + r17 :: i32 + r18 :: bit + r19 :: tuple + r20 :: object + r21, r22 :: None L0: + if is_error(args) goto L1 else goto L16 L1: - r0 = 'outputs' - r1 = CPyDict_GetItem(abi, r0) - if is_error(r1) goto L20 (error at __decode_output:282) else goto L2 + r0 = () + r1 = box(tuple[], r0) + args = r1 L2: - r2 = dank_mids.brownie_patch.call.globals :: static - r3 = 'get_type_strings' - r4 = CPyDict_GetItem(r2, r3) - if is_error(r4) goto L38 (error at __decode_output:282) else goto L3 + r2 = 'isEnabledFor' + inc_ref level :: int + r3 = box(int, level) + r4 = [self, r3] + r5 = load_address r4 + r6 = PyObject_VectorcallMethod(r2, r5, 9223372036854775810, 0) + if is_error(r6) goto L17 (error at _log:218) else goto L3 L3: - r5 = [r1] - r6 = load_address r5 - r7 = PyObject_Vectorcall(r4, r6, 1, 0) - dec_ref r4 - if is_error(r7) goto L38 (error at __decode_output:282) else goto L4 + dec_ref r3 + r7 = unbox(bool, r6) + dec_ref r6 + if is_error(r7) goto L18 (error at _log:218) else goto L4 L4: - dec_ref r1 - r8 = dank_mids.brownie_patch.call.HexBytes :: static - if is_error(r8) goto L39 else goto L7 + if r7 goto L5 else goto L19 :: bool L5: - r9 = raise NameError('value for final name "HexBytes" was not set') - if not r9 goto L20 (error at __decode_output:283) else goto L6 :: bool + r8 = '_log_nocheck' + r9 = CPyObject_GetAttr(self, r8) + if is_error(r9) goto L18 (error at _log:219) else goto L6 L6: - unreachable + r10 = PyList_New(2) + if is_error(r10) goto L20 (error at _log:219) else goto L7 L7: - r10 = [hexstr] - r11 = load_address r10 - r12 = PyObject_Vectorcall(r8, r11, 1, 0) - if is_error(r12) goto L40 (error at __decode_output:283) else goto L8 + inc_ref level :: int + r11 = box(int, level) + r12 = get_element_ptr r10 ob_item :: PyListObject + r13 = load_mem r12 :: ptr* + set_mem r13, r11 :: builtins.object* + inc_ref msg + r14 = r13 + 8 + set_mem r14, msg :: builtins.object* + r15 = CPyList_Extend(r10, args) + dec_ref args + if is_error(r15) goto L21 (error at _log:219) else goto L22 L8: - r13 = dank_mids.brownie_patch.call.__eth_abi_decode :: static - if is_error(r13) goto L41 else goto L11 + r16 = PyDict_New() + if is_error(r16) goto L21 (error at _log:219) else goto L9 L9: - r14 = raise NameError('value for final name "__eth_abi_decode" was not set') - if not r14 goto L20 (error at __decode_output:283) else goto L10 :: bool + r17 = CPyDict_UpdateInDisplay(r16, kwargs) + r18 = r17 >= 0 :: signed + if not r18 goto L23 (error at _log:219) else goto L10 :: bool L10: - unreachable + r19 = PyList_AsTuple(r10) + dec_ref r10 + if is_error(r19) goto L24 (error at _log:219) else goto L11 L11: - r15 = [r7, r12] - r16 = load_address r15 - r17 = PyObject_Vectorcall(r13, r16, 2, 0) - if is_error(r17) goto L42 (error at __decode_output:283) else goto L12 + r20 = PyObject_Call(r9, r19, r16) + dec_ref r9 + dec_ref r19 + dec_ref r16 + if is_error(r20) goto L15 (error at _log:219) else goto L12 L12: - dec_ref r7 - dec_ref r12 - r18 = cast(tuple, r17) - if is_error(r18) goto L20 (error at __decode_output:283) else goto L13 + r21 = unbox(None, r20) + dec_ref r20 + if is_error(r21) goto L15 (error at _log:219) else goto L13 L13: - result = r18 - r19 = format_output_but_cache_checksums(abi, result) - dec_ref result - if is_error(r19) goto L20 (error at __decode_output:284) else goto L14 + return r21 L14: - r20 = cast(tuple, r19) - if is_error(r20) goto L20 (error at __decode_output:284) else goto L15 + return 1 L15: - result = r20 - r21 = get_element_ptr result ob_size :: PyVarObject - r22 = load_mem r21 :: native_int* - r23 = r22 << 1 - r24 = r23 == 2 - if r24 goto L16 else goto L18 :: bool + r22 = :: None + return r22 L16: - r25 = CPySequenceTuple_GetItem(result, 0) - dec_ref result - if is_error(r25) goto L20 (error at __decode_output:285) else goto L17 + inc_ref args + goto L2 L17: - r26 = r25 - goto L19 + dec_ref args + dec_ref r3 + goto L15 L18: - r26 = result + dec_ref args + goto L15 L19: - return r26 + dec_ref args + goto L14 L20: - r27 = CPy_CatchError() - r28 = dank_mids.brownie_patch.call.globals :: static - r29 = 'DecodingError' - r30 = CPyDict_GetItem(r28, r29) - if is_error(r30) goto L35 (error at __decode_output:286) else goto L21 + dec_ref args + dec_ref r9 + goto L15 L21: - r31 = CPy_ExceptionMatches(r30) - dec_ref r30 - if r31 goto L22 else goto L30 :: bool + dec_ref r9 + dec_ref r10 + goto L15 L22: - r32 = CPy_GetExcValue() - e = r32 - r33 = 'args' - r34 = CPyObject_GetAttr(e, r33) - if is_error(r34) goto L43 (error at __decode_output:287) else goto L23 + dec_ref r15 + goto L8 L23: - r35 = 'hexstr' - r36 = 'abi' - r37 = CPyDict_Build(2, r35, hexstr, r36, abi) - if is_error(r37) goto L44 (error at __decode_output:287) else goto L24 + dec_ref r9 + dec_ref r10 + dec_ref r16 + goto L15 L24: - r38 = PyList_New(0) - if is_error(r38) goto L45 (error at __decode_output:287) else goto L25 -L25: - r39 = CPyList_Extend(r38, r34) - dec_ref r34 - if is_error(r39) goto L46 (error at __decode_output:287) else goto L47 -L26: - r40 = PyList_Append(r38, r37) - dec_ref r37 - r41 = r40 >= 0 :: signed - if not r41 goto L48 (error at __decode_output:287) else goto L27 :: bool -L27: - r42 = PyList_AsTuple(r38) - dec_ref r38 - if is_error(r42) goto L43 (error at __decode_output:287) else goto L28 -L28: - r43 = 'args' - r44 = PyObject_SetAttr(e, r43, r42) - dec_ref r42 - r45 = r44 >= 0 :: signed - if not r45 goto L43 (error at __decode_output:287) else goto L29 :: bool -L29: - CPy_RestoreExcInfo(r27) - dec_ref r27 - return e -L30: - r46 = builtins :: module - r47 = 'Exception' - r48 = CPyObject_GetAttr(r46, r47) - if is_error(r48) goto L35 (error at __decode_output:289) else goto L31 -L31: - r49 = CPy_ExceptionMatches(r48) - dec_ref r48 - if r49 goto L32 else goto L33 :: bool -L32: - r50 = CPy_GetExcValue() - e = r50 - CPy_RestoreExcInfo(r27) - dec_ref r27 - return e -L33: - CPy_Reraise() - if not 0 goto L35 else goto L49 :: bool -L34: - unreachable -L35: - CPy_RestoreExcInfo(r27) - dec_ref r27 - r51 = CPy_KeepPropagating() - if not r51 goto L37 else goto L36 :: bool -L36: - unreachable -L37: - r52 = :: object - return r52 -L38: - dec_ref r1 - goto L20 -L39: - dec_ref r7 - goto L5 -L40: - dec_ref r7 - goto L20 -L41: - dec_ref r7 + dec_ref r9 + dec_ref r16 + goto L15 + +def _StatsLogger._log_nocheck(self, level, msg, args, kwargs): + self :: dank_mids.stats._StatsLogger + level :: int + msg :: str + args :: tuple + kwargs :: dict + r0 :: object + r1 :: str + r2, r3 :: object + r4 :: object[2] + r5 :: object_ptr + r6 :: object + r7 :: str + r8 :: object + r9 :: dict + r10 :: i32 + r11 :: bit + r12 :: object + r13 :: tuple + r14 :: object + r15, r16 :: None +L0: + r0 = builtins :: module + r1 = 'super' + r2 = CPyObject_GetAttr(r0, r1) + if is_error(r2) goto L9 (error at _log_nocheck:233) else goto L1 +L1: + r3 = dank_mids.stats._StatsLogger :: type + r4 = [r3, self] + r5 = load_address r4 + r6 = PyObject_Vectorcall(r2, r5, 2, 0) + dec_ref r2 + if is_error(r6) goto L9 (error at _log_nocheck:233) else goto L2 +L2: + r7 = '_log' + r8 = CPyObject_GetAttr(r6, r7) + dec_ref r6 + if is_error(r8) goto L9 (error at _log_nocheck:233) else goto L3 +L3: + r9 = PyDict_New() + if is_error(r9) goto L10 (error at _log_nocheck:233) else goto L4 +L4: + r10 = CPyDict_UpdateInDisplay(r9, kwargs) + r11 = r10 >= 0 :: signed + if not r11 goto L11 (error at _log_nocheck:233) else goto L5 :: bool +L5: + inc_ref level :: int + r12 = box(int, level) + r13 = PyTuple_Pack(3, r12, msg, args) dec_ref r12 + if is_error(r13) goto L11 (error at _log_nocheck:233) else goto L6 +L6: + r14 = PyObject_Call(r8, r13, r9) + dec_ref r8 + dec_ref r13 + dec_ref r9 + if is_error(r14) goto L9 (error at _log_nocheck:233) else goto L7 +L7: + r15 = unbox(None, r14) + dec_ref r14 + if is_error(r15) goto L9 (error at _log_nocheck:233) else goto L8 +L8: + return r15 +L9: + r16 = :: None + return r16 +L10: + dec_ref r8 + goto L9 +L11: + dec_ref r8 + dec_ref r9 goto L9 -L42: - dec_ref r7 - dec_ref r12 - goto L20 -L43: - dec_ref e - goto L35 -L44: - dec_ref e - dec_ref r34 - goto L35 -L45: - dec_ref e - dec_ref r34 - dec_ref r37 - goto L35 -L46: - dec_ref e - dec_ref r37 - dec_ref r38 - goto L35 -L47: - dec_ref r39 - goto L26 -L48: - dec_ref e - dec_ref r38 - goto L35 -L49: - dec_ref r27 - goto L34 -def __validate_output(abi, hexstr): - abi :: dict - hexstr, r0 :: object - r1 :: bool - r2 :: object[1] +def _StatsLogger._log_fn_result(self, level, callable, callable_args, logging_kwargs): + self :: dank_mids.stats._StatsLogger + level :: int + callable :: object + callable_args :: tuple + logging_kwargs :: dict + r0 :: str + r1 :: object + r2 :: object[2] r3 :: object_ptr - r4, r5, r6, r7, r8, r9 :: object - r10 :: str - r11 :: object[1] - r12 :: object_ptr - r13 :: object - r14 :: str - r15 :: object - r16 :: i32 - r17 :: bit - r18 :: bool - r19 :: str - r20 :: list - r21, r22 :: ptr + r4 :: object + r5 :: bool + r6 :: object + r7 :: str + r8 :: tuple[] + r9 :: str + r10 :: object + r11 :: dict + r12 :: i32 + r13 :: bit + r14, r15 :: object + r16 :: tuple + r17 :: object + r18, r19 :: None +L0: + r0 = 'isEnabledFor' + inc_ref level :: int + r1 = box(int, level) + r2 = [self, r1] + r3 = load_address r2 + r4 = PyObject_VectorcallMethod(r0, r3, 9223372036854775810, 0) + if is_error(r4) goto L14 (error at _log_fn_result:251) else goto L1 +L1: + dec_ref r1 + r5 = unbox(bool, r4) + dec_ref r4 + if is_error(r5) goto L13 (error at _log_fn_result:251) else goto L2 +L2: + if r5 goto L3 else goto L12 :: bool +L3: + r6 = PyObject_CallObject(callable, callable_args) + if is_error(r6) goto L13 (error at _log_fn_result:252) else goto L4 +L4: + r7 = cast(str, r6) + if is_error(r7) goto L13 (error at _log_fn_result:252) else goto L5 +L5: + r8 = () + r9 = '_log_nocheck' + r10 = CPyObject_GetAttr(self, r9) + if is_error(r10) goto L15 (error at _log_fn_result:252) else goto L6 +L6: + r11 = PyDict_New() + if is_error(r11) goto L16 (error at _log_fn_result:252) else goto L7 +L7: + r12 = CPyDict_UpdateInDisplay(r11, logging_kwargs) + r13 = r12 >= 0 :: signed + if not r13 goto L17 (error at _log_fn_result:252) else goto L8 :: bool +L8: + inc_ref level :: int + r14 = box(int, level) + r15 = box(tuple[], r8) + r16 = PyTuple_Pack(3, r14, r7, r15) + dec_ref r14 + dec_ref r7 + dec_ref r15 + if is_error(r16) goto L18 (error at _log_fn_result:252) else goto L9 +L9: + r17 = PyObject_Call(r10, r16, r11) + dec_ref r10 + dec_ref r16 + dec_ref r11 + if is_error(r17) goto L13 (error at _log_fn_result:252) else goto L10 +L10: + r18 = unbox(None, r17) + dec_ref r17 + if is_error(r18) goto L13 (error at _log_fn_result:252) else goto L11 +L11: + return r18 +L12: + return 1 +L13: + r19 = :: None + return r19 +L14: + dec_ref r1 + goto L13 +L15: + dec_ref r7 + goto L13 +L16: + dec_ref r7 + dec_ref r10 + goto L13 +L17: + dec_ref r7 + dec_ref r10 + dec_ref r11 + goto L13 +L18: + dec_ref r10 + dec_ref r11 + goto L13 + +def _StatsLogger._ensure_daemon(self): + self :: dank_mids.stats._StatsLogger + r0 :: object + r1 :: bool + r2 :: i32 + r3 :: bit + r4, r5 :: bool + r6, r7 :: object + r8 :: bit + r9 :: dank_mids.stats._stats_daemon__StatsLogger_gen + r10 :: str + r11 :: dict + r12 :: str + r13 :: object + r14 :: object[2] + r15 :: object_ptr + r16, r17 :: object + r18 :: bool + r19 :: object + r20 :: str + r21 :: object[1] + r22 :: object_ptr r23 :: object r24 :: bool - r25 :: object[1] - r26 :: object_ptr - r27, r28, r29, r30, r31, r32, r33 :: object - r34 :: bool - r35 :: object[2] - r36 :: object_ptr - r37 :: object - r38 :: tuple - r39, revert_str :: object - r40, r41, r42 :: str - r43 :: object - r44 :: bool - r45 :: object[1] - r46 :: object_ptr - r47 :: object - r48 :: str - r49 :: object - r50 :: i32 - r51 :: bit - r52 :: bool - r53 :: object - r54 :: bool - r55 :: object[1] - r56 :: object_ptr - r57, r58, r59, r60, r61, r62 :: object - r63 :: str - r64 :: object[1] - r65 :: object_ptr - r66, r67, r68 :: object - r69 :: object[2] - r70 :: object_ptr - r71 :: object - r72 :: int - r73 :: dict - r74 :: str - r75, r76 :: object - r77 :: i32 - r78 :: bit - r79 :: bool - r80 :: dict - r81 :: str - r82, r83, r84 :: object - r85, r86, r87, r88, r89, r90, r91 :: str - r92 :: object - r93 :: bool - r94 :: object[1] - r95 :: object_ptr - r96 :: object - r97 :: str - r98 :: object - r99 :: i32 - r100 :: bit - r101 :: bool - r102 :: str - r103 :: object - r104 :: bool - r105 :: object[1] - r106 :: object_ptr - r107 :: object - r108 :: str - r109 :: object - r110 :: i32 - r111 :: bit - r112 :: bool - r113 :: i32 - r114 :: bit - r115 :: bool - r116 :: str - r117 :: object - r118 :: bool - r119 :: object[1] - r120 :: object_ptr - r121 :: object - r122 :: tuple[object, object, object] - r123 :: object - r124 :: str - r125 :: object - r126 :: bit - r127 :: object - r128 :: dict - r129 :: str - r130 :: object - r131 :: object[1] - r132 :: object_ptr - r133 :: object - r134 :: tuple[object, object, object] - r135, r136 :: bit - r137 :: None + r25 :: object + r26 :: str + r27 :: object[1] + r28 :: object_ptr + r29 :: object + r30 :: None L0: + r0 = dank_mids.ENVIRONMENT_VARIABLES.COLLECT_STATS :: static + if is_error(r0) goto L1 else goto L3 L1: - r0 = dank_mids.brownie_patch.call.HexBytes :: static - if is_error(r0) goto L2 else goto L4 + r1 = raise NameError('value for final name "COLLECT_STATS" was not set') + if not r1 goto L22 (error at _ensure_daemon:265) else goto L2 :: bool L2: - r1 = raise NameError('value for final name "HexBytes" was not set') - if not r1 goto L81 (error at __validate_output:295) else goto L3 :: bool -L3: unreachable +L3: + r2 = PyObject_IsTrue(r0) + r3 = r2 >= 0 :: signed + if not r3 goto L22 (error at _ensure_daemon:265) else goto L4 :: bool L4: - r2 = [hexstr] - r3 = load_address r2 - r4 = PyObject_Vectorcall(r0, r3, 1, 0) - if is_error(r4) goto L81 (error at __validate_output:295) else goto L5 + r4 = truncate r2: i32 to builtins.bool + if r4 goto L7 else goto L5 :: bool L5: - r5 = load_address _Py_NoneStruct - r6 = load_address _Py_NoneStruct - r7 = object 4 - r8 = PySlice_New(r5, r7, r6) - if is_error(r8) goto L98 (error at __validate_output:295) else goto L6 + r5 = self.enabled + if is_error(r5) goto L22 (error at _ensure_daemon:265) else goto L6 L6: - r9 = PyObject_GetItem(r4, r8) - dec_ref r4 - dec_ref r8 - if is_error(r9) goto L81 (error at __validate_output:295) else goto L7 + if r5 goto L7 else goto L13 :: bool L7: - r10 = 'hex' - r11 = [r9] - r12 = load_address r11 - r13 = PyObject_VectorcallMethod(r10, r12, 9223372036854775809, 0) - if is_error(r13) goto L99 (error at __validate_output:295) else goto L8 + r6 = borrow self._daemon + if is_error(r6) goto L22 (error at _ensure_daemon:265) else goto L8 L8: - dec_ref r9 - r14 = '0x08c379a0' - r15 = PyObject_RichCompare(r13, r14, 2) - if is_error(r15) goto L100 (error at __validate_output:296) else goto L9 + r7 = load_address _Py_NoneStruct + r8 = r6 == r7 + if r8 goto L9 else goto L13 :: bool L9: - r16 = PyObject_IsTrue(r15) - dec_ref r15 - r17 = r16 >= 0 :: signed - if not r17 goto L100 (error at __validate_output:296) else goto L10 :: bool + r9 = self._stats_daemon() + if is_error(r9) goto L22 (error at _ensure_daemon:266) else goto L10 L10: - r18 = truncate r16: i32 to builtins.bool - if r18 goto L101 else goto L32 :: bool + r10 = '_StatsLogger debug daemon' + r11 = dank_mids.stats.globals :: static + r12 = 'create_task' + r13 = CPyDict_GetItem(r11, r12) + if is_error(r13) goto L23 (error at _ensure_daemon:266) else goto L11 L11: - r19 = 'string' - r20 = PyList_New(1) - if is_error(r20) goto L81 (error at __validate_output:297) else goto L12 + r14 = [r9, r10] + r15 = load_address r14 + r16 = ('name',) + r17 = PyObject_Vectorcall(r13, r15, 1, r16) + dec_ref r13 + if is_error(r17) goto L23 (error at _ensure_daemon:266) else goto L12 L12: - r21 = get_element_ptr r20 ob_item :: PyListObject - r22 = load_mem r21 :: ptr* - inc_ref r19 - set_mem r22, r19 :: builtins.object* - r23 = dank_mids.brownie_patch.call.HexBytes :: static - if is_error(r23) goto L102 else goto L15 + dec_ref r9 + self._daemon = r17; r18 = is_error + if not r18 goto L22 (error at _ensure_daemon:266) else goto L21 :: bool L13: - r24 = raise NameError('value for final name "HexBytes" was not set') - if not r24 goto L81 (error at __validate_output:297) else goto L14 :: bool + r19 = self._daemon + if is_error(r19) goto L22 (error at _ensure_daemon:267) else goto L14 L14: - unreachable + r20 = 'done' + r21 = [r19] + r22 = load_address r21 + r23 = PyObject_VectorcallMethod(r20, r22, 9223372036854775809, 0) + if is_error(r23) goto L24 (error at _ensure_daemon:267) else goto L15 L15: - r25 = [hexstr] - r26 = load_address r25 - r27 = PyObject_Vectorcall(r23, r26, 1, 0) - if is_error(r27) goto L103 (error at __validate_output:297) else goto L16 + dec_ref r19 + r24 = unbox(bool, r23) + dec_ref r23 + if is_error(r24) goto L22 (error at _ensure_daemon:267) else goto L16 L16: - r28 = load_address _Py_NoneStruct - r29 = load_address _Py_NoneStruct - r30 = object 4 - r31 = PySlice_New(r30, r28, r29) - if is_error(r31) goto L104 (error at __validate_output:297) else goto L17 + if r24 goto L17 else goto L21 :: bool L17: - r32 = PyObject_GetItem(r27, r31) - dec_ref r27 - dec_ref r31 - if is_error(r32) goto L103 (error at __validate_output:297) else goto L18 + r25 = self._daemon + if is_error(r25) goto L22 (error at _ensure_daemon:268) else goto L18 L18: - r33 = dank_mids.brownie_patch.call.__eth_abi_decode :: static - if is_error(r33) goto L105 else goto L21 + r26 = 'exception' + r27 = [r25] + r28 = load_address r27 + r29 = PyObject_VectorcallMethod(r26, r28, 9223372036854775809, 0) + if is_error(r29) goto L25 (error at _ensure_daemon:268) else goto L19 L19: - r34 = raise NameError('value for final name "__eth_abi_decode" was not set') - if not r34 goto L81 (error at __validate_output:297) else goto L20 :: bool + dec_ref r25 + CPy_Raise(r29) + dec_ref r29 + if not 0 goto L22 (error at _ensure_daemon:268) else goto L20 :: bool L20: unreachable L21: - r35 = [r20, r32] - r36 = load_address r35 - r37 = PyObject_Vectorcall(r33, r36, 2, 0) - if is_error(r37) goto L106 (error at __validate_output:297) else goto L22 + return 1 L22: - dec_ref r20 - dec_ref r32 - r38 = cast(tuple, r37) - if is_error(r38) goto L81 (error at __validate_output:297) else goto L23 + r30 = :: None + return r30 L23: - r39 = CPySequenceTuple_GetItem(r38, 0) - dec_ref r38 - if is_error(r39) goto L81 (error at __validate_output:297) else goto L24 + dec_ref r9 + goto L22 L24: - revert_str = r39 - r40 = 'Call reverted: ' - r41 = PyObject_Str(revert_str) - dec_ref revert_str - if is_error(r41) goto L81 (error at __validate_output:298) else goto L25 + dec_ref r19 + goto L22 L25: - r42 = CPyStr_Build(2, r40, r41) - dec_ref r41 - if is_error(r42) goto L81 (error at __validate_output:298) else goto L26 -L26: - r43 = dank_mids.brownie_patch.call.Revert :: static - if is_error(r43) goto L107 else goto L29 -L27: - r44 = raise NameError('value for final name "Revert" was not set') - if not r44 goto L81 (error at __validate_output:298) else goto L28 :: bool -L28: + dec_ref r25 + goto L22 + +def _stats_daemon__StatsLogger_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): + __mypyc_self__ :: dank_mids.stats._stats_daemon__StatsLogger_gen + type, value, traceback, arg :: object + stop_iter_ptr :: object_ptr + r0, r1 :: object + r2 :: i32 + r3 :: object + r4 :: bit + r5 :: dict + r6 :: str + r7, r8 :: object + r9 :: float + r10 :: bit + r11 :: bool + r12 :: object + r13 :: bool + r14 :: object + r15 :: bool + r16, r17 :: object + r18 :: bool + r19, r20, r21, r22, r23 :: object + r24 :: bool + r25 :: object + r26 :: bool + r27 :: object + r28 :: bit + r29 :: tuple[object, object, object] + r30 :: bool + r31 :: object_ptr + r32 :: object + r33 :: bool + r34, r35, r36 :: tuple[object, object, object] + r37 :: bit + r38, r39, r40 :: object + r41 :: dict + r42 :: str + r43, r44 :: object + r45 :: float + r46 :: bit + r47 :: bool + r48 :: object + r49 :: float + r50 :: bit + r51 :: float + r52 :: bit + r53 :: object + r54 :: float + r55 :: bool + r56 :: object + r57 :: dank_mids.stats._Collector + r58 :: bool + r59 :: object + r60 :: float + r61 :: bit + r62 :: str + r63 :: object + r64 :: object[2] + r65 :: object_ptr + r66, r67 :: object + r68 :: dict + r69 :: str + r70, r71 :: object + r72 :: float + r73 :: bit + r74 :: bool + r75 :: object + r76 :: float + r77 :: bit + r78 :: float + r79 :: bit + r80 :: object + r81 :: float + r82 :: bool + r83 :: object + r84 :: float + r85, r86 :: bit + r87 :: object + r88 :: dank_mids.stats._StatsLogger + r89 :: None + r90 :: dank_mids.stats._StatsLogger + r91 :: None + r92 :: dank_mids.stats._StatsLogger + r93 :: None + r94 :: bool + r95 :: object + r96 :: bool + r97, r98 :: bit + r99 :: bool + r100 :: object +L0: + r0 = :: object + r1 = r0 + r2 = __mypyc_self__.__mypyc_next_label__ + goto L84 +L1: + r3 = load_address _Py_NoneStruct + r4 = type != r3 + if r4 goto L2 else goto L4 :: bool +L2: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L88 (error at _stats_daemon:270) else goto L3 :: bool +L3: unreachable -L29: - r45 = [r42] - r46 = load_address r45 - r47 = PyObject_Vectorcall(r43, r46, 1, 0) - if is_error(r47) goto L108 (error at __validate_output:298) else goto L30 -L30: - dec_ref r42 - CPy_Raise(r47) - dec_ref r47 - if not 0 goto L81 (error at __validate_output:298) else goto L31 :: bool -L31: +L4: + r5 = dank_mids.stats.globals :: static + r6 = 'time' + r7 = CPyDict_GetItem(r5, r6) + if is_error(r7) goto L88 (error at _stats_daemon:278) else goto L5 +L5: + r8 = PyObject_Vectorcall(r7, 0, 0, 0) + dec_ref r7 + if is_error(r8) goto L88 (error at _stats_daemon:278) else goto L6 +L6: + r9 = unbox(float, r8) + dec_ref r8 + r10 = r9 == -113.0 + if r10 goto L8 else goto L7 :: bool +L7: + __mypyc_self__.__mypyc_generator_attribute__start = r9; r11 = is_error + if not r11 goto L88 (error at _stats_daemon:278) else goto L9 :: bool +L8: + r12 = PyErr_Occurred() + if not is_error(r12) goto L88 (error at _stats_daemon:278) else goto L7 +L9: + __mypyc_self__.__mypyc_generator_attribute__time_since_notified = 0.0; r13 = is_error + if not r13 goto L88 (error at _stats_daemon:279) else goto L10 :: bool +L10: + if 1 goto L11 else goto L79 :: bool +L11: + r14 = dank_mids.stats.yield_to_loop :: static + if is_error(r14) goto L12 else goto L14 +L12: + r15 = raise NameError('value for final name "yield_to_loop" was not set') + if not r15 goto L88 (error at _stats_daemon:281) else goto L13 :: bool +L13: unreachable -L32: - r48 = '0x4e487b71' - r49 = PyObject_RichCompare(r13, r48, 2) - if is_error(r49) goto L100 (error at __validate_output:299) else goto L33 +L14: + r16 = PyObject_Vectorcall(r14, 0, 0, 0) + if is_error(r16) goto L88 (error at _stats_daemon:281) else goto L15 +L15: + r17 = CPy_GetCoro(r16) + dec_ref r16 + if is_error(r17) goto L88 (error at _stats_daemon:281) else goto L16 +L16: + __mypyc_self__.__mypyc_temp__0 = r17; r18 = is_error + if not r18 goto L88 (error at _stats_daemon:-1) else goto L17 :: bool +L17: + r19 = __mypyc_self__.__mypyc_temp__0 + if is_error(r19) goto L88 (error at _stats_daemon:-1) else goto L18 +L18: + r20 = CPyIter_Next(r19) + dec_ref r19 + if is_error(r20) goto L19 else goto L21 +L19: + r21 = CPy_FetchStopIterationValue() + if is_error(r21) goto L88 (error at _stats_daemon:281) else goto L20 +L20: + r22 = r21 + dec_ref r22 + r23 = :: object + __mypyc_self__.__mypyc_temp__0 = r23; r24 = is_error + if not r24 goto L88 (error at _stats_daemon:281) else goto L43 :: bool +L21: + r25 = r20 +L22: + __mypyc_self__.__mypyc_next_label__ = 1 + return r25 +L23: + r27 = load_address _Py_NoneStruct + r28 = type != r27 + if r28 goto L24 else goto L89 :: bool +L24: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L27 (error at _stats_daemon:281) else goto L90 :: bool +L25: + unreachable +L26: + inc_ref arg + goto L38 +L27: + r29 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__1 = r29; r30 = is_error + if not r30 goto L91 (error at _stats_daemon:-1) else goto L28 :: bool +L28: + r31 = load_address r1 + r32 = __mypyc_self__.__mypyc_temp__0 + if is_error(r32) goto L91 (error at _stats_daemon:-1) else goto L29 +L29: + r33 = CPy_YieldFromErrorHandle(r32, r31) + dec_ref r32 + if is_error(r33) goto L91 (error at _stats_daemon:281) else goto L30 +L30: + if r33 goto L33 else goto L31 :: bool +L31: + r25 = r1 + r34 = __mypyc_self__.__mypyc_temp__1 + if is_error(r34) goto L92 (error at _stats_daemon:-1) else goto L32 +L32: + CPy_RestoreExcInfo(r34) + dec_ref r34 + goto L22 L33: - r50 = PyObject_IsTrue(r49) - dec_ref r49 - r51 = r50 >= 0 :: signed - if not r51 goto L100 (error at __validate_output:299) else goto L34 :: bool + r22 = r1 + dec_ref r22 + r35 = __mypyc_self__.__mypyc_temp__1 + if is_error(r35) goto L35 (error at _stats_daemon:-1) else goto L34 L34: - r52 = truncate r50: i32 to builtins.bool - if r52 goto L109 else goto L61 :: bool + CPy_RestoreExcInfo(r35) + dec_ref r35 + goto L43 L35: - r53 = dank_mids.brownie_patch.call.HexBytes :: static - if is_error(r53) goto L36 else goto L38 + r36 = __mypyc_self__.__mypyc_temp__1 + if is_error(r36) goto L88 (error at _stats_daemon:-1) else goto L36 L36: - r54 = raise NameError('value for final name "HexBytes" was not set') - if not r54 goto L81 (error at __validate_output:300) else goto L37 :: bool + CPy_RestoreExcInfo(r36) + dec_ref r36 + r37 = CPy_KeepPropagating() + if not r37 goto L88 else goto L37 :: bool L37: unreachable L38: - r55 = [hexstr] - r56 = load_address r55 - r57 = PyObject_Vectorcall(r53, r56, 1, 0) - if is_error(r57) goto L81 (error at __validate_output:300) else goto L39 + r38 = __mypyc_self__.__mypyc_temp__0 + if is_error(r38) goto L93 (error at _stats_daemon:-1) else goto L39 L39: - r58 = load_address _Py_NoneStruct - r59 = load_address _Py_NoneStruct - r60 = object 4 - r61 = PySlice_New(r60, r58, r59) - if is_error(r61) goto L110 (error at __validate_output:300) else goto L40 + r39 = CPyIter_Send(r38, arg) + dec_ref r38 + dec_ref arg + if is_error(r39) goto L41 else goto L40 L40: - r62 = PyObject_GetItem(r57, r61) - dec_ref r57 - dec_ref r61 - if is_error(r62) goto L81 (error at __validate_output:300) else goto L41 + r25 = r39 + goto L22 L41: - r63 = 'hex' - r64 = [r62] - r65 = load_address r64 - r66 = PyObject_VectorcallMethod(r63, r65, 9223372036854775809, 0) - if is_error(r66) goto L111 (error at __validate_output:300) else goto L42 + r40 = CPy_FetchStopIterationValue() + if is_error(r40) goto L88 (error at _stats_daemon:281) else goto L42 L42: - dec_ref r62 - r67 = load_address PyLong_Type - r68 = object 16 - r69 = [r66, r68] - r70 = load_address r69 - r71 = PyObject_Vectorcall(r67, r70, 2, 0) - if is_error(r71) goto L112 (error at __validate_output:300) else goto L43 + r22 = r40 + dec_ref r22 L43: - dec_ref r66 - r72 = unbox(int, r71) - dec_ref r71 - if is_error(r72) goto L81 (error at __validate_output:300) else goto L44 + r41 = dank_mids.stats.globals :: static + r42 = 'time' + r43 = CPyDict_GetItem(r41, r42) + if is_error(r43) goto L88 (error at _stats_daemon:282) else goto L44 L44: - r73 = dank_mids.brownie_patch.call.globals :: static - r74 = 'SOLIDITY_ERROR_CODES' - r75 = CPyDict_GetItem(r73, r74) - if is_error(r75) goto L113 (error at __validate_output:301) else goto L45 + r44 = PyObject_Vectorcall(r43, 0, 0, 0) + dec_ref r43 + if is_error(r44) goto L88 (error at _stats_daemon:282) else goto L45 L45: - inc_ref r72 :: int - r76 = box(int, r72) - r77 = PySequence_Contains(r75, r76) - dec_ref r75 - dec_ref r76 - r78 = r77 >= 0 :: signed - if not r78 goto L113 (error at __validate_output:301) else goto L46 :: bool + r45 = unbox(float, r44) + dec_ref r44 + r46 = r45 == -113.0 + if r46 goto L47 else goto L46 :: bool L46: - r79 = truncate r77: i32 to builtins.bool - if r79 goto L47 else goto L50 :: bool + __mypyc_self__.__mypyc_generator_attribute__now = r45; r47 = is_error + if not r47 goto L88 (error at _stats_daemon:282) else goto L48 :: bool L47: - r80 = dank_mids.brownie_patch.call.globals :: static - r81 = 'SOLIDITY_ERROR_CODES' - r82 = CPyDict_GetItem(r80, r81) - if is_error(r82) goto L113 (error at __validate_output:302) else goto L48 + r48 = PyErr_Occurred() + if not is_error(r48) goto L88 (error at _stats_daemon:282) else goto L46 L48: - r83 = box(int, r72) - r84 = PyObject_GetItem(r82, r83) - dec_ref r82 - dec_ref r83 - if is_error(r84) goto L81 (error at __validate_output:302) else goto L49 + r49 = __mypyc_self__.__mypyc_generator_attribute__now + r50 = r49 == -113.0 + if r50 goto L50 else goto L49 :: bool L49: - revert_str = r84 - goto L53 + r51 = __mypyc_self__.__mypyc_generator_attribute__start + r52 = r51 == -113.0 + if r52 goto L52 else goto L51 :: bool L50: - r85 = 'Panic (error code: ' - r86 = CPyTagged_Str(r72) - dec_ref r72 :: int - if is_error(r86) goto L81 (error at __validate_output:304) else goto L51 + r53 = PyErr_Occurred() + if not is_error(r53) goto L88 (error at _stats_daemon:283) else goto L49 L51: - r87 = ')' - r88 = CPyStr_Build(3, r85, r86, r87) - dec_ref r86 - if is_error(r88) goto L81 (error at __validate_output:304) else goto L52 + r54 = r49 - r51 + __mypyc_self__.__mypyc_generator_attribute__duration = r54; r55 = is_error + if not r55 goto L88 (error at _stats_daemon:283) else goto L53 :: bool L52: - revert_str = r88 + r56 = PyErr_Occurred() + if not is_error(r56) goto L88 (error at _stats_daemon:283) else goto L51 L53: - r89 = 'Call reverted: ' - r90 = PyObject_Str(revert_str) - dec_ref revert_str - if is_error(r90) goto L81 (error at __validate_output:305) else goto L54 + r57 = dank_mids.stats.collector :: static + if is_error(r57) goto L54 else goto L56 L54: - r91 = CPyStr_Build(2, r89, r90) - dec_ref r90 - if is_error(r91) goto L81 (error at __validate_output:305) else goto L55 + r58 = raise NameError('value for final name "collector" was not set') + if not r58 goto L88 (error at _stats_daemon:284) else goto L55 :: bool L55: - r92 = dank_mids.brownie_patch.call.Revert :: static - if is_error(r92) goto L114 else goto L58 + unreachable L56: - r93 = raise NameError('value for final name "Revert" was not set') - if not r93 goto L81 (error at __validate_output:305) else goto L57 :: bool + r59 = r57.event_loop_times + r60 = __mypyc_self__.__mypyc_generator_attribute__duration + r61 = r60 == -113.0 + if r61 goto L58 else goto L57 :: bool L57: - unreachable + r62 = 'append' + r63 = box(float, r60) + r64 = [r59, r63] + r65 = load_address r64 + r66 = PyObject_VectorcallMethod(r62, r65, 9223372036854775810, 0) + if is_error(r66) goto L94 (error at _stats_daemon:284) else goto L95 L58: - r94 = [r91] - r95 = load_address r94 - r96 = PyObject_Vectorcall(r92, r95, 1, 0) - if is_error(r96) goto L115 (error at __validate_output:305) else goto L59 + r67 = PyErr_Occurred() + if not is_error(r67) goto L96 (error at _stats_daemon:284) else goto L57 L59: - dec_ref r91 - CPy_Raise(r96) - dec_ref r96 - if not 0 goto L81 (error at __validate_output:305) else goto L60 :: bool + dec_ref r59 + dec_ref r63 + r68 = dank_mids.stats.globals :: static + r69 = 'time' + r70 = CPyDict_GetItem(r68, r69) + if is_error(r70) goto L88 (error at _stats_daemon:285) else goto L60 L60: - unreachable + r71 = PyObject_Vectorcall(r70, 0, 0, 0) + dec_ref r70 + if is_error(r71) goto L88 (error at _stats_daemon:285) else goto L61 L61: - r97 = '0xc1b84b2f' - r98 = PyObject_RichCompare(r13, r97, 2) - dec_ref r13 - if is_error(r98) goto L81 (error at __validate_output:306) else goto L62 + r72 = unbox(float, r71) + dec_ref r71 + r73 = r72 == -113.0 + if r73 goto L63 else goto L62 :: bool L62: - r99 = PyObject_IsTrue(r98) - dec_ref r98 - r100 = r99 >= 0 :: signed - if not r100 goto L81 (error at __validate_output:306) else goto L63 :: bool + __mypyc_self__.__mypyc_generator_attribute__start = r72; r74 = is_error + if not r74 goto L88 (error at _stats_daemon:285) else goto L64 :: bool L63: - r101 = truncate r99: i32 to builtins.bool - if r101 goto L64 else goto L70 :: bool + r75 = PyErr_Occurred() + if not is_error(r75) goto L88 (error at _stats_daemon:285) else goto L62 L64: - r102 = 'Call reverted: execution reverted' - r103 = dank_mids.brownie_patch.call.Revert :: static - if is_error(r103) goto L65 else goto L67 + r76 = __mypyc_self__.__mypyc_generator_attribute__time_since_notified + r77 = r76 == -113.0 + if r77 goto L66 else goto L65 :: bool L65: - r104 = raise NameError('value for final name "Revert" was not set') - if not r104 goto L81 (error at __validate_output:307) else goto L66 :: bool + r78 = __mypyc_self__.__mypyc_generator_attribute__duration + r79 = r78 == -113.0 + if r79 goto L68 else goto L67 :: bool L66: - unreachable + r80 = PyErr_Occurred() + if not is_error(r80) goto L88 (error at _stats_daemon:286) else goto L65 L67: - r105 = [r102] - r106 = load_address r105 - r107 = PyObject_Vectorcall(r103, r106, 1, 0) - if is_error(r107) goto L81 (error at __validate_output:307) else goto L68 + r81 = r76 + r78 + __mypyc_self__.__mypyc_generator_attribute__time_since_notified = r81; r82 = is_error + if not r82 goto L88 (error at _stats_daemon:286) else goto L69 :: bool L68: - CPy_Raise(r107) - dec_ref r107 - if not 0 goto L81 (error at __validate_output:307) else goto L69 :: bool + r83 = PyErr_Occurred() + if not is_error(r83) goto L88 (error at _stats_daemon:286) else goto L67 L69: - unreachable + r84 = __mypyc_self__.__mypyc_generator_attribute__time_since_notified + r85 = r84 == -113.0 + if r85 goto L71 else goto L70 :: bool L70: - r108 = 'outputs' - r109 = CPyDict_GetItem(abi, r108) - if is_error(r109) goto L81 (error at __validate_output:308) else goto L71 + r86 = r84 > 300.0 + if r86 goto L72 else goto L10 :: bool L71: - r110 = PyObject_IsTrue(r109) - dec_ref r109 - r111 = r110 >= 0 :: signed - if not r111 goto L81 (error at __validate_output:308) else goto L72 :: bool + r87 = PyErr_Occurred() + if not is_error(r87) goto L88 (error at _stats_daemon:287) else goto L70 L72: - r112 = truncate r110: i32 to builtins.bool - if r112 goto L73 else goto L96 :: bool + r88 = __mypyc_self__.__mypyc_generator_attribute__self + if is_error(r88) goto L88 (error at _stats_daemon:288) else goto L73 L73: - r113 = PyObject_IsTrue(hexstr) - r114 = r113 >= 0 :: signed - if not r114 goto L81 (error at __validate_output:293) else goto L74 :: bool + r89 = r88.log_subprocess_stats(40) + dec_ref r88 + if is_error(r89) goto L88 (error at _stats_daemon:288) else goto L74 L74: - r115 = truncate r113: i32 to builtins.bool - if r115 goto L96 else goto L75 :: bool + r90 = __mypyc_self__.__mypyc_generator_attribute__self + if is_error(r90) goto L88 (error at _stats_daemon:289) else goto L75 L75: - r116 = 'No data was returned - the call likely reverted' - r117 = dank_mids.brownie_patch.call.Revert :: static - if is_error(r117) goto L76 else goto L78 + r91 = r90.log_brownie_stats(40) + dec_ref r90 + if is_error(r91) goto L88 (error at _stats_daemon:289) else goto L76 L76: - r118 = raise NameError('value for final name "Revert" was not set') - if not r118 goto L81 (error at __validate_output:309) else goto L77 :: bool + r92 = __mypyc_self__.__mypyc_generator_attribute__self + if is_error(r92) goto L88 (error at _stats_daemon:290) else goto L77 L77: - unreachable + r93 = r92.log_event_loop_stats(40) + dec_ref r92 + if is_error(r93) goto L88 (error at _stats_daemon:290) else goto L78 L78: - r119 = [r116] - r120 = load_address r119 - r121 = PyObject_Vectorcall(r117, r120, 1, 0) - if is_error(r121) goto L81 (error at __validate_output:309) else goto L79 + __mypyc_self__.__mypyc_generator_attribute__time_since_notified = 0.0; r94 = is_error + if not r94 goto L88 (error at _stats_daemon:291) else goto L10 :: bool L79: - CPy_Raise(r121) - dec_ref r121 - if not 0 goto L81 (error at __validate_output:309) else goto L80 :: bool + r95 = box(None, 1) + __mypyc_self__.__mypyc_next_label__ = -1 L80: - unreachable + if is_error(stop_iter_ptr) goto L81 else goto L83 L81: - r122 = CPy_CatchError() - r123 = builtins :: module - r124 = 'ValueError' - r125 = CPyObject_GetAttr(r123, r124) - if is_error(r125) goto L94 (error at __validate_output:310) else goto L82 + CPyGen_SetStopIterationValue(r95) + if not 0 goto L88 else goto L82 :: bool L82: - r126 = CPy_ExceptionMatches(r125) - dec_ref r125 - if r126 goto L83 else goto L92 :: bool + unreachable L83: - r127 = CPy_GetExcValue() + inc_ref r95 + set_mem stop_iter_ptr, r95 :: builtins.object* + return 0 L84: - r128 = dank_mids.brownie_patch.call.globals :: static - r129 = 'VirtualMachineError' - r130 = CPyDict_GetItem(r128, r129) - if is_error(r130) goto L88 (error at __validate_output:312) else goto L85 + r97 = r2 == 0 + if r97 goto L97 else goto L85 :: bool L85: - r131 = [r127] - r132 = load_address r131 - r133 = PyObject_Vectorcall(r130, r132, 1, 0) - dec_ref r130 - if is_error(r133) goto L88 (error at __validate_output:312) else goto L86 + r98 = r2 == 1 + if r98 goto L23 else goto L98 :: bool L86: - CPy_Raise(r133) - dec_ref r133 - if not 0 goto L88 (error at __validate_output:312) else goto L116 :: bool + r99 = raise StopIteration + if not r99 goto L88 (error at _stats_daemon:270) else goto L87 :: bool L87: unreachable L88: - r134 = CPy_CatchError() - CPy_Raise(r127) - dec_ref r127 - if not 0 goto L90 (error at __validate_output:314) else goto L117 :: bool + r100 = :: object + return r100 L89: - unreachable + xdec_ref r1 + goto L26 L90: - CPy_RestoreExcInfo(r134) - dec_ref r134 - r135 = CPy_KeepPropagating() - if not r135 goto L94 else goto L118 :: bool + xdec_ref r1 + goto L25 L91: - unreachable + xdec_ref r1 + goto L35 L92: - CPy_Reraise() - if not 0 goto L94 else goto L119 :: bool + dec_ref r25 + goto L35 L93: - unreachable + dec_ref arg + goto L88 L94: - CPy_RestoreExcInfo(r122) - dec_ref r122 - r136 = CPy_KeepPropagating() - if not r136 goto L97 else goto L95 :: bool + dec_ref r59 + dec_ref r63 + goto L88 L95: - unreachable + dec_ref r66 + goto L59 L96: - return 1 + dec_ref r59 + goto L88 L97: - r137 = :: None - return r137 + xdec_ref r1 + goto L1 L98: - dec_ref r4 - goto L81 -L99: - dec_ref r9 - goto L81 -L100: - dec_ref r13 - goto L81 -L101: - dec_ref r13 - goto L11 -L102: - dec_ref r20 - goto L13 -L103: - dec_ref r20 - goto L81 -L104: - dec_ref r20 - dec_ref r27 - goto L81 -L105: - dec_ref r20 - dec_ref r32 - goto L19 -L106: - dec_ref r20 - dec_ref r32 - goto L81 -L107: - dec_ref r42 - goto L27 -L108: - dec_ref r42 - goto L81 -L109: - dec_ref r13 - goto L35 -L110: - dec_ref r57 - goto L81 -L111: - dec_ref r62 - goto L81 -L112: - dec_ref r66 - goto L81 -L113: - dec_ref r72 :: int - goto L81 -L114: - dec_ref r91 - goto L56 -L115: - dec_ref r91 - goto L81 -L116: - dec_ref r122 - dec_ref r127 - goto L87 -L117: - dec_ref r122 - dec_ref r134 - goto L89 -L118: - dec_ref r122 - goto L91 -L119: - dec_ref r122 - goto L93 + xdec_ref r1 + goto L86 -def format_input_but_cache_checksums(abi, inputs): - abi :: dict - inputs :: union[list, tuple] - r0 :: int - r1 :: bit - r2 :: str - r3 :: object - r4 :: int - r5 :: bit - r6 :: str - r7 :: object - r8, r9, r10 :: str - r11 :: object - r12 :: str - r13 :: object - r14 :: object[1] - r15 :: object_ptr - r16 :: object - r17 :: str - r18, r19 :: object - r20 :: bool - r21 :: object[1] - r22 :: object_ptr - r23 :: object - r24 :: list - r25 :: tuple[object, object, object] - r26 :: object - r27 :: str - r28 :: object - r29 :: bit - r30, r31 :: object - r32 :: str - r33 :: object - r34, r35, r36, r37 :: str - r38 :: object[1] - r39 :: object_ptr - r40 :: object - r41 :: bit - r42 :: list +def _stats_daemon__StatsLogger_gen.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids.stats._stats_daemon__StatsLogger_gen + r0, r1, r2 :: object L0: - r0 = CPyObject_Size(inputs) - if is_error(r0) goto L33 (error at format_input_but_cache_checksums:322) else goto L1 + r0 = load_address _Py_NoneStruct + r1 = _stats_daemon__StatsLogger_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) + if is_error(r1) goto L2 else goto L1 L1: - r1 = r0 != 0 - dec_ref r0 :: int - if r1 goto L2 else goto L12 :: bool + return r1 L2: - r2 = 'inputs' - r3 = CPyDict_GetItem(abi, r2) - if is_error(r3) goto L33 (error at format_input_but_cache_checksums:322) else goto L3 + r2 = :: object + return r2 + +def _stats_daemon__StatsLogger_gen.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids.stats._stats_daemon__StatsLogger_gen + arg, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = _stats_daemon__StatsLogger_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def _stats_daemon__StatsLogger_gen.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids.stats._stats_daemon__StatsLogger_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def _stats_daemon__StatsLogger_gen.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids.stats._stats_daemon__StatsLogger_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: - r4 = CPyObject_Size(r3) - dec_ref r3 - if is_error(r4) goto L33 (error at format_input_but_cache_checksums:322) else goto L4 + inc_ref r0 + traceback = r0 L4: - r5 = r4 != 0 - dec_ref r4 :: int - if r5 goto L12 else goto L5 :: bool + r1 = _stats_daemon__StatsLogger_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) + dec_ref value + dec_ref traceback + if is_error(r1) goto L6 else goto L5 L5: - r6 = 'name' - r7 = CPyDict_GetItem(abi, r6) - if is_error(r7) goto L33 (error at format_input_but_cache_checksums:323) else goto L6 + return r1 L6: - r8 = PyObject_Str(r7) - dec_ref r7 - if is_error(r8) goto L33 (error at format_input_but_cache_checksums:323) else goto L7 + r2 = :: object + return r2 L7: - r9 = ' requires no arguments' - r10 = CPyStr_Build(2, r8, r9) - dec_ref r8 - if is_error(r10) goto L33 (error at format_input_but_cache_checksums:323) else goto L8 + inc_ref value + goto L2 L8: - r11 = builtins :: module - r12 = 'TypeError' - r13 = CPyObject_GetAttr(r11, r12) - if is_error(r13) goto L34 (error at format_input_but_cache_checksums:323) else goto L9 -L9: - r14 = [r10] - r15 = load_address r14 - r16 = PyObject_Vectorcall(r13, r15, 1, 0) - dec_ref r13 - if is_error(r16) goto L34 (error at format_input_but_cache_checksums:323) else goto L10 -L10: - dec_ref r10 - CPy_Raise(r16) - dec_ref r16 - if not 0 goto L33 (error at format_input_but_cache_checksums:323) else goto L11 :: bool -L11: - unreachable -L12: - r17 = 'inputs' - r18 = CPyDict_GetItem(abi, r17) - if is_error(r18) goto L33 (error at format_input_but_cache_checksums:324) else goto L13 -L13: - r19 = dank_mids.brownie_patch.call._get_abi_types :: static - if is_error(r19) goto L35 else goto L16 -L14: - r20 = raise NameError('value for final name "_get_abi_types" was not set') - if not r20 goto L33 (error at format_input_but_cache_checksums:324) else goto L15 :: bool -L15: - unreachable -L16: - r21 = [r18] - r22 = load_address r21 - r23 = PyObject_Vectorcall(r19, r22, 1, 0) - if is_error(r23) goto L36 (error at format_input_but_cache_checksums:324) else goto L17 -L17: - dec_ref r18 -L18: - r24 = _format_tuple_but_cache_checksums(r23, inputs) - dec_ref r23 - if is_error(r24) goto L20 (error at format_input_but_cache_checksums:326) else goto L19 -L19: - return r24 -L20: - r25 = CPy_CatchError() - r26 = builtins :: module - r27 = 'Exception' - r28 = CPyObject_GetAttr(r26, r27) - if is_error(r28) goto L31 (error at format_input_but_cache_checksums:327) else goto L21 -L21: - r29 = CPy_ExceptionMatches(r28) - dec_ref r28 - if r29 goto L22 else goto L29 :: bool -L22: - r30 = CPy_GetExcValue() - r31 = CPy_TYPE(r30) - r32 = 'name' - r33 = CPyDict_GetItem(abi, r32) - if is_error(r33) goto L37 (error at format_input_but_cache_checksums:328) else goto L23 -L23: - r34 = PyObject_Str(r33) - dec_ref r33 - if is_error(r34) goto L37 (error at format_input_but_cache_checksums:328) else goto L24 -L24: - r35 = ' ' - r36 = PyObject_Str(r30) - dec_ref r30 - if is_error(r36) goto L38 (error at format_input_but_cache_checksums:328) else goto L25 -L25: - r37 = CPyStr_Build(3, r34, r35, r36) - dec_ref r34 - dec_ref r36 - if is_error(r37) goto L39 (error at format_input_but_cache_checksums:328) else goto L26 -L26: - r38 = [r37] - r39 = load_address r38 - r40 = PyObject_Vectorcall(r31, r39, 1, 0) - dec_ref r31 - if is_error(r40) goto L40 (error at format_input_but_cache_checksums:328) else goto L27 -L27: - dec_ref r37 - CPy_Raise(r40) - dec_ref r40 - if not 0 goto L31 (error at format_input_but_cache_checksums:328) else goto L41 :: bool -L28: - unreachable -L29: - CPy_Reraise() - if not 0 goto L31 else goto L42 :: bool -L30: - unreachable -L31: - CPy_RestoreExcInfo(r25) - dec_ref r25 - r41 = CPy_KeepPropagating() - if not r41 goto L33 else goto L32 :: bool -L32: - unreachable -L33: - r42 = :: list - return r42 -L34: - dec_ref r10 - goto L33 -L35: - dec_ref r18 - goto L14 -L36: - dec_ref r18 - goto L33 -L37: - dec_ref r30 - dec_ref r31 - goto L31 -L38: - dec_ref r31 - dec_ref r34 - goto L31 -L39: - dec_ref r31 - goto L31 -L40: - dec_ref r37 - goto L31 -L41: - dec_ref r25 - goto L28 -L42: - dec_ref r25 - goto L30 + inc_ref traceback + goto L4 -def format_output_but_cache_checksums(abi, outputs): - abi :: dict - outputs :: union[list, tuple] - r0 :: str - r1, r2 :: object - r3 :: bool - r4 :: object[1] - r5 :: object_ptr - r6 :: object - r7 :: list +def _stats_daemon__StatsLogger_gen.close(__mypyc_self__): + __mypyc_self__ :: dank_mids.stats._stats_daemon__StatsLogger_gen + r0 :: object + r1 :: str + r2, r3, r4, r5 :: object + r6 :: tuple[object, object, object] + r7 :: object r8 :: str - r9, r10 :: object - r11 :: bool - r12 :: object[2] - r13 :: object_ptr - r14, r15 :: object + r9 :: object + r10 :: tuple[object, object] + r11 :: object + r12 :: bit + r13 :: object + r14 :: bool + r15 :: object L0: - r0 = 'outputs' - r1 = CPyDict_GetItem(abi, r0) - if is_error(r1) goto L12 (error at format_output_but_cache_checksums:335) else goto L1 L1: - r2 = dank_mids.brownie_patch.call._get_abi_types :: static - if is_error(r2) goto L13 else goto L4 + r0 = builtins :: module + r1 = 'GeneratorExit' + r2 = CPyObject_GetAttr(r0, r1) + if is_error(r2) goto L3 else goto L2 L2: - r3 = raise NameError('value for final name "_get_abi_types" was not set') - if not r3 goto L12 (error at format_output_but_cache_checksums:335) 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: - r4 = [r1] - r5 = load_address r4 - r6 = PyObject_Vectorcall(r2, r5, 1, 0) - if is_error(r6) goto L14 (error at format_output_but_cache_checksums:335) 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 r1 - r7 = _format_tuple_but_cache_checksums(r6, outputs) + CPy_RestoreExcInfo(r6) dec_ref r6 - if is_error(r7) goto L12 (error at format_output_but_cache_checksums:336) else goto L6 + r13 = load_address _Py_NoneStruct + inc_ref r13 + return r13 L6: - r8 = 'outputs' - r9 = CPyDict_GetItem(abi, r8) - if is_error(r9) goto L15 (error at format_output_but_cache_checksums:337) else goto L7 + CPy_Reraise() + if not 0 goto L10 else goto L7 :: bool L7: - r10 = dank_mids.brownie_patch.call.ReturnValue :: static - if is_error(r10) goto L16 else goto L10 + unreachable L8: - r11 = raise NameError('value for final name "ReturnValue" was not set') - if not r11 goto L12 (error at format_output_but_cache_checksums:337) else goto L9 :: bool + r14 = raise RuntimeError('generator ignored GeneratorExit') + if not r14 goto L10 else goto L9 :: bool L9: unreachable L10: - r12 = [r7, r9] - r13 = load_address r12 - r14 = PyObject_Vectorcall(r10, r13, 2, 0) - if is_error(r14) goto L17 (error at format_output_but_cache_checksums:337) else goto L11 -L11: - dec_ref r7 - dec_ref r9 - return r14 -L12: r15 = :: object return r15 -L13: - dec_ref r1 - goto L2 -L14: - dec_ref r1 - goto L12 -L15: - dec_ref r7 - goto L12 -L16: - dec_ref r7 - dec_ref r9 +L11: + dec_ref r2 + dec_ref r5 goto L8 -L17: - dec_ref r7 - dec_ref r9 - goto L12 +L12: + dec_ref r2 + dec_ref r6 + goto L10 +L13: + dec_ref r6 + goto L6 -def _format_tuple_but_cache_checksums(abi_types, values): - abi_types :: object - values :: union[list, tuple] - r0 :: list - r1 :: int - r2 :: object - r3 :: bool +def _stats_daemon__StatsLogger_gen.__await__(__mypyc_self__): + __mypyc_self__ :: dank_mids.stats._stats_daemon__StatsLogger_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def _StatsLogger._stats_daemon(self): + self :: dank_mids.stats._StatsLogger + r0 :: dank_mids.stats._stats_daemon__StatsLogger_gen + r1, r2 :: bool + r3 :: dank_mids.stats._stats_daemon__StatsLogger_gen +L0: + r0 = _stats_daemon__StatsLogger_gen() + if is_error(r0) goto L3 (error at _stats_daemon:270) else goto L1 +L1: + r0.__mypyc_next_label__ = 0 + inc_ref self + r0.__mypyc_generator_attribute__self = self; r2 = is_error + if not r2 goto L4 (error at _stats_daemon:270) else goto L2 :: bool +L2: + return r0 +L3: + r3 = :: dank_mids.stats._stats_daemon__StatsLogger_gen + return r3 +L4: + dec_ref r0 + goto L3 + +def _StatsLogger.log_validation_error(self, method, e): + self :: dank_mids.stats._StatsLogger + method, e :: object + r0 :: str + r1 :: object + r2 :: object[2] + r3 :: object_ptr r4 :: object - r5 :: object[2] - r6 :: object_ptr - r7, r8, r9, r10, r11 :: object - r12 :: str + r5 :: bool + r6 :: dict + r7 :: str + r8 :: object + r9 :: bool + r10 :: dank_mids.stats._Collector + r11 :: bool + r12 :: dict r13 :: object - r14 :: i32 - r15 :: bit - r16 :: bool - r17 :: union[list, tuple] - r18 :: list - r19 :: i32 - r20 :: bit - r21 :: object - r22 :: bool - r23 :: i32 - r24 :: bit - r25 :: bool - r26 :: str - r27 :: object - r28 :: union[list, tuple] - r29 :: list - r30 :: i32 - r31 :: bit - r32 :: str - r33 :: object[1] - r34 :: object_ptr - r35 :: object - r36 :: str - r37 :: object - r38 :: i32 - r39 :: bit - r40 :: tuple[object, object, object] - r41 :: object - r42 :: str - r43 :: object - r44 :: bit - r45, r46 :: object - r47, r48, r49, r50, r51 :: str - r52 :: object[1] - r53 :: object_ptr - r54 :: object - r55, r56, r57 :: bit - r58 :: list + r14 :: str + r15 :: object[2] + r16 :: object_ptr + r17 :: object + r18 :: str + r19 :: tuple[object] + r20 :: object + r21 :: dict + r22, r23 :: None L0: - r0 = PyList_New(0) - if is_error(r0) goto L45 (error at _format_tuple_but_cache_checksums:347) else goto L1 + r0 = 'isEnabledFor' + r1 = object 15 + r2 = [self, r1] + r3 = load_address r2 + r4 = PyObject_VectorcallMethod(r0, r3, 9223372036854775810, 0) + if is_error(r4) goto L16 (error at log_validation_error:306) else goto L1 L1: - r1 = CPyObject_Size(abi_types) - if is_error(r1) goto L46 (error at _format_tuple_but_cache_checksums:348) else goto L2 + r5 = unbox(bool, r4) + dec_ref r4 + if is_error(r5) goto L16 (error at log_validation_error:306) else goto L2 L2: - r2 = dank_mids.brownie_patch.call._check_array :: static - if is_error(r2) goto L47 else goto L5 + r6 = dank_mids.stats.globals :: static + r7 = 'COLLECT_STATS' + r8 = CPyDict_GetItem(r6, r7) + if is_error(r8) goto L16 (error at log_validation_error:307) else goto L3 L3: - r3 = raise NameError('value for final name "_check_array" was not set') - if not r3 goto L45 (error at _format_tuple_but_cache_checksums:348) else goto L4 :: bool + r9 = unbox(bool, r8) + dec_ref r8 + if is_error(r9) goto L16 (error at log_validation_error:307) else goto L4 L4: - unreachable + if r9 goto L6 else goto L5 :: bool L5: - r4 = box(int, r1) - r5 = [values, r4] - r6 = load_address r5 - r7 = PyObject_Vectorcall(r2, r6, 2, 0) - if is_error(r7) goto L48 (error at _format_tuple_but_cache_checksums:348) else goto L49 + if r5 goto L6 else goto L12 :: bool L6: - dec_ref r4 - r8 = PyObject_GetIter(abi_types) - if is_error(r8) goto L46 (error at _format_tuple_but_cache_checksums:349) else goto L7 + r10 = dank_mids.stats.collector :: static + if is_error(r10) goto L7 else goto L9 L7: - r9 = PyObject_GetIter(values) - if is_error(r9) goto L50 (error at _format_tuple_but_cache_checksums:349) else goto L8 + r11 = raise NameError('value for final name "collector" was not set') + if not r11 goto L16 (error at log_validation_error:308) else goto L8 :: bool L8: - r10 = PyIter_Next(r8) - if is_error(r10) goto L51 else goto L9 + unreachable L9: - r11 = PyIter_Next(r9) - if is_error(r11) goto L52 else goto L10 + r12 = r10.validation_errors + r13 = CPyDict_GetItem(r12, method) + dec_ref r12 + if is_error(r13) goto L16 (error at log_validation_error:308) else goto L10 L10: + r14 = 'append' + r15 = [r13, e] + r16 = load_address r15 + r17 = PyObject_VectorcallMethod(r14, r16, 9223372036854775810, 0) + if is_error(r17) goto L17 (error at log_validation_error:308) else goto L18 L11: - r12 = 'is_array' - r13 = CPyObject_GetAttr(r10, r12) - if is_error(r13) goto L53 (error at _format_tuple_but_cache_checksums:351) else goto L12 -L12: - r14 = PyObject_IsTrue(r13) dec_ref r13 - r15 = r14 >= 0 :: signed - if not r15 goto L53 (error at _format_tuple_but_cache_checksums:351) else goto L13 :: bool +L12: + if r5 goto L13 else goto L15 :: bool L13: - r16 = truncate r14: i32 to builtins.bool - if r16 goto L14 else goto L17 :: bool + r18 = "ValidationError when decoding response for %s. This *should* not impact your script. If it does, you'll know." + inc_ref method + r19 = (method) + r20 = box(tuple[object], r19) + r21 = PyDict_New() + if is_error(r21) goto L19 (error at log_validation_error:310) else goto L14 L14: - inc_ref r11 - r17 = cast(union[list, tuple], r11) - if is_error(r17) goto L53 (error at _format_tuple_but_cache_checksums:352) else goto L15 + r22 = self._log(30, r18, r20, r21) + dec_ref r20 + dec_ref r21 + if is_error(r22) goto L16 (error at log_validation_error:310) else goto L15 L15: - r18 = _format_array_but_cache_checksums(r10, r17) - dec_ref r10 - dec_ref r17 - if is_error(r18) goto L54 (error at _format_tuple_but_cache_checksums:352) else goto L16 + return 1 L16: - r19 = PyList_Append(r0, r18) - dec_ref r18 - r20 = r19 >= 0 :: signed - if not r20 goto L54 (error at _format_tuple_but_cache_checksums:352) else goto L55 :: bool + r23 = :: None + return r23 L17: - r21 = dank_mids.brownie_patch.call.TupleType :: static - if is_error(r21) goto L56 else goto L20 + dec_ref r13 + goto L16 L18: - r22 = raise NameError('value for final name "TupleType" was not set') - if not r22 goto L30 (error at _format_tuple_but_cache_checksums:353) else goto L57 :: bool + dec_ref r17 + goto L11 L19: - unreachable -L20: - r23 = PyObject_IsInstance(r10, r21) - r24 = r23 >= 0 :: signed - if not r24 goto L53 (error at _format_tuple_but_cache_checksums:353) else goto L21 :: bool -L21: - r25 = truncate r23: i32 to builtins.bool - if r25 goto L22 else goto L26 :: bool -L22: - r26 = 'components' - r27 = CPyObject_GetAttr(r10, r26) - dec_ref r10 - if is_error(r27) goto L54 (error at _format_tuple_but_cache_checksums:354) else goto L23 -L23: - inc_ref r11 - r28 = cast(union[list, tuple], r11) - if is_error(r28) goto L58 (error at _format_tuple_but_cache_checksums:354) else goto L24 -L24: - r29 = _format_tuple_but_cache_checksums(r27, r28) - dec_ref r27 - dec_ref r28 - if is_error(r29) goto L54 (error at _format_tuple_but_cache_checksums:354) else goto L25 -L25: - r30 = PyList_Append(r0, r29) - dec_ref r29 - r31 = r30 >= 0 :: signed - if not r31 goto L54 (error at _format_tuple_but_cache_checksums:354) else goto L59 :: bool -L26: - r32 = 'to_type_str' - r33 = [r10] - r34 = load_address r33 - r35 = PyObject_VectorcallMethod(r32, r34, 9223372036854775809, 0) - if is_error(r35) goto L53 (error at _format_tuple_but_cache_checksums:356) else goto L27 -L27: - dec_ref r10 - r36 = cast(str, r35) - if is_error(r36) goto L54 (error at _format_tuple_but_cache_checksums:356) else goto L28 -L28: - r37 = _format_single_but_cache_checksums(r36, r11) - dec_ref r36 - if is_error(r37) goto L54 (error at _format_tuple_but_cache_checksums:356) else goto L29 -L29: - r38 = PyList_Append(r0, r37) - dec_ref r37 - r39 = r38 >= 0 :: signed - if not r39 goto L54 (error at _format_tuple_but_cache_checksums:356) else goto L60 :: bool -L30: - r40 = CPy_CatchError() - r41 = builtins :: module - r42 = 'Exception' - r43 = CPyObject_GetAttr(r41, r42) - if is_error(r43) goto L61 (error at _format_tuple_but_cache_checksums:357) else goto L31 -L31: - r44 = CPy_ExceptionMatches(r43) - dec_ref r43 - if r44 goto L32 else goto L62 :: bool -L32: - r45 = CPy_GetExcValue() - r46 = CPy_TYPE(r45) - r47 = "'" - r48 = PyObject_Str(r11) - dec_ref r11 - if is_error(r48) goto L63 (error at _format_tuple_but_cache_checksums:358) else goto L33 -L33: - r49 = "' - " - r50 = PyObject_Str(r45) - dec_ref r45 - if is_error(r50) goto L64 (error at _format_tuple_but_cache_checksums:358) else goto L34 -L34: - r51 = CPyStr_Build(4, r47, r48, r49, r50) - dec_ref r48 - dec_ref r50 - if is_error(r51) goto L65 (error at _format_tuple_but_cache_checksums:358) else goto L35 -L35: - r52 = [r51] - r53 = load_address r52 - r54 = PyObject_Vectorcall(r46, r53, 1, 0) - dec_ref r46 - if is_error(r54) goto L66 (error at _format_tuple_but_cache_checksums:358) else goto L36 -L36: - dec_ref r51 - CPy_Raise(r54) - dec_ref r54 - if not 0 goto L40 (error at _format_tuple_but_cache_checksums:358) else goto L67 :: bool -L37: - unreachable -L38: - CPy_Reraise() - if not 0 goto L40 else goto L68 :: bool -L39: - unreachable -L40: - CPy_RestoreExcInfo(r40) - dec_ref r40 - r55 = CPy_KeepPropagating() - if not r55 goto L45 else goto L41 :: bool -L41: - unreachable -L42: - r56 = CPy_NoErrOccurred() - if not r56 goto L46 (error at _format_tuple_but_cache_checksums:349) else goto L43 :: bool -L43: - r57 = CPy_NoErrOccurred() - if not r57 goto L46 (error at _format_tuple_but_cache_checksums:349) else goto L44 :: bool -L44: - return r0 -L45: - r58 = :: list - return r58 -L46: - dec_ref r0 - goto L45 -L47: - dec_ref r0 - dec_ref r1 :: int - goto L3 -L48: - dec_ref r0 - dec_ref r4 - goto L45 -L49: - dec_ref r7 - goto L6 -L50: - dec_ref r0 - dec_ref r8 - goto L45 -L51: - dec_ref r8 - dec_ref r9 - goto L42 -L52: - dec_ref r8 - dec_ref r9 - dec_ref r10 - goto L42 -L53: - dec_ref r0 - dec_ref r8 - dec_ref r9 - dec_ref r10 - goto L30 -L54: - dec_ref r0 - dec_ref r8 - dec_ref r9 - goto L30 -L55: - dec_ref r11 - goto L8 -L56: - dec_ref r0 - dec_ref r8 - dec_ref r9 - dec_ref r10 - goto L18 -L57: - dec_ref r11 - goto L19 -L58: - dec_ref r0 - dec_ref r8 - dec_ref r9 - dec_ref r27 - goto L30 -L59: - dec_ref r11 - goto L8 -L60: - dec_ref r11 - goto L8 -L61: - dec_ref r11 - goto L40 -L62: - dec_ref r11 - goto L38 -L63: - dec_ref r45 - dec_ref r46 - goto L40 -L64: - dec_ref r46 - dec_ref r48 - goto L40 -L65: - dec_ref r46 - goto L40 -L66: - dec_ref r51 - goto L40 -L67: - dec_ref r40 - goto L37 -L68: - dec_ref r40 - goto L39 + dec_ref r20 + goto L16 -def _format_array_but_cache_checksums(abi_type, values): - abi_type :: object - values :: union[list, tuple] - r0 :: str - r1, r2, r3 :: object - r4 :: int - r5 :: bit - r6 :: str - r7, r8, r9, r10, r11 :: object - r12 :: union[object, None] - r13, r14 :: object - r15 :: bool - r16 :: object[2] - r17 :: object_ptr - r18 :: object - r19 :: str - r20 :: object - r21 :: str - r22 :: object - r23 :: i32 - r24 :: bit - r25 :: bool - r26 :: list - r27, r28 :: object - r29 :: union[list, tuple] - r30 :: list - r31 :: i32 - r32, r33 :: bit - r34 :: object - r35 :: bool - r36 :: i32 - r37 :: bit - r38 :: bool - r39 :: str - r40 :: object - r41 :: list - r42, r43 :: object - r44 :: union[list, tuple] - r45 :: list - r46 :: i32 - r47, r48 :: bit - r49 :: str - r50 :: object[1] - r51 :: object_ptr - r52 :: object - r53 :: str - r54 :: list - r55, r56, r57 :: object - r58 :: i32 - r59, r60 :: bit - r61 :: list +def _StatsLogger.log_types(self, method, decoded): + self :: dank_mids.stats._StatsLogger + method, decoded :: object + r0 :: set + r1 :: str + r2 :: object[1] + r3 :: object_ptr + r4, r5, r6, r7 :: object + r8 :: i32 + r9, r10 :: bit + r11, r12, r13, r14, r15 :: str + r16 :: tuple + r17 :: dict + r18 :: None + r19 :: object + r20 :: i32 + r21 :: bit + r22 :: bool + r23 :: str + r24 :: object[1] + r25 :: object_ptr + r26 :: object + r27 :: int + r28 :: None + r29 :: dank_mids.stats._Collector + r30 :: bool + r31 :: set + r32 :: i32 + r33 :: bit + r34 :: None L0: - r0 = 'arrlist' - r1 = CPyObject_GetAttr(abi_type, r0) - if is_error(r1) goto L48 (error at _format_array_but_cache_checksums:363) else goto L1 + r0 = PySet_New(0) + if is_error(r0) goto L20 (error at log_types:332) else goto L1 L1: - r2 = object -1 - r3 = PyObject_GetItem(r1, r2) - dec_ref r1 - if is_error(r3) goto L48 (error at _format_array_but_cache_checksums:363) else goto L2 + r1 = 'values' + r2 = [decoded] + r3 = load_address r2 + r4 = PyObject_VectorcallMethod(r1, r3, 9223372036854775809, 0) + if is_error(r4) goto L21 (error at log_types:332) else goto L2 L2: - r4 = CPyObject_Size(r3) - dec_ref r3 - if is_error(r4) goto L48 (error at _format_array_but_cache_checksums:363) else goto L3 + r5 = PyObject_GetIter(r4) + dec_ref r4 + if is_error(r5) goto L21 (error at log_types:332) else goto L3 L3: - r5 = r4 != 0 - dec_ref r4 :: int - if r5 goto L4 else goto L8 :: bool + r6 = PyIter_Next(r5) + if is_error(r6) goto L22 else goto L4 L4: - r6 = 'arrlist' - r7 = CPyObject_GetAttr(abi_type, r6) - if is_error(r7) goto L48 (error at _format_array_but_cache_checksums:363) else goto L5 -L5: - r8 = object -1 - r9 = PyObject_GetItem(r7, r8) + r7 = CPy_TYPE(r6) + dec_ref r6 + r8 = PySet_Add(r0, r7) dec_ref r7 - if is_error(r9) goto L48 (error at _format_array_but_cache_checksums:363) else goto L6 + r9 = r8 >= 0 :: signed + if not r9 goto L23 (error at log_types:332) else goto L3 :: bool +L5: + r10 = CPy_NoErrOccurred() + if not r10 goto L21 (error at log_types:332) else goto L6 :: bool L6: - r10 = object 0 - r11 = PyObject_GetItem(r9, r10) - dec_ref r9 - if is_error(r11) goto L48 (error at _format_array_but_cache_checksums:363) else goto L7 + r11 = 'my method and types: ' + r12 = PyObject_Str(method) + if is_error(r12) goto L24 (error at log_types:333) else goto L7 L7: - r12 = r11 - goto L9 + r13 = ' ' + r14 = PyObject_Str(r0) + if is_error(r14) goto L25 (error at log_types:333) else goto L8 L8: - r13 = box(None, 1) - inc_ref r13 - r12 = r13 + r15 = CPyStr_Build(4, r11, r12, r13, r14) + dec_ref r12 + dec_ref r14 + if is_error(r15) goto L24 (error at log_types:333) else goto L9 L9: - r14 = dank_mids.brownie_patch.call._check_array :: static - if is_error(r14) goto L49 else goto L12 + r16 = CPyTuple_LoadEmptyTupleConstant() + r17 = PyDict_New() + if is_error(r17) goto L26 (error at log_types:333) else goto L10 L10: - r15 = raise NameError('value for final name "_check_array" was not set') - if not r15 goto L48 (error at _format_array_but_cache_checksums:363) else goto L11 :: bool + r18 = self.devhint(r15, r16, r17) + dec_ref r15 + dec_ref r16 + dec_ref r17 + if is_error(r18) goto L24 (error at log_types:333) else goto L11 L11: - unreachable + r19 = load_address PyList_Type + r20 = PySet_Contains(r0, r19) + r21 = r20 >= 0 :: signed + if not r21 goto L24 (error at log_types:334) else goto L12 :: bool L12: - r16 = [values, r12] - r17 = load_address r16 - r18 = PyObject_Vectorcall(r14, r17, 2, 0) - if is_error(r18) goto L50 (error at _format_array_but_cache_checksums:363) else goto L51 + r22 = truncate r20: i32 to builtins.bool + if r22 goto L13 else goto L15 :: bool L13: - dec_ref r12 - r19 = 'item_type' - r20 = CPyObject_GetAttr(abi_type, r19) - if is_error(r20) goto L48 (error at _format_array_but_cache_checksums:364) else goto L14 + r23 = 'values' + r24 = [decoded] + r25 = load_address r24 + r26 = PyObject_VectorcallMethod(r23, r25, 9223372036854775809, 0) + if is_error(r26) goto L24 (error at log_types:335) else goto L14 L14: - r21 = 'is_array' - r22 = CPyObject_GetAttr(r20, r21) - if is_error(r22) goto L52 (error at _format_array_but_cache_checksums:365) else goto L15 + r27 = :: int + r28 = self._log_list_types(r26, r27) + dec_ref r26 + if is_error(r28) goto L24 (error at log_types:335) else goto L15 L15: - r23 = PyObject_IsTrue(r22) - dec_ref r22 - r24 = r23 >= 0 :: signed - if not r24 goto L52 (error at _format_array_but_cache_checksums:365) else goto L16 :: bool + r29 = dank_mids.stats.collector :: static + if is_error(r29) goto L27 else goto L18 L16: - r25 = truncate r23: i32 to builtins.bool - if r25 goto L17 else goto L25 :: bool + r30 = raise NameError('value for final name "collector" was not set') + if not r30 goto L20 (error at log_types:336) else goto L17 :: bool L17: - r26 = PyList_New(0) - if is_error(r26) goto L52 (error at _format_array_but_cache_checksums:366) else goto L18 + unreachable L18: - r27 = PyObject_GetIter(values) - if is_error(r27) goto L53 (error at _format_array_but_cache_checksums:366) else goto L19 + r31 = r29.types + r32 = _PySet_Update(r31, r0) + dec_ref r31 + dec_ref r0 + r33 = r32 >= 0 :: signed + if not r33 goto L20 (error at log_types:336) else goto L19 :: bool L19: - r28 = PyIter_Next(r27) - if is_error(r28) goto L54 else goto L20 + return 1 L20: - r29 = cast(union[list, tuple], r28) - if is_error(r29) goto L55 (error at _format_array_but_cache_checksums:366) else goto L21 + r34 = :: None + return r34 L21: - r30 = _format_array_but_cache_checksums(r20, r29) - dec_ref r29 - if is_error(r30) goto L55 (error at _format_array_but_cache_checksums:366) else goto L22 + dec_ref r0 + goto L20 L22: - r31 = PyList_Append(r26, r30) - dec_ref r30 - r32 = r31 >= 0 :: signed - if not r32 goto L55 (error at _format_array_but_cache_checksums:366) else goto L19 :: bool + dec_ref r5 + goto L5 L23: - r33 = CPy_NoErrOccurred() - if not r33 goto L56 (error at _format_array_but_cache_checksums:366) else goto L24 :: bool + dec_ref r0 + dec_ref r5 + goto L20 L24: - return r26 + dec_ref r0 + goto L20 L25: - r34 = dank_mids.brownie_patch.call.TupleType :: static - if is_error(r34) goto L57 else goto L28 + dec_ref r0 + dec_ref r12 + goto L20 L26: - r35 = raise NameError('value for final name "TupleType" was not set') - if not r35 goto L48 (error at _format_array_but_cache_checksums:367) else goto L27 :: bool + dec_ref r0 + dec_ref r15 + dec_ref r16 + goto L20 L27: - unreachable -L28: - r36 = PyObject_IsInstance(r20, r34) - r37 = r36 >= 0 :: signed - if not r37 goto L52 (error at _format_array_but_cache_checksums:367) else goto L29 :: bool -L29: - r38 = truncate r36: i32 to builtins.bool - if r38 goto L30 else goto L39 :: bool -L30: - r39 = 'components' - r40 = CPyObject_GetAttr(r20, r39) - dec_ref r20 - if is_error(r40) goto L48 (error at _format_array_but_cache_checksums:368) else goto L31 -L31: - r41 = PyList_New(0) - if is_error(r41) goto L58 (error at _format_array_but_cache_checksums:369) else goto L32 -L32: - r42 = PyObject_GetIter(values) - if is_error(r42) goto L59 (error at _format_array_but_cache_checksums:369) else goto L33 -L33: - r43 = PyIter_Next(r42) - if is_error(r43) goto L60 else goto L34 -L34: - r44 = cast(union[list, tuple], r43) - if is_error(r44) goto L61 (error at _format_array_but_cache_checksums:369) else goto L35 -L35: - r45 = _format_tuple_but_cache_checksums(r40, r44) - dec_ref r44 - if is_error(r45) goto L61 (error at _format_array_but_cache_checksums:369) else goto L36 -L36: - r46 = PyList_Append(r41, r45) - dec_ref r45 - r47 = r46 >= 0 :: signed - if not r47 goto L61 (error at _format_array_but_cache_checksums:369) else goto L33 :: bool -L37: - r48 = CPy_NoErrOccurred() - if not r48 goto L62 (error at _format_array_but_cache_checksums:369) else goto L38 :: bool -L38: - return r41 -L39: - r49 = 'to_type_str' - r50 = [r20] - r51 = load_address r50 - r52 = PyObject_VectorcallMethod(r49, r51, 9223372036854775809, 0) - if is_error(r52) goto L52 (error at _format_array_but_cache_checksums:371) else goto L40 -L40: - dec_ref r20 - r53 = cast(str, r52) - if is_error(r53) goto L48 (error at _format_array_but_cache_checksums:371) else goto L41 -L41: - r54 = PyList_New(0) - if is_error(r54) goto L63 (error at _format_array_but_cache_checksums:372) else goto L42 -L42: - r55 = PyObject_GetIter(values) - if is_error(r55) goto L64 (error at _format_array_but_cache_checksums:372) else goto L43 -L43: - r56 = PyIter_Next(r55) - if is_error(r56) goto L65 else goto L44 -L44: - r57 = _format_single_but_cache_checksums(r53, r56) - dec_ref r56 - if is_error(r57) goto L66 (error at _format_array_but_cache_checksums:372) else goto L45 -L45: - r58 = PyList_Append(r54, r57) - dec_ref r57 - r59 = r58 >= 0 :: signed - if not r59 goto L66 (error at _format_array_but_cache_checksums:372) else goto L43 :: bool -L46: - r60 = CPy_NoErrOccurred() - if not r60 goto L67 (error at _format_array_but_cache_checksums:372) else goto L47 :: bool -L47: - return r54 -L48: - r61 = :: list - return r61 -L49: - dec_ref r12 - goto L10 -L50: - dec_ref r12 - goto L48 -L51: - dec_ref r18 - goto L13 -L52: - dec_ref r20 - goto L48 -L53: - dec_ref r20 - dec_ref r26 - goto L48 -L54: - dec_ref r20 - dec_ref r27 - goto L23 -L55: - dec_ref r20 - dec_ref r26 - dec_ref r27 - goto L48 -L56: - dec_ref r26 - goto L48 -L57: - dec_ref r20 - goto L26 -L58: - dec_ref r40 - goto L48 -L59: - dec_ref r40 - dec_ref r41 - goto L48 -L60: - dec_ref r40 - dec_ref r42 - goto L37 -L61: - dec_ref r40 - dec_ref r41 - dec_ref r42 - goto L48 -L62: - dec_ref r41 - goto L48 -L63: - dec_ref r53 - goto L48 -L64: - dec_ref r53 - dec_ref r54 - goto L48 -L65: - dec_ref r53 - dec_ref r55 - goto L46 -L66: - dec_ref r53 - dec_ref r54 - dec_ref r55 - goto L48 -L67: - dec_ref r54 - goto L48 + dec_ref r0 + goto L16 -def _format_single_but_cache_checksums(type_str, value): - type_str :: str - value :: object - r0 :: str - r1 :: i32 - r2 :: bit - r3 :: bool - r4 :: object - r5 :: bool - r6 :: object[2] - r7 :: object_ptr - r8 :: object - r9 :: str - r10 :: i32 - r11 :: bit - r12 :: bool - r13 :: object - r14 :: bool - r15 :: object[2] - r16 :: object_ptr - r17 :: object - r18 :: str - r19 :: bool - r20 :: object - r21 :: bool - r22 :: object[1] - r23 :: object_ptr - r24 :: object - r25 :: str - r26 :: bool - r27 :: object - r28 :: bool - r29 :: object[1] - r30 :: object_ptr - r31 :: object - r32 :: str - r33 :: bool - r34, r35, r36 :: object - r37 :: str - r38, r39, r40 :: object - r41 :: tuple[object, object, object, object, object] - r42 :: object - r43 :: i32 - r44 :: bit - r45 :: bool - r46 :: union[str, bytes, object, int] - r47 :: str - r48 :: object - r49 :: bool - r50 :: object[1] - r51 :: object_ptr - r52 :: object - r53 :: str - r54 :: i32 - r55 :: bit - r56 :: bool - r57 :: object - r58 :: bool - r59 :: object[2] - r60 :: object_ptr - r61 :: object - r62 :: str - r63 :: i32 - r64 :: bit - r65 :: bool - r66 :: object - r67 :: bool - r68 :: object[1] - r69 :: object_ptr - r70 :: object - r71, r72 :: str - r73 :: object - r74 :: str - r75 :: object - r76 :: object[1] - r77 :: object_ptr - r78, r79 :: object +def _StatsLogger._log_list_types(self, values, level): + self :: dank_mids.stats._StatsLogger + values :: object + level :: int + r0 :: set + r1, r2 :: object + r3 :: bit + r4 :: list + r5 :: native_int + r6 :: ptr + r7 :: native_int + r8 :: bit + r9, r10 :: ptr + r11 :: native_int + r12 :: ptr + r13, r14 :: object + r15 :: i32 + r16 :: bit + r17 :: native_int + r18 :: bit + r19 :: dank_mids.stats._Collector + r20 :: bool + r21 :: set + r22 :: i32 + r23 :: bit + r24 :: str + r25 :: object + r26 :: object[2] + r27 :: object_ptr + r28 :: object + r29 :: bool + r30, r31, r32 :: str + r33 :: tuple + r34 :: dict + r35, r36 :: None L0: - r0 = 'uint' - r1 = PyUnicode_Contains(type_str, r0) - r2 = r1 >= 0 :: signed - if not r2 goto L57 (error at _format_single_but_cache_checksums:377) else goto L1 :: bool + if is_error(level) goto L1 else goto L25 L1: - r3 = truncate r1: i32 to builtins.bool - if r3 goto L2 else goto L7 :: bool + level = 30 L2: - r4 = dank_mids.brownie_patch.call.to_uint :: static - if is_error(r4) goto L3 else goto L5 + r0 = PySet_New(0) + if is_error(r0) goto L26 (error at _log_list_types:353) else goto L3 L3: - r5 = raise NameError('value for final name "to_uint" was not set') - if not r5 goto L57 (error at _format_single_but_cache_checksums:378) else goto L4 :: bool + r1 = PyObject_GetIter(values) + if is_error(r1) goto L27 (error at _log_list_types:353) else goto L4 L4: - unreachable + r2 = PyIter_Next(r1) + if is_error(r2) goto L28 else goto L5 L5: - r6 = [value, type_str] - r7 = load_address r6 - r8 = PyObject_Vectorcall(r4, r7, 2, 0) - if is_error(r8) goto L57 (error at _format_single_but_cache_checksums:378) else goto L6 + r3 = PyList_Check(r2) + if r3 goto L6 else goto L29 :: bool L6: - return r8 + r4 = cast(list, r2) + if is_error(r4) goto L30 (error at _log_list_types:353) else goto L7 L7: - r9 = 'int' - r10 = PyUnicode_Contains(type_str, r9) - r11 = r10 >= 0 :: signed - if not r11 goto L57 (error at _format_single_but_cache_checksums:379) else goto L8 :: bool + r5 = 0 L8: - r12 = truncate r10: i32 to builtins.bool - if r12 goto L9 else goto L14 :: bool + r6 = get_element_ptr r4 ob_size :: PyVarObject + r7 = load_mem r6 :: native_int* + r8 = r5 < r7 :: signed + if r8 goto L9 else goto L31 :: bool L9: - r13 = dank_mids.brownie_patch.call.to_int :: static - if is_error(r13) goto L10 else goto L12 + r9 = get_element_ptr r4 ob_item :: PyListObject + r10 = load_mem r9 :: ptr* + r11 = r5 * 8 + r12 = r10 + r11 + r13 = load_mem r12 :: builtins.object* + r14 = CPy_TYPE(r13) + dec_ref r13 + r15 = PySet_Add(r0, r14) + dec_ref r14 + r16 = r15 >= 0 :: signed + if not r16 goto L32 (error at _log_list_types:353) else goto L10 :: bool L10: - r14 = raise NameError('value for final name "to_int" was not set') - if not r14 goto L57 (error at _format_single_but_cache_checksums:380) else goto L11 :: bool + r17 = r5 + 1 + r5 = r17 + goto L8 L11: - unreachable + r18 = CPy_NoErrOccurred() + if not r18 goto L27 (error at _log_list_types:353) else goto L12 :: bool L12: - r15 = [value, type_str] - r16 = load_address r15 - r17 = PyObject_Vectorcall(r13, r16, 2, 0) - if is_error(r17) goto L57 (error at _format_single_but_cache_checksums:380) else goto L13 + r19 = dank_mids.stats.collector :: static + if is_error(r19) goto L33 else goto L15 L13: - return r17 + r20 = raise NameError('value for final name "collector" was not set') + if not r20 goto L24 (error at _log_list_types:354) else goto L14 :: bool L14: - r18 = 'fixed168x10' - r19 = CPyStr_Equal(type_str, r18) - if r19 goto L15 else goto L20 :: bool + unreachable L15: - r20 = dank_mids.brownie_patch.call.to_decimal :: static - if is_error(r20) goto L16 else goto L18 + r21 = r19.types + r22 = _PySet_Update(r21, r0) + dec_ref r21 + r23 = r22 >= 0 :: signed + if not r23 goto L34 (error at _log_list_types:354) else goto L16 :: bool L16: - r21 = raise NameError('value for final name "to_decimal" was not set') - if not r21 goto L57 (error at _format_single_but_cache_checksums:382) else goto L17 :: bool + r24 = 'isEnabledFor' + inc_ref level :: int + r25 = box(int, level) + r26 = [self, r25] + r27 = load_address r26 + r28 = PyObject_VectorcallMethod(r24, r27, 9223372036854775810, 0) + if is_error(r28) goto L35 (error at _log_list_types:355) else goto L17 L17: - unreachable + dec_ref r25 + r29 = unbox(bool, r28) + dec_ref r28 + if is_error(r29) goto L34 (error at _log_list_types:355) else goto L18 L18: - r22 = [value] - r23 = load_address r22 - r24 = PyObject_Vectorcall(r20, r23, 1, 0) - if is_error(r24) goto L57 (error at _format_single_but_cache_checksums:382) else goto L19 + if r29 goto L19 else goto L36 :: bool L19: - return r24 + r30 = 'list types: ' + r31 = PyObject_Str(r0) + dec_ref r0 + if is_error(r31) goto L26 (error at _log_list_types:356) else goto L20 L20: - r25 = 'bool' - r26 = CPyStr_Equal(type_str, r25) - if r26 goto L21 else goto L26 :: bool + r32 = CPyStr_Build(2, r30, r31) + dec_ref r31 + if is_error(r32) goto L26 (error at _log_list_types:356) else goto L21 L21: - r27 = dank_mids.brownie_patch.call.to_bool :: static - if is_error(r27) goto L22 else goto L24 + r33 = :: tuple + r34 = PyDict_New() + if is_error(r34) goto L37 (error at _log_list_types:356) else goto L22 L22: - r28 = raise NameError('value for final name "to_bool" was not set') - if not r28 goto L57 (error at _format_single_but_cache_checksums:384) else goto L23 :: bool + r35 = self._log(level, r32, r33, r34) + dec_ref level :: int + dec_ref r32 + dec_ref r34 + if is_error(r35) goto L24 (error at _log_list_types:356) else goto L23 L23: - unreachable + return 1 L24: - r29 = [value] - r30 = load_address r29 - r31 = PyObject_Vectorcall(r27, r30, 1, 0) - if is_error(r31) goto L57 (error at _format_single_but_cache_checksums:384) else goto L25 + r36 = :: None + return r36 L25: - return r31 + inc_ref level :: int + goto L2 L26: - r32 = 'address' - r33 = CPyStr_Equal(type_str, r32) - if r33 goto L27 else goto L38 :: bool + dec_ref level :: int + goto L24 L27: - r34 = load_address PyUnicode_Type - r35 = load_address PyBytes_Type - r36 = builtins :: module - r37 = 'bytearray' - r38 = CPyObject_GetAttr(r36, r37) - if is_error(r38) goto L57 (error at _format_single_but_cache_checksums:388) else goto L28 + dec_ref level :: int + dec_ref r0 + goto L24 L28: - r39 = load_address PyLong_Type - r40 = load_address PyBool_Type - inc_ref r34 - inc_ref r35 - inc_ref r39 - inc_ref r40 - r41 = (r34, r35, r38, r39, r40) - r42 = box(tuple[object, object, object, object, object], r41) - r43 = PyObject_IsInstance(value, r42) - dec_ref r42 - r44 = r43 >= 0 :: signed - if not r44 goto L57 (error at _format_single_but_cache_checksums:388) else goto L29 :: bool + dec_ref r1 + goto L11 L29: - r45 = truncate r43: i32 to builtins.bool - if r45 goto L30 else goto L31 :: bool + dec_ref r2 + goto L4 L30: - inc_ref value - r46 = value - goto L33 + dec_ref level :: int + dec_ref r0 + dec_ref r1 + goto L24 L31: - r47 = PyObject_Str(value) - if is_error(r47) goto L57 (error at _format_single_but_cache_checksums:388) else goto L32 + dec_ref r4 + goto L4 L32: - r46 = r47 + dec_ref level :: int + dec_ref r0 + dec_ref r1 + dec_ref r4 + goto L24 L33: - r48 = dank_mids.brownie_patch.call.to_checksum_address :: static - if is_error(r48) goto L58 else goto L36 + dec_ref level :: int + dec_ref r0 + goto L13 L34: - r49 = raise NameError('value for final name "to_checksum_address" was not set') - if not r49 goto L57 (error at _format_single_but_cache_checksums:387) else goto L35 :: bool + dec_ref level :: int + dec_ref r0 + goto L24 L35: - unreachable + dec_ref level :: int + dec_ref r0 + dec_ref r25 + goto L24 L36: - r50 = [r46] - r51 = load_address r50 - r52 = PyObject_Vectorcall(r48, r51, 1, 0) - if is_error(r52) goto L59 (error at _format_single_but_cache_checksums:387) else goto L37 + dec_ref level :: int + dec_ref r0 + goto L23 L37: - dec_ref r46 - return r52 -L38: - r53 = 'byte' - r54 = PyUnicode_Contains(type_str, r53) - r55 = r54 >= 0 :: signed - if not r55 goto L57 (error at _format_single_but_cache_checksums:390) else goto L39 :: bool -L39: - r56 = truncate r54: i32 to builtins.bool - if r56 goto L40 else goto L45 :: bool -L40: - r57 = dank_mids.brownie_patch.call.HexString :: static - if is_error(r57) goto L41 else goto L43 -L41: - r58 = raise NameError('value for final name "HexString" was not set') - if not r58 goto L57 (error at _format_single_but_cache_checksums:391) else goto L42 :: bool -L42: - unreachable -L43: - r59 = [value, type_str] - r60 = load_address r59 - r61 = PyObject_Vectorcall(r57, r60, 2, 0) - if is_error(r61) goto L57 (error at _format_single_but_cache_checksums:391) else goto L44 -L44: - return r61 -L45: - r62 = 'string' - r63 = PyUnicode_Contains(type_str, r62) - r64 = r63 >= 0 :: signed - if not r64 goto L57 (error at _format_single_but_cache_checksums:392) else goto L46 :: bool -L46: - r65 = truncate r63: i32 to builtins.bool - if r65 goto L47 else goto L52 :: bool -L47: - r66 = dank_mids.brownie_patch.call.to_string :: static - if is_error(r66) goto L48 else goto L50 -L48: - r67 = raise NameError('value for final name "to_string" was not set') - if not r67 goto L57 (error at _format_single_but_cache_checksums:393) else goto L49 :: bool -L49: - unreachable -L50: - r68 = [value] - r69 = load_address r68 - r70 = PyObject_Vectorcall(r66, r69, 1, 0) - if is_error(r70) goto L57 (error at _format_single_but_cache_checksums:393) else goto L51 -L51: - return r70 -L52: - r71 = 'Unknown type: ' - r72 = CPyStr_Build(2, r71, type_str) - if is_error(r72) goto L57 (error at _format_single_but_cache_checksums:394) else goto L53 -L53: - r73 = builtins :: module - r74 = 'TypeError' - r75 = CPyObject_GetAttr(r73, r74) - if is_error(r75) goto L60 (error at _format_single_but_cache_checksums:394) else goto L54 -L54: - r76 = [r72] - r77 = load_address r76 - r78 = PyObject_Vectorcall(r75, r77, 1, 0) - dec_ref r75 - if is_error(r78) goto L60 (error at _format_single_but_cache_checksums:394) else goto L55 -L55: - dec_ref r72 - CPy_Raise(r78) - dec_ref r78 - if not 0 goto L57 (error at _format_single_but_cache_checksums:394) else goto L56 :: bool -L56: - unreachable -L57: - r79 = :: object - return r79 -L58: - dec_ref r46 - goto L34 -L59: - dec_ref r46 - goto L57 -L60: - dec_ref r72 - goto L57 + dec_ref level :: int + dec_ref r32 + goto L24 -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 :: dict - r26, r27 :: object - r28 :: str +def __mypyc_lambda__0___init____Collector_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___init____Collector_obj.__call__(__mypyc_self__): + __mypyc_self__ :: dank_mids.stats.__mypyc_lambda__0___init____Collector_obj + r0 :: dank_mids.stats.__init____Collector_env + r1 :: dict + r2 :: str + r3, r4 :: object + r5 :: object[1] + r6 :: object_ptr + r7, r8, r9 :: object +L0: + r0 = __mypyc_self__.__mypyc_env__ + if is_error(r0) goto L4 (error at :373) else goto L5 +L1: + r1 = dank_mids.stats.globals :: static + r2 = 'deque' + r3 = CPyDict_GetItem(r1, r2) + if is_error(r3) goto L4 (error at :373) else goto L2 +L2: + r4 = object 50000 + r5 = [r4] + r6 = load_address r5 + r7 = ('maxlen',) + r8 = PyObject_Vectorcall(r3, r6, 0, r7) + dec_ref r3 + if is_error(r8) goto L4 (error at :373) else goto L3 +L3: + return r8 +L4: + r9 = :: object + return r9 +L5: + dec_ref r0 + goto L1 + +def __mypyc_lambda__1___init____Collector_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___init____Collector_obj.__call__(__mypyc_self__): + __mypyc_self__ :: dank_mids.stats.__mypyc_lambda__1___init____Collector_obj + r0 :: dank_mids.stats.__init____Collector_env + r1 :: dict + r2 :: str + r3, r4 :: object + r5 :: object[1] + r6 :: object_ptr + r7, r8, r9 :: object +L0: + r0 = __mypyc_self__.__mypyc_env__ + if is_error(r0) goto L4 (error at :394) else goto L5 +L1: + r1 = dank_mids.stats.globals :: static + r2 = 'deque' + r3 = CPyDict_GetItem(r1, r2) + if is_error(r3) goto L4 (error at :394) else goto L2 +L2: + r4 = object 100 + r5 = [r4] + r6 = load_address r5 + r7 = ('maxlen',) + r8 = PyObject_Vectorcall(r3, r6, 0, r7) + dec_ref r3 + if is_error(r8) goto L4 (error at :394) else goto L3 +L3: + return r8 +L4: + r9 = :: object + return r9 +L5: + dec_ref r0 + goto L1 + +def _Collector.__init__(self): + self :: dank_mids.stats._Collector + r0 :: dank_mids.stats.__init____Collector_env + r1 :: dict + r2 :: str + r3, r4 :: object + r5 :: object[1] + r6 :: object_ptr + r7, r8 :: object + r9 :: dank_mids.stats.__mypyc_lambda__0___init____Collector_obj + r10 :: bool + r11 :: dict + r12 :: str + r13 :: object + r14 :: object[1] + r15 :: object_ptr + r16 :: object + r17 :: dict + r18 :: set + r19 :: dict + r20 :: str + r21, r22 :: object + r23 :: object[1] + r24 :: object_ptr + r25, r26 :: object + r27 :: dank_mids.stats.__mypyc_lambda__1___init____Collector_obj + r28 :: bool r29 :: dict - r30, r31 :: object - r32 :: str - r33 :: dict + r30 :: str + r31 :: object + r32 :: object[1] + r33 :: object_ptr r34 :: object - r35, r36, r37, r38, r39 :: object_ptr - r40 :: object_ptr[5] - r41 :: c_ptr - r42 :: native_int[5] - r43 :: c_ptr - r44 :: object - r45 :: dict - r46, r47 :: str - r48 :: bit - r49 :: object - r50 :: str - r51 :: dict - r52, r53 :: object - r54 :: str - r55 :: dict - r56, r57 :: object - r58 :: str - r59 :: dict - r60, r61 :: object - r62 :: str - r63 :: dict - r64, r65 :: object - r66 :: str - r67 :: dict - r68, r69 :: object - r70 :: str - r71 :: dict - r72, r73 :: object - r74 :: str - r75 :: dict - r76, r77 :: object - r78 :: str - r79 :: dict - r80, r81 :: object - r82 :: str - r83 :: dict - r84, r85 :: object - r86 :: str - r87 :: dict - r88, r89 :: object - r90 :: str - r91 :: dict - r92, r93 :: object - r94 :: str - r95 :: dict - r96, r97 :: object - r98 :: str - r99 :: dict - r100, r101, r102 :: object - r103 :: str - r104 :: dict - r105, r106 :: object - r107 :: str - r108 :: dict - r109, r110 :: object - r111 :: str - r112 :: dict - r113, r114 :: object - r115 :: str - r116 :: dict - r117, r118 :: object - r119 :: str - r120 :: dict - r121, r122 :: object - r123 :: bool - r124 :: str - r125 :: object - r126 :: bool - r127 :: dict - r128 :: str - r129 :: i32 - r130 :: bit - r131 :: str - r132 :: dict - r133 :: str - r134 :: object - r135 :: object[1] - r136 :: object_ptr - r137 :: object - r138 :: dict - r139 :: str - r140 :: i32 - r141 :: bit - r142 :: str - r143 :: object - r144 :: dict - r145 :: str - r146 :: object - r147 :: object[2] - r148 :: object_ptr - r149 :: object - r150 :: dict - r151 :: str - r152 :: i32 - r153 :: bit - r154 :: dict - r155 :: str - r156 :: object - r157 :: dict - r158 :: str - r159, r160 :: object - r161 :: dict - r162 :: str - r163 :: i32 - r164 :: bit - r165 :: dict - r166 :: str - r167 :: object - r168 :: dict - r169 :: str - r170 :: object - r171 :: dict - r172 :: str - r173, r174 :: object - r175 :: dict - r176 :: str - r177 :: object - r178 :: dict - r179 :: str - r180, r181 :: object - r182 :: tuple[object, object] - r183, r184 :: object - r185 :: tuple[object, object] - r186, r187 :: object - r188 :: dict - r189 :: str - r190 :: i32 - r191 :: bit - r192 :: str - r193 :: dict - r194 :: str - r195, r196 :: object - r197 :: dict - r198 :: str - r199 :: object - r200 :: tuple[object, object] - r201, r202 :: object - r203 :: dict - r204 :: str - r205 :: object - r206 :: object[2] - r207 :: object_ptr - r208 :: object - r209 :: dict - r210 :: str - r211 :: i32 - r212 :: bit - r213 :: object - r214 :: str - r215 :: object - r216 :: dict - r217 :: str - r218 :: i32 - r219 :: bit - r220 :: dict - r221 :: str - r222 :: object - r223 :: str - r224 :: object - r225 :: dict - r226 :: str - r227 :: i32 - r228 :: bit - r229 :: dict - r230 :: str - r231 :: object - r232 :: str - r233 :: object - r234 :: str - r235 :: object - r236 :: str - r237 :: object - r238 :: dict - r239 :: str - r240 :: i32 - r241 :: bit - r242 :: dict - r243 :: str - r244 :: object - r245 :: str - r246 :: object - r247 :: str - r248 :: object - r249 :: str - r250 :: object - r251 :: dict - r252 :: str - r253 :: i32 - r254 :: bit - r255 :: dict - r256 :: str - r257 :: object - r258 :: str - r259 :: object - r260 :: str - r261 :: object - r262 :: str - r263 :: object - r264 :: dict - r265 :: str - r266 :: i32 - r267 :: bit - r268 :: dict - r269 :: str - r270 :: object - r271 :: str - r272 :: object - r273 :: str - r274 :: object - r275 :: str - r276 :: object - r277 :: dict - r278 :: str - r279 :: i32 - r280 :: bit - r281 :: dict - r282 :: str - r283 :: object - r284 :: str - r285 :: object - r286 :: dict - r287 :: str - r288 :: i32 - r289 :: bit - r290 :: dict - r291 :: str - r292 :: object - r293 :: str - r294 :: object - r295 :: str - r296 :: object - r297 :: str - r298 :: object - r299 :: dict - r300 :: str - r301 :: i32 - r302 :: bit - r303 :: dict - r304 :: str - r305 :: object - r306 :: str - r307 :: object - r308 :: str - r309 :: object - r310 :: str - r311 :: object - r312 :: dict - r313 :: str - r314 :: i32 - r315 :: bit - r316 :: dict - r317 :: str - r318 :: object - r319 :: str - r320 :: object - r321 :: str - r322 :: object - r323 :: str - r324 :: object - r325 :: dict - r326 :: str - r327 :: i32 - r328 :: bit - r329 :: dict - r330 :: str - r331 :: object - r332 :: str - r333 :: object - r334 :: str - r335 :: object - r336 :: str - r337 :: object - r338 :: dict - r339 :: str - r340 :: i32 - r341 :: bit - r342 :: dict - r343 :: str - r344 :: object - r345 :: str - r346 :: object - r347 :: str - r348 :: object - r349 :: str - r350 :: object - r351 :: dict - r352 :: str - r353 :: i32 - r354 :: bit - r355 :: dict - r356 :: str - r357 :: object - r358 :: str - r359 :: object - r360 :: str - r361 :: object - r362 :: str - r363 :: object - r364 :: dict - r365 :: str - r366 :: i32 - r367 :: bit - r368 :: dict - r369 :: str - r370 :: object - r371 :: str - r372 :: object - r373 :: str - r374 :: object - r375 :: str - r376 :: object - r377 :: dict - r378 :: str - r379 :: i32 - r380 :: bit - r381 :: dict - r382 :: str - r383 :: object - r384 :: str - r385 :: object - r386 :: bool - r387 :: object[1] - r388 :: object_ptr - r389 :: object - r390 :: dict - r391 :: str - r392 :: i32 - r393 :: bit - r394 :: dank_mids.brownie_patch.call.__mypyc_lambda__0_obj - r395 :: dict - r396 :: str - r397 :: i32 - r398 :: bit - r399 :: dank_mids.brownie_patch.call.__mypyc_lambda__1_obj - r400 :: dict - r401 :: str - r402 :: i32 - r403 :: bit - r404 :: dict - r405 :: str - r406 :: object - r407 :: str - r408 :: object - r409 :: dict - r410 :: str - r411 :: i32 - r412 :: bit - r413 :: dict - r414 :: str - r415 :: object - r416 :: dict - r417 :: str - r418 :: object - r419 :: object[1] - r420 :: object_ptr - r421 :: object - r422 :: dict - r423 :: str - r424 :: i32 - r425 :: bit - r426 :: dict - r427 :: str - r428 :: object - r429 :: str - r430 :: object - r431 :: dict - r432 :: str - r433 :: i32 - r434 :: bit - r435 :: dict - r436 :: str - r437 :: object - r438 :: str - r439 :: object - r440 :: dict - r441 :: str - r442 :: i32 - r443 :: bit - r444 :: str - r445 :: set - r446 :: i32 - r447 :: bit - r448 :: dict - r449 :: str - r450 :: i32 - r451 :: bit - r452 :: dict - r453 :: str - r454 :: object - r455 :: str - r456 :: object - r457 :: dict - r458 :: str - r459 :: i32 - r460 :: bit - r461 :: tuple[object, object, object] - r462 :: object - r463 :: str - r464 :: object - r465 :: bit - r466 :: dict - r467 :: str - r468 :: object - r469 :: i32 - r470 :: bit - r471 :: str - r472 :: dict - r473 :: str - r474 :: object - r475 :: str - r476 :: i32 - r477 :: bit - r478, r479 :: bool - r480 :: bit - r481 :: dict - r482 :: str - r483 :: object - r484 :: dict - r485 :: str - r486 :: object - r487 :: str - r488 :: object - r489 :: object[3] - r490 :: object_ptr - r491 :: object - r492 :: dict - r493 :: str - r494 :: i32 - r495 :: bit - r496 :: i32 - r497 :: bit - r498 :: bool - r499 :: dict - r500 :: str - r501 :: object - r502 :: set - r503 :: dict - r504 :: str - r505, r506 :: object - r507 :: bool - r508 :: object[1] - r509 :: object_ptr - r510 :: object - r511 :: i32 - r512 :: bit - r513 :: dict - r514 :: str - r515 :: object - r516 :: dict - r517 :: str - r518 :: object - r519 :: str - r520 :: object - r521 :: str - r522 :: object - r523 :: str - r524 :: i32 - r525 :: bit - r526 :: dict - r527 :: str - r528 :: object - r529 :: dict - r530 :: str - r531 :: object - r532 :: str - r533 :: object - r534 :: str - r535 :: object - r536 :: str - r537 :: i32 - r538 :: bit - r539 :: dict - r540 :: str - r541 :: object - r542 :: dict - r543 :: str - r544 :: object - r545 :: str - r546 :: object - r547 :: str - r548 :: object - r549 :: str - r550 :: i32 - r551 :: bit - r552 :: dict - r553 :: str - r554 :: object - r555 :: dict - r556 :: str - r557 :: object - r558 :: str - r559 :: object - r560 :: str - r561 :: object - r562 :: str - r563 :: i32 - r564 :: bit - r565 :: dict - r566 :: str - r567 :: object - r568 :: dict - r569 :: str - r570 :: object - r571 :: str - r572 :: object - r573 :: str - r574 :: object - r575 :: str - r576 :: i32 - r577 :: bit - r578 :: None + r35 :: dict + r36 :: None L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool + r0 = __init____Collector_env() + if is_error(r0) goto L17 (error at __init__:366) else goto L1 L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L208 (error at :-1) else goto L2 + r1 = dank_mids.stats.globals :: static + r2 = 'deque' + r3 = CPyDict_GetItem(r1, r2) + if is_error(r3) goto L18 (error at __init__:367) else goto L2 L2: - builtins = r4 :: module - dec_ref r4 + r4 = object 500 + r5 = [r4] + r6 = load_address r5 + r7 = ('maxlen',) + r8 = PyObject_Vectorcall(r3, r6, 0, r7) + dec_ref r3 + if is_error(r8) goto L18 (error at __init__:367) 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 L208 else goto L4 :: bool + self.errd_batches = r8 + r9 = __mypyc_lambda__0___init____Collector_obj() + if is_error(r9) goto L18 (error at __init__:373) else goto L4 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 L208 (error at :2) else goto L5 + inc_ref r0 + r9.__mypyc_env__ = r0; r10 = is_error + if not r10 goto L19 (error at __init__:373) else goto L5 :: bool 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 L208 (error at :3) else goto L6 + r11 = dank_mids.stats.globals :: static + r12 = 'defaultdict' + r13 = CPyDict_GetItem(r11, r12) + if is_error(r13) goto L19 (error at __init__:373) 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 L208 (error at :4) else goto L7 + r14 = [r9] + r15 = load_address r14 + r16 = PyObject_Vectorcall(r13, r15, 1, 0) + dec_ref r13 + if is_error(r16) goto L19 (error at __init__:373) else goto L7 L7: - pickle = r26 :: module - dec_ref r26 - r27 = ('MethodType',) - r28 = 'types' - r29 = dank_mids.brownie_patch.call.globals :: static - r30 = CPyImport_ImportFromMany(r28, r27, r27, r29) - if is_error(r30) goto L208 (error at :5) else goto L8 + dec_ref r9 + r17 = cast(dict, r16) + if is_error(r17) goto L18 (error at __init__:373) else goto L8 L8: - types = r30 :: module - dec_ref r30 - r31 = ('TYPE_CHECKING', '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 L208 (error at :6) else goto L9 + self.durations = r17 + r18 = PySet_New(0) + if is_error(r18) goto L18 (error at __init__:380) 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 faster_eth_abi :: module - r39 = load_address hexbytes :: module - r40 = [r35, r36, r37, r38, r39] - r41 = load_address r40 - r42 = [21, 22, 23, 24, 25] - r43 = load_address r42 - r44 = (('brownie.convert.datatypes', 'brownie', 'brownie'), ('brownie.convert.normalize', 'brownie', 'brownie'), ('brownie.network.contract', 'brownie', 'brownie'), ('faster_eth_abi', 'faster_eth_abi', 'faster_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 L208 else goto L10 :: bool + self.types = r18 + r19 = dank_mids.stats.globals :: static + r20 = 'deque' + r21 = CPyDict_GetItem(r19, r20) + if is_error(r21) goto L18 (error at __init__:386) else goto L10 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 L208 (error at :26) else goto L11 + r22 = object 50000 + r23 = [r22] + r24 = load_address r23 + r25 = ('maxlen',) + r26 = PyObject_Vectorcall(r21, r24, 0, r25) + dec_ref r21 + if is_error(r26) goto L18 (error at __init__:386) 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 L208 (error at :27) else goto L12 + self.event_loop_times = r26 + r27 = __mypyc_lambda__1___init____Collector_obj() + if is_error(r27) goto L18 (error at __init__:394) 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 L208 (error at :28) else goto L13 + r27.__mypyc_env__ = r0; r28 = is_error + if not r28 goto L20 (error at __init__:394) else goto L13 :: bool 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 L208 (error at :29) else goto L14 + r29 = dank_mids.stats.globals :: static + r30 = 'defaultdict' + r31 = CPyDict_GetItem(r29, r30) + if is_error(r31) goto L20 (error at __init__:394) 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 L208 (error at :30) else goto L15 + r32 = [r27] + r33 = load_address r32 + r34 = PyObject_Vectorcall(r31, r33, 1, 0) + dec_ref r31 + if is_error(r34) goto L20 (error at __init__:394) 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 L208 (error at :31) else goto L16 + dec_ref r27 + r35 = cast(dict, r34) + if is_error(r35) goto L17 (error at __init__:394) 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 L208 (error at :32) else goto L17 + self.validation_errors = r35 + return 1 L17: - brownie.project.compiler.solidity = r76 :: module - dec_ref r76 - r77 = ('DecodingError', 'InsufficientDataBytes') - r78 = 'faster_eth_abi.exceptions' - r79 = dank_mids.brownie_patch.call.globals :: static - r80 = CPyImport_ImportFromMany(r78, r77, r77, r79) - if is_error(r80) goto L208 (error at :33) else goto L18 + r36 = :: None + return r36 L18: - faster_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 L208 (error at :34) else goto L19 + dec_ref r0 + goto L17 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 L208 (error at :35) else goto L20 + dec_ref r0 + dec_ref r9 + goto L17 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 L208 (error at :36) 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 L208 (error at :37) 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 L208 (error at :38) else goto L23 -L23: - web3.types = r100 :: module - dec_ref r100 - r101 = ('ENVIRONMENT_VARIABLES',) - r102 = ('ENVS',) - r103 = 'dank_mids' - r104 = dank_mids.brownie_patch.call.globals :: static - r105 = CPyImport_ImportFromMany(r103, r101, r102, r104) - if is_error(r105) goto L208 (error at :40) else goto L24 -L24: - dank_mids = r105 :: module - dec_ref r105 - r106 = ('exceptions',) - r107 = 'dank_mids' - r108 = dank_mids.brownie_patch.call.globals :: static - r109 = CPyImport_ImportFromMany(r107, r106, r106, r108) - if is_error(r109) goto L208 (error at :41) else goto L25 -L25: - dank_mids = r109 :: module - dec_ref r109 - r110 = ('getLogger',) - r111 = 'dank_mids._logging' - r112 = dank_mids.brownie_patch.call.globals :: static - r113 = CPyImport_ImportFromMany(r111, r110, r110, r112) - if is_error(r113) goto L208 (error at :42) else goto L26 -L26: - dank_mids._logging = r113 :: module - dec_ref r113 - r114 = ('lru_cache_lite_nonull',) - r115 = 'dank_mids.helpers.lru_cache' - r116 = dank_mids.brownie_patch.call.globals :: static - r117 = CPyImport_ImportFromMany(r115, r114, r114, r116) - if is_error(r117) goto L208 (error at :43) else goto L27 -L27: - dank_mids.helpers.lru_cache = r117 :: module - dec_ref r117 - r118 = ('DankWeb3',) - r119 = 'dank_mids.helpers._helpers' - r120 = dank_mids.brownie_patch.call.globals :: static - r121 = CPyImport_ImportFromMany(r119, r118, r118, r120) - if is_error(r121) goto L208 (error at :44) else goto L28 -L28: - dank_mids.helpers._helpers = r121 :: module - dec_ref r121 - if 0 goto L29 else goto L29 :: bool -L29: - r122 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static - if is_error(r122) goto L30 else goto L32 -L30: - r123 = raise NameError('value for final name "OPERATION_MODE" was not set') - if not r123 goto L208 (error at :50) else goto L31 :: bool -L31: + dec_ref r27 + goto L17 + +def _Collector.avg_loop_time(self): + self, r0 :: dank_mids.stats._Collector + r1 :: bool + r2, r3 :: object + r4 :: str + r5 :: object + r6 :: object[1] + r7 :: object_ptr + r8 :: object + r9 :: union[float, int] + r10 :: dank_mids.stats._Collector + r11 :: bool + r12 :: object + r13 :: int + r14, r15 :: object + r16 :: float + r17 :: bit + r18 :: object + r19 :: float +L0: + r0 = dank_mids.stats.collector :: static + if is_error(r0) goto L1 else goto L3 +L1: + r1 = raise NameError('value for final name "collector" was not set') + if not r1 goto L14 (error at avg_loop_time:413) else goto L2 :: bool +L2: unreachable -L32: - r124 = 'application' - r125 = CPyObject_GetAttr(r122, r124) - if is_error(r125) goto L208 (error at :50) else goto L33 -L33: - r126 = unbox(bool, r125) - if is_error(r126) goto L209 (error at :50) else goto L34 -L34: - dank_mids.brownie_patch.call.APPLICATION_MODE = r126 :: static - r127 = dank_mids.brownie_patch.call.globals :: static - r128 = 'APPLICATION_MODE' - r129 = CPyDict_SetItem(r127, r128, r125) - dec_ref r125 - r130 = r129 >= 0 :: signed - if not r130 goto L208 (error at :50) else goto L35 :: bool -L35: - r131 = '_T' - r132 = dank_mids.brownie_patch.call.globals :: static - r133 = 'TypeVar' - r134 = CPyDict_GetItem(r132, r133) - if is_error(r134) goto L208 (error at :53) else goto L36 -L36: - r135 = [r131] - r136 = load_address r135 - r137 = PyObject_Vectorcall(r134, r136, 1, 0) - dec_ref r134 - if is_error(r137) goto L208 (error at :53) else goto L37 -L37: - r138 = dank_mids.brownie_patch.call.globals :: static - r139 = '_T' - r140 = CPyDict_SetItem(r138, r139, r137) - dec_ref r137 - r141 = r140 >= 0 :: signed - if not r141 goto L208 (error at :53) else goto L38 :: bool -L38: - r142 = 'TypeStr' - r143 = load_address PyUnicode_Type - r144 = dank_mids.brownie_patch.call.globals :: static - r145 = 'NewType' - r146 = CPyDict_GetItem(r144, r145) - if is_error(r146) goto L208 (error at :54) else goto L39 -L39: - r147 = [r142, r143] - r148 = load_address r147 - r149 = PyObject_Vectorcall(r146, r148, 2, 0) - dec_ref r146 - if is_error(r149) goto L208 (error at :54) else goto L40 -L40: - r150 = dank_mids.brownie_patch.call.globals :: static - r151 = 'TypeStr' - r152 = CPyDict_SetItem(r150, r151, r149) - dec_ref r149 - r153 = r152 >= 0 :: signed - if not r153 goto L208 (error at :54) else goto L41 :: bool -L41: - r154 = dank_mids.brownie_patch.call.globals :: static - r155 = 'List' - r156 = CPyDict_GetItem(r154, r155) - if is_error(r156) goto L208 (error at :55) else goto L42 -L42: - r157 = dank_mids.brownie_patch.call.globals :: static - r158 = 'TypeStr' - r159 = CPyDict_GetItem(r157, r158) - if is_error(r159) goto L210 (error at :55) else goto L43 -L43: - r160 = PyObject_GetItem(r156, r159) - dec_ref r156 - dec_ref r159 - if is_error(r160) goto L208 (error at :55) else goto L44 -L44: - r161 = dank_mids.brownie_patch.call.globals :: static - r162 = 'TypeStrs' - r163 = CPyDict_SetItem(r161, r162, r160) - dec_ref r160 - r164 = r163 >= 0 :: signed - if not r164 goto L208 (error at :55) else goto L45 :: bool -L45: - r165 = dank_mids.brownie_patch.call.globals :: static - r166 = 'Union' - r167 = CPyDict_GetItem(r165, r166) - if is_error(r167) goto L208 (error at :56) else goto L46 -L46: - r168 = dank_mids.brownie_patch.call.globals :: static - r169 = 'List' - r170 = CPyDict_GetItem(r168, r169) - if is_error(r170) goto L211 (error at :56) else goto L47 -L47: - r171 = dank_mids.brownie_patch.call.globals :: static - r172 = '_T' - r173 = CPyDict_GetItem(r171, r172) - if is_error(r173) goto L212 (error at :56) else goto L48 -L48: - r174 = PyObject_GetItem(r170, r173) - dec_ref r170 - dec_ref r173 - if is_error(r174) goto L211 (error at :56) else goto L49 -L49: - r175 = dank_mids.brownie_patch.call.globals :: static - r176 = 'Tuple' - r177 = CPyDict_GetItem(r175, r176) - if is_error(r177) goto L213 (error at :56) else goto L50 -L50: - r178 = dank_mids.brownie_patch.call.globals :: static - r179 = '_T' - r180 = CPyDict_GetItem(r178, r179) - if is_error(r180) goto L214 (error at :56) else goto L51 -L51: - r181 = load_address _Py_EllipsisObject - inc_ref r181 - r182 = (r180, r181) - r183 = box(tuple[object, object], r182) - r184 = PyObject_GetItem(r177, r183) - dec_ref r177 - dec_ref r183 - if is_error(r184) goto L213 (error at :56) else goto L52 -L52: - r185 = (r174, r184) - r186 = box(tuple[object, object], r185) - r187 = PyObject_GetItem(r167, r186) - dec_ref r167 - dec_ref r186 - if is_error(r187) goto L208 (error at :56) else goto L53 -L53: - r188 = dank_mids.brownie_patch.call.globals :: static - r189 = 'ListOrTuple' - r190 = CPyDict_SetItem(r188, r189, r187) - dec_ref r187 - r191 = r190 >= 0 :: signed - if not r191 goto L208 (error at :56) else goto L54 :: bool -L54: - r192 = 'AbiDict' - r193 = dank_mids.brownie_patch.call.globals :: static - r194 = 'Dict' - r195 = CPyDict_GetItem(r193, r194) - if is_error(r195) goto L208 (error at :57) else goto L55 -L55: - r196 = load_address PyUnicode_Type - r197 = dank_mids.brownie_patch.call.globals :: static - r198 = 'Any' - r199 = CPyDict_GetItem(r197, r198) - if is_error(r199) goto L215 (error at :57) else goto L56 -L56: - inc_ref r196 - r200 = (r196, r199) - r201 = box(tuple[object, object], r200) - r202 = PyObject_GetItem(r195, r201) - dec_ref r195 - dec_ref r201 - if is_error(r202) goto L208 (error at :57) else goto L57 -L57: - r203 = dank_mids.brownie_patch.call.globals :: static - r204 = 'NewType' - r205 = CPyDict_GetItem(r203, r204) - if is_error(r205) goto L216 (error at :57) else goto L58 -L58: - r206 = [r192, r202] - r207 = load_address r206 - r208 = PyObject_Vectorcall(r205, r207, 2, 0) - dec_ref r205 - if is_error(r208) goto L216 (error at :57) else goto L59 -L59: - dec_ref r202 - r209 = dank_mids.brownie_patch.call.globals :: static - r210 = 'AbiDict' - r211 = CPyDict_SetItem(r209, r210, r208) - dec_ref r208 - r212 = r211 >= 0 :: signed - if not r212 goto L208 (error at :57) else goto L60 :: bool -L60: - r213 = decimal :: module - r214 = 'Decimal' - r215 = CPyObject_GetAttr(r213, r214) - if is_error(r215) goto L208 (error at :61) else goto L61 -L61: - dank_mids.brownie_patch.call.Decimal = r215 :: static - r216 = dank_mids.brownie_patch.call.globals :: static - r217 = 'Decimal' - r218 = CPyDict_SetItem(r216, r217, r215) - dec_ref r215 - r219 = r218 >= 0 :: signed - if not r219 goto L208 (error at :61) else goto L62 :: bool -L62: - r220 = dank_mids.brownie_patch.call.globals :: static - r221 = 'hexbytes' - r222 = CPyDict_GetItem(r220, r221) - if is_error(r222) goto L208 (error at :62) else goto L63 -L63: - r223 = 'HexBytes' - r224 = CPyObject_GetAttr(r222, r223) - dec_ref r222 - if is_error(r224) goto L208 (error at :62) else goto L64 -L64: - dank_mids.brownie_patch.call.HexBytes = r224 :: static - r225 = dank_mids.brownie_patch.call.globals :: static - r226 = 'HexBytes' - r227 = CPyDict_SetItem(r225, r226, r224) - dec_ref r224 - r228 = r227 >= 0 :: signed - if not r228 goto L208 (error at :62) else goto L65 :: bool -L65: - r229 = dank_mids.brownie_patch.call.globals :: static - r230 = 'brownie' - r231 = CPyDict_GetItem(r229, r230) - if is_error(r231) goto L208 (error at :63) else goto L66 -L66: - r232 = 'network' - r233 = CPyObject_GetAttr(r231, r232) - dec_ref r231 - if is_error(r233) goto L208 (error at :63) else goto L67 -L67: - r234 = 'contract' - r235 = CPyObject_GetAttr(r233, r234) - dec_ref r233 - if is_error(r235) goto L208 (error at :63) else goto L68 -L68: - r236 = 'Contract' - r237 = CPyObject_GetAttr(r235, r236) - dec_ref r235 - if is_error(r237) goto L208 (error at :63) else goto L69 -L69: - dank_mids.brownie_patch.call.Contract = r237 :: static - r238 = dank_mids.brownie_patch.call.globals :: static - r239 = 'Contract' - r240 = CPyDict_SetItem(r238, r239, r237) - dec_ref r237 - r241 = r240 >= 0 :: signed - if not r241 goto L208 (error at :63) else goto L70 :: bool -L70: - r242 = dank_mids.brownie_patch.call.globals :: static - r243 = 'brownie' - r244 = CPyDict_GetItem(r242, r243) - if is_error(r244) goto L208 (error at :64) else goto L71 -L71: - r245 = 'convert' - r246 = CPyObject_GetAttr(r244, r245) - dec_ref r244 - if is_error(r246) goto L208 (error at :64) else goto L72 -L72: - r247 = 'datatypes' - r248 = CPyObject_GetAttr(r246, r247) - dec_ref r246 - if is_error(r248) goto L208 (error at :64) else goto L73 -L73: - r249 = 'ReturnValue' - r250 = CPyObject_GetAttr(r248, r249) - dec_ref r248 - if is_error(r250) goto L208 (error at :64) else goto L74 -L74: - dank_mids.brownie_patch.call.ReturnValue = r250 :: static - r251 = dank_mids.brownie_patch.call.globals :: static - r252 = 'ReturnValue' - r253 = CPyDict_SetItem(r251, r252, r250) - dec_ref r250 - r254 = r253 >= 0 :: signed - if not r254 goto L208 (error at :64) else goto L75 :: bool -L75: - r255 = dank_mids.brownie_patch.call.globals :: static - r256 = 'brownie' - r257 = CPyDict_GetItem(r255, r256) - if is_error(r257) goto L208 (error at :65) else goto L76 -L76: - r258 = 'convert' - r259 = CPyObject_GetAttr(r257, r258) - dec_ref r257 - if is_error(r259) goto L208 (error at :65) else goto L77 -L77: - r260 = 'normalize' - r261 = CPyObject_GetAttr(r259, r260) - dec_ref r259 - if is_error(r261) goto L208 (error at :65) else goto L78 -L78: - r262 = 'HexString' - r263 = CPyObject_GetAttr(r261, r262) - dec_ref r261 - if is_error(r263) goto L208 (error at :65) else goto L79 -L79: - dank_mids.brownie_patch.call.HexString = r263 :: static - r264 = dank_mids.brownie_patch.call.globals :: static - r265 = 'HexString' - r266 = CPyDict_SetItem(r264, r265, r263) - dec_ref r263 - r267 = r266 >= 0 :: signed - if not r267 goto L208 (error at :65) else goto L80 :: bool -L80: - r268 = dank_mids.brownie_patch.call.globals :: static - r269 = 'brownie' - r270 = CPyDict_GetItem(r268, r269) - if is_error(r270) goto L208 (error at :66) else goto L81 -L81: - r271 = 'convert' - r272 = CPyObject_GetAttr(r270, r271) - dec_ref r270 - if is_error(r272) goto L208 (error at :66) else goto L82 -L82: - r273 = 'normalize' - r274 = CPyObject_GetAttr(r272, r273) - dec_ref r272 - if is_error(r274) goto L208 (error at :66) else goto L83 -L83: - r275 = 'TupleType' - r276 = CPyObject_GetAttr(r274, r275) - dec_ref r274 - if is_error(r276) goto L208 (error at :66) else goto L84 -L84: - dank_mids.brownie_patch.call.TupleType = r276 :: static - r277 = dank_mids.brownie_patch.call.globals :: static - r278 = 'TupleType' - r279 = CPyDict_SetItem(r277, r278, r276) - dec_ref r276 - r280 = r279 >= 0 :: signed - if not r280 goto L208 (error at :66) else goto L85 :: bool -L85: - r281 = dank_mids.brownie_patch.call.globals :: static - r282 = 'exceptions' - r283 = CPyDict_GetItem(r281, r282) - if is_error(r283) goto L208 (error at :68) else goto L86 -L86: - r284 = 'Revert' - r285 = CPyObject_GetAttr(r283, r284) - dec_ref r283 - if is_error(r285) goto L208 (error at :68) else goto L87 -L87: - dank_mids.brownie_patch.call.Revert = r285 :: static - r286 = dank_mids.brownie_patch.call.globals :: static - r287 = 'Revert' - r288 = CPyDict_SetItem(r286, r287, r285) - dec_ref r285 - r289 = r288 >= 0 :: signed - if not r289 goto L208 (error at :68) else goto L88 :: bool -L88: - r290 = dank_mids.brownie_patch.call.globals :: static - r291 = 'brownie' - r292 = CPyDict_GetItem(r290, r291) - if is_error(r292) goto L208 (error at :70) else goto L89 -L89: - r293 = 'convert' - r294 = CPyObject_GetAttr(r292, r293) - dec_ref r292 - if is_error(r294) goto L208 (error at :70) else goto L90 -L90: - r295 = 'normalize' - r296 = CPyObject_GetAttr(r294, r295) - dec_ref r294 - if is_error(r296) goto L208 (error at :70) else goto L91 -L91: - r297 = 'to_bool' - r298 = CPyObject_GetAttr(r296, r297) - dec_ref r296 - if is_error(r298) goto L208 (error at :70) else goto L92 -L92: - dank_mids.brownie_patch.call.to_bool = r298 :: static - r299 = dank_mids.brownie_patch.call.globals :: static - r300 = 'to_bool' - r301 = CPyDict_SetItem(r299, r300, r298) - dec_ref r298 - r302 = r301 >= 0 :: signed - if not r302 goto L208 (error at :70) else goto L93 :: bool -L93: - r303 = dank_mids.brownie_patch.call.globals :: static - r304 = 'brownie' - r305 = CPyDict_GetItem(r303, r304) - if is_error(r305) goto L208 (error at :71) else goto L94 -L94: - r306 = 'convert' - r307 = CPyObject_GetAttr(r305, r306) - dec_ref r305 - if is_error(r307) goto L208 (error at :71) else goto L95 -L95: - r308 = 'normalize' - r309 = CPyObject_GetAttr(r307, r308) - dec_ref r307 - if is_error(r309) goto L208 (error at :71) else goto L96 -L96: - r310 = 'to_decimal' - r311 = CPyObject_GetAttr(r309, r310) - dec_ref r309 - if is_error(r311) goto L208 (error at :71) else goto L97 -L97: - dank_mids.brownie_patch.call.to_decimal = r311 :: static - r312 = dank_mids.brownie_patch.call.globals :: static - r313 = 'to_decimal' - r314 = CPyDict_SetItem(r312, r313, r311) - dec_ref r311 - r315 = r314 >= 0 :: signed - if not r315 goto L208 (error at :71) else goto L98 :: bool -L98: - r316 = dank_mids.brownie_patch.call.globals :: static - r317 = 'brownie' - r318 = CPyDict_GetItem(r316, r317) - if is_error(r318) goto L208 (error at :72) else goto L99 -L99: - r319 = 'convert' - r320 = CPyObject_GetAttr(r318, r319) - dec_ref r318 - if is_error(r320) goto L208 (error at :72) else goto L100 -L100: - r321 = 'normalize' - r322 = CPyObject_GetAttr(r320, r321) - dec_ref r320 - if is_error(r322) goto L208 (error at :72) else goto L101 -L101: - r323 = 'to_int' - r324 = CPyObject_GetAttr(r322, r323) - dec_ref r322 - if is_error(r324) goto L208 (error at :72) else goto L102 -L102: - dank_mids.brownie_patch.call.to_int = r324 :: static - r325 = dank_mids.brownie_patch.call.globals :: static - r326 = 'to_int' - r327 = CPyDict_SetItem(r325, r326, r324) - dec_ref r324 - r328 = r327 >= 0 :: signed - if not r328 goto L208 (error at :72) else goto L103 :: bool -L103: - r329 = dank_mids.brownie_patch.call.globals :: static - r330 = 'brownie' - r331 = CPyDict_GetItem(r329, r330) - if is_error(r331) goto L208 (error at :73) else goto L104 -L104: - r332 = 'convert' - r333 = CPyObject_GetAttr(r331, r332) - dec_ref r331 - if is_error(r333) goto L208 (error at :73) else goto L105 -L105: - r334 = 'normalize' - r335 = CPyObject_GetAttr(r333, r334) - dec_ref r333 - if is_error(r335) goto L208 (error at :73) else goto L106 -L106: - r336 = 'to_string' - r337 = CPyObject_GetAttr(r335, r336) - dec_ref r335 - if is_error(r337) goto L208 (error at :73) else goto L107 -L107: - dank_mids.brownie_patch.call.to_string = r337 :: static - r338 = dank_mids.brownie_patch.call.globals :: static - r339 = 'to_string' - r340 = CPyDict_SetItem(r338, r339, r337) - dec_ref r337 - r341 = r340 >= 0 :: signed - if not r341 goto L208 (error at :73) else goto L108 :: bool -L108: - r342 = dank_mids.brownie_patch.call.globals :: static - r343 = 'brownie' - r344 = CPyDict_GetItem(r342, r343) - if is_error(r344) goto L208 (error at :74) else goto L109 -L109: - r345 = 'convert' - r346 = CPyObject_GetAttr(r344, r345) - dec_ref r344 - if is_error(r346) goto L208 (error at :74) else goto L110 -L110: - r347 = 'normalize' - r348 = CPyObject_GetAttr(r346, r347) - dec_ref r346 - if is_error(r348) goto L208 (error at :74) else goto L111 -L111: - r349 = 'to_uint' - r350 = CPyObject_GetAttr(r348, r349) - dec_ref r348 - if is_error(r350) goto L208 (error at :74) else goto L112 -L112: - dank_mids.brownie_patch.call.to_uint = r350 :: static - r351 = dank_mids.brownie_patch.call.globals :: static - r352 = 'to_uint' - r353 = CPyDict_SetItem(r351, r352, r350) - dec_ref r350 - r354 = r353 >= 0 :: signed - if not r354 goto L208 (error at :74) else goto L113 :: bool -L113: - r355 = dank_mids.brownie_patch.call.globals :: static - r356 = 'brownie' - r357 = CPyDict_GetItem(r355, r356) - if is_error(r357) goto L208 (error at :75) else goto L114 -L114: - r358 = 'convert' - r359 = CPyObject_GetAttr(r357, r358) - dec_ref r357 - if is_error(r359) goto L208 (error at :75) else goto L115 -L115: - r360 = 'normalize' - r361 = CPyObject_GetAttr(r359, r360) - dec_ref r359 - if is_error(r361) goto L208 (error at :75) else goto L116 -L116: - r362 = '_check_array' - r363 = CPyObject_GetAttr(r361, r362) - dec_ref r361 - if is_error(r363) goto L208 (error at :75) else goto L117 -L117: - dank_mids.brownie_patch.call._check_array = r363 :: static - r364 = dank_mids.brownie_patch.call.globals :: static - r365 = '_check_array' - r366 = CPyDict_SetItem(r364, r365, r363) - dec_ref r363 - r367 = r366 >= 0 :: signed - if not r367 goto L208 (error at :75) else goto L118 :: bool -L118: - r368 = dank_mids.brownie_patch.call.globals :: static - r369 = 'brownie' - r370 = CPyDict_GetItem(r368, r369) - if is_error(r370) goto L208 (error at :76) else goto L119 -L119: - r371 = 'convert' - r372 = CPyObject_GetAttr(r370, r371) - dec_ref r370 - if is_error(r372) goto L208 (error at :76) else goto L120 -L120: - r373 = 'normalize' - r374 = CPyObject_GetAttr(r372, r373) - dec_ref r372 - if is_error(r374) goto L208 (error at :76) else goto L121 -L121: - r375 = '_get_abi_types' - r376 = CPyObject_GetAttr(r374, r375) - dec_ref r374 - if is_error(r376) goto L208 (error at :76) else goto L122 -L122: - dank_mids.brownie_patch.call._get_abi_types = r376 :: static - r377 = dank_mids.brownie_patch.call.globals :: static - r378 = '_get_abi_types' - r379 = CPyDict_SetItem(r377, r378, r376) - dec_ref r376 - r380 = r379 >= 0 :: signed - if not r380 goto L208 (error at :76) else goto L123 :: bool -L123: - r381 = dank_mids.brownie_patch.call.globals :: static - r382 = '__name__' - r383 = CPyDict_GetItem(r381, r382) - if is_error(r383) goto L208 (error at :79) else goto L124 -L124: - r384 = cast(str, r383) - if is_error(r384) goto L208 (error at :79) else goto L125 -L125: - r385 = dank_mids._logging.getLogger :: static - if is_error(r385) goto L217 else goto L128 -L126: - r386 = raise NameError('value for final name "getLogger" was not set') - if not r386 goto L208 (error at :79) else goto L127 :: bool -L127: +L3: + r2 = r0.event_loop_times + r3 = builtins :: module + r4 = 'sum' + r5 = CPyObject_GetAttr(r3, r4) + if is_error(r5) goto L15 (error at avg_loop_time:413) else goto L4 +L4: + r6 = [r2] + r7 = load_address r6 + r8 = PyObject_Vectorcall(r5, r7, 1, 0) + dec_ref r5 + if is_error(r8) goto L15 (error at avg_loop_time:413) else goto L5 +L5: + dec_ref r2 + r9 = cast(union[float, int], r8) + if is_error(r9) goto L14 (error at avg_loop_time:413) else goto L6 +L6: + r10 = dank_mids.stats.collector :: static + if is_error(r10) goto L16 else goto L9 +L7: + r11 = raise NameError('value for final name "collector" was not set') + if not r11 goto L14 (error at avg_loop_time:413) else goto L8 :: bool +L8: unreachable -L128: - r387 = [r384] - r388 = load_address r387 - r389 = PyObject_Vectorcall(r385, r388, 1, 0) - if is_error(r389) goto L218 (error at :79) else goto L129 -L129: - dec_ref r384 - dank_mids.brownie_patch.call.logger = r389 :: static - r390 = dank_mids.brownie_patch.call.globals :: static - r391 = 'logger' - r392 = CPyDict_SetItem(r390, r391, r389) - dec_ref r389 - r393 = r392 >= 0 :: signed - if not r393 goto L208 (error at :79) else goto L130 :: bool -L130: - r394 = __mypyc_lambda__0_obj() - if is_error(r394) goto L208 (error at :82) else goto L131 -L131: - dank_mids.brownie_patch.call.encode = r394 :: static - r395 = dank_mids.brownie_patch.call.globals :: static - r396 = 'encode' - r397 = CPyDict_SetItem(r395, r396, r394) - dec_ref r394 - r398 = r397 >= 0 :: signed - if not r398 goto L208 (error at :82) else goto L132 :: bool -L132: - r399 = __mypyc_lambda__1_obj() - if is_error(r399) goto L208 (error at :101) else goto L133 -L133: - dank_mids.brownie_patch.call.decode = r399 :: static - r400 = dank_mids.brownie_patch.call.globals :: static - r401 = 'decode' - r402 = CPyDict_SetItem(r400, r401, r399) - dec_ref r399 - r403 = r402 >= 0 :: signed - if not r403 goto L208 (error at :101) else goto L134 :: bool -L134: - r404 = dank_mids.brownie_patch.call.globals :: static - r405 = 'Address' - r406 = CPyDict_GetItem(r404, r405) - if is_error(r406) goto L208 (error at :122) else goto L135 -L135: - r407 = 'checksum' - r408 = CPyObject_GetAttr(r406, r407) - dec_ref r406 - if is_error(r408) goto L208 (error at :122) else goto L136 -L136: - dank_mids.brownie_patch.call.to_checksum_address = r408 :: static - r409 = dank_mids.brownie_patch.call.globals :: static - r410 = 'to_checksum_address' - r411 = CPyDict_SetItem(r409, r410, r408) - dec_ref r408 - r412 = r411 >= 0 :: signed - if not r412 goto L208 (error at :122) else goto L137 :: bool -L137: - r413 = dank_mids.brownie_patch.call.globals :: static - r414 = '_get_coroutine_fn' - r415 = CPyDict_GetItem(r413, r414) - if is_error(r415) goto L208 (error at :140) else goto L138 -L138: - r416 = dank_mids.brownie_patch.call.globals :: static - r417 = 'lru_cache_lite_nonull' - r418 = CPyDict_GetItem(r416, r417) - if is_error(r418) goto L219 (error at :140) else goto L139 -L139: - r419 = [r415] - r420 = load_address r419 - r421 = PyObject_Vectorcall(r418, r420, 1, 0) - dec_ref r418 - if is_error(r421) goto L219 (error at :140) else goto L140 -L140: - dec_ref r415 - r422 = dank_mids.brownie_patch.call.globals :: static - r423 = '_get_coroutine_fn' - r424 = PyDict_SetItem(r422, r423, r421) - dec_ref r421 - r425 = r424 >= 0 :: signed - if not r425 goto L208 (error at :140) else goto L141 :: bool -L141: - r426 = dank_mids.brownie_patch.call.globals :: static - r427 = 'faster_eth_abi' - r428 = CPyDict_GetItem(r426, r427) - if is_error(r428) goto L208 (error at :252) else goto L142 -L142: - r429 = 'encode' - r430 = CPyObject_GetAttr(r428, r429) - dec_ref r428 - if is_error(r430) goto L208 (error at :252) else goto L143 -L143: - dank_mids.brownie_patch.call.__eth_abi_encode = r430 :: static - r431 = dank_mids.brownie_patch.call.globals :: static - r432 = '__eth_abi_encode' - r433 = CPyDict_SetItem(r431, r432, r430) - dec_ref r430 - r434 = r433 >= 0 :: signed - if not r434 goto L208 (error at :252) else goto L144 :: bool -L144: - r435 = dank_mids.brownie_patch.call.globals :: static - r436 = 'faster_eth_abi' - r437 = CPyDict_GetItem(r435, r436) - if is_error(r437) goto L208 (error at :254) else goto L145 -L145: - r438 = 'decode' - r439 = CPyObject_GetAttr(r437, r438) - dec_ref r437 - if is_error(r439) goto L208 (error at :254) else goto L146 -L146: - dank_mids.brownie_patch.call.__eth_abi_decode = r439 :: static - r440 = dank_mids.brownie_patch.call.globals :: static - r441 = '__eth_abi_decode' - r442 = CPyDict_SetItem(r440, r441, r439) - dec_ref r439 - r443 = r442 >= 0 :: signed - if not r443 goto L208 (error at :254) else goto L147 :: bool -L147: - r444 = '0xcA11bde05977b3631167028862bE2a173976CA11' - r445 = PySet_New(0) - if is_error(r445) goto L208 (error at :267) else goto L148 -L148: - r446 = PySet_Add(r445, r444) - r447 = r446 >= 0 :: signed - if not r447 goto L220 (error at :267) else goto L149 :: bool -L149: - r448 = dank_mids.brownie_patch.call.globals :: static - r449 = '_skip_proc_pool' - r450 = CPyDict_SetItem(r448, r449, r445) - dec_ref r445 - r451 = r450 >= 0 :: signed - if not r451 goto L208 (error at :267) else goto L150 :: bool -L150: - if 1 goto L151 else goto L168 :: bool -L151: - r452 = dank_mids.brownie_patch.call.globals :: static - r453 = 'chain' - r454 = CPyDict_GetItem(r452, r453) - if is_error(r454) goto L154 (error at :271) else goto L152 -L152: - r455 = 'id' - r456 = CPyObject_GetAttr(r454, r455) - dec_ref r454 - if is_error(r456) goto L154 (error at :271) else goto L153 -L153: - r457 = dank_mids.brownie_patch.call.globals :: static - r458 = 'chainid' - r459 = CPyDict_SetItem(r457, r458, r456) - dec_ref r456 - r460 = r459 >= 0 :: signed - if not r460 goto L154 (error at :271) else goto L168 :: bool -L154: - r461 = CPy_CatchError() - r462 = builtins :: module - r463 = 'Exception' - r464 = CPyObject_GetAttr(r462, r463) - if is_error(r464) goto L166 (error at :273) else goto L155 -L155: - r465 = CPy_ExceptionMatches(r464) - dec_ref r464 - if r465 goto L156 else goto L163 :: bool -L156: - r466 = dank_mids.brownie_patch.call.globals :: static - r467 = 'e' - r468 = CPy_GetExcValue() - r469 = CPyDict_SetItem(r466, r467, r468) - dec_ref r468 - r470 = r469 >= 0 :: signed - if not r470 goto L166 (error at :273) else goto L157 :: bool -L157: - r471 = '429' - r472 = dank_mids.brownie_patch.call.globals :: static - r473 = 'e' - r474 = CPyDict_GetItem(r472, r473) - if is_error(r474) goto L166 (error at :274) else goto L158 -L158: - r475 = PyObject_Str(r474) - dec_ref r474 - if is_error(r475) goto L166 (error at :274) else goto L159 -L159: - r476 = PyUnicode_Contains(r475, r471) - dec_ref r475 - r477 = r476 >= 0 :: signed - if not r477 goto L166 (error at :274) else goto L160 :: bool -L160: - r478 = truncate r476: i32 to builtins.bool - r479 = r478 ^ 1 - if r479 goto L161 else goto L165 :: bool -L161: - CPy_Reraise() - if not 0 goto L166 else goto L221 :: bool -L162: +L9: + r12 = r10.event_loop_times + r13 = CPyObject_Size(r12) + dec_ref r12 + if is_error(r13) goto L17 (error at avg_loop_time:413) else goto L10 +L10: + r14 = box(int, r13) + r15 = PyNumber_TrueDivide(r9, r14) + dec_ref r9 + dec_ref r14 + if is_error(r15) goto L14 (error at avg_loop_time:413) else goto L11 +L11: + r16 = unbox(float, r15) + dec_ref r15 + r17 = r16 == -113.0 + if r17 goto L13 else goto L12 :: bool +L12: + return r16 +L13: + r18 = PyErr_Occurred() + if not is_error(r18) goto L14 (error at avg_loop_time:413) else goto L12 +L14: + r19 = :: float + return r19 +L15: + dec_ref r2 + goto L14 +L16: + dec_ref r9 + goto L7 +L17: + dec_ref r9 + goto L14 + +def _Collector.count_active_brownie_calls(self): + self :: dank_mids.stats._Collector + r0 :: object + r1 :: bool + r2 :: str + r3, r4 :: object + r5 :: bool + r6 :: str + r7 :: object + r8 :: str + r9, r10 :: object + r11, r12 :: int +L0: + r0 = dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_CALL_SEMAPHORE :: static + if is_error(r0) goto L1 else goto L3 +L1: + r1 = raise NameError('value for final name "BROWNIE_CALL_SEMAPHORE" was not set') + if not r1 goto L12 (error at count_active_brownie_calls:426) else goto L2 :: bool +L2: unreachable -L163: - CPy_Reraise() - if not 0 goto L166 else goto L222 :: bool -L164: +L3: + r2 = 'default_value' + r3 = CPyObject_GetAttr(r0, r2) + if is_error(r3) goto L12 (error at count_active_brownie_calls:426) else goto L4 +L4: + r4 = dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_CALL_SEMAPHORE :: static + if is_error(r4) goto L13 else goto L7 +L5: + r5 = raise NameError('value for final name "BROWNIE_CALL_SEMAPHORE" was not set') + if not r5 goto L12 (error at count_active_brownie_calls:426) else goto L6 :: bool +L6: unreachable -L165: - CPy_RestoreExcInfo(r461) - dec_ref r461 - goto L150 -L166: - CPy_RestoreExcInfo(r461) - dec_ref r461 - r480 = CPy_KeepPropagating() - if not r480 goto L208 else goto L167 :: bool -L167: +L7: + r6 = 'semaphore' + r7 = CPyObject_GetAttr(r4, r6) + if is_error(r7) goto L14 (error at count_active_brownie_calls:426) else goto L8 +L8: + r8 = '_value' + r9 = CPyObject_GetAttr(r7, r8) + dec_ref r7 + if is_error(r9) goto L14 (error at count_active_brownie_calls:426) else goto L9 +L9: + r10 = PyNumber_Subtract(r3, r9) + dec_ref r3 + dec_ref r9 + if is_error(r10) goto L12 (error at count_active_brownie_calls:426) else goto L10 +L10: + r11 = unbox(int, r10) + dec_ref r10 + if is_error(r11) goto L12 (error at count_active_brownie_calls:426) else goto L11 +L11: + return r11 +L12: + r12 = :: int + return r12 +L13: + dec_ref r3 + goto L5 +L14: + dec_ref r3 + goto L12 + +def _Collector.count_queued_brownie_calls(self): + self :: dank_mids.stats._Collector + r0 :: object + r1 :: bool + r2 :: str + r3 :: object + r4 :: str + r5 :: object + r6, r7 :: int +L0: + r0 = dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_CALL_SEMAPHORE :: static + if is_error(r0) goto L1 else goto L3 +L1: + r1 = raise NameError('value for final name "BROWNIE_CALL_SEMAPHORE" was not set') + if not r1 goto L7 (error at count_queued_brownie_calls:439) else goto L2 :: bool +L2: unreachable -L168: - r481 = dank_mids.brownie_patch.call.globals :: static - r482 = 'MULTICALL2_ADDRESSES' - r483 = CPyDict_GetItem(r481, r482) - if is_error(r483) goto L208 (error at :276) else goto L169 -L169: - r484 = dank_mids.brownie_patch.call.globals :: static - r485 = 'chainid' - r486 = CPyDict_GetItem(r484, r485) - if is_error(r486) goto L223 (error at :276) else goto L170 -L170: - r487 = 'get' - r488 = box(None, 1) - r489 = [r483, r486, r488] - r490 = load_address r489 - r491 = PyObject_VectorcallMethod(r487, r490, 9223372036854775811, 0) - if is_error(r491) goto L224 (error at :276) else goto L171 -L171: - dec_ref r483 - dec_ref r486 - r492 = dank_mids.brownie_patch.call.globals :: static - r493 = 'multicall2' - r494 = CPyDict_SetItem(r492, r493, r491) - r495 = r494 >= 0 :: signed - if not r495 goto L225 (error at :276) else goto L172 :: bool -L172: - r496 = PyObject_IsTrue(r491) - dec_ref r491 - r497 = r496 >= 0 :: signed - if not r497 goto L208 (error at :276) else goto L173 :: bool -L173: - r498 = truncate r496: i32 to builtins.bool - if r498 goto L174 else goto L182 :: bool -L174: - r499 = dank_mids.brownie_patch.call.globals :: static - r500 = '_skip_proc_pool' - r501 = CPyDict_GetItem(r499, r500) - if is_error(r501) goto L208 (error at :277) else goto L175 -L175: - r502 = cast(set, r501) - if is_error(r502) goto L208 (error at :277) else goto L176 -L176: - r503 = dank_mids.brownie_patch.call.globals :: static - r504 = 'multicall2' - r505 = CPyDict_GetItem(r503, r504) - if is_error(r505) goto L226 (error at :277) else goto L177 -L177: - r506 = dank_mids.brownie_patch.call.to_checksum_address :: static - if is_error(r506) goto L227 else goto L180 -L178: - r507 = raise NameError('value for final name "to_checksum_address" was not set') - if not r507 goto L208 (error at :277) else goto L179 :: bool -L179: +L3: + r2 = 'semaphore' + r3 = CPyObject_GetAttr(r0, r2) + if is_error(r3) goto L7 (error at count_queued_brownie_calls:439) else goto L4 +L4: + r4 = '_waiters' + r5 = CPyObject_GetAttr(r3, r4) + dec_ref r3 + if is_error(r5) goto L7 (error at count_queued_brownie_calls:439) else goto L5 +L5: + r6 = CPyObject_Size(r5) + dec_ref r5 + if is_error(r6) goto L7 (error at count_queued_brownie_calls:439) else goto L6 +L6: + return r6 +L7: + r7 = :: int + return r7 + +def _Collector.encoder_queue_len(self): + self :: dank_mids.stats._Collector + r0 :: dict + r1 :: str + r2 :: object + r3 :: str + r4 :: object + r5 :: str + r6 :: object + r7, r8 :: int +L0: + r0 = dank_mids.stats.globals :: static + r1 = 'ENVS' + r2 = CPyDict_GetItem(r0, r1) + if is_error(r2) goto L5 (error at encoder_queue_len:452) else goto L1 +L1: + r3 = 'BROWNIE_ENCODER_PROCESSES' + r4 = CPyObject_GetAttr(r2, r3) + dec_ref r2 + if is_error(r4) goto L5 (error at encoder_queue_len:452) else goto L2 +L2: + r5 = '_queue_count' + r6 = CPyObject_GetAttr(r4, r5) + dec_ref r4 + if is_error(r6) goto L5 (error at encoder_queue_len:452) else goto L3 +L3: + r7 = unbox(int, r6) + dec_ref r6 + if is_error(r7) goto L5 (error at encoder_queue_len:452) else goto L4 +L4: + return r7 +L5: + r8 = :: int + return r8 + +def _Collector.decoder_queue_len(self): + self :: dank_mids.stats._Collector + r0 :: dict + r1 :: str + r2 :: object + r3 :: str + r4 :: object + r5 :: str + r6 :: object + r7, r8 :: int +L0: + r0 = dank_mids.stats.globals :: static + r1 = 'ENVS' + r2 = CPyDict_GetItem(r0, r1) + if is_error(r2) goto L5 (error at decoder_queue_len:465) else goto L1 +L1: + r3 = 'BROWNIE_DECODER_PROCESSES' + r4 = CPyObject_GetAttr(r2, r3) + dec_ref r2 + if is_error(r4) goto L5 (error at decoder_queue_len:465) else goto L2 +L2: + r5 = '_queue_count' + r6 = CPyObject_GetAttr(r4, r5) + dec_ref r4 + if is_error(r6) goto L5 (error at decoder_queue_len:465) else goto L3 +L3: + r7 = unbox(int, r6) + dec_ref r6 + if is_error(r7) goto L5 (error at decoder_queue_len:465) else goto L4 +L4: + return r7 +L5: + r8 = :: int + return r8 + +def _Collector.mcall_decoder_queue_len(self): + self :: dank_mids.stats._Collector + r0 :: dict + r1 :: str + r2 :: object + r3 :: str + r4 :: object + r5 :: str + r6 :: object + r7, r8 :: int +L0: + r0 = dank_mids.stats.globals :: static + r1 = 'ENVS' + r2 = CPyDict_GetItem(r0, r1) + if is_error(r2) goto L5 (error at mcall_decoder_queue_len:478) else goto L1 +L1: + r3 = 'MULTICALL_DECODER_PROCESSES' + r4 = CPyObject_GetAttr(r2, r3) + dec_ref r2 + if is_error(r4) goto L5 (error at mcall_decoder_queue_len:478) else goto L2 +L2: + r5 = '_queue_count' + r6 = CPyObject_GetAttr(r4, r5) + dec_ref r4 + if is_error(r6) goto L5 (error at mcall_decoder_queue_len:478) else goto L3 +L3: + r7 = unbox(int, r6) + dec_ref r6 + if is_error(r7) goto L5 (error at mcall_decoder_queue_len:478) else goto L4 +L4: + return r7 +L5: + r8 = :: int + return r8 + +def _Writer.event_loop(self): + self :: dank_mids.stats._Writer + r0 :: str + r1 :: dank_mids.stats._Collector + r2 :: bool + r3 :: float + r4 :: bit + r5 :: object + r6 :: str + r7 :: object + r8, r9 :: str +L0: + r0 = 'Average event loop time: ' + r1 = dank_mids.stats.collector :: static + if is_error(r1) goto L1 else goto L3 +L1: + r2 = raise NameError('value for final name "collector" was not set') + if not r2 goto L8 (error at event_loop:498) else goto L2 :: bool +L2: unreachable -L180: - r508 = [r505] - r509 = load_address r508 - r510 = PyObject_Vectorcall(r506, r509, 1, 0) - if is_error(r510) goto L228 (error at :277) else goto L181 -L181: - dec_ref r505 - r511 = PySet_Add(r502, r510) - dec_ref r502 - dec_ref r510 - r512 = r511 >= 0 :: signed - if not r512 goto L208 (error at :277) else goto L182 :: bool -L182: - r513 = dank_mids.brownie_patch.call.globals :: static - r514 = 'format_input_but_cache_checksums' - r515 = CPyDict_GetItem(r513, r514) - if is_error(r515) goto L208 (error at :340) else goto L183 -L183: - r516 = dank_mids.brownie_patch.call.globals :: static - r517 = 'brownie' - r518 = CPyDict_GetItem(r516, r517) - if is_error(r518) goto L229 (error at :340) else goto L184 -L184: - r519 = 'network' - r520 = CPyObject_GetAttr(r518, r519) - dec_ref r518 - if is_error(r520) goto L229 (error at :340) else goto L185 -L185: - r521 = 'contract' - r522 = CPyObject_GetAttr(r520, r521) - dec_ref r520 - if is_error(r522) goto L229 (error at :340) else goto L186 -L186: - r523 = 'format_input' - r524 = PyObject_SetAttr(r522, r523, r515) - dec_ref r522 - dec_ref r515 - r525 = r524 >= 0 :: signed - if not r525 goto L208 (error at :340) else goto L187 :: bool -L187: - r526 = dank_mids.brownie_patch.call.globals :: static - r527 = 'format_output_but_cache_checksums' - r528 = CPyDict_GetItem(r526, r527) - if is_error(r528) goto L208 (error at :341) else goto L188 -L188: - r529 = dank_mids.brownie_patch.call.globals :: static - r530 = 'brownie' - r531 = CPyDict_GetItem(r529, r530) - if is_error(r531) goto L230 (error at :341) else goto L189 -L189: - r532 = 'network' - r533 = CPyObject_GetAttr(r531, r532) - dec_ref r531 - if is_error(r533) goto L230 (error at :341) else goto L190 -L190: - r534 = 'contract' - r535 = CPyObject_GetAttr(r533, r534) - dec_ref r533 - if is_error(r535) goto L230 (error at :341) else goto L191 -L191: - r536 = 'format_output' - r537 = PyObject_SetAttr(r535, r536, r528) - dec_ref r535 - dec_ref r528 - r538 = r537 >= 0 :: signed - if not r538 goto L208 (error at :341) else goto L192 :: bool -L192: - r539 = dank_mids.brownie_patch.call.globals :: static - r540 = '_format_array_but_cache_checksums' - r541 = CPyDict_GetItem(r539, r540) - if is_error(r541) goto L208 (error at :398) else goto L193 -L193: - r542 = dank_mids.brownie_patch.call.globals :: static - r543 = 'brownie' - r544 = CPyDict_GetItem(r542, r543) - if is_error(r544) goto L231 (error at :398) else goto L194 -L194: - r545 = 'convert' - r546 = CPyObject_GetAttr(r544, r545) - dec_ref r544 - if is_error(r546) goto L231 (error at :398) else goto L195 -L195: - r547 = 'normalize' - r548 = CPyObject_GetAttr(r546, r547) - dec_ref r546 - if is_error(r548) goto L231 (error at :398) else goto L196 -L196: - r549 = '_format_array' - r550 = PyObject_SetAttr(r548, r549, r541) - dec_ref r548 - dec_ref r541 - r551 = r550 >= 0 :: signed - if not r551 goto L208 (error at :398) else goto L197 :: bool -L197: - r552 = dank_mids.brownie_patch.call.globals :: static - r553 = '_format_single_but_cache_checksums' - r554 = CPyDict_GetItem(r552, r553) - if is_error(r554) goto L208 (error at :399) else goto L198 -L198: - r555 = dank_mids.brownie_patch.call.globals :: static - r556 = 'brownie' - r557 = CPyDict_GetItem(r555, r556) - if is_error(r557) goto L232 (error at :399) else goto L199 -L199: - r558 = 'convert' - r559 = CPyObject_GetAttr(r557, r558) - dec_ref r557 - if is_error(r559) goto L232 (error at :399) else goto L200 -L200: - r560 = 'normalize' - r561 = CPyObject_GetAttr(r559, r560) - dec_ref r559 - if is_error(r561) goto L232 (error at :399) else goto L201 -L201: - r562 = '_format_single' - r563 = PyObject_SetAttr(r561, r562, r554) - dec_ref r561 - dec_ref r554 - r564 = r563 >= 0 :: signed - if not r564 goto L208 (error at :399) else goto L202 :: bool -L202: - r565 = dank_mids.brownie_patch.call.globals :: static - r566 = '_format_tuple_but_cache_checksums' - r567 = CPyDict_GetItem(r565, r566) - if is_error(r567) goto L208 (error at :400) else goto L203 -L203: - r568 = dank_mids.brownie_patch.call.globals :: static - r569 = 'brownie' - r570 = CPyDict_GetItem(r568, r569) - if is_error(r570) goto L233 (error at :400) else goto L204 -L204: - r571 = 'convert' - r572 = CPyObject_GetAttr(r570, r571) - dec_ref r570 - if is_error(r572) goto L233 (error at :400) else goto L205 -L205: - r573 = 'normalize' - r574 = CPyObject_GetAttr(r572, r573) - dec_ref r572 - if is_error(r574) goto L233 (error at :400) else goto L206 -L206: - r575 = '_format_tuple' - r576 = PyObject_SetAttr(r574, r575, r567) - dec_ref r574 - dec_ref r567 - r577 = r576 >= 0 :: signed - if not r577 goto L208 (error at :400) else goto L207 :: bool -L207: - return 1 -L208: - r578 = :: None - return r578 -L209: - dec_ref r125 - goto L208 -L210: - dec_ref r156 - goto L208 -L211: - dec_ref r167 - goto L208 -L212: - dec_ref r167 - dec_ref r170 - goto L208 -L213: - dec_ref r167 - dec_ref r174 - goto L208 -L214: - dec_ref r167 - dec_ref r174 - dec_ref r177 - goto L208 -L215: - dec_ref r195 - goto L208 -L216: - dec_ref r202 - goto L208 -L217: - dec_ref r384 - goto L126 -L218: - dec_ref r384 - goto L208 -L219: - dec_ref r415 - goto L208 -L220: - dec_ref r445 - goto L208 -L221: - dec_ref r461 - goto L162 -L222: - dec_ref r461 - goto L164 -L223: - dec_ref r483 - goto L208 -L224: - dec_ref r483 - dec_ref r486 - goto L208 -L225: - dec_ref r491 - goto L208 -L226: - dec_ref r502 - goto L208 -L227: - dec_ref r502 - dec_ref r505 - goto L178 -L228: - dec_ref r502 - dec_ref r505 - goto L208 -L229: - dec_ref r515 - goto L208 -L230: - dec_ref r528 - goto L208 -L231: - dec_ref r541 - goto L208 -L232: - dec_ref r554 - goto L208 -L233: - dec_ref r567 - goto L208 - -def return_as_is(x): - x :: object -L0: - inc_ref x - return x +L3: + r3 = r1.avg_loop_time + r4 = r3 == -113.0 + if r4 goto L5 else goto L4 :: bool +L4: + r5 = box(float, r3) + r6 = PyObject_Str(r5) + dec_ref r5 + if is_error(r6) goto L8 (error at event_loop:498) else goto L6 +L5: + r7 = PyErr_Occurred() + if not is_error(r7) goto L8 (error at event_loop:498) else goto L4 +L6: + r8 = CPyStr_Build(2, r0, r6) + dec_ref r6 + if is_error(r8) goto L8 (error at event_loop:498) else goto L7 +L7: + return r8 +L8: + r9 = :: str + return r9 -def abi_request_formatters_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): - __mypyc_self__ :: dank_mids._web3.formatters.abi_request_formatters_gen - type, value, traceback, arg :: object - stop_iter_ptr :: object_ptr - r0 :: i32 - r1 :: object - r2 :: bit - r3 :: dict - r4, r5 :: bool - r6 :: dict - r7 :: native_int - r8 :: bool - r9 :: object - r10 :: bool - r11 :: object - r12 :: short_int - r13 :: tuple[bool, short_int, object, object] - r14 :: short_int - r15, r16 :: bool - r17, r18 :: object - r19 :: union[list, dict] - r20, r21 :: bool - r22 :: union[list, dict] - r23 :: bit - r24, r25 :: object - r26 :: tuple - r27 :: union[list, dict] - r28 :: list - r29 :: tuple - r30 :: dank_mids._web3.abi.Formatter - r31 :: tuple[object, dank_mids._web3.abi.Formatter] - r32 :: object - r33 :: bool - r34 :: object - r35 :: bit - r36 :: union[list, dict] - r37 :: bit - r38 :: object - r39 :: union[list, dict] - r40, r41 :: dict - r42 :: str - r43 :: object - r44 :: object[2] - r45 :: object_ptr - r46 :: object - r47 :: bool - r48, r49 :: object - r50 :: dict - r51 :: str - r52, r53 :: object - r54 :: object[2] - r55 :: object_ptr - r56 :: object - r57 :: tuple[object, object] - r58 :: object - r59 :: bool - r60 :: object - r61 :: bit - r62, r63, r64 :: str - r65 :: union[list, dict] - r66, r67 :: str - r68 :: object[3] - r69 :: object_ptr - r70 :: object - r71 :: list - r72, r73, r74 :: ptr - r75 :: str - r76 :: object - r77 :: str - r78 :: object - r79 :: object[1] - r80 :: object_ptr - r81 :: object - r82 :: dict - r83 :: native_int - r84, r85 :: bit - r86 :: object - r87 :: bool - r88, r89, r90 :: bit - r91 :: bool - r92 :: object +def _Writer.brownie(self): + self :: dank_mids.stats._Writer + r0 :: dank_mids.stats._Collector + r1 :: bool + r2 :: int + r3, r4 :: str + r5 :: dank_mids.stats._Collector + r6 :: bool + r7 :: int + r8, r9, r10, r11 :: str L0: - r0 = __mypyc_self__.__mypyc_next_label__ - goto L64 + r0 = dank_mids.stats.collector :: static + if is_error(r0) goto L1 else goto L3 L1: - r1 = load_address _Py_NoneStruct - r2 = type != r1 - if r2 goto L2 else goto L4 :: bool + r1 = raise NameError('value for final name "collector" was not set') + if not r1 goto L12 (error at brownie:510) else goto L2 :: bool L2: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L69 (error at abi_request_formatters:27) else goto L3 :: bool -L3: unreachable +L3: + r2 = r0.count_active_brownie_calls + if is_error(r2) goto L12 (error at brownie:510) else goto L4 L4: - r3 = __mypyc_self__.__mypyc_generator_attribute__abis - if is_error(r3) goto L69 (error at abi_request_formatters:31) else goto L5 + r3 = CPyTagged_Str(r2) + dec_ref r2 :: int + if is_error(r3) goto L12 (error at brownie:510) else goto L5 L5: - inc_ref r3 - __mypyc_self__.__mypyc_temp__0 = r3; r4 = is_error - if not r4 goto L70 (error at abi_request_formatters:-1) else goto L6 :: bool + r4 = ' brownie calls are processing, ' + r5 = dank_mids.stats.collector :: static + if is_error(r5) goto L13 else goto L8 L6: - __mypyc_self__.__mypyc_temp__1 = 0; r5 = is_error - if not r5 goto L70 (error at abi_request_formatters:-1) else goto L7 :: bool + r6 = raise NameError('value for final name "collector" was not set') + if not r6 goto L12 (error at brownie:510) else goto L7 :: bool L7: - r6 = __mypyc_self__.__mypyc_temp__0 - if is_error(r6) goto L70 (error at abi_request_formatters:31) else goto L8 + unreachable L8: - r7 = PyDict_Size(r6) - dec_ref r6 - __mypyc_self__.__mypyc_temp__2 = r7; r8 = is_error - if not r8 goto L70 (error at abi_request_formatters:-1) else goto L9 :: bool + r7 = r5.count_queued_brownie_calls + if is_error(r7) goto L14 (error at brownie:510) else goto L9 L9: - r9 = CPyDict_GetItemsIter(r3) - dec_ref r3 - if is_error(r9) goto L69 (error at abi_request_formatters:31) else goto L10 + r8 = CPyTagged_Str(r7) + dec_ref r7 :: int + if is_error(r8) goto L14 (error at brownie:510) else goto L10 L10: - __mypyc_self__.__mypyc_temp__3 = r9; r10 = is_error - if not r10 goto L69 (error at abi_request_formatters:-1) else goto L11 :: bool + r9 = ' are queued in None.' + r10 = CPyStr_Build(4, r3, r4, r8, r9) + dec_ref r3 + dec_ref r8 + if is_error(r10) goto L12 (error at brownie:510) else goto L11 L11: - r11 = __mypyc_self__.__mypyc_temp__3 - if is_error(r11) goto L69 (error at abi_request_formatters:31) else goto L12 + return r10 L12: - r12 = __mypyc_self__.__mypyc_temp__1 - if is_error(r12) goto L71 (error at abi_request_formatters:31) else goto L13 + r11 = :: str + return r11 L13: - r13 = CPyDict_NextItem(r11, r12) - dec_ref r11 - r14 = r13[1] - __mypyc_self__.__mypyc_temp__1 = r14; r15 = is_error - if not r15 goto L72 (error at abi_request_formatters:31) else goto L14 :: bool + dec_ref r3 + goto L6 L14: - r16 = r13[0] - if r16 goto L15 else goto L73 :: bool -L15: - r17 = r13[2] - r18 = r13[3] - dec_ref r13 - r19 = cast(union[list, dict], r18) - if is_error(r19) goto L74 (error at abi_request_formatters:31) else goto L16 -L16: - __mypyc_self__.__mypyc_generator_attribute__method = r17; r20 = is_error - if not r20 goto L75 (error at abi_request_formatters:31) else goto L17 :: bool -L17: - __mypyc_self__.__mypyc_generator_attribute__abi_types = r19; r21 = is_error - if not r21 goto L69 (error at abi_request_formatters:31) else goto L18 :: bool -L18: - r22 = __mypyc_self__.__mypyc_generator_attribute__abi_types - if is_error(r22) goto L69 (error at abi_request_formatters:32) else goto L19 -L19: - r23 = PyList_Check(r22) - dec_ref r22 - if r23 goto L20 else goto L31 :: bool -L20: - r24 = __mypyc_self__.__mypyc_generator_attribute__method - if is_error(r24) goto L69 (error at abi_request_formatters:33) else goto L21 -L21: - r25 = __mypyc_self__.__mypyc_generator_attribute__normalizers - if is_error(r25) goto L76 (error at abi_request_formatters:33) else goto L22 -L22: - r26 = PySequence_Tuple(r25) - dec_ref r25 - if is_error(r26) goto L76 (error at abi_request_formatters:33) else goto L23 -L23: - r27 = __mypyc_self__.__mypyc_generator_attribute__abi_types - if is_error(r27) goto L77 (error at abi_request_formatters:33) else goto L24 -L24: - r28 = cast(list, r27) - if is_error(r28) goto L77 (error at abi_request_formatters:33) else goto L25 -L25: - r29 = PyList_AsTuple(r28) - dec_ref r28 - if is_error(r29) goto L77 (error at abi_request_formatters:33) else goto L26 -L26: - r30 = get_formatter(r26, r29) - dec_ref r26 - dec_ref r29 - if is_error(r30) goto L76 (error at abi_request_formatters:33) else goto L27 -L27: - r31 = (r24, r30) - r32 = box(tuple[object, dank_mids._web3.abi.Formatter], r31) - __mypyc_self__.__mypyc_next_label__ = 1 - return r32 -L28: - r34 = load_address _Py_NoneStruct - r35 = type != r34 - if r35 goto L29 else goto L55 :: bool -L29: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L69 (error at abi_request_formatters:33) else goto L30 :: bool -L30: - unreachable -L31: - r36 = __mypyc_self__.__mypyc_generator_attribute__abi_types - if is_error(r36) goto L69 (error at abi_request_formatters:34) else goto L32 -L32: - r37 = PyDict_Check(r36) - dec_ref r36 - if r37 goto L33 else goto L47 :: bool -L33: - r38 = __mypyc_self__.__mypyc_generator_attribute__normalizers - if is_error(r38) goto L69 (error at abi_request_formatters:35) else goto L34 -L34: - r39 = __mypyc_self__.__mypyc_generator_attribute__abi_types - if is_error(r39) goto L78 (error at abi_request_formatters:35) else goto L35 -L35: - r40 = cast(dict, r39) - if is_error(r40) goto L78 (error at abi_request_formatters:35) else goto L36 -L36: - r41 = dank_mids._web3.formatters.globals :: static - r42 = 'apply_abi_formatters_to_dict' - r43 = CPyDict_GetItem(r41, r42) - if is_error(r43) goto L79 (error at abi_request_formatters:35) else goto L37 -L37: - r44 = [r38, r40] - r45 = load_address r44 - r46 = PyObject_Vectorcall(r43, r45, 2, 0) - dec_ref r43 - if is_error(r46) goto L79 (error at abi_request_formatters:35) else goto L38 -L38: - dec_ref r38 - dec_ref r40 - __mypyc_self__.__mypyc_generator_attribute__single_dict_formatter = r46; r47 = is_error - if not r47 goto L69 (error at abi_request_formatters:35) else goto L39 :: bool -L39: - r48 = __mypyc_self__.__mypyc_generator_attribute__method - if is_error(r48) goto L69 (error at abi_request_formatters:36) else goto L40 -L40: - r49 = __mypyc_self__.__mypyc_generator_attribute__single_dict_formatter - if is_error(r49) goto L80 (error at abi_request_formatters:36) else goto L41 -L41: - r50 = dank_mids._web3.formatters.globals :: static - r51 = 'apply_formatter_at_index' - r52 = CPyDict_GetItem(r50, r51) - if is_error(r52) goto L81 (error at abi_request_formatters:36) else goto L42 -L42: - r53 = object 0 - r54 = [r49, r53] - r55 = load_address r54 - r56 = PyObject_Vectorcall(r52, r55, 2, 0) - dec_ref r52 - if is_error(r56) goto L81 (error at abi_request_formatters:36) else goto L43 -L43: - dec_ref r49 - r57 = (r48, r56) - r58 = box(tuple[object, object], r57) - __mypyc_self__.__mypyc_next_label__ = 2 - return r58 -L44: - r60 = load_address _Py_NoneStruct - r61 = type != r60 - if r61 goto L45 else goto L55 :: bool -L45: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L69 (error at abi_request_formatters:36) else goto L46 :: bool -L46: - unreachable -L47: - r62 = '' - r63 = 'ABI definitions must be a list or dictionary, got ' - r64 = '{!r:{}}' - r65 = __mypyc_self__.__mypyc_generator_attribute__abi_types - if is_error(r65) goto L69 (error at abi_request_formatters:38) else goto L48 -L48: - r66 = '' - r67 = 'format' - r68 = [r64, r65, r66] - r69 = load_address r68 - r70 = PyObject_VectorcallMethod(r67, r69, 9223372036854775811, 0) - if is_error(r70) goto L82 (error at abi_request_formatters:38) else goto L49 -L49: - dec_ref r65 - r71 = PyList_New(2) - if is_error(r71) goto L83 (error at abi_request_formatters:38) else goto L50 -L50: - r72 = get_element_ptr r71 ob_item :: PyListObject - r73 = load_mem r72 :: ptr* - inc_ref r63 - set_mem r73, r63 :: builtins.object* - r74 = r73 + 8 - set_mem r74, r70 :: builtins.object* - r75 = PyUnicode_Join(r62, r71) - dec_ref r71 - if is_error(r75) goto L69 (error at abi_request_formatters:38) else goto L51 -L51: - r76 = builtins :: module - r77 = 'TypeError' - r78 = CPyObject_GetAttr(r76, r77) - if is_error(r78) goto L84 (error at abi_request_formatters:38) else goto L52 -L52: - r79 = [r75] - r80 = load_address r79 - r81 = PyObject_Vectorcall(r78, r80, 1, 0) - dec_ref r78 - if is_error(r81) goto L84 (error at abi_request_formatters:38) else goto L53 -L53: - dec_ref r75 - CPy_Raise(r81) - dec_ref r81 - if not 0 goto L69 (error at abi_request_formatters:38) else goto L54 :: bool -L54: - unreachable -L55: - r82 = __mypyc_self__.__mypyc_temp__0 - if is_error(r82) goto L69 (error at abi_request_formatters:31) else goto L56 -L56: - r83 = __mypyc_self__.__mypyc_temp__2 - if is_error(r83) goto L85 (error at abi_request_formatters:31) else goto L57 -L57: - r84 = CPyDict_CheckSize(r82, r83) - dec_ref r82 - if not r84 goto L69 (error at abi_request_formatters:31) else goto L11 :: bool -L58: - r85 = CPy_NoErrOccurred() - if not r85 goto L69 (error at abi_request_formatters:31) else goto L59 :: bool -L59: - r86 = box(None, 1) - __mypyc_self__.__mypyc_next_label__ = -1 -L60: - if is_error(stop_iter_ptr) goto L61 else goto L63 -L61: - CPyGen_SetStopIterationValue(r86) - if not 0 goto L69 else goto L62 :: bool -L62: - unreachable -L63: - inc_ref r86 - set_mem stop_iter_ptr, r86 :: builtins.object* - return 0 -L64: - r88 = r0 == 0 - if r88 goto L1 else goto L65 :: bool -L65: - r89 = r0 == 1 - if r89 goto L28 else goto L66 :: bool -L66: - r90 = r0 == 2 - if r90 goto L44 else goto L67 :: bool -L67: - r91 = raise StopIteration - if not r91 goto L69 (error at abi_request_formatters:27) else goto L68 :: bool -L68: - unreachable -L69: - r92 = :: object - return r92 -L70: dec_ref r3 - goto L69 -L71: - dec_ref r11 - goto L69 -L72: - dec_ref r13 - goto L69 -L73: - dec_ref r13 - goto L58 -L74: - dec_ref r17 - goto L69 -L75: - dec_ref r19 - goto L69 -L76: - dec_ref r24 - goto L69 -L77: - dec_ref r24 - dec_ref r26 - goto L69 -L78: - dec_ref r38 - goto L69 -L79: - dec_ref r38 - dec_ref r40 - goto L69 -L80: - dec_ref r48 - goto L69 -L81: - dec_ref r48 - dec_ref r49 - goto L69 -L82: - dec_ref r65 - goto L69 -L83: - dec_ref r70 - goto L69 -L84: - dec_ref r75 - goto L69 -L85: - dec_ref r82 - goto L69 - -def abi_request_formatters_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids._web3.formatters.abi_request_formatters_gen - r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = abi_request_formatters_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def abi_request_formatters_gen.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids._web3.formatters.abi_request_formatters_gen - arg, r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = abi_request_formatters_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def abi_request_formatters_gen.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids._web3.formatters.abi_request_formatters_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ + goto L12 -def abi_request_formatters_gen.throw(__mypyc_self__, type, value, traceback): - __mypyc_self__ :: dank_mids._web3.formatters.abi_request_formatters_gen - type, value, traceback, r0, r1, r2 :: object +def _Writer.queue(self, pool): + self :: dank_mids.stats._Writer + pool :: object + r0, r1, r2 :: str + r3 :: object + r4 :: int + r5, r6, r7, r8 :: str L0: - r0 = load_address _Py_NoneStruct - if is_error(value) goto L1 else goto L7 + r0 = PyObject_Str(pool) + if is_error(r0) goto L6 (error at queue:525) else goto L1 L1: - inc_ref r0 - value = r0 + r1 = ' has ' + r2 = '_queue_count' + r3 = CPyObject_GetAttr(pool, r2) + if is_error(r3) goto L7 (error at queue:525) else goto L2 L2: - if is_error(traceback) goto L3 else goto L8 + r4 = unbox(int, r3) + dec_ref r3 + if is_error(r4) goto L7 (error at queue:525) else goto L3 L3: - inc_ref r0 - traceback = r0 + r5 = CPyTagged_Str(r4) + dec_ref r4 :: int + if is_error(r5) goto L7 (error at queue:525) else goto L4 L4: - r1 = abi_request_formatters_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) - dec_ref value - dec_ref traceback - if is_error(r1) goto L6 else goto L5 + r6 = ' items in its queue' + r7 = CPyStr_Build(4, r0, r1, r5, r6) + dec_ref r0 + dec_ref r5 + if is_error(r7) goto L6 (error at queue:525) else goto L5 L5: - return r1 + return r7 L6: - r2 = :: object - return r2 + r8 = :: str + return r8 L7: - inc_ref value - goto L2 -L8: - inc_ref traceback - goto L4 + dec_ref r0 + goto L6 -def abi_request_formatters_gen.close(__mypyc_self__): - __mypyc_self__ :: dank_mids._web3.formatters.abi_request_formatters_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 +def _SentryExporter.push_measurements(self): + self :: dank_mids.stats._SentryExporter + r0 :: union[object, None] + r1 :: object + r2 :: bit + r3 :: object + r4 :: i32 + r5 :: bit + r6 :: bool + r7 :: union[object, None] + r8 :: dict + r9 :: str + r10 :: object + r11 :: object[1] + r12 :: object_ptr r13 :: object - r14 :: bool + r14 :: union[object, None] 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 abi_request_formatters(normalizers, abis): - normalizers :: object - abis :: dict - r0 :: dank_mids._web3.formatters.abi_request_formatters_gen - r1, r2, r3 :: bool - r4 :: dank_mids._web3.formatters.abi_request_formatters_gen -L0: - r0 = abi_request_formatters_gen() - if is_error(r0) goto L4 (error at abi_request_formatters:27) else goto L1 -L1: - r0.__mypyc_next_label__ = 0 - inc_ref normalizers - r0.__mypyc_generator_attribute__normalizers = normalizers; r2 = is_error - if not r2 goto L5 (error at abi_request_formatters:27) else goto L2 :: bool -L2: - inc_ref abis - r0.__mypyc_generator_attribute__abis = abis; r3 = is_error - if not r3 goto L5 (error at abi_request_formatters:27) else goto L3 :: bool -L3: - return r0 -L4: - r4 = :: dank_mids._web3.formatters.abi_request_formatters_gen - return r4 -L5: - dec_ref r0 - goto L4 - -def get_request_formatters(method_name): - method_name, r0 :: object - r1 :: bool - r2 :: str - r3 :: object[2] - r4 :: object_ptr - r5, formatters, r6 :: object - r7 :: bit - r8 :: list - r9 :: tuple[object, object, object] - r10 :: bool - r11, r12, r13 :: object - r14 :: str - r15 :: object[2] - r16 :: object_ptr + r16 :: str r17 :: object - r18 :: i32 - r19, r20 :: bit - r21 :: object - r22 :: list - r23, r24, r25 :: object - r26 :: bit - r27 :: i32 - r28, r29 :: bit - r30 :: ptr - r31 :: native_int - r32 :: short_int - r33 :: bit - r34 :: dict - r35 :: str - r36 :: object - r37 :: ptr - r38 :: native_int - r39 :: short_int - r40 :: bit - r41 :: object - r42 :: dict - r43 :: str + r18 :: union[object, None] + r19 :: str + r20 :: object[2] + r21 :: object_ptr + r22 :: object + r23 :: dict + r24 :: short_int + r25 :: native_int + r26 :: object + r27 :: tuple[bool, short_int, object, object] + r28 :: short_int + r29 :: bool + r30, r31 :: object + r32, r33 :: str + r34 :: dank_mids.stats._Collector + r35 :: bool + r36, attr, r37 :: object + r38 :: str + r39 :: object + r40 :: object[1] + r41 :: object_ptr + r42 :: object + r43 :: bool r44 :: object - r45 :: tuple - r46, r47 :: object - r48 :: bool - r49 :: i32 - r50 :: bit + r45 :: dict + r46 :: object + r47 :: union[str, None] + r48 :: union[object, None] + r49 :: object[3] + r50 :: object_ptr r51 :: object + r52, r53 :: bit + r54 :: None L0: - r0 = dank_mids._web3.formatters._request_formatters :: static - if is_error(r0) goto L1 else goto L3 + r0 = self._exc + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L1 else goto L33 :: bool L1: - r1 = raise NameError('value for final name "_request_formatters" was not set') - if not r1 goto L36 (error at get_request_formatters:59) else goto L2 :: bool + r3 = cast(object, r0) + if is_error(r3) goto L32 (error at push_measurements:556) else goto L2 L2: - unreachable + r4 = PyObject_IsTrue(r3) + dec_ref r3 + r5 = r4 >= 0 :: signed + if not r5 goto L32 (error at push_measurements:556) else goto L3 :: bool L3: - r2 = 'get' - r3 = [r0, method_name] - r4 = load_address r3 - r5 = PyObject_VectorcallMethod(r2, r4, 9223372036854775810, 0) - if is_error(r5) goto L36 (error at get_request_formatters:59) else goto L4 + r6 = truncate r4: i32 to builtins.bool + if r6 goto L4 else goto L11 :: bool L4: - formatters = r5 - r6 = load_address _Py_NoneStruct - r7 = formatters == r6 - if r7 goto L37 else goto L35 :: bool + r7 = self._exc + r8 = dank_mids.stats.globals :: static + r9 = 'deepcopy' + r10 = CPyDict_GetItem(r8, r9) + if is_error(r10) goto L34 (error at push_measurements:557) else goto L5 L5: - r8 = PyList_New(0) - if is_error(r8) goto L36 (error at get_request_formatters:61) else goto L6 + r11 = [r7] + r12 = load_address r11 + r13 = PyObject_Vectorcall(r10, r12, 1, 0) + dec_ref r10 + if is_error(r13) goto L34 (error at push_measurements:557) else goto L6 L6: - r9 = dank_mids._web3.formatters.REQUEST_FORMATTER_MAPS :: static - if is_error(r9) goto L38 else goto L9 + dec_ref r7 + r14 = self._exc + r15 = r14 + r16 = '__traceback__' + r17 = CPyObject_GetAttr(r15, r16) + dec_ref r15 + if is_error(r17) goto L35 (error at push_measurements:557) else goto L7 L7: - r10 = raise NameError('value for final name "REQUEST_FORMATTER_MAPS" was not set') - if not r10 goto L36 (error at get_request_formatters:61) else goto L8 :: bool + r18 = r17 L8: - unreachable + r19 = 'with_traceback' + r20 = [r13, r18] + r21 = load_address r20 + r22 = PyObject_VectorcallMethod(r19, r21, 9223372036854775810, 0) + if is_error(r22) goto L36 (error at push_measurements:557) else goto L9 L9: - inc_ref r9 - r11 = box(tuple[object, object, object], r9) - r12 = PyObject_GetIter(r11) - dec_ref r11 - if is_error(r12) goto L39 (error at get_request_formatters:61) else goto L10 + dec_ref r13 + dec_ref r18 + CPy_Raise(r22) + dec_ref r22 + if not 0 goto L32 (error at push_measurements:557) else goto L10 :: bool L10: - r13 = PyIter_Next(r12) - if is_error(r13) goto L40 else goto L11 + unreachable L11: - r14 = 'get' - r15 = [r13, method_name] - r16 = load_address r15 - r17 = PyObject_VectorcallMethod(r14, r16, 9223372036854775810, 0) - if is_error(r17) goto L41 (error at get_request_formatters:61) else goto L12 + r23 = self.metrics + r24 = 0 + r25 = PyDict_Size(r23) + r26 = CPyDict_GetItemsIter(r23) + if is_error(r26) goto L37 (error at push_measurements:558) else goto L12 L12: - dec_ref r13 - r18 = PyList_Append(r8, r17) - dec_ref r17 - r19 = r18 >= 0 :: signed - if not r19 goto L42 (error at get_request_formatters:61) else goto L10 :: bool + r27 = CPyDict_NextItem(r26, r24) + r28 = r27[1] + r24 = r28 + r29 = r27[0] + if r29 goto L13 else goto L38 :: bool L13: - r20 = CPy_NoErrOccurred() - if not r20 goto L39 (error at get_request_formatters:61) else goto L14 :: bool + r30 = r27[2] + r31 = r27[3] + dec_ref r27 + r32 = cast(str, r30) + if is_error(r32) goto L39 (error at push_measurements:558) else goto L14 L14: - r21 = PyObject_GetIter(r8) - dec_ref r8 - if is_error(r21) goto L36 (error at get_request_formatters:61) else goto L15 + r33 = cast(str, r31) + if is_error(r33) goto L40 (error at push_measurements:558) else goto L15 L15: - r22 = PyList_New(0) - if is_error(r22) goto L43 (error at get_request_formatters:62) else goto L16 + r34 = dank_mids.stats.collector :: static + if is_error(r34) goto L41 else goto L18 L16: - r23 = PyObject_GetIter(r21) - if is_error(r23) goto L44 (error at get_request_formatters:62) else goto L17 + r35 = raise NameError('value for final name "collector" was not set') + if not r35 goto L32 (error at push_measurements:559) else goto L17 :: bool L17: - r24 = PyIter_Next(r23) - if is_error(r24) goto L45 else goto L18 + unreachable L18: - r25 = load_address _Py_NoneStruct - r26 = r24 != r25 - if r26 goto L19 else goto L46 :: bool + r36 = CPyObject_GetAttr(r34, r33) + if is_error(r36) goto L42 (error at push_measurements:559) else goto L19 L19: - r27 = PyList_Append(r22, r24) - dec_ref r24 - r28 = r27 >= 0 :: signed - if not r28 goto L47 (error at get_request_formatters:62) else goto L17 :: bool + attr = r36 + r37 = builtins :: module + r38 = 'callable' + r39 = CPyObject_GetAttr(r37, r38) + if is_error(r39) goto L43 (error at push_measurements:560) else goto L20 L20: - r29 = CPy_NoErrOccurred() - if not r29 goto L44 (error at get_request_formatters:62) else goto L21 :: bool + r40 = [attr] + r41 = load_address r40 + r42 = PyObject_Vectorcall(r39, r41, 1, 0) + dec_ref r39 + if is_error(r42) goto L43 (error at push_measurements:560) else goto L21 L21: - r30 = get_element_ptr r22 ob_size :: PyVarObject - r31 = load_mem r30 :: native_int* - r32 = r31 << 1 - r33 = r32 != 0 - if r33 goto L24 else goto L48 :: bool + r43 = unbox(bool, r42) + dec_ref r42 + if is_error(r43) goto L43 (error at push_measurements:560) else goto L22 L22: - r34 = dank_mids._web3.formatters.globals :: static - r35 = 'return_as_is' - r36 = CPyDict_GetItem(r34, r35) - if is_error(r36) goto L36 (error at get_request_formatters:64) else goto L23 + if r43 goto L23 else goto L25 :: bool L23: - formatters = r36 - goto L31 + r44 = PyObject_Vectorcall(attr, 0, 0, 0) + dec_ref attr + if is_error(r44) goto L42 (error at push_measurements:561) else goto L24 L24: - r37 = get_element_ptr r22 ob_size :: PyVarObject - r38 = load_mem r37 :: native_int* - r39 = r38 << 1 - r40 = r39 == 2 - if r40 goto L49 else goto L50 :: bool + attr = r44 L25: - r41 = CPyList_GetItemShort(r22, 0) - dec_ref r22 - if is_error(r41) goto L36 (error at get_request_formatters:66) else goto L26 + r45 = self.units + r46 = CPyDict_GetWithNone(r45, r33) + dec_ref r45 + dec_ref r33 + if is_error(r46) goto L44 (error at push_measurements:562) else goto L26 L26: - formatters = r41 - goto L31 + r47 = cast(union[str, None], r46) + if is_error(r47) goto L44 (error at push_measurements:562) else goto L27 L27: - r42 = dank_mids._web3.formatters.globals :: static - r43 = 'compose' - r44 = CPyDict_GetItem(r42, r43) - if is_error(r44) goto L43 (error at get_request_formatters:70) else goto L28 + r48 = self.set_measurement + r49 = [r32, attr, r47] + r50 = load_address r49 + r51 = PyObject_Vectorcall(r48, r50, 3, 0) + dec_ref r48 + if is_error(r51) goto L45 (error at push_measurements:562) else goto L46 L28: - r45 = PySequence_Tuple(r21) - dec_ref r21 - if is_error(r45) goto L51 (error at get_request_formatters:70) else goto L29 + dec_ref r32 + dec_ref attr + dec_ref r47 L29: - r46 = PyObject_CallObject(r44, r45) - dec_ref r44 - dec_ref r45 - if is_error(r46) goto L36 (error at get_request_formatters:70) else goto L30 + r52 = CPyDict_CheckSize(r23, r25) + if not r52 goto L47 (error at push_measurements:558) else goto L12 :: bool L30: - formatters = r46 + r53 = CPy_NoErrOccurred() + if not r53 goto L32 (error at push_measurements:558) else goto L31 :: bool L31: - r47 = dank_mids._web3.formatters._request_formatters :: static - if is_error(r47) goto L52 else goto L34 + return 1 L32: - r48 = raise NameError('value for final name "_request_formatters" was not set') - if not r48 goto L36 (error at get_request_formatters:71) else goto L33 :: bool + r54 = :: None + return r54 L33: - unreachable + dec_ref r0 + goto L11 L34: - r49 = PyObject_SetItem(r47, method_name, formatters) - r50 = r49 >= 0 :: signed - if not r50 goto L53 (error at get_request_formatters:71) else goto L35 :: bool + dec_ref r7 + goto L32 L35: - return formatters + dec_ref r13 + goto L32 L36: - r51 = :: object - return r51 + dec_ref r13 + dec_ref r18 + goto L32 L37: - dec_ref formatters - goto L5 + dec_ref r23 + goto L32 L38: - dec_ref r8 - goto L7 + dec_ref r23 + dec_ref r26 + dec_ref r27 + goto L30 L39: - dec_ref r8 - goto L36 + dec_ref r23 + dec_ref r26 + dec_ref r31 + goto L32 L40: - dec_ref r12 - goto L13 + dec_ref r23 + dec_ref r26 + dec_ref r32 + goto L32 L41: - dec_ref r8 - dec_ref r12 - dec_ref r13 - goto L36 + dec_ref r23 + dec_ref r26 + dec_ref r32 + dec_ref r33 + goto L16 L42: - dec_ref r8 - dec_ref r12 - goto L36 + dec_ref r23 + dec_ref r26 + dec_ref r32 + dec_ref r33 + goto L32 L43: - dec_ref r21 - goto L36 + dec_ref r23 + dec_ref r26 + dec_ref r32 + dec_ref r33 + dec_ref attr + goto L32 L44: - dec_ref r21 - dec_ref r22 - goto L36 + dec_ref r23 + dec_ref r26 + dec_ref r32 + dec_ref attr + goto L32 L45: dec_ref r23 - goto L20 + dec_ref r26 + dec_ref r32 + dec_ref attr + dec_ref r47 + goto L32 L46: - dec_ref r24 - goto L17 + dec_ref r51 + goto L28 L47: - dec_ref r21 - dec_ref r22 dec_ref r23 - goto L36 -L48: - dec_ref r21 - dec_ref r22 - goto L22 -L49: - dec_ref r21 - goto L25 -L50: - dec_ref r22 - goto L27 -L51: - dec_ref r44 - goto L36 -L52: - dec_ref formatters + dec_ref r26 goto L32 -L53: - dec_ref formatters - goto L36 -def _get_response_formatters(method): - method :: object - r0 :: dict - r1 :: str - r2 :: object - r3 :: dict - r4 :: str - r5 :: object - r6 :: dict - r7 :: str - r8 :: object - r9 :: str - r10 :: object[3] - r11 :: object_ptr - r12 :: object - r13 :: dict - r14 :: str - r15 :: object - r16 :: dict - r17 :: str +def _SentryExporter.push_envs(self): + self :: dank_mids.stats._SentryExporter + r0 :: object + r1 :: bool + r2 :: str + r3 :: object[1] + r4 :: object_ptr + r5, r6, r7, r8, r9 :: object + r10 :: bool + r11 :: object + r12 :: bool + r13 :: object + r14 :: bool + r15 :: union[object, None] + r16 :: object[2] + r17 :: object_ptr r18 :: object - r19 :: str - r20 :: object[3] - r21 :: object_ptr + r19 :: tuple[object, object, object] + r20 :: object + r21 :: str r22 :: object - r23 :: tuple[object, object, object] - r24 :: dict - r25 :: bool - r26 :: object - r27 :: i32 - r28 :: bit - r29 :: tuple[object, object, object] + r23 :: bit + r24 :: object + r25 :: dank_mids.stats._StatsLogger + r26 :: bool + r27, r28, r29, r30, r31, r32 :: str + r33, r34 :: object + r35, r36, r37, r38 :: str + r39 :: object[2] + r40 :: object_ptr + r41 :: object + r42 :: dank_mids.stats._StatsLogger + r43 :: bool + r44 :: str + r45 :: object + r46 :: object[3] + r47 :: object_ptr + r48, r49 :: object + r50, r51 :: bit + r52 :: None L0: - r0 = dank_mids._web3.formatters.globals :: static - r1 = 'return_as_is' - r2 = CPyDict_GetItem(r0, r1) - if is_error(r2) goto L12 (error at _get_response_formatters:86) else goto L1 + r0 = dank_mids.stats._ENVS :: static + if is_error(r0) goto L1 else goto L3 L1: - r3 = dank_mids._web3.formatters.globals :: static - r4 = 'ERROR_FORMATTERS' - r5 = CPyDict_GetItem(r3, r4) - if is_error(r5) goto L13 (error at _get_response_formatters:87) else goto L2 + r1 = raise NameError('value for final name "_ENVS" was not set') + if not r1 goto L42 (error at push_envs:573) else goto L2 :: bool L2: - r6 = dank_mids._web3.formatters.globals :: static - r7 = 'return_as_is' - r8 = CPyDict_GetItem(r6, r7) - if is_error(r8) goto L14 (error at _get_response_formatters:87) else goto L3 + unreachable L3: - r9 = 'get' - r10 = [r5, method, r8] - r11 = load_address r10 - r12 = PyObject_VectorcallMethod(r9, r11, 9223372036854775811, 0) - if is_error(r12) goto L15 (error at _get_response_formatters:87) else goto L4 + r2 = 'items' + r3 = [r0] + r4 = load_address r3 + r5 = PyObject_VectorcallMethod(r2, r4, 9223372036854775809, 0) + if is_error(r5) goto L42 (error at push_envs:573) else goto L4 L4: + r6 = PyObject_GetIter(r5) dec_ref r5 - dec_ref r8 - r13 = dank_mids._web3.formatters.globals :: static - r14 = 'NULL_RESULT_FORMATTERS' - r15 = CPyDict_GetItem(r13, r14) - if is_error(r15) goto L16 (error at _get_response_formatters:88) else goto L5 + if is_error(r6) goto L42 (error at push_envs:573) else goto L5 L5: - r16 = dank_mids._web3.formatters.globals :: static - r17 = 'return_as_is' - r18 = CPyDict_GetItem(r16, r17) - if is_error(r18) goto L17 (error at _get_response_formatters:88) else goto L6 + r7 = PyIter_Next(r6) + if is_error(r7) goto L43 else goto L6 L6: - r19 = 'get' - r20 = [r15, method, r18] - r21 = load_address r20 - r22 = PyObject_VectorcallMethod(r19, r21, 9223372036854775811, 0) - if is_error(r22) goto L18 (error at _get_response_formatters:88) else goto L7 + r8 = PyObject_GetIter(r7) + dec_ref r7 + if is_error(r8) goto L44 (error at push_envs:573) else goto L7 L7: - dec_ref r15 - dec_ref r18 - r23 = (r2, r12, r22) - inc_ref r23 - r24 = dank_mids._web3.formatters._response_formatters :: static - if is_error(r24) goto L19 else goto L10 + r9 = PyIter_Next(r8) + if is_error(r9) goto L45 else goto L10 L8: - r25 = raise NameError('value for final name "_response_formatters" was not set') - if not r25 goto L12 (error at _get_response_formatters:85) else goto L9 :: bool + r10 = raise ValueError('not enough values to unpack') + if not r10 goto L42 (error at push_envs:573) else goto L9 :: bool L9: unreachable L10: - r26 = box(tuple[object, object, object], r23) - r27 = CPyDict_SetItem(r24, method, r26) - dec_ref r26 - r28 = r27 >= 0 :: signed - if not r28 goto L20 (error at _get_response_formatters:85) else goto L11 :: bool + r11 = PyIter_Next(r8) + if is_error(r11) goto L46 else goto L13 L11: - return r23 + r12 = raise ValueError('not enough values to unpack') + if not r12 goto L42 (error at push_envs:573) else goto L12 :: bool L12: - r29 = :: tuple[object, object, object] - return r29 + unreachable L13: - dec_ref r2 - goto L12 + r13 = PyIter_Next(r8) + dec_ref r8 + if is_error(r13) goto L16 else goto L47 L14: - dec_ref r2 - dec_ref r5 - goto L12 + r14 = raise ValueError('too many values to unpack') + if not r14 goto L42 (error at push_envs:573) else goto L15 :: bool L15: - dec_ref r2 - dec_ref r5 - dec_ref r8 - goto L12 + unreachable L16: - dec_ref r2 - dec_ref r12 - goto L12 -L17: - dec_ref r2 - dec_ref r12 + r15 = self.set_tag + r16 = [r9, r11] + r17 = load_address r16 + r18 = PyObject_Vectorcall(r15, r17, 2, 0) dec_ref r15 - goto L12 + if is_error(r18) goto L18 (error at push_envs:575) else goto L48 +L17: + dec_ref r9 + dec_ref r11 + goto L5 L18: - dec_ref r2 - dec_ref r12 - dec_ref r15 - dec_ref r18 - goto L12 + r19 = CPy_CatchError() + r20 = builtins :: module + r21 = 'Exception' + r22 = CPyObject_GetAttr(r20, r21) + if is_error(r22) goto L49 (error at push_envs:576) else goto L19 L19: - dec_ref r23 - dec_ref r23 - goto L8 + r23 = CPy_ExceptionMatches(r22) + dec_ref r22 + if r23 goto L20 else goto L50 :: bool L20: - dec_ref r23 - goto L12 - -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 :: str - r38 :: dict - r39 :: str - r40 :: object - r41 :: object[1] - r42 :: object_ptr - r43 :: object - r44 :: dict - r45 :: str - r46 :: i32 - r47 :: bit - r48 :: dict - r49 :: str - r50 :: object - r51 :: dict - r52 :: str - r53 :: object - r54 :: dict - r55 :: dank_mids._web3.formatters.abi_request_formatters_gen - r56, r57 :: dict - r58 :: str - r59 :: i32 - r60 :: bit - r61 :: object - r62 :: bool - r63 :: dict - r64 :: str - r65 :: object - r66 :: dict - r67 :: str - r68 :: object - r69 :: tuple[object, object, object] - r70 :: dict - r71 :: str - r72 :: object - r73 :: i32 - r74 :: bit - r75, r76 :: dict - r77 :: str - r78 :: i32 - r79 :: bit - r80 :: dict - r81 :: str - r82 :: object - r83 :: dict - r84 :: str - r85 :: object - r86 :: list - r87, r88 :: ptr - r89 :: dict - r90 :: str - r91 :: object - r92 :: tuple[list, object] - r93, r94 :: object - r95 :: dict - r96 :: str - r97 :: i32 - r98 :: bit - r99 :: dict - r100 :: str - r101 :: object - r102 :: dict - r103 :: str - r104 :: object - r105 :: list - r106, r107 :: ptr - r108 :: dict - r109 :: str - r110 :: object - r111 :: tuple[list, object] - r112, r113 :: object - r114 :: dict - r115 :: str - r116 :: i32 - r117 :: bit - r118 :: dict - r119 :: str - r120 :: object - r121 :: dict - r122 :: str - r123 :: object - r124 :: list - r125, r126 :: ptr - r127 :: dict - r128 :: str - r129 :: object - r130 :: tuple[list, object] - r131, r132 :: object - r133 :: dict - r134 :: str - r135 :: i32 - r136 :: bit - r137 :: dict - r138 :: str - r139 :: object - r140 :: dict - r141 :: str - r142 :: object - r143 :: dict - r144 :: str - r145 :: object - r146 :: dict - r147 :: str - r148 :: object - r149 :: tuple[object, object, object] - r150, r151 :: object - r152 :: dict - r153 :: str - r154 :: i32 - r155 :: bit - r156, r157 :: dict - r158 :: str - r159 :: i32 - r160 :: bit - r161 :: 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 L55 (error at :-1) else goto L2 -L2: - builtins = r4 :: module - dec_ref r4 -L3: - r5 = ('Any', 'Callable', 'Dict', 'Final', 'Iterator', 'List', 'Sequence', 'Tuple', 'TypeVar', 'Union') - r6 = 'typing' - r7 = dank_mids._web3.formatters.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L55 (error at :1) else goto L4 -L4: - typing = r8 :: module - dec_ref r8 - r9 = ('TypeStr',) - r10 = 'eth_typing' - r11 = dank_mids._web3.formatters.globals :: static - r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) - if is_error(r12) goto L55 (error at :3) else goto L5 -L5: - eth_typing = r12 :: module - dec_ref r12 - r13 = ('apply_formatter_at_index',) - r14 = 'faster_eth_utils.curried' - r15 = dank_mids._web3.formatters.globals :: static - r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) - if is_error(r16) goto L55 (error at :4) else goto L6 -L6: - faster_eth_utils.curried = r16 :: module - dec_ref r16 - r17 = ('compose',) - r18 = 'faster_eth_utils.toolz' - r19 = dank_mids._web3.formatters.globals :: static - r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) - if is_error(r20) goto L55 (error at :5) else goto L7 -L7: - faster_eth_utils.toolz = r20 :: module - dec_ref r20 - r21 = ('ERROR_FORMATTERS', 'METHOD_NORMALIZERS', 'NULL_RESULT_FORMATTERS', 'PYTHONIC_REQUEST_FORMATTERS', 'STANDARD_NORMALIZERS') - r22 = 'web3._utils.method_formatters' - r23 = dank_mids._web3.formatters.globals :: static - r24 = CPyImport_ImportFromMany(r22, r21, r21, r23) - if is_error(r24) goto L55 (error at :6) else goto L8 -L8: - web3._utils.method_formatters = r24 :: module - dec_ref r24 - r25 = ('RPC_ABIS', 'apply_abi_formatters_to_dict') - r26 = 'web3._utils.rpc_abi' - r27 = dank_mids._web3.formatters.globals :: static - r28 = CPyImport_ImportFromMany(r26, r25, r25, r27) - if is_error(r28) goto L55 (error at :13) else goto L9 -L9: - web3._utils.rpc_abi = r28 :: module - dec_ref r28 - r29 = ('Formatters', 'RPCEndpoint', 'RPCResponse') - r30 = 'web3.types' - r31 = dank_mids._web3.formatters.globals :: static - r32 = CPyImport_ImportFromMany(r30, r29, r29, r31) - if is_error(r32) goto L55 (error at :14) else goto L10 -L10: - web3.types = r32 :: module - dec_ref r32 - r33 = ('get_formatter',) - r34 = 'dank_mids._web3.abi' - r35 = dank_mids._web3.formatters.globals :: static - r36 = CPyImport_ImportFromMany(r34, r33, r33, r35) - if is_error(r36) goto L55 (error at :17) else goto L11 -L11: - dank_mids._web3.abi = r36 :: module - dec_ref r36 - r37 = '_T' - r38 = dank_mids._web3.formatters.globals :: static - r39 = 'TypeVar' - r40 = CPyDict_GetItem(r38, r39) - if is_error(r40) goto L55 (error at :20) else goto L12 -L12: - r41 = [r37] - r42 = load_address r41 - r43 = PyObject_Vectorcall(r40, r42, 1, 0) - dec_ref r40 - if is_error(r43) goto L55 (error at :20) else goto L13 -L13: - r44 = dank_mids._web3.formatters.globals :: static - r45 = '_T' - r46 = CPyDict_SetItem(r44, r45, r43) - dec_ref r43 - r47 = r46 >= 0 :: signed - if not r47 goto L55 (error at :20) else goto L14 :: bool -L14: - r48 = dank_mids._web3.formatters.globals :: static - r49 = 'STANDARD_NORMALIZERS' - r50 = CPyDict_GetItem(r48, r49) - if is_error(r50) goto L55 (error at :42) else goto L15 -L15: - r51 = dank_mids._web3.formatters.globals :: static - r52 = 'RPC_ABIS' - r53 = CPyDict_GetItem(r51, r52) - if is_error(r53) goto L56 (error at :42) else goto L16 -L16: - r54 = cast(dict, r53) - if is_error(r54) goto L56 (error at :42) else goto L17 -L17: - r55 = abi_request_formatters(r50, r54) - dec_ref r50 - dec_ref r54 - if is_error(r55) goto L55 (error at :42) else goto L18 -L18: - r56 = CPyDict_FromAny(r55) - dec_ref r55 - if is_error(r56) goto L55 (error at :41) else goto L19 -L19: - dank_mids._web3.formatters.ABI_REQUEST_FORMATTERS = r56 :: static - r57 = dank_mids._web3.formatters.globals :: static - r58 = 'ABI_REQUEST_FORMATTERS' - r59 = CPyDict_SetItem(r57, r58, r56) - dec_ref r56 - r60 = r59 >= 0 :: signed - if not r60 goto L55 (error at :41) else goto L20 :: bool -L20: - r61 = dank_mids._web3.formatters.ABI_REQUEST_FORMATTERS :: static - if is_error(r61) goto L21 else goto L23 + r24 = CPy_GetExcValue() + r25 = dank_mids.stats.logger :: static + if is_error(r25) goto L51 else goto L23 L21: - r62 = raise NameError('value for final name "ABI_REQUEST_FORMATTERS" was not set') - if not r62 goto L55 (error at :46) else goto L22 :: bool + r26 = raise NameError('value for final name "logger" was not set') + if not r26 goto L38 (error at push_envs:577) else goto L52 :: bool L22: unreachable L23: - r63 = dank_mids._web3.formatters.globals :: static - r64 = 'METHOD_NORMALIZERS' - r65 = CPyDict_GetItem(r63, r64) - if is_error(r65) goto L55 (error at :51) else goto L24 + r27 = 'Unable to set sentry tag ' + r28 = PyObject_Str(r9) + dec_ref r9 + if is_error(r28) goto L53 (error at push_envs:578) else goto L24 L24: - r66 = dank_mids._web3.formatters.globals :: static - r67 = 'PYTHONIC_REQUEST_FORMATTERS' - r68 = CPyDict_GetItem(r66, r67) - if is_error(r68) goto L57 (error at :52) else goto L25 + r29 = ' to ' + r30 = PyObject_Str(r11) + dec_ref r11 + if is_error(r30) goto L54 (error at push_envs:578) else goto L25 L25: - inc_ref r61 - r69 = (r61, r65, r68) - dank_mids._web3.formatters.REQUEST_FORMATTER_MAPS = r69 :: static - r70 = dank_mids._web3.formatters.globals :: static - r71 = 'REQUEST_FORMATTER_MAPS' - r72 = box(tuple[object, object, object], r69) - r73 = CPyDict_SetItem(r70, r71, r72) - dec_ref r72 - r74 = r73 >= 0 :: signed - if not r74 goto L55 (error at :45) else goto L26 :: bool + r31 = '. See ' + r32 = '__class__' + r33 = CPyObject_GetAttr(r24, r32) + if is_error(r33) goto L55 (error at push_envs:578) else goto L26 L26: - r75 = PyDict_New() - if is_error(r75) goto L55 (error at :55) else goto L27 + r34 = CPy_GetName(r33) + dec_ref r33 + if is_error(r34) goto L55 (error at push_envs:578) else goto L27 L27: - dank_mids._web3.formatters._request_formatters = r75 :: static - r76 = dank_mids._web3.formatters.globals :: static - r77 = '_request_formatters' - r78 = CPyDict_SetItem(r76, r77, r75) - dec_ref r75 - r79 = r78 >= 0 :: signed - if not r79 goto L55 (error at :55) else goto L28 :: bool + r35 = cast(str, r34) + if is_error(r35) goto L55 (error at push_envs:578) else goto L28 L28: - r80 = dank_mids._web3.formatters.globals :: static - r81 = 'Callable' - r82 = CPyDict_GetItem(r80, r81) - if is_error(r82) goto L55 (error at :75) else goto L29 + r36 = ' below:' + r37 = CPyStr_Build(7, r27, r28, r29, r30, r31, r35, r36) + dec_ref r28 + dec_ref r30 + dec_ref r35 + if is_error(r37) goto L56 (error at push_envs:578) else goto L29 L29: - r83 = dank_mids._web3.formatters.globals :: static - r84 = 'RPCResponse' - r85 = CPyDict_GetItem(r83, r84) - if is_error(r85) goto L58 (error at :75) else goto L30 + r38 = 'warning' + r39 = [r25, r37] + r40 = load_address r39 + r41 = PyObject_VectorcallMethod(r38, r40, 9223372036854775810, 0) + if is_error(r41) goto L57 (error at push_envs:577) else goto L58 L30: - r86 = PyList_New(1) - if is_error(r86) goto L59 (error at :75) else goto L31 + dec_ref r37 + r42 = dank_mids.stats.logger :: static + if is_error(r42) goto L59 else goto L33 L31: - r87 = get_element_ptr r86 ob_item :: PyListObject - r88 = load_mem r87 :: ptr* - set_mem r88, r85 :: builtins.object* - r89 = dank_mids._web3.formatters.globals :: static - r90 = 'Any' - r91 = CPyDict_GetItem(r89, r90) - if is_error(r91) goto L60 (error at :75) else goto L32 + r43 = raise NameError('value for final name "logger" was not set') + if not r43 goto L38 (error at push_envs:580) else goto L60 :: bool L32: - r92 = (r86, r91) - r93 = box(tuple[list, object], r92) - r94 = PyObject_GetItem(r82, r93) - dec_ref r82 - dec_ref r93 - if is_error(r94) goto L55 (error at :75) else goto L33 + unreachable L33: - r95 = dank_mids._web3.formatters.globals :: static - r96 = 'SuccessFormatter' - r97 = CPyDict_SetItem(r95, r96, r94) - dec_ref r94 - r98 = r97 >= 0 :: signed - if not r98 goto L55 (error at :75) else goto L34 :: bool + r44 = 'info' + r45 = box(bool, 1) + r46 = [r42, r24, r45] + r47 = load_address r46 + r48 = ('exc_info',) + r49 = PyObject_VectorcallMethod(r44, r47, 9223372036854775810, r48) + if is_error(r49) goto L56 (error at push_envs:580) else goto L61 L34: - r99 = dank_mids._web3.formatters.globals :: static - r100 = 'Callable' - r101 = CPyDict_GetItem(r99, r100) - if is_error(r101) goto L55 (error at :76) else goto L35 + dec_ref r24 + goto L37 L35: - r102 = dank_mids._web3.formatters.globals :: static - r103 = 'RPCResponse' - r104 = CPyDict_GetItem(r102, r103) - if is_error(r104) goto L61 (error at :76) else goto L36 + CPy_Reraise() + if not 0 goto L38 else goto L62 :: bool L36: - r105 = PyList_New(1) - if is_error(r105) goto L62 (error at :76) else goto L37 + unreachable L37: - r106 = get_element_ptr r105 ob_item :: PyListObject - r107 = load_mem r106 :: ptr* - set_mem r107, r104 :: builtins.object* - r108 = dank_mids._web3.formatters.globals :: static - r109 = 'Any' - r110 = CPyDict_GetItem(r108, r109) - if is_error(r110) goto L63 (error at :76) else goto L38 + CPy_RestoreExcInfo(r19) + dec_ref r19 + goto L5 L38: - r111 = (r105, r110) - r112 = box(tuple[list, object], r111) - r113 = PyObject_GetItem(r101, r112) - dec_ref r101 - dec_ref r112 - if is_error(r113) goto L55 (error at :76) else goto L39 + CPy_RestoreExcInfo(r19) + dec_ref r19 + r50 = CPy_KeepPropagating() + if not r50 goto L42 else goto L39 :: bool L39: - r114 = dank_mids._web3.formatters.globals :: static - r115 = 'ErrorFormatter' - r116 = CPyDict_SetItem(r114, r115, r113) - dec_ref r113 - r117 = r116 >= 0 :: signed - if not r117 goto L55 (error at :76) else goto L40 :: bool + unreachable L40: - r118 = dank_mids._web3.formatters.globals :: static - r119 = 'Callable' - r120 = CPyDict_GetItem(r118, r119) - if is_error(r120) goto L55 (error at :77) else goto L41 + r51 = CPy_NoErrOccurred() + if not r51 goto L42 (error at push_envs:573) else goto L41 :: bool L41: - r121 = dank_mids._web3.formatters.globals :: static - r122 = 'RPCResponse' - r123 = CPyDict_GetItem(r121, r122) - if is_error(r123) goto L64 (error at :77) else goto L42 + return 1 L42: - r124 = PyList_New(1) - if is_error(r124) goto L65 (error at :77) else goto L43 + r52 = :: None + return r52 L43: - r125 = get_element_ptr r124 ob_item :: PyListObject - r126 = load_mem r125 :: ptr* - set_mem r126, r123 :: builtins.object* - r127 = dank_mids._web3.formatters.globals :: static - r128 = 'Any' - r129 = CPyDict_GetItem(r127, r128) - if is_error(r129) goto L66 (error at :77) else goto L44 + dec_ref r6 + goto L40 L44: - r130 = (r124, r129) - r131 = box(tuple[list, object], r130) - r132 = PyObject_GetItem(r120, r131) - dec_ref r120 - dec_ref r131 - if is_error(r132) goto L55 (error at :77) else goto L45 + dec_ref r6 + goto L42 L45: - r133 = dank_mids._web3.formatters.globals :: static - r134 = 'NullFormatter' - r135 = CPyDict_SetItem(r133, r134, r132) - dec_ref r132 - r136 = r135 >= 0 :: signed - if not r136 goto L55 (error at :77) else goto L46 :: bool + dec_ref r6 + dec_ref r8 + goto L8 L46: - r137 = dank_mids._web3.formatters.globals :: static - r138 = 'Tuple' - r139 = CPyDict_GetItem(r137, r138) - if is_error(r139) goto L55 (error at :79) else goto L47 + dec_ref r6 + dec_ref r8 + dec_ref r9 + goto L11 L47: - r140 = dank_mids._web3.formatters.globals :: static - r141 = 'SuccessFormatter' - r142 = CPyDict_GetItem(r140, r141) - if is_error(r142) goto L67 (error at :79) else goto L48 + dec_ref r6 + dec_ref r9 + dec_ref r11 + dec_ref r13 + goto L14 L48: - r143 = dank_mids._web3.formatters.globals :: static - r144 = 'ErrorFormatter' - r145 = CPyDict_GetItem(r143, r144) - if is_error(r145) goto L68 (error at :79) else goto L49 + dec_ref r18 + goto L17 L49: - r146 = dank_mids._web3.formatters.globals :: static - r147 = 'NullFormatter' - r148 = CPyDict_GetItem(r146, r147) - if is_error(r148) goto L69 (error at :79) else goto L50 + dec_ref r6 + dec_ref r9 + dec_ref r11 + goto L38 L50: - r149 = (r142, r145, r148) - r150 = box(tuple[object, object, object], r149) - r151 = PyObject_GetItem(r139, r150) - dec_ref r139 - dec_ref r150 - if is_error(r151) goto L55 (error at :79) else goto L51 + dec_ref r6 + dec_ref r9 + dec_ref r11 + goto L35 L51: - r152 = dank_mids._web3.formatters.globals :: static - r153 = 'ResponseFormatters' - r154 = CPyDict_SetItem(r152, r153, r151) - dec_ref r151 - r155 = r154 >= 0 :: signed - if not r155 goto L55 (error at :79) else goto L52 :: bool + dec_ref r6 + dec_ref r9 + dec_ref r11 + dec_ref r24 + goto L21 L52: - r156 = PyDict_New() - if is_error(r156) goto L55 (error at :81) else goto L53 + dec_ref r19 + goto L22 L53: - dank_mids._web3.formatters._response_formatters = r156 :: static - r157 = dank_mids._web3.formatters.globals :: static - r158 = '_response_formatters' - r159 = CPyDict_SetItem(r157, r158, r156) - dec_ref r156 - r160 = r159 >= 0 :: signed - if not r160 goto L55 (error at :81) else goto L54 :: bool + dec_ref r6 + dec_ref r11 + dec_ref r24 + goto L38 L54: - return 1 + dec_ref r6 + dec_ref r24 + dec_ref r28 + goto L38 L55: - r161 = :: None - return r161 + dec_ref r6 + dec_ref r24 + dec_ref r28 + dec_ref r30 + goto L38 L56: - dec_ref r50 - goto L55 + dec_ref r6 + dec_ref r24 + goto L38 L57: - dec_ref r65 - goto L55 + dec_ref r6 + dec_ref r24 + dec_ref r37 + goto L38 L58: - dec_ref r82 - goto L55 + dec_ref r41 + goto L30 L59: - dec_ref r82 - dec_ref r85 - goto L55 + dec_ref r6 + dec_ref r24 + goto L31 L60: - dec_ref r82 - dec_ref r86 - goto L55 + dec_ref r19 + goto L32 L61: - dec_ref r101 - goto L55 + dec_ref r49 + goto L34 L62: - dec_ref r101 - dec_ref r104 - goto L55 -L63: - dec_ref r101 - dec_ref r105 - goto L55 -L64: - dec_ref r120 - goto L55 -L65: - dec_ref r120 - dec_ref r123 - goto L55 -L66: - dec_ref r120 - dec_ref r124 - goto L55 -L67: - dec_ref r139 - goto L55 -L68: - dec_ref r139 - dec_ref r142 - goto L55 -L69: - dec_ref r139 - dec_ref r142 - dec_ref r145 - goto L55 + dec_ref r19 + goto L36 -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_gen___23.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 - type, value, traceback, arg :: object - stop_iter_ptr :: object_ptr - r0, r1 :: object - r2 :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_env - r3 :: i32 - 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 +def _SentryExporter.__mypyc_defaults_setup(__mypyc_self__): + __mypyc_self__ :: dank_mids.stats._SentryExporter + r0, r1, r2, r3, r4, r5, r6, r7, r8, r9 :: str + r10 :: dict + r11, r12 :: str + r13, r14 :: dict + r15 :: str r16 :: object r17 :: str r18 :: object - r19 :: bit - r20 :: object - r21 :: bool - r22 :: object - r23 :: str - r24 :: bool + r19 :: dict + r20 :: str + r21 :: object + r22 :: str + r23 :: object + r24 :: dict 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 :: str - r58 :: int - r59 :: bool - r60 :: str - r61 :: int - r62 :: object - r63, r64, r65 :: str - r66 :: int - r67 :: object - r68, r69 :: str - r70 :: object - r71 :: str - r72 :: object - r73 :: object[1] - r74 :: object_ptr - r75 :: object - r76 :: tuple[object, object, object] - r77 :: bit - r78 :: str - r79 :: union[int, str, bytes, None] - r80 :: str - r81 :: union[int, None] - r82 :: str - r83 :: union[dict, None] - r84 :: dict - r85 :: bool + r29 :: bool +L0: + r0 = 'active_eth_calls' + r1 = 'count_active_brownie_calls' + r2 = 'queued_eth_calls' + r3 = 'count_queued_brownie_calls' + r4 = 'encoder_queue' + r5 = 'encoder_queue_len' + r6 = 'decoder_queue' + r7 = 'decoder_queue_len' + r8 = 'loop_time' + r9 = 'avg_loop_time' + r10 = CPyDict_Build(5, r0, r1, r2, r3, r4, r5, r6, r7, r8, r9) + if is_error(r10) goto L9 else goto L1 +L1: + __mypyc_self__.metrics = r10 + r11 = 'loop_time' + r12 = 'seconds' + r13 = CPyDict_Build(1, r11, r12) + if is_error(r13) goto L9 else goto L2 +L2: + __mypyc_self__.units = r13 + r14 = dank_mids.stats.globals :: static + r15 = '_nocompile' + r16 = CPyDict_GetItem(r14, r15) + if is_error(r16) goto L9 else goto L3 +L3: + r17 = 'set_tag' + r18 = CPyObject_GetAttr(r16, r17) + dec_ref r16 + if is_error(r18) goto L9 else goto L4 +L4: + __mypyc_self__.set_tag = r18 + r19 = dank_mids.stats.globals :: static + r20 = '_nocompile' + r21 = CPyDict_GetItem(r19, r20) + if is_error(r21) goto L9 else goto L5 +L5: + r22 = 'set_measurement' + r23 = CPyObject_GetAttr(r21, r22) + dec_ref r21 + if is_error(r23) goto L9 else goto L6 +L6: + __mypyc_self__.set_measurement = r23 + r24 = dank_mids.stats.globals :: static + r25 = '_nocompile' + r26 = CPyDict_GetItem(r24, r25) + if is_error(r26) goto L9 else goto L7 +L7: + r27 = 'exc' + r28 = CPyObject_GetAttr(r26, r27) + dec_ref r26 + if is_error(r28) goto L9 else goto L8 +L8: + __mypyc_self__._exc = r28 + return 1 +L9: + r29 = :: bool + return r29 + +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 :: dict + r26, r27 :: object + r28 :: str + r29 :: dict + r30, r31 :: object + r32 :: str + r33 :: dict + r34, r35 :: object + r36 :: str + r37 :: dict + r38 :: object + r39 :: object_ptr + r40 :: object_ptr[1] + r41 :: c_ptr + r42 :: native_int[1] + r43 :: c_ptr + r44 :: object + r45 :: dict + r46, r47 :: str + r48 :: bit + r49 :: object + r50 :: str + r51 :: dict + r52, r53 :: object + r54 :: str + r55 :: dict + r56, r57 :: object + r58 :: str + r59 :: dict + r60, r61, r62 :: object + r63 :: str + r64 :: dict + r65, r66 :: object + r67 :: str + r68 :: dict + r69, r70 :: object + r71 :: dict + r72 :: str + r73 :: i32 + r74 :: bit + r75 :: str + r76 :: dict + r77 :: str + r78 :: object + r79 :: object[1] + r80 :: object_ptr + r81 :: object + r82 :: dict + r83 :: str + r84 :: i32 + r85 :: bit r86 :: dict - r87 :: bool - r88 :: dict - r89, r90 :: bool + r87 :: str + r88 :: object + r89 :: i32 + r90 :: bit r91 :: dict - r92 :: native_int - r93 :: bool - r94 :: object - r95 :: bool - r96 :: object - r97 :: short_int - r98 :: tuple[bool, short_int, object, object] - r99 :: short_int - r100, r101 :: bool - r102, r103 :: object - r104 :: str - r105 :: union[int, str, bytes, None, dict] - r106, r107 :: bool - r108 :: union[int, str, bytes, None, dict] - r109 :: object - r110 :: bit - r111 :: str - r112 :: union[int, str, bytes, None, dict] - r113 :: union[int, str, bytes, dict] - r114 :: dict - r115 :: i32 - r116 :: bit - r117 :: dict - r118 :: native_int - r119, r120 :: bit - r121 :: dict + r92 :: str + r93 :: object + r94 :: i32 + r95 :: bit + r96 :: dict + r97 :: str + r98 :: object + r99 :: i32 + r100 :: bit + r101 :: dict + r102 :: str + r103 :: object + r104 :: dict + r105 :: str + r106 :: i32 + r107 :: bit + r108 :: dict + r109 :: str + r110 :: object + r111 :: dict + r112 :: str + r113 :: i32 + r114 :: bit + r115 :: object + r116 :: str + r117 :: object + r118 :: tuple + r119 :: str + r120, r121 :: object r122 :: bool - r123 :: object - r124 :: tuple - r125 :: dict - r126 :: str - r127 :: object - r128 :: dict - r129, r130 :: object - r131 :: bool - r132, r133, r134, r135, r136 :: object - r137 :: bool - r138 :: object - r139 :: bool - r140 :: object + r123, r124, r125 :: str + r126 :: tuple + r127 :: i32 + r128 :: bit + r129 :: dict + r130 :: str + r131 :: i32 + r132 :: bit + r133 :: dict + r134 :: str + r135, r136, r137 :: object + r138 :: dict + r139 :: str + r140 :: i32 r141 :: bit - r142 :: tuple[object, object, object] - r143 :: bool - r144 :: object_ptr - r145 :: object + r142 :: object + r143 :: str + r144, r145 :: object r146 :: bool - r147, r148, r149 :: tuple[object, object, object] - r150 :: bit - r151, r152, r153 :: object - r154 :: bool - r155, r156 :: bit - r157 :: bool - r158 :: object + r147, r148, r149, r150, r151, r152 :: str + r153 :: tuple + r154 :: i32 + r155 :: bit + r156 :: dict + r157 :: str + r158 :: i32 + r159 :: bit + r160 :: object + r161 :: str + r162, r163 :: object + r164 :: bool + r165 :: str + r166 :: tuple + r167 :: i32 + r168 :: bit + r169 :: dict + r170 :: str + r171 :: i32 + r172 :: bit + r173 :: object + r174 :: str + r175, r176 :: object + r177 :: bool + r178, r179, r180, r181, r182, r183 :: str + r184 :: tuple + r185 :: i32 + r186 :: bit + r187 :: dict + r188 :: str + r189 :: i32 + r190 :: bit + r191 :: object + r192, r193, r194, r195, r196, r197, r198, r199, r200, r201 :: str + r202 :: dict + r203 :: str + r204 :: i32 + r205 :: bit + r206 :: object + r207, r208 :: str + r209 :: dict + r210 :: str + r211 :: i32 + r212 :: bit + r213 :: object + r214 :: dict + r215 :: str + r216 :: object + r217 :: str + r218 :: object + r219 :: str + r220 :: i32 + r221 :: bit + r222 :: object + r223 :: dict + r224 :: str + r225 :: object + r226 :: str + r227 :: object + r228 :: str + r229 :: i32 + r230 :: bit + r231 :: object + r232 :: dict + r233 :: str + r234 :: object + r235 :: str + r236 :: object + r237 :: str + r238 :: i32 + r239 :: bit + r240 :: dict + r241 :: str + r242 :: object + r243 :: str + r244 :: tuple + r245 :: dict + r246 :: dank_mids.stats._StatsLogger + r247 :: dict + r248 :: str + r249 :: i32 + r250 :: bit + r251 :: dank_mids.stats._StatsLogger + r252 :: bool + r253 :: str + r254 :: object + r255 :: dict + r256 :: str + r257 :: i32 + r258 :: bit + r259 :: dank_mids.stats._StatsLogger + r260 :: bool + r261 :: str + r262 :: object + r263 :: dict + r264 :: str + r265 :: i32 + r266 :: bit + r267 :: dank_mids.stats._Collector + r268 :: dict + r269 :: str + r270 :: i32 + r271 :: bit + r272 :: dank_mids.stats._SentryExporter + r273 :: dict + r274 :: str + r275 :: i32 + r276 :: bit + r277 :: None L0: - r0 = :: object - r1 = r0 - r2 = __mypyc_self__.__mypyc_env__ - if is_error(r2) goto L142 (error at coroutine:23) else goto L1 + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool L1: - r3 = r2.__mypyc_next_label__ - r4 = r2.__mypyc_env__ - if is_error(r4) goto L143 (error at coroutine:23) else goto L137 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L86 (error at :-1) else goto L2 L2: - r5 = load_address _Py_NoneStruct - r6 = type != r5 - if r6 goto L144 else goto L5 :: bool + builtins = r4 :: module + dec_ref r4 L3: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L141 (error at coroutine:23) else goto L4 :: bool + r5 = load_address logging :: module + r6 = [r5] + r7 = load_address r6 + r8 = [19] + r9 = load_address r8 + r10 = (('logging', 'logging', 'logging'),) + r11 = dank_mids.stats.globals :: static + r12 = 'dank_mids\\stats\\__init__.py' + r13 = '' + r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) + if not r14 goto L86 else goto L4 :: bool L4: - unreachable + r15 = ('create_task',) + r16 = 'asyncio' + r17 = dank_mids.stats.globals :: static + r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) + if is_error(r18) goto L86 (error at :20) else goto L5 L5: - r7 = r2.__mypyc_generator_attribute__self - if is_error(r7) goto L9 (error at coroutine:44) else goto L6 + asyncio = r18 :: module + dec_ref r18 + r19 = ('defaultdict', 'deque') + r20 = 'collections' + r21 = dank_mids.stats.globals :: static + r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) + if is_error(r22) goto L86 (error at :21) else goto L6 L6: - r8 = r2.__mypyc_generator_attribute__args - if is_error(r8) goto L145 (error at coroutine:44) else goto L7 + collections = r22 :: module + dec_ref r22 + r23 = ('ProcessPoolExecutor',) + r24 = 'concurrent.futures' + r25 = dank_mids.stats.globals :: static + r26 = CPyImport_ImportFromMany(r24, r23, r23, r25) + if is_error(r26) goto L86 (error at :22) else goto L7 L7: - r9 = '_get_fn_from_args' - r10 = [r7, r8] - r11 = load_address r10 - r12 = PyObject_VectorcallMethod(r9, r11, 9223372036854775810, 0) - if is_error(r12) goto L146 (error at coroutine:44) else goto L8 + concurrent.futures = r26 :: module + dec_ref r26 + r27 = ('deepcopy',) + r28 = 'copy' + r29 = dank_mids.stats.globals :: static + r30 = CPyImport_ImportFromMany(r28, r27, r27, r29) + if is_error(r30) goto L86 (error at :23) else goto L8 L8: - dec_ref r7 - dec_ref r8 - r2.__mypyc_generator_attribute__fn = r12; r13 = is_error - if not r13 goto L9 (error at coroutine:44) else goto L147 :: bool -L9: - r14 = CPy_CatchError() - r2.__mypyc_temp__0 = r14; r15 = is_error - if not r15 goto L148 (error at coroutine:-1) else goto L10 :: bool + copy = r30 :: module + dec_ref r30 + r31 = ('time',) + r32 = 'time' + r33 = dank_mids.stats.globals :: static + r34 = CPyImport_ImportFromMany(r32, r31, r31, r33) + if is_error(r34) goto L86 (error at :24) else goto L9 +L9: + time = r34 :: module + dec_ref r34 + r35 = ('TYPE_CHECKING', 'Any', 'Callable', 'DefaultDict', 'Deque', 'Final', 'Iterable', 'Set', 'Tuple', 'Type', 'TypeVar', 'final') + r36 = 'typing' + r37 = dank_mids.stats.globals :: static + r38 = CPyImport_ImportFromMany(r36, r35, r35, r37) + if is_error(r38) goto L86 (error at :25) else goto L10 L10: - r16 = builtins :: module - r17 = 'ValueError' - r18 = CPyObject_GetAttr(r16, r17) - if is_error(r18) goto L148 (error at coroutine:45) else goto L11 + typing = r38 :: module + dec_ref r38 + r39 = load_address msgspec :: module + r40 = [r39] + r41 = load_address r40 + r42 = [40] + r43 = load_address r42 + r44 = (('msgspec', 'msgspec', 'msgspec'),) + r45 = dank_mids.stats.globals :: static + r46 = 'dank_mids\\stats\\__init__.py' + r47 = '' + r48 = CPyImport_ImportMany(r44, r41, r45, r46, r47, r43) + if not r48 goto L86 else goto L11 :: bool L11: - r19 = CPy_ExceptionMatches(r18) - dec_ref r18 - if r19 goto L12 else goto L149 :: bool + r49 = ('sleep0',) + r50 = 'a_sync.asyncio' + r51 = dank_mids.stats.globals :: static + r52 = CPyImport_ImportFromMany(r50, r49, r49, r51) + if is_error(r52) goto L86 (error at :41) else goto L12 L12: - r20 = CPy_GetExcValue() - r2.__mypyc_generator_attribute__e = r20; r21 = is_error - if not r21 goto L148 (error at coroutine:45) else goto L13 :: bool + a_sync.asyncio = r52 :: module + dec_ref r52 + r53 = ('_ENVIRONMENT_VARIABLES_SET_BY_USER',) + r54 = 'typed_envs.registry' + r55 = dank_mids.stats.globals :: static + r56 = CPyImport_ImportFromMany(r54, r53, r53, r55) + if is_error(r56) goto L86 (error at :42) else goto L13 L13: - r22 = r2.__mypyc_generator_attribute__e - if is_error(r22) goto L148 (error at coroutine:46) else goto L14 + typed_envs.registry = r56 :: module + dec_ref r56 + r57 = ('RPCEndpoint',) + r58 = 'web3.types' + r59 = dank_mids.stats.globals :: static + r60 = CPyImport_ImportFromMany(r58, r57, r57, r59) + if is_error(r60) goto L86 (error at :43) else goto L14 L14: - r23 = PyObject_Str(r22) - dec_ref r22 - if is_error(r23) goto L148 (error at coroutine:46) else goto L15 + web3.types = r60 :: module + dec_ref r60 + r61 = ('ENVIRONMENT_VARIABLES',) + r62 = ('ENVS',) + r63 = 'dank_mids' + r64 = dank_mids.stats.globals :: static + r65 = CPyImport_ImportFromMany(r63, r61, r62, r64) + if is_error(r65) goto L86 (error at :45) else goto L15 L15: - r2.__mypyc_generator_attribute__exc_str = r23; r24 = is_error - if not r24 goto L148 (error at coroutine:46) else goto L16 :: bool + dank_mids = r65 :: module + dec_ref r65 + r66 = ('_nocompile',) + r67 = 'dank_mids.stats' + r68 = dank_mids.stats.globals :: static + r69 = CPyImport_ImportFromMany(r67, r66, r66, r68) + if is_error(r69) goto L86 (error at :46) else goto L16 L16: - r25 = "Contract has more than one function '." - r26 = r4.call - if is_error(r26) goto L148 (error at coroutine:48) else goto L17 + dank_mids.stats = r69 :: module + dec_ref r69 + if 0 goto L17 else goto L17 :: bool L17: - r27 = '_name' - r28 = CPyObject_GetAttr(r26, r27) - dec_ref r26 - if is_error(r28) goto L148 (error at coroutine:48) else goto L18 + r70 = load_address PyLong_Type + r71 = dank_mids.stats.globals :: static + r72 = '_LogLevel' + r73 = CPyDict_SetItem(r71, r72, r70) + r74 = r73 >= 0 :: signed + if not r74 goto L86 (error at :52) else goto L18 :: bool L18: - r29 = PyObject_Str(r28) - dec_ref r28 - if is_error(r29) goto L148 (error at coroutine:48) else goto L19 + r75 = 'T' + r76 = dank_mids.stats.globals :: static + r77 = 'TypeVar' + r78 = CPyDict_GetItem(r76, r77) + if is_error(r78) goto L86 (error at :54) else goto L19 L19: - r30 = CPyStr_Build(2, r25, r29) - dec_ref r29 - if is_error(r30) goto L148 (error at coroutine:48) else goto L20 + r79 = [r75] + r80 = load_address r79 + r81 = PyObject_Vectorcall(r78, r80, 1, 0) + dec_ref r78 + if is_error(r81) goto L86 (error at :54) else goto L20 L20: - r31 = 'You must explicitly declare which function you are calling, e.g. .' - r32 = r4.call - dec_ref r4 - if is_error(r32) goto L150 (error at coroutine:49) else goto L21 + r82 = dank_mids.stats.globals :: static + r83 = 'T' + r84 = CPyDict_SetItem(r82, r83, r81) + dec_ref r81 + r85 = r84 >= 0 :: signed + if not r85 goto L86 (error at :54) else goto L21 :: bool L21: - r33 = '_name' - r34 = CPyObject_GetAttr(r32, r33) - dec_ref r32 - if is_error(r34) goto L150 (error at coroutine:49) else goto L22 + r86 = dank_mids.stats.globals :: static + r87 = 'STATS' + r88 = object 13 + r89 = CPyDict_SetItem(r86, r87, r88) + r90 = r89 >= 0 :: signed + if not r90 goto L86 (error at :58) else goto L22 :: bool L22: - r35 = PyObject_Str(r34) - dec_ref r34 - if is_error(r35) goto L150 (error at coroutine:49) else goto L23 + r91 = dank_mids.stats.globals :: static + r92 = 'DEVHINT' + r93 = object 15 + r94 = CPyDict_SetItem(r91, r92, r93) + r95 = r94 >= 0 :: signed + if not r95 goto L86 (error at :61) else goto L23 :: bool L23: - r36 = CPyStr_Build(2, r31, r35) - dec_ref r35 - if is_error(r36) goto L150 (error at coroutine:49) else goto L24 + r96 = dank_mids.stats.globals :: static + r97 = 'COLLECT_STATS' + r98 = box(bool, 0) + r99 = CPyDict_SetItem(r96, r97, r98) + r100 = r99 >= 0 :: signed + if not r100 goto L86 (error at :64) else goto L24 :: bool L24: - r37 = (r30, r36) - r2.__mypyc_generator_attribute__match_on = r37; r38 = is_error - if not r38 goto L60 (error at coroutine:47) else goto L25 :: bool + r101 = dank_mids.stats.globals :: static + r102 = '_ENVIRONMENT_VARIABLES_SET_BY_USER' + r103 = CPyDict_GetItem(r101, r102) + if is_error(r103) goto L86 (error at :67) else goto L25 L25: - r39 = 1 - r40 = r2.__mypyc_generator_attribute__match_on - if is_error(r40) goto L60 (error at coroutine:51) else goto L26 + dank_mids.stats._ENVS = r103 :: static + r104 = dank_mids.stats.globals :: static + r105 = '_ENVS' + r106 = CPyDict_SetItem(r104, r105, r103) + dec_ref r103 + r107 = r106 >= 0 :: signed + if not r107 goto L86 (error at :67) else goto L26 :: bool L26: - inc_ref r40 - r41 = box(tuple[str, str], r40) - r42 = PyObject_GetIter(r41) - dec_ref r41 - if is_error(r42) goto L151 (error at coroutine:51) else goto L27 + r108 = dank_mids.stats.globals :: static + r109 = 'sleep0' + r110 = CPyDict_GetItem(r108, r109) + if is_error(r110) goto L86 (error at :69) else goto L27 L27: - r2.__mypyc_temp__1 = r40; r43 = is_error - if not r43 goto L152 (error at coroutine:-1) else goto L28 :: bool + dank_mids.stats.yield_to_loop = r110 :: static + r111 = dank_mids.stats.globals :: static + r112 = 'yield_to_loop' + r113 = CPyDict_SetItem(r111, r112, r110) + dec_ref r110 + r114 = r113 >= 0 :: signed + if not r114 goto L86 (error at :69) else goto L28 :: bool L28: - r2.__mypyc_temp__2 = r42; r44 = is_error - if not r44 goto L60 (error at coroutine:-1) else goto L29 :: bool + r115 = logging :: module + r116 = 'Logger' + r117 = CPyObject_GetAttr(r115, r116) + if is_error(r117) goto L86 (error at :110) else goto L29 L29: - r45 = r2.__mypyc_temp__2 - if is_error(r45) goto L60 (error at coroutine:51) else goto L30 + r118 = PyTuple_Pack(1, r117) + dec_ref r117 + if is_error(r118) goto L86 (error at :110) else goto L30 L30: - r46 = PyIter_Next(r45) - dec_ref r45 - if is_error(r46) goto L38 else goto L31 + r119 = 'dank_mids.stats' + r120 = dank_mids.stats._StatsLogger_template :: type + r121 = CPyType_FromTemplate(r120, r118, r119) + dec_ref r118 + if is_error(r121) goto L86 (error at :110) else goto L31 L31: - r47 = cast(str, r46) - if is_error(r47) goto L60 (error at coroutine:51) else goto L32 + r122 = _StatsLogger_trait_vtable_setup() + if is_error(r122) goto L87 (error at :-1) else goto L32 L32: - r2.__mypyc_generator_attribute__s = r47; r48 = is_error - if not r48 goto L60 (error at coroutine:51) else goto L33 :: bool + r123 = '__mypyc_attrs__' + r124 = '_daemon' + r125 = '__dict__' + r126 = PyTuple_Pack(2, r124, r125) + if is_error(r126) goto L87 (error at :110) else goto L33 L33: - r49 = r2.__mypyc_generator_attribute__s - if is_error(r49) goto L60 (error at coroutine:51) else goto L34 + r127 = PyObject_SetAttr(r121, r123, r126) + dec_ref r126 + r128 = r127 >= 0 :: signed + if not r128 goto L87 (error at :110) else goto L34 :: bool L34: - r50 = r2.__mypyc_generator_attribute__exc_str - if is_error(r50) goto L153 (error at coroutine:51) else goto L35 + dank_mids.stats._StatsLogger = r121 :: type + r129 = dank_mids.stats.globals :: static + r130 = '_StatsLogger' + r131 = PyDict_SetItem(r129, r130, r121) + dec_ref r121 + r132 = r131 >= 0 :: signed + if not r132 goto L86 (error at :110) else goto L35 :: bool L35: - r51 = PyUnicode_Contains(r50, r49) - dec_ref r50 - dec_ref r49 - r52 = r51 >= 0 :: signed - if not r52 goto L60 (error at coroutine:51) else goto L36 :: bool + r133 = dank_mids.stats.globals :: static + r134 = 'Deque' + r135 = CPyDict_GetItem(r133, r134) + if is_error(r135) goto L86 (error at :359) else goto L36 L36: - r53 = truncate r51: i32 to builtins.bool - r54 = r53 ^ 1 - if r54 goto L37 else goto L29 :: bool + r136 = load_address PyFloat_Type + r137 = PyObject_GetItem(r135, r136) + dec_ref r135 + if is_error(r137) goto L86 (error at :359) else goto L37 L37: - r39 = 0 - goto L39 + r138 = dank_mids.stats.globals :: static + r139 = '_Times' + r140 = CPyDict_SetItem(r138, r139, r137) + dec_ref r137 + r141 = r140 >= 0 :: signed + if not r141 goto L86 (error at :359) else goto L38 :: bool L38: - r55 = CPy_NoErrOccurred() - if not r55 goto L60 (error at coroutine:51) else goto L39 :: bool + r142 = :: object + r143 = 'dank_mids.stats' + r144 = dank_mids.stats._Collector_template :: type + r145 = CPyType_FromTemplate(r144, r142, r143) + if is_error(r145) goto L86 (error at :363) else goto L39 L39: - if r39 goto L40 else goto L56 :: bool + r146 = _Collector_trait_vtable_setup() + if is_error(r146) goto L88 (error at :-1) else goto L40 L40: - r56 = r2.__mypyc_generator_attribute__exc_str - if is_error(r56) goto L60 (error at coroutine:52) else goto L41 + r147 = '__mypyc_attrs__' + r148 = 'errd_batches' + r149 = 'durations' + r150 = 'types' + r151 = 'event_loop_times' + r152 = 'validation_errors' + r153 = PyTuple_Pack(5, r148, r149, r150, r151, r152) + if is_error(r153) goto L88 (error at :363) else goto L41 L41: - r57 = '(*args)' - r58 = CPyStr_Find(r56, r57, 0, 1) - dec_ref r56 - if is_error(r58) goto L60 (error at coroutine:52) else goto L42 + r154 = PyObject_SetAttr(r145, r147, r153) + dec_ref r153 + r155 = r154 >= 0 :: signed + if not r155 goto L88 (error at :363) else goto L42 :: bool L42: - r2.__mypyc_generator_attribute__breakpoint = r58; r59 = is_error - if not r59 goto L60 (error at coroutine:52) else goto L43 :: bool + dank_mids.stats._Collector = r145 :: type + r156 = dank_mids.stats.globals :: static + r157 = '_Collector' + r158 = PyDict_SetItem(r156, r157, r145) + dec_ref r145 + r159 = r158 >= 0 :: signed + if not r159 goto L86 (error at :363) else goto L43 :: bool L43: - r60 = r2.__mypyc_generator_attribute__exc_str - if is_error(r60) goto L60 (error at coroutine:53) else goto L44 + r160 = :: object + r161 = 'dank_mids.stats' + r162 = dank_mids.stats._Writer_template :: type + r163 = CPyType_FromTemplate(r162, r160, r161) + if is_error(r163) goto L86 (error at :482) else goto L44 L44: - r61 = r2.__mypyc_generator_attribute__breakpoint - if is_error(r61) goto L154 (error at coroutine:53) else goto L45 + r164 = _Writer_trait_vtable_setup() + if is_error(r164) goto L89 (error at :-1) else goto L45 L45: - r62 = CPyStr_GetSlice(r60, 0, r61) - dec_ref r60 - dec_ref r61 :: int - if is_error(r62) goto L60 (error at coroutine:53) else goto L46 + r165 = '__mypyc_attrs__' + r166 = CPyTuple_LoadEmptyTupleConstant() + r167 = PyObject_SetAttr(r163, r165, r166) + dec_ref r166 + r168 = r167 >= 0 :: signed + if not r168 goto L89 (error at :482) else goto L46 :: bool L46: - r63 = cast(str, r62) - if is_error(r63) goto L60 (error at coroutine:53) else goto L47 + dank_mids.stats._Writer = r163 :: type + r169 = dank_mids.stats.globals :: static + r170 = '_Writer' + r171 = PyDict_SetItem(r169, r170, r163) + dec_ref r163 + r172 = r171 >= 0 :: signed + if not r172 goto L86 (error at :482) else goto L47 :: bool L47: - r64 = '.coroutine' - r65 = r2.__mypyc_generator_attribute__exc_str - if is_error(r65) goto L155 (error at coroutine:53) else goto L48 + r173 = :: object + r174 = 'dank_mids.stats' + r175 = dank_mids.stats._SentryExporter_template :: type + r176 = CPyType_FromTemplate(r175, r173, r174) + if is_error(r176) goto L86 (error at :529) else goto L48 L48: - r66 = r2.__mypyc_generator_attribute__breakpoint - if is_error(r66) goto L156 (error at coroutine:53) else goto L49 + r177 = _SentryExporter_trait_vtable_setup() + if is_error(r177) goto L90 (error at :-1) else goto L49 L49: - r67 = CPyStr_GetSlice(r65, r66, 9223372036854775806) - dec_ref r65 - dec_ref r66 :: int - if is_error(r67) goto L155 (error at coroutine:53) else goto L50 + r178 = '__mypyc_attrs__' + r179 = 'metrics' + r180 = 'units' + r181 = 'set_tag' + r182 = 'set_measurement' + r183 = '_exc' + r184 = PyTuple_Pack(5, r179, r180, r181, r182, r183) + if is_error(r184) goto L90 (error at :529) else goto L50 L50: - r68 = cast(str, r67) - if is_error(r68) goto L155 (error at coroutine:53) else goto L51 + r185 = PyObject_SetAttr(r176, r178, r184) + dec_ref r184 + r186 = r185 >= 0 :: signed + if not r186 goto L90 (error at :529) else goto L51 :: bool L51: - r69 = CPyStr_Build(3, r63, r64, r68) - dec_ref r63 - dec_ref r68 - if is_error(r69) goto L60 (error at coroutine:53) else goto L52 + dank_mids.stats._SentryExporter = r176 :: type + r187 = dank_mids.stats.globals :: static + r188 = '_SentryExporter' + r189 = PyDict_SetItem(r187, r188, r176) + dec_ref r176 + r190 = r189 >= 0 :: signed + if not r190 goto L86 (error at :529) else goto L52 :: bool L52: - r70 = builtins :: module - r71 = 'ValueError' - r72 = CPyObject_GetAttr(r70, r71) - if is_error(r72) goto L157 (error at coroutine:53) else goto L53 + r191 = dank_mids.stats._SentryExporter :: type + r192 = 'active_eth_calls' + r193 = 'count_active_brownie_calls' + r194 = 'queued_eth_calls' + r195 = 'count_queued_brownie_calls' + r196 = 'encoder_queue' + r197 = 'encoder_queue_len' + r198 = 'decoder_queue' + r199 = 'decoder_queue_len' + r200 = 'loop_time' + r201 = 'avg_loop_time' + r202 = CPyDict_Build(5, r192, r193, r194, r195, r196, r197, r198, r199, r200, r201) + if is_error(r202) goto L86 (error at :543) else goto L53 L53: - r73 = [r69] - r74 = load_address r73 - r75 = PyObject_Vectorcall(r72, r74, 1, 0) - dec_ref r72 - if is_error(r75) goto L157 (error at coroutine:53) else goto L54 + r203 = 'metrics' + r204 = PyObject_SetAttr(r191, r203, r202) + r205 = r204 >= 0 :: signed + if not r205 goto L91 (error at :543) else goto L54 :: bool L54: - dec_ref r69 - CPy_Raise(r75) - dec_ref r75 - if not 0 goto L60 (error at coroutine:53) else goto L158 :: bool + dank_mids.stats._SentryExporter.metrics = r202 :: static + dec_ref r202 + r206 = dank_mids.stats._SentryExporter :: type + r207 = 'loop_time' + r208 = 'seconds' + r209 = CPyDict_Build(1, r207, r208) + if is_error(r209) goto L86 (error at :550) else goto L55 L55: - unreachable + r210 = 'units' + r211 = PyObject_SetAttr(r206, r210, r209) + r212 = r211 >= 0 :: signed + if not r212 goto L92 (error at :550) else goto L56 :: bool L56: - CPy_Reraise() - if not 0 goto L60 else goto L159 :: bool + dank_mids.stats._SentryExporter.units = r209 :: static + dec_ref r209 + r213 = dank_mids.stats._SentryExporter :: type + r214 = dank_mids.stats.globals :: static + r215 = '_nocompile' + r216 = CPyDict_GetItem(r214, r215) + if is_error(r216) goto L86 (error at :582) else goto L57 L57: - unreachable + r217 = 'set_tag' + r218 = CPyObject_GetAttr(r216, r217) + dec_ref r216 + if is_error(r218) goto L86 (error at :582) else goto L58 L58: - CPy_Reraise() - if not 0 goto L60 else goto L160 :: bool + r219 = 'set_tag' + r220 = PyObject_SetAttr(r213, r219, r218) + r221 = r220 >= 0 :: signed + if not r221 goto L93 (error at :582) else goto L59 :: bool L59: - unreachable + dank_mids.stats._SentryExporter.set_tag = r218 :: static + dec_ref r218 + r222 = dank_mids.stats._SentryExporter :: type + r223 = dank_mids.stats.globals :: static + r224 = '_nocompile' + r225 = CPyDict_GetItem(r223, r224) + if is_error(r225) goto L86 (error at :593) else goto L60 L60: - r76 = r2.__mypyc_temp__0 - dec_ref r2 - if is_error(r76) goto L141 (error at coroutine:-1) else goto L61 + r226 = 'set_measurement' + r227 = CPyObject_GetAttr(r225, r226) + dec_ref r225 + if is_error(r227) goto L86 (error at :593) else goto L61 L61: - CPy_RestoreExcInfo(r76) - dec_ref r76 - r77 = CPy_KeepPropagating() - if not r77 goto L141 else goto L62 :: bool + r228 = 'set_measurement' + r229 = PyObject_SetAttr(r222, r228, r227) + r230 = r229 >= 0 :: signed + if not r230 goto L94 (error at :593) else goto L62 :: bool L62: - unreachable + dank_mids.stats._SentryExporter.set_measurement = r227 :: static + dec_ref r227 + r231 = dank_mids.stats._SentryExporter :: type + r232 = dank_mids.stats.globals :: static + r233 = '_nocompile' + r234 = CPyDict_GetItem(r232, r233) + if is_error(r234) goto L86 (error at :604) else goto L63 L63: - r78 = 'block_identifier' - r79 = r2.__mypyc_generator_attribute__block_identifier - if is_error(r79) goto L161 (error at coroutine:56) else goto L64 + r235 = 'exc' + r236 = CPyObject_GetAttr(r234, r235) + dec_ref r234 + if is_error(r236) goto L86 (error at :604) else goto L64 L64: - r80 = 'decimals' - r81 = r2.__mypyc_generator_attribute__decimals - if is_error(r81) goto L162 (error at coroutine:56) else goto L65 + r237 = '_exc' + r238 = PyObject_SetAttr(r231, r237, r236) + r239 = r238 >= 0 :: signed + if not r239 goto L95 (error at :604) else goto L65 :: bool L65: - r82 = 'override' - r83 = r2.__mypyc_generator_attribute__override - if is_error(r83) goto L163 (error at coroutine:56) else goto L66 + dank_mids.stats._SentryExporter._exc = r236 :: static + dec_ref r236 + r240 = dank_mids.stats.globals :: static + r241 = '__name__' + r242 = CPyDict_GetItem(r240, r241) + if is_error(r242) goto L86 (error at :611) else goto L66 L66: - r84 = CPyDict_Build(3, r78, r79, r80, r81, r82, r83) - dec_ref r79 - dec_ref r81 - dec_ref r83 - if is_error(r84) goto L161 (error at coroutine:56) else goto L67 + r243 = cast(str, r242) + if is_error(r243) goto L86 (error at :611) else goto L67 L67: - r2.__mypyc_generator_attribute__kwargs = r84; r85 = is_error - if not r85 goto L161 (error at coroutine:56) else goto L68 :: bool + r244 = PyTuple_Pack(1, r243) + dec_ref r243 + if is_error(r244) goto L86 (error at :611) else goto L68 L68: - r86 = PyDict_New() - if is_error(r86) goto L161 (error at coroutine:57) else goto L69 + r245 = PyDict_New() + if is_error(r245) goto L96 (error at :611) else goto L69 L69: - r2.__mypyc_temp__3 = r86; r87 = is_error - if not r87 goto L161 (error at coroutine:-1) else goto L70 :: bool + r246 = _StatsLogger(r244, r245) + dec_ref r244 + dec_ref r245 + if is_error(r246) goto L86 (error at :611) else goto L70 L70: - r88 = r2.__mypyc_generator_attribute__kwargs - if is_error(r88) goto L161 (error at coroutine:57) else goto L71 + dank_mids.stats.logger = r246 :: static + r247 = dank_mids.stats.globals :: static + r248 = 'logger' + r249 = CPyDict_SetItem(r247, r248, r246) + dec_ref r246 + r250 = r249 >= 0 :: signed + if not r250 goto L86 (error at :611) else goto L71 :: bool L71: - inc_ref r88 - r2.__mypyc_temp__4 = r88; r89 = is_error - if not r89 goto L164 (error at coroutine:-1) else goto L72 :: bool + r251 = dank_mids.stats.logger :: static + if is_error(r251) goto L72 else goto L74 L72: - r2.__mypyc_temp__5 = 0; r90 = is_error - if not r90 goto L164 (error at coroutine:-1) else goto L73 :: bool + r252 = raise NameError('value for final name "logger" was not set') + if not r252 goto L86 (error at :612) else goto L73 :: bool L73: - r91 = r2.__mypyc_temp__4 - if is_error(r91) goto L164 (error at coroutine:57) else goto L74 + unreachable L74: - r92 = PyDict_Size(r91) - dec_ref r91 - r2.__mypyc_temp__6 = r92; r93 = is_error - if not r93 goto L164 (error at coroutine:-1) else goto L75 :: bool + r253 = 'stats' + r254 = CPyObject_GetAttr(r251, r253) + if is_error(r254) goto L86 (error at :612) else goto L75 L75: - r94 = CPyDict_GetItemsIter(r88) - dec_ref r88 - if is_error(r94) goto L161 (error at coroutine:57) else goto L76 + dank_mids.stats.log = r254 :: static + r255 = dank_mids.stats.globals :: static + r256 = 'log' + r257 = CPyDict_SetItem(r255, r256, r254) + dec_ref r254 + r258 = r257 >= 0 :: signed + if not r258 goto L86 (error at :612) else goto L76 :: bool L76: - r2.__mypyc_temp__7 = r94; r95 = is_error - if not r95 goto L161 (error at coroutine:-1) else goto L77 :: bool + r259 = dank_mids.stats.logger :: static + if is_error(r259) goto L77 else goto L79 L77: - r96 = r2.__mypyc_temp__7 - if is_error(r96) goto L161 (error at coroutine:57) else goto L78 + r260 = raise NameError('value for final name "logger" was not set') + if not r260 goto L86 (error at :613) else goto L78 :: bool L78: - r97 = r2.__mypyc_temp__5 - if is_error(r97) goto L165 (error at coroutine:57) else goto L79 + unreachable L79: - r98 = CPyDict_NextItem(r96, r97) - dec_ref r96 - r99 = r98[1] - r2.__mypyc_temp__5 = r99; r100 = is_error - if not r100 goto L166 (error at coroutine:57) else goto L80 :: bool + r261 = 'devhint' + r262 = CPyObject_GetAttr(r259, r261) + if is_error(r262) goto L86 (error at :613) else goto L80 L80: - r101 = r98[0] - if r101 goto L81 else goto L167 :: bool + dank_mids.stats.devhint = r262 :: static + r263 = dank_mids.stats.globals :: static + r264 = 'devhint' + r265 = CPyDict_SetItem(r263, r264, r262) + dec_ref r262 + r266 = r265 >= 0 :: signed + if not r266 goto L86 (error at :613) else goto L81 :: bool L81: - r102 = r98[2] - r103 = r98[3] - dec_ref r98 - r104 = cast(str, r102) - if is_error(r104) goto L168 (error at coroutine:57) else goto L82 + r267 = _Collector() + if is_error(r267) goto L86 (error at :614) else goto L82 L82: - r105 = cast(union[int, str, bytes, None, dict], r103) - if is_error(r105) goto L169 (error at coroutine:57) else goto L83 + dank_mids.stats.collector = r267 :: static + r268 = dank_mids.stats.globals :: static + r269 = 'collector' + r270 = CPyDict_SetItem(r268, r269, r267) + dec_ref r267 + r271 = r270 >= 0 :: signed + if not r271 goto L86 (error at :614) else goto L83 :: bool L83: - r2.__mypyc_generator_attribute__k = r104; r106 = is_error - if not r106 goto L170 (error at coroutine:57) else goto L84 :: bool + r272 = _SentryExporter() + if is_error(r272) goto L86 (error at :615) else goto L84 L84: - r2.__mypyc_generator_attribute__v = r105; r107 = is_error - if not r107 goto L161 (error at coroutine:57) else goto L85 :: bool + dank_mids.stats.sentry = r272 :: static + r273 = dank_mids.stats.globals :: static + r274 = 'sentry' + r275 = CPyDict_SetItem(r273, r274, r272) + dec_ref r272 + r276 = r275 >= 0 :: signed + if not r276 goto L86 (error at :615) else goto L85 :: bool L85: - r108 = r2.__mypyc_generator_attribute__v - if is_error(r108) goto L161 (error at coroutine:57) else goto L86 + return 1 L86: - r109 = load_address _Py_NoneStruct - r110 = r108 != r109 - dec_ref r108 - if r110 goto L87 else goto L92 :: bool + r277 = :: None + return r277 L87: - r111 = r2.__mypyc_generator_attribute__k - if is_error(r111) goto L161 (error at coroutine:57) else goto L88 + dec_ref r121 + goto L86 L88: - r112 = r2.__mypyc_generator_attribute__v - if is_error(r112) goto L171 (error at coroutine:57) else goto L89 + dec_ref r145 + goto L86 L89: - r113 = cast(union[int, str, bytes, dict], r112) - if is_error(r113) goto L171 (error at coroutine:57) else goto L90 + dec_ref r163 + goto L86 L90: - r114 = r2.__mypyc_temp__3 - if is_error(r114) goto L172 (error at coroutine:-1) else goto L91 + dec_ref r176 + goto L86 L91: - r115 = PyDict_SetItem(r114, r111, r113) - dec_ref r114 - dec_ref r111 - dec_ref r113 - r116 = r115 >= 0 :: signed - if not r116 goto L161 (error at coroutine:57) else goto L92 :: bool + dec_ref r202 + goto L86 L92: - r117 = r2.__mypyc_temp__4 - if is_error(r117) goto L161 (error at coroutine:57) else goto L93 + dec_ref r209 + goto L86 L93: - r118 = r2.__mypyc_temp__6 - if is_error(r118) goto L173 (error at coroutine:57) else goto L94 + dec_ref r218 + goto L86 L94: - r119 = CPyDict_CheckSize(r117, r118) - dec_ref r117 - if not r119 goto L161 (error at coroutine:57) else goto L77 :: bool + dec_ref r227 + goto L86 L95: - r120 = CPy_NoErrOccurred() - if not r120 goto L161 (error at coroutine:57) else goto L96 :: bool + dec_ref r236 + goto L86 L96: - r121 = r2.__mypyc_temp__3 - if is_error(r121) goto L161 (error at coroutine:-1) else goto L97 -L97: - r2.__mypyc_generator_attribute__kwargs = r121; r122 = is_error - if not r122 goto L161 (error at coroutine:57) else goto L98 :: bool -L98: - r123 = r2.__mypyc_generator_attribute__fn - if is_error(r123) goto L161 (error at coroutine:58) else goto L99 -L99: - r124 = r2.__mypyc_generator_attribute__args - if is_error(r124) goto L174 (error at coroutine:58) else goto L100 -L100: - r125 = r2.__mypyc_generator_attribute__kwargs - if is_error(r125) goto L175 (error at coroutine:58) else goto L101 -L101: - r126 = 'coroutine' - r127 = CPyObject_GetAttr(r123, r126) - dec_ref r123 - if is_error(r127) goto L176 (error at coroutine:58) else goto L102 -L102: - r128 = PyDict_Copy(r125) - dec_ref r125 - if is_error(r128) goto L177 (error at coroutine:58) else goto L103 -L103: - r129 = PyObject_Call(r127, r124, r128) - dec_ref r127 - dec_ref r124 - dec_ref r128 - if is_error(r129) goto L161 (error at coroutine:58) else goto L104 -L104: - r130 = CPy_GetCoro(r129) - dec_ref r129 - if is_error(r130) goto L161 (error at coroutine:58) else goto L105 -L105: - r2.__mypyc_temp__8 = r130; r131 = is_error - if not r131 goto L161 (error at coroutine:-1) else goto L106 :: bool -L106: - r132 = r2.__mypyc_temp__8 - if is_error(r132) goto L161 (error at coroutine:-1) else goto L107 -L107: - r133 = CPyIter_Next(r132) - dec_ref r132 - if is_error(r133) goto L108 else goto L110 -L108: - r134 = CPy_FetchStopIterationValue() - if is_error(r134) goto L161 (error at coroutine:58) else goto L109 -L109: - r135 = r134 - r136 = :: object - r2.__mypyc_temp__8 = r136; r137 = is_error - if not r137 goto L178 (error at coroutine:58) else goto L132 :: bool -L110: - r138 = r133 -L111: - r2.__mypyc_next_label__ = 1 - dec_ref r2 - return r138 -L112: - r140 = load_address _Py_NoneStruct - r141 = type != r140 - if r141 goto L113 else goto L179 :: bool -L113: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L116 (error at coroutine:58) else goto L180 :: bool -L114: - unreachable -L115: - inc_ref arg - goto L127 -L116: - r142 = CPy_CatchError() - r2.__mypyc_temp__9 = r142; r143 = is_error - if not r143 goto L181 (error at coroutine:-1) else goto L117 :: bool -L117: - r144 = load_address r1 - r145 = r2.__mypyc_temp__8 - if is_error(r145) goto L181 (error at coroutine:-1) else goto L118 -L118: - r146 = CPy_YieldFromErrorHandle(r145, r144) - dec_ref r145 - if is_error(r146) goto L181 (error at coroutine:58) else goto L119 -L119: - if r146 goto L122 else goto L120 :: bool -L120: - r138 = r1 - r147 = r2.__mypyc_temp__9 - if is_error(r147) goto L182 (error at coroutine:-1) else goto L121 -L121: - CPy_RestoreExcInfo(r147) - dec_ref r147 - goto L111 -L122: - r135 = r1 - r148 = r2.__mypyc_temp__9 - if is_error(r148) goto L183 (error at coroutine:-1) else goto L123 -L123: - CPy_RestoreExcInfo(r148) - dec_ref r148 - goto L132 -L124: - r149 = r2.__mypyc_temp__9 - dec_ref r2 - if is_error(r149) goto L141 (error at coroutine:-1) else goto L125 -L125: - CPy_RestoreExcInfo(r149) - dec_ref r149 - r150 = CPy_KeepPropagating() - if not r150 goto L141 else goto L126 :: bool -L126: - unreachable -L127: - r151 = r2.__mypyc_temp__8 - if is_error(r151) goto L184 (error at coroutine:-1) else goto L128 -L128: - r152 = CPyIter_Send(r151, arg) - dec_ref r151 - dec_ref arg - if is_error(r152) goto L130 else goto L129 -L129: - r138 = r152 - goto L111 -L130: - r153 = CPy_FetchStopIterationValue() - if is_error(r153) goto L161 (error at coroutine:58) else goto L131 -L131: - r135 = r153 -L132: - r2.__mypyc_next_label__ = -1 - dec_ref r2 -L133: - if is_error(stop_iter_ptr) goto L134 else goto L136 -L134: - CPyGen_SetStopIterationValue(r135) - dec_ref r135 - if not 0 goto L141 else goto L135 :: bool -L135: - unreachable -L136: - set_mem stop_iter_ptr, r135 :: builtins.object* - return 0 -L137: - r155 = r3 == 0 - if r155 goto L185 else goto L186 :: bool -L138: - r156 = r3 == 1 - if r156 goto L112 else goto L187 :: bool -L139: - r157 = raise StopIteration - if not r157 goto L141 (error at coroutine:23) else goto L140 :: bool -L140: - unreachable -L141: - r158 = :: object - return r158 -L142: - xdec_ref r1 - goto L141 -L143: - xdec_ref r1 - dec_ref r2 - goto L141 -L144: - dec_ref r2 - dec_ref r4 - goto L3 -L145: - dec_ref r7 - goto L9 -L146: - dec_ref r7 - dec_ref r8 - goto L9 -L147: - dec_ref r4 - goto L63 -L148: - dec_ref r4 - goto L60 -L149: - dec_ref r4 - goto L58 -L150: - dec_ref r30 - goto L60 -L151: - dec_ref r40 - goto L60 -L152: - dec_ref r42 - goto L60 -L153: - dec_ref r49 - goto L60 -L154: - dec_ref r60 - goto L60 -L155: - dec_ref r63 - goto L60 -L156: - dec_ref r63 - dec_ref r65 - goto L60 -L157: - dec_ref r69 - goto L60 -L158: - dec_ref r2 - goto L55 -L159: - dec_ref r2 - goto L57 -L160: - dec_ref r2 - goto L59 -L161: - dec_ref r2 - goto L141 -L162: - dec_ref r2 - dec_ref r79 - goto L141 -L163: - dec_ref r2 - dec_ref r79 - dec_ref r81 - goto L141 -L164: - dec_ref r2 - dec_ref r88 - goto L141 -L165: - dec_ref r2 - dec_ref r96 - goto L141 -L166: - dec_ref r2 - dec_ref r98 - goto L141 -L167: - dec_ref r98 - goto L95 -L168: - dec_ref r2 - dec_ref r103 - goto L141 -L169: - dec_ref r2 - dec_ref r104 - goto L141 -L170: - dec_ref r2 - dec_ref r105 - goto L141 -L171: - dec_ref r2 - dec_ref r111 - goto L141 -L172: - dec_ref r2 - dec_ref r111 - dec_ref r113 - goto L141 -L173: - dec_ref r2 - dec_ref r117 - goto L141 -L174: - dec_ref r2 - dec_ref r123 - goto L141 -L175: - dec_ref r2 - dec_ref r123 - dec_ref r124 - goto L141 -L176: - dec_ref r2 - dec_ref r124 - dec_ref r125 - goto L141 -L177: - dec_ref r2 - dec_ref r124 - dec_ref r127 - goto L141 -L178: - dec_ref r2 - dec_ref r135 - goto L141 -L179: - xdec_ref r1 - goto L115 -L180: - xdec_ref r1 - dec_ref r2 - goto L114 -L181: - xdec_ref r1 - goto L124 -L182: - dec_ref r138 - goto L124 -L183: - dec_ref r135 - goto L124 -L184: - dec_ref r2 - dec_ref arg - goto L141 -L185: - xdec_ref r1 - goto L2 -L186: - dec_ref r4 - goto L138 -L187: - xdec_ref r1 - dec_ref r2 - goto L139 - -def coroutine_gen___23.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 - r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = coroutine_gen___23.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 + dec_ref r244 + goto L86 -def coroutine_gen___23.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 - arg, r0, r1, r2 :: object +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 = coroutine_gen___23.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) - if is_error(r1) goto L2 else goto L1 + r1 = instance == r0 + if r1 goto L1 else goto L2 :: bool L1: - return r1 -L2: - r2 = :: object - return r2 - -def coroutine_gen___23.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 -L0: inc_ref __mypyc_self__ return __mypyc_self__ - -def coroutine_gen___23.throw(__mypyc_self__, type, value, traceback): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 - 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 + r2 = PyMethod_New(__mypyc_self__, instance) + if is_error(r2) goto L4 else goto L3 L3: - inc_ref r0 - traceback = r0 + return r2 L4: - r1 = coroutine_gen___23.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) - 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 + r3 = :: object + return r3 -def coroutine_gen___23.close(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 - r0 :: object +def __mypyc_lambda__0_obj.__call__(__mypyc_self__, self, args): + __mypyc_self__ :: dank_mids.brownie_patch.call.__mypyc_lambda__0_obj + self, args :: object + r0 :: dict r1 :: str - r2, r3, r4, r5 :: object - r6 :: tuple[object, object, object] + r2 :: object + r3 :: str + r4 :: object + r5 :: dict + r6 :: str r7 :: object r8 :: str r9 :: object - r10 :: tuple[object, object] + r10 :: str r11 :: object - r12 :: bit + r12 :: str r13 :: object - r14 :: bool - r15 :: object + r14 :: list + r15, r16, r17, r18 :: ptr + r19 :: object + r20 :: tuple + r21, r22 :: object L0: + r0 = dank_mids.brownie_patch.call.globals :: static + r1 = 'ENVS' + r2 = CPyDict_GetItem(r0, r1) + if is_error(r2) goto L11 (error at :82) else goto L1 L1: - r0 = builtins :: module - r1 = 'GeneratorExit' - r2 = CPyObject_GetAttr(r0, r1) - if is_error(r2) goto L3 else goto L2 + r3 = 'BROWNIE_ENCODER_PROCESSES' + r4 = CPyObject_GetAttr(r2, r3) + dec_ref r2 + if is_error(r4) goto L11 (error at :82) 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 + r5 = dank_mids.brownie_patch.call.globals :: static + r6 = '__encode_input' + r7 = CPyDict_GetItem(r5, r6) + if is_error(r7) goto L12 (error at :82) else goto L3 L3: - r6 = CPy_CatchError() - r7 = builtins :: module - r8 = 'StopIteration' - r9 = CPyObject_GetAttr(r7, r8) - if is_error(r9) goto L12 else goto L4 + r8 = 'abi' + r9 = CPyObject_GetAttr(self, r8) + if is_error(r9) goto L13 (error at :82) 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 + r10 = 'signature' + r11 = CPyObject_GetAttr(self, r10) + if is_error(r11) goto L14 (error at :82) else goto L5 L5: - CPy_RestoreExcInfo(r6) - dec_ref r6 - r13 = load_address _Py_NoneStruct - inc_ref r13 - return r13 + r12 = 'run' + r13 = CPyObject_GetAttr(r4, r12) + dec_ref r4 + if is_error(r13) goto L15 (error at :82) else goto L6 L6: - CPy_Reraise() - if not 0 goto L10 else goto L7 :: bool + r14 = PyList_New(3) + if is_error(r14) goto L16 (error at :82) else goto L7 L7: - unreachable + r15 = get_element_ptr r14 ob_item :: PyListObject + r16 = load_mem r15 :: ptr* + set_mem r16, r7 :: builtins.object* + r17 = r16 + 8 + set_mem r17, r9 :: builtins.object* + r18 = r16 + 16 + set_mem r18, r11 :: builtins.object* + r19 = CPyList_Extend(r14, args) + if is_error(r19) goto L17 (error at :82) else goto L18 L8: - r14 = raise RuntimeError('generator ignored GeneratorExit') - if not r14 goto L10 else goto L9 :: bool + r20 = PyList_AsTuple(r14) + dec_ref r14 + if is_error(r20) goto L19 (error at :82) else goto L9 L9: - unreachable + r21 = PyObject_CallObject(r13, r20) + dec_ref r13 + dec_ref r20 + if is_error(r21) goto L11 (error at :82) else goto L10 L10: - r15 = :: object - return r15 + return r21 L11: - dec_ref r2 - dec_ref r5 - goto L8 + r22 = :: object + return r22 L12: - dec_ref r2 - dec_ref r6 - goto L10 + dec_ref r4 + goto L11 L13: - dec_ref r6 - goto L6 + dec_ref r4 + dec_ref r7 + goto L11 +L14: + dec_ref r4 + dec_ref r7 + dec_ref r9 + goto L11 +L15: + dec_ref r7 + dec_ref r9 + dec_ref r11 + goto L11 +L16: + dec_ref r7 + dec_ref r9 + dec_ref r11 + dec_ref r13 + goto L11 +L17: + dec_ref r13 + dec_ref r14 + goto L11 +L18: + dec_ref r19 + goto L8 +L19: + dec_ref r13 + goto L11 -def coroutine_gen___23.__await__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine_gen___23 +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 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 +def __mypyc_lambda__1_obj.__call__(__mypyc_self__, self, data): + __mypyc_self__ :: dank_mids.brownie_patch.call.__mypyc_lambda__1_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_gen___23 - r12, r13 :: bool - r14 :: object + data :: bytes + r0 :: dict + r1 :: str + r2 :: object + r3 :: str + r4 :: object + r5 :: dict + r6 :: str + r7 :: object + r8 :: str + r9 :: object + r10 :: str + r11 :: object[4] + r12 :: object_ptr + r13, r14 :: object L0: - r0 = __mypyc_self__.__mypyc_env__ - if is_error(r0) goto L17 (error at coroutine:23) else goto L1 + r0 = dank_mids.brownie_patch.call.globals :: static + r1 = 'ENVS' + r2 = CPyDict_GetItem(r0, r1) + if is_error(r2) goto L6 (error at :101) else goto L1 L1: - if is_error(block_identifier) goto L2 else goto L18 + r3 = 'BROWNIE_DECODER_PROCESSES' + r4 = CPyObject_GetAttr(r2, r3) + dec_ref r2 + if is_error(r4) goto L6 (error at :101) else goto L2 L2: - r1 = box(None, 1) - inc_ref r1 - block_identifier = r1 + r5 = dank_mids.brownie_patch.call.globals :: static + r6 = '__decode_output' + r7 = CPyDict_GetItem(r5, r6) + if is_error(r7) goto L7 (error at :101) else goto L3 L3: - if is_error(decimals) goto L4 else goto L19 + r8 = 'abi' + r9 = CPyObject_GetAttr(self, r8) + if is_error(r9) goto L8 (error at :101) else goto L4 L4: - r2 = box(None, 1) - inc_ref r2 - decimals = r2 + r10 = 'run' + r11 = [r4, r7, data, r9] + r12 = load_address r11 + r13 = PyObject_VectorcallMethod(r10, r12, 9223372036854775812, 0) + if is_error(r13) goto L9 (error at :101) else goto L5 L5: - if is_error(override) goto L6 else goto L20 -L6: - r3 = box(None, 1) - inc_ref r3 - override = r3 -L7: - r4 = coroutine__patch_overloaded_method_env() - if is_error(r4) goto L21 (error at coroutine:23) else goto L8 -L8: - r4.__mypyc_env__ = r0; r5 = is_error - if not r5 goto L22 (error at coroutine:23) else goto L9 :: bool -L9: - inc_ref self - r4.__mypyc_generator_attribute__self = self; r6 = is_error - if not r6 goto L22 (error at coroutine:23) else goto L10 :: bool -L10: - inc_ref args - r4.__mypyc_generator_attribute__args = args; r7 = is_error - if not r7 goto L22 (error at coroutine:23) else goto L11 :: bool -L11: - r4.__mypyc_generator_attribute__block_identifier = block_identifier; r8 = is_error - if not r8 goto L23 (error at coroutine:23) else goto L12 :: bool -L12: - r4.__mypyc_generator_attribute__decimals = decimals; r9 = is_error - if not r9 goto L24 (error at coroutine:23) else goto L13 :: bool -L13: - r4.__mypyc_generator_attribute__override = override; r10 = is_error - if not r10 goto L25 (error at coroutine:23) else goto L14 :: bool -L14: - r11 = coroutine_gen___23() - if is_error(r11) goto L25 (error at coroutine:23) else goto L15 -L15: - inc_ref r4 - r11.__mypyc_env__ = r4; r12 = is_error - if not r12 goto L26 (error at coroutine:23) else goto L16 :: bool -L16: - r4.__mypyc_next_label__ = 0 dec_ref r4 - return r11 -L17: + dec_ref r7 + dec_ref r9 + return r13 +L6: r14 = :: object return r14 -L18: - inc_ref block_identifier - goto L3 -L19: - inc_ref decimals - goto L5 -L20: - inc_ref override - goto L7 -L21: - dec_ref block_identifier - dec_ref decimals - dec_ref override - dec_ref r0 - goto L17 -L22: - dec_ref block_identifier - dec_ref decimals - dec_ref override - dec_ref r4 - goto L17 -L23: - dec_ref decimals - dec_ref override - dec_ref r4 - goto L17 -L24: - dec_ref override +L7: dec_ref r4 - goto L17 -L25: + goto L6 +L8: dec_ref r4 - goto L17 -L26: + dec_ref r7 + goto L6 +L9: dec_ref r4 - dec_ref r11 - goto L17 + dec_ref r7 + dec_ref r9 + goto L6 -def _patch_overloaded_method(call, w3): +def _patch_call(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 + r0 :: str + r1 :: object + r2 :: dict + r3 :: str r4 :: object - r5 :: dict - r6 :: str - r7 :: object - r8 :: object[1] - r9 :: object_ptr + r5 :: set + r6 :: i32 + r7 :: bit + r8 :: bool + r9 :: str r10 :: object - r11 :: object[1] - r12 :: object_ptr - r13 :: object - r14 :: dict + r11 :: i32 + r12 :: bit + r13 :: str + r14 :: object r15 :: str - r16 :: i32 - r17 :: bit - r18 :: object + r16 :: object + r17 :: int + r18 :: dict 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] + 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 :: i32 - r38 :: bit - r39 :: bool - r40 :: str - r41 :: object - r42 :: dict + r37 :: dict + r38 :: str + r39 :: object + r40 :: object[2] + r41 :: object_ptr + r42 :: object 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 + r44 :: i32 + r45 :: bit + r46 :: None L0: - r0 = _patch_overloaded_method_env() - if is_error(r0) goto L39 (error at _patch_overloaded_method:11) else goto L1 + r0 = '_address' + r1 = CPyObject_GetAttr(call, r0) + if is_error(r1) goto L18 (error at _patch_call:135) else goto L1 L1: - inc_ref call - r0.call = call; r1 = is_error - if not r1 goto L40 (error at _patch_overloaded_method:11) else goto L2 :: bool + 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:135) else goto L2 L2: - r2 = coroutine__patch_overloaded_method_obj() - if is_error(r2) goto L40 (error at _patch_overloaded_method:23) else goto L3 + r5 = cast(set, r4) + if is_error(r5) goto L19 (error at _patch_call:135) else goto L3 L3: - inc_ref r0 - r2.__mypyc_env__ = r0; r3 = is_error - if not r3 goto L41 (error at _patch_overloaded_method:23) else goto L4 :: bool + r6 = PySet_Contains(r5, r1) + dec_ref r5 + dec_ref r1 + r7 = r6 >= 0 :: signed + if not r7 goto L18 (error at _patch_call:135) else goto L4 :: bool L4: - r4 = r0.call - if is_error(r4) goto L41 (error at _patch_overloaded_method:22) else goto L5 + 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:135) else goto L5 :: bool 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:22) else goto L6 + r13 = 'abi' + r14 = CPyObject_GetAttr(call, r13) + if is_error(r14) goto L18 (error at _patch_call:136) 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:22) else goto L7 + r15 = 'inputs' + r16 = PyObject_GetItem(r14, r15) + dec_ref r14 + if is_error(r16) goto L18 (error at _patch_call:136) 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:23) else goto L8 + r17 = CPyObject_Size(r16) + dec_ref r16 + if is_error(r17) goto L18 (error at _patch_call:136) else goto L8 L8: - dec_ref r2 - inc_ref r13 - r14 = dank_mids.brownie_patch.overloaded.globals :: static - r15 = 'coroutine' - r16 = PyDict_SetItem(r14, r15, r13) - dec_ref r13 - r17 = r16 >= 0 :: signed - if not r17 goto L43 (error at _patch_overloaded_method:23) else goto L9 :: bool + 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:136) else goto L9 L9: - r18 = r0.call - if is_error(r18) goto L43 (error at _patch_overloaded_method:60) else goto L10 + 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:136) 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:60) 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:60) else goto L12 + 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:136) 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:136) 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:60) 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:136) else goto L13 :: bool L13: - dec_ref r22 - r27 = PyObject_GetIter(r26) - dec_ref r26 - if is_error(r27) goto L43 (error at _patch_overloaded_method:60) 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:137) else goto L14 L14: - r28 = PyIter_Next(r27) - if is_error(r28) goto L45 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:137) 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:61) 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:137) 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:61) 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:61) else goto L18 :: bool + r43 = '__await__' + r44 = PyObject_SetAttr(call, r43, r42) + dec_ref r42 + r45 = r44 >= 0 :: signed + if not r45 goto L18 (error at _patch_call:137) else goto L17 :: bool +L17: + return 1 L18: - r39 = truncate r37: i32 to builtins.bool - if r39 goto L19 else goto L48 :: bool + r46 = :: None + return r46 L19: - r40 = '_address' - r41 = CPyObject_GetAttr(r28, r40) - if is_error(r41) goto L46 (error at _patch_overloaded_method:62) else goto L20 + dec_ref r1 + goto L18 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:62) else goto L21 + dec_ref r17 :: int + goto L18 L21: - r45 = cast(set, r44) - if is_error(r45) goto L49 (error at _patch_overloaded_method:62) else goto L22 + dec_ref r21 + goto L18 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:62) 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:62) else goto L24 :: bool -L24: - r53 = 'abi' - r54 = CPyObject_GetAttr(r28, r53) - if is_error(r54) goto L46 (error at _patch_overloaded_method:63) 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:63) else goto L26 -L26: - r57 = CPyObject_Size(r56) - dec_ref r56 - if is_error(r57) goto L46 (error at _patch_overloaded_method:63) 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:63) 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:63) 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:63) 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:63) 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:63) else goto L14 :: bool -L32: - r74 = CPy_NoErrOccurred() - if not r74 goto L43 (error at _patch_overloaded_method:60) else goto L33 :: bool -L33: - r75 = r0.call - if is_error(r75) goto L43 (error at _patch_overloaded_method:68) 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:68) 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:68) 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:68) 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:68) 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 :: object - r33 :: 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 = ('wraps',) - r6 = 'functools' - r7 = dank_mids.brownie_patch.overloaded.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L11 (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 L11 (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 L11 (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 L11 (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 L11 (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 L11 (error at :7) else goto L9 -L9: - dank_mids.brownie_patch.call = r28 :: module - dec_ref r28 - r29 = ('DankWeb3',) - r30 = 'dank_mids.helpers._helpers' - r31 = dank_mids.brownie_patch.overloaded.globals :: static - r32 = CPyImport_ImportFromMany(r30, r29, r29, r31) - if is_error(r32) goto L11 (error at :8) else goto L10 -L10: - dank_mids.helpers._helpers = r32 :: module - dec_ref r32 - return 1 -L11: - r33 = :: None - return r33 + goto L18 +L23: + dec_ref r36 + goto L18 -def lru_cache_lite_wrap_lru_cache_lite_obj.__get__(__mypyc_self__, instance, owner): +def coroutine__get_coroutine_fn_obj.__get__(__mypyc_self__, instance, owner): __mypyc_self__, instance, owner, r0 :: object r1 :: bit r2, r3 :: object @@ -14337,5927 +9995,2578 @@ 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, r7 :: object - r8 :: dict - r9 :: i32 - r10 :: bit - r11 :: object -L0: - r0 = __mypyc_self__.__mypyc_env__ - if is_error(r0) goto L11 (error at lru_cache_lite_wrap:41) else goto L1 -L1: - r1 = r0.cache - if is_error(r1) goto L12 (error at lru_cache_lite_wrap:42) else goto L2 -L2: - r2 = r0.cache_miss - if is_error(r2) goto L13 (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 L12 (error at lru_cache_lite_wrap:42) else goto L4 -L4: - retval = r3 - r4 = r0.cache_miss - if is_error(r4) goto L14 (error at lru_cache_lite_wrap:43) else goto L5 -L5: - r5 = retval == r4 - dec_ref r4 - if r5 goto L15 else goto L16 :: bool -L6: - r6 = r0.func - if is_error(r6) goto L12 (error at lru_cache_lite_wrap:44) else goto L7 -L7: - r7 = PyObject_CallObject(r6, args) - dec_ref r6 - if is_error(r7) goto L12 (error at lru_cache_lite_wrap:44) else goto L8 -L8: - retval = r7 - r8 = r0.cache - dec_ref r0 - if is_error(r8) goto L17 (error at lru_cache_lite_wrap:45) else goto L9 -L9: - r9 = CPyDict_SetItem(r8, args, retval) - dec_ref r8 - r10 = r9 >= 0 :: signed - if not r10 goto L17 (error at lru_cache_lite_wrap:45) else goto L10 :: bool -L10: - return retval -L11: - r11 = :: object - return r11 -L12: - dec_ref r0 - goto L11 -L13: - dec_ref r0 - dec_ref r1 - goto L11 -L14: - dec_ref r0 - dec_ref retval - goto L11 -L15: - dec_ref retval - goto L6 -L16: - dec_ref r0 - goto L10 -L17: - dec_ref retval - goto L11 - -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 +def coroutine_gen___147.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): + __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine_gen___147 + type, value, traceback, arg :: object + stop_iter_ptr :: object_ptr + 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, r22, r23 :: object + r24 :: dank_mids.brownie_patch.call.coroutine__get_coroutine_fn_env + r25 :: i32 + r26 :: dank_mids.brownie_patch.call._get_coroutine_fn_env + r27 :: object 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 + r29 :: union[dict, None] + r30 :: object + r31 :: bit + r32 :: dict + r33 :: native_int + r34 :: short_int + r35 :: bit + r36 :: str + r37 :: object + r38 :: str + r39 :: object + r40 :: object[1] + r41 :: object_ptr + r42, r43 :: object + r44 :: bool + 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 :: bool + r68 :: object + r69 :: bit + r70 :: tuple[object, object, object] + r71 :: bool + r72 :: object_ptr + r73 :: object + r74 :: bool + r75, r76, r77 :: tuple[object, object, object] + r78 :: bit + r79, r80, r81, r82 :: object + r83 :: int + r84 :: object + r85 :: tuple + r86 :: dict + r87 :: str + r88 :: object + r89 :: list + r90 :: object + r91, r92, r93, r94 :: ptr + r95 :: object + r96 :: tuple + r97, r98 :: object + r99 :: bool + r100, r101, r102, r103, r104 :: object + r105 :: bool + r106 :: object + r107 :: bool + r108 :: object + r109 :: bit + r110 :: tuple[object, object, object] + r111 :: bool + r112 :: object_ptr + r113 :: object + r114 :: bool + r115, r116, r117 :: tuple[object, object, object] + r118 :: bit + r119, r120, r121 :: object + r122 :: str + r123 :: bool + r124 :: object + r125 :: bool + r126 :: union[object, None] + r127, r128 :: object + r129 :: str + r130 :: object + r131 :: bool + r132 :: str + r133 :: object + r134 :: object[1] + r135 :: object_ptr + r136 :: object + r137, r138 :: bool + r139 :: object + r140 :: bool + r141, r142, r143, r144, r145 :: object + r146 :: bool + r147 :: object + r148 :: bool + r149 :: object + r150 :: bit + r151 :: tuple[object, object, object] + r152 :: bool + r153 :: object_ptr + r154 :: object + r155 :: bool + r156, r157, r158 :: tuple[object, object, object] + r159 :: bit + r160, r161, r162, r163 :: object + r164 :: str + r165 :: object + r166 :: str + r167 :: object + r168 :: str + r169 :: object + r170, r171 :: str + r172 :: dict + r173 :: union[object, None] + r174 :: str + r175 :: object[3] + r176 :: object_ptr + r177, r178 :: object + r179 :: bool + r180, r181, r182, r183, r184 :: object + r185 :: bool + r186 :: object + r187 :: bool + r188 :: object + r189 :: bit + r190 :: tuple[object, object, object] + r191 :: bool + r192 :: object_ptr + r193 :: object + r194 :: bool + r195, r196, r197 :: tuple[object, object, object] + r198 :: bit + r199, r200, r201 :: object + r202 :: bool + r203 :: tuple[object, object, object] + r204, r205 :: bool + r206 :: tuple[object, object, object] + r207, r208, r209, r210, r211 :: object + r212 :: object[4] + r213 :: object_ptr + r214, r215 :: object + r216 :: bool + r217, r218, r219, r220, r221 :: object + r222 :: bool + r223 :: object + r224 :: bool + r225 :: object + r226 :: bit + r227 :: tuple[object, object, object] + r228 :: bool + r229 :: object_ptr + r230 :: object + r231 :: bool + r232, r233, r234 :: tuple[object, object, object] + r235 :: bit + r236, r237, r238 :: object + r239 :: i32 + r240 :: bit + r241 :: bool + r242, r243 :: tuple[object, object, object] + r244 :: bit + r245, r246 :: tuple[object, object, object] + r247 :: bool + r248, r249, r250 :: object + r251 :: object[4] + r252 :: object_ptr + r253, r254 :: object + r255 :: bool + r256, r257, r258, r259, r260 :: object + r261 :: bool + r262 :: object + r263 :: bool + r264 :: object + r265 :: bit + r266 :: tuple[object, object, object] + r267 :: bool + r268 :: object_ptr + r269 :: object + r270 :: bool + r271, r272, r273 :: tuple[object, object, object] + r274 :: bit + r275, r276, r277 :: object + r278 :: bit + r279 :: tuple[object, object, object] + r280, r281 :: bool + r282 :: tuple[object, object, object] + r283, r284, r285, r286, r287 :: object + r288 :: object[4] + r289 :: object_ptr + r290, r291 :: object + r292 :: bool + r293, r294, r295, r296, r297 :: object + r298 :: bool + r299 :: object + r300 :: bool + r301 :: object + r302 :: bit + r303 :: tuple[object, object, object] + r304 :: bool + r305 :: object_ptr + r306 :: object + r307 :: bool + r308, r309, r310 :: tuple[object, object, object] + r311 :: bit + r312, r313, r314 :: object + r315 :: i32 + r316 :: bit + r317 :: bool + r318, r319 :: tuple[object, object, object] + r320 :: bit + r321, r322 :: tuple[object, object, object] + r323 :: bool + r324, r325, r326 :: object + r327 :: object[4] + r328 :: object_ptr + r329, r330 :: object + r331 :: bool + r332, r333, r334, r335, r336 :: object + r337 :: bool + r338 :: object + r339 :: bool + r340 :: object + r341 :: bit + r342 :: tuple[object, object, object] + r343 :: bool + r344 :: object_ptr + r345 :: object + r346 :: bool + r347, r348, r349 :: tuple[object, object, object] + r350 :: bit + r351, r352, r353 :: object + r354 :: bit + r355, r356 :: object + r357 :: bytes + r358 :: dank_mids.brownie_patch.call.decode_output_gen + r359 :: bool + r360 :: dank_mids.brownie_patch.call.decode_output_gen + r361, r362 :: object + r363 :: object_ptr + r364 :: object + r365 :: bit + r366 :: object + r367 :: dank_mids.brownie_patch.call.decode_output_gen + r368 :: bool + r369 :: object + r370 :: bool + r371 :: object + r372 :: bit + r373 :: tuple[object, object, object] + r374 :: bool + r375 :: object_ptr + r376 :: dank_mids.brownie_patch.call.decode_output_gen + r377 :: bool + r378, r379, r380 :: tuple[object, object, object] + r381 :: bit + r382 :: dank_mids.brownie_patch.call.decode_output_gen + r383, r384 :: object + r385 :: bool + r386 :: tuple[object, object, object] + r387 :: bool + r388 :: dict + r389 :: str + r390 :: object + r391 :: bit + r392 :: object + r393 :: bool + r394 :: str + r395 :: object + r396, r397, r398, r399 :: str + r400 :: object + r401 :: str + r402 :: object + r403 :: str + r404 :: object + r405 :: str + r406 :: tuple + r407 :: str + r408 :: union[object, None] + r409 :: str + r410 :: object + r411, r412 :: dict + r413 :: str + r414 :: object + r415 :: object[1] + r416 :: object_ptr + r417 :: object + r418 :: tuple[object, object, object] + r419 :: bit + r420 :: union[int, None] + r421 :: object + r422 :: bit + r423, r424, r425 :: object + r426 :: union[int, None] + r427 :: int + r428 :: object + r429 :: bool + r430 :: object + r431 :: object[1] + r432 :: object_ptr + r433, r434, r435, r436 :: object + r437 :: bool + r438, r439, r440, r441, r442, r443, r444, r445, r446, r447 :: bit + r448 :: bool + r449 :: object +L0: + r0 = :: object + r1 = r0 + r2 = :: object + r3 = r2 + r4 = :: object + r5 = r4 + r6 = :: object + r7 = r6 + r8 = :: object + r9 = r8 + r10 = :: object + r11 = r10 + r12 = :: tuple[object, object, object] + r13 = r12 + r14 = :: object + r15 = r14 + r16 = :: object + r17 = r16 + r18 = :: tuple[object, object, object] + r19 = r18 + r20 = :: object + r21 = r20 + xdec_ref r21 + r22 = :: object + r23 = r22 + r24 = __mypyc_self__.__mypyc_env__ + if is_error(r24) goto L422 (error at coroutine:147) else goto L1 +L1: + r25 = r24.__mypyc_next_label__ + r26 = r24.__mypyc_env__ + if is_error(r26) goto L423 (error at coroutine:147) else goto L409 +L2: + r27 = load_address _Py_NoneStruct + r28 = type != r27 + if r28 goto L424 else goto L5 :: bool +L3: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L421 (error at coroutine:147) else goto L4 :: bool +L4: + unreachable +L5: + r29 = r24.__mypyc_generator_attribute__override + if is_error(r29) goto L425 (error at coroutine:154) else goto L6 +L6: + r30 = load_address _Py_NoneStruct + r31 = r29 != r30 + if r31 goto L7 else goto L426 :: bool +L7: + r32 = cast(dict, r29) + if is_error(r32) goto L425 (error at coroutine:154) 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 + r33 = PyDict_Size(r32) + dec_ref r32 + r34 = r33 << 1 + r35 = r34 != 0 + if r35 goto L427 else goto L13 :: bool L9: - r11 = r0.func - if is_error(r11) goto L19 (error at lru_cache_lite:40) else goto L10 + r36 = 'Cannot use state override with `coroutine`.' + r37 = builtins :: module + r38 = 'ValueError' + r39 = CPyObject_GetAttr(r37, r38) + if is_error(r39) goto L421 (error at coroutine:155) 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 + r40 = [r36] + r41 = load_address r40 + r42 = PyObject_Vectorcall(r39, r41, 1, 0) + dec_ref r39 + if is_error(r42) goto L421 (error at coroutine:155) 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 + CPy_Raise(r42) + dec_ref r42 + if not 0 goto L421 (error at coroutine:155) else goto L12 :: bool 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 + unreachable L13: - dec_ref r9 - inc_ref r20 - r21 = dank_mids.helpers.lru_cache.globals :: static - r22 = 'lru_cache_lite_wrap' - r23 = PyDict_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 + r43 = dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_ENCODER_SEMAPHORE :: static + if is_error(r43) goto L428 else goto L16 L14: - r25 = r0.cache - dec_ref r0 - if is_error(r25) goto L22 (error at lru_cache_lite:48) else goto L15 + r44 = raise NameError('value for final name "BROWNIE_ENCODER_SEMAPHORE" was not set') + if not r44 goto L421 (error at coroutine:156) else goto L15 :: bool 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 + unreachable L16: - return r20 + r45 = r24.__mypyc_generator_attribute__block_identifier + if is_error(r45) goto L425 (error at coroutine:156) else goto L17 L17: - r29 = :: object - return r29 + r46 = PyObject_GetItem(r43, r45) + dec_ref r45 + if is_error(r46) goto L425 (error at coroutine:156) else goto L18 L18: - dec_ref r0 - goto L17 + r47 = CPy_TYPE(r46) + r48 = '__aexit__' + r49 = CPyObject_GetAttr(r47, r48) + if is_error(r49) goto L429 (error at coroutine:156) else goto L19 L19: - dec_ref r0 - dec_ref r9 - goto L17 + r24.__mypyc_temp__0 = r49; r50 = is_error + if not r50 goto L429 (error at coroutine:-1) else goto L20 :: bool L20: - dec_ref r0 - dec_ref r9 - dec_ref r11 - goto L17 + r51 = '__aenter__' + r52 = CPyObject_GetAttr(r47, r51) + dec_ref r47 + if is_error(r52) goto L430 (error at coroutine:156) else goto L21 L21: - dec_ref r0 - dec_ref r20 - goto L17 + r53 = [r46] + r54 = load_address r53 + r55 = PyObject_Vectorcall(r52, r54, 1, 0) + dec_ref r52 + if is_error(r55) goto L430 (error at coroutine:156) else goto L22 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, r6 :: object - r7 :: dict - r8 :: i32 - r9 :: bit - r10 :: object -L0: - r0 = __mypyc_self__.__mypyc_env__ - if is_error(r0) goto L9 (error at lru_cache_lite_wrap:89) else goto L1 -L1: - r1 = r0.cache - if is_error(r1) goto L10 (error at lru_cache_lite_wrap:90) else goto L2 -L2: - r2 = CPyDict_GetWithNone(r1, args) - dec_ref r1 - if is_error(r2) goto L10 (error at lru_cache_lite_wrap:90) else goto L3 -L3: - retval = r2 - r3 = load_address _Py_NoneStruct - r4 = retval == r3 - if r4 goto L11 else goto L12 :: bool -L4: - r5 = r0.func - if is_error(r5) goto L10 (error at lru_cache_lite_wrap:92) else goto L5 -L5: - r6 = PyObject_CallObject(r5, args) - dec_ref r5 - if is_error(r6) goto L10 (error at lru_cache_lite_wrap:92) else goto L6 -L6: - retval = r6 - r7 = r0.cache - dec_ref r0 - if is_error(r7) goto L13 (error at lru_cache_lite_wrap:93) else goto L7 -L7: - r8 = CPyDict_SetItem(r7, args, retval) - dec_ref r7 - r9 = r8 >= 0 :: signed - if not r9 goto L13 (error at lru_cache_lite_wrap:93) else goto L8 :: bool -L8: - return retval -L9: - r10 = :: object - return r10 -L10: - dec_ref r0 - goto L9 -L11: - dec_ref retval - goto L4 -L12: - dec_ref r0 - goto L8 -L13: - dec_ref retval - goto L9 - -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 = PyDict_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 make_hashable(obj): - obj, r0, r1 :: object - r2 :: tuple[object, object] - r3 :: object - r4 :: i32 - r5 :: bit - r6 :: bool - r7 :: list - r8 :: union[list, tuple] - r9, r10, r11 :: object - r12 :: i32 - r13, r14 :: bit - r15 :: tuple - r16 :: bit - r17, r18 :: dict - r19 :: short_int - r20 :: native_int - r21 :: object - r22 :: tuple[bool, short_int, object] - r23 :: short_int - r24 :: bool - r25 :: object - r26 :: dict - r27, r28 :: object - r29 :: i32 - r30, r31, r32 :: bit - r33 :: tuple - r34 :: dict - r35 :: dank_mids.helpers.hashing.AttributeDict - r36 :: object -L0: - r0 = load_address PyList_Type - r1 = load_address PyTuple_Type - inc_ref r0 - inc_ref r1 - r2 = (r0, r1) - r3 = box(tuple[object, object], r2) - r4 = PyObject_IsInstance(obj, r3) - dec_ref r3 - r5 = r4 >= 0 :: signed - if not r5 goto L26 (error at make_hashable:36) else goto L1 :: bool -L1: - r6 = truncate r4: i32 to builtins.bool - if r6 goto L2 else goto L11 :: bool -L2: - r7 = PyList_New(0) - if is_error(r7) goto L26 (error at make_hashable:37) else goto L3 -L3: - inc_ref obj - r8 = cast(union[list, tuple], obj) - if is_error(r8) goto L27 (error at make_hashable:37) else goto L4 -L4: - r9 = PyObject_GetIter(r8) - dec_ref r8 - if is_error(r9) goto L27 (error at make_hashable:37) else goto L5 -L5: - r10 = PyIter_Next(r9) - if is_error(r10) goto L28 else goto L6 -L6: - r11 = make_hashable(r10) - dec_ref r10 - if is_error(r11) goto L29 (error at make_hashable:37) else goto L7 -L7: - r12 = PyList_Append(r7, r11) - dec_ref r11 - r13 = r12 >= 0 :: signed - if not r13 goto L29 (error at make_hashable:37) else goto L5 :: bool -L8: - r14 = CPy_NoErrOccurred() - if not r14 goto L27 (error at make_hashable:37) else goto L9 :: bool -L9: - r15 = PyList_AsTuple(r7) - dec_ref r7 - if is_error(r15) goto L26 (error at make_hashable:37) else goto L10 -L10: - return r15 -L11: - r16 = PyDict_Check(obj) - if r16 goto L12 else goto L25 :: bool -L12: - r17 = PyDict_New() - if is_error(r17) goto L26 (error at make_hashable:39) else goto L13 -L13: - inc_ref obj - r18 = cast(dict, obj) - if is_error(r18) goto L30 (error at make_hashable:39) else goto L14 -L14: - r19 = 0 - r20 = PyDict_Size(r18) - r21 = CPyDict_GetKeysIter(r18) - if is_error(r21) goto L31 (error at make_hashable:39) else goto L15 -L15: - r22 = CPyDict_NextKey(r21, r19) - r23 = r22[1] - r19 = r23 - r24 = r22[0] - if r24 goto L16 else goto L32 :: bool -L16: - r25 = r22[2] - dec_ref r22 - inc_ref obj - r26 = cast(dict, obj) - if is_error(r26) goto L33 (error at make_hashable:39) else goto L17 -L17: - r27 = CPyDict_GetItem(r26, r25) - dec_ref r26 - if is_error(r27) goto L33 (error at make_hashable:39) else goto L18 -L18: - r28 = make_hashable(r27) - dec_ref r27 - if is_error(r28) goto L33 (error at make_hashable:39) else goto L19 -L19: - r29 = PyDict_SetItem(r17, r25, r28) - dec_ref r25 - dec_ref r28 - r30 = r29 >= 0 :: signed - if not r30 goto L34 (error at make_hashable:39) else goto L20 :: bool -L20: - r31 = CPyDict_CheckSize(r18, r20) - if not r31 goto L34 (error at make_hashable:39) else goto L15 :: bool -L21: - r32 = CPy_NoErrOccurred() - if not r32 goto L30 (error at make_hashable:39) else goto L22 :: bool -L22: - r33 = CPyTuple_LoadEmptyTupleConstant() - r34 = PyDict_New() - if is_error(r34) goto L35 (error at make_hashable:39) else goto L23 + r24.__mypyc_temp__1 = r46; r56 = is_error + if not r56 goto L431 (error at coroutine:-1) else goto L23 :: bool L23: - r35 = AttributeDict(r17, r33, r34) - dec_ref r17 - dec_ref r33 - dec_ref r34 - if is_error(r35) goto L26 (error at make_hashable:39) else goto L24 + r24.__mypyc_temp__2 = 1; r57 = is_error + if not r57 goto L431 (error at coroutine:-1) else goto L24 :: bool L24: - return r35 + r58 = CPy_GetCoro(r55) + dec_ref r55 + if is_error(r58) goto L425 (error at coroutine:156) else goto L25 L25: - inc_ref obj - return obj + r24.__mypyc_temp__3 = r58; r59 = is_error + if not r59 goto L425 (error at coroutine:-1) else goto L26 :: bool L26: - r36 = :: object - return r36 + r60 = r24.__mypyc_temp__3 + if is_error(r60) goto L425 (error at coroutine:-1) else goto L27 L27: - dec_ref r7 - goto L26 + r61 = CPyIter_Next(r60) + dec_ref r60 + if is_error(r61) goto L28 else goto L432 L28: - dec_ref r9 - goto L8 + r62 = CPy_FetchStopIterationValue() + if is_error(r62) goto L425 (error at coroutine:156) else goto L29 L29: - dec_ref r7 - dec_ref r9 - goto L26 + r63 = r62 + dec_ref r63 + r64 = :: object + r24.__mypyc_temp__3 = r64; r65 = is_error + if not r65 goto L425 (error at coroutine:156) else goto L52 :: bool L30: - dec_ref r17 - goto L26 + r66 = r61 L31: - dec_ref r17 - dec_ref r18 - goto L26 + r24.__mypyc_next_label__ = 1 + dec_ref r24 + return r66 L32: - dec_ref r18 - dec_ref r21 - dec_ref r22 - goto L21 + r68 = load_address _Py_NoneStruct + r69 = type != r68 + if r69 goto L33 else goto L433 :: bool L33: - dec_ref r17 - dec_ref r18 - dec_ref r21 - dec_ref r25 - goto L26 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L36 (error at coroutine:156) else goto L434 :: bool L34: - dec_ref r17 - dec_ref r18 - dec_ref r21 - goto L26 + unreachable L35: - dec_ref r17 - dec_ref r33 - goto L26 - -def AttributeDict.__init__(self, dictionary, args, kwargs): - self :: dank_mids.helpers.hashing.AttributeDict - dictionary :: dict - args :: tuple - kwargs, r0 :: dict - r1 :: bool - r2 :: dict - r3 :: object - r4 :: dict - r5 :: object - r6 :: dict - r7 :: i32 - r8 :: bit - r9 :: object - r10 :: bool - r11 :: None -L0: - r0 = PyDict_Copy(dictionary) - if is_error(r0) goto L9 (error at __init__:50) else goto L1 -L1: - self.__dict__ = r0; r1 = is_error - if not r1 goto L9 (error at __init__:50) else goto L2 :: bool -L2: - r2 = self.__dict__ - if is_error(r2) goto L9 (error at __init__:51) else goto L3 -L3: - r3 = load_address PyDict_Type - r4 = PyDict_Copy(kwargs) - if is_error(r4) goto L10 (error at __init__:51) else goto L4 -L4: - r5 = PyObject_Call(r3, args, r4) - dec_ref r4 - if is_error(r5) goto L10 (error at __init__:51) else goto L5 -L5: - r6 = cast(dict, r5) - if is_error(r6) goto L10 (error at __init__:51) else goto L6 -L6: - r7 = CPyDict_Update(r2, r6) - dec_ref r2 - dec_ref r6 - r8 = r7 >= 0 :: signed - if not r8 goto L9 (error at __init__:51) else goto L7 :: bool -L7: - r9 = box(None, 1) - inc_ref r9 - self.__hash = r9; r10 = is_error - if not r10 goto L9 (error at __init__:52) else goto L8 :: bool -L8: - return 1 -L9: - r11 = :: None - return r11 -L10: - dec_ref r2 - goto L9 - -def AttributeDict.__hash__(self): - self :: dank_mids.helpers.hashing.AttributeDict - r0, retval :: union[int, None] - r1 :: object - r2 :: bit - r3 :: dank_mids.helpers.hashing.AttributeDict - r4 :: object - r5 :: list - r6 :: tuple - r7 :: int - r8 :: object - r9 :: int - r10 :: object - r11 :: bool - r12, r13 :: int -L0: - r0 = self.__hash - if is_error(r0) goto L11 (error at __hash__:55) else goto L1 -L1: - retval = r0 - r1 = load_address _Py_NoneStruct - r2 = retval == r1 - if r2 goto L12 else goto L9 :: bool -L2: - r3 = tupleize_lists_nested(self) - if is_error(r3) goto L11 (error at __hash__:57) else goto L3 -L3: - r4 = r3.items() - dec_ref r3 - if is_error(r4) goto L11 (error at __hash__:57) else goto L4 -L4: - r5 = CPySequence_Sort(r4) - dec_ref r4 - if is_error(r5) goto L11 (error at __hash__:57) else goto L5 -L5: - r6 = PyList_AsTuple(r5) - dec_ref r5 - if is_error(r6) goto L11 (error at __hash__:57) else goto L6 -L6: - r7 = CPyObject_Hash(r6) - dec_ref r6 - if is_error(r7) goto L11 (error at __hash__:57) else goto L7 -L7: - r8 = box(int, r7) - retval = r8 - r9 = unbox(int, retval) - if is_error(r9) goto L13 (error at __hash__:58) else goto L8 -L8: - r10 = box(int, r9) - self.__hash = r10; r11 = is_error - if not r11 goto L13 (error at __hash__:58) else goto L9 :: bool -L9: - r12 = unbox(int, retval) - dec_ref retval - if is_error(r12) goto L11 (error at __hash__:59) else goto L10 -L10: - return r12 -L11: - r13 = :: int - return r13 -L12: - dec_ref retval - goto L2 -L13: - dec_ref retval - goto L11 - -def AttributeDict.__eq__(self, other): - self :: dank_mids.helpers.hashing.AttributeDict - other, r0 :: object - r1 :: ptr - r2 :: object - r3 :: bit - r4 :: int - r5 :: dank_mids.helpers.hashing.AttributeDict - r6 :: int - r7 :: native_int - r8, r9 :: bit - r10 :: bool - r11 :: bit - r12 :: dict - r13 :: str - r14 :: object - r15 :: i32 - r16 :: bit - r17 :: bool - r18, r19 :: dict - r20 :: object - r21, r22 :: bool -L0: - r0 = dank_mids.helpers.hashing.AttributeDict :: type - r1 = get_element_ptr other ob_type :: PyObject - r2 = borrow load_mem r1 :: builtins.object* - r3 = r2 == r0 - if r3 goto L1 else goto L8 :: bool -L1: - r4 = CPyObject_Hash(self) - if is_error(r4) goto L17 (error at __eq__:63) else goto L2 -L2: - inc_ref other - r5 = cast(dank_mids.helpers.hashing.AttributeDict, other) - if is_error(r5) goto L18 (error at __eq__:63) else goto L3 -L3: - r6 = CPyObject_Hash(r5) - dec_ref r5 - if is_error(r6) goto L18 (error at __eq__:63) else goto L4 -L4: - r7 = r4 & 1 - r8 = r7 != 0 - if r8 goto L5 else goto L6 :: bool -L5: - r9 = CPyTagged_IsEq_(r4, r6) - r10 = r9 - goto L7 -L6: - r11 = r4 == r6 - r10 = r11 -L7: - dec_ref r4 :: int - dec_ref r6 :: int - return r10 -L8: - r12 = dank_mids.helpers.hashing.globals :: static - r13 = 'Mapping' - r14 = CPyDict_GetItem(r12, r13) - if is_error(r14) goto L17 (error at __eq__:64) else goto L9 -L9: - r15 = PyObject_IsInstance(other, r14) - dec_ref r14 - r16 = r15 >= 0 :: signed - if not r16 goto L17 (error at __eq__:64) else goto L10 :: bool -L10: - r17 = truncate r15: i32 to builtins.bool - if r17 goto L11 else goto L16 :: bool -L11: - r18 = self.__dict__ - if is_error(r18) goto L17 (error at __eq__:65) else goto L12 -L12: - r19 = CPyDict_FromAny(other) - if is_error(r19) goto L19 (error at __eq__:65) else goto L13 -L13: - r20 = PyObject_RichCompare(r18, r19, 2) - dec_ref r18 - dec_ref r19 - if is_error(r20) goto L17 (error at __eq__:65) else goto L14 -L14: - r21 = unbox(bool, r20) - dec_ref r20 - if is_error(r21) goto L17 (error at __eq__:65) else goto L15 -L15: - return r21 -L16: - return 0 -L17: - r22 = :: bool - return r22 -L18: - dec_ref r4 :: int - goto L17 -L19: - dec_ref r18 - goto L17 - -def AttributeDict.__setattr__(self, attr, val): - self :: dank_mids.helpers.hashing.AttributeDict - attr :: str - val :: object - r0 :: str - r1 :: bool - r2 :: object - r3 :: str - r4, r5 :: object - r6 :: object[2] - r7 :: object_ptr - r8 :: object - r9 :: str - r10 :: object - r11 :: object[2] - r12 :: object_ptr - r13 :: object - r14 :: str - r15 :: object - r16 :: str - r17 :: object - r18 :: object[1] - r19 :: object_ptr - r20 :: object - r21 :: None -L0: - r0 = '__dict__' - r1 = CPyStr_Equal(attr, r0) - if r1 goto L1 else goto L5 :: bool -L1: - r2 = builtins :: module - r3 = 'super' - r4 = CPyObject_GetAttr(r2, r3) - if is_error(r4) goto L9 (error at __setattr__:71) else goto L2 -L2: - r5 = dank_mids.helpers.hashing.AttributeDict :: type - r6 = [r5, self] - r7 = load_address r6 - r8 = PyObject_Vectorcall(r4, r7, 2, 0) - dec_ref r4 - if is_error(r8) goto L9 (error at __setattr__:71) else goto L3 -L3: - r9 = '__setattr__' - r10 = CPyObject_GetAttr(r8, r9) - dec_ref r8 - if is_error(r10) goto L9 (error at __setattr__:71) else goto L4 -L4: - r11 = [attr, val] - r12 = load_address r11 - r13 = PyObject_Vectorcall(r10, r12, 2, 0) - dec_ref r10 - if is_error(r13) goto L9 (error at __setattr__:71) else goto L10 -L5: - r14 = 'This data is immutable -- create a copy instead of modifying' - r15 = builtins :: module - r16 = 'TypeError' - r17 = CPyObject_GetAttr(r15, r16) - if is_error(r17) goto L9 (error at __setattr__:72) else goto L6 -L6: - r18 = [r14] - r19 = load_address r18 - r20 = PyObject_Vectorcall(r17, r19, 1, 0) - dec_ref r17 - if is_error(r20) goto L9 (error at __setattr__:72) else goto L7 -L7: - CPy_Raise(r20) - dec_ref r20 - if not 0 goto L9 (error at __setattr__:72) else goto L8 :: bool -L8: + inc_ref arg + goto L47 +L36: + r70 = CPy_CatchError() + r24.__mypyc_temp__4 = r70; r71 = is_error + if not r71 goto L435 (error at coroutine:-1) else goto L37 :: bool +L37: + r72 = load_address r1 + r73 = r24.__mypyc_temp__3 + if is_error(r73) goto L435 (error at coroutine:-1) else goto L38 +L38: + r74 = CPy_YieldFromErrorHandle(r73, r72) + dec_ref r73 + if is_error(r74) goto L435 (error at coroutine:156) else goto L39 +L39: + if r74 goto L42 else goto L436 :: bool +L40: + r66 = r1 + r75 = r24.__mypyc_temp__4 + if is_error(r75) goto L437 (error at coroutine:-1) else goto L41 +L41: + CPy_RestoreExcInfo(r75) + dec_ref r75 + goto L31 +L42: + r63 = r1 + dec_ref r63 + r76 = r24.__mypyc_temp__4 + if is_error(r76) goto L438 (error at coroutine:-1) else goto L43 +L43: + CPy_RestoreExcInfo(r76) + dec_ref r76 + goto L52 +L44: + r77 = r24.__mypyc_temp__4 + dec_ref r24 + if is_error(r77) goto L421 (error at coroutine:-1) else goto L45 +L45: + CPy_RestoreExcInfo(r77) + dec_ref r77 + r78 = CPy_KeepPropagating() + if not r78 goto L421 else goto L46 :: bool +L46: unreachable -L9: - r21 = :: None - return r21 -L10: - dec_ref r13 - goto L5 - -def AttributeDict.__delattr__(self, key): - self :: dank_mids.helpers.hashing.AttributeDict - key, r0 :: str - r1 :: object - r2 :: str - r3 :: object - r4 :: object[1] - r5 :: object_ptr - r6 :: object - r7 :: None -L0: - r0 = 'This data is immutable -- create a copy instead of modifying' - r1 = builtins :: module - r2 = 'TypeError' - r3 = CPyObject_GetAttr(r1, r2) - if is_error(r3) goto L4 (error at __delattr__:75) else goto L1 -L1: - r4 = [r0] - r5 = load_address r4 - r6 = PyObject_Vectorcall(r3, r5, 1, 0) - dec_ref r3 - if is_error(r6) goto L4 (error at __delattr__:75) else goto L2 -L2: - CPy_Raise(r6) - dec_ref r6 - if not 0 goto L4 (error at __delattr__:75) else goto L3 :: bool -L3: +L47: + r79 = r24.__mypyc_temp__3 + if is_error(r79) goto L439 (error at coroutine:-1) else goto L48 +L48: + r80 = CPyIter_Send(r79, arg) + dec_ref r79 + dec_ref arg + if is_error(r80) goto L50 else goto L440 +L49: + r66 = r80 + goto L31 +L50: + r81 = CPy_FetchStopIterationValue() + if is_error(r81) goto L425 (error at coroutine:156) else goto L51 +L51: + r63 = r81 + dec_ref r63 +L52: + r82 = r24.__mypyc_generator_attribute__self + if is_error(r82) goto L441 (error at coroutine:157) else goto L53 +L53: + r83 = r26.len_inputs + if is_error(r83) goto L442 (error at coroutine:157) else goto L54 +L54: + r84 = r26.get_request_data + if is_error(r84) goto L443 (error at coroutine:157) else goto L55 +L55: + r85 = r24.__mypyc_generator_attribute__args + if is_error(r85) goto L444 (error at coroutine:157) else goto L56 +L56: + r86 = dank_mids.brownie_patch.call.globals :: static + r87 = 'encode_input' + r88 = CPyDict_GetItem(r86, r87) + if is_error(r88) goto L445 (error at coroutine:157) else goto L57 +L57: + r89 = PyList_New(3) + if is_error(r89) goto L446 (error at coroutine:157) else goto L58 +L58: + r90 = box(int, r83) + r91 = get_element_ptr r89 ob_item :: PyListObject + r92 = load_mem r91 :: ptr* + set_mem r92, r82 :: builtins.object* + r93 = r92 + 8 + set_mem r93, r90 :: builtins.object* + r94 = r92 + 16 + set_mem r94, r84 :: builtins.object* + r95 = CPyList_Extend(r89, r85) + dec_ref r85 + if is_error(r95) goto L447 (error at coroutine:157) else goto L448 +L59: + r96 = PyList_AsTuple(r89) + dec_ref r89 + if is_error(r96) goto L449 (error at coroutine:157) else goto L60 +L60: + r97 = PyObject_CallObject(r88, r96) + dec_ref r88 + dec_ref r96 + if is_error(r97) goto L441 (error at coroutine:157) else goto L61 +L61: + r98 = CPy_GetCoro(r97) + dec_ref r97 + if is_error(r98) goto L441 (error at coroutine:157) else goto L62 +L62: + r24.__mypyc_temp__5 = r98; r99 = is_error + if not r99 goto L441 (error at coroutine:-1) else goto L63 :: bool +L63: + r100 = r24.__mypyc_temp__5 + if is_error(r100) goto L441 (error at coroutine:-1) else goto L64 +L64: + r101 = CPyIter_Next(r100) + dec_ref r100 + if is_error(r101) goto L65 else goto L450 +L65: + r102 = CPy_FetchStopIterationValue() + if is_error(r102) goto L441 (error at coroutine:157) else goto L66 +L66: + r103 = r102 + r104 = :: object + r24.__mypyc_temp__5 = r104; r105 = is_error + if not r105 goto L451 (error at coroutine:157) else goto L89 :: bool +L67: + r106 = r101 +L68: + r24.__mypyc_next_label__ = 2 + dec_ref r24 + return r106 +L69: + r108 = load_address _Py_NoneStruct + r109 = type != r108 + if r109 goto L70 else goto L452 :: bool +L70: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L73 (error at coroutine:157) else goto L453 :: bool +L71: unreachable -L4: - r7 = :: None - return r7 - -def AttributeDict.__getitem__(self, key): - self :: dank_mids.helpers.hashing.AttributeDict - key :: object - r0 :: dict - r1, r2 :: object -L0: - r0 = self.__dict__ - if is_error(r0) goto L3 (error at __getitem__:78) else goto L1 -L1: - r1 = CPyDict_GetItem(r0, key) - dec_ref r0 - if is_error(r1) goto L3 (error at __getitem__:78) else goto L2 -L2: - return r1 -L3: - r2 = :: object - return r2 - -def AttributeDict.__iter__(self): - self :: dank_mids.helpers.hashing.AttributeDict - r0 :: dict - r1, r2 :: object -L0: - r0 = self.__dict__ - if is_error(r0) goto L3 (error at __iter__:81) else goto L1 -L1: - r1 = PyObject_GetIter(r0) - dec_ref r0 - if is_error(r1) goto L3 (error at __iter__:81) else goto L2 -L2: - return r1 -L3: - r2 = :: object - return r2 - -def AttributeDict.__len__(self): - self :: dank_mids.helpers.hashing.AttributeDict - r0 :: dict - r1 :: native_int - r2 :: short_int - r3 :: int -L0: - r0 = self.__dict__ - if is_error(r0) goto L2 (error at __len__:84) else goto L1 -L1: - r1 = PyDict_Size(r0) - dec_ref r0 - r2 = r1 << 1 - return r2 -L2: - r3 = :: int - return r3 - -def AttributeDict.__repr__(self): - self :: dank_mids.helpers.hashing.AttributeDict - r0, r1 :: object - r2, r3, r4, r5 :: str - r6 :: dict - r7, r8 :: str - r9 :: object[3] - r10 :: object_ptr - r11 :: object - r12, r13 :: str - r14 :: list - r15, r16, r17, r18 :: ptr - r19, r20, r21 :: str -L0: - r0 = CPy_TYPE(self) - r1 = CPy_GetName(r0) - dec_ref r0 - if is_error(r1) goto L9 (error at __repr__:87) else goto L1 -L1: - r2 = cast(str, r1) - if is_error(r2) goto L9 (error at __repr__:87) else goto L2 -L2: - r3 = '' - r4 = '(' - r5 = '{!r:{}}' - r6 = self.__dict__ - if is_error(r6) goto L10 (error at __repr__:87) else goto L3 -L3: - r7 = '' - r8 = 'format' - r9 = [r5, r6, r7] - r10 = load_address r9 - r11 = PyObject_VectorcallMethod(r8, r10, 9223372036854775811, 0) - if is_error(r11) goto L11 (error at __repr__:87) else goto L4 -L4: - dec_ref r6 - r12 = cast(str, r11) - if is_error(r12) goto L10 (error at __repr__:87) else goto L5 -L5: - r13 = ')' - r14 = PyList_New(3) - if is_error(r14) goto L12 (error at __repr__:87) else goto L6 -L6: - r15 = get_element_ptr r14 ob_item :: PyListObject - r16 = load_mem r15 :: ptr* - inc_ref r4 - set_mem r16, r4 :: builtins.object* - r17 = r16 + 8 - set_mem r17, r12 :: builtins.object* - inc_ref r13 - r18 = r16 + 16 - set_mem r18, r13 :: builtins.object* - r19 = PyUnicode_Join(r3, r14) - dec_ref r14 - if is_error(r19) goto L10 (error at __repr__:87) else goto L7 -L7: - r20 = PyUnicode_Concat(r2, r19) - dec_ref r2 - dec_ref r19 - if is_error(r20) goto L9 (error at __repr__:87) else goto L8 -L8: - return r20 -L9: - r21 = :: str - return r21 -L10: - dec_ref r2 - goto L9 -L11: - dec_ref r2 - dec_ref r6 - goto L9 -L12: - dec_ref r2 - dec_ref r12 - goto L9 - -def AttributeDict._repr_pretty_(self, builder, cycle): - self :: dank_mids.helpers.hashing.AttributeDict - builder :: object - cycle :: bool - r0, r1 :: object - r2, r3, r4, r5 :: str - r6 :: object[2] - r7 :: object_ptr - r8 :: object - r9, r10 :: str - r11 :: object[2] - r12 :: object_ptr - r13 :: object - r14 :: dict - r15 :: str - r16 :: object[2] - r17 :: object_ptr - r18 :: object - r19, r20 :: str - r21 :: object[2] - r22 :: object_ptr - r23 :: object - r24 :: None -L0: - r0 = CPy_TYPE(self) - r1 = CPy_GetName(r0) - dec_ref r0 - if is_error(r1) goto L11 (error at _repr_pretty_:94) else goto L1 -L1: - r2 = cast(str, r1) - if is_error(r2) goto L11 (error at _repr_pretty_:94) else goto L2 -L2: - r3 = '(' - r4 = PyUnicode_Concat(r2, r3) - dec_ref r2 - if is_error(r4) goto L11 (error at _repr_pretty_:94) else goto L3 -L3: - r5 = 'text' - r6 = [builder, r4] - r7 = load_address r6 - r8 = PyObject_VectorcallMethod(r5, r7, 9223372036854775810, 0) - if is_error(r8) goto L12 (error at _repr_pretty_:94) else goto L13 -L4: - dec_ref r4 - if cycle goto L5 else goto L6 :: bool -L5: - r9 = '' - r10 = 'text' - r11 = [builder, r9] - r12 = load_address r11 - r13 = PyObject_VectorcallMethod(r10, r12, 9223372036854775810, 0) - if is_error(r13) goto L11 (error at _repr_pretty_:96) else goto L14 -L6: - r14 = self.__dict__ - if is_error(r14) goto L11 (error at _repr_pretty_:98) else goto L7 -L7: - r15 = 'pretty' - r16 = [builder, r14] - r17 = load_address r16 - r18 = PyObject_VectorcallMethod(r15, r17, 9223372036854775810, 0) - if is_error(r18) goto L15 (error at _repr_pretty_:98) else goto L16 -L8: - dec_ref r14 -L9: - r19 = ')' - r20 = 'text' - r21 = [builder, r19] - r22 = load_address r21 - r23 = PyObject_VectorcallMethod(r20, r22, 9223372036854775810, 0) - if is_error(r23) goto L11 (error at _repr_pretty_:99) else goto L17 -L10: - return 1 -L11: - r24 = :: None - return r24 -L12: - dec_ref r4 - goto L11 -L13: - dec_ref r8 - goto L4 -L14: - dec_ref r13 - goto L9 -L15: - dec_ref r14 - goto L11 -L16: - dec_ref r18 - goto L8 -L17: - dec_ref r23 - goto L10 - -def AttributeDict.recursive(cls, value): - cls, value :: object - r0 :: bit - r1 :: tuple - r2 :: ptr - r3 :: native_int - r4 :: tuple - r5 :: ptr - r6, r7 :: native_int - r8 :: bit - r9, r10, r11 :: object - r12 :: native_int - r13 :: bit - r14 :: list - r15 :: ptr - r16 :: native_int - r17 :: list - r18 :: native_int - r19 :: ptr - r20 :: native_int - r21 :: bit - r22, r23 :: ptr - r24 :: native_int - r25 :: ptr - r26, r27, r28 :: object - r29 :: native_int - r30 :: dict - r31 :: str - r32 :: object - r33 :: i32 - r34 :: bit - r35 :: bool - r36 :: dict - r37 :: str - r38 :: object[1] - r39 :: object_ptr - r40, r41, r42 :: object - r43 :: tuple[object, object] - r44, r45, r46, r47 :: object - r48 :: i32 - r49, r50 :: bit - r51 :: tuple - r52 :: dict - r53 :: dank_mids.helpers.hashing.AttributeDict - r54 :: bit - r55, r56 :: set - r57, r58, r59, r60 :: object - r61 :: i32 - r62, r63 :: bit - r64 :: dict - r65 :: str - r66 :: object - r67 :: i32 - r68 :: bit - r69 :: bool - r70, r71 :: object - r72 :: tuple[object, object] - r73 :: object - r74 :: i32 - r75 :: bit - r76 :: bool - r77 :: object - r78 :: list - r79, r80, r81, r82 :: object - r83 :: i32 - r84, r85 :: bit - r86 :: object - r87 :: object[1] - r88 :: object_ptr - r89, r90 :: object -L0: - r0 = PyTuple_Check(value) - if r0 goto L1 else goto L9 :: bool -L1: - inc_ref value - r1 = cast(tuple, value) - if is_error(r1) goto L56 (error at recursive:108) else goto L2 -L2: - r2 = get_element_ptr r1 ob_size :: PyVarObject - r3 = load_mem r2 :: native_int* - r4 = PyTuple_New(r3) - if is_error(r4) goto L57 (error at recursive:108) else goto L3 -L3: - r5 = get_element_ptr r1 ob_size :: PyVarObject - r6 = load_mem r5 :: native_int* - r7 = 0 -L4: - r8 = r7 < r6 :: signed - if r8 goto L5 else goto L58 :: bool -L5: - r9 = CPySequenceTuple_GetItemUnsafe(r1, r7) - r10 = dank_mids.helpers.hashing.AttributeDict :: type - r11 = AttributeDict.recursive(r10, r9) - dec_ref r9 - if is_error(r11) goto L59 (error at recursive:108) else goto L6 -L6: - CPySequenceTuple_SetItemUnsafe(r4, r7, r11) -L7: - r12 = r7 + 1 - r7 = r12 - goto L4 -L8: - return r4 -L9: - r13 = PyList_Check(value) - if r13 goto L10 else goto L18 :: bool -L10: - inc_ref value - r14 = cast(list, value) - if is_error(r14) goto L56 (error at recursive:110) else goto L11 -L11: - r15 = get_element_ptr r14 ob_size :: PyVarObject - r16 = load_mem r15 :: native_int* - r17 = PyList_New(r16) - if is_error(r17) goto L60 (error at recursive:110) else goto L12 -L12: - r18 = 0 -L13: - r19 = get_element_ptr r14 ob_size :: PyVarObject - r20 = load_mem r19 :: native_int* - r21 = r18 < r20 :: signed - if r21 goto L14 else goto L61 :: bool -L14: - r22 = get_element_ptr r14 ob_item :: PyListObject - r23 = load_mem r22 :: ptr* - r24 = r18 * 8 - r25 = r23 + r24 - r26 = load_mem r25 :: builtins.object* - r27 = dank_mids.helpers.hashing.AttributeDict :: type - r28 = AttributeDict.recursive(r27, r26) - dec_ref r26 - if is_error(r28) goto L62 (error at recursive:110) else goto L15 -L15: - CPyList_SetItemUnsafe(r17, r18, r28) -L16: - r29 = r18 + 1 - r18 = r29 - goto L13 -L17: - return r17 -L18: - r30 = dank_mids.helpers.hashing.globals :: static - r31 = 'Mapping' - r32 = CPyDict_GetItem(r30, r31) - if is_error(r32) goto L56 (error at recursive:111) else goto L19 -L19: - r33 = PyObject_IsInstance(value, r32) - dec_ref r32 - r34 = r33 >= 0 :: signed - if not r34 goto L56 (error at recursive:111) else goto L20 :: bool -L20: - r35 = truncate r33: i32 to builtins.bool - if r35 goto L21 else goto L32 :: bool -L21: - r36 = PyDict_New() - if is_error(r36) goto L56 (error at recursive:112) else goto L22 -L22: - r37 = 'items' - r38 = [value] - r39 = load_address r38 - r40 = PyObject_VectorcallMethod(r37, r39, 9223372036854775809, 0) - if is_error(r40) goto L63 (error at recursive:112) else goto L23 -L23: - r41 = PyObject_GetIter(r40) - dec_ref r40 - if is_error(r41) goto L63 (error at recursive:112) else goto L24 -L24: - r42 = PyIter_Next(r41) - if is_error(r42) goto L64 else goto L25 -L25: - r43 = unbox(tuple[object, object], r42) - dec_ref r42 - if is_error(r43) goto L65 (error at recursive:112) else goto L26 -L26: - r44 = r43[0] - r45 = r43[1] - dec_ref r43 - r46 = dank_mids.helpers.hashing.AttributeDict :: type - r47 = AttributeDict.recursive(r46, r45) - dec_ref r45 - if is_error(r47) goto L66 (error at recursive:112) else goto L27 -L27: - r48 = PyDict_SetItem(r36, r44, r47) - dec_ref r44 - dec_ref r47 - r49 = r48 >= 0 :: signed - if not r49 goto L65 (error at recursive:112) else goto L24 :: bool -L28: - r50 = CPy_NoErrOccurred() - if not r50 goto L63 (error at recursive:112) else goto L29 :: bool -L29: - r51 = CPyTuple_LoadEmptyTupleConstant() - r52 = PyDict_New() - if is_error(r52) goto L67 (error at recursive:112) else goto L30 -L30: - r53 = AttributeDict(r36, r51, r52) - dec_ref r36 - dec_ref r51 - dec_ref r52 - if is_error(r53) goto L56 (error at recursive:112) else goto L31 -L31: - return r53 -L32: - r54 = PySet_Check(value) - if r54 goto L33 else goto L41 :: bool -L33: - r55 = PySet_New(0) - if is_error(r55) goto L56 (error at recursive:114) else goto L34 -L34: - inc_ref value - r56 = cast(set, value) - if is_error(r56) goto L68 (error at recursive:114) else goto L35 -L35: - r57 = PyObject_GetIter(r56) - dec_ref r56 - if is_error(r57) goto L68 (error at recursive:114) else goto L36 -L36: - r58 = PyIter_Next(r57) - if is_error(r58) goto L69 else goto L37 -L37: - r59 = dank_mids.helpers.hashing.AttributeDict :: type - r60 = AttributeDict.recursive(r59, r58) - dec_ref r58 - if is_error(r60) goto L70 (error at recursive:114) else goto L38 -L38: - r61 = PySet_Add(r55, r60) - dec_ref r60 - r62 = r61 >= 0 :: signed - if not r62 goto L70 (error at recursive:114) else goto L36 :: bool -L39: - r63 = CPy_NoErrOccurred() - if not r63 goto L68 (error at recursive:114) else goto L40 :: bool -L40: - return r55 -L41: - r64 = dank_mids.helpers.hashing.globals :: static - r65 = 'Sequence' - r66 = CPyDict_GetItem(r64, r65) - if is_error(r66) goto L56 (error at recursive:115) else goto L42 -L42: - r67 = PyObject_IsInstance(value, r66) - dec_ref r66 - r68 = r67 >= 0 :: signed - if not r68 goto L56 (error at recursive:115) else goto L43 :: bool -L43: - r69 = truncate r67: i32 to builtins.bool - if r69 goto L44 else goto L55 :: bool -L44: - r70 = load_address PyUnicode_Type - r71 = load_address PyBytes_Type - inc_ref r70 - inc_ref r71 - r72 = (r70, r71) - r73 = box(tuple[object, object], r72) - r74 = PyObject_IsInstance(value, r73) - dec_ref r73 - r75 = r74 >= 0 :: signed - if not r75 goto L56 (error at recursive:115) else goto L45 :: bool -L45: - r76 = truncate r74: i32 to builtins.bool - if r76 goto L55 else goto L46 :: bool -L46: - r77 = CPy_TYPE(value) - r78 = PyList_New(0) - if is_error(r78) goto L71 (error at recursive:116) else goto L47 -L47: - r79 = PyObject_GetIter(value) - if is_error(r79) goto L72 (error at recursive:116) else goto L48 -L48: - r80 = PyIter_Next(r79) - if is_error(r80) goto L73 else goto L49 -L49: - r81 = dank_mids.helpers.hashing.AttributeDict :: type - r82 = AttributeDict.recursive(r81, r80) - dec_ref r80 - if is_error(r82) goto L74 (error at recursive:116) else goto L50 -L50: - r83 = PyList_Append(r78, r82) - dec_ref r82 - r84 = r83 >= 0 :: signed - if not r84 goto L74 (error at recursive:116) else goto L48 :: bool -L51: - r85 = CPy_NoErrOccurred() - if not r85 goto L72 (error at recursive:116) else goto L52 :: bool -L52: - r86 = PyObject_GetIter(r78) - dec_ref r78 - if is_error(r86) goto L71 (error at recursive:116) else goto L53 -L53: - r87 = [r86] - r88 = load_address r87 - r89 = PyObject_Vectorcall(r77, r88, 1, 0) - dec_ref r77 - if is_error(r89) goto L75 (error at recursive:116) else goto L54 -L54: - dec_ref r86 - return r89 -L55: - inc_ref value - return value -L56: - r90 = :: object - return r90 -L57: - dec_ref r1 - goto L56 -L58: - dec_ref r1 - goto L8 -L59: - dec_ref r1 - dec_ref r4 - goto L56 -L60: - dec_ref r14 - goto L56 -L61: - dec_ref r14 - goto L17 -L62: - dec_ref r14 - dec_ref r17 - goto L56 -L63: - dec_ref r36 - goto L56 -L64: - dec_ref r41 - goto L28 -L65: - dec_ref r36 - dec_ref r41 - goto L56 -L66: - dec_ref r36 - dec_ref r41 - dec_ref r44 - goto L56 -L67: - dec_ref r36 - dec_ref r51 - goto L56 -L68: - dec_ref r55 - goto L56 -L69: - dec_ref r57 - goto L39 -L70: - dec_ref r55 - dec_ref r57 - goto L56 -L71: - dec_ref r77 - goto L56 L72: - dec_ref r77 - dec_ref r78 - goto L56 + inc_ref arg + goto L84 L73: - dec_ref r79 - goto L51 + r110 = CPy_CatchError() + r24.__mypyc_temp__6 = r110; r111 = is_error + if not r111 goto L454 (error at coroutine:-1) else goto L74 :: bool L74: - dec_ref r77 - dec_ref r78 - dec_ref r79 - goto L56 + r112 = load_address r3 + r113 = r24.__mypyc_temp__5 + if is_error(r113) goto L454 (error at coroutine:-1) else goto L75 L75: - dec_ref r86 - goto L56 - -def AttributeDict.keys(self): - self :: dank_mids.helpers.hashing.AttributeDict - r0 :: dict - r1, r2 :: object -L0: - r0 = self.__dict__ - if is_error(r0) goto L3 (error at keys:120) else goto L1 -L1: - r1 = CPyDict_KeysView(r0) - dec_ref r0 - if is_error(r1) goto L3 (error at keys:120) else goto L2 -L2: - return r1 -L3: - r2 = :: object - return r2 - -def AttributeDict.values(self): - self :: dank_mids.helpers.hashing.AttributeDict - r0 :: dict - r1, r2 :: object -L0: - r0 = self.__dict__ - if is_error(r0) goto L3 (error at values:123) else goto L1 -L1: - r1 = CPyDict_ValuesView(r0) - dec_ref r0 - if is_error(r1) goto L3 (error at values:123) else goto L2 -L2: - return r1 -L3: - r2 = :: object - return r2 - -def AttributeDict.items(self): - self :: dank_mids.helpers.hashing.AttributeDict - r0 :: dict - r1, r2 :: object -L0: - r0 = self.__dict__ - if is_error(r0) goto L3 (error at items:126) else goto L1 -L1: - r1 = CPyDict_ItemsView(r0) - dec_ref r0 - if is_error(r1) goto L3 (error at items:126) else goto L2 -L2: - return r1 -L3: - r2 = :: object - return r2 - -def AttributeDict.__ne__(__mypyc_self__, rhs): - __mypyc_self__, rhs :: dank_mids.helpers.hashing.AttributeDict - r0, r1, r2 :: bool -L0: - r0 = __mypyc_self__.__eq__(rhs) - if is_error(r0) goto L2 else goto L1 -L1: - r1 = r0 ^ 1 - return r1 -L2: - r2 = :: bool - return r2 - -def tupleize_lists_nested(d): - d :: object - r0 :: dict - r1 :: str - r2 :: object[1] - r3 :: object_ptr - r4, r5, r6 :: object - r7 :: tuple[object, object] - r8, r9, r10, r11 :: object - r12 :: tuple[object, object] - r13 :: object - r14 :: i32 - r15 :: bit - r16 :: bool - r17 :: union[list, tuple] - r18 :: object - r19 :: i32 - r20, r21 :: bit - r22 :: dict - r23 :: str - r24 :: object - r25 :: i32 - r26 :: bit - r27 :: bool - r28 :: dank_mids.helpers.hashing.AttributeDict - r29 :: i32 - r30 :: bit - r31 :: dict - r32 :: str - r33 :: object - r34 :: i32 - r35 :: bit - r36 :: bool - r37, r38, r39 :: str - r40, r41 :: object - r42, r43 :: str - r44 :: object[3] - r45 :: object_ptr - r46 :: object - r47, r48, r49, r50 :: str - r51 :: object[3] - r52 :: object_ptr - r53 :: object - r54 :: list - r55, r56, r57, r58, r59 :: ptr - r60 :: str - r61 :: object - r62 :: str - r63 :: object - r64 :: object[1] - r65 :: object_ptr - r66 :: object - r67 :: i32 - r68, r69 :: bit - r70 :: tuple - r71 :: dict - r72, r73 :: dank_mids.helpers.hashing.AttributeDict -L0: - r0 = PyDict_New() - if is_error(r0) goto L33 (error at tupleize_lists_nested:136) else goto L1 -L1: - r1 = 'items' - r2 = [d] - r3 = load_address r2 - r4 = PyObject_VectorcallMethod(r1, r3, 9223372036854775809, 0) - if is_error(r4) goto L34 (error at tupleize_lists_nested:137) else goto L2 -L2: - r5 = PyObject_GetIter(r4) - dec_ref r4 - if is_error(r5) goto L34 (error at tupleize_lists_nested:137) else goto L3 -L3: - r6 = PyIter_Next(r5) - if is_error(r6) goto L35 else goto L4 -L4: - r7 = unbox(tuple[object, object], r6) - dec_ref r6 - if is_error(r7) goto L36 (error at tupleize_lists_nested:137) else goto L5 -L5: - r8 = r7[0] - r9 = r7[1] - dec_ref r7 - r10 = load_address PyList_Type - r11 = load_address PyTuple_Type - inc_ref r10 - inc_ref r11 - r12 = (r10, r11) - r13 = box(tuple[object, object], r12) - r14 = PyObject_IsInstance(r9, r13) - dec_ref r13 - r15 = r14 >= 0 :: signed - if not r15 goto L37 (error at tupleize_lists_nested:138) else goto L6 :: bool -L6: - r16 = truncate r14: i32 to builtins.bool - if r16 goto L7 else goto L10 :: bool -L7: - r17 = cast(union[list, tuple], r9) - if is_error(r17) goto L38 (error at tupleize_lists_nested:139) else goto L8 -L8: - r18 = _to_tuple(r17) - dec_ref r17 - if is_error(r18) goto L38 (error at tupleize_lists_nested:139) else goto L9 -L9: - r19 = CPyDict_SetItem(r0, r8, r18) - dec_ref r8 - dec_ref r18 - r20 = r19 >= 0 :: signed - if not r20 goto L36 (error at tupleize_lists_nested:139) else goto L3 :: bool -L10: - r21 = PyDict_Check(r9) - if r21 goto L14 else goto L11 :: bool -L11: - r22 = dank_mids.helpers.hashing.globals :: static - r23 = 'Mapping' - r24 = CPyDict_GetItem(r22, r23) - if is_error(r24) goto L37 (error at tupleize_lists_nested:140) else goto L12 -L12: - r25 = PyObject_IsInstance(r9, r24) + r114 = CPy_YieldFromErrorHandle(r113, r112) + dec_ref r113 + if is_error(r114) goto L454 (error at coroutine:157) else goto L76 +L76: + if r114 goto L79 else goto L455 :: bool +L77: + r106 = r3 + r115 = r24.__mypyc_temp__6 + if is_error(r115) goto L456 (error at coroutine:-1) else goto L78 +L78: + CPy_RestoreExcInfo(r115) + dec_ref r115 + goto L68 +L79: + r103 = r3 + r116 = r24.__mypyc_temp__6 + if is_error(r116) goto L457 (error at coroutine:-1) else goto L80 +L80: + CPy_RestoreExcInfo(r116) + dec_ref r116 + goto L89 +L81: + r117 = r24.__mypyc_temp__6 + if is_error(r117) goto L251 (error at coroutine:-1) else goto L82 +L82: + CPy_RestoreExcInfo(r117) + dec_ref r117 + r118 = CPy_KeepPropagating() + if not r118 goto L251 else goto L458 :: bool +L83: + unreachable +L84: + r119 = r24.__mypyc_temp__5 + if is_error(r119) goto L459 (error at coroutine:-1) else goto L85 +L85: + r120 = CPyIter_Send(r119, arg) + dec_ref r119 + dec_ref arg + if is_error(r120) goto L87 else goto L460 +L86: + r106 = r120 + goto L68 +L87: + r121 = CPy_FetchStopIterationValue() + if is_error(r121) goto L441 (error at coroutine:157) else goto L88 +L88: + r103 = r121 +L89: + r122 = cast(str, r103) + if is_error(r122) goto L441 (error at coroutine:157) else goto L90 +L90: + r24.__mypyc_generator_attribute__data = r122; r123 = is_error + if not r123 goto L441 (error at coroutine:157) else goto L91 :: bool +L91: + r124 = dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_CALL_SEMAPHORE :: static + if is_error(r124) goto L461 else goto L94 +L92: + r125 = raise NameError('value for final name "BROWNIE_CALL_SEMAPHORE" was not set') + if not r125 goto L251 (error at coroutine:158) else goto L462 :: bool +L93: + unreachable +L94: + r126 = r24.__mypyc_generator_attribute__block_identifier + if is_error(r126) goto L441 (error at coroutine:158) else goto L95 +L95: + r127 = PyObject_GetItem(r124, r126) + dec_ref r126 + if is_error(r127) goto L441 (error at coroutine:158) else goto L96 +L96: + r128 = CPy_TYPE(r127) + r129 = '__aexit__' + r130 = CPyObject_GetAttr(r128, r129) + if is_error(r130) goto L463 (error at coroutine:158) else goto L97 +L97: + r24.__mypyc_temp__7 = r130; r131 = is_error + if not r131 goto L463 (error at coroutine:-1) else goto L98 :: bool +L98: + r132 = '__aenter__' + r133 = CPyObject_GetAttr(r128, r132) + dec_ref r128 + if is_error(r133) goto L464 (error at coroutine:158) else goto L99 +L99: + r134 = [r127] + r135 = load_address r134 + r136 = PyObject_Vectorcall(r133, r135, 1, 0) + dec_ref r133 + if is_error(r136) goto L464 (error at coroutine:158) else goto L100 +L100: + r24.__mypyc_temp__8 = r127; r137 = is_error + if not r137 goto L465 (error at coroutine:-1) else goto L101 :: bool +L101: + r24.__mypyc_temp__9 = 1; r138 = is_error + if not r138 goto L465 (error at coroutine:-1) else goto L102 :: bool +L102: + r139 = CPy_GetCoro(r136) + dec_ref r136 + if is_error(r139) goto L441 (error at coroutine:158) else goto L103 +L103: + r24.__mypyc_temp__10 = r139; r140 = is_error + if not r140 goto L441 (error at coroutine:-1) else goto L104 :: bool +L104: + r141 = r24.__mypyc_temp__10 + if is_error(r141) goto L441 (error at coroutine:-1) else goto L105 +L105: + r142 = CPyIter_Next(r141) + dec_ref r141 + if is_error(r142) goto L106 else goto L466 +L106: + r143 = CPy_FetchStopIterationValue() + if is_error(r143) goto L441 (error at coroutine:158) else goto L107 +L107: + r144 = r143 + dec_ref r144 + r145 = :: object + r24.__mypyc_temp__10 = r145; r146 = is_error + if not r146 goto L441 (error at coroutine:158) else goto L130 :: bool +L108: + r147 = r142 +L109: + r24.__mypyc_next_label__ = 3 dec_ref r24 - r26 = r25 >= 0 :: signed - if not r26 goto L37 (error at tupleize_lists_nested:140) else goto L13 :: bool -L13: - r27 = truncate r25: i32 to builtins.bool - if r27 goto L14 else goto L16 :: bool -L14: - r28 = tupleize_lists_nested(r9) - dec_ref r9 - if is_error(r28) goto L38 (error at tupleize_lists_nested:141) else goto L15 -L15: - r29 = CPyDict_SetItem(r0, r8, r28) - dec_ref r8 - dec_ref r28 - r30 = r29 >= 0 :: signed - if not r30 goto L36 (error at tupleize_lists_nested:141) else goto L3 :: bool -L16: - r31 = dank_mids.helpers.hashing.globals :: static - r32 = 'Hashable' - r33 = CPyDict_GetItem(r31, r32) - if is_error(r33) goto L37 (error at tupleize_lists_nested:142) else goto L17 -L17: - r34 = PyObject_IsInstance(r9, r33) - dec_ref r33 - r35 = r34 >= 0 :: signed - if not r35 goto L37 (error at tupleize_lists_nested:142) else goto L18 :: bool -L18: - r36 = truncate r34: i32 to builtins.bool - if r36 goto L28 else goto L39 :: bool -L19: - r37 = '' - r38 = "Found unhashable type '" - r39 = '{:{}}' - r40 = CPy_TYPE(r9) - r41 = CPy_GetName(r40) - dec_ref r40 - if is_error(r41) goto L40 (error at tupleize_lists_nested:143) else goto L20 -L20: - r42 = '' - r43 = 'format' - r44 = [r39, r41, r42] - r45 = load_address r44 - r46 = PyObject_VectorcallMethod(r43, r45, 9223372036854775811, 0) - if is_error(r46) goto L41 (error at tupleize_lists_nested:143) else goto L21 -L21: - dec_ref r41 - r47 = "': " - r48 = '{:{}}' - r49 = '' - r50 = 'format' - r51 = [r48, r9, r49] - r52 = load_address r51 - r53 = PyObject_VectorcallMethod(r50, r52, 9223372036854775811, 0) - if is_error(r53) goto L42 (error at tupleize_lists_nested:143) else goto L22 -L22: - dec_ref r9 - r54 = PyList_New(4) - if is_error(r54) goto L43 (error at tupleize_lists_nested:143) else goto L23 -L23: - r55 = get_element_ptr r54 ob_item :: PyListObject - r56 = load_mem r55 :: ptr* - inc_ref r38 - set_mem r56, r38 :: builtins.object* - r57 = r56 + 8 - set_mem r57, r46 :: builtins.object* - inc_ref r47 - r58 = r56 + 16 - set_mem r58, r47 :: builtins.object* - r59 = r56 + 24 - set_mem r59, r53 :: builtins.object* - r60 = PyUnicode_Join(r37, r54) - dec_ref r54 - if is_error(r60) goto L33 (error at tupleize_lists_nested:143) else goto L24 -L24: - r61 = builtins :: module - r62 = 'TypeError' - r63 = CPyObject_GetAttr(r61, r62) - if is_error(r63) goto L44 (error at tupleize_lists_nested:143) else goto L25 -L25: - r64 = [r60] - r65 = load_address r64 - r66 = PyObject_Vectorcall(r63, r65, 1, 0) - dec_ref r63 - if is_error(r66) goto L44 (error at tupleize_lists_nested:143) else goto L26 -L26: - dec_ref r60 - CPy_Raise(r66) - dec_ref r66 - if not 0 goto L33 (error at tupleize_lists_nested:143) else goto L27 :: bool -L27: + return r147 +L110: + r149 = load_address _Py_NoneStruct + r150 = type != r149 + if r150 goto L111 else goto L467 :: bool +L111: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L114 (error at coroutine:158) else goto L468 :: bool +L112: unreachable -L28: - r67 = CPyDict_SetItem(r0, r8, r9) - dec_ref r8 - dec_ref r9 - r68 = r67 >= 0 :: signed - if not r68 goto L36 (error at tupleize_lists_nested:145) else goto L3 :: bool -L29: - r69 = CPy_NoErrOccurred() - if not r69 goto L34 (error at tupleize_lists_nested:137) else goto L30 :: bool -L30: - r70 = CPyTuple_LoadEmptyTupleConstant() - r71 = PyDict_New() - if is_error(r71) goto L45 (error at tupleize_lists_nested:146) else goto L31 -L31: - r72 = AttributeDict(r0, r70, r71) - dec_ref r0 - dec_ref r70 - dec_ref r71 - if is_error(r72) goto L33 (error at tupleize_lists_nested:146) else goto L32 -L32: - return r72 -L33: - r73 = :: dank_mids.helpers.hashing.AttributeDict - return r73 -L34: - dec_ref r0 - goto L33 -L35: - dec_ref r5 - goto L29 -L36: - dec_ref r0 - dec_ref r5 - goto L33 -L37: - dec_ref r0 - dec_ref r5 - dec_ref r8 - dec_ref r9 - goto L33 -L38: - dec_ref r0 - dec_ref r5 - dec_ref r8 - goto L33 -L39: - dec_ref r0 - dec_ref r5 - dec_ref r8 - goto L19 -L40: - dec_ref r9 - goto L33 -L41: - dec_ref r9 - dec_ref r41 - goto L33 -L42: - dec_ref r9 - dec_ref r46 - goto L33 -L43: - dec_ref r46 - dec_ref r53 - goto L33 -L44: - dec_ref r60 - goto L33 -L45: - dec_ref r0 - dec_ref r70 - goto L33 - -def __mypyc_singledispatch_main_function__to_tuple__(value): - value :: union[list, tuple] - r0 :: list - r1, r2, r3, r4 :: object - r5 :: tuple[object, object] - r6 :: object - r7 :: i32 - r8 :: bit - r9 :: bool - r10 :: union[list, tuple] - r11, r12 :: object - r13 :: i32 - r14, r15 :: bit - r16 :: tuple - r17 :: object -L0: - r0 = PyList_New(0) - if is_error(r0) goto L13 (error at _to_tuple:151) else goto L1 -L1: - r1 = PyObject_GetIter(value) - if is_error(r1) goto L14 (error at _to_tuple:151) else goto L2 -L2: - r2 = PyIter_Next(r1) - if is_error(r2) goto L15 else goto L3 -L3: - r3 = load_address PyList_Type - r4 = load_address PyTuple_Type - inc_ref r3 - inc_ref r4 - r5 = (r3, r4) - r6 = box(tuple[object, object], r5) - r7 = PyObject_IsInstance(r2, r6) - dec_ref r6 - r8 = r7 >= 0 :: signed - if not r8 goto L16 (error at _to_tuple:151) else goto L4 :: bool -L4: - r9 = truncate r7: i32 to builtins.bool - if r9 goto L5 else goto L8 :: bool -L5: - r10 = cast(union[list, tuple], r2) - if is_error(r10) goto L17 (error at _to_tuple:151) else goto L6 -L6: - r11 = _to_tuple(r10) - dec_ref r10 - if is_error(r11) goto L17 (error at _to_tuple:151) else goto L7 -L7: - r12 = r11 - goto L9 -L8: - r12 = r2 -L9: - r13 = PyList_Append(r0, r12) - dec_ref r12 - r14 = r13 >= 0 :: signed - if not r14 goto L17 (error at _to_tuple:151) else goto L2 :: bool -L10: - r15 = CPy_NoErrOccurred() - if not r15 goto L14 (error at _to_tuple:151) else goto L11 :: bool -L11: - r16 = PyList_AsTuple(r0) - dec_ref r0 - if is_error(r16) goto L13 (error at _to_tuple:151) else goto L12 -L12: - return r16 -L13: - r17 = :: object - return r17 -L14: - dec_ref r0 - goto L13 -L15: - dec_ref r1 - goto L10 -L16: - dec_ref r0 - dec_ref r1 - dec_ref r2 - goto L13 -L17: - dec_ref r0 - dec_ref r1 - goto L13 - -def _to_tuple_obj.__init__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers.hashing._to_tuple_obj - r0, r1 :: dict - r2 :: str - r3 :: i32 - r4 :: bit - r5 :: bool -L0: - r0 = PyDict_New() - if is_error(r0) goto L4 else goto L1 -L1: - __mypyc_self__.registry = r0 - r1 = PyDict_New() - if is_error(r1) goto L4 else goto L2 -L2: - r2 = 'dispatch_cache' - r3 = PyObject_SetAttr(__mypyc_self__, r2, r1) - dec_ref r1 - r4 = r3 >= 0 :: signed - if not r4 goto L4 else goto L3 :: bool -L3: - return 1 -L4: - r5 = :: bool - return r5 - -def _to_tuple_obj.__call__(__mypyc_self__, value): - __mypyc_self__ :: dank_mids.helpers.hashing._to_tuple_obj - value :: union[list, tuple] - r0 :: ptr - r1 :: object - r2 :: dict - r3, r4 :: object - r5 :: bit - r6, r7 :: object - r8 :: str - r9 :: object - r10 :: dict - r11 :: object[2] - r12 :: object_ptr - r13 :: object - r14 :: i32 - r15 :: bit - r16 :: object - r17 :: ptr - r18 :: object - r19 :: bit - r20 :: int - r21 :: bit - r22 :: list - r23 :: object - r24 :: bit - r25 :: tuple - r26 :: object - r27 :: object[1] - r28 :: object_ptr - r29, r30 :: object -L0: - r0 = get_element_ptr value ob_type :: PyObject - r1 = borrow load_mem r0 :: builtins.object* - r2 = __mypyc_self__.dispatch_cache - if is_error(r2) goto L21 (error at _to_tuple:150) else goto L1 -L1: - r3 = CPyDict_GetWithNone(r2, r1) - if is_error(r3) goto L22 (error at _to_tuple:150) else goto L2 -L2: - r4 = load_address _Py_NoneStruct - r5 = r3 != r4 - if r5 goto L23 else goto L24 :: bool -L3: - r6 = r3 - goto L8 -L4: - r7 = functools :: module - r8 = '_find_impl' - r9 = CPyObject_GetAttr(r7, r8) - if is_error(r9) goto L22 (error at _to_tuple:150) else goto L5 -L5: - r10 = __mypyc_self__.registry - r11 = [r1, r10] - r12 = load_address r11 - r13 = PyObject_Vectorcall(r9, r12, 2, 0) - dec_ref r9 - if is_error(r13) goto L25 (error at _to_tuple:150) else goto L6 -L6: - dec_ref r10 - r14 = PyDict_SetItem(r2, r1, r13) - dec_ref r2 - r15 = r14 >= 0 :: signed - if not r15 goto L26 (error at _to_tuple:150) else goto L7 :: bool -L7: - r6 = r13 -L8: - r16 = load_address PyLong_Type - r17 = get_element_ptr r6 ob_type :: PyObject - r18 = borrow load_mem r17 :: builtins.object* - r19 = r18 == r16 - if r19 goto L9 else goto L19 :: bool -L9: - r20 = unbox(int, r6) - dec_ref r6 - if is_error(r20) goto L21 (error at _to_tuple:150) else goto L10 -L10: - r21 = r20 == 0 - if r21 goto L27 else goto L14 :: bool -L11: - inc_ref value - r22 = cast(list, value) - if is_error(r22) goto L21 (error at _to_tuple:150) else goto L12 -L12: - r23 = _(r22) - dec_ref r22 - if is_error(r23) goto L21 (error at _to_tuple:150) else goto L13 -L13: - return r23 -L14: - r24 = r20 == 2 - dec_ref r20 :: int - if r24 goto L15 else goto L18 :: bool -L15: - inc_ref value - r25 = cast(tuple, value) - if is_error(r25) goto L21 (error at _to_tuple:150) else goto L16 -L16: - r26 = _(r25) - dec_ref r25 - if is_error(r26) goto L21 (error at _to_tuple:150) else goto L17 -L17: - return r26 -L18: +L113: + inc_ref arg + goto L125 +L114: + r151 = CPy_CatchError() + r24.__mypyc_temp__11 = r151; r152 = is_error + if not r152 goto L469 (error at coroutine:-1) else goto L115 :: bool +L115: + r153 = load_address r5 + r154 = r24.__mypyc_temp__10 + if is_error(r154) goto L469 (error at coroutine:-1) else goto L116 +L116: + r155 = CPy_YieldFromErrorHandle(r154, r153) + dec_ref r154 + if is_error(r155) goto L469 (error at coroutine:158) else goto L117 +L117: + if r155 goto L120 else goto L470 :: bool +L118: + r147 = r5 + r156 = r24.__mypyc_temp__11 + if is_error(r156) goto L471 (error at coroutine:-1) else goto L119 +L119: + CPy_RestoreExcInfo(r156) + dec_ref r156 + goto L109 +L120: + r144 = r5 + dec_ref r144 + r157 = r24.__mypyc_temp__11 + if is_error(r157) goto L472 (error at coroutine:-1) else goto L121 +L121: + CPy_RestoreExcInfo(r157) + dec_ref r157 + goto L130 +L122: + r158 = r24.__mypyc_temp__11 + if is_error(r158) goto L251 (error at coroutine:-1) else goto L123 +L123: + CPy_RestoreExcInfo(r158) + dec_ref r158 + r159 = CPy_KeepPropagating() + if not r159 goto L251 else goto L473 :: bool +L124: unreachable -L19: - r27 = [value] - r28 = load_address r27 - r29 = PyObject_Vectorcall(r6, r28, 1, 0) - dec_ref r6 - if is_error(r29) goto L21 (error at _to_tuple:150) else goto L20 -L20: - return r29 -L21: - r30 = :: object - return r30 -L22: - dec_ref r2 - goto L21 -L23: - dec_ref r2 - goto L3 -L24: - dec_ref r3 - goto L4 -L25: - dec_ref r2 - dec_ref r10 - goto L21 -L26: - dec_ref r13 - goto L21 -L27: - dec_ref r20 :: int - goto L11 - -def _to_tuple_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 _to_tuple_obj.register(__mypyc_self__, cls, func): - __mypyc_self__ :: dank_mids.helpers.hashing._to_tuple_obj - cls, func, r0, r1 :: object -L0: - r0 = CPySingledispatch_RegisterFunction(__mypyc_self__, cls, func) - if is_error(r0) goto L2 else goto L1 -L1: - return r0 -L2: - r1 = :: object - return r1 - -def _to_tuple(value): - value :: union[list, tuple] - r0 :: dict - r1 :: str - r2, r3, r4 :: object -L0: - r0 = dank_mids.helpers.hashing.globals :: static - r1 = '_to_tuple' - r2 = CPyDict_GetItem(r0, r1) - if is_error(r2) goto L3 else goto L1 -L1: - r3 = _to_tuple_obj.__call__(r2, value) - dec_ref r2 - if is_error(r3) goto L3 else goto L2 -L2: - return r3 -L3: - r4 = :: object - return r4 - -def _(value): - value :: list - r0 :: ptr - r1 :: native_int - r2 :: tuple - r3 :: native_int - r4 :: ptr - r5 :: native_int - r6 :: bit - r7, r8 :: ptr - r9 :: native_int - r10 :: ptr - r11, r12, r13 :: object - r14 :: tuple[object, object] - r15 :: object - r16 :: i32 - r17 :: bit - r18 :: bool - r19 :: union[list, tuple] - r20, r21 :: object - r22 :: native_int - r23 :: object -L0: - r0 = get_element_ptr value ob_size :: PyVarObject - r1 = load_mem r0 :: native_int* - r2 = PyTuple_New(r1) - if is_error(r2) goto L12 (error at _:156) else goto L1 -L1: - r3 = 0 -L2: - r4 = get_element_ptr value ob_size :: PyVarObject - r5 = load_mem r4 :: native_int* - r6 = r3 < r5 :: signed - if r6 goto L3 else goto L11 :: bool -L3: - r7 = get_element_ptr value ob_item :: PyListObject - r8 = load_mem r7 :: ptr* - r9 = r3 * 8 - r10 = r8 + r9 - r11 = load_mem r10 :: builtins.object* - r12 = load_address PyList_Type - r13 = load_address PyTuple_Type - inc_ref r12 - inc_ref r13 - r14 = (r12, r13) - r15 = box(tuple[object, object], r14) - r16 = PyObject_IsInstance(r11, r15) - dec_ref r15 - r17 = r16 >= 0 :: signed - if not r17 goto L13 (error at _:156) else goto L4 :: bool -L4: - r18 = truncate r16: i32 to builtins.bool - if r18 goto L5 else goto L8 :: bool -L5: - r19 = cast(union[list, tuple], r11) - if is_error(r19) goto L14 (error at _:156) else goto L6 -L6: - r20 = _to_tuple(r19) - dec_ref r19 - if is_error(r20) goto L14 (error at _:156) else goto L7 -L7: - r21 = r20 - goto L9 -L8: - r21 = r11 -L9: - CPySequenceTuple_SetItemUnsafe(r2, r3, r21) -L10: - r22 = r3 + 1 - r3 = r22 - goto L2 -L11: - return r2 -L12: - r23 = :: object - return r23 -L13: - dec_ref r2 - dec_ref r11 - goto L12 -L14: - dec_ref r2 - goto L12 - -def _(value): - value :: tuple - r0 :: ptr - r1 :: native_int - r2 :: tuple - r3 :: ptr - r4, r5 :: native_int - r6 :: bit - r7, r8, r9 :: object - r10 :: tuple[object, object] - r11 :: object - r12 :: i32 - r13 :: bit - r14 :: bool - r15 :: union[list, tuple] - r16, r17 :: object - r18 :: native_int - r19 :: object -L0: - r0 = get_element_ptr value ob_size :: PyVarObject - r1 = load_mem r0 :: native_int* - r2 = PyTuple_New(r1) - if is_error(r2) goto L12 (error at _:161) else goto L1 -L1: - r3 = get_element_ptr value ob_size :: PyVarObject - r4 = load_mem r3 :: native_int* - r5 = 0 -L2: - r6 = r5 < r4 :: signed - if r6 goto L3 else goto L11 :: bool -L3: - r7 = CPySequenceTuple_GetItemUnsafe(value, r5) - r8 = load_address PyList_Type - r9 = load_address PyTuple_Type - inc_ref r8 - inc_ref r9 - r10 = (r8, r9) - r11 = box(tuple[object, object], r10) - r12 = PyObject_IsInstance(r7, r11) - dec_ref r11 - r13 = r12 >= 0 :: signed - if not r13 goto L13 (error at _:161) else goto L4 :: bool -L4: - r14 = truncate r12: i32 to builtins.bool - if r14 goto L5 else goto L8 :: bool -L5: - r15 = cast(union[list, tuple], r7) - if is_error(r15) goto L14 (error at _:161) else goto L6 -L6: - r16 = _to_tuple(r15) - dec_ref r15 - if is_error(r16) goto L14 (error at _:161) else goto L7 -L7: - r17 = r16 - goto L9 -L8: - r17 = r7 -L9: - CPySequenceTuple_SetItemUnsafe(r2, r5, r17) -L10: - r18 = r5 + 1 - r5 = r18 - goto L2 -L11: - return r2 -L12: - r19 = :: object - return r19 -L13: - dec_ref r2 - dec_ref r7 - goto L12 -L14: - dec_ref r2 - goto L12 - -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 :: object - r23 :: str - r24 :: dict - r25 :: str - r26 :: object - r27 :: dict - r28 :: str - r29 :: object - r30 :: object[2] - r31 :: object_ptr - r32, r33 :: object - r34 :: dict - r35 :: str - r36 :: i32 - r37 :: bit - r38 :: str - r39 :: dict - r40 :: str - r41 :: object - r42 :: object[1] - r43 :: object_ptr - r44 :: object - r45 :: dict - r46 :: str - r47 :: i32 - r48 :: bit - r49 :: dict - r50 :: str - r51 :: object - r52 :: dict - r53 :: str - r54 :: object - r55 :: dict - r56 :: str - r57 :: object - r58 :: tuple[object, object] - r59, r60 :: object - r61 :: dict - r62 :: str - r63 :: object - r64 :: tuple - r65 :: str - r66, r67 :: object - r68 :: bool - r69, r70, r71, r72 :: str - r73 :: tuple - r74 :: i32 - r75 :: bit - r76 :: dict - r77 :: str - r78 :: i32 - r79 :: bit - r80 :: dank_mids.helpers.hashing._to_tuple_obj - _to_tuple :: object - r81 :: dict - r82 :: str - r83 :: i32 - r84 :: bit - r85 :: dict - r86 :: str - r87, r88 :: object - r89 :: str - r90 :: object - r91, r92 :: dict - r93 :: str - r94 :: object - r95 :: str - r96 :: i32 - r97 :: bit - r98 :: object - r99 :: dict - r100 :: str - r101 :: object - r102 :: str - r103, r104 :: object - r105 :: dict - r106 :: i32 - r107 :: bit - r108 :: str - r109 :: object - r110 :: str - r111 :: object[1] - r112 :: object_ptr - r113, r114 :: object - r115 :: dict - r116 :: str - r117 :: object - r118 :: str - r119, r120 :: object - r121 :: dict - r122 :: i32 - r123 :: bit - r124 :: str - r125 :: object - r126 :: str - r127 :: object[1] - r128 :: object_ptr - r129 :: object - r130 :: 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 L44 (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.helpers.hashing.globals :: static - r12 = 'dank_mids\\helpers\\hashing.py' - r13 = '' - r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) - if not r14 goto L44 else goto L4 :: bool -L4: - r15 = ('Hashable',) - r16 = 'collections.abc' - r17 = dank_mids.helpers.hashing.globals :: static - r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) - if is_error(r18) goto L44 (error at :2) else goto L5 -L5: - collections.abc = r18 :: module - dec_ref r18 - r19 = ('Any', 'Dict', 'Final', 'ItemsView', 'Iterator', 'KeysView', 'List', 'Mapping', 'Optional', 'Sequence', 'Tuple', 'TypeVar', 'Union', 'ValuesView', 'final') - r20 = 'typing' - r21 = dank_mids.helpers.hashing.globals :: static - r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) - if is_error(r22) goto L44 (error at :3) else goto L6 -L6: - typing = r22 :: module - dec_ref r22 - r23 = 'TKey' - r24 = dank_mids.helpers.hashing.globals :: static - r25 = 'Hashable' - r26 = CPyDict_GetItem(r24, r25) - if is_error(r26) goto L44 (error at :22) else goto L7 -L7: - r27 = dank_mids.helpers.hashing.globals :: static - r28 = 'TypeVar' - r29 = CPyDict_GetItem(r27, r28) - if is_error(r29) goto L45 (error at :22) else goto L8 -L8: - r30 = [r23, r26] - r31 = load_address r30 - r32 = ('bound',) - r33 = PyObject_Vectorcall(r29, r31, 1, r32) - dec_ref r29 - if is_error(r33) goto L45 (error at :22) else goto L9 -L9: - dec_ref r26 - r34 = dank_mids.helpers.hashing.globals :: static - r35 = 'TKey' - r36 = CPyDict_SetItem(r34, r35, r33) - dec_ref r33 - r37 = r36 >= 0 :: signed - if not r37 goto L44 (error at :22) else goto L10 :: bool -L10: - r38 = 'TValue' - r39 = dank_mids.helpers.hashing.globals :: static - r40 = 'TypeVar' - r41 = CPyDict_GetItem(r39, r40) - if is_error(r41) goto L44 (error at :23) else goto L11 -L11: - r42 = [r38] - r43 = load_address r42 - r44 = PyObject_Vectorcall(r41, r43, 1, 0) - dec_ref r41 - if is_error(r44) goto L44 (error at :23) else goto L12 -L12: - r45 = dank_mids.helpers.hashing.globals :: static - r46 = 'TValue' - r47 = CPyDict_SetItem(r45, r46, r44) - dec_ref r44 - r48 = r47 >= 0 :: signed - if not r48 goto L44 (error at :23) else goto L13 :: bool -L13: - r49 = dank_mids.helpers.hashing.globals :: static - r50 = 'Mapping' - r51 = CPyDict_GetItem(r49, r50) - if is_error(r51) goto L44 (error at :44) else goto L14 -L14: - r52 = dank_mids.helpers.hashing.globals :: static - r53 = 'TKey' - r54 = CPyDict_GetItem(r52, r53) - if is_error(r54) goto L46 (error at :44) else goto L15 -L15: - r55 = dank_mids.helpers.hashing.globals :: static - r56 = 'TValue' - r57 = CPyDict_GetItem(r55, r56) - if is_error(r57) goto L47 (error at :44) else goto L16 -L16: - r58 = (r54, r57) - r59 = box(tuple[object, object], r58) - r60 = PyObject_GetItem(r51, r59) - dec_ref r51 - dec_ref r59 - if is_error(r60) goto L44 (error at :44) else goto L17 -L17: - r61 = dank_mids.helpers.hashing.globals :: static - r62 = 'Hashable' - r63 = CPyDict_GetItem(r61, r62) - if is_error(r63) goto L48 (error at :44) else goto L18 -L18: - r64 = PyTuple_Pack(2, r60, r63) - dec_ref r60 - dec_ref r63 - if is_error(r64) goto L44 (error at :44) else goto L19 -L19: - r65 = 'dank_mids.helpers.hashing' - r66 = dank_mids.helpers.hashing.AttributeDict_template :: type - r67 = CPyType_FromTemplate(r66, r64, r65) - dec_ref r64 - if is_error(r67) goto L44 (error at :44) else goto L20 -L20: - r68 = AttributeDict_trait_vtable_setup() - if is_error(r68) goto L49 (error at :-1) else goto L21 -L21: - r69 = '__mypyc_attrs__' - r70 = '__dict__' - r71 = '__hash' - r72 = '__dict__' - r73 = PyTuple_Pack(3, r70, r71, r72) - if is_error(r73) goto L49 (error at :44) else goto L22 -L22: - r74 = PyObject_SetAttr(r67, r69, r73) - dec_ref r73 - r75 = r74 >= 0 :: signed - if not r75 goto L49 (error at :44) else goto L23 :: bool -L23: - dank_mids.helpers.hashing.AttributeDict = r67 :: type - r76 = dank_mids.helpers.hashing.globals :: static - r77 = 'AttributeDict' - r78 = PyDict_SetItem(r76, r77, r67) - dec_ref r67 - r79 = r78 >= 0 :: signed - if not r79 goto L44 (error at :44) else goto L24 :: bool -L24: - r80 = _to_tuple_obj() - if is_error(r80) goto L44 (error at :150) else goto L25 -L25: - inc_ref r80 - _to_tuple = r80 - dec_ref _to_tuple - r81 = dank_mids.helpers.hashing.globals :: static - r82 = '_to_tuple' - r83 = PyDict_SetItem(r81, r82, r80) - dec_ref r80 - r84 = r83 >= 0 :: signed - if not r84 goto L44 (error at :150) else goto L26 :: bool -L26: - r85 = dank_mids.helpers.hashing.globals :: static - r86 = '__mypyc_singledispatch_main_function__to_tuple__' - r87 = CPyDict_GetItem(r85, r86) - if is_error(r87) goto L44 (error at :150) else goto L27 -L27: - r88 = builtins :: module - r89 = 'object' - r90 = CPyObject_GetAttr(r88, r89) - if is_error(r90) goto L50 (error at :150) else goto L28 -L28: - r91 = CPyDict_Build(1, r90, r87) - dec_ref r90 - dec_ref r87 - if is_error(r91) goto L44 (error at :150) else goto L29 -L29: - r92 = dank_mids.helpers.hashing.globals :: static - r93 = '_to_tuple' - r94 = CPyDict_GetItem(r92, r93) - if is_error(r94) goto L51 (error at :150) else goto L30 -L30: - r95 = 'registry' - r96 = PyObject_SetAttr(r94, r95, r91) - dec_ref r94 - dec_ref r91 - r97 = r96 >= 0 :: signed - if not r97 goto L44 (error at :150) else goto L31 :: bool -L31: - r98 = object 0 - r99 = dank_mids.helpers.hashing.globals :: static - r100 = '_to_tuple' - r101 = CPyDict_GetItem(r99, r100) - if is_error(r101) goto L44 (error at :155) else goto L32 -L32: - r102 = 'registry' - r103 = CPyObject_GetAttr(r101, r102) - if is_error(r103) goto L52 (error at :155) else goto L33 -L33: - r104 = load_address PyList_Type - r105 = cast(dict, r103) - if is_error(r105) goto L52 (error at :155) else goto L34 -L34: - r106 = PyDict_SetItem(r105, r104, r98) - dec_ref r105 - r107 = r106 >= 0 :: signed - if not r107 goto L52 (error at :155) else goto L35 :: bool -L35: - r108 = 'dispatch_cache' - r109 = CPyObject_GetAttr(r101, r108) - dec_ref r101 - if is_error(r109) goto L44 (error at :155) else goto L36 -L36: - r110 = 'clear' - r111 = [r109] - r112 = load_address r111 - r113 = PyObject_VectorcallMethod(r110, r112, 9223372036854775809, 0) - if is_error(r113) goto L53 (error at :155) else goto L54 -L37: - dec_ref r109 - r114 = object 1 - r115 = dank_mids.helpers.hashing.globals :: static - r116 = '_to_tuple' - r117 = CPyDict_GetItem(r115, r116) - if is_error(r117) goto L44 (error at :160) else goto L38 -L38: - r118 = 'registry' - r119 = CPyObject_GetAttr(r117, r118) - if is_error(r119) goto L55 (error at :160) else goto L39 -L39: - r120 = load_address PyTuple_Type - r121 = cast(dict, r119) - if is_error(r121) goto L55 (error at :160) else goto L40 -L40: - r122 = PyDict_SetItem(r121, r120, r114) - dec_ref r121 - r123 = r122 >= 0 :: signed - if not r123 goto L55 (error at :160) else goto L41 :: bool -L41: - r124 = 'dispatch_cache' - r125 = CPyObject_GetAttr(r117, r124) - dec_ref r117 - if is_error(r125) goto L44 (error at :160) else goto L42 -L42: - r126 = 'clear' - r127 = [r125] - r128 = load_address r127 - r129 = PyObject_VectorcallMethod(r126, r128, 9223372036854775809, 0) - if is_error(r129) goto L56 (error at :160) else goto L57 -L43: - dec_ref r125 - return 1 -L44: - r130 = :: None - return r130 -L45: +L125: + r160 = r24.__mypyc_temp__10 + if is_error(r160) goto L474 (error at coroutine:-1) else goto L126 +L126: + r161 = CPyIter_Send(r160, arg) + dec_ref r160 + dec_ref arg + if is_error(r161) goto L128 else goto L475 +L127: + r147 = r161 + goto L109 +L128: + r162 = CPy_FetchStopIterationValue() + if is_error(r162) goto L441 (error at coroutine:158) else goto L129 +L129: + r144 = r162 + dec_ref r144 +L130: + r163 = r26.w3 dec_ref r26 - goto L44 -L46: - dec_ref r51 - goto L44 -L47: - dec_ref r51 - dec_ref r54 - goto L44 -L48: - dec_ref r60 - goto L44 -L49: - dec_ref r67 - goto L44 -L50: - dec_ref r87 - goto L44 -L51: - dec_ref r91 - goto L44 -L52: - dec_ref r101 - goto L44 -L53: - dec_ref r109 - goto L44 -L54: - dec_ref r113 - goto L37 -L55: - dec_ref r117 - goto L44 -L56: - dec_ref r125 - goto L44 -L57: - dec_ref r129 - goto L43 - -def coroutine_DankOverloadedMethod_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): - __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen - type, value, traceback, arg :: object - stop_iter_ptr :: object_ptr - r0, r1 :: object - r2 :: i32 - r3 :: object - r4 :: bit - r5 :: dank_mids.brownie_patch.types.DankOverloadedMethod - r6 :: tuple - r7 :: str - r8 :: object[2] - r9 :: object_ptr - r10 :: object - r11 :: union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx] - r12 :: bool - r13 :: union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx] - r14 :: tuple - r15, r16 :: union[int, None] - r17 :: union[dict, None] - r18 :: str - r19 :: object - r20 :: list - r21 :: object - r22, r23, r24 :: str - r25 :: tuple - r26 :: dict - r27, r28 :: object - r29 :: bool - r30, r31, r32, r33, r34 :: object - r35 :: bool - r36 :: object - r37 :: bool - r38 :: object - r39 :: bit - r40 :: tuple[object, object, object] - r41 :: bool - r42 :: object_ptr - r43 :: object - r44 :: bool - r45, r46, r47 :: tuple[object, object, object] - r48 :: bit - r49, r50, r51 :: object - r52 :: bool - r53, r54 :: bit - r55 :: bool - r56 :: object -L0: - r0 = :: object - r1 = r0 - r2 = __mypyc_self__.__mypyc_next_label__ - goto L53 -L1: - r3 = load_address _Py_NoneStruct - r4 = type != r3 - if r4 goto L2 else goto L4 :: bool -L2: + if is_error(r163) goto L167 (error at coroutine:159) else goto L131 +L131: + r164 = 'eth' + r165 = CPyObject_GetAttr(r163, r164) + dec_ref r163 + if is_error(r165) goto L167 (error at coroutine:159) else goto L132 +L132: + r166 = 'to' + r167 = r24.__mypyc_generator_attribute__self + if is_error(r167) goto L476 (error at coroutine:159) else goto L133 +L133: + r168 = '_address' + r169 = CPyObject_GetAttr(r167, r168) + dec_ref r167 + if is_error(r169) goto L476 (error at coroutine:159) else goto L134 +L134: + r170 = 'data' + r171 = r24.__mypyc_generator_attribute__data + if is_error(r171) goto L477 (error at coroutine:159) else goto L135 +L135: + r172 = CPyDict_Build(2, r166, r169, r170, r171) + dec_ref r169 + dec_ref r171 + if is_error(r172) goto L476 (error at coroutine:159) else goto L136 +L136: + r173 = r24.__mypyc_generator_attribute__block_identifier + if is_error(r173) goto L478 (error at coroutine:159) else goto L137 +L137: + r174 = 'call' + r175 = [r165, r172, r173] + r176 = load_address r175 + r177 = PyObject_VectorcallMethod(r174, r176, 9223372036854775811, 0) + if is_error(r177) goto L479 (error at coroutine:159) else goto L138 +L138: + dec_ref r165 + dec_ref r172 + dec_ref r173 + r178 = CPy_GetCoro(r177) + dec_ref r177 + if is_error(r178) goto L167 (error at coroutine:159) else goto L139 +L139: + r24.__mypyc_temp__12 = r178; r179 = is_error + if not r179 goto L167 (error at coroutine:-1) else goto L140 :: bool +L140: + r180 = r24.__mypyc_temp__12 + if is_error(r180) goto L167 (error at coroutine:-1) else goto L141 +L141: + r181 = CPyIter_Next(r180) + dec_ref r180 + if is_error(r181) goto L142 else goto L144 +L142: + r182 = CPy_FetchStopIterationValue() + if is_error(r182) goto L167 (error at coroutine:159) else goto L143 +L143: + r183 = r182 + r184 = :: object + r24.__mypyc_temp__12 = r184; r185 = is_error + if not r185 goto L480 (error at coroutine:159) else goto L166 :: bool +L144: + r186 = r181 +L145: + r24.__mypyc_next_label__ = 4 + dec_ref r24 + return r186 +L146: + r188 = load_address _Py_NoneStruct + r189 = type != r188 + if r189 goto L147 else goto L481 :: bool +L147: CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L57 (error at coroutine:57) else goto L3 :: bool -L3: + if not 0 goto L150 (error at coroutine:159) else goto L482 :: bool +L148: unreachable -L4: - r5 = __mypyc_self__.__mypyc_generator_attribute__self - if is_error(r5) goto L57 (error at coroutine:75) else goto L5 -L5: - r6 = __mypyc_self__.__mypyc_generator_attribute__args - if is_error(r6) goto L58 (error at coroutine:75) else goto L6 -L6: - r7 = '_get_fn_from_args' - r8 = [r5, r6] - r9 = load_address r8 - r10 = PyObject_VectorcallMethod(r7, r9, 9223372036854775810, 0) - if is_error(r10) goto L59 (error at coroutine:75) else goto L7 -L7: - dec_ref r5 - dec_ref r6 - r11 = cast(union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx], r10) - if is_error(r11) goto L57 (error at coroutine:75) else goto L8 -L8: - __mypyc_self__.__mypyc_generator_attribute__call = r11; r12 = is_error - if not r12 goto L57 (error at coroutine:75) else goto L9 :: bool -L9: - r13 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r13) goto L57 (error at coroutine:76) else goto L10 -L10: - r14 = __mypyc_self__.__mypyc_generator_attribute__args - if is_error(r14) goto L60 (error at coroutine:77) else goto L11 -L11: - r15 = __mypyc_self__.__mypyc_generator_attribute__block_identifier - if is_error(r15) goto L61 (error at coroutine:77) else goto L12 -L12: - r16 = __mypyc_self__.__mypyc_generator_attribute__decimals - if is_error(r16) goto L62 (error at coroutine:77) else goto L13 -L13: - r17 = __mypyc_self__.__mypyc_generator_attribute__override - if is_error(r17) goto L63 (error at coroutine:77) else goto L14 -L14: - r18 = 'coroutine' - r19 = CPyObject_GetAttr(r13, r18) - dec_ref r13 - if is_error(r19) goto L64 (error at coroutine:76) else goto L15 -L15: - r20 = PyList_New(0) - if is_error(r20) goto L65 (error at coroutine:76) else goto L16 -L16: - r21 = CPyList_Extend(r20, r14) - dec_ref r14 - if is_error(r21) goto L66 (error at coroutine:76) else goto L67 -L17: - r22 = 'block_identifier' - r23 = 'decimals' - r24 = 'override' - r25 = PyList_AsTuple(r20) - dec_ref r20 - if is_error(r25) goto L68 (error at coroutine:76) else goto L18 -L18: - r26 = CPyDict_Build(3, r22, r15, r23, r16, r24, r17) - dec_ref r15 - dec_ref r16 - dec_ref r17 - if is_error(r26) goto L69 (error at coroutine:76) else goto L19 -L19: - r27 = PyObject_Call(r19, r25, r26) - dec_ref r19 - dec_ref r25 - dec_ref r26 - if is_error(r27) goto L57 (error at coroutine:76) else goto L20 -L20: - r28 = CPy_GetCoro(r27) - dec_ref r27 - if is_error(r28) goto L57 (error at coroutine:76) else goto L21 -L21: - __mypyc_self__.__mypyc_temp__0 = r28; r29 = is_error - if not r29 goto L57 (error at coroutine:-1) else goto L22 :: bool -L22: - r30 = __mypyc_self__.__mypyc_temp__0 - if is_error(r30) goto L57 (error at coroutine:-1) else goto L23 -L23: - r31 = CPyIter_Next(r30) - dec_ref r30 - if is_error(r31) goto L24 else goto L26 -L24: - r32 = CPy_FetchStopIterationValue() - if is_error(r32) goto L57 (error at coroutine:76) else goto L25 -L25: - r33 = r32 - r34 = :: object - __mypyc_self__.__mypyc_temp__0 = r34; r35 = is_error - if not r35 goto L70 (error at coroutine:76) else goto L48 :: bool -L26: - r36 = r31 -L27: - __mypyc_self__.__mypyc_next_label__ = 1 - return r36 -L28: - r38 = load_address _Py_NoneStruct - r39 = type != r38 - if r39 goto L29 else goto L71 :: bool -L29: +L149: + inc_ref arg + goto L161 +L150: + r190 = CPy_CatchError() + r24.__mypyc_temp__13 = r190; r191 = is_error + if not r191 goto L483 (error at coroutine:-1) else goto L151 :: bool +L151: + r192 = load_address r7 + r193 = r24.__mypyc_temp__12 + if is_error(r193) goto L483 (error at coroutine:-1) else goto L152 +L152: + r194 = CPy_YieldFromErrorHandle(r193, r192) + dec_ref r193 + if is_error(r194) goto L483 (error at coroutine:159) else goto L153 +L153: + if r194 goto L156 else goto L154 :: bool +L154: + r186 = r7 + r195 = r24.__mypyc_temp__13 + if is_error(r195) goto L484 (error at coroutine:-1) else goto L155 +L155: + CPy_RestoreExcInfo(r195) + dec_ref r195 + goto L145 +L156: + r183 = r7 + r196 = r24.__mypyc_temp__13 + if is_error(r196) goto L485 (error at coroutine:-1) else goto L157 +L157: + CPy_RestoreExcInfo(r196) + dec_ref r196 + goto L166 +L158: + r197 = r24.__mypyc_temp__13 + if is_error(r197) goto L167 (error at coroutine:-1) else goto L159 +L159: + CPy_RestoreExcInfo(r197) + dec_ref r197 + r198 = CPy_KeepPropagating() + if not r198 goto L167 else goto L486 :: bool +L160: + unreachable +L161: + r199 = r24.__mypyc_temp__12 + if is_error(r199) goto L487 (error at coroutine:-1) else goto L162 +L162: + r200 = CPyIter_Send(r199, arg) + dec_ref r199 + dec_ref arg + if is_error(r200) goto L164 else goto L163 +L163: + r186 = r200 + goto L145 +L164: + r201 = CPy_FetchStopIterationValue() + if is_error(r201) goto L167 (error at coroutine:159) else goto L165 +L165: + r183 = r201 +L166: + r24.__mypyc_generator_attribute__output = r183; r202 = is_error + if not r202 goto L167 (error at coroutine:159) else goto L209 :: bool +L167: + r203 = CPy_CatchError() + r24.__mypyc_temp__14 = r203; r204 = is_error + if not r204 goto L206 (error at coroutine:-1) else goto L168 :: bool +L168: + r24.__mypyc_temp__9 = 0; r205 = is_error + if not r205 goto L206 (error at coroutine:158) else goto L169 :: bool +L169: + r206 = CPy_GetExcInfo() + r207 = r206[0] + r208 = r206[1] + r209 = r206[2] + dec_ref r206 + r210 = r24.__mypyc_temp__7 + if is_error(r210) goto L488 (error at coroutine:-1) else goto L170 +L170: + r211 = r24.__mypyc_temp__8 + if is_error(r211) goto L489 (error at coroutine:-1) else goto L171 +L171: + r212 = [r211, r207, r208, r209] + r213 = load_address r212 + r214 = PyObject_Vectorcall(r210, r213, 4, 0) + dec_ref r210 + if is_error(r214) goto L490 (error at coroutine:158) else goto L172 +L172: + dec_ref r211 + dec_ref r207 + dec_ref r208 + dec_ref r209 + r215 = CPy_GetCoro(r214) + dec_ref r214 + if is_error(r215) goto L206 (error at coroutine:158) else goto L173 +L173: + r24.__mypyc_temp__15 = r215; r216 = is_error + if not r216 goto L206 (error at coroutine:-1) else goto L174 :: bool +L174: + r217 = r24.__mypyc_temp__15 + if is_error(r217) goto L206 (error at coroutine:-1) else goto L175 +L175: + r218 = CPyIter_Next(r217) + dec_ref r217 + if is_error(r218) goto L176 else goto L178 +L176: + r219 = CPy_FetchStopIterationValue() + if is_error(r219) goto L206 (error at coroutine:158) else goto L177 +L177: + r220 = r219 + r221 = :: object + r24.__mypyc_temp__15 = r221; r222 = is_error + if not r222 goto L491 (error at coroutine:158) else goto L200 :: bool +L178: + r223 = r218 +L179: + r24.__mypyc_next_label__ = 5 + dec_ref r24 + return r223 +L180: + r225 = load_address _Py_NoneStruct + r226 = type != r225 + if r226 goto L181 else goto L492 :: bool +L181: CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L32 (error at coroutine:76) else goto L72 :: bool -L30: + if not 0 goto L184 (error at coroutine:158) else goto L493 :: bool +L182: unreachable -L31: +L183: inc_ref arg - goto L43 -L32: - r40 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__1 = r40; r41 = is_error - if not r41 goto L73 (error at coroutine:-1) else goto L33 :: bool -L33: - r42 = load_address r1 - r43 = __mypyc_self__.__mypyc_temp__0 - if is_error(r43) goto L73 (error at coroutine:-1) else goto L34 -L34: - r44 = CPy_YieldFromErrorHandle(r43, r42) - dec_ref r43 - if is_error(r44) goto L73 (error at coroutine:76) else goto L35 -L35: - if r44 goto L38 else goto L36 :: bool -L36: - r36 = r1 - r45 = __mypyc_self__.__mypyc_temp__1 - if is_error(r45) goto L74 (error at coroutine:-1) else goto L37 -L37: - CPy_RestoreExcInfo(r45) - dec_ref r45 - goto L27 -L38: - r33 = r1 - r46 = __mypyc_self__.__mypyc_temp__1 - if is_error(r46) goto L75 (error at coroutine:-1) else goto L39 -L39: - CPy_RestoreExcInfo(r46) - dec_ref r46 - goto L48 -L40: - r47 = __mypyc_self__.__mypyc_temp__1 - if is_error(r47) goto L57 (error at coroutine:-1) else goto L41 -L41: - CPy_RestoreExcInfo(r47) - dec_ref r47 - r48 = CPy_KeepPropagating() - if not r48 goto L57 else goto L42 :: bool -L42: + goto L195 +L184: + r227 = CPy_CatchError() + r24.__mypyc_temp__16 = r227; r228 = is_error + if not r228 goto L494 (error at coroutine:-1) else goto L185 :: bool +L185: + r229 = load_address r9 + r230 = r24.__mypyc_temp__15 + if is_error(r230) goto L494 (error at coroutine:-1) else goto L186 +L186: + r231 = CPy_YieldFromErrorHandle(r230, r229) + dec_ref r230 + if is_error(r231) goto L494 (error at coroutine:158) else goto L187 +L187: + if r231 goto L190 else goto L188 :: bool +L188: + r223 = r9 + r232 = r24.__mypyc_temp__16 + if is_error(r232) goto L495 (error at coroutine:-1) else goto L189 +L189: + CPy_RestoreExcInfo(r232) + dec_ref r232 + goto L179 +L190: + r220 = r9 + r233 = r24.__mypyc_temp__16 + if is_error(r233) goto L496 (error at coroutine:-1) else goto L191 +L191: + CPy_RestoreExcInfo(r233) + dec_ref r233 + goto L200 +L192: + r234 = r24.__mypyc_temp__16 + if is_error(r234) goto L206 (error at coroutine:-1) else goto L193 +L193: + CPy_RestoreExcInfo(r234) + dec_ref r234 + r235 = CPy_KeepPropagating() + if not r235 goto L206 else goto L497 :: bool +L194: unreachable -L43: - r49 = __mypyc_self__.__mypyc_temp__0 - if is_error(r49) goto L76 (error at coroutine:-1) else goto L44 -L44: - r50 = CPyIter_Send(r49, arg) - dec_ref r49 +L195: + r236 = r24.__mypyc_temp__15 + if is_error(r236) goto L498 (error at coroutine:-1) else goto L196 +L196: + r237 = CPyIter_Send(r236, arg) + dec_ref r236 dec_ref arg - if is_error(r50) goto L46 else goto L45 -L45: - r36 = r50 - goto L27 -L46: - r51 = CPy_FetchStopIterationValue() - if is_error(r51) goto L57 (error at coroutine:76) else goto L47 -L47: - r33 = r51 -L48: - __mypyc_self__.__mypyc_next_label__ = -1 -L49: - if is_error(stop_iter_ptr) goto L50 else goto L52 -L50: - CPyGen_SetStopIterationValue(r33) - dec_ref r33 - if not 0 goto L57 else goto L51 :: bool -L51: + if is_error(r237) goto L198 else goto L197 +L197: + r223 = r237 + goto L179 +L198: + r238 = CPy_FetchStopIterationValue() + if is_error(r238) goto L206 (error at coroutine:158) else goto L199 +L199: + r220 = r238 +L200: + r239 = PyObject_IsTrue(r220) + dec_ref r220 + r240 = r239 >= 0 :: signed + if not r240 goto L206 (error at coroutine:-1) else goto L201 :: bool +L201: + r241 = truncate r239: i32 to builtins.bool + if r241 goto L204 else goto L202 :: bool +L202: + CPy_Reraise() + if not 0 goto L206 else goto L499 :: bool +L203: unreachable -L52: - set_mem stop_iter_ptr, r33 :: builtins.object* - return 0 -L53: - r53 = r2 == 0 - if r53 goto L77 else goto L54 :: bool -L54: - r54 = r2 == 1 - if r54 goto L28 else goto L78 :: bool -L55: - r55 = raise StopIteration - if not r55 goto L57 (error at coroutine:57) else goto L56 :: bool -L56: +L204: + r242 = r24.__mypyc_temp__14 + if is_error(r242) goto L210 (error at coroutine:-1) else goto L205 +L205: + CPy_RestoreExcInfo(r242) + dec_ref r242 + goto L209 +L206: + r243 = r24.__mypyc_temp__14 + if is_error(r243) goto L210 (error at coroutine:-1) else goto L207 +L207: + CPy_RestoreExcInfo(r243) + dec_ref r243 + r244 = CPy_KeepPropagating() + if not r244 goto L210 else goto L500 :: bool +L208: unreachable -L57: - r56 = :: object - return r56 -L58: - dec_ref r5 - goto L57 -L59: - dec_ref r5 - dec_ref r6 - goto L57 -L60: - dec_ref r13 - goto L57 -L61: - dec_ref r13 - dec_ref r14 - goto L57 -L62: - dec_ref r13 - dec_ref r14 - dec_ref r15 - goto L57 -L63: - dec_ref r13 - dec_ref r14 - dec_ref r15 - dec_ref r16 - goto L57 -L64: - dec_ref r14 - dec_ref r15 - dec_ref r16 - dec_ref r17 - goto L57 -L65: - dec_ref r14 - dec_ref r15 - dec_ref r16 - dec_ref r17 - dec_ref r19 - goto L57 -L66: - dec_ref r15 - dec_ref r16 - dec_ref r17 - dec_ref r19 - dec_ref r20 - goto L57 -L67: - dec_ref r21 - goto L17 -L68: - dec_ref r15 - dec_ref r16 - dec_ref r17 - dec_ref r19 - goto L57 -L69: - dec_ref r19 - dec_ref r25 - goto L57 -L70: - dec_ref r33 - goto L57 -L71: - xdec_ref r1 - goto L31 -L72: - xdec_ref r1 - goto L30 -L73: - xdec_ref r1 - goto L40 -L74: - dec_ref r36 - goto L40 -L75: - dec_ref r33 - goto L40 -L76: - dec_ref arg - goto L57 -L77: - xdec_ref r1 - goto L1 -L78: - xdec_ref r1 - goto L55 - -def coroutine_DankOverloadedMethod_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen - r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = coroutine_DankOverloadedMethod_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -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 = coroutine_DankOverloadedMethod_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -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__ - -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 - 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, 0) - 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_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 - 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: +L209: + r245 = :: tuple[object, object, object] + r13 = r245 + goto L211 +L210: + r246 = CPy_CatchError() + r13 = r246 +L211: + r247 = r24.__mypyc_temp__9 + if is_error(r247) goto L247 (error at coroutine:-1) else goto L212 +L212: + if r247 goto L213 else goto L244 :: bool +L213: + r248 = load_address _Py_NoneStruct + r249 = r24.__mypyc_temp__7 + if is_error(r249) goto L247 (error at coroutine:-1) else goto L214 +L214: + r250 = r24.__mypyc_temp__8 + if is_error(r250) goto L501 (error at coroutine:-1) else goto L215 +L215: + r251 = [r250, r248, r248, r248] + r252 = load_address r251 + r253 = PyObject_Vectorcall(r249, r252, 4, 0) + dec_ref r249 + if is_error(r253) goto L502 (error at coroutine:158) else goto L216 +L216: + dec_ref r250 + r254 = CPy_GetCoro(r253) + dec_ref r253 + if is_error(r254) goto L247 (error at coroutine:158) else goto L217 +L217: + r24.__mypyc_temp__17 = r254; r255 = is_error + if not r255 goto L247 (error at coroutine:-1) else goto L218 :: bool +L218: + r256 = r24.__mypyc_temp__17 + if is_error(r256) goto L247 (error at coroutine:-1) else goto L219 +L219: + r257 = CPyIter_Next(r256) + dec_ref r256 + if is_error(r257) goto L220 else goto L503 +L220: + r258 = CPy_FetchStopIterationValue() + if is_error(r258) goto L247 (error at coroutine:158) else goto L221 +L221: + r259 = r258 + dec_ref r259 + r260 = :: object + r24.__mypyc_temp__17 = r260; r261 = is_error + if not r261 goto L247 (error at coroutine:158) else goto L244 :: bool +L222: + r262 = r257 +L223: + r24.__mypyc_next_label__ = 6 + dec_ref r24 + return r262 +L224: + r264 = load_address _Py_NoneStruct + r265 = type != r264 + if r265 goto L225 else goto L504 :: bool +L225: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L228 (error at coroutine:158) else goto L505 :: bool +L226: + unreachable +L227: + inc_ref arg + goto L239 +L228: + r266 = CPy_CatchError() + r24.__mypyc_temp__18 = r266; r267 = is_error + if not r267 goto L506 (error at coroutine:-1) else goto L229 :: bool +L229: + r268 = load_address r11 + r269 = r24.__mypyc_temp__17 + if is_error(r269) goto L506 (error at coroutine:-1) else goto L230 +L230: + r270 = CPy_YieldFromErrorHandle(r269, r268) + dec_ref r269 + if is_error(r270) goto L506 (error at coroutine:158) else goto L231 +L231: + if r270 goto L234 else goto L232 :: bool +L232: + r262 = r11 + r271 = r24.__mypyc_temp__18 + if is_error(r271) goto L507 (error at coroutine:-1) else goto L508 +L233: + CPy_RestoreExcInfo(r271) + dec_ref r271 + goto L223 +L234: + r259 = r11 + dec_ref r259 + r272 = r24.__mypyc_temp__18 + if is_error(r272) goto L236 (error at coroutine:-1) else goto L235 +L235: + CPy_RestoreExcInfo(r272) + dec_ref r272 + goto L244 +L236: + r273 = r24.__mypyc_temp__18 + if is_error(r273) goto L247 (error at coroutine:-1) else goto L237 +L237: + CPy_RestoreExcInfo(r273) + dec_ref r273 + r274 = CPy_KeepPropagating() + if not r274 goto L247 else goto L509 :: bool +L238: + unreachable +L239: + r275 = r24.__mypyc_temp__17 + if is_error(r275) goto L510 (error at coroutine:-1) else goto L240 +L240: + r276 = CPyIter_Send(r275, arg) + dec_ref r275 + dec_ref arg + if is_error(r276) goto L242 else goto L511 +L241: + r262 = r276 + goto L223 +L242: + r277 = CPy_FetchStopIterationValue() + if is_error(r277) goto L247 (error at coroutine:158) else goto L243 +L243: + r259 = r277 + dec_ref r259 +L244: + if is_error(r13) goto L293 else goto L245 +L245: CPy_Reraise() - if not 0 goto L10 else goto L7 :: bool -L7: + if not 0 goto L247 else goto L512 :: bool +L246: unreachable -L8: - r14 = raise RuntimeError('generator ignored GeneratorExit') - if not r14 goto L10 else goto L9 :: bool -L9: +L247: + if is_error(r13) goto L249 else goto L248 +L248: + CPy_RestoreExcInfo(r13) + xdec_ref r13 +L249: + r278 = CPy_KeepPropagating() + if not r278 goto L251 else goto L513 :: bool +L250: 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_DankOverloadedMethod_gen.__await__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen -L0: - 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_gen - r4, r5, r6, r7, r8, r9 :: bool - r10 :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen -L0: - if is_error(block_identifier) goto L1 else goto L14 -L1: - r0 = box(None, 1) - inc_ref r0 - block_identifier = r0 -L2: - if is_error(decimals) goto L3 else goto L15 -L3: - r1 = box(None, 1) - inc_ref r1 - decimals = r1 -L4: - if is_error(override) goto L5 else goto L16 -L5: - r2 = box(None, 1) - inc_ref r2 - override = r2 -L6: - r3 = coroutine_DankOverloadedMethod_gen() - if is_error(r3) goto L17 (error at coroutine:57) else goto L7 -L7: - r3.__mypyc_next_label__ = 0 - inc_ref self - r3.__mypyc_generator_attribute__self = self; r5 = is_error - if not r5 goto L18 (error at coroutine:57) else goto L8 :: bool -L8: - inc_ref args - r3.__mypyc_generator_attribute__args = args; r6 = is_error - if not r6 goto L18 (error at coroutine:57) else goto L9 :: bool -L9: - r3.__mypyc_generator_attribute__block_identifier = block_identifier; r7 = is_error - if not r7 goto L19 (error at coroutine:57) else goto L10 :: bool -L10: - r3.__mypyc_generator_attribute__decimals = decimals; r8 = is_error - if not r8 goto L20 (error at coroutine:57) else goto L11 :: bool -L11: - r3.__mypyc_generator_attribute__override = override; r9 = is_error - if not r9 goto L21 (error at coroutine:57) else goto L12 :: bool -L12: - return r3 -L13: - r10 = :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen - return r10 -L14: - inc_ref block_identifier - goto L2 -L15: - inc_ref decimals - goto L4 -L16: - inc_ref override - goto L6 -L17: - dec_ref block_identifier - dec_ref decimals - dec_ref override - goto L13 -L18: - dec_ref block_identifier - dec_ref decimals - dec_ref override - dec_ref r3 - goto L13 -L19: - dec_ref decimals - dec_ref override - dec_ref r3 - goto L13 -L20: - dec_ref override - dec_ref r3 - goto L13 -L21: - dec_ref r3 - goto L13 - -def DankOverloadedMethod._add_fn(self, abi, natspec): - self :: dank_mids.brownie_patch.types.DankOverloadedMethod - abi, natspec :: dict - r0 :: str - r1 :: object - r2, r3 :: str - r4 :: object - r5 :: str - r6 :: object - r7 :: str - r8 :: union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx] - 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: - r0 = '_address' - r1 = CPyObject_GetAttr(self, r0) - if is_error(r1) goto L20 (error at _add_fn:91) else goto L1 -L1: - r2 = cast(str, r1) - if is_error(r2) goto L20 (error at _add_fn:91) else goto L2 -L2: - r3 = '_name' - r4 = CPyObject_GetAttr(self, r3) - if is_error(r4) goto L21 (error at _add_fn:91) else goto L3 -L3: - r5 = '_owner' - r6 = CPyObject_GetAttr(self, r5) - if is_error(r6) goto L22 (error at _add_fn:91) else goto L4 -L4: - r7 = cast(str, r4) - if is_error(r7) goto L23 (error at _add_fn:91) else goto L5 -L5: - r8 = _get_method_object(r2, abi, r7, r6, natspec) - dec_ref r2 - dec_ref r7 - dec_ref r6 - if is_error(r8) goto L20 (error at _add_fn:91) else goto L6 -L6: - r9 = PyList_New(0) - if is_error(r9) goto L24 (error at _add_fn:92) else goto L7 -L7: - r10 = 'inputs' - r11 = CPyDict_GetItem(abi, r10) - if is_error(r11) goto L25 (error at _add_fn:92) else goto L8 -L8: - r12 = PyObject_GetIter(r11) - dec_ref r11 - if is_error(r12) goto L25 (error at _add_fn:92) else goto L9 -L9: - r13 = PyIter_Next(r12) - if is_error(r13) goto L26 else goto L10 -L10: - r14 = 'type' - r15 = PyObject_GetItem(r13, r14) - dec_ref r13 - if is_error(r15) goto L27 (error at _add_fn:92) 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 L28 (error at _add_fn:92) else goto L12 -L12: - dec_ref r15 - r22 = PyList_Append(r9, r21) - dec_ref r21 - r23 = r22 >= 0 :: signed - if not r23 goto L27 (error at _add_fn:92) else goto L9 :: bool -L13: - r24 = CPy_NoErrOccurred() - if not r24 goto L25 (error at _add_fn:92) else goto L14 :: bool -L14: - r25 = PyList_AsTuple(r9) - dec_ref r9 - if is_error(r25) goto L24 (error at _add_fn:92) else goto L15 -L15: - r26 = self.methods - if is_error(r26) goto L29 (error at _add_fn:93) 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:93) else goto L17 :: bool -L17: - r29 = 'natspec' - r30 = CPyObject_GetAttr(self, r29) - if is_error(r30) goto L20 (error at _add_fn:94) 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 L30 (error at _add_fn:94) else goto L31 -L19: - dec_ref r30 - return 1 -L20: - r35 = :: None - return r35 -L21: - dec_ref r2 - goto L20 -L22: - dec_ref r2 - dec_ref r4 - goto L20 -L23: - dec_ref r2 - dec_ref r6 - goto L20 -L24: - dec_ref r8 - goto L20 -L25: - dec_ref r8 - dec_ref r9 - goto L20 -L26: - dec_ref r12 - goto L13 -L27: - dec_ref r8 - dec_ref r9 - dec_ref r12 - goto L20 -L28: - dec_ref r8 - dec_ref r9 - dec_ref r12 - dec_ref r15 - goto L20 -L29: - dec_ref r8 - dec_ref r25 - goto L20 -L30: - dec_ref r30 - goto L20 -L31: - 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, r9 :: str - r10 :: object - r11 :: i32 - r12 :: bit - r13 :: bool - r14 :: object - r15 :: i32 - r16 :: bit - r17, r18 :: bool - r19 :: object - r20 :: i32 - r21 :: bit - r22 :: bool - r23 :: tuple - r24 :: dict - r25 :: dank_mids.brownie_patch.types.DankContractCall - r26 :: tuple - r27 :: dict - r28 :: dank_mids.brownie_patch.types.DankContractTx - r29 :: union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx] -L0: - r0 = 'constant' - r1 = PyDict_Contains(abi, r0) - r2 = r1 >= 0 :: signed - if not r2 goto L24 (error at _get_method_object:131) 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:132) else goto L3 -L3: - constant = r5 - goto L14 -L4: - r6 = 'stateMutability' - r7 = CPyDict_GetItem(abi, r6) - if is_error(r7) goto L24 (error at _get_method_object:134) else goto L5 -L5: - r8 = 'view' - r9 = 'pure' - r10 = PyObject_RichCompare(r7, r8, 2) - if is_error(r10) goto L25 (error at _get_method_object:134) else goto L6 -L6: - r11 = PyObject_IsTrue(r10) - dec_ref r10 - r12 = r11 >= 0 :: signed - if not r12 goto L25 (error at _get_method_object:134) else goto L7 :: bool -L7: - r13 = truncate r11: i32 to builtins.bool - if r13 goto L26 else goto L8 :: bool -L8: - r14 = PyObject_RichCompare(r7, r9, 2) - dec_ref r7 - if is_error(r14) goto L24 (error at _get_method_object:134) else goto L9 -L9: - r15 = PyObject_IsTrue(r14) - dec_ref r14 - r16 = r15 >= 0 :: signed - if not r16 goto L24 (error at _get_method_object:134) else goto L10 :: bool -L10: - r17 = truncate r15: i32 to builtins.bool - if r17 goto L12 else goto L11 :: bool -L11: - r18 = 0 - goto L13 -L12: - r18 = 1 -L13: - r19 = box(bool, r18) - inc_ref r19 - constant = r19 -L14: - r20 = PyObject_IsTrue(constant) - dec_ref constant - r21 = r20 >= 0 :: signed - if not r21 goto L24 (error at _get_method_object:132) else goto L15 :: bool -L15: - r22 = truncate r20: i32 to builtins.bool - if r22 goto L16 else goto L20 :: bool -L16: - r23 = PyTuple_Pack(5, address, abi, name, owner, natspec) - if is_error(r23) goto L24 (error at _get_method_object:137) else goto L17 -L17: - r24 = PyDict_New() - if is_error(r24) goto L27 (error at _get_method_object:137) else goto L18 -L18: - r25 = DankContractCall(r23, r24) - dec_ref r23 +L251: + r279 = CPy_CatchError() + r24.__mypyc_temp__19 = r279; r280 = is_error + if not r280 goto L290 (error at coroutine:-1) else goto L252 :: bool +L252: + r24.__mypyc_temp__2 = 0; r281 = is_error + if not r281 goto L290 (error at coroutine:156) else goto L253 :: bool +L253: + r282 = CPy_GetExcInfo() + r283 = r282[0] + r284 = r282[1] + r285 = r282[2] + dec_ref r282 + r286 = r24.__mypyc_temp__0 + if is_error(r286) goto L514 (error at coroutine:-1) else goto L254 +L254: + r287 = r24.__mypyc_temp__1 + if is_error(r287) goto L515 (error at coroutine:-1) else goto L255 +L255: + r288 = [r287, r283, r284, r285] + r289 = load_address r288 + r290 = PyObject_Vectorcall(r286, r289, 4, 0) + dec_ref r286 + if is_error(r290) goto L516 (error at coroutine:156) else goto L256 +L256: + dec_ref r287 + dec_ref r283 + dec_ref r284 + dec_ref r285 + r291 = CPy_GetCoro(r290) + dec_ref r290 + if is_error(r291) goto L290 (error at coroutine:156) else goto L257 +L257: + r24.__mypyc_temp__20 = r291; r292 = is_error + if not r292 goto L290 (error at coroutine:-1) else goto L258 :: bool +L258: + r293 = r24.__mypyc_temp__20 + if is_error(r293) goto L290 (error at coroutine:-1) else goto L259 +L259: + r294 = CPyIter_Next(r293) + dec_ref r293 + if is_error(r294) goto L260 else goto L262 +L260: + r295 = CPy_FetchStopIterationValue() + if is_error(r295) goto L290 (error at coroutine:156) else goto L261 +L261: + r296 = r295 + r297 = :: object + r24.__mypyc_temp__20 = r297; r298 = is_error + if not r298 goto L517 (error at coroutine:156) else goto L284 :: bool +L262: + r299 = r294 +L263: + r24.__mypyc_next_label__ = 7 dec_ref r24 - if is_error(r25) goto L24 (error at _get_method_object:137) else goto L19 -L19: - return r25 -L20: - r26 = PyTuple_Pack(5, address, abi, name, owner, natspec) - if is_error(r26) goto L24 (error at _get_method_object:138) else goto L21 -L21: - r27 = PyDict_New() - if is_error(r27) goto L28 (error at _get_method_object:138) else goto L22 -L22: - r28 = DankContractTx(r26, r27) - dec_ref r26 - dec_ref r27 - if is_error(r28) goto L24 (error at _get_method_object:138) else goto L23 -L23: - return r28 -L24: - r29 = :: union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx] - return r29 -L25: - dec_ref r7 - goto L24 -L26: - dec_ref r7 - goto L12 -L27: - dec_ref r23 - goto L24 -L28: - dec_ref r26 - goto L24 - -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 :: dict - r27 :: str - r28 :: object - r29 :: object[1] - r30 :: object_ptr - r31 :: object - r32 :: dict - r33 :: str - r34 :: i32 - r35 :: bit - r36 :: dict - r37 :: str - r38 :: object - r39 :: dict - r40 :: str - r41 :: object - r42 :: dict - r43 :: str - r44 :: object - r45 :: dict - r46 :: str - r47 :: object - r48 :: tuple[object, object, object] - r49, r50 :: object - r51 :: dict - r52 :: str - r53 :: i32 - r54 :: bit - r55 :: dict - r56 :: str - r57 :: object - r58 :: dict - r59 :: str - r60 :: object - r61 :: tuple - r62 :: str - r63, r64 :: object - r65 :: bool - r66, r67 :: str - r68 :: tuple - r69 :: i32 - r70 :: bit - r71 :: dict - r72 :: str - r73 :: i32 - r74 :: bit - r75 :: dict - r76 :: str - r77 :: object - r78 :: dict - r79 :: str - r80 :: object - r81 :: tuple - r82 :: str - r83, r84 :: object - r85 :: bool - r86, r87 :: str - r88 :: tuple - r89 :: i32 - r90 :: bit - r91 :: dict - r92 :: str - r93 :: i32 - r94 :: bit - r95 :: dict - r96 :: str - r97, r98, r99 :: object - r100 :: tuple[object, object] - r101, r102 :: object - r103 :: dict - r104 :: str - r105 :: i32 - r106 :: bit - r107 :: dict - r108 :: str - r109 :: object - r110 :: dict - r111 :: str - r112 :: object - r113 :: dict - r114 :: str - r115, r116 :: object - r117 :: tuple - r118 :: str - r119, r120 :: object - r121 :: bool - r122, r123, r124 :: str - r125 :: tuple - r126 :: i32 - r127 :: bit - r128 :: dict - r129 :: str - r130 :: i32 - r131 :: bit - r132 :: dict - r133 :: str - r134, r135, r136, r137 :: object - r138 :: tuple[object, object, object] - r139, r140 :: object - r141 :: dict - r142 :: str - r143 :: i32 - r144 :: bit - r145 :: 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 L50 (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 L50 (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 L50 (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 L50 (error at :4) else goto L6 -L6: - brownie.typing = r16 :: module - dec_ref r16 - r17 = ('ChecksumAddress',) - r18 = 'eth_typing' - r19 = dank_mids.brownie_patch.types.globals :: static - r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) - if is_error(r20) goto L50 (error at :5) else goto L7 -L7: - eth_typing = r20 :: module - dec_ref r20 - r21 = ('_DankMethod', '_DankMethodMixin', '_EVMType') - r22 = 'dank_mids.brownie_patch._method' - r23 = dank_mids.brownie_patch.types.globals :: static - r24 = CPyImport_ImportFromMany(r22, r21, r21, r23) - if is_error(r24) goto L50 (error at :7) else goto L8 -L8: - dank_mids.brownie_patch._method = r24 :: module + return r299 +L264: + r301 = load_address _Py_NoneStruct + r302 = type != r301 + if r302 goto L265 else goto L518 :: bool +L265: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L268 (error at coroutine:156) else goto L519 :: bool +L266: + unreachable +L267: + inc_ref arg + goto L279 +L268: + r303 = CPy_CatchError() + r24.__mypyc_temp__21 = r303; r304 = is_error + if not r304 goto L520 (error at coroutine:-1) else goto L269 :: bool +L269: + r305 = load_address r15 + r306 = r24.__mypyc_temp__20 + if is_error(r306) goto L520 (error at coroutine:-1) else goto L270 +L270: + r307 = CPy_YieldFromErrorHandle(r306, r305) + dec_ref r306 + if is_error(r307) goto L520 (error at coroutine:156) else goto L271 +L271: + if r307 goto L274 else goto L272 :: bool +L272: + r299 = r15 + r308 = r24.__mypyc_temp__21 + if is_error(r308) goto L521 (error at coroutine:-1) else goto L273 +L273: + CPy_RestoreExcInfo(r308) + dec_ref r308 + goto L263 +L274: + r296 = r15 + r309 = r24.__mypyc_temp__21 + if is_error(r309) goto L522 (error at coroutine:-1) else goto L275 +L275: + CPy_RestoreExcInfo(r309) + dec_ref r309 + goto L284 +L276: + r310 = r24.__mypyc_temp__21 + if is_error(r310) goto L290 (error at coroutine:-1) else goto L277 +L277: + CPy_RestoreExcInfo(r310) + dec_ref r310 + r311 = CPy_KeepPropagating() + if not r311 goto L290 else goto L523 :: bool +L278: + unreachable +L279: + r312 = r24.__mypyc_temp__20 + if is_error(r312) goto L524 (error at coroutine:-1) else goto L280 +L280: + r313 = CPyIter_Send(r312, arg) + dec_ref r312 + dec_ref arg + if is_error(r313) goto L282 else goto L281 +L281: + r299 = r313 + goto L263 +L282: + r314 = CPy_FetchStopIterationValue() + if is_error(r314) goto L290 (error at coroutine:156) else goto L283 +L283: + r296 = r314 +L284: + r315 = PyObject_IsTrue(r296) + dec_ref r296 + r316 = r315 >= 0 :: signed + if not r316 goto L290 (error at coroutine:-1) else goto L285 :: bool +L285: + r317 = truncate r315: i32 to builtins.bool + if r317 goto L288 else goto L286 :: bool +L286: + CPy_Reraise() + if not 0 goto L290 else goto L525 :: bool +L287: + unreachable +L288: + r318 = r24.__mypyc_temp__19 + if is_error(r318) goto L294 (error at coroutine:-1) else goto L289 +L289: + CPy_RestoreExcInfo(r318) + dec_ref r318 + goto L293 +L290: + r319 = r24.__mypyc_temp__19 + if is_error(r319) goto L294 (error at coroutine:-1) else goto L291 +L291: + CPy_RestoreExcInfo(r319) + dec_ref r319 + r320 = CPy_KeepPropagating() + if not r320 goto L294 else goto L526 :: bool +L292: + unreachable +L293: + r321 = :: tuple[object, object, object] + r19 = r321 + goto L295 +L294: + r322 = CPy_CatchError() + r19 = r322 +L295: + r323 = r24.__mypyc_temp__2 + if is_error(r323) goto L527 (error at coroutine:-1) else goto L296 +L296: + if r323 goto L297 else goto L328 :: bool +L297: + r324 = load_address _Py_NoneStruct + r325 = r24.__mypyc_temp__0 + if is_error(r325) goto L527 (error at coroutine:-1) else goto L298 +L298: + r326 = r24.__mypyc_temp__1 + if is_error(r326) goto L528 (error at coroutine:-1) else goto L299 +L299: + r327 = [r326, r324, r324, r324] + r328 = load_address r327 + r329 = PyObject_Vectorcall(r325, r328, 4, 0) + dec_ref r325 + if is_error(r329) goto L529 (error at coroutine:156) else goto L300 +L300: + dec_ref r326 + r330 = CPy_GetCoro(r329) + dec_ref r329 + if is_error(r330) goto L527 (error at coroutine:156) else goto L301 +L301: + r24.__mypyc_temp__22 = r330; r331 = is_error + if not r331 goto L527 (error at coroutine:-1) else goto L302 :: bool +L302: + r332 = r24.__mypyc_temp__22 + if is_error(r332) goto L527 (error at coroutine:-1) else goto L303 +L303: + r333 = CPyIter_Next(r332) + dec_ref r332 + if is_error(r333) goto L304 else goto L530 +L304: + r334 = CPy_FetchStopIterationValue() + if is_error(r334) goto L527 (error at coroutine:156) else goto L305 +L305: + r335 = r334 + dec_ref r335 + r336 = :: object + r24.__mypyc_temp__22 = r336; r337 = is_error + if not r337 goto L527 (error at coroutine:156) else goto L328 :: bool +L306: + r338 = r333 +L307: + r24.__mypyc_next_label__ = 8 dec_ref r24 - r25 = '_T' - r26 = dank_mids.brownie_patch.types.globals :: static - r27 = 'TypeVar' - r28 = CPyDict_GetItem(r26, r27) - if is_error(r28) goto L50 (error at :10) else goto L9 -L9: - r29 = [r25] - r30 = load_address r29 - r31 = PyObject_Vectorcall(r28, r30, 1, 0) - dec_ref r28 - if is_error(r31) goto L50 (error at :10) else goto L10 -L10: - r32 = dank_mids.brownie_patch.types.globals :: static - r33 = '_T' - r34 = CPyDict_SetItem(r32, r33, r31) - dec_ref r31 - r35 = r34 >= 0 :: signed - if not r35 goto L50 (error at :10) else goto L11 :: bool -L11: - r36 = dank_mids.brownie_patch.types.globals :: static - r37 = 'Union' - r38 = CPyDict_GetItem(r36, r37) - if is_error(r38) goto L50 (error at :12) else goto L12 -L12: - r39 = dank_mids.brownie_patch.types.globals :: static - r40 = 'ContractCall' - r41 = CPyDict_GetItem(r39, r40) - if is_error(r41) goto L51 (error at :12) else goto L13 -L13: - r42 = dank_mids.brownie_patch.types.globals :: static - r43 = 'ContractTx' - r44 = CPyDict_GetItem(r42, r43) - if is_error(r44) goto L52 (error at :12) else goto L14 -L14: - r45 = dank_mids.brownie_patch.types.globals :: static - r46 = 'OverloadedMethod' - r47 = CPyDict_GetItem(r45, r46) - if is_error(r47) goto L53 (error at :12) else goto L15 -L15: - r48 = (r41, r44, r47) - r49 = box(tuple[object, object, object], r48) - r50 = PyObject_GetItem(r38, r49) - dec_ref r38 - dec_ref r49 - if is_error(r50) goto L50 (error at :12) else goto L16 -L16: - r51 = dank_mids.brownie_patch.types.globals :: static - r52 = 'ContractMethod' - r53 = CPyDict_SetItem(r51, r52, r50) - dec_ref r50 - r54 = r53 >= 0 :: signed - if not r54 goto L50 (error at :12) else goto L17 :: bool -L17: - r55 = dank_mids.brownie_patch.types.globals :: static - r56 = '_DankMethod' - r57 = CPyDict_GetItem(r55, r56) - if is_error(r57) goto L50 (error at :17) else goto L18 -L18: - r58 = dank_mids.brownie_patch.types.globals :: static - r59 = 'ContractCall' - r60 = CPyDict_GetItem(r58, r59) - if is_error(r60) goto L54 (error at :17) else goto L19 -L19: - r61 = PyTuple_Pack(2, r57, r60) - dec_ref r57 - dec_ref r60 - if is_error(r61) goto L50 (error at :17) else goto L20 -L20: - r62 = 'dank_mids.brownie_patch.types' - r63 = dank_mids.brownie_patch.types.DankContractCall_template :: type - r64 = CPyType_FromTemplate(r63, r61, r62) - dec_ref r61 - if is_error(r64) goto L50 (error at :17) else goto L21 -L21: - r65 = DankContractCall_trait_vtable_setup() - if is_error(r65) goto L55 (error at :-1) else goto L22 -L22: - r66 = '__mypyc_attrs__' - r67 = '__dict__' - r68 = PyTuple_Pack(1, r67) - if is_error(r68) goto L55 (error at :17) else goto L23 -L23: - r69 = PyObject_SetAttr(r64, r66, r68) - dec_ref r68 - r70 = r69 >= 0 :: signed - if not r70 goto L55 (error at :17) else goto L24 :: bool -L24: - dank_mids.brownie_patch.types.DankContractCall = r64 :: type - r71 = dank_mids.brownie_patch.types.globals :: static - r72 = 'DankContractCall' - r73 = PyDict_SetItem(r71, r72, r64) - dec_ref r64 - r74 = r73 >= 0 :: signed - if not r74 goto L50 (error at :17) else goto L25 :: bool -L25: - r75 = dank_mids.brownie_patch.types.globals :: static - r76 = '_DankMethod' - r77 = CPyDict_GetItem(r75, r76) - if is_error(r77) goto L50 (error at :29) else goto L26 -L26: - r78 = dank_mids.brownie_patch.types.globals :: static - r79 = 'ContractTx' - r80 = CPyDict_GetItem(r78, r79) - if is_error(r80) goto L56 (error at :29) else goto L27 -L27: - r81 = PyTuple_Pack(2, r77, r80) - dec_ref r77 - dec_ref r80 - if is_error(r81) goto L50 (error at :29) else goto L28 -L28: - r82 = 'dank_mids.brownie_patch.types' - r83 = dank_mids.brownie_patch.types.DankContractTx_template :: type - r84 = CPyType_FromTemplate(r83, r81, r82) - dec_ref r81 - if is_error(r84) goto L50 (error at :29) else goto L29 -L29: - r85 = DankContractTx_trait_vtable_setup() - if is_error(r85) goto L57 (error at :-1) else goto L30 -L30: - r86 = '__mypyc_attrs__' - r87 = '__dict__' - r88 = PyTuple_Pack(1, r87) - if is_error(r88) goto L57 (error at :29) else goto L31 -L31: - r89 = PyObject_SetAttr(r84, r86, r88) - dec_ref r88 - r90 = r89 >= 0 :: signed - if not r90 goto L57 (error at :29) else goto L32 :: bool -L32: - dank_mids.brownie_patch.types.DankContractTx = r84 :: type - r91 = dank_mids.brownie_patch.types.globals :: static - r92 = 'DankContractTx' - r93 = PyDict_SetItem(r91, r92, r84) - dec_ref r84 - r94 = r93 >= 0 :: signed - if not r94 goto L50 (error at :29) else goto L33 :: bool -L33: - r95 = dank_mids.brownie_patch.types.globals :: static - r96 = 'Union' - r97 = CPyDict_GetItem(r95, r96) - if is_error(r97) goto L50 (error at :40) else goto L34 -L34: - r98 = dank_mids.brownie_patch.types.DankContractCall :: type - r99 = dank_mids.brownie_patch.types.DankContractTx :: type - inc_ref r98 - inc_ref r99 - r100 = (r98, r99) - r101 = box(tuple[object, object], r100) - r102 = PyObject_GetItem(r97, r101) - dec_ref r97 - dec_ref r101 - if is_error(r102) goto L50 (error at :40) else goto L35 -L35: - r103 = dank_mids.brownie_patch.types.globals :: static - r104 = '_NonOverloaded' - r105 = CPyDict_SetItem(r103, r104, r102) - dec_ref r102 - r106 = r105 >= 0 :: signed - if not r106 goto L50 (error at :40) else goto L36 :: bool -L36: - r107 = dank_mids.brownie_patch.types.globals :: static - r108 = 'OverloadedMethod' - r109 = CPyDict_GetItem(r107, r108) - if is_error(r109) goto L50 (error at :45) else goto L37 -L37: - r110 = dank_mids.brownie_patch.types.globals :: static - r111 = '_DankMethodMixin' - r112 = CPyDict_GetItem(r110, r111) - if is_error(r112) goto L58 (error at :45) else goto L38 -L38: - r113 = dank_mids.brownie_patch.types.globals :: static - r114 = '_T' - r115 = CPyDict_GetItem(r113, r114) - if is_error(r115) goto L59 (error at :45) else goto L39 -L39: - r116 = PyObject_GetItem(r112, r115) - dec_ref r112 - dec_ref r115 - if is_error(r116) goto L58 (error at :45) else goto L40 -L40: - r117 = PyTuple_Pack(2, r109, r116) - dec_ref r109 - dec_ref r116 - if is_error(r117) goto L50 (error at :45) else goto L41 -L41: - r118 = 'dank_mids.brownie_patch.types' - r119 = dank_mids.brownie_patch.types.DankOverloadedMethod_template :: type - r120 = CPyType_FromTemplate(r119, r117, r118) - dec_ref r117 - if is_error(r120) goto L50 (error at :45) else goto L42 -L42: - r121 = DankOverloadedMethod_trait_vtable_setup() - if is_error(r121) goto L60 (error at :-1) else goto L43 -L43: - r122 = '__mypyc_attrs__' - r123 = 'methods' - r124 = '__dict__' - r125 = PyTuple_Pack(2, r123, r124) - if is_error(r125) goto L60 (error at :45) else goto L44 -L44: - r126 = PyObject_SetAttr(r120, r122, r125) - dec_ref r125 - r127 = r126 >= 0 :: signed - if not r127 goto L60 (error at :45) else goto L45 :: bool -L45: - dank_mids.brownie_patch.types.DankOverloadedMethod = r120 :: type - r128 = dank_mids.brownie_patch.types.globals :: static - r129 = 'DankOverloadedMethod' - r130 = PyDict_SetItem(r128, r129, r120) - dec_ref r120 - r131 = r130 >= 0 :: signed - if not r131 goto L50 (error at :45) else goto L46 :: bool -L46: - r132 = dank_mids.brownie_patch.types.globals :: static - r133 = 'Union' - r134 = CPyDict_GetItem(r132, r133) - if is_error(r134) goto L50 (error at :97) else goto L47 -L47: - r135 = dank_mids.brownie_patch.types.DankContractCall :: type - r136 = dank_mids.brownie_patch.types.DankContractTx :: type - r137 = dank_mids.brownie_patch.types.DankOverloadedMethod :: type - inc_ref r135 - inc_ref r136 - inc_ref r137 - r138 = (r135, r136, r137) - r139 = box(tuple[object, object, object], r138) - r140 = PyObject_GetItem(r134, r139) - dec_ref r134 - dec_ref r139 - if is_error(r140) goto L50 (error at :97) else goto L48 -L48: - r141 = dank_mids.brownie_patch.types.globals :: static - r142 = 'DankContractMethod' - r143 = CPyDict_SetItem(r141, r142, r140) - dec_ref r140 - r144 = r143 >= 0 :: signed - if not r144 goto L50 (error at :97) else goto L49 :: bool -L49: - return 1 -L50: - r145 = :: None - return r145 -L51: - dec_ref r38 - goto L50 -L52: - dec_ref r38 - dec_ref r41 - goto L50 -L53: - dec_ref r38 - dec_ref r41 - dec_ref r44 - goto L50 -L54: - dec_ref r57 - goto L50 -L55: - dec_ref r64 - goto L50 -L56: - dec_ref r77 - goto L50 -L57: - dec_ref r84 - goto L50 -L58: - dec_ref r109 - goto L50 -L59: - dec_ref r109 - dec_ref r112 - goto L50 -L60: - dec_ref r120 - goto L50 - -def _create_named_task(awaitable): - awaitable, r0, r1 :: object - r2, r3, r4 :: str - r5 :: object - r6 :: bool - r7 :: object[2] - r8 :: object_ptr - r9, r10, r11 :: object -L0: - r0 = CPy_TYPE(awaitable) - r1 = CPy_GetName(r0) - dec_ref r0 - if is_error(r1) goto L8 (error at _create_named_task:35) else goto L1 -L1: - r2 = cast(str, r1) - if is_error(r2) goto L8 (error at _create_named_task:35) else goto L2 -L2: - r3 = ' via DankBatch' - r4 = CPyStr_Build(2, r2, r3) - dec_ref r2 - if is_error(r4) goto L8 (error at _create_named_task:35) else goto L3 -L3: - r5 = dank_mids._batch.create_task :: static - if is_error(r5) goto L9 else goto L6 -L4: - r6 = raise NameError('value for final name "create_task" was not set') - if not r6 goto L8 (error at _create_named_task:35) else goto L5 :: bool -L5: - unreachable -L6: - r7 = [awaitable, r4] - r8 = load_address r7 - r9 = ('name',) - r10 = PyObject_Vectorcall(r5, r8, 1, r9) - if is_error(r10) goto L10 (error at _create_named_task:35) else goto L7 -L7: - dec_ref r4 - return r10 -L8: - r11 = :: object - return r11 -L9: - dec_ref r4 - goto L4 -L10: - dec_ref r4 - goto L8 - -def DankBatch.__init__(self, controller, multicalls, rpc_calls): - self :: dank_mids._batch.DankBatch - controller :: object - multicalls :: dict - rpc_calls :: object - r0 :: str - r1 :: object - r2 :: str - r3, r4, r5 :: object - r6 :: i32 - r7 :: bit - r8 :: bool - r9, r10 :: object - r11 :: None -L0: - inc_ref controller - self.controller = controller - inc_ref multicalls - self.multicalls = multicalls - inc_ref rpc_calls - self.rpc_calls = rpc_calls - self._awaited = 0 - r0 = 'batcher' - r1 = CPyObject_GetAttr(controller, r0) - if is_error(r1) goto L8 (error at __init__:74) else goto L1 -L1: - r2 = 'step' - r3 = CPyObject_GetAttr(r1, r2) - dec_ref r1 - if is_error(r3) goto L8 (error at __init__:74) else goto L2 -L2: - r4 = object 0 - r5 = PyObject_RichCompare(r3, r4, 0) - if is_error(r5) goto L9 (error at __init__:74) else goto L3 -L3: - r6 = PyObject_IsTrue(r5) - dec_ref r5 - r7 = r6 >= 0 :: signed - if not r7 goto L9 (error at __init__:74) else goto L4 :: bool -L4: - r8 = truncate r6: i32 to builtins.bool - if r8 goto L5 else goto L10 :: bool -L5: - r9 = r3 - goto L7 -L6: - r10 = object 0 - inc_ref r10 - r9 = r10 -L7: - self._check_len = r9 - return 1 -L8: - r11 = :: None - return r11 -L9: - dec_ref r3 - goto L8 -L10: - dec_ref r3 - goto L6 - -def DankBatch.__repr__(self): - self :: dank_mids._batch.DankBatch - r0 :: str - r1 :: int - r2 :: object - r3 :: str - r4, r5 :: object - r6 :: object[1] - r7 :: object_ptr - r8 :: object - r9, r10, r11, r12 :: str -L0: - r0 = ' :: str - return r12 -L6: - dec_ref r1 :: int - goto L5 -L7: - dec_ref r5 - goto L5 - -def DankBatch.__await__(self): - self :: dank_mids._batch.DankBatch - r0 :: bool - r1 :: str - r2 :: object - r3 :: str - r4 :: object - r5 :: object[1] - r6 :: object_ptr - r7 :: object - r8 :: bool - r9 :: dict - r10 :: short_int - r11 :: native_int - r12 :: object - r13 :: tuple[bool, short_int, object] - r14 :: short_int - r15 :: bool - r16 :: object - r17 :: str - r18 :: object - r19 :: object[3] - r20 :: object_ptr - r21, r22 :: object - r23, r24 :: bit - r25, r26, r27 :: object - r28 :: str - r29 :: i32 - r30, r31 :: bit - r32 :: dank_mids._batch._await_DankBatch_gen - r33 :: str - r34 :: object[1] - r35 :: object_ptr - r36, r37 :: object -L0: - r0 = self._awaited - if r0 goto L1 else goto L5 :: bool -L1: - r1 = 'The batch has already been awaited' - r2 = builtins :: module - r3 = 'RuntimeError' - r4 = CPyObject_GetAttr(r2, r3) - if is_error(r4) goto L18 (error at __await__:94) else goto L2 -L2: - r5 = [r1] - r6 = load_address r5 - r7 = PyObject_Vectorcall(r4, r6, 1, 0) - dec_ref r4 - if is_error(r7) goto L18 (error at __await__:94) else goto L3 -L3: - CPy_Raise(r7) - dec_ref r7 - if not 0 goto L18 (error at __await__:94) else goto L4 :: bool -L4: + return r338 +L308: + r340 = load_address _Py_NoneStruct + r341 = type != r340 + if r341 goto L309 else goto L531 :: bool +L309: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L312 (error at coroutine:156) else goto L532 :: bool +L310: unreachable -L5: - self._awaited = 1 - r9 = self.multicalls - r10 = 0 - r11 = PyDict_Size(r9) - r12 = CPyDict_GetValuesIter(r9) - if is_error(r12) goto L19 (error at __await__:96) else goto L6 -L6: - r13 = CPyDict_NextValue(r12, r10) - r14 = r13[1] - r10 = r14 - r15 = r13[0] - if r15 goto L7 else goto L20 :: bool -L7: - r16 = r13[2] - dec_ref r13 - r17 = 'start' - r18 = box(bool, 0) - r19 = [r16, self, r18] - r20 = load_address r19 - r21 = ('cleanup',) - r22 = PyObject_VectorcallMethod(r17, r20, 9223372036854775810, r21) - if is_error(r22) goto L21 (error at __await__:97) else goto L22 -L8: - dec_ref r16 -L9: - r23 = CPyDict_CheckSize(r9, r11) - if not r23 goto L23 (error at __await__:96) else goto L6 :: bool -L10: - r24 = CPy_NoErrOccurred() - if not r24 goto L18 (error at __await__:96) else goto L11 :: bool -L11: - r25 = self.rpc_calls - r26 = PyObject_GetIter(r25) - dec_ref r25 - if is_error(r26) goto L18 (error at __await__:98) else goto L12 -L12: - r27 = PyIter_Next(r26) - if is_error(r27) goto L24 else goto L13 -L13: - r28 = '_batch' - r29 = PyObject_SetAttr(r27, r28, self) - dec_ref r27 - r30 = r29 >= 0 :: signed - if not r30 goto L25 (error at __await__:99) else goto L12 :: bool -L14: - r31 = CPy_NoErrOccurred() - if not r31 goto L18 (error at __await__:98) else goto L15 :: bool -L15: - r32 = self._await() - if is_error(r32) goto L18 (error at __await__:100) else goto L16 -L16: - r33 = '__await__' - r34 = [r32] - r35 = load_address r34 - r36 = PyObject_VectorcallMethod(r33, r35, 9223372036854775809, 0) - if is_error(r36) goto L26 (error at __await__:100) else goto L17 -L17: - dec_ref r32 - return r36 -L18: - r37 = :: object - return r37 -L19: - dec_ref r9 - goto L18 -L20: - dec_ref r9 - dec_ref r12 - dec_ref r13 - goto L10 -L21: - dec_ref r9 - dec_ref r12 - dec_ref r16 - goto L18 -L22: - dec_ref r22 - goto L8 -L23: - dec_ref r9 - dec_ref r12 - goto L18 -L24: - dec_ref r26 - goto L14 -L25: - dec_ref r26 - goto L18 -L26: - dec_ref r32 - goto L18 - -def _await_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): - __mypyc_self__ :: dank_mids._batch._await_DankBatch_gen - type, value, traceback, arg :: object - stop_iter_ptr :: object_ptr - r0, r1, r2, r3 :: object - r4 :: i32 - r5 :: object - r6 :: bit - r7 :: dank_mids._batch.DankBatch - r8 :: object - r9 :: list - r10 :: bool - r11 :: object - r12 :: bool - r13 :: list - r14, r15 :: bool - r16 :: list - r17 :: ptr - r18 :: native_int - r19 :: list - r20, r21 :: bool - r22 :: list - r23 :: ptr - r24, r25 :: native_int - r26 :: bit - r27 :: list - r28 :: native_int - r29, r30 :: ptr - r31 :: native_int - r32 :: ptr - r33 :: object - r34 :: bool - r35 :: native_int - r36, r37 :: object - r38, r39 :: native_int - r40, r41, r42 :: bool - r43 :: list - r44 :: ptr - r45, r46 :: native_int - r47 :: bit - r48 :: list - r49 :: ptr - r50, r51 :: native_int - r52 :: bit - r53 :: list - r54 :: native_int - r55, r56 :: ptr - r57 :: native_int - r58 :: ptr - r59 :: object - r60 :: bool - r61 :: list - r62 :: native_int - r63, r64 :: ptr - r65 :: native_int - r66 :: ptr - r67 :: object - r68 :: bool - r69, r70 :: object - r71 :: bool - r72, r73, r74, r75, r76 :: object - r77 :: bool - r78 :: object - r79 :: bool - r80 :: object - r81 :: bit - r82 :: tuple[object, object, object] - r83 :: bool - r84 :: object_ptr - r85 :: object - r86 :: bool - r87, r88, r89 :: tuple[object, object, object] - r90 :: bit - r91, r92, r93 :: object - r94 :: tuple[object, object, object] - r95 :: bool - r96 :: object - r97 :: str - r98 :: object - r99 :: bit - r100 :: object - r101 :: bool - r102, r103 :: object - r104 :: ptr - r105 :: object - r106 :: bit - r107 :: object - r108 :: bool - r109, r110 :: object - r111 :: None - r112 :: object - r113 :: bool - r114, r115 :: tuple[object, object, object] - r116 :: bit - r117, r118 :: native_int - r119 :: bool - r120, r121 :: native_int - r122 :: bool - r123 :: union[object, None] - r124 :: object - r125 :: bit - r126 :: union[object, None] - r127 :: object - r128 :: bool - r129, r130, r131, r132, r133 :: object - r134 :: bool - r135 :: object - r136 :: bool - r137 :: object - r138 :: bit - r139 :: tuple[object, object, object] - r140 :: bool - r141 :: object_ptr - r142 :: object - r143 :: bool - r144, r145, r146 :: tuple[object, object, object] - r147 :: bit - r148, r149, r150, r151 :: object - r152 :: bool - r153, r154, r155 :: bit - r156 :: bool - r157 :: object -L0: - r0 = :: object - r1 = r0 - r2 = :: object - r3 = r2 - r4 = __mypyc_self__.__mypyc_next_label__ - goto L132 -L1: - r5 = load_address _Py_NoneStruct - r6 = type != r5 - if r6 goto L2 else goto L4 :: bool -L2: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L137 (error at _await:102) else goto L3 :: bool -L3: +L311: + inc_ref arg + goto L323 +L312: + r342 = CPy_CatchError() + r24.__mypyc_temp__23 = r342; r343 = is_error + if not r343 goto L533 (error at coroutine:-1) else goto L313 :: bool +L313: + r344 = load_address r17 + r345 = r24.__mypyc_temp__22 + if is_error(r345) goto L533 (error at coroutine:-1) else goto L314 +L314: + r346 = CPy_YieldFromErrorHandle(r345, r344) + dec_ref r345 + if is_error(r346) goto L533 (error at coroutine:156) else goto L315 +L315: + if r346 goto L318 else goto L316 :: bool +L316: + r338 = r17 + r347 = r24.__mypyc_temp__23 + if is_error(r347) goto L534 (error at coroutine:-1) else goto L535 +L317: + CPy_RestoreExcInfo(r347) + dec_ref r347 + goto L307 +L318: + r335 = r17 + dec_ref r335 + r348 = r24.__mypyc_temp__23 + if is_error(r348) goto L320 (error at coroutine:-1) else goto L319 +L319: + CPy_RestoreExcInfo(r348) + dec_ref r348 + goto L328 +L320: + r349 = r24.__mypyc_temp__23 + dec_ref r24 + if is_error(r349) goto L331 (error at coroutine:-1) else goto L321 +L321: + CPy_RestoreExcInfo(r349) + dec_ref r349 + r350 = CPy_KeepPropagating() + if not r350 goto L331 else goto L536 :: bool +L322: unreachable -L4: - r7 = __mypyc_self__.__mypyc_generator_attribute__self - if is_error(r7) goto L137 (error at _await:114) else goto L5 -L5: - r8 = r7.coroutines - dec_ref r7 - if is_error(r8) goto L137 (error at _await:114) else goto L6 -L6: - r9 = PySequence_List(r8) - dec_ref r8 - if is_error(r9) goto L137 (error at _await:114) else goto L7 -L7: - __mypyc_self__.__mypyc_generator_attribute__batches = r9; r10 = is_error - if not r10 goto L137 (error at _await:114) else goto L8 :: bool -L8: - r11 = box(None, 1) - inc_ref r11 - __mypyc_self__.__mypyc_generator_attribute__last_failure = r11; r12 = is_error - if not r12 goto L137 (error at _await:116) else goto L9 :: bool -L9: - r13 = __mypyc_self__.__mypyc_generator_attribute__batches - if is_error(r13) goto L137 (error at _await:117) else goto L10 -L10: - __mypyc_self__.__mypyc_temp__0 = r13; r14 = is_error - if not r14 goto L137 (error at _await:-1) else goto L11 :: bool -L11: - __mypyc_self__.__mypyc_temp__1 = 0; r15 = is_error - if not r15 goto L137 (error at _await:-1) else goto L12 :: bool -L12: - r16 = __mypyc_self__.__mypyc_generator_attribute__batches - if is_error(r16) goto L137 (error at _await:117) else goto L13 -L13: - r17 = get_element_ptr r16 ob_size :: PyVarObject - r18 = load_mem r17 :: native_int* - r19 = PyList_New(r18) - if is_error(r19) goto L138 (error at _await:117) else goto L14 -L14: - __mypyc_self__.__mypyc_temp__2 = r16; r20 = is_error - if not r20 goto L139 (error at _await:-1) else goto L15 :: bool -L15: - __mypyc_self__.__mypyc_temp__3 = 0; r21 = is_error - if not r21 goto L139 (error at _await:-1) else goto L16 :: bool -L16: - r22 = __mypyc_self__.__mypyc_temp__2 - if is_error(r22) goto L139 (error at _await:117) else goto L17 -L17: - r23 = get_element_ptr r22 ob_size :: PyVarObject - r24 = load_mem r23 :: native_int* - dec_ref r22 - r25 = __mypyc_self__.__mypyc_temp__3 - if is_error(r25) goto L139 (error at _await:117) else goto L18 -L18: - r26 = r25 < r24 :: signed - if r26 goto L19 else goto L28 :: bool -L19: - r27 = __mypyc_self__.__mypyc_temp__2 - if is_error(r27) goto L139 (error at _await:117) else goto L20 -L20: - r28 = __mypyc_self__.__mypyc_temp__3 - if is_error(r28) goto L140 (error at _await:117) else goto L21 -L21: - r29 = get_element_ptr r27 ob_item :: PyListObject - r30 = load_mem r29 :: ptr* - r31 = r28 * 8 - r32 = r30 + r31 - r33 = load_mem r32 :: builtins.object* - dec_ref r27 - __mypyc_self__.__mypyc_generator_attribute__coro = r33; r34 = is_error - if not r34 goto L139 (error at _await:117) else goto L22 :: bool -L22: - r35 = __mypyc_self__.__mypyc_temp__3 - if is_error(r35) goto L139 (error at _await:-1) else goto L23 -L23: - r36 = __mypyc_self__.__mypyc_generator_attribute__coro - if is_error(r36) goto L139 (error at _await:117) else goto L24 -L24: - r37 = _create_named_task(r36) - dec_ref r36 - if is_error(r37) goto L139 (error at _await:117) else goto L25 -L25: - CPyList_SetItemUnsafe(r19, r35, r37) -L26: - r38 = __mypyc_self__.__mypyc_temp__3 - if is_error(r38) goto L139 (error at _await:117) else goto L27 -L27: - r39 = r38 + 1 - __mypyc_self__.__mypyc_temp__3 = r39; r40 = is_error - if not r40 goto L139 (error at _await:117) else goto L16 :: bool -L28: - __mypyc_self__.__mypyc_temp__4 = r19; r41 = is_error - if not r41 goto L137 (error at _await:-1) else goto L29 :: bool -L29: - __mypyc_self__.__mypyc_temp__5 = 0; r42 = is_error - if not r42 goto L137 (error at _await:-1) else goto L30 :: bool -L30: - r43 = __mypyc_self__.__mypyc_temp__0 - if is_error(r43) goto L137 (error at _await:117) else goto L31 -L31: - r44 = get_element_ptr r43 ob_size :: PyVarObject - r45 = load_mem r44 :: native_int* - dec_ref r43 - r46 = __mypyc_self__.__mypyc_temp__1 - if is_error(r46) goto L137 (error at _await:117) else goto L32 -L32: - r47 = r46 < r45 :: signed - if r47 goto L33 else goto L96 :: bool -L33: - r48 = __mypyc_self__.__mypyc_temp__4 - if is_error(r48) goto L137 (error at _await:117) else goto L34 -L34: - r49 = get_element_ptr r48 ob_size :: PyVarObject - r50 = load_mem r49 :: native_int* - dec_ref r48 - r51 = __mypyc_self__.__mypyc_temp__5 - if is_error(r51) goto L137 (error at _await:117) else goto L35 -L35: - r52 = r51 < r50 :: signed - if r52 goto L36 else goto L96 :: bool -L36: - r53 = __mypyc_self__.__mypyc_temp__0 - if is_error(r53) goto L137 (error at _await:117) else goto L37 -L37: - r54 = __mypyc_self__.__mypyc_temp__1 - if is_error(r54) goto L141 (error at _await:117) else goto L38 -L38: - r55 = get_element_ptr r53 ob_item :: PyListObject - r56 = load_mem r55 :: ptr* - r57 = r54 * 8 - r58 = r56 + r57 - r59 = load_mem r58 :: builtins.object* - dec_ref r53 - __mypyc_self__.__mypyc_generator_attribute__batch = r59; r60 = is_error - if not r60 goto L137 (error at _await:117) else goto L39 :: bool -L39: - r61 = __mypyc_self__.__mypyc_temp__4 - if is_error(r61) goto L137 (error at _await:117) else goto L40 -L40: - r62 = __mypyc_self__.__mypyc_temp__5 - if is_error(r62) goto L142 (error at _await:117) else goto L41 -L41: - r63 = get_element_ptr r61 ob_item :: PyListObject - r64 = load_mem r63 :: ptr* - r65 = r62 * 8 - r66 = r64 + r65 - r67 = load_mem r66 :: builtins.object* - dec_ref r61 - __mypyc_self__.__mypyc_generator_attribute__task = r67; r68 = is_error - if not r68 goto L137 (error at _await:117) else goto L42 :: bool -L42: - r69 = __mypyc_self__.__mypyc_generator_attribute__task - if is_error(r69) goto L71 (error at _await:119) else goto L43 -L43: - r70 = CPy_GetCoro(r69) - dec_ref r69 - if is_error(r70) goto L71 (error at _await:119) else goto L44 -L44: - __mypyc_self__.__mypyc_temp__6 = r70; r71 = is_error - if not r71 goto L71 (error at _await:-1) else goto L45 :: bool -L45: - r72 = __mypyc_self__.__mypyc_temp__6 - if is_error(r72) goto L71 (error at _await:-1) else goto L46 -L46: - r73 = CPyIter_Next(r72) - dec_ref r72 - if is_error(r73) goto L47 else goto L49 -L47: - r74 = CPy_FetchStopIterationValue() - if is_error(r74) goto L71 (error at _await:119) else goto L48 -L48: - r75 = r74 - dec_ref r75 - r76 = :: object - __mypyc_self__.__mypyc_temp__6 = r76; r77 = is_error - if not r77 goto L71 (error at _await:119) else goto L92 :: bool -L49: - r78 = r73 -L50: - __mypyc_self__.__mypyc_next_label__ = 1 - return r78 -L51: - r80 = load_address _Py_NoneStruct - r81 = type != r80 - if r81 goto L52 else goto L143 :: bool -L52: +L323: + r351 = r24.__mypyc_temp__22 + if is_error(r351) goto L537 (error at coroutine:-1) else goto L324 +L324: + r352 = CPyIter_Send(r351, arg) + dec_ref r351 + dec_ref arg + if is_error(r352) goto L326 else goto L538 +L325: + r338 = r352 + goto L307 +L326: + r353 = CPy_FetchStopIterationValue() + if is_error(r353) goto L527 (error at coroutine:156) else goto L327 +L327: + r335 = r353 + dec_ref r335 +L328: + if is_error(r19) goto L335 else goto L539 +L329: + CPy_Reraise() + if not 0 goto L331 else goto L540 :: bool +L330: + unreachable +L331: + if is_error(r19) goto L333 else goto L332 +L332: + CPy_RestoreExcInfo(r19) + xdec_ref r19 +L333: + r354 = CPy_KeepPropagating() + if not r354 goto L421 else goto L334 :: bool +L334: + unreachable +L335: + r355 = r24.__mypyc_generator_attribute__self + if is_error(r355) goto L367 (error at coroutine:161) else goto L336 +L336: + r356 = r24.__mypyc_generator_attribute__output + if is_error(r356) goto L541 (error at coroutine:161) else goto L337 +L337: + r357 = cast(bytes, r356) + if is_error(r357) goto L541 (error at coroutine:161) else goto L338 +L338: + r358 = decode_output(r355, r357) + dec_ref r355 + dec_ref r357 + if is_error(r358) goto L367 (error at coroutine:161) else goto L339 +L339: + r24.__mypyc_temp__24 = r358; r359 = is_error + if not r359 goto L367 (error at coroutine:-1) else goto L340 :: bool +L340: + r360 = r24.__mypyc_temp__24 + if is_error(r360) goto L367 (error at coroutine:-1) else goto L341 +L341: + r361 = load_address _Py_NoneStruct + r362 = :: object + r21 = r362 + r363 = load_address r21 + r364 = r360.__mypyc_generator_helper__(r361, r361, r361, r361, r363) + dec_ref r360 + if is_error(r364) goto L342 else goto L542 +L342: + r365 = r21 != 0 + if not r365 goto L543 (error at coroutine:-1) else goto L343 :: bool +L343: + r366 = r21 + r367 = :: dank_mids.brownie_patch.call.decode_output_gen + r24.__mypyc_temp__24 = r367; r368 = is_error + if not r368 goto L544 (error at coroutine:161) else goto L366 :: bool +L344: + r369 = r364 +L345: + r24.__mypyc_next_label__ = 9 + dec_ref r24 + return r369 +L346: + r371 = load_address _Py_NoneStruct + r372 = type != r371 + if r372 goto L347 else goto L545 :: bool +L347: CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L55 (error at _await:119) else goto L144 :: bool -L53: + if not 0 goto L350 (error at coroutine:161) else goto L546 :: bool +L348: unreachable -L54: +L349: inc_ref arg - goto L66 -L55: - r82 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__7 = r82; r83 = is_error - if not r83 goto L145 (error at _await:-1) else goto L56 :: bool -L56: - r84 = load_address r1 - r85 = __mypyc_self__.__mypyc_temp__6 - if is_error(r85) goto L145 (error at _await:-1) else goto L57 -L57: - r86 = CPy_YieldFromErrorHandle(r85, r84) - dec_ref r85 - if is_error(r86) goto L145 (error at _await:119) else goto L58 -L58: - if r86 goto L61 else goto L59 :: bool -L59: - r78 = r1 - r87 = __mypyc_self__.__mypyc_temp__7 - if is_error(r87) goto L146 (error at _await:-1) else goto L60 -L60: - CPy_RestoreExcInfo(r87) - dec_ref r87 - goto L50 -L61: - r75 = r1 - dec_ref r75 - r88 = __mypyc_self__.__mypyc_temp__7 - if is_error(r88) goto L63 (error at _await:-1) else goto L62 -L62: - CPy_RestoreExcInfo(r88) - dec_ref r88 - goto L92 -L63: - r89 = __mypyc_self__.__mypyc_temp__7 - if is_error(r89) goto L71 (error at _await:-1) else goto L64 -L64: - CPy_RestoreExcInfo(r89) - dec_ref r89 - r90 = CPy_KeepPropagating() - if not r90 goto L71 else goto L65 :: bool -L65: + goto L361 +L350: + r373 = CPy_CatchError() + r24.__mypyc_temp__25 = r373; r374 = is_error + if not r374 goto L547 (error at coroutine:-1) else goto L351 :: bool +L351: + r375 = load_address r23 + r376 = r24.__mypyc_temp__24 + if is_error(r376) goto L547 (error at coroutine:-1) else goto L352 +L352: + r377 = CPy_YieldFromErrorHandle(r376, r375) + dec_ref r376 + if is_error(r377) goto L547 (error at coroutine:161) else goto L353 +L353: + if r377 goto L356 else goto L354 :: bool +L354: + r369 = r23 + r378 = r24.__mypyc_temp__25 + if is_error(r378) goto L548 (error at coroutine:-1) else goto L355 +L355: + CPy_RestoreExcInfo(r378) + dec_ref r378 + goto L345 +L356: + r366 = r23 + r379 = r24.__mypyc_temp__25 + if is_error(r379) goto L549 (error at coroutine:-1) else goto L357 +L357: + CPy_RestoreExcInfo(r379) + dec_ref r379 + goto L366 +L358: + r380 = r24.__mypyc_temp__25 + if is_error(r380) goto L367 (error at coroutine:-1) else goto L359 +L359: + CPy_RestoreExcInfo(r380) + dec_ref r380 + r381 = CPy_KeepPropagating() + if not r381 goto L367 else goto L550 :: bool +L360: unreachable -L66: - r91 = __mypyc_self__.__mypyc_temp__6 - if is_error(r91) goto L147 (error at _await:-1) else goto L67 -L67: - r92 = CPyIter_Send(r91, arg) - dec_ref r91 +L361: + r382 = r24.__mypyc_temp__24 + if is_error(r382) goto L551 (error at coroutine:-1) else goto L362 +L362: + r383 = CPyIter_Send(r382, arg) + dec_ref r382 dec_ref arg - if is_error(r92) goto L69 else goto L68 -L68: - r78 = r92 - goto L50 -L69: - r93 = CPy_FetchStopIterationValue() - if is_error(r93) goto L71 (error at _await:119) else goto L70 -L70: - r75 = r93 - dec_ref r75 - goto L92 -L71: - r94 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__8 = r94; r95 = is_error - if not r95 goto L89 (error at _await:-1) else goto L72 :: bool -L72: - r96 = builtins :: module - r97 = 'Exception' - r98 = CPyObject_GetAttr(r96, r97) - if is_error(r98) goto L89 (error at _await:120) else goto L73 -L73: - r99 = CPy_ExceptionMatches(r98) - dec_ref r98 - if r99 goto L74 else goto L85 :: bool -L74: - r100 = CPy_GetExcValue() - __mypyc_self__.__mypyc_generator_attribute__e = r100; r101 = is_error - if not r101 goto L89 (error at _await:120) else goto L75 :: bool -L75: - r102 = __mypyc_self__.__mypyc_generator_attribute__e - if is_error(r102) goto L89 (error at _await:122) else goto L76 -L76: - r103 = dank_mids._exceptions.DankMidsInternalError :: type - r104 = get_element_ptr r102 ob_type :: PyObject - r105 = borrow load_mem r104 :: builtins.object* - dec_ref r102 - r106 = r105 == r103 - if r106 goto L83 else goto L77 :: bool -L77: - r107 = dank_mids._batch.logger :: static - if is_error(r107) goto L78 else goto L80 -L78: - r108 = raise NameError('value for final name "logger" was not set') - if not r108 goto L89 (error at _await:123) else goto L79 :: bool -L79: + if is_error(r383) goto L364 else goto L363 +L363: + r369 = r383 + goto L345 +L364: + r384 = CPy_FetchStopIterationValue() + if is_error(r384) goto L367 (error at coroutine:161) else goto L365 +L365: + r366 = r384 +L366: + r24.__mypyc_generator_attribute__decoded = r366; r385 = is_error + if not r385 goto L367 (error at coroutine:161) else goto L390 :: bool +L367: + r386 = CPy_CatchError() + r24.__mypyc_temp__26 = r386; r387 = is_error + if not r387 goto L387 (error at coroutine:-1) else goto L368 :: bool +L368: + r388 = dank_mids.brownie_patch.call.globals :: static + r389 = 'InsufficientDataBytes' + r390 = CPyDict_GetItem(r388, r389) + if is_error(r390) goto L387 (error at coroutine:162) else goto L369 +L369: + r391 = CPy_ExceptionMatches(r390) + dec_ref r390 + if r391 goto L370 else goto L385 :: bool +L370: + r392 = CPy_GetExcValue() + r24.__mypyc_generator_attribute__e = r392; r393 = is_error + if not r393 goto L387 (error at coroutine:162) else goto L371 :: bool +L371: + r394 = 'error' + r395 = r24.__mypyc_generator_attribute__e + if is_error(r395) goto L387 (error at coroutine:165) else goto L372 +L372: + r396 = PyObject_Str(r395) + dec_ref r395 + if is_error(r396) goto L387 (error at coroutine:165) else goto L373 +L373: + r397 = ' when decoding response' + r398 = CPyStr_Build(2, r396, r397) + dec_ref r396 + if is_error(r398) goto L387 (error at coroutine:165) else goto L374 +L374: + r399 = 'method' + r400 = r24.__mypyc_generator_attribute__self + if is_error(r400) goto L552 (error at coroutine:166) else goto L375 +L375: + r401 = 'contract' + r402 = r24.__mypyc_generator_attribute__self + if is_error(r402) goto L553 (error at coroutine:167) else goto L376 +L376: + r403 = '_address' + r404 = CPyObject_GetAttr(r402, r403) + dec_ref r402 + if is_error(r404) goto L553 (error at coroutine:167) else goto L377 +L377: + r405 = 'args' + r406 = r24.__mypyc_generator_attribute__args + if is_error(r406) goto L554 (error at coroutine:168) else goto L378 +L378: + r407 = 'block' + r408 = r24.__mypyc_generator_attribute__block_identifier + if is_error(r408) goto L555 (error at coroutine:169) else goto L379 +L379: + r409 = 'response' + r410 = r24.__mypyc_generator_attribute__output + if is_error(r410) goto L556 (error at coroutine:170) else goto L380 +L380: + r411 = CPyDict_Build(6, r394, r398, r399, r400, r401, r404, r405, r406, r407, r408, r409, r410) + dec_ref r398 + dec_ref r400 + dec_ref r404 + dec_ref r406 + dec_ref r408 + dec_ref r410 + if is_error(r411) goto L387 (error at coroutine:164) else goto L381 +L381: + r412 = dank_mids.brownie_patch.call.globals :: static + r413 = 'InsufficientDataBytes' + r414 = CPyDict_GetItem(r412, r413) + if is_error(r414) goto L557 (error at coroutine:163) else goto L382 +L382: + r415 = [r411] + r416 = load_address r415 + r417 = PyObject_Vectorcall(r414, r416, 1, 0) + dec_ref r414 + if is_error(r417) goto L557 (error at coroutine:163) else goto L383 +L383: + dec_ref r411 + CPy_Raise(r417) + dec_ref r417 + if not 0 goto L387 (error at coroutine:163) else goto L558 :: bool +L384: unreachable -L80: - r109 = __mypyc_self__.__mypyc_generator_attribute__batch - if is_error(r109) goto L89 (error at _await:123) else goto L81 -L81: - r110 = __mypyc_self__.__mypyc_generator_attribute__e - if is_error(r110) goto L148 (error at _await:123) else goto L82 -L82: - r111 = log_internal_error(r107, r109, r110) - dec_ref r109 - dec_ref r110 - if is_error(r111) goto L89 (error at _await:123) else goto L83 -L83: - r112 = __mypyc_self__.__mypyc_generator_attribute__task - if is_error(r112) goto L89 (error at _await:124) else goto L84 -L84: - __mypyc_self__.__mypyc_generator_attribute__last_failure = r112; r113 = is_error - if not r113 goto L89 (error at _await:124) else goto L87 :: bool -L85: +L385: CPy_Reraise() - if not 0 goto L89 else goto L86 :: bool -L86: - unreachable -L87: - r114 = __mypyc_self__.__mypyc_temp__8 - if is_error(r114) goto L137 (error at _await:-1) else goto L88 -L88: - CPy_RestoreExcInfo(r114) - dec_ref r114 - goto L92 -L89: - r115 = __mypyc_self__.__mypyc_temp__8 - if is_error(r115) goto L137 (error at _await:-1) else goto L90 -L90: - CPy_RestoreExcInfo(r115) - dec_ref r115 - r116 = CPy_KeepPropagating() - if not r116 goto L137 else goto L91 :: bool -L91: + if not 0 goto L387 else goto L559 :: bool +L386: unreachable -L92: - r117 = __mypyc_self__.__mypyc_temp__1 - if is_error(r117) goto L137 (error at _await:117) else goto L93 -L93: - r118 = r117 + 1 - __mypyc_self__.__mypyc_temp__1 = r118; r119 = is_error - if not r119 goto L137 (error at _await:117) else goto L94 :: bool -L94: - r120 = __mypyc_self__.__mypyc_temp__5 - if is_error(r120) goto L137 (error at _await:117) else goto L95 -L95: - r121 = r120 + 1 - __mypyc_self__.__mypyc_temp__5 = r121; r122 = is_error - if not r122 goto L137 (error at _await:117) else goto L30 :: bool -L96: - r123 = __mypyc_self__.__mypyc_generator_attribute__last_failure - if is_error(r123) goto L137 (error at _await:126) else goto L97 -L97: - r124 = load_address _Py_NoneStruct - r125 = r123 != r124 - dec_ref r123 - if r125 goto L98 else goto L127 :: bool -L98: - r126 = __mypyc_self__.__mypyc_generator_attribute__last_failure - if is_error(r126) goto L137 (error at _await:128) else goto L99 -L99: - r127 = CPy_GetCoro(r126) - dec_ref r126 - if is_error(r127) goto L137 (error at _await:128) else goto L100 -L100: - __mypyc_self__.__mypyc_temp__9 = r127; r128 = is_error - if not r128 goto L137 (error at _await:-1) else goto L101 :: bool -L101: - r129 = __mypyc_self__.__mypyc_temp__9 - if is_error(r129) goto L137 (error at _await:-1) else goto L102 -L102: - r130 = CPyIter_Next(r129) - dec_ref r129 - if is_error(r130) goto L103 else goto L105 -L103: - r131 = CPy_FetchStopIterationValue() - if is_error(r131) goto L137 (error at _await:128) else goto L104 -L104: - r132 = r131 - dec_ref r132 - r133 = :: object - __mypyc_self__.__mypyc_temp__9 = r133; r134 = is_error - if not r134 goto L137 (error at _await:128) else goto L127 :: bool -L105: - r135 = r130 -L106: - __mypyc_self__.__mypyc_next_label__ = 2 - return r135 -L107: - r137 = load_address _Py_NoneStruct - r138 = type != r137 - if r138 goto L108 else goto L149 :: bool -L108: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L111 (error at _await:128) else goto L150 :: bool -L109: +L387: + r418 = r24.__mypyc_temp__26 + dec_ref r24 + if is_error(r418) goto L421 (error at coroutine:-1) else goto L388 +L388: + CPy_RestoreExcInfo(r418) + dec_ref r418 + r419 = CPy_KeepPropagating() + if not r419 goto L421 else goto L389 :: bool +L389: unreachable -L110: - inc_ref arg - goto L122 -L111: - r139 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__10 = r139; r140 = is_error - if not r140 goto L151 (error at _await:-1) else goto L112 :: bool -L112: - r141 = load_address r3 - r142 = __mypyc_self__.__mypyc_temp__9 - if is_error(r142) goto L151 (error at _await:-1) else goto L113 -L113: - r143 = CPy_YieldFromErrorHandle(r142, r141) - dec_ref r142 - if is_error(r143) goto L151 (error at _await:128) else goto L114 -L114: - if r143 goto L117 else goto L115 :: bool -L115: - r135 = r3 - r144 = __mypyc_self__.__mypyc_temp__10 - if is_error(r144) goto L152 (error at _await:-1) else goto L116 -L116: - CPy_RestoreExcInfo(r144) - dec_ref r144 - goto L106 -L117: - r132 = r3 - dec_ref r132 - r145 = __mypyc_self__.__mypyc_temp__10 - if is_error(r145) goto L119 (error at _await:-1) else goto L118 -L118: - CPy_RestoreExcInfo(r145) - dec_ref r145 - goto L127 -L119: - r146 = __mypyc_self__.__mypyc_temp__10 - if is_error(r146) goto L137 (error at _await:-1) else goto L120 -L120: - CPy_RestoreExcInfo(r146) - dec_ref r146 - r147 = CPy_KeepPropagating() - if not r147 goto L137 else goto L121 :: bool -L121: +L390: + r420 = r24.__mypyc_generator_attribute__decimals + if is_error(r420) goto L560 (error at coroutine:174) else goto L391 +L391: + r421 = load_address _Py_NoneStruct + r422 = r420 == r421 + dec_ref r420 + if r422 goto L392 else goto L394 :: bool +L392: + r423 = r24.__mypyc_generator_attribute__decoded + if is_error(r423) goto L560 (error at coroutine:174) else goto L393 +L393: + r424 = r423 + goto L404 +L394: + r425 = r24.__mypyc_generator_attribute__decoded + if is_error(r425) goto L560 (error at coroutine:174) else goto L395 +L395: + r426 = r24.__mypyc_generator_attribute__decimals + if is_error(r426) goto L561 (error at coroutine:174) else goto L396 +L396: + r427 = unbox(int, r426) + dec_ref r426 + if is_error(r427) goto L561 (error at coroutine:174) else goto L397 +L397: + r428 = dank_mids.brownie_patch.call.Decimal :: static + if is_error(r428) goto L562 else goto L400 +L398: + r429 = raise NameError('value for final name "Decimal" was not set') + if not r429 goto L421 (error at coroutine:174) else goto L399 :: bool +L399: unreachable -L122: - r148 = __mypyc_self__.__mypyc_temp__9 - if is_error(r148) goto L153 (error at _await:-1) else goto L123 -L123: - r149 = CPyIter_Send(r148, arg) - dec_ref r148 - dec_ref arg - if is_error(r149) goto L125 else goto L124 -L124: - r135 = r149 - goto L106 -L125: - r150 = CPy_FetchStopIterationValue() - if is_error(r150) goto L137 (error at _await:128) else goto L126 -L126: - r132 = r150 - dec_ref r132 -L127: - r151 = box(None, 1) - __mypyc_self__.__mypyc_next_label__ = -1 -L128: - if is_error(stop_iter_ptr) goto L129 else goto L131 -L129: - CPyGen_SetStopIterationValue(r151) - if not 0 goto L137 else goto L130 :: bool -L130: +L400: + r430 = box(int, r427) + r431 = [r430] + r432 = load_address r431 + r433 = PyObject_Vectorcall(r428, r432, 1, 0) + if is_error(r433) goto L563 (error at coroutine:174) else goto L401 +L401: + dec_ref r430 + r434 = object 10 + r435 = CPyNumber_Power(r434, r433) + dec_ref r433 + if is_error(r435) goto L561 (error at coroutine:174) else goto L402 +L402: + r436 = PyNumber_TrueDivide(r425, r435) + dec_ref r425 + dec_ref r435 + if is_error(r436) goto L560 (error at coroutine:174) else goto L403 +L403: + r424 = r436 +L404: + r24.__mypyc_next_label__ = -1 + dec_ref r24 +L405: + if is_error(stop_iter_ptr) goto L406 else goto L408 +L406: + CPyGen_SetStopIterationValue(r424) + dec_ref r424 + if not 0 goto L421 else goto L407 :: bool +L407: unreachable -L131: - inc_ref r151 - set_mem stop_iter_ptr, r151 :: builtins.object* +L408: + set_mem stop_iter_ptr, r424 :: builtins.object* return 0 -L132: - r153 = r4 == 0 - if r153 goto L154 else goto L133 :: bool -L133: - r154 = r4 == 1 - if r154 goto L155 else goto L156 :: bool -L134: - r155 = r4 == 2 - if r155 goto L107 else goto L157 :: bool -L135: - r156 = raise StopIteration - if not r156 goto L137 (error at _await:102) else goto L136 :: bool -L136: - unreachable -L137: - r157 = :: object - return r157 -L138: - dec_ref r16 - goto L137 -L139: - dec_ref r19 - goto L137 -L140: - dec_ref r19 - dec_ref r27 - goto L137 -L141: - dec_ref r53 - goto L137 -L142: - dec_ref r61 - goto L137 -L143: - xdec_ref r1 - goto L54 -L144: - xdec_ref r1 - goto L53 -L145: +L409: + r438 = r25 == 0 + if r438 goto L564 else goto L410 :: bool +L410: + r439 = r25 == 1 + if r439 goto L565 else goto L566 :: bool +L411: + r440 = r25 == 2 + if r440 goto L567 else goto L568 :: bool +L412: + r441 = r25 == 3 + if r441 goto L569 else goto L570 :: bool +L413: + r442 = r25 == 4 + if r442 goto L571 else goto L572 :: bool +L414: + r443 = r25 == 5 + if r443 goto L573 else goto L574 :: bool +L415: + r444 = r25 == 6 + if r444 goto L575 else goto L576 :: bool +L416: + r445 = r25 == 7 + if r445 goto L577 else goto L578 :: bool +L417: + r446 = r25 == 8 + if r446 goto L579 else goto L580 :: bool +L418: + r447 = r25 == 9 + if r447 goto L346 else goto L581 :: bool +L419: + r448 = raise StopIteration + if not r448 goto L421 (error at coroutine:147) else goto L420 :: bool +L420: + unreachable +L421: + r449 = :: object + return r449 +L422: xdec_ref r1 - goto L63 -L146: - dec_ref r78 - goto L63 -L147: - dec_ref arg - goto L71 -L148: - dec_ref r109 - goto L89 -L149: - xdec_ref r3 - goto L110 -L150: xdec_ref r3 - goto L109 -L151: + xdec_ref r5 + xdec_ref r7 + xdec_ref r9 + xdec_ref r11 + xdec_ref r13 + xdec_ref r15 + xdec_ref r17 + xdec_ref r19 + xdec_ref r23 + goto L421 +L423: + xdec_ref r1 xdec_ref r3 - goto L119 -L152: - dec_ref r135 - goto L119 -L153: - dec_ref arg - goto L137 -L154: + xdec_ref r5 + xdec_ref r7 + xdec_ref r9 + xdec_ref r11 + xdec_ref r13 + xdec_ref r15 + xdec_ref r17 + xdec_ref r19 + xdec_ref r23 + dec_ref r24 + goto L421 +L424: + dec_ref r24 + dec_ref r26 + goto L3 +L425: + dec_ref r24 + dec_ref r26 + goto L421 +L426: + dec_ref r29 + goto L13 +L427: + dec_ref r24 + dec_ref r26 + goto L9 +L428: + dec_ref r24 + dec_ref r26 + goto L14 +L429: + dec_ref r24 + dec_ref r26 + dec_ref r46 + dec_ref r47 + goto L421 +L430: + dec_ref r24 + dec_ref r26 + dec_ref r46 + goto L421 +L431: + dec_ref r24 + dec_ref r26 + dec_ref r55 + goto L421 +L432: + dec_ref r26 + goto L30 +L433: + xdec_ref r1 + goto L35 +L434: xdec_ref r1 + dec_ref r24 + dec_ref r26 + goto L34 +L435: + xdec_ref r1 + dec_ref r26 + goto L44 +L436: + dec_ref r26 + goto L40 +L437: + dec_ref r66 + goto L44 +L438: + dec_ref r26 + goto L44 +L439: + dec_ref r24 + dec_ref r26 + dec_ref arg + goto L421 +L440: + dec_ref r26 + goto L49 +L441: + dec_ref r26 + goto L251 +L442: + dec_ref r26 + dec_ref r82 + goto L251 +L443: + dec_ref r26 + dec_ref r82 + dec_ref r83 :: int + goto L251 +L444: + dec_ref r26 + dec_ref r82 + dec_ref r83 :: int + dec_ref r84 + goto L251 +L445: + dec_ref r26 + dec_ref r82 + dec_ref r83 :: int + dec_ref r84 + dec_ref r85 + goto L251 +L446: + dec_ref r26 + dec_ref r82 + dec_ref r83 :: int + dec_ref r84 + dec_ref r85 + dec_ref r88 + goto L251 +L447: + dec_ref r26 + dec_ref r88 + dec_ref r89 + goto L251 +L448: + dec_ref r95 + goto L59 +L449: + dec_ref r26 + dec_ref r88 + goto L251 +L450: + dec_ref r26 + goto L67 +L451: + dec_ref r26 + dec_ref r103 + goto L251 +L452: xdec_ref r3 - goto L1 -L155: + goto L72 +L453: xdec_ref r3 - goto L51 -L156: - xdec_ref r1 - goto L134 -L157: + dec_ref r24 + dec_ref r26 + goto L71 +L454: xdec_ref r3 - goto L135 - -def _await_DankBatch_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids._batch._await_DankBatch_gen - r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = _await_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def _await_DankBatch_gen.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids._batch._await_DankBatch_gen - arg, r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = _await_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def _await_DankBatch_gen.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids._batch._await_DankBatch_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def _await_DankBatch_gen.throw(__mypyc_self__, type, value, traceback): - __mypyc_self__ :: dank_mids._batch._await_DankBatch_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 = _await_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) - 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 _await_DankBatch_gen.close(__mypyc_self__): - __mypyc_self__ :: dank_mids._batch._await_DankBatch_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 _await_DankBatch_gen.__await__(__mypyc_self__): - __mypyc_self__ :: dank_mids._batch._await_DankBatch_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def DankBatch._await(self): - self :: dank_mids._batch.DankBatch - r0 :: dank_mids._batch._await_DankBatch_gen - r1, r2 :: bool - r3 :: dank_mids._batch._await_DankBatch_gen -L0: - r0 = _await_DankBatch_gen() - if is_error(r0) goto L3 (error at _await:102) else goto L1 -L1: - r0.__mypyc_next_label__ = 0 - inc_ref self - r0.__mypyc_generator_attribute__self = self; r2 = is_error - if not r2 goto L4 (error at _await:102) else goto L2 :: bool -L2: - return r0 -L3: - r3 = :: dank_mids._batch._await_DankBatch_gen - return r3 -L4: - dec_ref r0 - goto L3 - -def coroutines_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): - __mypyc_self__ :: dank_mids._batch.coroutines_DankBatch_gen - type, value, traceback, arg :: object - stop_iter_ptr :: object_ptr - r0 :: i32 - r1 :: object - r2 :: bit - r3 :: dank_mids._batch.DankBatch - r4 :: object - r5 :: bool - r6 :: object - r7 :: str - r8 :: object - r9 :: bool - r10 :: dank_mids._batch.DankBatch - r11 :: object - r12 :: bool - r13 :: dank_mids._batch.DankBatch - r14 :: dict - r15, r16 :: bool - r17 :: dict - r18 :: native_int - r19 :: bool - r20 :: object - r21 :: bool - r22 :: object - r23 :: short_int - r24 :: tuple[bool, short_int, object] - r25 :: short_int - r26, r27 :: bool - r28 :: object - r29 :: bool - r30 :: object - r31 :: int - r32, r33, r34 :: object - r35 :: i32 - r36 :: bit - r37 :: bool - r38, r39, r40 :: object - r41 :: object[2] - r42 :: object_ptr - r43, r44, r45, r46 :: object - r47 :: str - r48 :: object - r49 :: object[3] - r50 :: object_ptr - r51, r52, r53 :: object - r54 :: str - r55 :: object - r56 :: bool - r57 :: object - r58 :: bool - r59 :: object - r60 :: bit - r61 :: dank_mids._batch.DankBatch - r62 :: object - r63 :: dict - r64 :: str - r65 :: object - r66 :: object[1] - r67 :: object_ptr - r68 :: object - r69 :: bool - r70 :: object - r71 :: str - r72 :: object - r73 :: bool - r74 :: dict - r75 :: native_int - r76, r77 :: bit - r78 :: object - r79 :: i32 - r80 :: bit - r81 :: bool - r82 :: object - r83 :: int - r84 :: bit - r85, r86, r87 :: object - r88 :: str - r89 :: object - r90 :: object[1] - r91 :: object_ptr - r92 :: object - r93 :: bool - r94 :: object - r95 :: str - r96 :: object - r97 :: str - r98 :: object[1] - r99 :: object_ptr - r100, r101, r102 :: object - r103 :: dict - r104 :: str - r105 :: object - r106 :: bit - r107, r108, r109 :: object - r110 :: str - r111 :: object[1] - r112 :: object_ptr - r113 :: object - r114 :: bool - r115 :: object - r116 :: bit - r117 :: object - r118 :: bool - r119 :: object - r120 :: bit - r121 :: object - r122 :: bool - r123, r124, r125, r126 :: bit - r127 :: bool - r128 :: object -L0: - r0 = __mypyc_self__.__mypyc_next_label__ - goto L93 -L1: - r1 = load_address _Py_NoneStruct - r2 = type != r1 - if r2 goto L2 else goto L4 :: bool -L2: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L99 (error at coroutines:131) else goto L3 :: bool -L3: - unreachable -L4: - r3 = __mypyc_self__.__mypyc_generator_attribute__self - if is_error(r3) goto L99 (error at coroutines:145) else goto L5 -L5: - r4 = r3.rpc_calls - dec_ref r3 - __mypyc_self__.__mypyc_generator_attribute__working_batch = r4; r5 = is_error - if not r5 goto L99 (error at coroutines:145) else goto L6 :: bool -L6: - r6 = __mypyc_self__.__mypyc_generator_attribute__working_batch - if is_error(r6) goto L99 (error at coroutines:148) else goto L7 -L7: - r7 = 'append' - r8 = CPyObject_GetAttr(r6, r7) - dec_ref r6 - if is_error(r8) goto L99 (error at coroutines:148) else goto L8 -L8: - __mypyc_self__.__mypyc_generator_attribute__batch_append = r8; r9 = is_error - if not r9 goto L99 (error at coroutines:148) else goto L9 :: bool -L9: - r10 = __mypyc_self__.__mypyc_generator_attribute__self - if is_error(r10) goto L99 (error at coroutines:151) else goto L10 -L10: - r11 = r10._check_len - dec_ref r10 - __mypyc_self__.__mypyc_generator_attribute__check_len = r11; r12 = is_error - if not r12 goto L99 (error at coroutines:151) else goto L11 :: bool -L11: - r13 = __mypyc_self__.__mypyc_generator_attribute__self - if is_error(r13) goto L99 (error at coroutines:152) else goto L12 -L12: - r14 = r13.multicalls - dec_ref r13 - inc_ref r14 - __mypyc_self__.__mypyc_temp__11 = r14; r15 = is_error - if not r15 goto L100 (error at coroutines:-1) else goto L13 :: bool -L13: - __mypyc_self__.__mypyc_temp__12 = 0; r16 = is_error - if not r16 goto L100 (error at coroutines:-1) else goto L14 :: bool -L14: - r17 = __mypyc_self__.__mypyc_temp__11 - if is_error(r17) goto L100 (error at coroutines:152) else goto L15 -L15: - r18 = PyDict_Size(r17) - dec_ref r17 - __mypyc_self__.__mypyc_temp__13 = r18; r19 = is_error - if not r19 goto L100 (error at coroutines:-1) else goto L16 :: bool -L16: - r20 = CPyDict_GetValuesIter(r14) - dec_ref r14 - if is_error(r20) goto L99 (error at coroutines:152) else goto L17 -L17: - __mypyc_self__.__mypyc_temp__14 = r20; r21 = is_error - if not r21 goto L99 (error at coroutines:-1) else goto L18 :: bool -L18: - r22 = __mypyc_self__.__mypyc_temp__14 - if is_error(r22) goto L99 (error at coroutines:152) else goto L19 -L19: - r23 = __mypyc_self__.__mypyc_temp__12 - if is_error(r23) goto L101 (error at coroutines:152) else goto L20 -L20: - r24 = CPyDict_NextValue(r22, r23) - dec_ref r22 - r25 = r24[1] - __mypyc_self__.__mypyc_temp__12 = r25; r26 = is_error - if not r26 goto L102 (error at coroutines:152) else goto L21 :: bool -L21: - r27 = r24[0] - if r27 goto L22 else goto L103 :: bool -L22: - r28 = r24[2] + dec_ref r26 + goto L81 +L455: + dec_ref r26 + goto L77 +L456: + dec_ref r106 + goto L81 +L457: + dec_ref r26 + dec_ref r103 + goto L81 +L458: dec_ref r24 - __mypyc_self__.__mypyc_generator_attribute__mcall = r28; r29 = is_error - if not r29 goto L99 (error at coroutines:152) else goto L23 :: bool -L23: - r30 = __mypyc_self__.__mypyc_generator_attribute__mcall - if is_error(r30) goto L99 (error at coroutines:153) else goto L24 -L24: - r31 = CPyObject_Size(r30) - dec_ref r30 - if is_error(r31) goto L99 (error at coroutines:153) else goto L25 -L25: - r32 = __mypyc_self__.__mypyc_generator_attribute__check_len - if is_error(r32) goto L104 (error at coroutines:153) else goto L26 -L26: - r33 = box(int, r31) - r34 = PyObject_RichCompare(r33, r32, 5) - dec_ref r33 - dec_ref r32 - if is_error(r34) goto L99 (error at coroutines:153) else goto L27 -L27: - r35 = PyObject_IsTrue(r34) - dec_ref r34 - r36 = r35 >= 0 :: signed - if not r36 goto L99 (error at coroutines:153) else goto L28 :: bool -L28: - r37 = truncate r35: i32 to builtins.bool - if r37 goto L29 else goto L33 :: bool -L29: - r38 = __mypyc_self__.__mypyc_generator_attribute__mcall - if is_error(r38) goto L99 (error at coroutines:154) else goto L30 -L30: - r39 = __mypyc_self__.__mypyc_generator_attribute__batch_append - if is_error(r39) goto L105 (error at coroutines:154) else goto L31 -L31: - r40 = box(bool, 1) - r41 = [r38, r40] - r42 = load_address r41 - r43 = ('skip_check',) - r44 = PyObject_Vectorcall(r39, r42, 1, r43) - dec_ref r39 - if is_error(r44) goto L105 (error at coroutines:154) else goto L106 -L32: - dec_ref r38 - goto L37 -L33: - r45 = __mypyc_self__.__mypyc_generator_attribute__working_batch - if is_error(r45) goto L99 (error at coroutines:158) else goto L34 -L34: - r46 = __mypyc_self__.__mypyc_generator_attribute__mcall - if is_error(r46) goto L107 (error at coroutines:158) else goto L35 -L35: - r47 = 'extend' - r48 = box(bool, 1) - r49 = [r45, r46, r48] - r50 = load_address r49 - r51 = ('skip_check',) - r52 = PyObject_VectorcallMethod(r47, r50, 9223372036854775810, r51) - if is_error(r52) goto L108 (error at coroutines:158) else goto L109 -L36: - dec_ref r45 - dec_ref r46 -L37: - r53 = __mypyc_self__.__mypyc_generator_attribute__working_batch - if is_error(r53) goto L99 (error at coroutines:159) else goto L38 -L38: - r54 = 'is_full' - r55 = CPyObject_GetAttr(r53, r54) - dec_ref r53 - if is_error(r55) goto L99 (error at coroutines:159) else goto L39 -L39: - r56 = unbox(bool, r55) - dec_ref r55 - if is_error(r56) goto L99 (error at coroutines:159) else goto L40 -L40: - if r56 goto L41 else goto L53 :: bool -L41: - r57 = __mypyc_self__.__mypyc_generator_attribute__working_batch - if is_error(r57) goto L99 (error at coroutines:160) else goto L42 -L42: - __mypyc_self__.__mypyc_next_label__ = 1 - return r57 -L43: - r59 = load_address _Py_NoneStruct - r60 = type != r59 - if r60 goto L44 else goto L46 :: bool -L44: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L99 (error at coroutines:160) else goto L45 :: bool -L45: - unreachable -L46: - r61 = __mypyc_self__.__mypyc_generator_attribute__self - if is_error(r61) goto L99 (error at coroutines:161) else goto L47 -L47: - r62 = r61.controller - dec_ref r61 - r63 = dank_mids._batch.globals :: static - r64 = 'JSONRPCBatch' - r65 = CPyDict_GetItem(r63, r64) - if is_error(r65) goto L110 (error at coroutines:161) else goto L48 -L48: - r66 = [r62] - r67 = load_address r66 - r68 = PyObject_Vectorcall(r65, r67, 1, 0) - dec_ref r65 - if is_error(r68) goto L110 (error at coroutines:161) else goto L49 -L49: - dec_ref r62 - __mypyc_self__.__mypyc_generator_attribute__working_batch = r68; r69 = is_error - if not r69 goto L99 (error at coroutines:161) else goto L50 :: bool -L50: - r70 = __mypyc_self__.__mypyc_generator_attribute__working_batch - if is_error(r70) goto L99 (error at coroutines:162) else goto L51 -L51: - r71 = 'append' - r72 = CPyObject_GetAttr(r70, r71) - dec_ref r70 - if is_error(r72) goto L99 (error at coroutines:162) else goto L52 -L52: - __mypyc_self__.__mypyc_generator_attribute__batch_append = r72; r73 = is_error - if not r73 goto L99 (error at coroutines:162) else goto L53 :: bool -L53: - r74 = __mypyc_self__.__mypyc_temp__11 - if is_error(r74) goto L99 (error at coroutines:152) else goto L54 -L54: - r75 = __mypyc_self__.__mypyc_temp__13 - if is_error(r75) goto L111 (error at coroutines:152) else goto L55 -L55: - r76 = CPyDict_CheckSize(r74, r75) - dec_ref r74 - if not r76 goto L99 (error at coroutines:152) else goto L18 :: bool -L56: - r77 = CPy_NoErrOccurred() - if not r77 goto L99 (error at coroutines:152) else goto L57 :: bool -L57: - r78 = __mypyc_self__.__mypyc_generator_attribute__working_batch - if is_error(r78) goto L99 (error at coroutines:164) else goto L58 -L58: - r79 = PyObject_IsTrue(r78) - dec_ref r78 - r80 = r79 >= 0 :: signed - if not r80 goto L99 (error at coroutines:164) else goto L59 :: bool -L59: - r81 = truncate r79: i32 to builtins.bool - if r81 goto L60 else goto L88 :: bool -L60: - r82 = __mypyc_self__.__mypyc_generator_attribute__working_batch - if is_error(r82) goto L99 (error at coroutines:165) else goto L61 -L61: - r83 = CPyObject_Size(r82) - dec_ref r82 - if is_error(r83) goto L99 (error at coroutines:165) else goto L62 -L62: - r84 = r83 == 2 - dec_ref r83 :: int - if r84 goto L63 else goto L83 :: bool -L63: - r85 = __mypyc_self__.__mypyc_generator_attribute__working_batch - if is_error(r85) goto L99 (error at coroutines:166) else goto L64 -L64: - r86 = PyObject_GetIter(r85) - dec_ref r85 - if is_error(r86) goto L99 (error at coroutines:166) else goto L65 -L65: - r87 = builtins :: module - r88 = 'next' - r89 = CPyObject_GetAttr(r87, r88) - if is_error(r89) goto L112 (error at coroutines:166) else goto L66 -L66: - r90 = [r86] - r91 = load_address r90 - r92 = PyObject_Vectorcall(r89, r91, 1, 0) - dec_ref r89 - if is_error(r92) goto L112 (error at coroutines:166) else goto L67 -L67: - dec_ref r86 - __mypyc_self__.__mypyc_generator_attribute__call = r92; r93 = is_error - if not r93 goto L99 (error at coroutines:166) else goto L68 :: bool -L68: - r94 = __mypyc_self__.__mypyc_generator_attribute__working_batch - if is_error(r94) goto L99 (error at coroutines:168) else goto L69 -L69: - r95 = '_done' - r96 = CPyObject_GetAttr(r94, r95) - dec_ref r94 - if is_error(r96) goto L99 (error at coroutines:168) else goto L70 -L70: - r97 = 'set' - r98 = [r96] - r99 = load_address r98 - r100 = PyObject_VectorcallMethod(r97, r99, 9223372036854775809, 0) - if is_error(r100) goto L113 (error at coroutines:168) else goto L114 -L71: - dec_ref r96 - r101 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r101) goto L99 (error at coroutines:169) else goto L72 -L72: - r102 = CPy_TYPE(r101) - dec_ref r101 - r103 = dank_mids._batch.globals :: static - r104 = 'Multicall' - r105 = CPyDict_GetItem(r103, r104) - if is_error(r105) goto L115 (error at coroutines:169) else goto L73 -L73: - r106 = r102 == r105 - dec_ref r102 - dec_ref r105 - if r106 goto L74 else goto L76 :: bool -L74: - r107 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r107) goto L99 (error at coroutines:169) else goto L75 -L75: - r108 = r107 - goto L79 -L76: - r109 = __mypyc_self__.__mypyc_generator_attribute__call - if is_error(r109) goto L99 (error at coroutines:169) else goto L77 -L77: - r110 = 'make_request' - r111 = [r109] - r112 = load_address r111 - r113 = PyObject_VectorcallMethod(r110, r112, 9223372036854775809, 0) - if is_error(r113) goto L116 (error at coroutines:169) else goto L78 -L78: - dec_ref r109 - r108 = r113 -L79: - __mypyc_self__.__mypyc_next_label__ = 2 - return r108 -L80: - r115 = load_address _Py_NoneStruct - r116 = type != r115 - if r116 goto L81 else goto L88 :: bool -L81: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L99 (error at coroutines:169) else goto L82 :: bool -L82: - unreachable -L83: - r117 = __mypyc_self__.__mypyc_generator_attribute__working_batch - if is_error(r117) goto L99 (error at coroutines:171) else goto L84 -L84: - __mypyc_self__.__mypyc_next_label__ = 3 - return r117 -L85: - r119 = load_address _Py_NoneStruct - r120 = type != r119 - if r120 goto L86 else goto L88 :: bool -L86: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L99 (error at coroutines:171) else goto L87 :: bool -L87: - unreachable -L88: - r121 = box(None, 1) - __mypyc_self__.__mypyc_next_label__ = -1 -L89: - if is_error(stop_iter_ptr) goto L90 else goto L92 -L90: - CPyGen_SetStopIterationValue(r121) - if not 0 goto L99 else goto L91 :: bool -L91: - unreachable -L92: - inc_ref r121 - set_mem stop_iter_ptr, r121 :: builtins.object* - return 0 -L93: - r123 = r0 == 0 - if r123 goto L1 else goto L94 :: bool -L94: - r124 = r0 == 1 - if r124 goto L43 else goto L95 :: bool -L95: - r125 = r0 == 2 - if r125 goto L80 else goto L96 :: bool -L96: - r126 = r0 == 3 - if r126 goto L85 else goto L97 :: bool -L97: - r127 = raise StopIteration - if not r127 goto L99 (error at coroutines:131) else goto L98 :: bool -L98: - unreachable -L99: - r128 = :: object - return r128 -L100: - dec_ref r14 - goto L99 -L101: - dec_ref r22 - goto L99 -L102: + goto L83 +L459: + dec_ref r26 + dec_ref arg + goto L251 +L460: + dec_ref r26 + goto L86 +L461: + dec_ref r26 + goto L92 +L462: dec_ref r24 - goto L99 -L103: + goto L93 +L463: + dec_ref r26 + dec_ref r127 + dec_ref r128 + goto L251 +L464: + dec_ref r26 + dec_ref r127 + goto L251 +L465: + dec_ref r26 + dec_ref r136 + goto L251 +L466: + dec_ref r26 + goto L108 +L467: + xdec_ref r5 + goto L113 +L468: + xdec_ref r5 dec_ref r24 - goto L56 -L104: - dec_ref r31 :: int - goto L99 -L105: - dec_ref r38 - goto L99 -L106: - dec_ref r44 - goto L32 -L107: - dec_ref r45 - goto L99 -L108: - dec_ref r45 - dec_ref r46 - goto L99 -L109: - dec_ref r52 - goto L36 -L110: - dec_ref r62 - goto L99 -L111: - dec_ref r74 - goto L99 -L112: - dec_ref r86 - goto L99 -L113: - dec_ref r96 - goto L99 -L114: - dec_ref r100 - goto L71 -L115: - dec_ref r102 - goto L99 -L116: - dec_ref r109 - goto L99 - -def coroutines_DankBatch_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids._batch.coroutines_DankBatch_gen - r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = coroutines_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def coroutines_DankBatch_gen.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids._batch.coroutines_DankBatch_gen - arg, r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = coroutines_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def coroutines_DankBatch_gen.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids._batch.coroutines_DankBatch_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def coroutines_DankBatch_gen.throw(__mypyc_self__, type, value, traceback): - __mypyc_self__ :: dank_mids._batch.coroutines_DankBatch_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 = coroutines_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) - 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 coroutines_DankBatch_gen.close(__mypyc_self__): - __mypyc_self__ :: dank_mids._batch.coroutines_DankBatch_gen + dec_ref r26 + goto L112 +L469: + xdec_ref r5 + dec_ref r26 + goto L122 +L470: + dec_ref r26 + goto L118 +L471: + dec_ref r147 + goto L122 +L472: + dec_ref r26 + goto L122 +L473: + dec_ref r24 + goto L124 +L474: + dec_ref r26 + dec_ref arg + goto L251 +L475: + dec_ref r26 + goto L127 +L476: + dec_ref r165 + goto L167 +L477: + dec_ref r165 + dec_ref r169 + goto L167 +L478: + dec_ref r165 + dec_ref r172 + goto L167 +L479: + dec_ref r165 + dec_ref r172 + dec_ref r173 + goto L167 +L480: + dec_ref r183 + goto L167 +L481: + xdec_ref r7 + goto L149 +L482: + xdec_ref r7 + dec_ref r24 + goto L148 +L483: + xdec_ref r7 + goto L158 +L484: + dec_ref r186 + goto L158 +L485: + dec_ref r183 + goto L158 +L486: + dec_ref r24 + goto L160 +L487: + dec_ref arg + goto L167 +L488: + dec_ref r207 + dec_ref r208 + dec_ref r209 + goto L206 +L489: + dec_ref r207 + dec_ref r208 + dec_ref r209 + dec_ref r210 + goto L206 +L490: + dec_ref r207 + dec_ref r208 + dec_ref r209 + dec_ref r211 + goto L206 +L491: + dec_ref r220 + goto L206 +L492: + xdec_ref r9 + goto L183 +L493: + xdec_ref r9 + dec_ref r24 + goto L182 +L494: + xdec_ref r9 + goto L192 +L495: + dec_ref r223 + goto L192 +L496: + dec_ref r220 + goto L192 +L497: + dec_ref r24 + goto L194 +L498: + dec_ref arg + goto L206 +L499: + dec_ref r24 + goto L203 +L500: + dec_ref r24 + goto L208 +L501: + dec_ref r249 + goto L247 +L502: + dec_ref r250 + goto L247 +L503: + xdec_ref r13 + goto L222 +L504: + xdec_ref r11 + goto L227 +L505: + xdec_ref r11 + xdec_ref r13 + dec_ref r24 + goto L226 +L506: + xdec_ref r11 + goto L236 +L507: + dec_ref r262 + goto L236 +L508: + xdec_ref r13 + goto L233 +L509: + xdec_ref r13 + dec_ref r24 + goto L238 +L510: + dec_ref arg + goto L247 +L511: + xdec_ref r13 + goto L241 +L512: + xdec_ref r13 + dec_ref r24 + goto L246 +L513: + dec_ref r24 + goto L250 +L514: + dec_ref r283 + dec_ref r284 + dec_ref r285 + goto L290 +L515: + dec_ref r283 + dec_ref r284 + dec_ref r285 + dec_ref r286 + goto L290 +L516: + dec_ref r283 + dec_ref r284 + dec_ref r285 + dec_ref r287 + goto L290 +L517: + dec_ref r296 + goto L290 +L518: + xdec_ref r15 + goto L267 +L519: + xdec_ref r15 + dec_ref r24 + goto L266 +L520: + xdec_ref r15 + goto L276 +L521: + dec_ref r299 + goto L276 +L522: + dec_ref r296 + goto L276 +L523: + dec_ref r24 + goto L278 +L524: + dec_ref arg + goto L290 +L525: + dec_ref r24 + goto L287 +L526: + dec_ref r24 + goto L292 +L527: + dec_ref r24 + goto L331 +L528: + dec_ref r24 + dec_ref r325 + goto L331 +L529: + dec_ref r24 + dec_ref r326 + goto L331 +L530: + xdec_ref r19 + goto L306 +L531: + xdec_ref r17 + goto L311 +L532: + xdec_ref r17 + xdec_ref r19 + dec_ref r24 + goto L310 +L533: + xdec_ref r17 + goto L320 +L534: + dec_ref r338 + goto L320 +L535: + xdec_ref r19 + goto L317 +L536: + xdec_ref r19 + goto L322 +L537: + dec_ref r24 + dec_ref arg + goto L331 +L538: + xdec_ref r19 + goto L325 +L539: + dec_ref r24 + goto L329 +L540: + xdec_ref r19 + goto L330 +L541: + dec_ref r355 + goto L367 +L542: + xdec_ref r21 + goto L344 +L543: + xdec_ref r21 + goto L367 +L544: + dec_ref r366 + goto L367 +L545: + xdec_ref r23 + goto L349 +L546: + xdec_ref r23 + dec_ref r24 + goto L348 +L547: + xdec_ref r23 + goto L358 +L548: + dec_ref r369 + goto L358 +L549: + dec_ref r366 + goto L358 +L550: + dec_ref r24 + goto L360 +L551: + dec_ref arg + goto L367 +L552: + dec_ref r398 + goto L387 +L553: + dec_ref r398 + dec_ref r400 + goto L387 +L554: + dec_ref r398 + dec_ref r400 + dec_ref r404 + goto L387 +L555: + dec_ref r398 + dec_ref r400 + dec_ref r404 + dec_ref r406 + goto L387 +L556: + dec_ref r398 + dec_ref r400 + dec_ref r404 + dec_ref r406 + dec_ref r408 + goto L387 +L557: + dec_ref r411 + goto L387 +L558: + dec_ref r24 + goto L384 +L559: + dec_ref r24 + goto L386 +L560: + dec_ref r24 + goto L421 +L561: + dec_ref r24 + dec_ref r425 + goto L421 +L562: + dec_ref r24 + dec_ref r425 + dec_ref r427 :: int + goto L398 +L563: + dec_ref r24 + dec_ref r425 + dec_ref r430 + goto L421 +L564: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + xdec_ref r9 + xdec_ref r11 + xdec_ref r13 + xdec_ref r15 + xdec_ref r17 + xdec_ref r19 + xdec_ref r23 + goto L2 +L565: + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + xdec_ref r9 + xdec_ref r11 + xdec_ref r13 + xdec_ref r15 + xdec_ref r17 + xdec_ref r19 + xdec_ref r23 + goto L32 +L566: + xdec_ref r1 + goto L411 +L567: + xdec_ref r5 + xdec_ref r7 + xdec_ref r9 + xdec_ref r11 + xdec_ref r13 + xdec_ref r15 + xdec_ref r17 + xdec_ref r19 + xdec_ref r23 + goto L69 +L568: + xdec_ref r3 + goto L412 +L569: + xdec_ref r7 + xdec_ref r9 + xdec_ref r11 + xdec_ref r13 + xdec_ref r15 + xdec_ref r17 + xdec_ref r19 + xdec_ref r23 + goto L110 +L570: + xdec_ref r5 + dec_ref r26 + goto L413 +L571: + xdec_ref r9 + xdec_ref r11 + xdec_ref r13 + xdec_ref r15 + xdec_ref r17 + xdec_ref r19 + xdec_ref r23 + goto L146 +L572: + xdec_ref r7 + goto L414 +L573: + xdec_ref r11 + xdec_ref r13 + xdec_ref r15 + xdec_ref r17 + xdec_ref r19 + xdec_ref r23 + goto L180 +L574: + xdec_ref r9 + goto L415 +L575: + xdec_ref r15 + xdec_ref r17 + xdec_ref r19 + xdec_ref r23 + goto L224 +L576: + xdec_ref r11 + xdec_ref r13 + goto L416 +L577: + xdec_ref r17 + xdec_ref r19 + xdec_ref r23 + goto L264 +L578: + xdec_ref r15 + goto L417 +L579: + xdec_ref r23 + goto L308 +L580: + xdec_ref r17 + xdec_ref r19 + goto L418 +L581: + xdec_ref r23 + dec_ref r24 + goto L419 + +def coroutine_gen___147.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine_gen___147 + r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = coroutine_gen___147.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def coroutine_gen___147.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine_gen___147 + arg, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = coroutine_gen___147.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def coroutine_gen___147.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine_gen___147 +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def coroutine_gen___147.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine_gen___147 + 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_gen___147.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) + 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_gen___147.close(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine_gen___147 r0 :: object r1 :: str r2, r3, r4, r5 :: object @@ -20325,2773 +12634,7181 @@ L13: dec_ref r6 goto L6 -def DankBatch.coroutines(self): - self :: dank_mids._batch.DankBatch - r0 :: dank_mids._batch.coroutines_DankBatch_gen - r1, r2 :: bool - r3 :: object +def coroutine_gen___147.__await__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine_gen___147 L0: - r0 = coroutines_DankBatch_gen() - if is_error(r0) goto L3 (error at coroutines:131) else goto L1 -L1: - r0.__mypyc_next_label__ = 0 - inc_ref self - r0.__mypyc_generator_attribute__self = self; r2 = is_error - if not r2 goto L4 (error at coroutines:131) else goto L2 :: bool -L2: - return r0 -L3: - r3 = :: object - return r3 -L4: - dec_ref r0 - goto L3 + inc_ref __mypyc_self__ + return __mypyc_self__ -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 :: object_ptr - r14 :: object_ptr[1] - r15 :: c_ptr - r16 :: native_int[1] - r17 :: c_ptr - r18 :: object - r19 :: dict - r20, r21 :: str - r22 :: bit - r23 :: object - r24 :: str - r25 :: dict - r26, r27 :: object - r28 :: str - r29 :: dict - r30, r31 :: object - r32 :: str - r33 :: dict - r34, r35 :: object - r36 :: str - r37 :: dict - r38, r39 :: object - r40 :: str - r41 :: dict - r42, r43 :: object - r44 :: str - r45 :: dict - r46 :: object - r47 :: str - r48 :: dict - r49 :: str - r50 :: object - r51 :: object[1] - r52 :: object_ptr - r53 :: object - r54 :: dict - r55 :: str - r56 :: i32 - r57 :: bit - r58 :: dict - r59 :: str - r60 :: object - r61 :: dict - r62 :: str - r63 :: object - r64 :: dict - r65 :: str - r66 :: object - r67 :: dict - r68 :: str - r69, r70, r71 :: object - r72 :: tuple[object, object, object] - r73, r74 :: object - r75 :: dict - r76 :: str - r77 :: i32 - r78 :: bit - r79 :: dict - r80 :: str - r81 :: object - r82 :: i32 - r83 :: bit - r84 :: dict - r85 :: str - r86 :: object - r87 :: i32 - r88 :: bit - r89 :: dict - r90 :: str - r91 :: object - r92 :: str - r93 :: object - r94 :: bool - r95 :: object[1] - r96 :: object_ptr - r97 :: object - r98 :: dict - r99 :: str - r100 :: i32 - r101 :: bit - r102 :: dict - r103 :: str - r104 :: object - r105 :: str - r106 :: object - r107 :: dict - r108 :: str - r109 :: i32 - r110 :: bit - r111 :: object - r112 :: str - r113, r114 :: object - r115 :: bool - r116, r117, r118, r119, r120, r121 :: str - r122 :: tuple - r123 :: i32 - r124 :: bit - r125 :: dict - r126 :: str - r127 :: i32 - r128 :: bit - r129 :: None +def coroutine__get_coroutine_fn_obj.__call__(__mypyc_self__, self, args, block_identifier, decimals, override): + __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine__get_coroutine_fn_obj + self :: object + args :: tuple + block_identifier :: union[object, None] + decimals :: union[int, None] + override :: union[dict, None] + r0 :: dank_mids.brownie_patch.call._get_coroutine_fn_env + r1, r2, r3 :: object + r4 :: dank_mids.brownie_patch.call.coroutine__get_coroutine_fn_env + r5, r6, r7, r8, r9, r10 :: bool + r11 :: dank_mids.brownie_patch.call.coroutine_gen___147 + r12, r13 :: bool + r14 :: dank_mids.brownie_patch.call.coroutine_gen___147 L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool + r0 = __mypyc_self__.__mypyc_env__ + if is_error(r0) goto L17 (error at coroutine:147) else goto L1 L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L41 (error at :-1) else goto L2 + if is_error(block_identifier) goto L2 else goto L18 L2: - builtins = r4 :: module - dec_ref r4 + r1 = box(None, 1) + inc_ref r1 + block_identifier = r1 L3: - r5 = ('Task',) - r6 = 'asyncio' - r7 = dank_mids._batch.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L41 (error at :1) else goto L4 + if is_error(decimals) goto L4 else goto L19 L4: - asyncio = r8 :: module - dec_ref r8 - r9 = ('TYPE_CHECKING', 'Any', 'Awaitable', 'Final', 'Generator', 'TypeVar', 'Union', 'final') - r10 = 'typing' - r11 = dank_mids._batch.globals :: static - r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) - if is_error(r12) goto L41 (error at :2) else goto L5 + r2 = box(None, 1) + inc_ref r2 + decimals = r2 L5: - typing = r12 :: module - dec_ref r12 - r13 = load_address a_sync :: module - r14 = [r13] - r15 = load_address r14 - r16 = [4] - r17 = load_address r16 - r18 = (('a_sync', 'a_sync', 'a_sync'),) - r19 = dank_mids._batch.globals :: static - r20 = 'dank_mids\\_batch.py' - r21 = '' - r22 = CPyImport_ImportMany(r18, r15, r19, r20, r21, r17) - if not r22 goto L41 else goto L6 :: bool + if is_error(override) goto L6 else goto L20 L6: - r23 = ('DankMidsInternalError',) - r24 = 'dank_mids._exceptions' - r25 = dank_mids._batch.globals :: static - r26 = CPyImport_ImportFromMany(r24, r23, r23, r25) - if is_error(r26) goto L41 (error at :6) else goto L7 + r3 = box(None, 1) + inc_ref r3 + override = r3 L7: - dank_mids._exceptions = r26 :: module - dec_ref r26 - r27 = ('getLogger',) - r28 = 'dank_mids._logging' - r29 = dank_mids._batch.globals :: static - r30 = CPyImport_ImportFromMany(r28, r27, r27, r29) - if is_error(r30) goto L41 (error at :7) else goto L8 + r4 = coroutine__get_coroutine_fn_env() + if is_error(r4) goto L21 (error at coroutine:147) else goto L8 L8: - dank_mids._logging = r30 :: module - dec_ref r30 - r31 = ('JSONRPCBatch', 'Multicall') - r32 = 'dank_mids._requests' - r33 = dank_mids._batch.globals :: static - r34 = CPyImport_ImportFromMany(r32, r31, r31, r33) - if is_error(r34) goto L41 (error at :8) else goto L9 + r4.__mypyc_env__ = r0; r5 = is_error + if not r5 goto L22 (error at coroutine:147) else goto L9 :: bool L9: - dank_mids._requests = r34 :: module - dec_ref r34 - r35 = ('RawResponse',) - r36 = 'dank_mids.helpers._codec' - r37 = dank_mids._batch.globals :: static - r38 = CPyImport_ImportFromMany(r36, r35, r35, r37) - if is_error(r38) goto L41 (error at :9) else goto L10 + inc_ref self + r4.__mypyc_generator_attribute__self = self; r6 = is_error + if not r6 goto L22 (error at coroutine:147) else goto L10 :: bool L10: - dank_mids.helpers._codec = r38 :: module - dec_ref r38 - r39 = ('log_internal_error',) - r40 = 'dank_mids.helpers._errors' - r41 = dank_mids._batch.globals :: static - r42 = CPyImport_ImportFromMany(r40, r39, r39, r41) - if is_error(r42) goto L41 (error at :10) else goto L11 + inc_ref args + r4.__mypyc_generator_attribute__args = args; r7 = is_error + if not r7 goto L22 (error at coroutine:147) else goto L11 :: bool L11: - dank_mids.helpers._errors = r42 :: module - dec_ref r42 - r43 = ('Multicalls',) - r44 = 'dank_mids.types' - r45 = dank_mids._batch.globals :: static - r46 = CPyImport_ImportFromMany(r44, r43, r43, r45) - if is_error(r46) goto L41 (error at :11) else goto L12 + r4.__mypyc_generator_attribute__block_identifier = block_identifier; r8 = is_error + if not r8 goto L23 (error at coroutine:147) else goto L12 :: bool L12: - dank_mids.types = r46 :: module - dec_ref r46 - if 0 goto L13 else goto L13 :: bool + r4.__mypyc_generator_attribute__decimals = decimals; r9 = is_error + if not r9 goto L24 (error at coroutine:147) else goto L13 :: bool L13: - r47 = '__T' - r48 = dank_mids._batch.globals :: static - r49 = 'TypeVar' - r50 = CPyDict_GetItem(r48, r49) - if is_error(r50) goto L41 (error at :17) else goto L14 + r4.__mypyc_generator_attribute__override = override; r10 = is_error + if not r10 goto L25 (error at coroutine:147) else goto L14 :: bool L14: - r51 = [r47] - r52 = load_address r51 - r53 = PyObject_Vectorcall(r50, r52, 1, 0) - dec_ref r50 - if is_error(r53) goto L41 (error at :17) else goto L15 + r11 = coroutine_gen___147() + if is_error(r11) goto L25 (error at coroutine:147) else goto L15 L15: - r54 = dank_mids._batch.globals :: static - r55 = '__T' - r56 = CPyDict_SetItem(r54, r55, r53) - dec_ref r53 - r57 = r56 >= 0 :: signed - if not r57 goto L41 (error at :17) else goto L16 :: bool + inc_ref r4 + r11.__mypyc_env__ = r4; r12 = is_error + if not r12 goto L26 (error at coroutine:147) else goto L16 :: bool L16: - r58 = dank_mids._batch.globals :: static - r59 = 'Union' - r60 = CPyDict_GetItem(r58, r59) - if is_error(r60) goto L41 (error at :19) else goto L17 + r4.__mypyc_next_label__ = 0 + dec_ref r4 + return r11 L17: - r61 = dank_mids._batch.globals :: static - r62 = 'Multicall' - r63 = CPyDict_GetItem(r61, r62) - if is_error(r63) goto L42 (error at :19) else goto L18 + r14 = :: dank_mids.brownie_patch.call.coroutine_gen___147 + return r14 L18: - r64 = dank_mids._batch.globals :: static - r65 = 'JSONRPCBatch' - r66 = CPyDict_GetItem(r64, r65) - if is_error(r66) goto L43 (error at :19) else goto L19 + inc_ref block_identifier + goto L3 L19: - r67 = dank_mids._batch.globals :: static - r68 = 'Awaitable' - r69 = CPyDict_GetItem(r67, r68) - if is_error(r69) goto L44 (error at :19) else goto L20 + inc_ref decimals + goto L5 L20: - r70 = dank_mids.helpers._codec.RawResponse :: type - r71 = PyObject_GetItem(r69, r70) - dec_ref r69 - if is_error(r71) goto L44 (error at :19) else goto L21 + inc_ref override + goto L7 L21: - r72 = (r63, r66, r71) - r73 = box(tuple[object, object, object], r72) - r74 = PyObject_GetItem(r60, r73) - dec_ref r60 - dec_ref r73 - if is_error(r74) goto L41 (error at :19) else goto L22 + dec_ref block_identifier + dec_ref decimals + dec_ref override + dec_ref r0 + goto L17 L22: - r75 = dank_mids._batch.globals :: static - r76 = 'Coro' - r77 = CPyDict_SetItem(r75, r76, r74) - dec_ref r74 - r78 = r77 >= 0 :: signed - if not r78 goto L41 (error at :19) else goto L23 :: bool + dec_ref block_identifier + dec_ref decimals + dec_ref override + dec_ref r4 + goto L17 L23: - r79 = dank_mids._batch.globals :: static - r80 = 'MIN_SIZE' - r81 = object 1 - r82 = CPyDict_SetItem(r79, r80, r81) - r83 = r82 >= 0 :: signed - if not r83 goto L41 (error at :22) else goto L24 :: bool + dec_ref decimals + dec_ref override + dec_ref r4 + goto L17 L24: - r84 = dank_mids._batch.globals :: static - r85 = 'CHECK' - r86 = object 0 - r87 = CPyDict_SetItem(r84, r85, r86) - r88 = r87 >= 0 :: signed - if not r88 goto L41 (error at :25) else goto L25 :: bool + dec_ref override + dec_ref r4 + goto L17 L25: - r89 = dank_mids._batch.globals :: static - r90 = '__name__' - r91 = CPyDict_GetItem(r89, r90) - if is_error(r91) goto L41 (error at :29) else goto L26 + dec_ref r4 + goto L17 L26: - r92 = cast(str, r91) - if is_error(r92) goto L41 (error at :29) else goto L27 -L27: - r93 = dank_mids._logging.getLogger :: static - if is_error(r93) goto L45 else goto L30 -L28: - r94 = raise NameError('value for final name "getLogger" was not set') - if not r94 goto L41 (error at :29) else goto L29 :: bool -L29: - unreachable -L30: - r95 = [r92] - r96 = load_address r95 - r97 = PyObject_Vectorcall(r93, r96, 1, 0) - if is_error(r97) goto L46 (error at :29) else goto L31 -L31: - dec_ref r92 - dank_mids._batch.logger = r97 :: static - r98 = dank_mids._batch.globals :: static - r99 = 'logger' - r100 = CPyDict_SetItem(r98, r99, r97) - dec_ref r97 - r101 = r100 >= 0 :: signed - if not r101 goto L41 (error at :29) else goto L32 :: bool -L32: - r102 = dank_mids._batch.globals :: static - r103 = 'a_sync' - r104 = CPyDict_GetItem(r102, r103) - if is_error(r104) goto L41 (error at :31) else goto L33 -L33: - r105 = 'create_task' - r106 = CPyObject_GetAttr(r104, r105) - dec_ref r104 - if is_error(r106) goto L41 (error at :31) else goto L34 -L34: - dank_mids._batch.create_task = r106 :: static - r107 = dank_mids._batch.globals :: static - r108 = 'create_task' - r109 = CPyDict_SetItem(r107, r108, r106) - dec_ref r106 - r110 = r109 >= 0 :: signed - if not r110 goto L41 (error at :31) else goto L35 :: bool -L35: - r111 = :: object - r112 = 'dank_mids._batch' - r113 = dank_mids._batch.DankBatch_template :: type - r114 = CPyType_FromTemplate(r113, r111, r112) - if is_error(r114) goto L41 (error at :39) else goto L36 -L36: - r115 = DankBatch_trait_vtable_setup() - if is_error(r115) goto L47 (error at :-1) else goto L37 -L37: - r116 = '__mypyc_attrs__' - r117 = 'controller' - r118 = 'multicalls' - r119 = 'rpc_calls' - r120 = '_awaited' - r121 = '_check_len' - r122 = PyTuple_Pack(5, r117, r118, r119, r120, r121) - if is_error(r122) goto L47 (error at :39) else goto L38 -L38: - r123 = PyObject_SetAttr(r114, r116, r122) - dec_ref r122 - r124 = r123 >= 0 :: signed - if not r124 goto L47 (error at :39) else goto L39 :: bool -L39: - dank_mids._batch.DankBatch = r114 :: type - r125 = dank_mids._batch.globals :: static - r126 = 'DankBatch' - r127 = PyDict_SetItem(r125, r126, r114) - dec_ref r114 - r128 = r127 >= 0 :: signed - if not r128 goto L41 (error at :39) else goto L40 :: bool -L40: - return 1 -L41: - r129 = :: None - return r129 -L42: - dec_ref r60 - goto L41 -L43: - dec_ref r60 - dec_ref r63 - goto L41 -L44: - dec_ref r60 - dec_ref r63 - dec_ref r66 - goto L41 -L45: - dec_ref r92 - goto L28 -L46: - dec_ref r92 - goto L41 -L47: - dec_ref r114 - goto L41 + dec_ref r4 + dec_ref r11 + goto L17 -def __init___FunctionABI_obj.__get__(__mypyc_self__, instance, owner): - __mypyc_self__, instance, owner, r0 :: object - r1 :: bit - r2, r3 :: object +def _get_coroutine_fn(w3, len_inputs): + w3 :: object + len_inputs :: int + r0 :: dank_mids.brownie_patch.call._get_coroutine_fn_env + r1, r2, r3, r4 :: bool + r5 :: int + r6 :: bit + r7 :: object + r8, r9 :: bool + r10 :: dict + r11 :: str + r12 :: object + r13 :: bool + r14 :: dank_mids.brownie_patch.call.coroutine__get_coroutine_fn_obj + r15 :: bool + coroutine, r16 :: object L0: - r0 = load_address _Py_NoneStruct - r1 = instance == r0 - if r1 goto L1 else goto L2 :: bool + r0 = _get_coroutine_fn_env() + if is_error(r0) goto L18 (error at _get_coroutine_fn:141) else goto L1 L1: - inc_ref __mypyc_self__ - return __mypyc_self__ + inc_ref w3 + r0.w3 = w3; r1 = is_error + if not r1 goto L19 (error at _get_coroutine_fn:141) else goto L2 :: bool L2: - r2 = PyMethod_New(__mypyc_self__, instance) - if is_error(r2) goto L4 else goto L3 + inc_ref len_inputs :: int + r0.len_inputs = len_inputs; r2 = is_error + if not r2 goto L19 (error at _get_coroutine_fn:141) else goto L3 :: bool L3: - return r2 + r3 = dank_mids.brownie_patch.call.APPLICATION_MODE :: static + if is_error(r3) goto L20 else goto L6 L4: - r3 = :: object - return r3 - -def __init___FunctionABI_obj.__call__(__mypyc_self__, self, abi): - __mypyc_self__ :: dank_mids.brownie_patch._abi.__init___FunctionABI_obj - self :: dank_mids.brownie_patch._abi.FunctionABI - abi :: dict - r0 :: str - r1 :: i32 - r2 :: bit - r3, r4 :: str - r5 :: i32 - r6 :: bit - r7, r8 :: str - r9 :: i32 - r10 :: bit - r11 :: None -L0: - r0 = 'abi' - r1 = PyObject_SetAttr(self, r0, abi) - r2 = r1 >= 0 :: signed - if not r2 goto L6 (error at __init__:47) else goto L1 :: bool -L1: - r3 = build_function_signature(abi) - if is_error(r3) goto L6 (error at __init__:53) else goto L2 -L2: - r4 = 'input_sig' - r5 = PyObject_SetAttr(self, r4, r3) - r6 = r5 >= 0 :: signed - if not r6 goto L7 (error at __init__:54) else goto L3 :: bool -L3: - r7 = build_function_selector(r3) - dec_ref r3 - if is_error(r7) goto L6 (error at __init__:60) else goto L4 -L4: - r8 = 'signature' - r9 = PyObject_SetAttr(self, r8, r7) - dec_ref r7 - r10 = r9 >= 0 :: signed - if not r10 goto L6 (error at __init__:60) else goto L5 :: bool + r4 = raise NameError('value for final name "APPLICATION_MODE" was not set') + if not r4 goto L18 (error at _get_coroutine_fn:142) else goto L5 :: bool L5: - return 1 + unreachable L6: - r11 = :: None - return r11 + if r3 goto L9 else goto L7 :: bool L7: - dec_ref r3 - goto L6 + r5 = r0.len_inputs + if is_error(r5) goto L19 (error at _get_coroutine_fn:142) else goto L8 +L8: + r6 = r5 != 0 + dec_ref r5 :: int + if r6 goto L9 else goto L13 :: bool +L9: + r7 = dank_mids.brownie_patch.call.encode :: static + if is_error(r7) goto L21 else goto L12 +L10: + r8 = raise NameError('value for final name "encode" was not set') + if not r8 goto L18 (error at _get_coroutine_fn:143) else goto L11 :: bool +L11: + unreachable +L12: + inc_ref r7 + r0.get_request_data = r7; r9 = is_error + if not r9 goto L19 (error at _get_coroutine_fn:143) else goto L15 :: bool +L13: + r10 = dank_mids.brownie_patch.call.globals :: static + r11 = '_request_data_no_args' + r12 = CPyDict_GetItem(r10, r11) + if is_error(r12) goto L19 (error at _get_coroutine_fn:145) else goto L14 +L14: + r0.get_request_data = r12; r13 = is_error + if not r13 goto L19 (error at _get_coroutine_fn:145) else goto L15 :: bool +L15: + r14 = coroutine__get_coroutine_fn_obj() + if is_error(r14) goto L19 (error at _get_coroutine_fn:147) else goto L16 +L16: + r14.__mypyc_env__ = r0; r15 = is_error + if not r15 goto L22 (error at _get_coroutine_fn:147) else goto L17 :: bool +L17: + coroutine = r14 + return coroutine +L18: + r16 = :: object + return r16 +L19: + dec_ref r0 + goto L18 +L20: + dec_ref r0 + goto L4 +L21: + dec_ref r0 + goto L10 +L22: + dec_ref r14 + goto L18 -def singleton_FunctionABI_obj.__get__(__mypyc_self__, instance, owner): - __mypyc_self__, instance, owner, r0 :: object - r1 :: bit - r2, r3 :: object +def _call_no_args(self): + self :: object + r0 :: str + r1 :: object[1] + r2 :: object_ptr + r3 :: object + r4 :: str + r5 :: object[1] + r6 :: object_ptr + r7, r8 :: object L0: - r0 = load_address _Py_NoneStruct - r1 = instance == r0 - if r1 goto L1 else goto L2 :: bool + r0 = 'coroutine' + r1 = [self] + r2 = load_address r1 + r3 = PyObject_VectorcallMethod(r0, r2, 9223372036854775809, 0) + if is_error(r3) goto L3 (error at _call_no_args:181) else goto L1 L1: - inc_ref __mypyc_self__ - return __mypyc_self__ + r4 = '__await__' + r5 = [r3] + r6 = load_address r5 + r7 = PyObject_VectorcallMethod(r4, r6, 9223372036854775809, 0) + if is_error(r7) goto L4 (error at _call_no_args:181) else goto L2 L2: - r2 = PyMethod_New(__mypyc_self__, instance) - if is_error(r2) goto L4 else goto L3 + dec_ref r3 + return r7 L3: - return r2 + r8 = :: object + return r8 L4: - r3 = :: object - return r3 + dec_ref r3 + goto L3 -def singleton_FunctionABI_obj.__call__(__mypyc_self__, abi): - __mypyc_self__ :: dank_mids.brownie_patch._abi.singleton_FunctionABI_obj - abi :: dict - r0 :: list - r1 :: ptr - r2 :: native_int - r3 :: tuple - r4 :: native_int - r5 :: ptr - r6 :: native_int - r7 :: bit - r8, r9 :: ptr +def encode_input_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): + __mypyc_self__ :: dank_mids.brownie_patch.call.encode_input_gen + type, value, traceback, arg :: object + stop_iter_ptr :: object_ptr + r0, r1 :: object + r2 :: i32 + r3 :: object + r4 :: bit + r5 :: bool + r6 :: tuple + r7 :: bool + r8 :: tuple + r9 :: ptr r10 :: native_int - r11 :: ptr - r12 :: object - r13 :: str - r14, r15 :: object - r16 :: tuple[str, object] - r17 :: object - r18 :: native_int - r19 :: object - r20 :: bool - r21 :: object - r22 :: dank_mids.brownie_patch._abi.FunctionABI - r23 :: tuple[object, object, object] - r24 :: object - r25 :: str + r11, r12 :: bool + r13, r14 :: native_int + r15 :: bit + r16 :: tuple + r17 :: native_int + r18 :: object + r19 :: bool + r20, r21 :: object + r22 :: bool + r23 :: i32 + r24 :: bit + r25 :: bool r26 :: object - r27 :: bit - r28 :: object - r29 :: tuple - r30 :: dict - r31 :: object - r32 :: dank_mids.brownie_patch._abi.FunctionABI - r33 :: object - r34 :: bool - r35 :: i32 - r36 :: bit + r27 :: str + r28 :: bool + r29, r30 :: native_int + r31 :: bool + r32 :: object + r33 :: str + r34, r35 :: object + r36 :: str r37 :: object - r38 :: str - r39 :: object - r40 :: bit + r38 :: tuple + r39 :: dict + r40 :: str r41 :: object - r42 :: str - r43 :: object - r44 :: str - r45 :: object - r46 :: object[2] - r47 :: object_ptr + r42 :: list + r43, r44, r45 :: ptr + r46 :: object + r47 :: tuple r48 :: object - r49 :: bit - r50 :: dank_mids.brownie_patch._abi.FunctionABI + r49 :: bool + r50 :: object + r51 :: tuple + r52 :: object + r53 :: list + r54, r55 :: ptr + r56 :: object + r57 :: tuple + r58, r59 :: object + r60 :: bool + r61, r62, r63, r64, r65 :: object + r66 :: bool + r67 :: object + r68 :: bool + r69 :: object + r70 :: bit + r71 :: tuple[object, object, object] + r72 :: bool + r73 :: object_ptr + r74 :: object + r75 :: bool + r76, r77, r78 :: tuple[object, object, object] + r79 :: bit + r80, r81, r82 :: object + r83 :: bool + r84 :: tuple[object, object, object] + r85 :: bool + r86 :: object + r87 :: str + r88, r89 :: object + r90 :: str + r91 :: object + r92 :: tuple[object, object] + r93 :: object + r94 :: bit + r95 :: object + r96 :: str + r97, r98 :: object + r99 :: str + r100 :: object + r101 :: tuple + r102 :: dict + r103 :: str + r104 :: object + r105 :: list + r106, r107, r108 :: ptr + r109 :: object + r110 :: tuple + r111 :: object + r112 :: bool + r113 :: dict + r114 :: str + r115 :: object + r116 :: bit + r117 :: object + r118 :: bool + r119 :: str + r120 :: dict + r121 :: str + r122 :: object + r123 :: str + r124 :: object + r125 :: union[str, object] + r126 :: object + r127 :: str + r128 :: object + r129 :: str + r130 :: object[5] + r131 :: object_ptr + r132 :: object + r133 :: dict + r134 :: str + r135 :: object + r136 :: str + r137 :: object + r138 :: str + r139 :: object + r140 :: dict + r141 :: str + r142 :: object + r143 :: object[1] + r144 :: object_ptr + r145 :: object + r146 :: dict + r147 :: str + r148 :: object + r149 :: str + r150 :: i32 + r151 :: bit + r152 :: int + r153 :: bit + r154 :: object + r155 :: str + r156, r157 :: object + r158 :: str + r159 :: object + r160 :: tuple + r161 :: dict + r162 :: str + r163 :: object + r164 :: list + r165, r166, r167 :: ptr + r168 :: object + r169 :: tuple + r170 :: object + r171 :: union[str, object] + r172 :: object + r173 :: str + r174 :: object + r175 :: bool + r176 :: dict + r177 :: str + r178 :: object + r179 :: bit + r180 :: int + r181 :: bit + r182 :: object + r183 :: str + r184, r185 :: object + r186 :: str + r187 :: object + r188 :: tuple + r189 :: dict + r190 :: str + r191 :: object + r192 :: list + r193, r194, r195 :: ptr + r196 :: object + r197 :: tuple + r198 :: object + r199 :: union[str, object] + r200 :: object + r201 :: str + r202 :: object + r203 :: bool + r204, r205 :: tuple[object, object, object] + r206 :: bit + r207 :: union[str, object] + r208 :: object + r209 :: str + r210 :: object + r211 :: i32 + r212 :: bit + r213 :: bool + r214 :: union[str, object] + r215 :: object + r216 :: str + r217 :: object + r218 :: tuple + r219 :: ptr + r220 :: native_int + r221 :: short_int + r222 :: bit + r223, r224 :: union[str, object] + r225 :: str + r226 :: bool + r227 :: str + r228 :: object + r229 :: str + r230 :: object + r231 :: str + r232 :: object[2] + r233 :: object_ptr + r234 :: object + r235 :: bool + r236, r237 :: str + r238 :: list + r239 :: object + r240 :: str + r241 :: bool + r242, r243, r244 :: str + r245 :: bool + r246 :: union[str, object] + r247 :: object + r248 :: str + r249 :: object + r250 :: str + r251 :: object + r252, r253 :: str + r254 :: object + r255 :: str + r256 :: object + r257, r258, r259, r260 :: str + r261 :: object[1] + r262 :: object_ptr + r263 :: object + r264 :: union[str, object] + r265 :: str + r266 :: bool + r267, r268 :: bit + r269 :: bool + r270 :: object L0: - r0 = CPySequence_Sort(abi) - if is_error(r0) goto L37 (error at singleton:74) else goto L1 + r0 = :: object + r1 = r0 + r2 = __mypyc_self__.__mypyc_next_label__ + goto L199 L1: - r1 = get_element_ptr r0 ob_size :: PyVarObject - r2 = load_mem r1 :: native_int* - r3 = PyTuple_New(r2) - if is_error(r3) goto L38 (error at singleton:74) else goto L2 + r3 = load_address _Py_NoneStruct + r4 = type != r3 + if r4 goto L2 else goto L4 :: bool L2: - r4 = 0 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L203 (error at encode_input:184) else goto L3 :: bool L3: - r5 = get_element_ptr r0 ob_size :: PyVarObject - r6 = load_mem r5 :: native_int* - r7 = r4 < r6 :: signed - if r7 goto L4 else goto L39 :: bool + unreachable L4: - r8 = get_element_ptr r0 ob_item :: PyListObject - r9 = load_mem r8 :: ptr* - r10 = r4 * 8 - r11 = r9 + r10 - r12 = load_mem r11 :: builtins.object* - r13 = cast(str, r12) - if is_error(r13) goto L40 (error at singleton:74) else goto L5 + r5 = 0 + r6 = __mypyc_self__.__mypyc_generator_attribute__args + if is_error(r6) goto L203 (error at encode_input:186) else goto L5 L5: - r14 = CPyDict_GetItem(abi, r13) - if is_error(r14) goto L41 (error at singleton:74) else goto L6 + __mypyc_self__.__mypyc_temp__27 = r6; r7 = is_error + if not r7 goto L203 (error at encode_input:-1) else goto L6 :: bool L6: - r15 = make_hashable(r14) - dec_ref r14 - if is_error(r15) goto L41 (error at singleton:74) else goto L7 + r8 = __mypyc_self__.__mypyc_temp__27 + if is_error(r8) goto L203 (error at encode_input:186) else goto L7 L7: - r16 = (r13, r15) - r17 = box(tuple[str, object], r16) - CPySequenceTuple_SetItemUnsafe(r3, r4, r17) + r9 = get_element_ptr r8 ob_size :: PyVarObject + r10 = load_mem r9 :: native_int* + dec_ref r8 + __mypyc_self__.__mypyc_temp__28 = r10; r11 = is_error + if not r11 goto L203 (error at encode_input:-1) else goto L8 :: bool L8: - r18 = r4 + 1 - r4 = r18 - goto L3 + __mypyc_self__.__mypyc_temp__29 = 0; r12 = is_error + if not r12 goto L203 (error at encode_input:-1) else goto L9 :: bool L9: + r13 = __mypyc_self__.__mypyc_temp__28 + if is_error(r13) goto L203 (error at encode_input:186) else goto L10 L10: - r19 = dank_mids.brownie_patch._abi._singletons :: static - if is_error(r19) goto L11 else goto L13 + r14 = __mypyc_self__.__mypyc_temp__29 + if is_error(r14) goto L203 (error at encode_input:186) else goto L11 L11: - r20 = raise NameError('value for final name "_singletons" was not set') - if not r20 goto L16 (error at singleton:76) else goto L42 :: bool + r15 = r14 < r13 :: signed + if r15 goto L12 else goto L27 :: bool L12: - unreachable + r16 = __mypyc_self__.__mypyc_temp__27 + if is_error(r16) goto L203 (error at encode_input:186) else goto L13 L13: - r21 = PyObject_GetItem(r19, r3) - if is_error(r21) goto L16 (error at singleton:76) else goto L14 + r17 = __mypyc_self__.__mypyc_temp__29 + if is_error(r17) goto L204 (error at encode_input:186) else goto L14 L14: - r22 = cast(dank_mids.brownie_patch._abi.FunctionABI, r21) - if is_error(r22) goto L16 (error at singleton:76) else goto L43 + r18 = CPySequenceTuple_GetItemUnsafe(r16, r17) + dec_ref r16 + __mypyc_self__.__mypyc_generator_attribute__arg = r18; r19 = is_error + if not r19 goto L203 (error at encode_input:186) else goto L15 :: bool L15: - return r22 + r20 = __mypyc_self__.__mypyc_generator_attribute__arg + if is_error(r20) goto L203 (error at encode_input:186) else goto L16 L16: - r23 = CPy_CatchError() - r24 = builtins :: module - r25 = 'KeyError' - r26 = CPyObject_GetAttr(r24, r25) - if is_error(r26) goto L44 (error at singleton:77) else goto L17 + r21 = dank_mids.brownie_patch.call.Contract :: static + if is_error(r21) goto L205 else goto L19 L17: - r27 = CPy_ExceptionMatches(r26) - dec_ref r26 - if r27 goto L18 else goto L26 :: bool + r22 = raise NameError('value for final name "Contract" was not set') + if not r22 goto L203 (error at encode_input:186) else goto L18 :: bool L18: - r28 = dank_mids.brownie_patch._abi.FunctionABI :: type - r29 = CPyTuple_LoadEmptyTupleConstant() - r30 = PyDict_Copy(abi) - if is_error(r30) goto L45 (error at singleton:78) else goto L19 + unreachable L19: - r31 = PyObject_Call(r28, r29, r30) - dec_ref r29 - dec_ref r30 - if is_error(r31) goto L44 (error at singleton:78) else goto L20 + r23 = PyObject_IsInstance(r20, r21) + dec_ref r20 + r24 = r23 >= 0 :: signed + if not r24 goto L203 (error at encode_input:186) else goto L20 :: bool L20: - r32 = cast(dank_mids.brownie_patch._abi.FunctionABI, r31) - if is_error(r32) goto L44 (error at singleton:78) else goto L21 + r25 = truncate r23: i32 to builtins.bool + if r25 goto L21 else goto L22 :: bool L21: - inc_ref r32 - r33 = dank_mids.brownie_patch._abi._singletons :: static - if is_error(r33) goto L46 else goto L24 + if r25 goto L24 else goto L25 :: bool L22: - r34 = raise NameError('value for final name "_singletons" was not set') - if not r34 goto L35 (error at singleton:78) else goto L47 :: bool + r26 = __mypyc_self__.__mypyc_generator_attribute__arg + if is_error(r26) goto L203 (error at encode_input:186) else goto L23 L23: - unreachable + r27 = '__contains__' + r28 = PyObject_HasAttr(r26, r27) + dec_ref r26 + if r28 goto L24 else goto L25 :: bool L24: - r35 = PyObject_SetItem(r33, r3, r32) - dec_ref r3 - dec_ref r32 - r36 = r35 >= 0 :: signed - if not r36 goto L48 (error at singleton:78) else goto L25 :: bool + r5 = 1 + goto L27 L25: - CPy_RestoreExcInfo(r23) - dec_ref r23 - return r32 + r29 = __mypyc_self__.__mypyc_temp__29 + if is_error(r29) goto L203 (error at encode_input:186) else goto L26 L26: - r37 = builtins :: module - r38 = 'AttributeError' - r39 = CPyObject_GetAttr(r37, r38) - if is_error(r39) goto L44 (error at singleton:80) else goto L27 + r30 = r29 + 1 + __mypyc_self__.__mypyc_temp__29 = r30; r31 = is_error + if not r31 goto L203 (error at encode_input:186) else goto L9 :: bool L27: - r40 = CPy_ExceptionMatches(r39) - dec_ref r39 - if r40 goto L28 else goto L49 :: bool + if r5 goto L28 else goto L39 :: bool L28: - r41 = CPy_GetExcValue() - r42 = PyObject_Str(r41) - dec_ref r41 - if is_error(r42) goto L44 (error at singleton:81) else goto L29 + r32 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r32) goto L203 (error at encode_input:188) else goto L29 L29: - r43 = builtins :: module - r44 = 'AttributeError' - r45 = CPyObject_GetAttr(r43, r44) - if is_error(r45) goto L50 (error at singleton:81) else goto L30 -L30: - r46 = [r42, r3] - r47 = load_address r46 - r48 = PyObject_Vectorcall(r45, r47, 2, 0) - dec_ref r45 - if is_error(r48) goto L50 (error at singleton:81) else goto L31 -L31: - dec_ref r42 - dec_ref r3 - CPy_Raise(r48) - dec_ref r48 - if not 0 goto L35 (error at singleton:81) else goto L51 :: bool -L32: - unreachable -L33: - CPy_Reraise() - if not 0 goto L35 else goto L52 :: bool -L34: - unreachable -L35: - CPy_RestoreExcInfo(r23) - dec_ref r23 - r49 = CPy_KeepPropagating() - if not r49 goto L37 else goto L36 :: bool -L36: - unreachable -L37: - r50 = :: dank_mids.brownie_patch._abi.FunctionABI - return r50 -L38: - dec_ref r0 - goto L37 -L39: - dec_ref r0 - goto L9 -L40: - dec_ref r0 - dec_ref r3 - goto L37 -L41: - dec_ref r0 - dec_ref r3 - dec_ref r13 - goto L37 -L42: - dec_ref r3 - goto L12 -L43: - dec_ref r3 - goto L15 -L44: - dec_ref r3 - goto L35 -L45: - dec_ref r3 - dec_ref r29 - goto L35 -L46: - dec_ref r3 - dec_ref r32 - dec_ref r32 - goto L22 -L47: - dec_ref r23 - goto L23 -L48: + r33 = 'abi' + r34 = CPyObject_GetAttr(r32, r33) dec_ref r32 - goto L35 -L49: - dec_ref r3 - goto L33 -L50: - dec_ref r3 - dec_ref r42 - goto L35 -L51: - dec_ref r23 - goto L32 -L52: - dec_ref r23 - goto L34 - -def get_type_strings(abi_params, substitutions): - abi_params :: object - substitutions :: union[dict, None] - r0 :: object - r1 :: list - r2 :: object - r3 :: bit - r4 :: dict - r5, r6 :: object - r7 :: dict - r8 :: str - r9 :: object - r10, type_str, r11 :: str - r12 :: i32 - r13 :: bool - r14 :: str - r15 :: object - r16 :: dict - r17 :: list - r18 :: object - r19, r20, r21, r22, r23, r24 :: str - r25 :: i32 - r26 :: bit - r27 :: dict - r28 :: short_int - r29 :: native_int - r30 :: object - r31 :: tuple[bool, short_int, object, object] - r32 :: short_int - r33 :: bool - r34, r35 :: object - r36 :: str - r37 :: i32 - r38 :: bool - r39 :: str - r40 :: object[3] - r41 :: object_ptr - r42 :: object - r43 :: str - r44, r45 :: bit - r46 :: i32 - r47, r48 :: bit - r49 :: list -L0: - if is_error(substitutions) goto L1 else goto L34 -L1: - r0 = box(None, 1) - inc_ref r0 - substitutions = r0 -L2: - r1 = PyList_New(0) - if is_error(r1) goto L35 (error at get_type_strings:89) else goto L3 -L3: - r2 = load_address _Py_NoneStruct - r3 = substitutions == r2 - if r3 goto L36 else goto L6 :: bool -L4: - r4 = PyDict_New() - if is_error(r4) goto L37 (error at get_type_strings:91) else goto L5 -L5: - substitutions = r4 -L6: - r5 = PyObject_GetIter(abi_params) - if is_error(r5) goto L38 (error at get_type_strings:93) else goto L7 -L7: - r6 = PyIter_Next(r5) - if is_error(r6) goto L39 else goto L8 -L8: - r7 = cast(dict, r6) - if is_error(r7) goto L40 (error at get_type_strings:93) else goto L9 -L9: - r8 = 'type' - r9 = CPyDict_GetItem(r7, r8) - if is_error(r9) goto L41 (error at get_type_strings:94) else goto L10 -L10: - r10 = cast(str, r9) - if is_error(r10) goto L41 (error at get_type_strings:94) else goto L11 -L11: - type_str = r10 - r11 = 'tuple' - r12 = CPyStr_Startswith(type_str, r11) - r13 = truncate r12: i32 to builtins.bool - if r13 goto L12 else goto L42 :: bool -L12: - r14 = 'components' - r15 = CPyDict_GetItem(r7, r14) - dec_ref r7 - if is_error(r15) goto L43 (error at get_type_strings:96) else goto L13 -L13: - inc_ref substitutions - r16 = cast(dict, substitutions) - if is_error(r16) goto L44 (error at get_type_strings:96) else goto L14 -L14: - r17 = get_type_strings(r15, r16) - dec_ref r15 - dec_ref r16 - if is_error(r17) goto L43 (error at get_type_strings:96) else goto L15 -L15: - r18 = CPyStr_GetSlice(type_str, 10, 9223372036854775806) - dec_ref type_str - if is_error(r18) goto L45 (error at get_type_strings:97) else goto L16 -L16: - r19 = cast(str, r18) - if is_error(r19) goto L45 (error at get_type_strings:97) else goto L17 -L17: - r20 = '(' - r21 = ',' - r22 = PyUnicode_Join(r21, r17) - dec_ref r17 - if is_error(r22) goto L46 (error at get_type_strings:98) else goto L18 -L18: - r23 = ')' - r24 = CPyStr_Build(4, r20, r22, r23, r19) - dec_ref r22 - dec_ref r19 - if is_error(r24) goto L40 (error at get_type_strings:98) else goto L19 -L19: - r25 = PyList_Append(r1, r24) - dec_ref r24 - r26 = r25 >= 0 :: signed - if not r26 goto L40 (error at get_type_strings:98) else goto L7 :: bool -L20: - inc_ref substitutions - r27 = cast(dict, substitutions) - if is_error(r27) goto L43 (error at get_type_strings:100) else goto L21 -L21: - r28 = 0 - r29 = PyDict_Size(r27) - r30 = CPyDict_GetItemsIter(r27) - if is_error(r30) goto L47 (error at get_type_strings:100) else goto L22 -L22: - r31 = CPyDict_NextItem(r30, r28) - r32 = r31[1] - r28 = r32 - r33 = r31[0] - if r33 goto L23 else goto L48 :: bool -L23: - r34 = r31[2] - r35 = r31[3] - dec_ref r31 - r36 = cast(str, r34) - if is_error(r36) goto L49 (error at get_type_strings:100) else goto L24 -L24: - r37 = CPyStr_Startswith(type_str, r36) - r38 = truncate r37: i32 to builtins.bool - if r38 goto L25 else goto L50 :: bool -L25: - r39 = 'replace' - r40 = [type_str, r36, r35] - r41 = load_address r40 - r42 = PyObject_VectorcallMethod(r39, r41, 9223372036854775811, 0) - if is_error(r42) goto L51 (error at get_type_strings:102) else goto L26 -L26: - dec_ref type_str - dec_ref r36 - dec_ref r35 - r43 = cast(str, r42) - if is_error(r43) goto L52 (error at get_type_strings:102) else goto L27 -L27: - type_str = r43 -L28: - r44 = CPyDict_CheckSize(r27, r29) - if not r44 goto L53 (error at get_type_strings:100) else goto L22 :: bool -L29: - r45 = CPy_NoErrOccurred() - if not r45 goto L43 (error at get_type_strings:100) else goto L30 :: bool + if is_error(r34) goto L203 (error at encode_input:188) else goto L30 L30: - r46 = PyList_Append(r1, type_str) - dec_ref type_str - r47 = r46 >= 0 :: signed - if not r47 goto L40 (error at get_type_strings:103) else goto L7 :: bool + r35 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r35) goto L206 (error at encode_input:188) else goto L31 L31: - r48 = CPy_NoErrOccurred() - if not r48 goto L37 (error at get_type_strings:93) else goto L32 :: bool + r36 = 'signature' + r37 = CPyObject_GetAttr(r35, r36) + dec_ref r35 + if is_error(r37) goto L206 (error at encode_input:188) else goto L32 L32: - return r1 + r38 = __mypyc_self__.__mypyc_generator_attribute__args + if is_error(r38) goto L207 (error at encode_input:188) else goto L33 L33: - r49 = :: list - return r49 + r39 = dank_mids.brownie_patch.call.globals :: static + r40 = '__encode_input' + r41 = CPyDict_GetItem(r39, r40) + if is_error(r41) goto L208 (error at encode_input:188) else goto L34 L34: - inc_ref substitutions - goto L2 + r42 = PyList_New(2) + if is_error(r42) goto L209 (error at encode_input:188) else goto L35 L35: - dec_ref substitutions - goto L33 + r43 = get_element_ptr r42 ob_item :: PyListObject + r44 = load_mem r43 :: ptr* + set_mem r44, r34 :: builtins.object* + r45 = r44 + 8 + set_mem r45, r37 :: builtins.object* + r46 = CPyList_Extend(r42, r38) + dec_ref r38 + if is_error(r46) goto L210 (error at encode_input:188) else goto L211 L36: - dec_ref substitutions - goto L4 + r47 = PyList_AsTuple(r42) + dec_ref r42 + if is_error(r47) goto L212 (error at encode_input:188) else goto L37 L37: - dec_ref r1 - goto L33 + r48 = PyObject_CallObject(r41, r47) + dec_ref r41 + dec_ref r47 + if is_error(r48) goto L203 (error at encode_input:188) else goto L38 L38: - dec_ref substitutions - dec_ref r1 - goto L33 + __mypyc_self__.__mypyc_generator_attribute__data = r48; r49 = is_error + if not r49 goto L203 (error at encode_input:188) else goto L151 :: bool L39: - dec_ref substitutions - dec_ref r5 - goto L31 + r50 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r50) goto L75 (error at encode_input:191) else goto L40 L40: - dec_ref substitutions - dec_ref r1 - dec_ref r5 - goto L33 + r51 = __mypyc_self__.__mypyc_generator_attribute__args + if is_error(r51) goto L213 (error at encode_input:191) else goto L41 L41: - dec_ref substitutions - dec_ref r1 - dec_ref r5 - dec_ref r7 - goto L33 + r52 = __mypyc_self__.__mypyc_generator_attribute__get_request_data + if is_error(r52) goto L214 (error at encode_input:191) else goto L42 L42: - dec_ref r7 - goto L20 + r53 = PyList_New(1) + if is_error(r53) goto L215 (error at encode_input:191) else goto L43 L43: - dec_ref substitutions - dec_ref r1 - dec_ref r5 - dec_ref type_str - goto L33 + r54 = get_element_ptr r53 ob_item :: PyListObject + r55 = load_mem r54 :: ptr* + set_mem r55, r50 :: builtins.object* + r56 = CPyList_Extend(r53, r51) + dec_ref r51 + if is_error(r56) goto L216 (error at encode_input:191) else goto L217 L44: - dec_ref substitutions - dec_ref r1 - dec_ref r5 - dec_ref type_str - dec_ref r15 - goto L33 + r57 = PyList_AsTuple(r53) + dec_ref r53 + if is_error(r57) goto L218 (error at encode_input:191) else goto L45 L45: - dec_ref substitutions - dec_ref r1 - dec_ref r5 - dec_ref r17 - goto L33 + r58 = PyObject_CallObject(r52, r57) + dec_ref r52 + dec_ref r57 + if is_error(r58) goto L75 (error at encode_input:191) else goto L46 L46: - dec_ref substitutions - dec_ref r1 - dec_ref r5 - dec_ref r19 - goto L33 + r59 = CPy_GetCoro(r58) + dec_ref r58 + if is_error(r59) goto L75 (error at encode_input:191) else goto L47 L47: - dec_ref substitutions - dec_ref r1 - dec_ref r5 - dec_ref type_str - dec_ref r27 - goto L33 + __mypyc_self__.__mypyc_temp__30 = r59; r60 = is_error + if not r60 goto L75 (error at encode_input:-1) else goto L48 :: bool L48: - dec_ref r27 - dec_ref r30 - dec_ref r31 - goto L29 + r61 = __mypyc_self__.__mypyc_temp__30 + if is_error(r61) goto L75 (error at encode_input:-1) else goto L49 L49: - dec_ref substitutions - dec_ref r1 - dec_ref r5 - dec_ref type_str - dec_ref r27 - dec_ref r30 - dec_ref r35 - goto L33 + r62 = CPyIter_Next(r61) + dec_ref r61 + if is_error(r62) goto L50 else goto L52 L50: - dec_ref r36 - dec_ref r35 - goto L28 + r63 = CPy_FetchStopIterationValue() + if is_error(r63) goto L75 (error at encode_input:191) else goto L51 L51: - dec_ref substitutions - dec_ref r1 - dec_ref r5 - dec_ref type_str - dec_ref r27 - dec_ref r30 - dec_ref r36 - dec_ref r35 - goto L33 + r64 = r63 + r65 = :: object + __mypyc_self__.__mypyc_temp__30 = r65; r66 = is_error + if not r66 goto L219 (error at encode_input:191) else goto L74 :: bool L52: - dec_ref substitutions - dec_ref r1 - dec_ref r5 - dec_ref r27 - dec_ref r30 - goto L33 + r67 = r62 L53: - dec_ref substitutions - dec_ref r1 - dec_ref r5 - dec_ref type_str - dec_ref r27 - dec_ref r30 - goto L33 - -def build_function_signature(abi): - abi :: dict - r0 :: str - r1 :: object - r2 :: union[dict, None] - r3 :: list - r4 :: str - r5 :: object - r6, r7, r8, r9, r10, r11, r12 :: str -L0: - r0 = 'inputs' - r1 = CPyDict_GetItem(abi, r0) - if is_error(r1) goto L7 (error at build_function_signature:109) else goto L1 -L1: - r2 = :: union[dict, None] - r3 = get_type_strings(r1, r2) - dec_ref r1 - if is_error(r3) goto L7 (error at build_function_signature:109) else goto L2 -L2: - r4 = 'name' - r5 = CPyDict_GetItem(abi, r4) - if is_error(r5) goto L8 (error at build_function_signature:110) else goto L3 -L3: - r6 = cast(str, r5) - if is_error(r6) goto L8 (error at build_function_signature:110) else goto L4 -L4: - r7 = '(' - r8 = ',' - r9 = PyUnicode_Join(r8, r3) - dec_ref r3 - if is_error(r9) goto L9 (error at build_function_signature:110) else goto L5 -L5: - r10 = ')' - r11 = CPyStr_Build(4, r6, r7, r9, r10) - dec_ref r6 - dec_ref r9 - if is_error(r11) goto L7 (error at build_function_signature:110) else goto L6 -L6: - return r11 -L7: - r12 = :: str - return r12 -L8: - dec_ref r3 - goto L7 -L9: - dec_ref r6 - goto L7 - -def build_function_selector(input_signature): - input_signature, r0 :: str - r1 :: bytes - r2 :: object - r3 :: bool - r4 :: object[1] - r5 :: object_ptr - r6 :: object - r7 :: str - r8 :: object[1] - r9 :: object_ptr - r10, r11, r12, r13, r14, r15 :: object - r16, r17, r18 :: str -L0: - r0 = '0x' - r1 = PyUnicode_AsUTF8String(input_signature) - if is_error(r1) goto L11 (error at build_function_selector:114) else goto L1 -L1: - r2 = dank_mids.brownie_patch._abi.keccak :: static - if is_error(r2) goto L12 else goto L4 -L2: - r3 = raise NameError('value for final name "keccak" was not set') - if not r3 goto L11 (error at build_function_selector:114) else goto L3 :: bool -L3: - unreachable -L4: - r4 = [r1] - r5 = load_address r4 - r6 = PyObject_Vectorcall(r2, r5, 1, 0) - if is_error(r6) goto L13 (error at build_function_selector:114) else goto L5 -L5: - dec_ref r1 - r7 = 'hex' - r8 = [r6] - r9 = load_address r8 - r10 = PyObject_VectorcallMethod(r7, r9, 9223372036854775809, 0) - if is_error(r10) goto L14 (error at build_function_selector:114) else goto L6 -L6: - dec_ref r6 - r11 = load_address _Py_NoneStruct - r12 = load_address _Py_NoneStruct - r13 = object 8 - r14 = PySlice_New(r11, r13, r12) - if is_error(r14) goto L15 (error at build_function_selector:114) else goto L7 -L7: - r15 = PyObject_GetItem(r10, r14) - dec_ref r10 - dec_ref r14 - if is_error(r15) goto L11 (error at build_function_selector:114) else goto L8 -L8: - r16 = PyObject_Str(r15) - dec_ref r15 - if is_error(r16) goto L11 (error at build_function_selector:114) else goto L9 -L9: - r17 = CPyStr_Build(2, r0, r16) - dec_ref r16 - if is_error(r17) goto L11 (error at build_function_selector:114) else goto L10 -L10: - return r17 -L11: - r18 = :: str - return r18 -L12: - dec_ref r1 - goto L2 -L13: - dec_ref r1 - goto L11 -L14: - dec_ref r6 - goto L11 -L15: - dec_ref r10 - 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 :: 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 :: object - r33 :: dict - r34 :: str - r35 :: object - r36 :: dict - r37 :: str - r38, r39 :: object - r40 :: dict - r41 :: str - r42 :: object - r43 :: tuple[object, object] - r44, r45, r46 :: object - r47 :: tuple[object, object] - r48, r49 :: object - r50 :: dict - r51 :: str - r52 :: i32 - r53 :: bit - r54 :: dict - r55 :: str - r56, r57 :: object - r58 :: dict - r59 :: str - r60 :: i32 - r61 :: bit - r62 :: dict - r63 :: str - r64 :: object - r65 :: str - r66 :: object - r67 :: dict - r68 :: str - r69 :: i32 - r70 :: bit - r71 :: tuple - r72, r73 :: object - r74 :: str - r75 :: bool - r76, r77 :: str - r78 :: object - r79 :: object[2] - r80 :: object_ptr - r81 :: object - r82, r83, r84, r85 :: dict - r86 :: dank_mids.brownie_patch._abi.__init___FunctionABI_obj - r87 :: str - r88 :: i32 - r89 :: bit - r90 :: dank_mids.brownie_patch._abi.singleton_FunctionABI_obj - r91 :: object - r92 :: str - r93 :: object - r94 :: object[1] - r95 :: object_ptr - r96 :: object - r97 :: str - r98 :: i32 - r99 :: bit - r100, r101 :: str - r102 :: i32 - r103 :: bit - r104, r105 :: str - r106 :: i32 - r107 :: bit - r108, r109 :: str - r110 :: i32 - r111 :: bit - r112 :: object[3] - r113 :: object_ptr - r114 :: object - r115 :: dict - r116 :: str - r117, r118 :: object - r119 :: object[1] - r120 :: object_ptr - r121, r122 :: object - r123 :: object[1] - r124 :: object_ptr - r125 :: object - r126 :: dict - r127 :: str - r128 :: object - r129 :: object[1] - r130 :: object_ptr - r131 :: object - r132 :: dict - r133 :: str - r134 :: i32 - r135 :: bit - r136 :: object - r137 :: 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 L48 (error at :-1) else goto L2 -L2: - builtins = r4 :: module - dec_ref r4 -L3: - r5 = ('Any', 'Dict', 'Final', 'List', 'Optional', 'Sequence', 'Tuple', 'final') - r6 = 'typing' - r7 = dank_mids.brownie_patch._abi.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L48 (error at :1) else goto L4 -L4: - typing = r8 :: module - dec_ref r8 - r9 = ('WeakValueDictionary',) - r10 = 'weakref' - r11 = dank_mids.brownie_patch._abi.globals :: static - r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) - if is_error(r12) goto L48 (error at :2) else goto L5 -L5: - weakref = r12 :: module - dec_ref r12 - r13 = ('auto',) - r14 = 'eth_hash' - r15 = dank_mids.brownie_patch._abi.globals :: static - r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) - if is_error(r16) goto L48 (error at :4) else goto L6 -L6: - eth_hash = r16 :: module - dec_ref r16 - r17 = ('ABIComponent', 'ABIFunction') - r18 = 'eth_typing' - r19 = dank_mids.brownie_patch._abi.globals :: static - r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) - if is_error(r20) goto L48 (error at :5) else goto L7 -L7: - eth_typing = r20 :: module - dec_ref r20 - r21 = ('mypyc_attr',) - r22 = 'mypy_extensions' - r23 = dank_mids.brownie_patch._abi.globals :: static - r24 = CPyImport_ImportFromMany(r22, r21, r21, r23) - if is_error(r24) goto L48 (error at :6) else goto L8 -L8: - mypy_extensions = r24 :: module - dec_ref r24 - r25 = ('Unpack',) - r26 = 'typing_extensions' - r27 = dank_mids.brownie_patch._abi.globals :: static - r28 = CPyImport_ImportFromMany(r26, r25, r25, r27) - if is_error(r28) goto L48 (error at :7) else goto L9 -L9: - typing_extensions = r28 :: module - dec_ref r28 - r29 = ('make_hashable',) - r30 = 'dank_mids.helpers.hashing' - r31 = dank_mids.brownie_patch._abi.globals :: static - r32 = CPyImport_ImportFromMany(r30, r29, r29, r31) - if is_error(r32) goto L48 (error at :9) else goto L10 -L10: - dank_mids.helpers.hashing = r32 :: module - dec_ref r32 - r33 = dank_mids.brownie_patch._abi.globals :: static - r34 = 'Tuple' - r35 = CPyDict_GetItem(r33, r34) - if is_error(r35) goto L48 (error at :12) else goto L11 -L11: - r36 = dank_mids.brownie_patch._abi.globals :: static - r37 = 'Tuple' - r38 = CPyDict_GetItem(r36, r37) - if is_error(r38) goto L49 (error at :12) else goto L12 -L12: - r39 = load_address PyUnicode_Type - r40 = dank_mids.brownie_patch._abi.globals :: static - r41 = 'Any' - r42 = CPyDict_GetItem(r40, r41) - if is_error(r42) goto L50 (error at :12) else goto L13 -L13: - inc_ref r39 - r43 = (r39, r42) - r44 = box(tuple[object, object], r43) - r45 = PyObject_GetItem(r38, r44) - dec_ref r38 - dec_ref r44 - if is_error(r45) goto L49 (error at :12) else goto L14 -L14: - r46 = load_address _Py_EllipsisObject - inc_ref r46 - r47 = (r45, r46) - r48 = box(tuple[object, object], r47) - r49 = PyObject_GetItem(r35, r48) - dec_ref r35 - dec_ref r48 - if is_error(r49) goto L48 (error at :12) else goto L15 -L15: - r50 = dank_mids.brownie_patch._abi.globals :: static - r51 = 'SingletonKey' - r52 = CPyDict_SetItem(r50, r51, r49) - dec_ref r49 - r53 = r52 >= 0 :: signed - if not r53 goto L48 (error at :12) else goto L16 :: bool -L16: - r54 = dank_mids.brownie_patch._abi.globals :: static - r55 = 'WeakValueDictionary' - r56 = CPyDict_GetItem(r54, r55) - if is_error(r56) goto L48 (error at :14) else goto L17 -L17: - r57 = PyObject_Vectorcall(r56, 0, 0, 0) - dec_ref r56 - if is_error(r57) goto L48 (error at :14) else goto L18 -L18: - dank_mids.brownie_patch._abi._singletons = r57 :: static - r58 = dank_mids.brownie_patch._abi.globals :: static - r59 = '_singletons' - r60 = CPyDict_SetItem(r58, r59, r57) - dec_ref r57 - r61 = r60 >= 0 :: signed - if not r61 goto L48 (error at :14) else goto L19 :: bool -L19: - r62 = dank_mids.brownie_patch._abi.globals :: static - r63 = 'auto' - r64 = CPyDict_GetItem(r62, r63) - if is_error(r64) goto L48 (error at :17) else goto L20 -L20: - r65 = 'keccak' - r66 = CPyObject_GetAttr(r64, r65) - dec_ref r64 - if is_error(r66) goto L48 (error at :17) else goto L21 -L21: - dank_mids.brownie_patch._abi.keccak = r66 :: static - r67 = dank_mids.brownie_patch._abi.globals :: static - r68 = 'keccak' - r69 = CPyDict_SetItem(r67, r68, r66) - dec_ref r66 - r70 = r69 >= 0 :: signed - if not r70 goto L48 (error at :17) else goto L22 :: bool -L22: - r71 = CPyTuple_LoadEmptyTupleConstant() - r72 = load_address PyType_Type - r73 = CPy_CalculateMetaclass(r72, r71) - if is_error(r73) goto L51 (error at :31) else goto L23 -L23: - r74 = '__prepare__' - r75 = PyObject_HasAttr(r73, r74) - if r75 goto L24 else goto L28 :: bool -L24: - r76 = 'FunctionABI' - r77 = '__prepare__' - r78 = CPyObject_GetAttr(r73, r77) - if is_error(r78) goto L51 (error at :31) else goto L25 -L25: - r79 = [r76, r71] - r80 = load_address r79 - r81 = PyObject_Vectorcall(r78, r80, 2, 0) - dec_ref r78 - if is_error(r81) goto L51 (error at :31) else goto L26 -L26: - r82 = cast(dict, r81) - if is_error(r82) goto L51 (error at :31) else goto L27 -L27: - r83 = r82 - goto L30 -L28: - r84 = PyDict_New() - if is_error(r84) goto L51 (error at :31) else goto L29 -L29: - r83 = r84 -L30: - r85 = PyDict_New() - if is_error(r85) goto L52 (error at :31) else goto L31 -L31: - r86 = __init___FunctionABI_obj() - if is_error(r86) goto L53 (error at :39) else goto L32 -L32: - r87 = '__init__' - r88 = CPyDict_SetItem(r83, r87, r86) - dec_ref r86 - r89 = r88 >= 0 :: signed - if not r89 goto L53 (error at :39) else goto L33 :: bool -L33: - r90 = singleton_FunctionABI_obj() - if is_error(r90) goto L53 (error at :67) else goto L34 -L34: - r91 = builtins :: module - r92 = 'staticmethod' - r93 = CPyObject_GetAttr(r91, r92) - if is_error(r93) goto L54 (error at :67) else goto L35 -L35: - r94 = [r90] - r95 = load_address r94 - r96 = PyObject_Vectorcall(r93, r95, 1, 0) - dec_ref r93 - if is_error(r96) goto L54 (error at :67) else goto L36 -L36: - dec_ref r90 - r97 = 'singleton' - r98 = CPyDict_SetItem(r83, r97, r96) - dec_ref r96 - r99 = r98 >= 0 :: signed - if not r99 goto L53 (error at :67) else goto L37 :: bool -L37: - r100 = 'FunctionABI' - r101 = '__annotations__' - r102 = CPyDict_SetItem(r83, r101, r85) - dec_ref r85 - r103 = r102 >= 0 :: signed - if not r103 goto L52 (error at :31) else goto L38 :: bool -L38: - r104 = 'mypyc filler docstring' - r105 = '__doc__' - r106 = CPyDict_SetItem(r83, r105, r104) - r107 = r106 >= 0 :: signed - if not r107 goto L52 (error at :31) else goto L39 :: bool -L39: - r108 = 'dank_mids.brownie_patch._abi' - r109 = '__module__' - r110 = CPyDict_SetItem(r83, r109, r108) - r111 = r110 >= 0 :: signed - if not r111 goto L52 (error at :31) else goto L40 :: bool -L40: - r112 = [r100, r71, r83] - r113 = load_address r112 - r114 = PyObject_Vectorcall(r73, r113, 3, 0) - if is_error(r114) goto L52 (error at :31) else goto L41 -L41: - dec_ref r83 - dec_ref r71 - r115 = dank_mids.brownie_patch._abi.globals :: static - r116 = 'mypyc_attr' - r117 = CPyDict_GetItem(r115, r116) - if is_error(r117) goto L55 (error at :28) else goto L42 -L42: - r118 = box(bool, 0) - r119 = [r118] - r120 = load_address r119 - r121 = ('native_class',) - r122 = PyObject_Vectorcall(r117, r120, 0, r121) - dec_ref r117 - if is_error(r122) goto L55 (error at :28) else goto L43 -L43: - r123 = [r114] - r124 = load_address r123 - r125 = PyObject_Vectorcall(r122, r124, 1, 0) - dec_ref r122 - if is_error(r125) goto L55 (error at :31) else goto L44 -L44: - dec_ref r114 - r126 = dank_mids.brownie_patch._abi.globals :: static - r127 = 'final' - r128 = CPyDict_GetItem(r126, r127) - if is_error(r128) goto L56 (error at :27) else goto L45 -L45: - r129 = [r125] - r130 = load_address r129 - r131 = PyObject_Vectorcall(r128, r130, 1, 0) - dec_ref r128 - if is_error(r131) goto L56 (error at :31) else goto L46 -L46: - dec_ref r125 - dank_mids.brownie_patch._abi.FunctionABI = r131 :: type - r132 = dank_mids.brownie_patch._abi.globals :: static - r133 = 'FunctionABI' - r134 = PyDict_SetItem(r132, r133, r131) - dec_ref r131 - r135 = r134 >= 0 :: signed - if not r135 goto L48 (error at :31) else goto L47 :: bool -L47: - r136 = dank_mids.brownie_patch._abi.FunctionABI :: type - return 1 -L48: - r137 = :: None - return r137 -L49: - dec_ref r35 - goto L48 -L50: - dec_ref r35 - dec_ref r38 - goto L48 -L51: - dec_ref r71 - goto L48 -L52: - dec_ref r71 - dec_ref r83 - goto L48 -L53: - dec_ref r71 - dec_ref r83 - dec_ref r85 - goto L48 + __mypyc_self__.__mypyc_next_label__ = 1 + return r67 L54: - dec_ref r71 - dec_ref r83 - dec_ref r85 - dec_ref r90 - goto L48 + r69 = load_address _Py_NoneStruct + r70 = type != r69 + if r70 goto L55 else goto L220 :: bool L55: - dec_ref r114 - goto L48 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L58 (error at encode_input:191) else goto L221 :: bool L56: - dec_ref r125 - goto L48 - -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 L25 (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 L25 (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 L25 (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 L25 (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 L25 (error at :8) else goto L7 -L7: - r21 = DummyLogger_trait_vtable_setup() - if is_error(r21) goto L26 (error at :-1) else goto L8 -L8: - r22 = '__mypyc_attrs__' - r23 = CPyTuple_LoadEmptyTupleConstant() - r24 = PyObject_SetAttr(r20, r22, r23) - dec_ref r23 - r25 = r24 >= 0 :: signed - if not r25 goto L26 (error at :8) else goto L9 :: bool -L9: - dank_mids._demo_mode.DummyLogger = r20 :: type - r26 = dank_mids._demo_mode.globals :: static - r27 = 'DummyLogger' - r28 = PyDict_SetItem(r26, r27, r20) - dec_ref r20 - r29 = r28 >= 0 :: signed - if not r29 goto L25 (error at :8) else goto L10 :: bool -L10: - r30 = dank_mids.ENVIRONMENT_VARIABLES.DEMO_MODE :: static - if is_error(r30) goto L11 else goto L13 -L11: - r31 = raise NameError('value for final name "DEMO_MODE" was not set') - if not r31 goto L25 (error at :30) else goto L12 :: bool -L12: unreachable -L13: - r32 = PyObject_IsTrue(r30) - r33 = r32 >= 0 :: signed - if not r33 goto L25 (error at :30) else goto L14 :: bool -L14: - r34 = truncate r32: i32 to builtins.bool - if r34 goto L15 else goto L20 :: bool -L15: - r35 = 'dank_mids.demo' - r36 = dank_mids._logging.getLogger :: static - if is_error(r36) goto L16 else goto L18 -L16: - r37 = raise NameError('value for final name "getLogger" was not set') - if not r37 goto L25 (error at :31) else goto L17 :: bool -L17: +L57: + inc_ref arg + goto L69 +L58: + r71 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__31 = r71; r72 = is_error + if not r72 goto L222 (error at encode_input:-1) else goto L59 :: bool +L59: + r73 = load_address r1 + r74 = __mypyc_self__.__mypyc_temp__30 + if is_error(r74) goto L222 (error at encode_input:-1) else goto L60 +L60: + r75 = CPy_YieldFromErrorHandle(r74, r73) + dec_ref r74 + if is_error(r75) goto L222 (error at encode_input:191) else goto L61 +L61: + if r75 goto L64 else goto L62 :: bool +L62: + r67 = r1 + r76 = __mypyc_self__.__mypyc_temp__31 + if is_error(r76) goto L223 (error at encode_input:-1) else goto L63 +L63: + CPy_RestoreExcInfo(r76) + dec_ref r76 + goto L53 +L64: + r64 = r1 + r77 = __mypyc_self__.__mypyc_temp__31 + if is_error(r77) goto L224 (error at encode_input:-1) else goto L65 +L65: + CPy_RestoreExcInfo(r77) + dec_ref r77 + goto L74 +L66: + r78 = __mypyc_self__.__mypyc_temp__31 + if is_error(r78) goto L75 (error at encode_input:-1) else goto L67 +L67: + CPy_RestoreExcInfo(r78) + dec_ref r78 + r79 = CPy_KeepPropagating() + if not r79 goto L75 else goto L68 :: bool +L68: unreachable -L18: - r38 = [r35] - r39 = load_address r38 - r40 = PyObject_Vectorcall(r36, r39, 1, 0) - if is_error(r40) goto L25 (error at :31) else goto L19 -L19: - 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 L25 (error at :31) else goto L22 :: bool -L20: - r45 = DummyLogger() - if is_error(r45) goto L25 (error at :33) else goto L21 -L21: - 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 L25 (error at :33) else goto L22 :: bool -L22: - r50 = dank_mids._demo_mode.globals :: static - r51 = '_logger' - r52 = CPyDict_GetItem(r50, r51) - if is_error(r52) goto L25 (error at :35) else goto L23 -L23: - 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 L25 (error at :35) else goto L24 :: bool -L24: - return 1 -L25: - r57 = :: None - return r57 -L26: - dec_ref r20 - goto L25 - -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__:21) else goto L1 :: bool -L1: - r3 = builtins :: module - r4 = 'BaseException' - r5 = CPyObject_GetAttr(r3, r4) - if is_error(r5) goto L6 (error at __init__:22) else goto L2 -L2: - r6 = 'error' - r7 = CPyObject_GetAttr(response, r6) - if is_error(r7) goto L7 (error at __init__:22) 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__:22) 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__:22) 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 :: str - r9 :: native_int - r10, r11, r12 :: bit - r13, r14, r15 :: int - r16 :: bit - r17 :: str - r18 :: list - r19 :: object - r20 :: str - r21 :: object - r22 :: str - r23 :: object - r24 :: str - r25 :: object[3] - r26 :: object_ptr - r27 :: object - r28 :: None -L0: - r0 = 'response' - r1 = PyObject_SetAttr(self, r0, response) - r2 = r1 >= 0 :: signed - if not r2 goto L18 (error at __init__:35) else goto L1 :: bool -L1: - r3 = 'error' - r4 = CPyObject_GetAttr(response, r3) - if is_error(r4) goto L18 (error at __init__:36) else goto L2 -L2: - r5 = 'message' - r6 = CPyObject_GetAttr(r4, r5) - dec_ref r4 - if is_error(r6) goto L18 (error at __init__:36) else goto L3 -L3: - r7 = cast(str, r6) - if is_error(r7) goto L18 (error at __init__:36) else goto L4 -L4: - message = r7 - r8 = ':' - r9 = CPyStr_Count(message, r8, 0) - r10 = r9 >= 0 :: signed - if not r10 goto L19 (error at __init__:37) else goto L5 :: bool -L5: - r11 = r9 <= 4611686018427387903 :: signed - if r11 goto L6 else goto L7 :: bool -L6: - r12 = r9 >= -4611686018427387904 :: signed - if r12 goto L9 else goto L7 :: bool -L7: - r13 = CPyTagged_FromInt64(r9) - if is_error(r13) goto L19 (error at __init__:37) else goto L8 -L8: - r14 = r13 - goto L10 -L9: - r15 = r9 << 1 - r14 = r15 -L10: - r16 = r14 == 2 - dec_ref r14 :: int - if r16 goto L11 else goto L15 :: bool -L11: - r17 = ':' - r18 = PyUnicode_Split(message, r17, -1) - dec_ref message - if is_error(r18) goto L18 (error at __init__:38) else goto L12 -L12: - r19 = CPyList_GetItemShort(r18, 2) - dec_ref r18 - if is_error(r19) goto L18 (error at __init__:38) else goto L13 -L13: - r20 = cast(str, r19) - if is_error(r20) goto L18 (error at __init__:38) else goto L14 -L14: - message = r20 -L15: - r21 = builtins :: module - r22 = 'BaseException' - r23 = CPyObject_GetAttr(r21, r22) - if is_error(r23) goto L19 (error at __init__:39) else goto L16 -L16: - r24 = '__init__' - r25 = [r23, self, message] - r26 = load_address r25 - r27 = PyObject_VectorcallMethod(r24, r26, 9223372036854775811, 0) - if is_error(r27) goto L20 (error at __init__:39) else goto L21 -L17: - dec_ref r23 - dec_ref message - return 1 -L18: - r28 = :: None - return r28 -L19: - dec_ref message - goto L18 -L20: - dec_ref message - dec_ref r23 - goto L18 -L21: - dec_ref r27 - goto L17 - -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:59) else goto L1 -L1: - r3 = 'error' - r4 = CPyObject_GetAttr(r2, r3) - dec_ref r2 - if is_error(r4) goto L9 (error at limit:59) else goto L2 -L2: - r5 = 'message' - r6 = CPyObject_GetAttr(r4, r5) - dec_ref r4 - if is_error(r6) goto L9 (error at limit:59) else goto L3 -L3: - r7 = re :: module - r8 = 'search' - r9 = CPyObject_GetAttr(r7, r8) - if is_error(r9) goto L10 (error at limit:59) 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:59) 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:59) 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:59) else goto L7 -L7: - dec_ref r14 - r19 = unbox(int, r18) - dec_ref r18 - if is_error(r19) goto L9 (error at limit:59) 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__:77) else goto L1 -L1: - r1 = PyList_New(0) - if is_error(r1) goto L16 (error at __init__:77) else goto L2 -L2: - r2 = CPyList_Extend(r1, r0) - dec_ref r0 - if is_error(r2) goto L17 (error at __init__:77) else goto L18 -L3: - r3 = PyList_Append(r1, request) - r4 = r3 >= 0 :: signed - if not r4 goto L17 (error at __init__:77) else goto L4 :: bool -L4: - r5 = PyList_AsTuple(r1) - dec_ref r1 - if is_error(r5) goto L15 (error at __init__:77) 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__:85) 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__:85) else goto L7 -L7: - r13 = '__init__' - r14 = CPyObject_GetAttr(r12, r13) - dec_ref r12 - if is_error(r14) goto L15 (error at __init__:85) else goto L8 -L8: - r15 = 'request_info' - r16 = CPyObject_GetAttr(exc, r15) - if is_error(r16) goto L19 (error at __init__:86) else goto L9 -L9: - r17 = 'history' - r18 = CPyObject_GetAttr(exc, r17) - if is_error(r18) goto L20 (error at __init__:87) else goto L10 -L10: - r19 = 'status' - r20 = CPyObject_GetAttr(exc, r19) - if is_error(r20) goto L21 (error at __init__:88) else goto L11 -L11: - r21 = 'message' - r22 = CPyObject_GetAttr(exc, r21) - if is_error(r22) goto L22 (error at __init__:89) else goto L12 -L12: - r23 = 'headers' - r24 = CPyObject_GetAttr(exc, r23) - if is_error(r24) goto L23 (error at __init__:90) 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__:85) 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 :: object - r23 :: str - r24 :: object[1] - r25 :: object_ptr - r26 :: object - r27 :: 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 L13 (error at __init__:104) else goto L2 :: bool -L2: +L69: + r80 = __mypyc_self__.__mypyc_temp__30 + if is_error(r80) goto L225 (error at encode_input:-1) else goto L70 +L70: + r81 = CPyIter_Send(r80, arg) + dec_ref r80 + dec_ref arg + if is_error(r81) goto L72 else goto L71 +L71: + r67 = r81 + goto L53 +L72: + r82 = CPy_FetchStopIterationValue() + if is_error(r82) goto L75 (error at encode_input:191) else goto L73 +L73: + r64 = r82 +L74: + __mypyc_self__.__mypyc_generator_attribute__data = r64; r83 = is_error + if not r83 goto L75 (error at encode_input:191) else goto L151 :: bool +L75: + r84 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__32 = r84; r85 = is_error + if not r85 goto L148 (error at encode_input:-1) else goto L76 :: bool +L76: + r86 = builtins :: module + r87 = 'AttributeError' + r88 = CPyObject_GetAttr(r86, r87) + if is_error(r88) goto L148 (error at encode_input:192) else goto L77 +L77: + r89 = builtins :: module + r90 = 'TypeError' + r91 = CPyObject_GetAttr(r89, r90) + if is_error(r91) goto L226 (error at encode_input:192) else goto L78 +L78: + r92 = (r88, r91) + r93 = box(tuple[object, object], r92) + r94 = CPy_ExceptionMatches(r93) + dec_ref r93 + if r94 goto L79 else goto L90 :: bool +L79: + r95 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r95) goto L148 (error at encode_input:194) else goto L80 +L80: + r96 = 'abi' + r97 = CPyObject_GetAttr(r95, r96) + dec_ref r95 + if is_error(r97) goto L148 (error at encode_input:194) else goto L81 +L81: + r98 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r98) goto L227 (error at encode_input:194) else goto L82 +L82: + r99 = 'signature' + r100 = CPyObject_GetAttr(r98, r99) + dec_ref r98 + if is_error(r100) goto L227 (error at encode_input:194) else goto L83 +L83: + r101 = __mypyc_self__.__mypyc_generator_attribute__args + if is_error(r101) goto L228 (error at encode_input:194) else goto L84 +L84: + r102 = dank_mids.brownie_patch.call.globals :: static + r103 = '__encode_input' + r104 = CPyDict_GetItem(r102, r103) + if is_error(r104) goto L229 (error at encode_input:194) else goto L85 +L85: + r105 = PyList_New(2) + if is_error(r105) goto L230 (error at encode_input:194) else goto L86 +L86: + r106 = get_element_ptr r105 ob_item :: PyListObject + r107 = load_mem r106 :: ptr* + set_mem r107, r97 :: builtins.object* + r108 = r107 + 8 + set_mem r108, r100 :: builtins.object* + r109 = CPyList_Extend(r105, r101) + dec_ref r101 + if is_error(r109) goto L231 (error at encode_input:194) else goto L232 +L87: + r110 = PyList_AsTuple(r105) + dec_ref r105 + if is_error(r110) goto L233 (error at encode_input:194) else goto L88 +L88: + r111 = PyObject_CallObject(r104, r110) + dec_ref r104 + dec_ref r110 + if is_error(r111) goto L148 (error at encode_input:194) else goto L89 +L89: + __mypyc_self__.__mypyc_generator_attribute__data = r111; r112 = is_error + if not r112 goto L148 (error at encode_input:194) else goto L146 :: bool +L90: + r113 = dank_mids.brownie_patch.call.globals :: static + r114 = 'BrokenProcessPool' + r115 = CPyDict_GetItem(r113, r114) + if is_error(r115) goto L148 (error at encode_input:196) else goto L91 +L91: + r116 = CPy_ExceptionMatches(r115) + dec_ref r115 + if r116 goto L92 else goto L125 :: bool +L92: + r117 = dank_mids.brownie_patch.call.logger :: static + if is_error(r117) goto L93 else goto L95 +L93: + r118 = raise NameError('value for final name "logger" was not set') + if not r118 goto L148 (error at encode_input:197) else goto L94 :: bool +L94: unreachable -L3: - r2 = 'unhandled exception inside dank mids internals: ' - r3 = PyObject_Str(exc) - if is_error(r3) goto L13 (error at __init__:104) else goto L4 -L4: - r4 = CPyStr_Build(2, r2, r3) - dec_ref r3 - if is_error(r4) goto L13 (error at __init__:104) 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 L14 (error at __init__:104) else goto L15 -L6: - dec_ref r4 - r11 = '_original_exception' - r12 = PyObject_SetAttr(self, r11, exc) - r13 = r12 >= 0 :: signed - if not r13 goto L13 (error at __init__:106) else goto L7 :: bool -L7: - r14 = builtins :: module - r15 = 'super' - r16 = CPyObject_GetAttr(r14, r15) - if is_error(r16) goto L13 (error at __init__:112) 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 L13 (error at __init__:112) else goto L9 -L9: - r21 = '__init__' - r22 = CPyObject_GetAttr(r20, r21) - dec_ref r20 - if is_error(r22) goto L13 (error at __init__:112) else goto L10 -L10: - r23 = PyObject_Repr(exc) - if is_error(r23) goto L16 (error at __init__:112) else goto L11 -L11: - r24 = [r23] - r25 = load_address r24 - r26 = PyObject_Vectorcall(r22, r25, 1, 0) - dec_ref r22 - if is_error(r26) goto L17 (error at __init__:112) else goto L18 -L12: - dec_ref r23 - return 1 -L13: - r27 = :: None - return r27 -L14: - dec_ref r4 - goto L13 -L15: - dec_ref r10 - goto L6 -L16: - dec_ref r22 - goto L13 -L17: - dec_ref r23 - goto L13 -L18: - dec_ref r26 - goto L12 - -def BatchResponseSortError.__init__(self, controller, calls, response): - self :: dank_mids._exceptions.BatchResponseSortError - controller, calls :: object - response :: list - r0 :: str - r1 :: i32 - r2 :: bit - r3 :: ptr - r4 :: native_int - r5 :: list - r6 :: native_int - r7 :: ptr - r8 :: native_int - r9 :: bit - r10, r11 :: ptr - r12 :: native_int - r13 :: ptr - r14 :: object - r15 :: dank_mids.helpers._codec.RawResponse - r16 :: bool - r17 :: object - r18 :: native_int - r19 :: str - r20 :: i32 - r21 :: bit - r22 :: object - r23 :: str - r24, r25 :: object - r26 :: object[2] - r27 :: object_ptr - r28 :: object - r29 :: str - r30 :: object - r31, r32 :: str - r33 :: object - r34, r35, r36 :: str - r37 :: object - r38, r39 :: str - r40 :: list - r41, r42 :: object - r43 :: str - r44 :: object - r45 :: i32 - r46, r47 :: bit - r48, r49, r50 :: str - r51 :: object - r52 :: list - r53, r54 :: str - r55 :: object[1] - r56 :: object_ptr - r57 :: object - r58 :: None -L0: - r0 = 'calls' - r1 = PyObject_SetAttr(self, r0, calls) - r2 = r1 >= 0 :: signed - if not r2 goto L29 (error at __init__:128) 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 L29 (error at __init__:134) else goto L2 -L2: - r6 = 0 -L3: - r7 = get_element_ptr response ob_size :: PyVarObject - r8 = load_mem r7 :: native_int* - r9 = r6 < r8 :: signed - if r9 goto L4 else goto L8 :: bool -L4: - r10 = get_element_ptr response ob_item :: PyListObject - r11 = load_mem r10 :: ptr* - r12 = r6 * 8 - r13 = r11 + r12 - r14 = load_mem r13 :: builtins.object* - r15 = cast(dank_mids.helpers._codec.RawResponse, r14) - if is_error(r15) goto L30 (error at __init__:134) else goto L5 -L5: - r16 = :: bool - r17 = r15.decode(r16) - dec_ref r15 - if is_error(r17) goto L30 (error at __init__:134) else goto L6 -L6: - CPyList_SetItemUnsafe(r5, r6, r17) -L7: - r18 = r6 + 1 - r6 = r18 - goto L3 -L8: - r19 = 'results' - r20 = PyObject_SetAttr(self, r19, r5) - dec_ref r5 - r21 = r20 >= 0 :: signed - if not r21 goto L29 (error at __init__:134) else goto L9 :: bool -L9: - r22 = builtins :: module - r23 = 'super' - r24 = CPyObject_GetAttr(r22, r23) - if is_error(r24) goto L29 (error at __init__:140) else goto L10 -L10: - r25 = dank_mids._exceptions.BatchResponseSortError :: type - r26 = [r25, self] - r27 = load_address r26 - r28 = PyObject_Vectorcall(r24, r27, 2, 0) - dec_ref r24 - if is_error(r28) goto L29 (error at __init__:140) else goto L11 -L11: - r29 = '__init__' - r30 = CPyObject_GetAttr(r28, r29) - dec_ref r28 - if is_error(r30) goto L29 (error at __init__:140) else goto L12 -L12: - r31 = 'This will not mess up your run but will make things needlessly slow. Please show this to Bob.\nendpoint=' - r32 = 'endpoint' - r33 = CPyObject_GetAttr(controller, r32) - if is_error(r33) goto L31 (error at __init__:142) else goto L13 -L13: - r34 = cast(str, r33) - if is_error(r34) goto L31 (error at __init__:142) else goto L14 -L14: - r35 = '\nclient_version=' - r36 = 'client_version' - r37 = CPyObject_GetAttr(controller, r36) - if is_error(r37) goto L32 (error at __init__:143) else goto L15 -L15: - r38 = cast(str, r37) - if is_error(r38) goto L32 (error at __init__:143) else goto L16 -L16: - r39 = '\ncalls=' - r40 = PyList_New(0) - if is_error(r40) goto L33 (error at __init__:144) else goto L17 -L17: - r41 = PyObject_GetIter(calls) - if is_error(r41) goto L34 (error at __init__:144) else goto L18 -L18: - r42 = PyIter_Next(r41) - if is_error(r42) goto L35 else goto L19 -L19: - r43 = 'uid' - r44 = CPyObject_GetAttr(r42, r43) - dec_ref r42 - if is_error(r44) goto L36 (error at __init__:144) else goto L20 -L20: - r45 = PyList_Append(r40, r44) - dec_ref r44 - r46 = r45 >= 0 :: signed - if not r46 goto L36 (error at __init__:144) else goto L18 :: bool -L21: - r47 = CPy_NoErrOccurred() - if not r47 goto L34 (error at __init__:144) else goto L22 :: bool -L22: - r48 = PyObject_Str(r40) - dec_ref r40 - if is_error(r48) goto L33 (error at __init__:141) else goto L23 -L23: - r49 = '\nresponse=' - r50 = 'results' - r51 = CPyObject_GetAttr(self, r50) - if is_error(r51) goto L37 (error at __init__:145) else goto L24 -L24: - r52 = cast(list, r51) - if is_error(r52) goto L37 (error at __init__:145) else goto L25 -L25: - r53 = PyObject_Str(r52) - dec_ref r52 - if is_error(r53) goto L37 (error at __init__:141) else goto L26 -L26: - r54 = CPyStr_Build(8, r31, r34, r35, r38, r39, r48, r49, r53) - dec_ref r34 - dec_ref r38 - dec_ref r48 - dec_ref r53 - if is_error(r54) goto L31 (error at __init__:141) else goto L27 -L27: - r55 = [r54] - r56 = load_address r55 - r57 = PyObject_Vectorcall(r30, r56, 1, 0) - dec_ref r30 - if is_error(r57) goto L38 (error at __init__:140) else goto L39 -L28: - dec_ref r54 - return 1 -L29: - r58 = :: None - return r58 -L30: - dec_ref r5 - goto L29 -L31: - dec_ref r30 - goto L29 -L32: - dec_ref r30 - dec_ref r34 - goto L29 -L33: - dec_ref r30 - dec_ref r34 - dec_ref r38 - goto L29 -L34: - dec_ref r30 - dec_ref r34 - dec_ref r38 - dec_ref r40 - goto L29 -L35: - dec_ref r41 - goto L21 -L36: - dec_ref r30 - dec_ref r34 - dec_ref r38 - dec_ref r40 - dec_ref r41 - goto L29 -L37: - dec_ref r30 - dec_ref r34 - dec_ref r38 - dec_ref r48 - goto L29 -L38: - dec_ref r54 - goto L29 -L39: - dec_ref r57 - goto L28 - -def ChainstackRateLimitError.try_again_in(self): - self :: dank_mids._exceptions.ChainstackRateLimitError - r0 :: str - r1 :: object - r2 :: str +L95: + r119 = 'Oh fuck, you broke the %s while decoding %s with abi %s' + r120 = dank_mids.brownie_patch.call.globals :: static + r121 = 'ENVS' + r122 = CPyDict_GetItem(r120, r121) + if is_error(r122) goto L148 (error at encode_input:197) else goto L96 +L96: + r123 = 'BROWNIE_ENCODER_PROCESSES' + r124 = CPyObject_GetAttr(r122, r123) + dec_ref r122 + if is_error(r124) goto L148 (error at encode_input:197) else goto L97 +L97: + r125 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r125) goto L234 (error at encode_input:197) else goto L98 +L98: + r126 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r126) goto L235 (error at encode_input:197) else goto L99 +L99: + r127 = 'abi' + r128 = CPyObject_GetAttr(r126, r127) + dec_ref r126 + if is_error(r128) goto L235 (error at encode_input:197) else goto L100 +L100: + r129 = 'critical' + r130 = [r117, r119, r124, r125, r128] + r131 = load_address r130 + r132 = PyObject_VectorcallMethod(r129, r131, 9223372036854775813, 0) + if is_error(r132) goto L236 (error at encode_input:197) else goto L237 +L101: + dec_ref r124 + dec_ref r125 + dec_ref r128 + r133 = dank_mids.brownie_patch.call.globals :: static + r134 = 'ENVS' + r135 = CPyDict_GetItem(r133, r134) + if is_error(r135) goto L148 (error at encode_input:199) else goto L102 +L102: + r136 = 'BROWNIE_ENCODER_PROCESSES' + r137 = CPyObject_GetAttr(r135, r136) + dec_ref r135 + if is_error(r137) goto L148 (error at encode_input:199) else goto L103 +L103: + r138 = '_max_workers' + r139 = CPyObject_GetAttr(r137, r138) + dec_ref r137 + if is_error(r139) goto L148 (error at encode_input:199) else goto L104 +L104: + r140 = dank_mids.brownie_patch.call.globals :: static + r141 = 'AsyncProcessPoolExecutor' + r142 = CPyDict_GetItem(r140, r141) + if is_error(r142) goto L238 (error at encode_input:199) else goto L105 +L105: + r143 = [r139] + r144 = load_address r143 + r145 = PyObject_Vectorcall(r142, r144, 1, 0) + dec_ref r142 + if is_error(r145) goto L238 (error at encode_input:199) else goto L106 +L106: + dec_ref r139 + r146 = dank_mids.brownie_patch.call.globals :: static + r147 = 'ENVS' + r148 = CPyDict_GetItem(r146, r147) + if is_error(r148) goto L239 (error at encode_input:199) else goto L107 +L107: + r149 = 'BROWNIE_ENCODER_PROCESSES' + r150 = PyObject_SetAttr(r148, r149, r145) + dec_ref r148 + dec_ref r145 + r151 = r150 >= 0 :: signed + if not r151 goto L148 (error at encode_input:199) else goto L108 :: bool +L108: + r152 = __mypyc_self__.__mypyc_generator_attribute__len_inputs + if is_error(r152) goto L148 (error at encode_input:200) else goto L109 +L109: + r153 = r152 != 0 + dec_ref r152 :: int + if r153 goto L110 else goto L121 :: bool +L110: + r154 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r154) goto L148 (error at encode_input:200) else goto L111 +L111: + r155 = 'abi' + r156 = CPyObject_GetAttr(r154, r155) + dec_ref r154 + if is_error(r156) goto L148 (error at encode_input:200) else goto L112 +L112: + r157 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r157) goto L240 (error at encode_input:200) else goto L113 +L113: + r158 = 'signature' + r159 = CPyObject_GetAttr(r157, r158) + dec_ref r157 + if is_error(r159) goto L240 (error at encode_input:200) else goto L114 +L114: + r160 = __mypyc_self__.__mypyc_generator_attribute__args + if is_error(r160) goto L241 (error at encode_input:200) else goto L115 +L115: + r161 = dank_mids.brownie_patch.call.globals :: static + r162 = '__encode_input' + r163 = CPyDict_GetItem(r161, r162) + if is_error(r163) goto L242 (error at encode_input:200) else goto L116 +L116: + r164 = PyList_New(2) + if is_error(r164) goto L243 (error at encode_input:200) else goto L117 +L117: + r165 = get_element_ptr r164 ob_item :: PyListObject + r166 = load_mem r165 :: ptr* + set_mem r166, r156 :: builtins.object* + r167 = r166 + 8 + set_mem r167, r159 :: builtins.object* + r168 = CPyList_Extend(r164, r160) + dec_ref r160 + if is_error(r168) goto L244 (error at encode_input:200) else goto L245 +L118: + r169 = PyList_AsTuple(r164) + dec_ref r164 + if is_error(r169) goto L246 (error at encode_input:200) else goto L119 +L119: + r170 = PyObject_CallObject(r163, r169) + dec_ref r163 + dec_ref r169 + if is_error(r170) goto L148 (error at encode_input:200) else goto L120 +L120: + r171 = r170 + goto L124 +L121: + r172 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r172) goto L148 (error at encode_input:200) else goto L122 +L122: + r173 = 'signature' + r174 = CPyObject_GetAttr(r172, r173) + dec_ref r172 + if is_error(r174) goto L148 (error at encode_input:200) else goto L123 +L123: + r171 = r174 +L124: + __mypyc_self__.__mypyc_generator_attribute__data = r171; r175 = is_error + if not r175 goto L148 (error at encode_input:200) else goto L146 :: bool +L125: + r176 = dank_mids.brownie_patch.call.globals :: static + r177 = 'PicklingError' + r178 = CPyDict_GetItem(r176, r177) + if is_error(r178) goto L148 (error at encode_input:201) else goto L126 +L126: + r179 = CPy_ExceptionMatches(r178) + dec_ref r178 + if r179 goto L127 else goto L144 :: bool +L127: + r180 = __mypyc_self__.__mypyc_generator_attribute__len_inputs + if is_error(r180) goto L148 (error at encode_input:202) else goto L128 +L128: + r181 = r180 != 0 + dec_ref r180 :: int + if r181 goto L129 else goto L140 :: bool +L129: + r182 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r182) goto L148 (error at encode_input:202) else goto L130 +L130: + r183 = 'abi' + r184 = CPyObject_GetAttr(r182, r183) + dec_ref r182 + if is_error(r184) goto L148 (error at encode_input:202) else goto L131 +L131: + r185 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r185) goto L247 (error at encode_input:202) else goto L132 +L132: + r186 = 'signature' + r187 = CPyObject_GetAttr(r185, r186) + dec_ref r185 + if is_error(r187) goto L247 (error at encode_input:202) else goto L133 +L133: + r188 = __mypyc_self__.__mypyc_generator_attribute__args + if is_error(r188) goto L248 (error at encode_input:202) else goto L134 +L134: + r189 = dank_mids.brownie_patch.call.globals :: static + r190 = '__encode_input' + r191 = CPyDict_GetItem(r189, r190) + if is_error(r191) goto L249 (error at encode_input:202) else goto L135 +L135: + r192 = PyList_New(2) + if is_error(r192) goto L250 (error at encode_input:202) else goto L136 +L136: + r193 = get_element_ptr r192 ob_item :: PyListObject + r194 = load_mem r193 :: ptr* + set_mem r194, r184 :: builtins.object* + r195 = r194 + 8 + set_mem r195, r187 :: builtins.object* + r196 = CPyList_Extend(r192, r188) + dec_ref r188 + if is_error(r196) goto L251 (error at encode_input:202) else goto L252 +L137: + r197 = PyList_AsTuple(r192) + dec_ref r192 + if is_error(r197) goto L253 (error at encode_input:202) else goto L138 +L138: + r198 = PyObject_CallObject(r191, r197) + dec_ref r191 + dec_ref r197 + if is_error(r198) goto L148 (error at encode_input:202) else goto L139 +L139: + r199 = r198 + goto L143 +L140: + r200 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r200) goto L148 (error at encode_input:202) else goto L141 +L141: + r201 = 'signature' + r202 = CPyObject_GetAttr(r200, r201) + dec_ref r200 + if is_error(r202) goto L148 (error at encode_input:202) else goto L142 +L142: + r199 = r202 +L143: + __mypyc_self__.__mypyc_generator_attribute__data = r199; r203 = is_error + if not r203 goto L148 (error at encode_input:202) else goto L146 :: bool +L144: + CPy_Reraise() + if not 0 goto L148 else goto L145 :: bool +L145: + unreachable +L146: + r204 = __mypyc_self__.__mypyc_temp__32 + if is_error(r204) goto L203 (error at encode_input:-1) else goto L147 +L147: + CPy_RestoreExcInfo(r204) + dec_ref r204 + goto L151 +L148: + r205 = __mypyc_self__.__mypyc_temp__32 + if is_error(r205) goto L203 (error at encode_input:-1) else goto L149 +L149: + CPy_RestoreExcInfo(r205) + dec_ref r205 + r206 = CPy_KeepPropagating() + if not r206 goto L203 else goto L150 :: bool +L150: + unreachable +L151: + r207 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r207) goto L203 (error at encode_input:204) else goto L152 +L152: + r208 = builtins :: module + r209 = 'Exception' + r210 = CPyObject_GetAttr(r208, r209) + if is_error(r210) goto L254 (error at encode_input:204) else goto L153 +L153: + r211 = PyObject_IsInstance(r207, r210) + dec_ref r207 + dec_ref r210 + r212 = r211 >= 0 :: signed + if not r212 goto L203 (error at encode_input:204) else goto L154 :: bool +L154: + r213 = truncate r211: i32 to builtins.bool + if r213 goto L155 else goto L192 :: bool +L155: + r214 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r214) goto L203 (error at encode_input:205) else goto L156 +L156: + r215 = r214 + r216 = 'args' + r217 = CPyObject_GetAttr(r215, r216) + dec_ref r215 + if is_error(r217) goto L203 (error at encode_input:205) else goto L157 +L157: + r218 = cast(tuple, r217) + if is_error(r218) goto L203 (error at encode_input:205) else goto L158 +L158: +L159: + r219 = get_element_ptr r218 ob_size :: PyVarObject + r220 = load_mem r219 :: native_int* + dec_ref r218 + r221 = r220 << 1 + r222 = r221 != 2 + if r222 goto L160 else goto L163 :: bool +L160: + r223 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r223) goto L203 (error at encode_input:206) else goto L161 +L161: + CPy_Raise(r223) + dec_ref r223 + if not 0 goto L203 (error at encode_input:206) else goto L162 :: bool +L162: + unreachable +L163: + r224 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r224) goto L203 (error at encode_input:207) else goto L164 +L164: + r225 = PyObject_Str(r224) + dec_ref r224 + if is_error(r225) goto L203 (error at encode_input:207) else goto L165 +L165: + __mypyc_self__.__mypyc_generator_attribute__exc_str = r225; r226 = is_error + if not r226 goto L203 (error at encode_input:207) else goto L166 :: bool +L166: + r227 = __mypyc_self__.__mypyc_generator_attribute__exc_str + if is_error(r227) goto L203 (error at encode_input:208) else goto L167 +L167: + r228 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r228) goto L255 (error at encode_input:208) else goto L168 +L168: + r229 = '_name' + r230 = CPyObject_GetAttr(r228, r229) + dec_ref r228 + if is_error(r230) goto L255 (error at encode_input:208) else goto L169 +L169: + r231 = 'startswith' + r232 = [r227, r230] + r233 = load_address r232 + r234 = PyObject_VectorcallMethod(r231, r233, 9223372036854775810, 0) + if is_error(r234) goto L256 (error at encode_input:208) else goto L170 +L170: + dec_ref r227 + dec_ref r230 + r235 = unbox(bool, r234) + dec_ref r234 + if is_error(r235) goto L203 (error at encode_input:208) else goto L171 +L171: + if r235 goto L172 else goto L177 :: bool +L172: + r236 = __mypyc_self__.__mypyc_generator_attribute__exc_str + if is_error(r236) goto L203 (error at encode_input:209) else goto L173 +L173: + r237 = ' ' + r238 = CPyStr_Split(r236, r237, 2) + dec_ref r236 + if is_error(r238) goto L203 (error at encode_input:209) else goto L174 +L174: + r239 = CPyList_GetItemShort(r238, 2) + dec_ref r238 + if is_error(r239) goto L203 (error at encode_input:209) else goto L175 +L175: + r240 = cast(str, r239) + if is_error(r240) goto L203 (error at encode_input:209) else goto L176 +L176: + __mypyc_self__.__mypyc_generator_attribute__exc_str = r240; r241 = is_error + if not r241 goto L203 (error at encode_input:209) else goto L180 :: bool +L177: + r242 = ': ' + r243 = __mypyc_self__.__mypyc_generator_attribute__exc_str + if is_error(r243) goto L203 (error at encode_input:211) else goto L178 +L178: + r244 = CPyStr_Build(2, r242, r243) + dec_ref r243 + if is_error(r244) goto L203 (error at encode_input:211) else goto L179 +L179: + __mypyc_self__.__mypyc_generator_attribute__exc_str = r244; r245 = is_error + if not r245 goto L203 (error at encode_input:211) else goto L180 :: bool +L180: + r246 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r246) goto L203 (error at encode_input:212) else goto L181 +L181: + r247 = CPy_TYPE(r246) + dec_ref r246 + r248 = "Contract('" + r249 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r249) goto L257 (error at encode_input:212) else goto L182 +L182: + r250 = '_address' + r251 = CPyObject_GetAttr(r249, r250) + dec_ref r249 + if is_error(r251) goto L257 (error at encode_input:212) else goto L183 +L183: + r252 = PyObject_Str(r251) + dec_ref r251 + if is_error(r252) goto L257 (error at encode_input:212) else goto L184 +L184: + r253 = "')." + r254 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r254) goto L258 (error at encode_input:212) else goto L185 +L185: + r255 = '_name' + r256 = CPyObject_GetAttr(r254, r255) + dec_ref r254 + if is_error(r256) goto L258 (error at encode_input:212) else goto L186 +L186: + r257 = PyObject_Str(r256) + dec_ref r256 + if is_error(r257) goto L258 (error at encode_input:212) else goto L187 +L187: + r258 = ': ' + r259 = __mypyc_self__.__mypyc_generator_attribute__exc_str + if is_error(r259) goto L259 (error at encode_input:212) else goto L188 +L188: + r260 = CPyStr_Build(6, r248, r252, r253, r257, r258, r259) + dec_ref r252 + dec_ref r257 + dec_ref r259 + if is_error(r260) goto L257 (error at encode_input:212) else goto L189 +L189: + r261 = [r260] + r262 = load_address r261 + r263 = PyObject_Vectorcall(r247, r262, 1, 0) + dec_ref r247 + if is_error(r263) goto L260 (error at encode_input:212) else goto L190 +L190: + dec_ref r260 + CPy_Raise(r263) + dec_ref r263 + if not 0 goto L203 (error at encode_input:212) else goto L191 :: bool +L191: + unreachable +L192: + r264 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r264) goto L203 (error at encode_input:213) else goto L193 +L193: + r265 = cast(str, r264) + if is_error(r265) goto L203 (error at encode_input:213) else goto L194 +L194: + __mypyc_self__.__mypyc_next_label__ = -1 +L195: + if is_error(stop_iter_ptr) goto L196 else goto L198 +L196: + CPyGen_SetStopIterationValue(r265) + dec_ref r265 + if not 0 goto L203 else goto L197 :: bool +L197: + unreachable +L198: + set_mem stop_iter_ptr, r265 :: builtins.object* + return 0 +L199: + r267 = r2 == 0 + if r267 goto L261 else goto L200 :: bool +L200: + r268 = r2 == 1 + if r268 goto L54 else goto L262 :: bool +L201: + r269 = raise StopIteration + if not r269 goto L203 (error at encode_input:184) else goto L202 :: bool +L202: + unreachable +L203: + r270 = :: object + return r270 +L204: + dec_ref r16 + goto L203 +L205: + dec_ref r20 + goto L17 +L206: + dec_ref r34 + goto L203 +L207: + dec_ref r34 + dec_ref r37 + goto L203 +L208: + dec_ref r34 + dec_ref r37 + dec_ref r38 + goto L203 +L209: + dec_ref r34 + dec_ref r37 + dec_ref r38 + dec_ref r41 + goto L203 +L210: + dec_ref r41 + dec_ref r42 + goto L203 +L211: + dec_ref r46 + goto L36 +L212: + dec_ref r41 + goto L203 +L213: + dec_ref r50 + goto L75 +L214: + dec_ref r50 + dec_ref r51 + goto L75 +L215: + dec_ref r50 + dec_ref r51 + dec_ref r52 + goto L75 +L216: + dec_ref r52 + dec_ref r53 + goto L75 +L217: + dec_ref r56 + goto L44 +L218: + dec_ref r52 + goto L75 +L219: + dec_ref r64 + goto L75 +L220: + xdec_ref r1 + goto L57 +L221: + xdec_ref r1 + goto L56 +L222: + xdec_ref r1 + goto L66 +L223: + dec_ref r67 + goto L66 +L224: + dec_ref r64 + goto L66 +L225: + dec_ref arg + goto L75 +L226: + dec_ref r88 + goto L148 +L227: + dec_ref r97 + goto L148 +L228: + dec_ref r97 + dec_ref r100 + goto L148 +L229: + dec_ref r97 + dec_ref r100 + dec_ref r101 + goto L148 +L230: + dec_ref r97 + dec_ref r100 + dec_ref r101 + dec_ref r104 + goto L148 +L231: + dec_ref r104 + dec_ref r105 + goto L148 +L232: + dec_ref r109 + goto L87 +L233: + dec_ref r104 + goto L148 +L234: + dec_ref r124 + goto L148 +L235: + dec_ref r124 + dec_ref r125 + goto L148 +L236: + dec_ref r124 + dec_ref r125 + dec_ref r128 + goto L148 +L237: + dec_ref r132 + goto L101 +L238: + dec_ref r139 + goto L148 +L239: + dec_ref r145 + goto L148 +L240: + dec_ref r156 + goto L148 +L241: + dec_ref r156 + dec_ref r159 + goto L148 +L242: + dec_ref r156 + dec_ref r159 + dec_ref r160 + goto L148 +L243: + dec_ref r156 + dec_ref r159 + dec_ref r160 + dec_ref r163 + goto L148 +L244: + dec_ref r163 + dec_ref r164 + goto L148 +L245: + dec_ref r168 + goto L118 +L246: + dec_ref r163 + goto L148 +L247: + dec_ref r184 + goto L148 +L248: + dec_ref r184 + dec_ref r187 + goto L148 +L249: + dec_ref r184 + dec_ref r187 + dec_ref r188 + goto L148 +L250: + dec_ref r184 + dec_ref r187 + dec_ref r188 + dec_ref r191 + goto L148 +L251: + dec_ref r191 + dec_ref r192 + goto L148 +L252: + dec_ref r196 + goto L137 +L253: + dec_ref r191 + goto L148 +L254: + dec_ref r207 + goto L203 +L255: + dec_ref r227 + goto L203 +L256: + dec_ref r227 + dec_ref r230 + goto L203 +L257: + dec_ref r247 + goto L203 +L258: + dec_ref r247 + dec_ref r252 + goto L203 +L259: + dec_ref r247 + dec_ref r252 + dec_ref r257 + goto L203 +L260: + dec_ref r260 + goto L203 +L261: + xdec_ref r1 + goto L1 +L262: + xdec_ref r1 + goto L201 + +def encode_input_gen.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call.encode_input_gen + r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = encode_input_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def encode_input_gen.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids.brownie_patch.call.encode_input_gen + arg, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = encode_input_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def encode_input_gen.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call.encode_input_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def encode_input_gen.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids.brownie_patch.call.encode_input_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 = encode_input_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) + 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_input_gen.close(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call.encode_input_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 encode_input_gen.__await__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call.encode_input_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def encode_input(call, len_inputs, get_request_data, args): + call :: object + len_inputs :: int + get_request_data :: object + args :: tuple + r0 :: dank_mids.brownie_patch.call.encode_input_gen + r1, r2, r3, r4, r5 :: bool + r6 :: dank_mids.brownie_patch.call.encode_input_gen +L0: + r0 = encode_input_gen() + if is_error(r0) goto L6 (error at encode_input:184) else goto L1 +L1: + r0.__mypyc_next_label__ = 0 + inc_ref call + r0.__mypyc_generator_attribute__call = call; r2 = is_error + if not r2 goto L7 (error at encode_input:184) else goto L2 :: bool +L2: + inc_ref len_inputs :: int + r0.__mypyc_generator_attribute__len_inputs = len_inputs; r3 = is_error + if not r3 goto L7 (error at encode_input:184) else goto L3 :: bool +L3: + inc_ref get_request_data + r0.__mypyc_generator_attribute__get_request_data = get_request_data; r4 = is_error + if not r4 goto L7 (error at encode_input:184) else goto L4 :: bool +L4: + inc_ref args + r0.__mypyc_generator_attribute__args = args; r5 = is_error + if not r5 goto L7 (error at encode_input:184) else goto L5 :: bool +L5: + return r0 +L6: + r6 = :: dank_mids.brownie_patch.call.encode_input_gen + return r6 +L7: + dec_ref r0 + goto L6 + +def decode_output_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): + __mypyc_self__ :: dank_mids.brownie_patch.call.decode_output_gen + type, value, traceback, arg :: object + stop_iter_ptr :: object_ptr + r0, r1, r2, r3, r4, r5 :: object + r6 :: i32 + r7 :: object + r8 :: bit + r9 :: object + r10 :: str + r11 :: object + r12 :: bytes + r13 :: dict + r14 :: None + r15 :: object + r16 :: str + r17 :: object + r18 :: i32 + r19 :: bit + r20 :: bool + r21, r22 :: bytes + r23 :: i32 + r24 :: bit + r25 :: bool + r26 :: bytes + r27 :: object + r28 :: str + r29 :: object + r30 :: dict + r31 :: object + r32 :: bool + r33 :: object + r34 :: bytes + r35 :: object + r36 :: bool + r37 :: object[2] + r38 :: object_ptr + r39, r40 :: object + r41 :: bool + r42, r43, r44, r45, r46 :: object + r47 :: bool + r48 :: object + r49 :: bool + r50 :: object + r51 :: bit + r52 :: tuple[object, object, object] + r53 :: bool + r54 :: object_ptr + r55 :: object + r56 :: bool + r57, r58, r59 :: tuple[object, object, object] + r60 :: bit + r61, r62, r63 :: object + r64 :: bool + r65 :: tuple[object, object, object] + r66 :: bool + r67 :: dict + r68 :: str + r69 :: object + r70 :: bit + r71 :: object + r72 :: bool + r73 :: str + r74 :: dict + r75 :: str + r76 :: object + r77 :: str + r78 :: object + r79 :: bytes + r80 :: object + r81 :: str + r82 :: object + r83 :: str + r84 :: object[5] + r85 :: object_ptr + r86 :: object + r87 :: dict + r88 :: str + r89 :: object + r90 :: str + r91 :: object + r92 :: str + r93 :: object + r94 :: dict + r95 :: str + r96 :: object + r97 :: object[1] + r98 :: object_ptr + r99 :: object + r100 :: dict + r101 :: str + r102 :: object + r103 :: str + r104 :: i32 + r105 :: bit + r106 :: bytes + r107 :: object + r108 :: str + r109 :: object + r110 :: dict + r111 :: object + r112 :: bool + r113, r114 :: tuple[object, object, object] + r115 :: bit + r116, r117 :: object + r118 :: str + r119 :: object + r120 :: i32 + r121 :: bit + r122 :: bool + r123, r124 :: object + r125 :: bool + r126 :: tuple[object, object, object] + r127 :: bool + r128 :: dict + r129 :: str + r130 :: object + r131 :: bit + r132 :: object + r133 :: bool + r134 :: object + r135 :: str + r136, r137, r138 :: object + r139 :: str + r140 :: object + r141 :: bytes + r142 :: list + r143 :: object + r144 :: i32 + r145 :: bit + r146 :: i32 + r147 :: bit + r148 :: i32 + r149 :: bit + r150 :: tuple + r151 :: object + r152 :: str + r153 :: i32 + r154 :: bit + r155 :: object + r156 :: str + r157 :: object + r158 :: bit + r159 :: object + r160 :: bool + r161 :: object + r162, r163 :: str + r164 :: i32 + r165 :: bool + r166 :: object + r167 :: bool + r168 :: str + r169 :: object + r170 :: str + r171 :: object[3] + r172 :: object_ptr + r173, r174 :: object + r175 :: str + r176 :: object + r177 :: dict + r178 :: str + r179 :: object + r180 :: set + r181 :: i32 + r182 :: bit + r183 :: bool + r184 :: object + r185 :: str + r186 :: object + r187 :: i32 + r188 :: bit + r189 :: object + r190 :: bytes + r191 :: dank_mids.brownie_patch.call.decode_output_gen + r192 :: bool + r193 :: dank_mids.brownie_patch.call.decode_output_gen + r194, r195 :: object + r196 :: object_ptr + r197 :: object + r198 :: bit + r199 :: object + r200 :: dank_mids.brownie_patch.call.decode_output_gen + r201 :: bool + r202 :: object + r203 :: bool + r204 :: object + r205 :: bit + r206 :: tuple[object, object, object] + r207 :: bool + r208 :: object_ptr + r209 :: dank_mids.brownie_patch.call.decode_output_gen + r210 :: bool + r211, r212, r213 :: tuple[object, object, object] + r214 :: bit + r215 :: dank_mids.brownie_patch.call.decode_output_gen + r216, r217 :: object + r218 :: tuple[object, object, object] + r219 :: bool + r220 :: tuple[object, object, object] + r221, r222, r223, r224 :: bit + r225 :: bool + r226 :: object +L0: + r0 = :: object + r1 = r0 + r2 = :: object + r3 = r2 + xdec_ref r3 + r4 = :: object + r5 = r4 + r6 = __mypyc_self__.__mypyc_next_label__ + goto L183 +L1: + r7 = load_address _Py_NoneStruct + r8 = type != r7 + if r8 goto L2 else goto L4 :: bool +L2: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L188 (error at decode_output:216) else goto L3 :: bool +L3: + unreachable +L4: + r9 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r9) goto L188 (error at decode_output:217) else goto L5 +L5: + r10 = 'abi' + r11 = CPyObject_GetAttr(r9, r10) + dec_ref r9 + if is_error(r11) goto L188 (error at decode_output:217) else goto L6 +L6: + r12 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r12) goto L189 (error at decode_output:217) else goto L7 +L7: + r13 = cast(dict, r11) + if is_error(r13) goto L190 (error at decode_output:217) else goto L8 +L8: + r14 = __validate_output(r13, r12) + dec_ref r13 + dec_ref r12 + if is_error(r14) goto L188 (error at decode_output:217) else goto L9 +L9: + r15 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r15) goto L102 (error at decode_output:219) else goto L10 +L10: + r16 = '_skip_decoder_proc_pool' + r17 = CPyObject_GetAttr(r15, r16) + dec_ref r15 + if is_error(r17) goto L102 (error at decode_output:219) else goto L11 +L11: + r18 = PyObject_IsTrue(r17) + dec_ref r17 + r19 = r18 >= 0 :: signed + if not r19 goto L102 (error at decode_output:219) else goto L12 :: bool +L12: + r20 = truncate r18: i32 to builtins.bool + if r20 goto L16 else goto L13 :: bool +L13: + r21 = b'Unexpected error' + r22 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r22) goto L102 (error at decode_output:219) else goto L14 +L14: + r23 = PySequence_Contains(r22, r21) + dec_ref r22 + r24 = r23 >= 0 :: signed + if not r24 goto L102 (error at decode_output:219) else goto L15 :: bool +L15: + r25 = truncate r23: i32 to builtins.bool + if r25 goto L16 else goto L22 :: bool +L16: + r26 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r26) goto L102 (error at decode_output:221) else goto L17 +L17: + r27 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r27) goto L191 (error at decode_output:221) else goto L18 +L18: + r28 = 'abi' + r29 = CPyObject_GetAttr(r27, r28) + dec_ref r27 + if is_error(r29) goto L191 (error at decode_output:221) else goto L19 +L19: + r30 = cast(dict, r29) + if is_error(r30) goto L191 (error at decode_output:221) else goto L20 +L20: + r31 = __decode_output(r26, r30) + dec_ref r26 + dec_ref r30 + if is_error(r31) goto L102 (error at decode_output:221) else goto L21 +L21: + __mypyc_self__.__mypyc_generator_attribute__decoded = r31; r32 = is_error + if not r32 goto L102 (error at decode_output:221) else goto L89 :: bool +L22: + r33 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r33) goto L57 (error at decode_output:224) else goto L23 +L23: + r34 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r34) goto L192 (error at decode_output:224) else goto L24 +L24: + r35 = dank_mids.brownie_patch.call.decode :: static + if is_error(r35) goto L193 else goto L27 +L25: + r36 = raise NameError('value for final name "decode" was not set') + if not r36 goto L57 (error at decode_output:224) else goto L26 :: bool +L26: + unreachable +L27: + r37 = [r33, r34] + r38 = load_address r37 + r39 = PyObject_Vectorcall(r35, r38, 2, 0) + if is_error(r39) goto L194 (error at decode_output:224) else goto L28 +L28: + dec_ref r33 + dec_ref r34 + r40 = CPy_GetCoro(r39) + dec_ref r39 + if is_error(r40) goto L57 (error at decode_output:224) else goto L29 +L29: + __mypyc_self__.__mypyc_temp__33 = r40; r41 = is_error + if not r41 goto L57 (error at decode_output:-1) else goto L30 :: bool +L30: + r42 = __mypyc_self__.__mypyc_temp__33 + if is_error(r42) goto L57 (error at decode_output:-1) else goto L31 +L31: + r43 = CPyIter_Next(r42) + dec_ref r42 + if is_error(r43) goto L32 else goto L34 +L32: + r44 = CPy_FetchStopIterationValue() + if is_error(r44) goto L57 (error at decode_output:224) else goto L33 +L33: + r45 = r44 + r46 = :: object + __mypyc_self__.__mypyc_temp__33 = r46; r47 = is_error + if not r47 goto L195 (error at decode_output:224) else goto L56 :: bool +L34: + r48 = r43 +L35: + __mypyc_self__.__mypyc_next_label__ = 1 + return r48 +L36: + r50 = load_address _Py_NoneStruct + r51 = type != r50 + if r51 goto L37 else goto L196 :: bool +L37: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L40 (error at decode_output:224) else goto L197 :: bool +L38: + unreachable +L39: + inc_ref arg + goto L51 +L40: + r52 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__34 = r52; r53 = is_error + if not r53 goto L198 (error at decode_output:-1) else goto L41 :: bool +L41: + r54 = load_address r1 + r55 = __mypyc_self__.__mypyc_temp__33 + if is_error(r55) goto L198 (error at decode_output:-1) else goto L42 +L42: + r56 = CPy_YieldFromErrorHandle(r55, r54) + dec_ref r55 + if is_error(r56) goto L198 (error at decode_output:224) else goto L43 +L43: + if r56 goto L46 else goto L44 :: bool +L44: + r48 = r1 + r57 = __mypyc_self__.__mypyc_temp__34 + if is_error(r57) goto L199 (error at decode_output:-1) else goto L45 +L45: + CPy_RestoreExcInfo(r57) + dec_ref r57 + goto L35 +L46: + r45 = r1 + r58 = __mypyc_self__.__mypyc_temp__34 + if is_error(r58) goto L200 (error at decode_output:-1) else goto L47 +L47: + CPy_RestoreExcInfo(r58) + dec_ref r58 + goto L56 +L48: + r59 = __mypyc_self__.__mypyc_temp__34 + if is_error(r59) goto L57 (error at decode_output:-1) else goto L49 +L49: + CPy_RestoreExcInfo(r59) + dec_ref r59 + r60 = CPy_KeepPropagating() + if not r60 goto L57 else goto L50 :: bool +L50: + unreachable +L51: + r61 = __mypyc_self__.__mypyc_temp__33 + if is_error(r61) goto L201 (error at decode_output:-1) else goto L52 +L52: + r62 = CPyIter_Send(r61, arg) + dec_ref r61 + dec_ref arg + if is_error(r62) goto L54 else goto L53 +L53: + r48 = r62 + goto L35 +L54: + r63 = CPy_FetchStopIterationValue() + if is_error(r63) goto L57 (error at decode_output:224) else goto L55 +L55: + r45 = r63 +L56: + __mypyc_self__.__mypyc_generator_attribute__decoded = r45; r64 = is_error + if not r64 goto L57 (error at decode_output:224) else goto L89 :: bool +L57: + r65 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__35 = r65; r66 = is_error + if not r66 goto L86 (error at decode_output:-1) else goto L58 :: bool +L58: + r67 = dank_mids.brownie_patch.call.globals :: static + r68 = 'BrokenProcessPool' + r69 = CPyDict_GetItem(r67, r68) + if is_error(r69) goto L86 (error at decode_output:226) else goto L59 +L59: + r70 = CPy_ExceptionMatches(r69) + dec_ref r69 + if r70 goto L60 else goto L82 :: bool +L60: + r71 = dank_mids.brownie_patch.call.logger :: static + if is_error(r71) goto L61 else goto L63 +L61: + r72 = raise NameError('value for final name "logger" was not set') + if not r72 goto L86 (error at decode_output:228) else goto L62 :: bool +L62: + unreachable +L63: + r73 = 'Oh fuck, you broke the %s while decoding %s with abi %s' + r74 = dank_mids.brownie_patch.call.globals :: static + r75 = 'ENVS' + r76 = CPyDict_GetItem(r74, r75) + if is_error(r76) goto L86 (error at decode_output:228) else goto L64 +L64: + r77 = 'BROWNIE_DECODER_PROCESSES' + r78 = CPyObject_GetAttr(r76, r77) + dec_ref r76 + if is_error(r78) goto L86 (error at decode_output:228) else goto L65 +L65: + r79 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r79) goto L202 (error at decode_output:228) else goto L66 +L66: + r80 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r80) goto L203 (error at decode_output:228) else goto L67 +L67: + r81 = 'abi' + r82 = CPyObject_GetAttr(r80, r81) + dec_ref r80 + if is_error(r82) goto L203 (error at decode_output:228) else goto L68 +L68: + r83 = 'critical' + r84 = [r71, r73, r78, r79, r82] + r85 = load_address r84 + r86 = PyObject_VectorcallMethod(r83, r85, 9223372036854775813, 0) + if is_error(r86) goto L204 (error at decode_output:228) else goto L205 +L69: + dec_ref r78 + dec_ref r79 + dec_ref r82 + r87 = dank_mids.brownie_patch.call.globals :: static + r88 = 'ENVS' + r89 = CPyDict_GetItem(r87, r88) + if is_error(r89) goto L86 (error at decode_output:229) else goto L70 +L70: + r90 = 'BROWNIE_DECODER_PROCESSES' + r91 = CPyObject_GetAttr(r89, r90) + dec_ref r89 + if is_error(r91) goto L86 (error at decode_output:229) else goto L71 +L71: + r92 = '_max_workers' + r93 = CPyObject_GetAttr(r91, r92) + dec_ref r91 + if is_error(r93) goto L86 (error at decode_output:229) else goto L72 +L72: + r94 = dank_mids.brownie_patch.call.globals :: static + r95 = 'AsyncProcessPoolExecutor' + r96 = CPyDict_GetItem(r94, r95) + if is_error(r96) goto L206 (error at decode_output:229) else goto L73 +L73: + r97 = [r93] + r98 = load_address r97 + r99 = PyObject_Vectorcall(r96, r98, 1, 0) + dec_ref r96 + if is_error(r99) goto L206 (error at decode_output:229) else goto L74 +L74: + dec_ref r93 + r100 = dank_mids.brownie_patch.call.globals :: static + r101 = 'ENVS' + r102 = CPyDict_GetItem(r100, r101) + if is_error(r102) goto L207 (error at decode_output:229) else goto L75 +L75: + r103 = 'BROWNIE_DECODER_PROCESSES' + r104 = PyObject_SetAttr(r102, r103, r99) + dec_ref r102 + dec_ref r99 + r105 = r104 >= 0 :: signed + if not r105 goto L86 (error at decode_output:229) else goto L76 :: bool +L76: + r106 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r106) goto L86 (error at decode_output:230) else goto L77 +L77: + r107 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r107) goto L208 (error at decode_output:230) else goto L78 +L78: + r108 = 'abi' + r109 = CPyObject_GetAttr(r107, r108) + dec_ref r107 + if is_error(r109) goto L208 (error at decode_output:230) else goto L79 +L79: + r110 = cast(dict, r109) + if is_error(r110) goto L208 (error at decode_output:230) else goto L80 +L80: + r111 = __decode_output(r106, r110) + dec_ref r106 + dec_ref r110 + if is_error(r111) goto L86 (error at decode_output:230) else goto L81 +L81: + __mypyc_self__.__mypyc_generator_attribute__decoded = r111; r112 = is_error + if not r112 goto L86 (error at decode_output:230) else goto L84 :: bool +L82: + CPy_Reraise() + if not 0 goto L86 else goto L83 :: bool +L83: + unreachable +L84: + r113 = __mypyc_self__.__mypyc_temp__35 + if is_error(r113) goto L102 (error at decode_output:-1) else goto L85 +L85: + CPy_RestoreExcInfo(r113) + dec_ref r113 + goto L89 +L86: + r114 = __mypyc_self__.__mypyc_temp__35 + if is_error(r114) goto L102 (error at decode_output:-1) else goto L87 +L87: + CPy_RestoreExcInfo(r114) + dec_ref r114 + r115 = CPy_KeepPropagating() + if not r115 goto L102 else goto L88 :: bool +L88: + unreachable +L89: + r116 = __mypyc_self__.__mypyc_generator_attribute__decoded + if is_error(r116) goto L102 (error at decode_output:232) else goto L90 +L90: + r117 = builtins :: module + r118 = 'Exception' + r119 = CPyObject_GetAttr(r117, r118) + if is_error(r119) goto L209 (error at decode_output:232) else goto L91 +L91: + r120 = PyObject_IsInstance(r116, r119) + dec_ref r116 + dec_ref r119 + r121 = r120 >= 0 :: signed + if not r121 goto L102 (error at decode_output:232) else goto L92 :: bool +L92: + r122 = truncate r120: i32 to builtins.bool + if r122 goto L93 else goto L96 :: bool +L93: + r123 = __mypyc_self__.__mypyc_generator_attribute__decoded + if is_error(r123) goto L102 (error at decode_output:233) else goto L94 +L94: + CPy_Raise(r123) + dec_ref r123 + if not 0 goto L102 (error at decode_output:233) else goto L95 :: bool +L95: + unreachable +L96: + r124 = __mypyc_self__.__mypyc_generator_attribute__decoded + if is_error(r124) goto L102 (error at decode_output:234) else goto L97 +L97: + __mypyc_self__.__mypyc_next_label__ = -1 +L98: + if is_error(stop_iter_ptr) goto L99 else goto L101 +L99: + CPyGen_SetStopIterationValue(r124) + dec_ref r124 + if not 0 goto L188 else goto L100 :: bool +L100: + unreachable +L101: + set_mem stop_iter_ptr, r124 :: builtins.object* + return 0 +L102: + r126 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__36 = r126; r127 = is_error + if not r127 goto L180 (error at decode_output:-1) else goto L103 :: bool +L103: + r128 = dank_mids.brownie_patch.call.globals :: static + r129 = 'InsufficientDataBytes' + r130 = CPyDict_GetItem(r128, r129) + if is_error(r130) goto L180 (error at decode_output:235) else goto L104 +L104: + r131 = CPy_ExceptionMatches(r130) + dec_ref r130 + if r131 goto L105 else goto L122 :: bool +L105: + r132 = CPy_GetExcValue() + __mypyc_self__.__mypyc_generator_attribute__e = r132; r133 = is_error + if not r133 goto L180 (error at decode_output:235) else goto L106 :: bool +L106: + r134 = __mypyc_self__.__mypyc_generator_attribute__e + if is_error(r134) goto L180 (error at decode_output:237) else goto L107 +L107: + r135 = 'args' + r136 = CPyObject_GetAttr(r134, r135) + dec_ref r134 + if is_error(r136) goto L180 (error at decode_output:237) else goto L108 +L108: + r137 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r137) goto L210 (error at decode_output:237) else goto L109 +L109: + r138 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r138) goto L211 (error at decode_output:237) else goto L110 +L110: + r139 = '_address' + r140 = CPyObject_GetAttr(r138, r139) + dec_ref r138 + if is_error(r140) goto L211 (error at decode_output:237) else goto L111 +L111: + r141 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r141) goto L212 (error at decode_output:237) else goto L112 +L112: + r142 = PyList_New(0) + if is_error(r142) goto L213 (error at decode_output:237) else goto L113 +L113: + r143 = CPyList_Extend(r142, r136) + dec_ref r136 + if is_error(r143) goto L214 (error at decode_output:237) else goto L215 +L114: + r144 = PyList_Append(r142, r137) + dec_ref r137 + r145 = r144 >= 0 :: signed + if not r145 goto L216 (error at decode_output:237) else goto L115 :: bool +L115: + r146 = PyList_Append(r142, r140) + dec_ref r140 + r147 = r146 >= 0 :: signed + if not r147 goto L217 (error at decode_output:237) else goto L116 :: bool +L116: + r148 = PyList_Append(r142, r141) + dec_ref r141 + r149 = r148 >= 0 :: signed + if not r149 goto L218 (error at decode_output:237) else goto L117 :: bool +L117: + r150 = PyList_AsTuple(r142) + dec_ref r142 + if is_error(r150) goto L180 (error at decode_output:237) else goto L118 +L118: + r151 = __mypyc_self__.__mypyc_generator_attribute__e + if is_error(r151) goto L219 (error at decode_output:237) else goto L119 +L119: + r152 = 'args' + r153 = PyObject_SetAttr(r151, r152, r150) + dec_ref r151 + dec_ref r150 + r154 = r153 >= 0 :: signed + if not r154 goto L180 (error at decode_output:237) else goto L120 :: bool +L120: + CPy_Reraise() + if not 0 goto L180 else goto L121 :: bool +L121: + unreachable +L122: + r155 = builtins :: module + r156 = 'AttributeError' + r157 = CPyObject_GetAttr(r155, r156) + if is_error(r157) goto L180 (error at decode_output:239) else goto L123 +L123: + r158 = CPy_ExceptionMatches(r157) + dec_ref r157 + if r158 goto L124 else goto L178 :: bool +L124: + r159 = CPy_GetExcValue() + __mypyc_self__.__mypyc_generator_attribute__e = r159; r160 = is_error + if not r160 goto L180 (error at decode_output:239) else goto L125 :: bool +L125: + r161 = __mypyc_self__.__mypyc_generator_attribute__e + if is_error(r161) goto L180 (error at decode_output:241) else goto L126 +L126: + r162 = PyObject_Str(r161) + dec_ref r161 + if is_error(r162) goto L180 (error at decode_output:241) else goto L127 +L127: + r163 = " object has no attribute '_skip_decoder_proc_pool'" + r164 = CPyStr_Endswith(r162, r163) + dec_ref r162 + r165 = truncate r164: i32 to builtins.bool + if r165 goto L130 else goto L128 :: bool +L128: + CPy_Reraise() + if not 0 goto L180 else goto L129 :: bool +L129: + unreachable +L130: + r166 = dank_mids.brownie_patch.call.logger :: static + if is_error(r166) goto L131 else goto L133 +L131: + r167 = raise NameError('value for final name "logger" was not set') + if not r167 goto L180 (error at decode_output:243) else goto L132 :: bool +L132: + unreachable +L133: + r168 = 'DEBUG ME BRO: %s' + r169 = __mypyc_self__.__mypyc_generator_attribute__e + if is_error(r169) goto L180 (error at decode_output:243) else goto L134 +L134: + r170 = 'debug' + r171 = [r166, r168, r169] + r172 = load_address r171 + r173 = PyObject_VectorcallMethod(r170, r172, 9223372036854775811, 0) + if is_error(r173) goto L220 (error at decode_output:243) else goto L221 +L135: + dec_ref r169 + r174 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r174) goto L180 (error at decode_output:244) else goto L136 +L136: + r175 = '_address' + r176 = CPyObject_GetAttr(r174, r175) + dec_ref r174 + if is_error(r176) goto L180 (error at decode_output:244) else goto L137 +L137: + r177 = dank_mids.brownie_patch.call.globals :: static + r178 = '_skip_proc_pool' + r179 = CPyDict_GetItem(r177, r178) + if is_error(r179) goto L222 (error at decode_output:244) else goto L138 +L138: + r180 = cast(set, r179) + if is_error(r180) goto L222 (error at decode_output:244) else goto L139 +L139: + r181 = PySet_Contains(r180, r176) + dec_ref r180 + dec_ref r176 + r182 = r181 >= 0 :: signed + if not r182 goto L180 (error at decode_output:244) else goto L140 :: bool +L140: + r183 = truncate r181: i32 to builtins.bool + r184 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r184) goto L180 (error at decode_output:244) else goto L141 +L141: + r185 = '_skip_decoder_proc_pool' + r186 = box(bool, r183) + r187 = PyObject_SetAttr(r184, r185, r186) + dec_ref r184 + r188 = r187 >= 0 :: signed + if not r188 goto L180 (error at decode_output:244) else goto L142 :: bool +L142: + r189 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r189) goto L180 (error at decode_output:245) else goto L143 +L143: + r190 = __mypyc_self__.__mypyc_generator_attribute__data + if is_error(r190) goto L223 (error at decode_output:245) else goto L144 +L144: + r191 = decode_output(r189, r190) + dec_ref r189 + dec_ref r190 + if is_error(r191) goto L180 (error at decode_output:245) else goto L145 +L145: + __mypyc_self__.__mypyc_temp__37 = r191; r192 = is_error + if not r192 goto L180 (error at decode_output:-1) else goto L146 :: bool +L146: + r193 = __mypyc_self__.__mypyc_temp__37 + if is_error(r193) goto L180 (error at decode_output:-1) else goto L147 +L147: + r194 = load_address _Py_NoneStruct + r195 = :: object + r3 = r195 + r196 = load_address r3 + r197 = r193.__mypyc_generator_helper__(r194, r194, r194, r194, r196) + dec_ref r193 + if is_error(r197) goto L148 else goto L224 +L148: + r198 = r3 != 0 + if not r198 goto L225 (error at decode_output:-1) else goto L149 :: bool +L149: + r199 = r3 + r200 = :: dank_mids.brownie_patch.call.decode_output_gen + __mypyc_self__.__mypyc_temp__37 = r200; r201 = is_error + if not r201 goto L226 (error at decode_output:245) else goto L172 :: bool +L150: + r202 = r197 +L151: + __mypyc_self__.__mypyc_next_label__ = 2 + return r202 +L152: + r204 = load_address _Py_NoneStruct + r205 = type != r204 + if r205 goto L153 else goto L227 :: bool +L153: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L156 (error at decode_output:245) else goto L228 :: bool +L154: + unreachable +L155: + inc_ref arg + goto L167 +L156: + r206 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__38 = r206; r207 = is_error + if not r207 goto L229 (error at decode_output:-1) else goto L157 :: bool +L157: + r208 = load_address r5 + r209 = __mypyc_self__.__mypyc_temp__37 + if is_error(r209) goto L229 (error at decode_output:-1) else goto L158 +L158: + r210 = CPy_YieldFromErrorHandle(r209, r208) + dec_ref r209 + if is_error(r210) goto L229 (error at decode_output:245) else goto L159 +L159: + if r210 goto L162 else goto L160 :: bool +L160: + r202 = r5 + r211 = __mypyc_self__.__mypyc_temp__38 + if is_error(r211) goto L230 (error at decode_output:-1) else goto L161 +L161: + CPy_RestoreExcInfo(r211) + dec_ref r211 + goto L151 +L162: + r199 = r5 + r212 = __mypyc_self__.__mypyc_temp__38 + if is_error(r212) goto L231 (error at decode_output:-1) else goto L163 +L163: + CPy_RestoreExcInfo(r212) + dec_ref r212 + goto L172 +L164: + r213 = __mypyc_self__.__mypyc_temp__38 + if is_error(r213) goto L180 (error at decode_output:-1) else goto L165 +L165: + CPy_RestoreExcInfo(r213) + dec_ref r213 + r214 = CPy_KeepPropagating() + if not r214 goto L180 else goto L166 :: bool +L166: + unreachable +L167: + r215 = __mypyc_self__.__mypyc_temp__37 + if is_error(r215) goto L232 (error at decode_output:-1) else goto L168 +L168: + r216 = CPyIter_Send(r215, arg) + dec_ref r215 + dec_ref arg + if is_error(r216) goto L170 else goto L169 +L169: + r202 = r216 + goto L151 +L170: + r217 = CPy_FetchStopIterationValue() + if is_error(r217) goto L180 (error at decode_output:245) else goto L171 +L171: + r199 = r217 +L172: + r218 = __mypyc_self__.__mypyc_temp__36 + if is_error(r218) goto L226 (error at decode_output:-1) else goto L173 +L173: + CPy_RestoreExcInfo(r218) + dec_ref r218 + __mypyc_self__.__mypyc_next_label__ = -1 +L174: + if is_error(stop_iter_ptr) goto L175 else goto L177 +L175: + CPyGen_SetStopIterationValue(r199) + dec_ref r199 + if not 0 goto L188 else goto L176 :: bool +L176: + unreachable +L177: + set_mem stop_iter_ptr, r199 :: builtins.object* + return 0 +L178: + CPy_Reraise() + if not 0 goto L180 else goto L179 :: bool +L179: + unreachable +L180: + r220 = __mypyc_self__.__mypyc_temp__36 + if is_error(r220) goto L188 (error at decode_output:-1) else goto L181 +L181: + CPy_RestoreExcInfo(r220) + dec_ref r220 + r221 = CPy_KeepPropagating() + if not r221 goto L188 else goto L182 :: bool +L182: + unreachable +L183: + r222 = r6 == 0 + if r222 goto L233 else goto L184 :: bool +L184: + r223 = r6 == 1 + if r223 goto L234 else goto L235 :: bool +L185: + r224 = r6 == 2 + if r224 goto L152 else goto L236 :: bool +L186: + r225 = raise StopIteration + if not r225 goto L188 (error at decode_output:216) else goto L187 :: bool +L187: + unreachable +L188: + r226 = :: object + return r226 +L189: + dec_ref r11 + goto L188 +L190: + dec_ref r12 + goto L188 +L191: + dec_ref r26 + goto L102 +L192: + dec_ref r33 + goto L57 +L193: + dec_ref r33 + dec_ref r34 + goto L25 +L194: + dec_ref r33 + dec_ref r34 + goto L57 +L195: + dec_ref r45 + goto L57 +L196: + xdec_ref r1 + goto L39 +L197: + xdec_ref r1 + goto L38 +L198: + xdec_ref r1 + goto L48 +L199: + dec_ref r48 + goto L48 +L200: + dec_ref r45 + goto L48 +L201: + dec_ref arg + goto L57 +L202: + dec_ref r78 + goto L86 +L203: + dec_ref r78 + dec_ref r79 + goto L86 +L204: + dec_ref r78 + dec_ref r79 + dec_ref r82 + goto L86 +L205: + dec_ref r86 + goto L69 +L206: + dec_ref r93 + goto L86 +L207: + dec_ref r99 + goto L86 +L208: + dec_ref r106 + goto L86 +L209: + dec_ref r116 + goto L102 +L210: + dec_ref r136 + goto L180 +L211: + dec_ref r136 + dec_ref r137 + goto L180 +L212: + dec_ref r136 + dec_ref r137 + dec_ref r140 + goto L180 +L213: + dec_ref r136 + dec_ref r137 + dec_ref r140 + dec_ref r141 + goto L180 +L214: + dec_ref r137 + dec_ref r140 + dec_ref r141 + dec_ref r142 + goto L180 +L215: + dec_ref r143 + goto L114 +L216: + dec_ref r140 + dec_ref r141 + dec_ref r142 + goto L180 +L217: + dec_ref r141 + dec_ref r142 + goto L180 +L218: + dec_ref r142 + goto L180 +L219: + dec_ref r150 + goto L180 +L220: + dec_ref r169 + goto L180 +L221: + dec_ref r173 + goto L135 +L222: + dec_ref r176 + goto L180 +L223: + dec_ref r189 + goto L180 +L224: + xdec_ref r3 + goto L150 +L225: + xdec_ref r3 + goto L180 +L226: + dec_ref r199 + goto L180 +L227: + xdec_ref r5 + goto L155 +L228: + xdec_ref r5 + goto L154 +L229: + xdec_ref r5 + goto L164 +L230: + dec_ref r202 + goto L164 +L231: + dec_ref r199 + goto L164 +L232: + dec_ref arg + goto L180 +L233: + xdec_ref r1 + xdec_ref r5 + goto L1 +L234: + xdec_ref r5 + goto L36 +L235: + xdec_ref r1 + goto L185 +L236: + xdec_ref r5 + goto L186 + +def decode_output_gen.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call.decode_output_gen + r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = decode_output_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def decode_output_gen.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids.brownie_patch.call.decode_output_gen + arg, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = decode_output_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def decode_output_gen.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call.decode_output_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def decode_output_gen.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids.brownie_patch.call.decode_output_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 = decode_output_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) + 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 decode_output_gen.close(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call.decode_output_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 decode_output_gen.__await__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call.decode_output_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def decode_output(call, data): + call :: object + data :: bytes + r0 :: dank_mids.brownie_patch.call.decode_output_gen + r1, r2, r3 :: bool + r4 :: dank_mids.brownie_patch.call.decode_output_gen +L0: + r0 = decode_output_gen() + if is_error(r0) goto L4 (error at decode_output:216) else goto L1 +L1: + r0.__mypyc_next_label__ = 0 + inc_ref call + r0.__mypyc_generator_attribute__call = call; r2 = is_error + if not r2 goto L5 (error at decode_output:216) else goto L2 :: bool +L2: + inc_ref data + r0.__mypyc_generator_attribute__data = data; r3 = is_error + if not r3 goto L5 (error at decode_output:216) else goto L3 :: bool +L3: + return r0 +L4: + r4 = :: dank_mids.brownie_patch.call.decode_output_gen + return r4 +L5: + dec_ref r0 + goto L4 + +def _request_data_no_args_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): + __mypyc_self__ :: dank_mids.brownie_patch.call._request_data_no_args_gen + type, value, traceback, arg :: object + stop_iter_ptr :: object_ptr + r0 :: i32 + r1 :: object + r2 :: bit + r3 :: object + r4 :: str + r5 :: object + r6 :: bool + r7 :: bit + r8 :: bool + r9 :: object +L0: + r0 = __mypyc_self__.__mypyc_next_label__ + goto L11 +L1: + r1 = load_address _Py_NoneStruct + r2 = type != r1 + if r2 goto L2 else goto L4 :: bool +L2: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L14 (error at _request_data_no_args:248) else goto L3 :: bool +L3: + unreachable +L4: + r3 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r3) goto L14 (error at _request_data_no_args:249) else goto L5 +L5: + r4 = 'signature' + r5 = CPyObject_GetAttr(r3, r4) + dec_ref r3 + if is_error(r5) goto L14 (error at _request_data_no_args:249) else goto L6 +L6: + __mypyc_self__.__mypyc_next_label__ = -1 +L7: + if is_error(stop_iter_ptr) goto L8 else goto L10 +L8: + CPyGen_SetStopIterationValue(r5) + dec_ref r5 + if not 0 goto L14 else goto L9 :: bool +L9: + unreachable +L10: + set_mem stop_iter_ptr, r5 :: builtins.object* + return 0 +L11: + r7 = r0 == 0 + if r7 goto L1 else goto L12 :: bool +L12: + r8 = raise StopIteration + if not r8 goto L14 (error at _request_data_no_args:248) else goto L13 :: bool +L13: + unreachable +L14: + r9 = :: object + return r9 + +def _request_data_no_args_gen.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call._request_data_no_args_gen + r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = _request_data_no_args_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def _request_data_no_args_gen.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids.brownie_patch.call._request_data_no_args_gen + arg, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = _request_data_no_args_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def _request_data_no_args_gen.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call._request_data_no_args_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def _request_data_no_args_gen.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids.brownie_patch.call._request_data_no_args_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 = _request_data_no_args_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) + 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 _request_data_no_args_gen.close(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call._request_data_no_args_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 _request_data_no_args_gen.__await__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.call._request_data_no_args_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def _request_data_no_args(call): + call :: object + r0 :: dank_mids.brownie_patch.call._request_data_no_args_gen + r1, r2 :: bool + r3 :: dank_mids.brownie_patch.call._request_data_no_args_gen +L0: + r0 = _request_data_no_args_gen() + if is_error(r0) goto L3 (error at _request_data_no_args:248) else goto L1 +L1: + r0.__mypyc_next_label__ = 0 + inc_ref call + r0.__mypyc_generator_attribute__call = call; r2 = is_error + if not r2 goto L4 (error at _request_data_no_args:248) else goto L2 :: bool +L2: + return r0 +L3: + r3 = :: dank_mids.brownie_patch.call._request_data_no_args_gen + return r3 +L4: + dec_ref r0 + goto L3 + +def __encode_input(abi, signature, args): + abi :: dict + signature :: str + args :: tuple + r0 :: list + r1 :: str + r2 :: object + r3 :: dict + r4 :: str + r5 :: object + r6 :: object[1] + r7 :: object_ptr + r8, r9 :: object + r10 :: bool + r11 :: object[2] + r12 :: object_ptr + r13 :: object + r14 :: bytes + r15 :: str + r16 :: object[1] + r17 :: object_ptr + r18 :: object + r19, r20 :: str + r21 :: tuple[object, object, object] + r22 :: object + r23 :: str + r24 :: object + r25 :: bit + r26 :: object + r27 :: bit + r28 :: union[str, object] +L0: +L1: + r0 = format_input_but_cache_checksums(abi, args) + if is_error(r0) goto L14 (error at __encode_input:260) else goto L2 +L2: + r1 = 'inputs' + r2 = CPyDict_GetItem(abi, r1) + if is_error(r2) goto L22 (error at __encode_input:261) else goto L3 +L3: + r3 = dank_mids.brownie_patch.call.globals :: static + r4 = 'get_type_strings' + r5 = CPyDict_GetItem(r3, r4) + if is_error(r5) goto L23 (error at __encode_input:261) else goto L4 +L4: + r6 = [r2] + r7 = load_address r6 + r8 = PyObject_Vectorcall(r5, r7, 1, 0) + dec_ref r5 + if is_error(r8) goto L23 (error at __encode_input:261) else goto L5 +L5: + dec_ref r2 + r9 = dank_mids.brownie_patch.call.__eth_abi_encode :: static + if is_error(r9) goto L24 else goto L8 +L6: + r10 = raise NameError('value for final name "__eth_abi_encode" was not set') + if not r10 goto L14 (error at __encode_input:262) else goto L7 :: bool +L7: + unreachable +L8: + r11 = [r8, r0] + r12 = load_address r11 + r13 = PyObject_Vectorcall(r9, r12, 2, 0) + if is_error(r13) goto L25 (error at __encode_input:262) else goto L9 +L9: + dec_ref r8 + dec_ref r0 + r14 = cast(bytes, r13) + if is_error(r14) goto L14 (error at __encode_input:262) else goto L10 +L10: + r15 = 'hex' + r16 = [r14] + r17 = load_address r16 + r18 = PyObject_VectorcallMethod(r15, r17, 9223372036854775809, 0) + if is_error(r18) goto L26 (error at __encode_input:262) else goto L11 +L11: + dec_ref r14 + r19 = cast(str, r18) + if is_error(r19) goto L14 (error at __encode_input:262) else goto L12 +L12: + r20 = PyUnicode_Concat(signature, r19) + dec_ref r19 + if is_error(r20) goto L14 (error at __encode_input:262) else goto L13 +L13: + return r20 +L14: + r21 = CPy_CatchError() + r22 = builtins :: module + r23 = 'Exception' + r24 = CPyObject_GetAttr(r22, r23) + if is_error(r24) goto L19 (error at __encode_input:263) else goto L15 +L15: + r25 = CPy_ExceptionMatches(r24) + dec_ref r24 + if r25 goto L16 else goto L17 :: bool +L16: + r26 = CPy_GetExcValue() + CPy_RestoreExcInfo(r21) + dec_ref r21 + return r26 +L17: + CPy_Reraise() + if not 0 goto L19 else goto L27 :: bool +L18: + unreachable +L19: + CPy_RestoreExcInfo(r21) + dec_ref r21 + r27 = CPy_KeepPropagating() + if not r27 goto L21 else goto L20 :: bool +L20: + unreachable +L21: + r28 = :: union[str, object] + return r28 +L22: + dec_ref r0 + goto L14 +L23: + dec_ref r0 + dec_ref r2 + goto L14 +L24: + dec_ref r0 + dec_ref r8 + goto L6 +L25: + dec_ref r0 + dec_ref r8 + goto L14 +L26: + dec_ref r14 + goto L14 +L27: + dec_ref r21 + goto L18 + +def __decode_output(hexstr, abi): + hexstr :: object + abi :: dict + r0 :: str + r1 :: object + r2 :: dict + r3 :: str + r4 :: object + r5 :: object[1] + r6 :: object_ptr + r7, r8 :: object + r9 :: bool + r10 :: object[1] + r11 :: object_ptr + r12, r13 :: object + r14 :: bool + r15 :: object[2] + r16 :: object_ptr + r17 :: object + r18, result :: tuple + r19 :: object + r20 :: tuple + r21 :: ptr + r22 :: native_int + r23 :: short_int + r24 :: bit + r25, r26 :: object + r27 :: tuple[object, object, object] + r28 :: dict + r29 :: str + r30 :: object + r31 :: bit + r32, e :: object + r33 :: str + r34 :: object + r35, r36 :: str + r37 :: dict + r38 :: list + r39 :: object + r40 :: i32 + r41 :: bit + r42 :: tuple + r43 :: str + r44 :: i32 + r45 :: bit + r46 :: object + r47 :: str + r48 :: object + r49 :: bit + r50 :: object + r51 :: bit + r52 :: object +L0: +L1: + r0 = 'outputs' + r1 = CPyDict_GetItem(abi, r0) + if is_error(r1) goto L20 (error at __decode_output:282) else goto L2 +L2: + r2 = dank_mids.brownie_patch.call.globals :: static + r3 = 'get_type_strings' + r4 = CPyDict_GetItem(r2, r3) + if is_error(r4) goto L38 (error at __decode_output:282) else goto L3 +L3: + r5 = [r1] + r6 = load_address r5 + r7 = PyObject_Vectorcall(r4, r6, 1, 0) + dec_ref r4 + if is_error(r7) goto L38 (error at __decode_output:282) else goto L4 +L4: + dec_ref r1 + r8 = dank_mids.brownie_patch.call.HexBytes :: static + if is_error(r8) goto L39 else goto L7 +L5: + r9 = raise NameError('value for final name "HexBytes" was not set') + if not r9 goto L20 (error at __decode_output:283) else goto L6 :: bool +L6: + unreachable +L7: + r10 = [hexstr] + r11 = load_address r10 + r12 = PyObject_Vectorcall(r8, r11, 1, 0) + if is_error(r12) goto L40 (error at __decode_output:283) else goto L8 +L8: + r13 = dank_mids.brownie_patch.call.__eth_abi_decode :: static + if is_error(r13) goto L41 else goto L11 +L9: + r14 = raise NameError('value for final name "__eth_abi_decode" was not set') + if not r14 goto L20 (error at __decode_output:283) else goto L10 :: bool +L10: + unreachable +L11: + r15 = [r7, r12] + r16 = load_address r15 + r17 = PyObject_Vectorcall(r13, r16, 2, 0) + if is_error(r17) goto L42 (error at __decode_output:283) else goto L12 +L12: + dec_ref r7 + dec_ref r12 + r18 = cast(tuple, r17) + if is_error(r18) goto L20 (error at __decode_output:283) else goto L13 +L13: + result = r18 + r19 = format_output_but_cache_checksums(abi, result) + dec_ref result + if is_error(r19) goto L20 (error at __decode_output:284) else goto L14 +L14: + r20 = cast(tuple, r19) + if is_error(r20) goto L20 (error at __decode_output:284) else goto L15 +L15: + result = r20 + r21 = get_element_ptr result ob_size :: PyVarObject + r22 = load_mem r21 :: native_int* + r23 = r22 << 1 + r24 = r23 == 2 + if r24 goto L16 else goto L18 :: bool +L16: + r25 = CPySequenceTuple_GetItem(result, 0) + dec_ref result + if is_error(r25) goto L20 (error at __decode_output:285) else goto L17 +L17: + r26 = r25 + goto L19 +L18: + r26 = result +L19: + return r26 +L20: + r27 = CPy_CatchError() + r28 = dank_mids.brownie_patch.call.globals :: static + r29 = 'DecodingError' + r30 = CPyDict_GetItem(r28, r29) + if is_error(r30) goto L35 (error at __decode_output:286) else goto L21 +L21: + r31 = CPy_ExceptionMatches(r30) + dec_ref r30 + if r31 goto L22 else goto L30 :: bool +L22: + r32 = CPy_GetExcValue() + e = r32 + r33 = 'args' + r34 = CPyObject_GetAttr(e, r33) + if is_error(r34) goto L43 (error at __decode_output:287) else goto L23 +L23: + r35 = 'hexstr' + r36 = 'abi' + r37 = CPyDict_Build(2, r35, hexstr, r36, abi) + if is_error(r37) goto L44 (error at __decode_output:287) else goto L24 +L24: + r38 = PyList_New(0) + if is_error(r38) goto L45 (error at __decode_output:287) else goto L25 +L25: + r39 = CPyList_Extend(r38, r34) + dec_ref r34 + if is_error(r39) goto L46 (error at __decode_output:287) else goto L47 +L26: + r40 = PyList_Append(r38, r37) + dec_ref r37 + r41 = r40 >= 0 :: signed + if not r41 goto L48 (error at __decode_output:287) else goto L27 :: bool +L27: + r42 = PyList_AsTuple(r38) + dec_ref r38 + if is_error(r42) goto L43 (error at __decode_output:287) else goto L28 +L28: + r43 = 'args' + r44 = PyObject_SetAttr(e, r43, r42) + dec_ref r42 + r45 = r44 >= 0 :: signed + if not r45 goto L43 (error at __decode_output:287) else goto L29 :: bool +L29: + CPy_RestoreExcInfo(r27) + dec_ref r27 + return e +L30: + r46 = builtins :: module + r47 = 'Exception' + r48 = CPyObject_GetAttr(r46, r47) + if is_error(r48) goto L35 (error at __decode_output:289) else goto L31 +L31: + r49 = CPy_ExceptionMatches(r48) + dec_ref r48 + if r49 goto L32 else goto L33 :: bool +L32: + r50 = CPy_GetExcValue() + e = r50 + CPy_RestoreExcInfo(r27) + dec_ref r27 + return e +L33: + CPy_Reraise() + if not 0 goto L35 else goto L49 :: bool +L34: + unreachable +L35: + CPy_RestoreExcInfo(r27) + dec_ref r27 + r51 = CPy_KeepPropagating() + if not r51 goto L37 else goto L36 :: bool +L36: + unreachable +L37: + r52 = :: object + return r52 +L38: + dec_ref r1 + goto L20 +L39: + dec_ref r7 + goto L5 +L40: + dec_ref r7 + goto L20 +L41: + dec_ref r7 + dec_ref r12 + goto L9 +L42: + dec_ref r7 + dec_ref r12 + goto L20 +L43: + dec_ref e + goto L35 +L44: + dec_ref e + dec_ref r34 + goto L35 +L45: + dec_ref e + dec_ref r34 + dec_ref r37 + goto L35 +L46: + dec_ref e + dec_ref r37 + dec_ref r38 + goto L35 +L47: + dec_ref r39 + goto L26 +L48: + dec_ref e + dec_ref r38 + goto L35 +L49: + dec_ref r27 + goto L34 + +def __validate_output(abi, hexstr): + abi :: dict + hexstr, r0 :: object + r1 :: bool + r2 :: object[1] + r3 :: object_ptr + r4, r5, r6, r7, r8, r9 :: object + r10 :: str + r11 :: object[1] + r12 :: object_ptr + r13 :: object + r14 :: str + r15 :: object + r16 :: i32 + r17 :: bit + r18 :: bool + r19 :: str + r20 :: list + r21, r22 :: ptr + r23 :: object + r24 :: bool + r25 :: object[1] + r26 :: object_ptr + r27, r28, r29, r30, r31, r32, r33 :: object + r34 :: bool + r35 :: object[2] + r36 :: object_ptr + r37 :: object + r38 :: tuple + r39, revert_str :: object + r40, r41, r42 :: str + r43 :: object + r44 :: bool + r45 :: object[1] + r46 :: object_ptr + r47 :: object + r48 :: str + r49 :: object + r50 :: i32 + r51 :: bit + r52 :: bool + r53 :: object + r54 :: bool + r55 :: object[1] + r56 :: object_ptr + r57, r58, r59, r60, r61, r62 :: object + r63 :: str + r64 :: object[1] + r65 :: object_ptr + r66, r67, r68 :: object + r69 :: object[2] + r70 :: object_ptr + r71 :: object + r72 :: int + r73 :: dict + r74 :: str + r75, r76 :: object + r77 :: i32 + r78 :: bit + r79 :: bool + r80 :: dict + r81 :: str + r82, r83, r84 :: object + r85, r86, r87, r88, r89, r90, r91 :: str + r92 :: object + r93 :: bool + r94 :: object[1] + r95 :: object_ptr + r96 :: object + r97 :: str + r98 :: object + r99 :: i32 + r100 :: bit + r101 :: bool + r102 :: str + r103 :: object + r104 :: bool + r105 :: object[1] + r106 :: object_ptr + r107 :: object + r108 :: str + r109 :: object + r110 :: i32 + r111 :: bit + r112 :: bool + r113 :: i32 + r114 :: bit + r115 :: bool + r116 :: str + r117 :: object + r118 :: bool + r119 :: object[1] + r120 :: object_ptr + r121 :: object + r122 :: tuple[object, object, object] + r123 :: object + r124 :: str + r125 :: object + r126 :: bit + r127 :: object + r128 :: dict + r129 :: str + r130 :: object + r131 :: object[1] + r132 :: object_ptr + r133 :: object + r134 :: tuple[object, object, object] + r135, r136 :: bit + r137 :: None +L0: +L1: + r0 = dank_mids.brownie_patch.call.HexBytes :: static + if is_error(r0) goto L2 else goto L4 +L2: + r1 = raise NameError('value for final name "HexBytes" was not set') + if not r1 goto L81 (error at __validate_output:295) else goto L3 :: bool +L3: + unreachable +L4: + r2 = [hexstr] + r3 = load_address r2 + r4 = PyObject_Vectorcall(r0, r3, 1, 0) + if is_error(r4) goto L81 (error at __validate_output:295) else goto L5 +L5: + r5 = load_address _Py_NoneStruct + r6 = load_address _Py_NoneStruct + r7 = object 4 + r8 = PySlice_New(r5, r7, r6) + if is_error(r8) goto L98 (error at __validate_output:295) else goto L6 +L6: + r9 = PyObject_GetItem(r4, r8) + dec_ref r4 + dec_ref r8 + if is_error(r9) goto L81 (error at __validate_output:295) else goto L7 +L7: + r10 = 'hex' + r11 = [r9] + r12 = load_address r11 + r13 = PyObject_VectorcallMethod(r10, r12, 9223372036854775809, 0) + if is_error(r13) goto L99 (error at __validate_output:295) else goto L8 +L8: + dec_ref r9 + r14 = '0x08c379a0' + r15 = PyObject_RichCompare(r13, r14, 2) + if is_error(r15) goto L100 (error at __validate_output:296) else goto L9 +L9: + r16 = PyObject_IsTrue(r15) + dec_ref r15 + r17 = r16 >= 0 :: signed + if not r17 goto L100 (error at __validate_output:296) else goto L10 :: bool +L10: + r18 = truncate r16: i32 to builtins.bool + if r18 goto L101 else goto L32 :: bool +L11: + r19 = 'string' + r20 = PyList_New(1) + if is_error(r20) goto L81 (error at __validate_output:297) else goto L12 +L12: + r21 = get_element_ptr r20 ob_item :: PyListObject + r22 = load_mem r21 :: ptr* + inc_ref r19 + set_mem r22, r19 :: builtins.object* + r23 = dank_mids.brownie_patch.call.HexBytes :: static + if is_error(r23) goto L102 else goto L15 +L13: + r24 = raise NameError('value for final name "HexBytes" was not set') + if not r24 goto L81 (error at __validate_output:297) else goto L14 :: bool +L14: + unreachable +L15: + r25 = [hexstr] + r26 = load_address r25 + r27 = PyObject_Vectorcall(r23, r26, 1, 0) + if is_error(r27) goto L103 (error at __validate_output:297) else goto L16 +L16: + r28 = load_address _Py_NoneStruct + r29 = load_address _Py_NoneStruct + r30 = object 4 + r31 = PySlice_New(r30, r28, r29) + if is_error(r31) goto L104 (error at __validate_output:297) else goto L17 +L17: + r32 = PyObject_GetItem(r27, r31) + dec_ref r27 + dec_ref r31 + if is_error(r32) goto L103 (error at __validate_output:297) else goto L18 +L18: + r33 = dank_mids.brownie_patch.call.__eth_abi_decode :: static + if is_error(r33) goto L105 else goto L21 +L19: + r34 = raise NameError('value for final name "__eth_abi_decode" was not set') + if not r34 goto L81 (error at __validate_output:297) else goto L20 :: bool +L20: + unreachable +L21: + r35 = [r20, r32] + r36 = load_address r35 + r37 = PyObject_Vectorcall(r33, r36, 2, 0) + if is_error(r37) goto L106 (error at __validate_output:297) else goto L22 +L22: + dec_ref r20 + dec_ref r32 + r38 = cast(tuple, r37) + if is_error(r38) goto L81 (error at __validate_output:297) else goto L23 +L23: + r39 = CPySequenceTuple_GetItem(r38, 0) + dec_ref r38 + if is_error(r39) goto L81 (error at __validate_output:297) else goto L24 +L24: + revert_str = r39 + r40 = 'Call reverted: ' + r41 = PyObject_Str(revert_str) + dec_ref revert_str + if is_error(r41) goto L81 (error at __validate_output:298) else goto L25 +L25: + r42 = CPyStr_Build(2, r40, r41) + dec_ref r41 + if is_error(r42) goto L81 (error at __validate_output:298) else goto L26 +L26: + r43 = dank_mids.brownie_patch.call.Revert :: static + if is_error(r43) goto L107 else goto L29 +L27: + r44 = raise NameError('value for final name "Revert" was not set') + if not r44 goto L81 (error at __validate_output:298) else goto L28 :: bool +L28: + unreachable +L29: + r45 = [r42] + r46 = load_address r45 + r47 = PyObject_Vectorcall(r43, r46, 1, 0) + if is_error(r47) goto L108 (error at __validate_output:298) else goto L30 +L30: + dec_ref r42 + CPy_Raise(r47) + dec_ref r47 + if not 0 goto L81 (error at __validate_output:298) else goto L31 :: bool +L31: + unreachable +L32: + r48 = '0x4e487b71' + r49 = PyObject_RichCompare(r13, r48, 2) + if is_error(r49) goto L100 (error at __validate_output:299) else goto L33 +L33: + r50 = PyObject_IsTrue(r49) + dec_ref r49 + r51 = r50 >= 0 :: signed + if not r51 goto L100 (error at __validate_output:299) else goto L34 :: bool +L34: + r52 = truncate r50: i32 to builtins.bool + if r52 goto L109 else goto L61 :: bool +L35: + r53 = dank_mids.brownie_patch.call.HexBytes :: static + if is_error(r53) goto L36 else goto L38 +L36: + r54 = raise NameError('value for final name "HexBytes" was not set') + if not r54 goto L81 (error at __validate_output:300) else goto L37 :: bool +L37: + unreachable +L38: + r55 = [hexstr] + r56 = load_address r55 + r57 = PyObject_Vectorcall(r53, r56, 1, 0) + if is_error(r57) goto L81 (error at __validate_output:300) else goto L39 +L39: + r58 = load_address _Py_NoneStruct + r59 = load_address _Py_NoneStruct + r60 = object 4 + r61 = PySlice_New(r60, r58, r59) + if is_error(r61) goto L110 (error at __validate_output:300) else goto L40 +L40: + r62 = PyObject_GetItem(r57, r61) + dec_ref r57 + dec_ref r61 + if is_error(r62) goto L81 (error at __validate_output:300) else goto L41 +L41: + r63 = 'hex' + r64 = [r62] + r65 = load_address r64 + r66 = PyObject_VectorcallMethod(r63, r65, 9223372036854775809, 0) + if is_error(r66) goto L111 (error at __validate_output:300) else goto L42 +L42: + dec_ref r62 + r67 = load_address PyLong_Type + r68 = object 16 + r69 = [r66, r68] + r70 = load_address r69 + r71 = PyObject_Vectorcall(r67, r70, 2, 0) + if is_error(r71) goto L112 (error at __validate_output:300) else goto L43 +L43: + dec_ref r66 + r72 = unbox(int, r71) + dec_ref r71 + if is_error(r72) goto L81 (error at __validate_output:300) else goto L44 +L44: + r73 = dank_mids.brownie_patch.call.globals :: static + r74 = 'SOLIDITY_ERROR_CODES' + r75 = CPyDict_GetItem(r73, r74) + if is_error(r75) goto L113 (error at __validate_output:301) else goto L45 +L45: + inc_ref r72 :: int + r76 = box(int, r72) + r77 = PySequence_Contains(r75, r76) + dec_ref r75 + dec_ref r76 + r78 = r77 >= 0 :: signed + if not r78 goto L113 (error at __validate_output:301) else goto L46 :: bool +L46: + r79 = truncate r77: i32 to builtins.bool + if r79 goto L47 else goto L50 :: bool +L47: + r80 = dank_mids.brownie_patch.call.globals :: static + r81 = 'SOLIDITY_ERROR_CODES' + r82 = CPyDict_GetItem(r80, r81) + if is_error(r82) goto L113 (error at __validate_output:302) else goto L48 +L48: + r83 = box(int, r72) + r84 = PyObject_GetItem(r82, r83) + dec_ref r82 + dec_ref r83 + if is_error(r84) goto L81 (error at __validate_output:302) else goto L49 +L49: + revert_str = r84 + goto L53 +L50: + r85 = 'Panic (error code: ' + r86 = CPyTagged_Str(r72) + dec_ref r72 :: int + if is_error(r86) goto L81 (error at __validate_output:304) else goto L51 +L51: + r87 = ')' + r88 = CPyStr_Build(3, r85, r86, r87) + dec_ref r86 + if is_error(r88) goto L81 (error at __validate_output:304) else goto L52 +L52: + revert_str = r88 +L53: + r89 = 'Call reverted: ' + r90 = PyObject_Str(revert_str) + dec_ref revert_str + if is_error(r90) goto L81 (error at __validate_output:305) else goto L54 +L54: + r91 = CPyStr_Build(2, r89, r90) + dec_ref r90 + if is_error(r91) goto L81 (error at __validate_output:305) else goto L55 +L55: + r92 = dank_mids.brownie_patch.call.Revert :: static + if is_error(r92) goto L114 else goto L58 +L56: + r93 = raise NameError('value for final name "Revert" was not set') + if not r93 goto L81 (error at __validate_output:305) else goto L57 :: bool +L57: + unreachable +L58: + r94 = [r91] + r95 = load_address r94 + r96 = PyObject_Vectorcall(r92, r95, 1, 0) + if is_error(r96) goto L115 (error at __validate_output:305) else goto L59 +L59: + dec_ref r91 + CPy_Raise(r96) + dec_ref r96 + if not 0 goto L81 (error at __validate_output:305) else goto L60 :: bool +L60: + unreachable +L61: + r97 = '0xc1b84b2f' + r98 = PyObject_RichCompare(r13, r97, 2) + dec_ref r13 + if is_error(r98) goto L81 (error at __validate_output:306) else goto L62 +L62: + r99 = PyObject_IsTrue(r98) + dec_ref r98 + r100 = r99 >= 0 :: signed + if not r100 goto L81 (error at __validate_output:306) else goto L63 :: bool +L63: + r101 = truncate r99: i32 to builtins.bool + if r101 goto L64 else goto L70 :: bool +L64: + r102 = 'Call reverted: execution reverted' + r103 = dank_mids.brownie_patch.call.Revert :: static + if is_error(r103) goto L65 else goto L67 +L65: + r104 = raise NameError('value for final name "Revert" was not set') + if not r104 goto L81 (error at __validate_output:307) else goto L66 :: bool +L66: + unreachable +L67: + r105 = [r102] + r106 = load_address r105 + r107 = PyObject_Vectorcall(r103, r106, 1, 0) + if is_error(r107) goto L81 (error at __validate_output:307) else goto L68 +L68: + CPy_Raise(r107) + dec_ref r107 + if not 0 goto L81 (error at __validate_output:307) else goto L69 :: bool +L69: + unreachable +L70: + r108 = 'outputs' + r109 = CPyDict_GetItem(abi, r108) + if is_error(r109) goto L81 (error at __validate_output:308) else goto L71 +L71: + r110 = PyObject_IsTrue(r109) + dec_ref r109 + r111 = r110 >= 0 :: signed + if not r111 goto L81 (error at __validate_output:308) else goto L72 :: bool +L72: + r112 = truncate r110: i32 to builtins.bool + if r112 goto L73 else goto L96 :: bool +L73: + r113 = PyObject_IsTrue(hexstr) + r114 = r113 >= 0 :: signed + if not r114 goto L81 (error at __validate_output:293) else goto L74 :: bool +L74: + r115 = truncate r113: i32 to builtins.bool + if r115 goto L96 else goto L75 :: bool +L75: + r116 = 'No data was returned - the call likely reverted' + r117 = dank_mids.brownie_patch.call.Revert :: static + if is_error(r117) goto L76 else goto L78 +L76: + r118 = raise NameError('value for final name "Revert" was not set') + if not r118 goto L81 (error at __validate_output:309) else goto L77 :: bool +L77: + unreachable +L78: + r119 = [r116] + r120 = load_address r119 + r121 = PyObject_Vectorcall(r117, r120, 1, 0) + if is_error(r121) goto L81 (error at __validate_output:309) else goto L79 +L79: + CPy_Raise(r121) + dec_ref r121 + if not 0 goto L81 (error at __validate_output:309) else goto L80 :: bool +L80: + unreachable +L81: + r122 = CPy_CatchError() + r123 = builtins :: module + r124 = 'ValueError' + r125 = CPyObject_GetAttr(r123, r124) + if is_error(r125) goto L94 (error at __validate_output:310) else goto L82 +L82: + r126 = CPy_ExceptionMatches(r125) + dec_ref r125 + if r126 goto L83 else goto L92 :: bool +L83: + r127 = CPy_GetExcValue() +L84: + r128 = dank_mids.brownie_patch.call.globals :: static + r129 = 'VirtualMachineError' + r130 = CPyDict_GetItem(r128, r129) + if is_error(r130) goto L88 (error at __validate_output:312) else goto L85 +L85: + r131 = [r127] + r132 = load_address r131 + r133 = PyObject_Vectorcall(r130, r132, 1, 0) + dec_ref r130 + if is_error(r133) goto L88 (error at __validate_output:312) else goto L86 +L86: + CPy_Raise(r133) + dec_ref r133 + if not 0 goto L88 (error at __validate_output:312) else goto L116 :: bool +L87: + unreachable +L88: + r134 = CPy_CatchError() + CPy_Raise(r127) + dec_ref r127 + if not 0 goto L90 (error at __validate_output:314) else goto L117 :: bool +L89: + unreachable +L90: + CPy_RestoreExcInfo(r134) + dec_ref r134 + r135 = CPy_KeepPropagating() + if not r135 goto L94 else goto L118 :: bool +L91: + unreachable +L92: + CPy_Reraise() + if not 0 goto L94 else goto L119 :: bool +L93: + unreachable +L94: + CPy_RestoreExcInfo(r122) + dec_ref r122 + r136 = CPy_KeepPropagating() + if not r136 goto L97 else goto L95 :: bool +L95: + unreachable +L96: + return 1 +L97: + r137 = :: None + return r137 +L98: + dec_ref r4 + goto L81 +L99: + dec_ref r9 + goto L81 +L100: + dec_ref r13 + goto L81 +L101: + dec_ref r13 + goto L11 +L102: + dec_ref r20 + goto L13 +L103: + dec_ref r20 + goto L81 +L104: + dec_ref r20 + dec_ref r27 + goto L81 +L105: + dec_ref r20 + dec_ref r32 + goto L19 +L106: + dec_ref r20 + dec_ref r32 + goto L81 +L107: + dec_ref r42 + goto L27 +L108: + dec_ref r42 + goto L81 +L109: + dec_ref r13 + goto L35 +L110: + dec_ref r57 + goto L81 +L111: + dec_ref r62 + goto L81 +L112: + dec_ref r66 + goto L81 +L113: + dec_ref r72 :: int + goto L81 +L114: + dec_ref r91 + goto L56 +L115: + dec_ref r91 + goto L81 +L116: + dec_ref r122 + dec_ref r127 + goto L87 +L117: + dec_ref r122 + dec_ref r134 + goto L89 +L118: + dec_ref r122 + goto L91 +L119: + dec_ref r122 + goto L93 + +def format_input_but_cache_checksums(abi, inputs): + abi :: dict + inputs :: union[list, tuple] + r0 :: int + r1 :: bit + r2 :: str r3 :: object - r4 :: str - r5 :: object + r4 :: int + r5 :: bit + r6 :: str + r7 :: object + r8, r9, r10 :: str + r11 :: object + r12 :: str + r13 :: object + r14 :: object[1] + r15 :: object_ptr + r16 :: object + r17 :: str + r18, r19 :: object + r20 :: bool + r21 :: object[1] + r22 :: object_ptr + r23 :: object + r24 :: list + r25 :: tuple[object, object, object] + r26 :: object + r27 :: str + r28 :: object + r29 :: bit + r30, r31 :: object + r32 :: str + r33 :: object + r34, r35, r36, r37 :: str + r38 :: object[1] + r39 :: object_ptr + r40 :: object + r41 :: bit + r42 :: list +L0: + r0 = CPyObject_Size(inputs) + if is_error(r0) goto L33 (error at format_input_but_cache_checksums:322) else goto L1 +L1: + r1 = r0 != 0 + dec_ref r0 :: int + if r1 goto L2 else goto L12 :: bool +L2: + r2 = 'inputs' + r3 = CPyDict_GetItem(abi, r2) + if is_error(r3) goto L33 (error at format_input_but_cache_checksums:322) else goto L3 +L3: + r4 = CPyObject_Size(r3) + dec_ref r3 + if is_error(r4) goto L33 (error at format_input_but_cache_checksums:322) else goto L4 +L4: + r5 = r4 != 0 + dec_ref r4 :: int + if r5 goto L12 else goto L5 :: bool +L5: + r6 = 'name' + r7 = CPyDict_GetItem(abi, r6) + if is_error(r7) goto L33 (error at format_input_but_cache_checksums:323) else goto L6 +L6: + r8 = PyObject_Str(r7) + dec_ref r7 + if is_error(r8) goto L33 (error at format_input_but_cache_checksums:323) else goto L7 +L7: + r9 = ' requires no arguments' + r10 = CPyStr_Build(2, r8, r9) + dec_ref r8 + if is_error(r10) goto L33 (error at format_input_but_cache_checksums:323) else goto L8 +L8: + r11 = builtins :: module + r12 = 'TypeError' + r13 = CPyObject_GetAttr(r11, r12) + if is_error(r13) goto L34 (error at format_input_but_cache_checksums:323) else goto L9 +L9: + r14 = [r10] + r15 = load_address r14 + r16 = PyObject_Vectorcall(r13, r15, 1, 0) + dec_ref r13 + if is_error(r16) goto L34 (error at format_input_but_cache_checksums:323) else goto L10 +L10: + dec_ref r10 + CPy_Raise(r16) + dec_ref r16 + if not 0 goto L33 (error at format_input_but_cache_checksums:323) else goto L11 :: bool +L11: + unreachable +L12: + r17 = 'inputs' + r18 = CPyDict_GetItem(abi, r17) + if is_error(r18) goto L33 (error at format_input_but_cache_checksums:324) else goto L13 +L13: + r19 = dank_mids.brownie_patch.call._get_abi_types :: static + if is_error(r19) goto L35 else goto L16 +L14: + r20 = raise NameError('value for final name "_get_abi_types" was not set') + if not r20 goto L33 (error at format_input_but_cache_checksums:324) else goto L15 :: bool +L15: + unreachable +L16: + r21 = [r18] + r22 = load_address r21 + r23 = PyObject_Vectorcall(r19, r22, 1, 0) + if is_error(r23) goto L36 (error at format_input_but_cache_checksums:324) else goto L17 +L17: + dec_ref r18 +L18: + r24 = _format_tuple_but_cache_checksums(r23, inputs) + dec_ref r23 + if is_error(r24) goto L20 (error at format_input_but_cache_checksums:326) else goto L19 +L19: + return r24 +L20: + r25 = CPy_CatchError() + r26 = builtins :: module + r27 = 'Exception' + r28 = CPyObject_GetAttr(r26, r27) + if is_error(r28) goto L31 (error at format_input_but_cache_checksums:327) else goto L21 +L21: + r29 = CPy_ExceptionMatches(r28) + dec_ref r28 + if r29 goto L22 else goto L29 :: bool +L22: + r30 = CPy_GetExcValue() + r31 = CPy_TYPE(r30) + r32 = 'name' + r33 = CPyDict_GetItem(abi, r32) + if is_error(r33) goto L37 (error at format_input_but_cache_checksums:328) else goto L23 +L23: + r34 = PyObject_Str(r33) + dec_ref r33 + if is_error(r34) goto L37 (error at format_input_but_cache_checksums:328) else goto L24 +L24: + r35 = ' ' + r36 = PyObject_Str(r30) + dec_ref r30 + if is_error(r36) goto L38 (error at format_input_but_cache_checksums:328) else goto L25 +L25: + r37 = CPyStr_Build(3, r34, r35, r36) + dec_ref r34 + dec_ref r36 + if is_error(r37) goto L39 (error at format_input_but_cache_checksums:328) else goto L26 +L26: + r38 = [r37] + r39 = load_address r38 + r40 = PyObject_Vectorcall(r31, r39, 1, 0) + dec_ref r31 + if is_error(r40) goto L40 (error at format_input_but_cache_checksums:328) else goto L27 +L27: + dec_ref r37 + CPy_Raise(r40) + dec_ref r40 + if not 0 goto L31 (error at format_input_but_cache_checksums:328) else goto L41 :: bool +L28: + unreachable +L29: + CPy_Reraise() + if not 0 goto L31 else goto L42 :: bool +L30: + unreachable +L31: + CPy_RestoreExcInfo(r25) + dec_ref r25 + r41 = CPy_KeepPropagating() + if not r41 goto L33 else goto L32 :: bool +L32: + unreachable +L33: + r42 = :: list + return r42 +L34: + dec_ref r10 + goto L33 +L35: + dec_ref r18 + goto L14 +L36: + dec_ref r18 + goto L33 +L37: + dec_ref r30 + dec_ref r31 + goto L31 +L38: + dec_ref r31 + dec_ref r34 + goto L31 +L39: + dec_ref r31 + goto L31 +L40: + dec_ref r37 + goto L31 +L41: + dec_ref r25 + goto L28 +L42: + dec_ref r25 + goto L30 + +def format_output_but_cache_checksums(abi, outputs): + abi :: dict + outputs :: union[list, tuple] + r0 :: str + r1, r2 :: object + r3 :: bool + r4 :: object[1] + r5 :: object_ptr + r6 :: object + r7 :: list + r8 :: str + r9, r10 :: object + r11 :: bool + r12 :: object[2] + r13 :: object_ptr + r14, r15 :: object +L0: + r0 = 'outputs' + r1 = CPyDict_GetItem(abi, r0) + if is_error(r1) goto L12 (error at format_output_but_cache_checksums:335) else goto L1 +L1: + r2 = dank_mids.brownie_patch.call._get_abi_types :: static + if is_error(r2) goto L13 else goto L4 +L2: + r3 = raise NameError('value for final name "_get_abi_types" was not set') + if not r3 goto L12 (error at format_output_but_cache_checksums:335) else goto L3 :: bool +L3: + unreachable +L4: + r4 = [r1] + r5 = load_address r4 + r6 = PyObject_Vectorcall(r2, r5, 1, 0) + if is_error(r6) goto L14 (error at format_output_but_cache_checksums:335) else goto L5 +L5: + dec_ref r1 + r7 = _format_tuple_but_cache_checksums(r6, outputs) + dec_ref r6 + if is_error(r7) goto L12 (error at format_output_but_cache_checksums:336) else goto L6 +L6: + r8 = 'outputs' + r9 = CPyDict_GetItem(abi, r8) + if is_error(r9) goto L15 (error at format_output_but_cache_checksums:337) else goto L7 +L7: + r10 = dank_mids.brownie_patch.call.ReturnValue :: static + if is_error(r10) goto L16 else goto L10 +L8: + r11 = raise NameError('value for final name "ReturnValue" was not set') + if not r11 goto L12 (error at format_output_but_cache_checksums:337) else goto L9 :: bool +L9: + unreachable +L10: + r12 = [r7, r9] + r13 = load_address r12 + r14 = PyObject_Vectorcall(r10, r13, 2, 0) + if is_error(r14) goto L17 (error at format_output_but_cache_checksums:337) else goto L11 +L11: + dec_ref r7 + dec_ref r9 + return r14 +L12: + r15 = :: object + return r15 +L13: + dec_ref r1 + goto L2 +L14: + dec_ref r1 + goto L12 +L15: + dec_ref r7 + goto L12 +L16: + dec_ref r7 + dec_ref r9 + goto L8 +L17: + dec_ref r7 + dec_ref r9 + goto L12 + +def _format_tuple_but_cache_checksums(abi_types, values): + abi_types :: object + values :: union[list, tuple] + r0 :: list + r1 :: int + r2 :: object + r3 :: bool + r4 :: object + r5 :: object[2] + r6 :: object_ptr + r7, r8, r9, r10, r11 :: object + r12 :: str + r13 :: object + r14 :: i32 + r15 :: bit + r16 :: bool + r17 :: union[list, tuple] + r18 :: list + r19 :: i32 + r20 :: bit + r21 :: object + r22 :: bool + r23 :: i32 + r24 :: bit + r25 :: bool + r26 :: str + r27 :: object + r28 :: union[list, tuple] + r29 :: list + r30 :: i32 + r31 :: bit + r32 :: str + r33 :: object[1] + r34 :: object_ptr + r35 :: object + r36 :: str + r37 :: object + r38 :: i32 + r39 :: bit + r40 :: tuple[object, object, object] + r41 :: object + r42 :: str + r43 :: object + r44 :: bit + r45, r46 :: object + r47, r48, r49, r50, r51 :: str + r52 :: object[1] + r53 :: object_ptr + r54 :: object + r55, r56, r57 :: bit + r58 :: list +L0: + r0 = PyList_New(0) + if is_error(r0) goto L45 (error at _format_tuple_but_cache_checksums:347) else goto L1 +L1: + r1 = CPyObject_Size(abi_types) + if is_error(r1) goto L46 (error at _format_tuple_but_cache_checksums:348) else goto L2 +L2: + r2 = dank_mids.brownie_patch.call._check_array :: static + if is_error(r2) goto L47 else goto L5 +L3: + r3 = raise NameError('value for final name "_check_array" was not set') + if not r3 goto L45 (error at _format_tuple_but_cache_checksums:348) else goto L4 :: bool +L4: + unreachable +L5: + r4 = box(int, r1) + r5 = [values, r4] + r6 = load_address r5 + r7 = PyObject_Vectorcall(r2, r6, 2, 0) + if is_error(r7) goto L48 (error at _format_tuple_but_cache_checksums:348) else goto L49 +L6: + dec_ref r4 + r8 = PyObject_GetIter(abi_types) + if is_error(r8) goto L46 (error at _format_tuple_but_cache_checksums:349) else goto L7 +L7: + r9 = PyObject_GetIter(values) + if is_error(r9) goto L50 (error at _format_tuple_but_cache_checksums:349) else goto L8 +L8: + r10 = PyIter_Next(r8) + if is_error(r10) goto L51 else goto L9 +L9: + r11 = PyIter_Next(r9) + if is_error(r11) goto L52 else goto L10 +L10: +L11: + r12 = 'is_array' + r13 = CPyObject_GetAttr(r10, r12) + if is_error(r13) goto L53 (error at _format_tuple_but_cache_checksums:351) else goto L12 +L12: + r14 = PyObject_IsTrue(r13) + dec_ref r13 + r15 = r14 >= 0 :: signed + if not r15 goto L53 (error at _format_tuple_but_cache_checksums:351) else goto L13 :: bool +L13: + r16 = truncate r14: i32 to builtins.bool + if r16 goto L14 else goto L17 :: bool +L14: + inc_ref r11 + r17 = cast(union[list, tuple], r11) + if is_error(r17) goto L53 (error at _format_tuple_but_cache_checksums:352) else goto L15 +L15: + r18 = _format_array_but_cache_checksums(r10, r17) + dec_ref r10 + dec_ref r17 + if is_error(r18) goto L54 (error at _format_tuple_but_cache_checksums:352) else goto L16 +L16: + r19 = PyList_Append(r0, r18) + dec_ref r18 + r20 = r19 >= 0 :: signed + if not r20 goto L54 (error at _format_tuple_but_cache_checksums:352) else goto L55 :: bool +L17: + r21 = dank_mids.brownie_patch.call.TupleType :: static + if is_error(r21) goto L56 else goto L20 +L18: + r22 = raise NameError('value for final name "TupleType" was not set') + if not r22 goto L30 (error at _format_tuple_but_cache_checksums:353) else goto L57 :: bool +L19: + unreachable +L20: + r23 = PyObject_IsInstance(r10, r21) + r24 = r23 >= 0 :: signed + if not r24 goto L53 (error at _format_tuple_but_cache_checksums:353) else goto L21 :: bool +L21: + r25 = truncate r23: i32 to builtins.bool + if r25 goto L22 else goto L26 :: bool +L22: + r26 = 'components' + r27 = CPyObject_GetAttr(r10, r26) + dec_ref r10 + if is_error(r27) goto L54 (error at _format_tuple_but_cache_checksums:354) else goto L23 +L23: + inc_ref r11 + r28 = cast(union[list, tuple], r11) + if is_error(r28) goto L58 (error at _format_tuple_but_cache_checksums:354) else goto L24 +L24: + r29 = _format_tuple_but_cache_checksums(r27, r28) + dec_ref r27 + dec_ref r28 + if is_error(r29) goto L54 (error at _format_tuple_but_cache_checksums:354) else goto L25 +L25: + r30 = PyList_Append(r0, r29) + dec_ref r29 + r31 = r30 >= 0 :: signed + if not r31 goto L54 (error at _format_tuple_but_cache_checksums:354) else goto L59 :: bool +L26: + r32 = 'to_type_str' + r33 = [r10] + r34 = load_address r33 + r35 = PyObject_VectorcallMethod(r32, r34, 9223372036854775809, 0) + if is_error(r35) goto L53 (error at _format_tuple_but_cache_checksums:356) else goto L27 +L27: + dec_ref r10 + r36 = cast(str, r35) + if is_error(r36) goto L54 (error at _format_tuple_but_cache_checksums:356) else goto L28 +L28: + r37 = _format_single_but_cache_checksums(r36, r11) + dec_ref r36 + if is_error(r37) goto L54 (error at _format_tuple_but_cache_checksums:356) else goto L29 +L29: + r38 = PyList_Append(r0, r37) + dec_ref r37 + r39 = r38 >= 0 :: signed + if not r39 goto L54 (error at _format_tuple_but_cache_checksums:356) else goto L60 :: bool +L30: + r40 = CPy_CatchError() + r41 = builtins :: module + r42 = 'Exception' + r43 = CPyObject_GetAttr(r41, r42) + if is_error(r43) goto L61 (error at _format_tuple_but_cache_checksums:357) else goto L31 +L31: + r44 = CPy_ExceptionMatches(r43) + dec_ref r43 + if r44 goto L32 else goto L62 :: bool +L32: + r45 = CPy_GetExcValue() + r46 = CPy_TYPE(r45) + r47 = "'" + r48 = PyObject_Str(r11) + dec_ref r11 + if is_error(r48) goto L63 (error at _format_tuple_but_cache_checksums:358) else goto L33 +L33: + r49 = "' - " + r50 = PyObject_Str(r45) + dec_ref r45 + if is_error(r50) goto L64 (error at _format_tuple_but_cache_checksums:358) else goto L34 +L34: + r51 = CPyStr_Build(4, r47, r48, r49, r50) + dec_ref r48 + dec_ref r50 + if is_error(r51) goto L65 (error at _format_tuple_but_cache_checksums:358) else goto L35 +L35: + r52 = [r51] + r53 = load_address r52 + r54 = PyObject_Vectorcall(r46, r53, 1, 0) + dec_ref r46 + if is_error(r54) goto L66 (error at _format_tuple_but_cache_checksums:358) else goto L36 +L36: + dec_ref r51 + CPy_Raise(r54) + dec_ref r54 + if not 0 goto L40 (error at _format_tuple_but_cache_checksums:358) else goto L67 :: bool +L37: + unreachable +L38: + CPy_Reraise() + if not 0 goto L40 else goto L68 :: bool +L39: + unreachable +L40: + CPy_RestoreExcInfo(r40) + dec_ref r40 + r55 = CPy_KeepPropagating() + if not r55 goto L45 else goto L41 :: bool +L41: + unreachable +L42: + r56 = CPy_NoErrOccurred() + if not r56 goto L46 (error at _format_tuple_but_cache_checksums:349) else goto L43 :: bool +L43: + r57 = CPy_NoErrOccurred() + if not r57 goto L46 (error at _format_tuple_but_cache_checksums:349) else goto L44 :: bool +L44: + return r0 +L45: + r58 = :: list + return r58 +L46: + dec_ref r0 + goto L45 +L47: + dec_ref r0 + dec_ref r1 :: int + goto L3 +L48: + dec_ref r0 + dec_ref r4 + goto L45 +L49: + dec_ref r7 + goto L6 +L50: + dec_ref r0 + dec_ref r8 + goto L45 +L51: + dec_ref r8 + dec_ref r9 + goto L42 +L52: + dec_ref r8 + dec_ref r9 + dec_ref r10 + goto L42 +L53: + dec_ref r0 + dec_ref r8 + dec_ref r9 + dec_ref r10 + goto L30 +L54: + dec_ref r0 + dec_ref r8 + dec_ref r9 + goto L30 +L55: + dec_ref r11 + goto L8 +L56: + dec_ref r0 + dec_ref r8 + dec_ref r9 + dec_ref r10 + goto L18 +L57: + dec_ref r11 + goto L19 +L58: + dec_ref r0 + dec_ref r8 + dec_ref r9 + dec_ref r27 + goto L30 +L59: + dec_ref r11 + goto L8 +L60: + dec_ref r11 + goto L8 +L61: + dec_ref r11 + goto L40 +L62: + dec_ref r11 + goto L38 +L63: + dec_ref r45 + dec_ref r46 + goto L40 +L64: + dec_ref r46 + dec_ref r48 + goto L40 +L65: + dec_ref r46 + goto L40 +L66: + dec_ref r51 + goto L40 +L67: + dec_ref r40 + goto L37 +L68: + dec_ref r40 + goto L39 + +def _format_array_but_cache_checksums(abi_type, values): + abi_type :: object + values :: union[list, tuple] + r0 :: str + r1, r2, r3 :: object + r4 :: int + r5 :: bit r6 :: str - r7 :: object - r8 :: float - r9 :: bit + r7, r8, r9, r10, r11 :: object + r12 :: union[object, None] + r13, r14 :: object + r15 :: bool + r16 :: object[2] + r17 :: object_ptr + r18 :: object + r19 :: str + r20 :: object + r21 :: str + r22 :: object + r23 :: i32 + r24 :: bit + r25 :: bool + r26 :: list + r27, r28 :: object + r29 :: union[list, tuple] + r30 :: list + r31 :: i32 + r32, r33 :: bit + r34 :: object + r35 :: bool + r36 :: i32 + r37 :: bit + r38 :: bool + r39 :: str + r40 :: object + r41 :: list + r42, r43 :: object + r44 :: union[list, tuple] + r45 :: list + r46 :: i32 + r47, r48 :: bit + r49 :: str + r50 :: object[1] + r51 :: object_ptr + r52 :: object + r53 :: str + r54 :: list + r55, r56, r57 :: object + r58 :: i32 + r59, r60 :: bit + r61 :: list +L0: + r0 = 'arrlist' + r1 = CPyObject_GetAttr(abi_type, r0) + if is_error(r1) goto L48 (error at _format_array_but_cache_checksums:363) else goto L1 +L1: + r2 = object -1 + r3 = PyObject_GetItem(r1, r2) + dec_ref r1 + if is_error(r3) goto L48 (error at _format_array_but_cache_checksums:363) else goto L2 +L2: + r4 = CPyObject_Size(r3) + dec_ref r3 + if is_error(r4) goto L48 (error at _format_array_but_cache_checksums:363) else goto L3 +L3: + r5 = r4 != 0 + dec_ref r4 :: int + if r5 goto L4 else goto L8 :: bool +L4: + r6 = 'arrlist' + r7 = CPyObject_GetAttr(abi_type, r6) + if is_error(r7) goto L48 (error at _format_array_but_cache_checksums:363) else goto L5 +L5: + r8 = object -1 + r9 = PyObject_GetItem(r7, r8) + dec_ref r7 + if is_error(r9) goto L48 (error at _format_array_but_cache_checksums:363) else goto L6 +L6: + r10 = object 0 + r11 = PyObject_GetItem(r9, r10) + dec_ref r9 + if is_error(r11) goto L48 (error at _format_array_but_cache_checksums:363) else goto L7 +L7: + r12 = r11 + goto L9 +L8: + r13 = box(None, 1) + inc_ref r13 + r12 = r13 +L9: + r14 = dank_mids.brownie_patch.call._check_array :: static + if is_error(r14) goto L49 else goto L12 +L10: + r15 = raise NameError('value for final name "_check_array" was not set') + if not r15 goto L48 (error at _format_array_but_cache_checksums:363) else goto L11 :: bool +L11: + unreachable +L12: + r16 = [values, r12] + r17 = load_address r16 + r18 = PyObject_Vectorcall(r14, r17, 2, 0) + if is_error(r18) goto L50 (error at _format_array_but_cache_checksums:363) else goto L51 +L13: + dec_ref r12 + r19 = 'item_type' + r20 = CPyObject_GetAttr(abi_type, r19) + if is_error(r20) goto L48 (error at _format_array_but_cache_checksums:364) else goto L14 +L14: + r21 = 'is_array' + r22 = CPyObject_GetAttr(r20, r21) + if is_error(r22) goto L52 (error at _format_array_but_cache_checksums:365) else goto L15 +L15: + r23 = PyObject_IsTrue(r22) + dec_ref r22 + r24 = r23 >= 0 :: signed + if not r24 goto L52 (error at _format_array_but_cache_checksums:365) else goto L16 :: bool +L16: + r25 = truncate r23: i32 to builtins.bool + if r25 goto L17 else goto L25 :: bool +L17: + r26 = PyList_New(0) + if is_error(r26) goto L52 (error at _format_array_but_cache_checksums:366) else goto L18 +L18: + r27 = PyObject_GetIter(values) + if is_error(r27) goto L53 (error at _format_array_but_cache_checksums:366) else goto L19 +L19: + r28 = PyIter_Next(r27) + if is_error(r28) goto L54 else goto L20 +L20: + r29 = cast(union[list, tuple], r28) + if is_error(r29) goto L55 (error at _format_array_but_cache_checksums:366) else goto L21 +L21: + r30 = _format_array_but_cache_checksums(r20, r29) + dec_ref r29 + if is_error(r30) goto L55 (error at _format_array_but_cache_checksums:366) else goto L22 +L22: + r31 = PyList_Append(r26, r30) + dec_ref r30 + r32 = r31 >= 0 :: signed + if not r32 goto L55 (error at _format_array_but_cache_checksums:366) else goto L19 :: bool +L23: + r33 = CPy_NoErrOccurred() + if not r33 goto L56 (error at _format_array_but_cache_checksums:366) else goto L24 :: bool +L24: + return r26 +L25: + r34 = dank_mids.brownie_patch.call.TupleType :: static + if is_error(r34) goto L57 else goto L28 +L26: + r35 = raise NameError('value for final name "TupleType" was not set') + if not r35 goto L48 (error at _format_array_but_cache_checksums:367) else goto L27 :: bool +L27: + unreachable +L28: + r36 = PyObject_IsInstance(r20, r34) + r37 = r36 >= 0 :: signed + if not r37 goto L52 (error at _format_array_but_cache_checksums:367) else goto L29 :: bool +L29: + r38 = truncate r36: i32 to builtins.bool + if r38 goto L30 else goto L39 :: bool +L30: + r39 = 'components' + r40 = CPyObject_GetAttr(r20, r39) + dec_ref r20 + if is_error(r40) goto L48 (error at _format_array_but_cache_checksums:368) else goto L31 +L31: + r41 = PyList_New(0) + if is_error(r41) goto L58 (error at _format_array_but_cache_checksums:369) else goto L32 +L32: + r42 = PyObject_GetIter(values) + if is_error(r42) goto L59 (error at _format_array_but_cache_checksums:369) else goto L33 +L33: + r43 = PyIter_Next(r42) + if is_error(r43) goto L60 else goto L34 +L34: + r44 = cast(union[list, tuple], r43) + if is_error(r44) goto L61 (error at _format_array_but_cache_checksums:369) else goto L35 +L35: + r45 = _format_tuple_but_cache_checksums(r40, r44) + dec_ref r44 + if is_error(r45) goto L61 (error at _format_array_but_cache_checksums:369) else goto L36 +L36: + r46 = PyList_Append(r41, r45) + dec_ref r45 + r47 = r46 >= 0 :: signed + if not r47 goto L61 (error at _format_array_but_cache_checksums:369) else goto L33 :: bool +L37: + r48 = CPy_NoErrOccurred() + if not r48 goto L62 (error at _format_array_but_cache_checksums:369) else goto L38 :: bool +L38: + return r41 +L39: + r49 = 'to_type_str' + r50 = [r20] + r51 = load_address r50 + r52 = PyObject_VectorcallMethod(r49, r51, 9223372036854775809, 0) + if is_error(r52) goto L52 (error at _format_array_but_cache_checksums:371) else goto L40 +L40: + dec_ref r20 + r53 = cast(str, r52) + if is_error(r53) goto L48 (error at _format_array_but_cache_checksums:371) else goto L41 +L41: + r54 = PyList_New(0) + if is_error(r54) goto L63 (error at _format_array_but_cache_checksums:372) else goto L42 +L42: + r55 = PyObject_GetIter(values) + if is_error(r55) goto L64 (error at _format_array_but_cache_checksums:372) else goto L43 +L43: + r56 = PyIter_Next(r55) + if is_error(r56) goto L65 else goto L44 +L44: + r57 = _format_single_but_cache_checksums(r53, r56) + dec_ref r56 + if is_error(r57) goto L66 (error at _format_array_but_cache_checksums:372) else goto L45 +L45: + r58 = PyList_Append(r54, r57) + dec_ref r57 + r59 = r58 >= 0 :: signed + if not r59 goto L66 (error at _format_array_but_cache_checksums:372) else goto L43 :: bool +L46: + r60 = CPy_NoErrOccurred() + if not r60 goto L67 (error at _format_array_but_cache_checksums:372) else goto L47 :: bool +L47: + return r54 +L48: + r61 = :: list + return r61 +L49: + dec_ref r12 + goto L10 +L50: + dec_ref r12 + goto L48 +L51: + dec_ref r18 + goto L13 +L52: + dec_ref r20 + goto L48 +L53: + dec_ref r20 + dec_ref r26 + goto L48 +L54: + dec_ref r20 + dec_ref r27 + goto L23 +L55: + dec_ref r20 + dec_ref r26 + dec_ref r27 + goto L48 +L56: + dec_ref r26 + goto L48 +L57: + dec_ref r20 + goto L26 +L58: + dec_ref r40 + goto L48 +L59: + dec_ref r40 + dec_ref r41 + goto L48 +L60: + dec_ref r40 + dec_ref r42 + goto L37 +L61: + dec_ref r40 + dec_ref r41 + dec_ref r42 + goto L48 +L62: + dec_ref r41 + goto L48 +L63: + dec_ref r53 + goto L48 +L64: + dec_ref r53 + dec_ref r54 + goto L48 +L65: + dec_ref r53 + dec_ref r55 + goto L46 +L66: + dec_ref r53 + dec_ref r54 + dec_ref r55 + goto L48 +L67: + dec_ref r54 + goto L48 + +def _format_single_but_cache_checksums(type_str, value): + type_str :: str + value :: object + r0 :: str + r1 :: i32 + r2 :: bit + r3 :: bool + r4 :: object + r5 :: bool + r6 :: object[2] + r7 :: object_ptr + r8 :: object + r9 :: str + r10 :: i32 + r11 :: bit + r12 :: bool + r13 :: object + r14 :: bool + r15 :: object[2] + r16 :: object_ptr + r17 :: object + r18 :: str + r19 :: bool + r20 :: object + r21 :: bool + r22 :: object[1] + r23 :: object_ptr + r24 :: object + r25 :: str + r26 :: bool + r27 :: object + r28 :: bool + r29 :: object[1] + r30 :: object_ptr + r31 :: object + r32 :: str + r33 :: bool + r34, r35, r36 :: object + r37 :: str + r38, r39, r40 :: object + r41 :: tuple[object, object, object, object, object] + r42 :: object + r43 :: i32 + r44 :: bit + r45 :: bool + r46 :: union[str, bytes, object, int] + r47 :: str + r48 :: object + r49 :: bool + r50 :: object[1] + r51 :: object_ptr + r52 :: object + r53 :: str + r54 :: i32 + r55 :: bit + r56 :: bool + r57 :: object + r58 :: bool + r59 :: object[2] + r60 :: object_ptr + r61 :: object + r62 :: str + r63 :: i32 + r64 :: bit + r65 :: bool + r66 :: object + r67 :: bool + r68 :: object[1] + r69 :: object_ptr + r70 :: object + r71, r72 :: str + r73 :: object + r74 :: str + r75 :: object + r76 :: object[1] + r77 :: object_ptr + r78, r79 :: object +L0: + r0 = 'uint' + r1 = PyUnicode_Contains(type_str, r0) + r2 = r1 >= 0 :: signed + if not r2 goto L57 (error at _format_single_but_cache_checksums:377) else goto L1 :: bool +L1: + r3 = truncate r1: i32 to builtins.bool + if r3 goto L2 else goto L7 :: bool +L2: + r4 = dank_mids.brownie_patch.call.to_uint :: static + if is_error(r4) goto L3 else goto L5 +L3: + r5 = raise NameError('value for final name "to_uint" was not set') + if not r5 goto L57 (error at _format_single_but_cache_checksums:378) else goto L4 :: bool +L4: + unreachable +L5: + r6 = [value, type_str] + r7 = load_address r6 + r8 = PyObject_Vectorcall(r4, r7, 2, 0) + if is_error(r8) goto L57 (error at _format_single_but_cache_checksums:378) else goto L6 +L6: + return r8 +L7: + r9 = 'int' + r10 = PyUnicode_Contains(type_str, r9) + r11 = r10 >= 0 :: signed + if not r11 goto L57 (error at _format_single_but_cache_checksums:379) else goto L8 :: bool +L8: + r12 = truncate r10: i32 to builtins.bool + if r12 goto L9 else goto L14 :: bool +L9: + r13 = dank_mids.brownie_patch.call.to_int :: static + if is_error(r13) goto L10 else goto L12 +L10: + r14 = raise NameError('value for final name "to_int" was not set') + if not r14 goto L57 (error at _format_single_but_cache_checksums:380) else goto L11 :: bool +L11: + unreachable +L12: + r15 = [value, type_str] + r16 = load_address r15 + r17 = PyObject_Vectorcall(r13, r16, 2, 0) + if is_error(r17) goto L57 (error at _format_single_but_cache_checksums:380) else goto L13 +L13: + return r17 +L14: + r18 = 'fixed168x10' + r19 = CPyStr_Equal(type_str, r18) + if r19 goto L15 else goto L20 :: bool +L15: + r20 = dank_mids.brownie_patch.call.to_decimal :: static + if is_error(r20) goto L16 else goto L18 +L16: + r21 = raise NameError('value for final name "to_decimal" was not set') + if not r21 goto L57 (error at _format_single_but_cache_checksums:382) else goto L17 :: bool +L17: + unreachable +L18: + r22 = [value] + r23 = load_address r22 + r24 = PyObject_Vectorcall(r20, r23, 1, 0) + if is_error(r24) goto L57 (error at _format_single_but_cache_checksums:382) else goto L19 +L19: + return r24 +L20: + r25 = 'bool' + r26 = CPyStr_Equal(type_str, r25) + if r26 goto L21 else goto L26 :: bool +L21: + r27 = dank_mids.brownie_patch.call.to_bool :: static + if is_error(r27) goto L22 else goto L24 +L22: + r28 = raise NameError('value for final name "to_bool" was not set') + if not r28 goto L57 (error at _format_single_but_cache_checksums:384) else goto L23 :: bool +L23: + unreachable +L24: + r29 = [value] + r30 = load_address r29 + r31 = PyObject_Vectorcall(r27, r30, 1, 0) + if is_error(r31) goto L57 (error at _format_single_but_cache_checksums:384) else goto L25 +L25: + return r31 +L26: + r32 = 'address' + r33 = CPyStr_Equal(type_str, r32) + if r33 goto L27 else goto L38 :: bool +L27: + r34 = load_address PyUnicode_Type + r35 = load_address PyBytes_Type + r36 = builtins :: module + r37 = 'bytearray' + r38 = CPyObject_GetAttr(r36, r37) + if is_error(r38) goto L57 (error at _format_single_but_cache_checksums:388) else goto L28 +L28: + r39 = load_address PyLong_Type + r40 = load_address PyBool_Type + inc_ref r34 + inc_ref r35 + inc_ref r39 + inc_ref r40 + r41 = (r34, r35, r38, r39, r40) + r42 = box(tuple[object, object, object, object, object], r41) + r43 = PyObject_IsInstance(value, r42) + dec_ref r42 + r44 = r43 >= 0 :: signed + if not r44 goto L57 (error at _format_single_but_cache_checksums:388) else goto L29 :: bool +L29: + r45 = truncate r43: i32 to builtins.bool + if r45 goto L30 else goto L31 :: bool +L30: + inc_ref value + r46 = value + goto L33 +L31: + r47 = PyObject_Str(value) + if is_error(r47) goto L57 (error at _format_single_but_cache_checksums:388) else goto L32 +L32: + r46 = r47 +L33: + r48 = dank_mids.brownie_patch.call.to_checksum_address :: static + if is_error(r48) goto L58 else goto L36 +L34: + r49 = raise NameError('value for final name "to_checksum_address" was not set') + if not r49 goto L57 (error at _format_single_but_cache_checksums:387) else goto L35 :: bool +L35: + unreachable +L36: + r50 = [r46] + r51 = load_address r50 + r52 = PyObject_Vectorcall(r48, r51, 1, 0) + if is_error(r52) goto L59 (error at _format_single_but_cache_checksums:387) else goto L37 +L37: + dec_ref r46 + return r52 +L38: + r53 = 'byte' + r54 = PyUnicode_Contains(type_str, r53) + r55 = r54 >= 0 :: signed + if not r55 goto L57 (error at _format_single_but_cache_checksums:390) else goto L39 :: bool +L39: + r56 = truncate r54: i32 to builtins.bool + if r56 goto L40 else goto L45 :: bool +L40: + r57 = dank_mids.brownie_patch.call.HexString :: static + if is_error(r57) goto L41 else goto L43 +L41: + r58 = raise NameError('value for final name "HexString" was not set') + if not r58 goto L57 (error at _format_single_but_cache_checksums:391) else goto L42 :: bool +L42: + unreachable +L43: + r59 = [value, type_str] + r60 = load_address r59 + r61 = PyObject_Vectorcall(r57, r60, 2, 0) + if is_error(r61) goto L57 (error at _format_single_but_cache_checksums:391) else goto L44 +L44: + return r61 +L45: + r62 = 'string' + r63 = PyUnicode_Contains(type_str, r62) + r64 = r63 >= 0 :: signed + if not r64 goto L57 (error at _format_single_but_cache_checksums:392) else goto L46 :: bool +L46: + r65 = truncate r63: i32 to builtins.bool + if r65 goto L47 else goto L52 :: bool +L47: + r66 = dank_mids.brownie_patch.call.to_string :: static + if is_error(r66) goto L48 else goto L50 +L48: + r67 = raise NameError('value for final name "to_string" was not set') + if not r67 goto L57 (error at _format_single_but_cache_checksums:393) else goto L49 :: bool +L49: + unreachable +L50: + r68 = [value] + r69 = load_address r68 + r70 = PyObject_Vectorcall(r66, r69, 1, 0) + if is_error(r70) goto L57 (error at _format_single_but_cache_checksums:393) else goto L51 +L51: + return r70 +L52: + r71 = 'Unknown type: ' + r72 = CPyStr_Build(2, r71, type_str) + if is_error(r72) goto L57 (error at _format_single_but_cache_checksums:394) else goto L53 +L53: + r73 = builtins :: module + r74 = 'TypeError' + r75 = CPyObject_GetAttr(r73, r74) + if is_error(r75) goto L60 (error at _format_single_but_cache_checksums:394) else goto L54 +L54: + r76 = [r72] + r77 = load_address r76 + r78 = PyObject_Vectorcall(r75, r77, 1, 0) + dec_ref r75 + if is_error(r78) goto L60 (error at _format_single_but_cache_checksums:394) else goto L55 +L55: + dec_ref r72 + CPy_Raise(r78) + dec_ref r78 + if not 0 goto L57 (error at _format_single_but_cache_checksums:394) else goto L56 :: bool +L56: + unreachable +L57: + r79 = :: object + return r79 +L58: + dec_ref r46 + goto L34 +L59: + dec_ref r46 + goto L57 +L60: + dec_ref r72 + goto L57 + +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 :: float + 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 :: dict + r26, r27 :: object + r28 :: str + r29 :: dict + r30, r31 :: object + r32 :: str + r33 :: dict + r34 :: object + r35, r36, r37, r38, r39 :: object_ptr + r40 :: object_ptr[5] + r41 :: c_ptr + r42 :: native_int[5] + r43 :: c_ptr + r44 :: object + r45 :: dict + r46, r47 :: str + r48 :: bit + r49 :: object + r50 :: str + r51 :: dict + r52, r53 :: object + r54 :: str + r55 :: dict + r56, r57 :: object + r58 :: str + r59 :: dict + r60, r61 :: object + r62 :: str + r63 :: dict + r64, r65 :: object + r66 :: str + r67 :: dict + r68, r69 :: object + r70 :: str + r71 :: dict + r72, r73 :: object + r74 :: str + r75 :: dict + r76, r77 :: object + r78 :: str + r79 :: dict + r80, r81 :: object + r82 :: str + r83 :: dict + r84, r85 :: object + r86 :: str + r87 :: dict + r88, r89 :: object + r90 :: str + r91 :: dict + r92, r93 :: object + r94 :: str + r95 :: dict + r96, r97 :: object + r98 :: str + r99 :: dict + r100, r101, r102 :: object + r103 :: str + r104 :: dict + r105, r106 :: object + r107 :: str + r108 :: dict + r109, r110 :: object + r111 :: str + r112 :: dict + r113, r114 :: object + r115 :: str + r116 :: dict + r117, r118 :: object + r119 :: str + r120 :: dict + r121, r122 :: object + r123 :: bool + r124 :: str + r125 :: object + r126 :: bool + r127 :: dict + r128 :: str + r129 :: i32 + r130 :: bit + r131 :: str + r132 :: dict + r133 :: str + r134 :: object + r135 :: object[1] + r136 :: object_ptr + r137 :: object + r138 :: dict + r139 :: str + r140 :: i32 + r141 :: bit + r142 :: str + r143 :: object + r144 :: dict + r145 :: str + r146 :: object + r147 :: object[2] + r148 :: object_ptr + r149 :: object + r150 :: dict + r151 :: str + r152 :: i32 + r153 :: bit + r154 :: dict + r155 :: str + r156 :: object + r157 :: dict + r158 :: str + r159, r160 :: object + r161 :: dict + r162 :: str + r163 :: i32 + r164 :: bit + r165 :: dict + r166 :: str + r167 :: object + r168 :: dict + r169 :: str + r170 :: object + r171 :: dict + r172 :: str + r173, r174 :: object + r175 :: dict + r176 :: str + r177 :: object + r178 :: dict + r179 :: str + r180, r181 :: object + r182 :: tuple[object, object] + r183, r184 :: object + r185 :: tuple[object, object] + r186, r187 :: object + r188 :: dict + r189 :: str + r190 :: i32 + r191 :: bit + r192 :: str + r193 :: dict + r194 :: str + r195, r196 :: object + r197 :: dict + r198 :: str + r199 :: object + r200 :: tuple[object, object] + r201, r202 :: object + r203 :: dict + r204 :: str + r205 :: object + r206 :: object[2] + r207 :: object_ptr + r208 :: object + r209 :: dict + r210 :: str + r211 :: i32 + r212 :: bit + r213 :: object + r214 :: str + r215 :: object + r216 :: dict + r217 :: str + r218 :: i32 + r219 :: bit + r220 :: dict + r221 :: str + r222 :: object + r223 :: str + r224 :: object + r225 :: dict + r226 :: str + r227 :: i32 + r228 :: bit + r229 :: dict + r230 :: str + r231 :: object + r232 :: str + r233 :: object + r234 :: str + r235 :: object + r236 :: str + r237 :: object + r238 :: dict + r239 :: str + r240 :: i32 + r241 :: bit + r242 :: dict + r243 :: str + r244 :: object + r245 :: str + r246 :: object + r247 :: str + r248 :: object + r249 :: str + r250 :: object + r251 :: dict + r252 :: str + r253 :: i32 + r254 :: bit + r255 :: dict + r256 :: str + r257 :: object + r258 :: str + r259 :: object + r260 :: str + r261 :: object + r262 :: str + r263 :: object + r264 :: dict + r265 :: str + r266 :: i32 + r267 :: bit + r268 :: dict + r269 :: str + r270 :: object + r271 :: str + r272 :: object + r273 :: str + r274 :: object + r275 :: str + r276 :: object + r277 :: dict + r278 :: str + r279 :: i32 + r280 :: bit + r281 :: dict + r282 :: str + r283 :: object + r284 :: str + r285 :: object + r286 :: dict + r287 :: str + r288 :: i32 + r289 :: bit + r290 :: dict + r291 :: str + r292 :: object + r293 :: str + r294 :: object + r295 :: str + r296 :: object + r297 :: str + r298 :: object + r299 :: dict + r300 :: str + r301 :: i32 + r302 :: bit + r303 :: dict + r304 :: str + r305 :: object + r306 :: str + r307 :: object + r308 :: str + r309 :: object + r310 :: str + r311 :: object + r312 :: dict + r313 :: str + r314 :: i32 + r315 :: bit + r316 :: dict + r317 :: str + r318 :: object + r319 :: str + r320 :: object + r321 :: str + r322 :: object + r323 :: str + r324 :: object + r325 :: dict + r326 :: str + r327 :: i32 + r328 :: bit + r329 :: dict + r330 :: str + r331 :: object + r332 :: str + r333 :: object + r334 :: str + r335 :: object + r336 :: str + r337 :: object + r338 :: dict + r339 :: str + r340 :: i32 + r341 :: bit + r342 :: dict + r343 :: str + r344 :: object + r345 :: str + r346 :: object + r347 :: str + r348 :: object + r349 :: str + r350 :: object + r351 :: dict + r352 :: str + r353 :: i32 + r354 :: bit + r355 :: dict + r356 :: str + r357 :: object + r358 :: str + r359 :: object + r360 :: str + r361 :: object + r362 :: str + r363 :: object + r364 :: dict + r365 :: str + r366 :: i32 + r367 :: bit + r368 :: dict + r369 :: str + r370 :: object + r371 :: str + r372 :: object + r373 :: str + r374 :: object + r375 :: str + r376 :: object + r377 :: dict + r378 :: str + r379 :: i32 + r380 :: bit + r381 :: dict + r382 :: str + r383 :: object + r384 :: str + r385 :: object + r386 :: bool + r387 :: object[1] + r388 :: object_ptr + r389 :: object + r390 :: dict + r391 :: str + r392 :: i32 + r393 :: bit + r394 :: dank_mids.brownie_patch.call.__mypyc_lambda__0_obj + r395 :: dict + r396 :: str + r397 :: i32 + r398 :: bit + r399 :: dank_mids.brownie_patch.call.__mypyc_lambda__1_obj + r400 :: dict + r401 :: str + r402 :: i32 + r403 :: bit + r404 :: dict + r405 :: str + r406 :: object + r407 :: str + r408 :: object + r409 :: dict + r410 :: str + r411 :: i32 + r412 :: bit + r413 :: dict + r414 :: str + r415 :: object + r416 :: dict + r417 :: str + r418 :: object + r419 :: object[1] + r420 :: object_ptr + r421 :: object + r422 :: dict + r423 :: str + r424 :: i32 + r425 :: bit + r426 :: dict + r427 :: str + r428 :: object + r429 :: str + r430 :: object + r431 :: dict + r432 :: str + r433 :: i32 + r434 :: bit + r435 :: dict + r436 :: str + r437 :: object + r438 :: str + r439 :: object + r440 :: dict + r441 :: str + r442 :: i32 + r443 :: bit + r444 :: str + r445 :: set + r446 :: i32 + r447 :: bit + r448 :: dict + r449 :: str + r450 :: i32 + r451 :: bit + r452 :: dict + r453 :: str + r454 :: object + r455 :: str + r456 :: object + r457 :: dict + r458 :: str + r459 :: i32 + r460 :: bit + r461 :: tuple[object, object, object] + r462 :: object + r463 :: str + r464 :: object + r465 :: bit + r466 :: dict + r467 :: str + r468 :: object + r469 :: i32 + r470 :: bit + r471 :: str + r472 :: dict + r473 :: str + r474 :: object + r475 :: str + r476 :: i32 + r477 :: bit + r478, r479 :: bool + r480 :: bit + r481 :: dict + r482 :: str + r483 :: object + r484 :: dict + r485 :: str + r486 :: object + r487 :: str + r488 :: object + r489 :: object[3] + r490 :: object_ptr + r491 :: object + r492 :: dict + r493 :: str + r494 :: i32 + r495 :: bit + r496 :: i32 + r497 :: bit + r498 :: bool + r499 :: dict + r500 :: str + r501 :: object + r502 :: set + r503 :: dict + r504 :: str + r505, r506 :: object + r507 :: bool + r508 :: object[1] + r509 :: object_ptr + r510 :: object + r511 :: i32 + r512 :: bit + r513 :: dict + r514 :: str + r515 :: object + r516 :: dict + r517 :: str + r518 :: object + r519 :: str + r520 :: object + r521 :: str + r522 :: object + r523 :: str + r524 :: i32 + r525 :: bit + r526 :: dict + r527 :: str + r528 :: object + r529 :: dict + r530 :: str + r531 :: object + r532 :: str + r533 :: object + r534 :: str + r535 :: object + r536 :: str + r537 :: i32 + r538 :: bit + r539 :: dict + r540 :: str + r541 :: object + r542 :: dict + r543 :: str + r544 :: object + r545 :: str + r546 :: object + r547 :: str + r548 :: object + r549 :: str + r550 :: i32 + r551 :: bit + r552 :: dict + r553 :: str + r554 :: object + r555 :: dict + r556 :: str + r557 :: object + r558 :: str + r559 :: object + r560 :: str + r561 :: object + r562 :: str + r563 :: i32 + r564 :: bit + r565 :: dict + r566 :: str + r567 :: object + r568 :: dict + r569 :: str + r570 :: object + r571 :: str + r572 :: object + r573 :: str + r574 :: object + r575 :: str + r576 :: i32 + r577 :: bit + r578 :: None L0: - r0 = 'response' - r1 = CPyObject_GetAttr(self, r0) - if is_error(r1) goto L7 (error at try_again_in:168) 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:168) else goto L2 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L208 (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:168) 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:168) else goto L4 + 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 L208 else goto L4 :: bool L4: - r8 = unbox(float, r7) - dec_ref r7 - r9 = r8 == -113.0 - if r9 goto L6 else goto L5 :: bool + 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 L208 (error at :2) else goto L5 L5: - return r8 + 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 L208 (error at :3) else goto L6 L6: - r10 = PyErr_Occurred() - if not is_error(r10) goto L7 (error at try_again_in:168) else goto L5 + 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 L208 (error at :4) else goto L7 L7: - r11 = :: float - return r11 + pickle = r26 :: module + dec_ref r26 + r27 = ('MethodType',) + r28 = 'types' + r29 = dank_mids.brownie_patch.call.globals :: static + r30 = CPyImport_ImportFromMany(r28, r27, r27, r29) + if is_error(r30) goto L208 (error at :5) else goto L8 +L8: + types = r30 :: module + dec_ref r30 + r31 = ('TYPE_CHECKING', '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 L208 (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 faster_eth_abi :: module + r39 = load_address hexbytes :: module + r40 = [r35, r36, r37, r38, r39] + r41 = load_address r40 + r42 = [21, 22, 23, 24, 25] + r43 = load_address r42 + r44 = (('brownie.convert.datatypes', 'brownie', 'brownie'), ('brownie.convert.normalize', 'brownie', 'brownie'), ('brownie.network.contract', 'brownie', 'brownie'), ('faster_eth_abi', 'faster_eth_abi', 'faster_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 L208 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 L208 (error at :26) 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 L208 (error at :27) 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 L208 (error at :28) 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 L208 (error at :29) 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 L208 (error at :30) 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 L208 (error at :31) 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 L208 (error at :32) else goto L17 +L17: + brownie.project.compiler.solidity = r76 :: module + dec_ref r76 + r77 = ('DecodingError', 'InsufficientDataBytes') + r78 = 'faster_eth_abi.exceptions' + r79 = dank_mids.brownie_patch.call.globals :: static + r80 = CPyImport_ImportFromMany(r78, r77, r77, r79) + if is_error(r80) goto L208 (error at :33) else goto L18 +L18: + faster_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 L208 (error at :34) 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 L208 (error at :35) 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 L208 (error at :36) 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 L208 (error at :37) 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 L208 (error at :38) else goto L23 +L23: + web3.types = r100 :: module + dec_ref r100 + r101 = ('ENVIRONMENT_VARIABLES',) + r102 = ('ENVS',) + r103 = 'dank_mids' + r104 = dank_mids.brownie_patch.call.globals :: static + r105 = CPyImport_ImportFromMany(r103, r101, r102, r104) + if is_error(r105) goto L208 (error at :40) else goto L24 +L24: + dank_mids = r105 :: module + dec_ref r105 + r106 = ('exceptions',) + r107 = 'dank_mids' + r108 = dank_mids.brownie_patch.call.globals :: static + r109 = CPyImport_ImportFromMany(r107, r106, r106, r108) + if is_error(r109) goto L208 (error at :41) else goto L25 +L25: + dank_mids = r109 :: module + dec_ref r109 + r110 = ('getLogger',) + r111 = 'dank_mids._logging' + r112 = dank_mids.brownie_patch.call.globals :: static + r113 = CPyImport_ImportFromMany(r111, r110, r110, r112) + if is_error(r113) goto L208 (error at :42) else goto L26 +L26: + dank_mids._logging = r113 :: module + dec_ref r113 + r114 = ('lru_cache_lite_nonull',) + r115 = 'dank_mids.helpers.lru_cache' + r116 = dank_mids.brownie_patch.call.globals :: static + r117 = CPyImport_ImportFromMany(r115, r114, r114, r116) + if is_error(r117) goto L208 (error at :43) else goto L27 +L27: + dank_mids.helpers.lru_cache = r117 :: module + dec_ref r117 + r118 = ('DankWeb3',) + r119 = 'dank_mids.helpers._helpers' + r120 = dank_mids.brownie_patch.call.globals :: static + r121 = CPyImport_ImportFromMany(r119, r118, r118, r120) + if is_error(r121) goto L208 (error at :44) else goto L28 +L28: + dank_mids.helpers._helpers = r121 :: module + dec_ref r121 + if 0 goto L29 else goto L29 :: bool +L29: + r122 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static + if is_error(r122) goto L30 else goto L32 +L30: + r123 = raise NameError('value for final name "OPERATION_MODE" was not set') + if not r123 goto L208 (error at :50) else goto L31 :: bool +L31: + unreachable +L32: + r124 = 'application' + r125 = CPyObject_GetAttr(r122, r124) + if is_error(r125) goto L208 (error at :50) else goto L33 +L33: + r126 = unbox(bool, r125) + if is_error(r126) goto L209 (error at :50) else goto L34 +L34: + dank_mids.brownie_patch.call.APPLICATION_MODE = r126 :: static + r127 = dank_mids.brownie_patch.call.globals :: static + r128 = 'APPLICATION_MODE' + r129 = CPyDict_SetItem(r127, r128, r125) + dec_ref r125 + r130 = r129 >= 0 :: signed + if not r130 goto L208 (error at :50) else goto L35 :: bool +L35: + r131 = '_T' + r132 = dank_mids.brownie_patch.call.globals :: static + r133 = 'TypeVar' + r134 = CPyDict_GetItem(r132, r133) + if is_error(r134) goto L208 (error at :53) else goto L36 +L36: + r135 = [r131] + r136 = load_address r135 + r137 = PyObject_Vectorcall(r134, r136, 1, 0) + dec_ref r134 + if is_error(r137) goto L208 (error at :53) else goto L37 +L37: + r138 = dank_mids.brownie_patch.call.globals :: static + r139 = '_T' + r140 = CPyDict_SetItem(r138, r139, r137) + dec_ref r137 + r141 = r140 >= 0 :: signed + if not r141 goto L208 (error at :53) else goto L38 :: bool +L38: + r142 = 'TypeStr' + r143 = load_address PyUnicode_Type + r144 = dank_mids.brownie_patch.call.globals :: static + r145 = 'NewType' + r146 = CPyDict_GetItem(r144, r145) + if is_error(r146) goto L208 (error at :54) else goto L39 +L39: + r147 = [r142, r143] + r148 = load_address r147 + r149 = PyObject_Vectorcall(r146, r148, 2, 0) + dec_ref r146 + if is_error(r149) goto L208 (error at :54) else goto L40 +L40: + r150 = dank_mids.brownie_patch.call.globals :: static + r151 = 'TypeStr' + r152 = CPyDict_SetItem(r150, r151, r149) + dec_ref r149 + r153 = r152 >= 0 :: signed + if not r153 goto L208 (error at :54) else goto L41 :: bool +L41: + r154 = dank_mids.brownie_patch.call.globals :: static + r155 = 'List' + r156 = CPyDict_GetItem(r154, r155) + if is_error(r156) goto L208 (error at :55) else goto L42 +L42: + r157 = dank_mids.brownie_patch.call.globals :: static + r158 = 'TypeStr' + r159 = CPyDict_GetItem(r157, r158) + if is_error(r159) goto L210 (error at :55) else goto L43 +L43: + r160 = PyObject_GetItem(r156, r159) + dec_ref r156 + dec_ref r159 + if is_error(r160) goto L208 (error at :55) else goto L44 +L44: + r161 = dank_mids.brownie_patch.call.globals :: static + r162 = 'TypeStrs' + r163 = CPyDict_SetItem(r161, r162, r160) + dec_ref r160 + r164 = r163 >= 0 :: signed + if not r164 goto L208 (error at :55) else goto L45 :: bool +L45: + r165 = dank_mids.brownie_patch.call.globals :: static + r166 = 'Union' + r167 = CPyDict_GetItem(r165, r166) + if is_error(r167) goto L208 (error at :56) else goto L46 +L46: + r168 = dank_mids.brownie_patch.call.globals :: static + r169 = 'List' + r170 = CPyDict_GetItem(r168, r169) + if is_error(r170) goto L211 (error at :56) else goto L47 +L47: + r171 = dank_mids.brownie_patch.call.globals :: static + r172 = '_T' + r173 = CPyDict_GetItem(r171, r172) + if is_error(r173) goto L212 (error at :56) else goto L48 +L48: + r174 = PyObject_GetItem(r170, r173) + dec_ref r170 + dec_ref r173 + if is_error(r174) goto L211 (error at :56) else goto L49 +L49: + r175 = dank_mids.brownie_patch.call.globals :: static + r176 = 'Tuple' + r177 = CPyDict_GetItem(r175, r176) + if is_error(r177) goto L213 (error at :56) else goto L50 +L50: + r178 = dank_mids.brownie_patch.call.globals :: static + r179 = '_T' + r180 = CPyDict_GetItem(r178, r179) + if is_error(r180) goto L214 (error at :56) else goto L51 +L51: + r181 = load_address _Py_EllipsisObject + inc_ref r181 + r182 = (r180, r181) + r183 = box(tuple[object, object], r182) + r184 = PyObject_GetItem(r177, r183) + dec_ref r177 + dec_ref r183 + if is_error(r184) goto L213 (error at :56) else goto L52 +L52: + r185 = (r174, r184) + r186 = box(tuple[object, object], r185) + r187 = PyObject_GetItem(r167, r186) + dec_ref r167 + dec_ref r186 + if is_error(r187) goto L208 (error at :56) else goto L53 +L53: + r188 = dank_mids.brownie_patch.call.globals :: static + r189 = 'ListOrTuple' + r190 = CPyDict_SetItem(r188, r189, r187) + dec_ref r187 + r191 = r190 >= 0 :: signed + if not r191 goto L208 (error at :56) else goto L54 :: bool +L54: + r192 = 'AbiDict' + r193 = dank_mids.brownie_patch.call.globals :: static + r194 = 'Dict' + r195 = CPyDict_GetItem(r193, r194) + if is_error(r195) goto L208 (error at :57) else goto L55 +L55: + r196 = load_address PyUnicode_Type + r197 = dank_mids.brownie_patch.call.globals :: static + r198 = 'Any' + r199 = CPyDict_GetItem(r197, r198) + if is_error(r199) goto L215 (error at :57) else goto L56 +L56: + inc_ref r196 + r200 = (r196, r199) + r201 = box(tuple[object, object], r200) + r202 = PyObject_GetItem(r195, r201) + dec_ref r195 + dec_ref r201 + if is_error(r202) goto L208 (error at :57) else goto L57 +L57: + r203 = dank_mids.brownie_patch.call.globals :: static + r204 = 'NewType' + r205 = CPyDict_GetItem(r203, r204) + if is_error(r205) goto L216 (error at :57) else goto L58 +L58: + r206 = [r192, r202] + r207 = load_address r206 + r208 = PyObject_Vectorcall(r205, r207, 2, 0) + dec_ref r205 + if is_error(r208) goto L216 (error at :57) else goto L59 +L59: + dec_ref r202 + r209 = dank_mids.brownie_patch.call.globals :: static + r210 = 'AbiDict' + r211 = CPyDict_SetItem(r209, r210, r208) + dec_ref r208 + r212 = r211 >= 0 :: signed + if not r212 goto L208 (error at :57) else goto L60 :: bool +L60: + r213 = decimal :: module + r214 = 'Decimal' + r215 = CPyObject_GetAttr(r213, r214) + if is_error(r215) goto L208 (error at :61) else goto L61 +L61: + dank_mids.brownie_patch.call.Decimal = r215 :: static + r216 = dank_mids.brownie_patch.call.globals :: static + r217 = 'Decimal' + r218 = CPyDict_SetItem(r216, r217, r215) + dec_ref r215 + r219 = r218 >= 0 :: signed + if not r219 goto L208 (error at :61) else goto L62 :: bool +L62: + r220 = dank_mids.brownie_patch.call.globals :: static + r221 = 'hexbytes' + r222 = CPyDict_GetItem(r220, r221) + if is_error(r222) goto L208 (error at :62) else goto L63 +L63: + r223 = 'HexBytes' + r224 = CPyObject_GetAttr(r222, r223) + dec_ref r222 + if is_error(r224) goto L208 (error at :62) else goto L64 +L64: + dank_mids.brownie_patch.call.HexBytes = r224 :: static + r225 = dank_mids.brownie_patch.call.globals :: static + r226 = 'HexBytes' + r227 = CPyDict_SetItem(r225, r226, r224) + dec_ref r224 + r228 = r227 >= 0 :: signed + if not r228 goto L208 (error at :62) else goto L65 :: bool +L65: + r229 = dank_mids.brownie_patch.call.globals :: static + r230 = 'brownie' + r231 = CPyDict_GetItem(r229, r230) + if is_error(r231) goto L208 (error at :63) else goto L66 +L66: + r232 = 'network' + r233 = CPyObject_GetAttr(r231, r232) + dec_ref r231 + if is_error(r233) goto L208 (error at :63) else goto L67 +L67: + r234 = 'contract' + r235 = CPyObject_GetAttr(r233, r234) + dec_ref r233 + if is_error(r235) goto L208 (error at :63) else goto L68 +L68: + r236 = 'Contract' + r237 = CPyObject_GetAttr(r235, r236) + dec_ref r235 + if is_error(r237) goto L208 (error at :63) else goto L69 +L69: + dank_mids.brownie_patch.call.Contract = r237 :: static + r238 = dank_mids.brownie_patch.call.globals :: static + r239 = 'Contract' + r240 = CPyDict_SetItem(r238, r239, r237) + dec_ref r237 + r241 = r240 >= 0 :: signed + if not r241 goto L208 (error at :63) else goto L70 :: bool +L70: + r242 = dank_mids.brownie_patch.call.globals :: static + r243 = 'brownie' + r244 = CPyDict_GetItem(r242, r243) + if is_error(r244) goto L208 (error at :64) else goto L71 +L71: + r245 = 'convert' + r246 = CPyObject_GetAttr(r244, r245) + dec_ref r244 + if is_error(r246) goto L208 (error at :64) else goto L72 +L72: + r247 = 'datatypes' + r248 = CPyObject_GetAttr(r246, r247) + dec_ref r246 + if is_error(r248) goto L208 (error at :64) else goto L73 +L73: + r249 = 'ReturnValue' + r250 = CPyObject_GetAttr(r248, r249) + dec_ref r248 + if is_error(r250) goto L208 (error at :64) else goto L74 +L74: + dank_mids.brownie_patch.call.ReturnValue = r250 :: static + r251 = dank_mids.brownie_patch.call.globals :: static + r252 = 'ReturnValue' + r253 = CPyDict_SetItem(r251, r252, r250) + dec_ref r250 + r254 = r253 >= 0 :: signed + if not r254 goto L208 (error at :64) else goto L75 :: bool +L75: + r255 = dank_mids.brownie_patch.call.globals :: static + r256 = 'brownie' + r257 = CPyDict_GetItem(r255, r256) + if is_error(r257) goto L208 (error at :65) else goto L76 +L76: + r258 = 'convert' + r259 = CPyObject_GetAttr(r257, r258) + dec_ref r257 + if is_error(r259) goto L208 (error at :65) else goto L77 +L77: + r260 = 'normalize' + r261 = CPyObject_GetAttr(r259, r260) + dec_ref r259 + if is_error(r261) goto L208 (error at :65) else goto L78 +L78: + r262 = 'HexString' + r263 = CPyObject_GetAttr(r261, r262) + dec_ref r261 + if is_error(r263) goto L208 (error at :65) else goto L79 +L79: + dank_mids.brownie_patch.call.HexString = r263 :: static + r264 = dank_mids.brownie_patch.call.globals :: static + r265 = 'HexString' + r266 = CPyDict_SetItem(r264, r265, r263) + dec_ref r263 + r267 = r266 >= 0 :: signed + if not r267 goto L208 (error at :65) else goto L80 :: bool +L80: + r268 = dank_mids.brownie_patch.call.globals :: static + r269 = 'brownie' + r270 = CPyDict_GetItem(r268, r269) + if is_error(r270) goto L208 (error at :66) else goto L81 +L81: + r271 = 'convert' + r272 = CPyObject_GetAttr(r270, r271) + dec_ref r270 + if is_error(r272) goto L208 (error at :66) else goto L82 +L82: + r273 = 'normalize' + r274 = CPyObject_GetAttr(r272, r273) + dec_ref r272 + if is_error(r274) goto L208 (error at :66) else goto L83 +L83: + r275 = 'TupleType' + r276 = CPyObject_GetAttr(r274, r275) + dec_ref r274 + if is_error(r276) goto L208 (error at :66) else goto L84 +L84: + dank_mids.brownie_patch.call.TupleType = r276 :: static + r277 = dank_mids.brownie_patch.call.globals :: static + r278 = 'TupleType' + r279 = CPyDict_SetItem(r277, r278, r276) + dec_ref r276 + r280 = r279 >= 0 :: signed + if not r280 goto L208 (error at :66) else goto L85 :: bool +L85: + r281 = dank_mids.brownie_patch.call.globals :: static + r282 = 'exceptions' + r283 = CPyDict_GetItem(r281, r282) + if is_error(r283) goto L208 (error at :68) else goto L86 +L86: + r284 = 'Revert' + r285 = CPyObject_GetAttr(r283, r284) + dec_ref r283 + if is_error(r285) goto L208 (error at :68) else goto L87 +L87: + dank_mids.brownie_patch.call.Revert = r285 :: static + r286 = dank_mids.brownie_patch.call.globals :: static + r287 = 'Revert' + r288 = CPyDict_SetItem(r286, r287, r285) + dec_ref r285 + r289 = r288 >= 0 :: signed + if not r289 goto L208 (error at :68) else goto L88 :: bool +L88: + r290 = dank_mids.brownie_patch.call.globals :: static + r291 = 'brownie' + r292 = CPyDict_GetItem(r290, r291) + if is_error(r292) goto L208 (error at :70) else goto L89 +L89: + r293 = 'convert' + r294 = CPyObject_GetAttr(r292, r293) + dec_ref r292 + if is_error(r294) goto L208 (error at :70) else goto L90 +L90: + r295 = 'normalize' + r296 = CPyObject_GetAttr(r294, r295) + dec_ref r294 + if is_error(r296) goto L208 (error at :70) else goto L91 +L91: + r297 = 'to_bool' + r298 = CPyObject_GetAttr(r296, r297) + dec_ref r296 + if is_error(r298) goto L208 (error at :70) else goto L92 +L92: + dank_mids.brownie_patch.call.to_bool = r298 :: static + r299 = dank_mids.brownie_patch.call.globals :: static + r300 = 'to_bool' + r301 = CPyDict_SetItem(r299, r300, r298) + dec_ref r298 + r302 = r301 >= 0 :: signed + if not r302 goto L208 (error at :70) else goto L93 :: bool +L93: + r303 = dank_mids.brownie_patch.call.globals :: static + r304 = 'brownie' + r305 = CPyDict_GetItem(r303, r304) + if is_error(r305) goto L208 (error at :71) else goto L94 +L94: + r306 = 'convert' + r307 = CPyObject_GetAttr(r305, r306) + dec_ref r305 + if is_error(r307) goto L208 (error at :71) else goto L95 +L95: + r308 = 'normalize' + r309 = CPyObject_GetAttr(r307, r308) + dec_ref r307 + if is_error(r309) goto L208 (error at :71) else goto L96 +L96: + r310 = 'to_decimal' + r311 = CPyObject_GetAttr(r309, r310) + dec_ref r309 + if is_error(r311) goto L208 (error at :71) else goto L97 +L97: + dank_mids.brownie_patch.call.to_decimal = r311 :: static + r312 = dank_mids.brownie_patch.call.globals :: static + r313 = 'to_decimal' + r314 = CPyDict_SetItem(r312, r313, r311) + dec_ref r311 + r315 = r314 >= 0 :: signed + if not r315 goto L208 (error at :71) else goto L98 :: bool +L98: + r316 = dank_mids.brownie_patch.call.globals :: static + r317 = 'brownie' + r318 = CPyDict_GetItem(r316, r317) + if is_error(r318) goto L208 (error at :72) else goto L99 +L99: + r319 = 'convert' + r320 = CPyObject_GetAttr(r318, r319) + dec_ref r318 + if is_error(r320) goto L208 (error at :72) else goto L100 +L100: + r321 = 'normalize' + r322 = CPyObject_GetAttr(r320, r321) + dec_ref r320 + if is_error(r322) goto L208 (error at :72) else goto L101 +L101: + r323 = 'to_int' + r324 = CPyObject_GetAttr(r322, r323) + dec_ref r322 + if is_error(r324) goto L208 (error at :72) else goto L102 +L102: + dank_mids.brownie_patch.call.to_int = r324 :: static + r325 = dank_mids.brownie_patch.call.globals :: static + r326 = 'to_int' + r327 = CPyDict_SetItem(r325, r326, r324) + dec_ref r324 + r328 = r327 >= 0 :: signed + if not r328 goto L208 (error at :72) else goto L103 :: bool +L103: + r329 = dank_mids.brownie_patch.call.globals :: static + r330 = 'brownie' + r331 = CPyDict_GetItem(r329, r330) + if is_error(r331) goto L208 (error at :73) else goto L104 +L104: + r332 = 'convert' + r333 = CPyObject_GetAttr(r331, r332) + dec_ref r331 + if is_error(r333) goto L208 (error at :73) else goto L105 +L105: + r334 = 'normalize' + r335 = CPyObject_GetAttr(r333, r334) + dec_ref r333 + if is_error(r335) goto L208 (error at :73) else goto L106 +L106: + r336 = 'to_string' + r337 = CPyObject_GetAttr(r335, r336) + dec_ref r335 + if is_error(r337) goto L208 (error at :73) else goto L107 +L107: + dank_mids.brownie_patch.call.to_string = r337 :: static + r338 = dank_mids.brownie_patch.call.globals :: static + r339 = 'to_string' + r340 = CPyDict_SetItem(r338, r339, r337) + dec_ref r337 + r341 = r340 >= 0 :: signed + if not r341 goto L208 (error at :73) else goto L108 :: bool +L108: + r342 = dank_mids.brownie_patch.call.globals :: static + r343 = 'brownie' + r344 = CPyDict_GetItem(r342, r343) + if is_error(r344) goto L208 (error at :74) else goto L109 +L109: + r345 = 'convert' + r346 = CPyObject_GetAttr(r344, r345) + dec_ref r344 + if is_error(r346) goto L208 (error at :74) else goto L110 +L110: + r347 = 'normalize' + r348 = CPyObject_GetAttr(r346, r347) + dec_ref r346 + if is_error(r348) goto L208 (error at :74) else goto L111 +L111: + r349 = 'to_uint' + r350 = CPyObject_GetAttr(r348, r349) + dec_ref r348 + if is_error(r350) goto L208 (error at :74) else goto L112 +L112: + dank_mids.brownie_patch.call.to_uint = r350 :: static + r351 = dank_mids.brownie_patch.call.globals :: static + r352 = 'to_uint' + r353 = CPyDict_SetItem(r351, r352, r350) + dec_ref r350 + r354 = r353 >= 0 :: signed + if not r354 goto L208 (error at :74) else goto L113 :: bool +L113: + r355 = dank_mids.brownie_patch.call.globals :: static + r356 = 'brownie' + r357 = CPyDict_GetItem(r355, r356) + if is_error(r357) goto L208 (error at :75) else goto L114 +L114: + r358 = 'convert' + r359 = CPyObject_GetAttr(r357, r358) + dec_ref r357 + if is_error(r359) goto L208 (error at :75) else goto L115 +L115: + r360 = 'normalize' + r361 = CPyObject_GetAttr(r359, r360) + dec_ref r359 + if is_error(r361) goto L208 (error at :75) else goto L116 +L116: + r362 = '_check_array' + r363 = CPyObject_GetAttr(r361, r362) + dec_ref r361 + if is_error(r363) goto L208 (error at :75) else goto L117 +L117: + dank_mids.brownie_patch.call._check_array = r363 :: static + r364 = dank_mids.brownie_patch.call.globals :: static + r365 = '_check_array' + r366 = CPyDict_SetItem(r364, r365, r363) + dec_ref r363 + r367 = r366 >= 0 :: signed + if not r367 goto L208 (error at :75) else goto L118 :: bool +L118: + r368 = dank_mids.brownie_patch.call.globals :: static + r369 = 'brownie' + r370 = CPyDict_GetItem(r368, r369) + if is_error(r370) goto L208 (error at :76) else goto L119 +L119: + r371 = 'convert' + r372 = CPyObject_GetAttr(r370, r371) + dec_ref r370 + if is_error(r372) goto L208 (error at :76) else goto L120 +L120: + r373 = 'normalize' + r374 = CPyObject_GetAttr(r372, r373) + dec_ref r372 + if is_error(r374) goto L208 (error at :76) else goto L121 +L121: + r375 = '_get_abi_types' + r376 = CPyObject_GetAttr(r374, r375) + dec_ref r374 + if is_error(r376) goto L208 (error at :76) else goto L122 +L122: + dank_mids.brownie_patch.call._get_abi_types = r376 :: static + r377 = dank_mids.brownie_patch.call.globals :: static + r378 = '_get_abi_types' + r379 = CPyDict_SetItem(r377, r378, r376) + dec_ref r376 + r380 = r379 >= 0 :: signed + if not r380 goto L208 (error at :76) else goto L123 :: bool +L123: + r381 = dank_mids.brownie_patch.call.globals :: static + r382 = '__name__' + r383 = CPyDict_GetItem(r381, r382) + if is_error(r383) goto L208 (error at :79) else goto L124 +L124: + r384 = cast(str, r383) + if is_error(r384) goto L208 (error at :79) else goto L125 +L125: + r385 = dank_mids._logging.getLogger :: static + if is_error(r385) goto L217 else goto L128 +L126: + r386 = raise NameError('value for final name "getLogger" was not set') + if not r386 goto L208 (error at :79) else goto L127 :: bool +L127: + unreachable +L128: + r387 = [r384] + r388 = load_address r387 + r389 = PyObject_Vectorcall(r385, r388, 1, 0) + if is_error(r389) goto L218 (error at :79) else goto L129 +L129: + dec_ref r384 + dank_mids.brownie_patch.call.logger = r389 :: static + r390 = dank_mids.brownie_patch.call.globals :: static + r391 = 'logger' + r392 = CPyDict_SetItem(r390, r391, r389) + dec_ref r389 + r393 = r392 >= 0 :: signed + if not r393 goto L208 (error at :79) else goto L130 :: bool +L130: + r394 = __mypyc_lambda__0_obj() + if is_error(r394) goto L208 (error at :82) else goto L131 +L131: + dank_mids.brownie_patch.call.encode = r394 :: static + r395 = dank_mids.brownie_patch.call.globals :: static + r396 = 'encode' + r397 = CPyDict_SetItem(r395, r396, r394) + dec_ref r394 + r398 = r397 >= 0 :: signed + if not r398 goto L208 (error at :82) else goto L132 :: bool +L132: + r399 = __mypyc_lambda__1_obj() + if is_error(r399) goto L208 (error at :101) else goto L133 +L133: + dank_mids.brownie_patch.call.decode = r399 :: static + r400 = dank_mids.brownie_patch.call.globals :: static + r401 = 'decode' + r402 = CPyDict_SetItem(r400, r401, r399) + dec_ref r399 + r403 = r402 >= 0 :: signed + if not r403 goto L208 (error at :101) else goto L134 :: bool +L134: + r404 = dank_mids.brownie_patch.call.globals :: static + r405 = 'Address' + r406 = CPyDict_GetItem(r404, r405) + if is_error(r406) goto L208 (error at :122) else goto L135 +L135: + r407 = 'checksum' + r408 = CPyObject_GetAttr(r406, r407) + dec_ref r406 + if is_error(r408) goto L208 (error at :122) else goto L136 +L136: + dank_mids.brownie_patch.call.to_checksum_address = r408 :: static + r409 = dank_mids.brownie_patch.call.globals :: static + r410 = 'to_checksum_address' + r411 = CPyDict_SetItem(r409, r410, r408) + dec_ref r408 + r412 = r411 >= 0 :: signed + if not r412 goto L208 (error at :122) else goto L137 :: bool +L137: + r413 = dank_mids.brownie_patch.call.globals :: static + r414 = '_get_coroutine_fn' + r415 = CPyDict_GetItem(r413, r414) + if is_error(r415) goto L208 (error at :140) else goto L138 +L138: + r416 = dank_mids.brownie_patch.call.globals :: static + r417 = 'lru_cache_lite_nonull' + r418 = CPyDict_GetItem(r416, r417) + if is_error(r418) goto L219 (error at :140) else goto L139 +L139: + r419 = [r415] + r420 = load_address r419 + r421 = PyObject_Vectorcall(r418, r420, 1, 0) + dec_ref r418 + if is_error(r421) goto L219 (error at :140) else goto L140 +L140: + dec_ref r415 + r422 = dank_mids.brownie_patch.call.globals :: static + r423 = '_get_coroutine_fn' + r424 = PyDict_SetItem(r422, r423, r421) + dec_ref r421 + r425 = r424 >= 0 :: signed + if not r425 goto L208 (error at :140) else goto L141 :: bool +L141: + r426 = dank_mids.brownie_patch.call.globals :: static + r427 = 'faster_eth_abi' + r428 = CPyDict_GetItem(r426, r427) + if is_error(r428) goto L208 (error at :252) else goto L142 +L142: + r429 = 'encode' + r430 = CPyObject_GetAttr(r428, r429) + dec_ref r428 + if is_error(r430) goto L208 (error at :252) else goto L143 +L143: + dank_mids.brownie_patch.call.__eth_abi_encode = r430 :: static + r431 = dank_mids.brownie_patch.call.globals :: static + r432 = '__eth_abi_encode' + r433 = CPyDict_SetItem(r431, r432, r430) + dec_ref r430 + r434 = r433 >= 0 :: signed + if not r434 goto L208 (error at :252) else goto L144 :: bool +L144: + r435 = dank_mids.brownie_patch.call.globals :: static + r436 = 'faster_eth_abi' + r437 = CPyDict_GetItem(r435, r436) + if is_error(r437) goto L208 (error at :254) else goto L145 +L145: + r438 = 'decode' + r439 = CPyObject_GetAttr(r437, r438) + dec_ref r437 + if is_error(r439) goto L208 (error at :254) else goto L146 +L146: + dank_mids.brownie_patch.call.__eth_abi_decode = r439 :: static + r440 = dank_mids.brownie_patch.call.globals :: static + r441 = '__eth_abi_decode' + r442 = CPyDict_SetItem(r440, r441, r439) + dec_ref r439 + r443 = r442 >= 0 :: signed + if not r443 goto L208 (error at :254) else goto L147 :: bool +L147: + r444 = '0xcA11bde05977b3631167028862bE2a173976CA11' + r445 = PySet_New(0) + if is_error(r445) goto L208 (error at :267) else goto L148 +L148: + r446 = PySet_Add(r445, r444) + r447 = r446 >= 0 :: signed + if not r447 goto L220 (error at :267) else goto L149 :: bool +L149: + r448 = dank_mids.brownie_patch.call.globals :: static + r449 = '_skip_proc_pool' + r450 = CPyDict_SetItem(r448, r449, r445) + dec_ref r445 + r451 = r450 >= 0 :: signed + if not r451 goto L208 (error at :267) else goto L150 :: bool +L150: + if 1 goto L151 else goto L168 :: bool +L151: + r452 = dank_mids.brownie_patch.call.globals :: static + r453 = 'chain' + r454 = CPyDict_GetItem(r452, r453) + if is_error(r454) goto L154 (error at :271) else goto L152 +L152: + r455 = 'id' + r456 = CPyObject_GetAttr(r454, r455) + dec_ref r454 + if is_error(r456) goto L154 (error at :271) else goto L153 +L153: + r457 = dank_mids.brownie_patch.call.globals :: static + r458 = 'chainid' + r459 = CPyDict_SetItem(r457, r458, r456) + dec_ref r456 + r460 = r459 >= 0 :: signed + if not r460 goto L154 (error at :271) else goto L168 :: bool +L154: + r461 = CPy_CatchError() + r462 = builtins :: module + r463 = 'Exception' + r464 = CPyObject_GetAttr(r462, r463) + if is_error(r464) goto L166 (error at :273) else goto L155 +L155: + r465 = CPy_ExceptionMatches(r464) + dec_ref r464 + if r465 goto L156 else goto L163 :: bool +L156: + r466 = dank_mids.brownie_patch.call.globals :: static + r467 = 'e' + r468 = CPy_GetExcValue() + r469 = CPyDict_SetItem(r466, r467, r468) + dec_ref r468 + r470 = r469 >= 0 :: signed + if not r470 goto L166 (error at :273) else goto L157 :: bool +L157: + r471 = '429' + r472 = dank_mids.brownie_patch.call.globals :: static + r473 = 'e' + r474 = CPyDict_GetItem(r472, r473) + if is_error(r474) goto L166 (error at :274) else goto L158 +L158: + r475 = PyObject_Str(r474) + dec_ref r474 + if is_error(r475) goto L166 (error at :274) else goto L159 +L159: + r476 = PyUnicode_Contains(r475, r471) + dec_ref r475 + r477 = r476 >= 0 :: signed + if not r477 goto L166 (error at :274) else goto L160 :: bool +L160: + r478 = truncate r476: i32 to builtins.bool + r479 = r478 ^ 1 + if r479 goto L161 else goto L165 :: bool +L161: + CPy_Reraise() + if not 0 goto L166 else goto L221 :: bool +L162: + unreachable +L163: + CPy_Reraise() + if not 0 goto L166 else goto L222 :: bool +L164: + unreachable +L165: + CPy_RestoreExcInfo(r461) + dec_ref r461 + goto L150 +L166: + CPy_RestoreExcInfo(r461) + dec_ref r461 + r480 = CPy_KeepPropagating() + if not r480 goto L208 else goto L167 :: bool +L167: + unreachable +L168: + r481 = dank_mids.brownie_patch.call.globals :: static + r482 = 'MULTICALL2_ADDRESSES' + r483 = CPyDict_GetItem(r481, r482) + if is_error(r483) goto L208 (error at :276) else goto L169 +L169: + r484 = dank_mids.brownie_patch.call.globals :: static + r485 = 'chainid' + r486 = CPyDict_GetItem(r484, r485) + if is_error(r486) goto L223 (error at :276) else goto L170 +L170: + r487 = 'get' + r488 = box(None, 1) + r489 = [r483, r486, r488] + r490 = load_address r489 + r491 = PyObject_VectorcallMethod(r487, r490, 9223372036854775811, 0) + if is_error(r491) goto L224 (error at :276) else goto L171 +L171: + dec_ref r483 + dec_ref r486 + r492 = dank_mids.brownie_patch.call.globals :: static + r493 = 'multicall2' + r494 = CPyDict_SetItem(r492, r493, r491) + r495 = r494 >= 0 :: signed + if not r495 goto L225 (error at :276) else goto L172 :: bool +L172: + r496 = PyObject_IsTrue(r491) + dec_ref r491 + r497 = r496 >= 0 :: signed + if not r497 goto L208 (error at :276) else goto L173 :: bool +L173: + r498 = truncate r496: i32 to builtins.bool + if r498 goto L174 else goto L182 :: bool +L174: + r499 = dank_mids.brownie_patch.call.globals :: static + r500 = '_skip_proc_pool' + r501 = CPyDict_GetItem(r499, r500) + if is_error(r501) goto L208 (error at :277) else goto L175 +L175: + r502 = cast(set, r501) + if is_error(r502) goto L208 (error at :277) else goto L176 +L176: + r503 = dank_mids.brownie_patch.call.globals :: static + r504 = 'multicall2' + r505 = CPyDict_GetItem(r503, r504) + if is_error(r505) goto L226 (error at :277) else goto L177 +L177: + r506 = dank_mids.brownie_patch.call.to_checksum_address :: static + if is_error(r506) goto L227 else goto L180 +L178: + r507 = raise NameError('value for final name "to_checksum_address" was not set') + if not r507 goto L208 (error at :277) else goto L179 :: bool +L179: + unreachable +L180: + r508 = [r505] + r509 = load_address r508 + r510 = PyObject_Vectorcall(r506, r509, 1, 0) + if is_error(r510) goto L228 (error at :277) else goto L181 +L181: + dec_ref r505 + r511 = PySet_Add(r502, r510) + dec_ref r502 + dec_ref r510 + r512 = r511 >= 0 :: signed + if not r512 goto L208 (error at :277) else goto L182 :: bool +L182: + r513 = dank_mids.brownie_patch.call.globals :: static + r514 = 'format_input_but_cache_checksums' + r515 = CPyDict_GetItem(r513, r514) + if is_error(r515) goto L208 (error at :340) else goto L183 +L183: + r516 = dank_mids.brownie_patch.call.globals :: static + r517 = 'brownie' + r518 = CPyDict_GetItem(r516, r517) + if is_error(r518) goto L229 (error at :340) else goto L184 +L184: + r519 = 'network' + r520 = CPyObject_GetAttr(r518, r519) + dec_ref r518 + if is_error(r520) goto L229 (error at :340) else goto L185 +L185: + r521 = 'contract' + r522 = CPyObject_GetAttr(r520, r521) + dec_ref r520 + if is_error(r522) goto L229 (error at :340) else goto L186 +L186: + r523 = 'format_input' + r524 = PyObject_SetAttr(r522, r523, r515) + dec_ref r522 + dec_ref r515 + r525 = r524 >= 0 :: signed + if not r525 goto L208 (error at :340) else goto L187 :: bool +L187: + r526 = dank_mids.brownie_patch.call.globals :: static + r527 = 'format_output_but_cache_checksums' + r528 = CPyDict_GetItem(r526, r527) + if is_error(r528) goto L208 (error at :341) else goto L188 +L188: + r529 = dank_mids.brownie_patch.call.globals :: static + r530 = 'brownie' + r531 = CPyDict_GetItem(r529, r530) + if is_error(r531) goto L230 (error at :341) else goto L189 +L189: + r532 = 'network' + r533 = CPyObject_GetAttr(r531, r532) + dec_ref r531 + if is_error(r533) goto L230 (error at :341) else goto L190 +L190: + r534 = 'contract' + r535 = CPyObject_GetAttr(r533, r534) + dec_ref r533 + if is_error(r535) goto L230 (error at :341) else goto L191 +L191: + r536 = 'format_output' + r537 = PyObject_SetAttr(r535, r536, r528) + dec_ref r535 + dec_ref r528 + r538 = r537 >= 0 :: signed + if not r538 goto L208 (error at :341) else goto L192 :: bool +L192: + r539 = dank_mids.brownie_patch.call.globals :: static + r540 = '_format_array_but_cache_checksums' + r541 = CPyDict_GetItem(r539, r540) + if is_error(r541) goto L208 (error at :398) else goto L193 +L193: + r542 = dank_mids.brownie_patch.call.globals :: static + r543 = 'brownie' + r544 = CPyDict_GetItem(r542, r543) + if is_error(r544) goto L231 (error at :398) else goto L194 +L194: + r545 = 'convert' + r546 = CPyObject_GetAttr(r544, r545) + dec_ref r544 + if is_error(r546) goto L231 (error at :398) else goto L195 +L195: + r547 = 'normalize' + r548 = CPyObject_GetAttr(r546, r547) + dec_ref r546 + if is_error(r548) goto L231 (error at :398) else goto L196 +L196: + r549 = '_format_array' + r550 = PyObject_SetAttr(r548, r549, r541) + dec_ref r548 + dec_ref r541 + r551 = r550 >= 0 :: signed + if not r551 goto L208 (error at :398) else goto L197 :: bool +L197: + r552 = dank_mids.brownie_patch.call.globals :: static + r553 = '_format_single_but_cache_checksums' + r554 = CPyDict_GetItem(r552, r553) + if is_error(r554) goto L208 (error at :399) else goto L198 +L198: + r555 = dank_mids.brownie_patch.call.globals :: static + r556 = 'brownie' + r557 = CPyDict_GetItem(r555, r556) + if is_error(r557) goto L232 (error at :399) else goto L199 +L199: + r558 = 'convert' + r559 = CPyObject_GetAttr(r557, r558) + dec_ref r557 + if is_error(r559) goto L232 (error at :399) else goto L200 +L200: + r560 = 'normalize' + r561 = CPyObject_GetAttr(r559, r560) + dec_ref r559 + if is_error(r561) goto L232 (error at :399) else goto L201 +L201: + r562 = '_format_single' + r563 = PyObject_SetAttr(r561, r562, r554) + dec_ref r561 + dec_ref r554 + r564 = r563 >= 0 :: signed + if not r564 goto L208 (error at :399) else goto L202 :: bool +L202: + r565 = dank_mids.brownie_patch.call.globals :: static + r566 = '_format_tuple_but_cache_checksums' + r567 = CPyDict_GetItem(r565, r566) + if is_error(r567) goto L208 (error at :400) else goto L203 +L203: + r568 = dank_mids.brownie_patch.call.globals :: static + r569 = 'brownie' + r570 = CPyDict_GetItem(r568, r569) + if is_error(r570) goto L233 (error at :400) else goto L204 +L204: + r571 = 'convert' + r572 = CPyObject_GetAttr(r570, r571) + dec_ref r570 + if is_error(r572) goto L233 (error at :400) else goto L205 +L205: + r573 = 'normalize' + r574 = CPyObject_GetAttr(r572, r573) + dec_ref r572 + if is_error(r574) goto L233 (error at :400) else goto L206 +L206: + r575 = '_format_tuple' + r576 = PyObject_SetAttr(r574, r575, r567) + dec_ref r574 + dec_ref r567 + r577 = r576 >= 0 :: signed + if not r577 goto L208 (error at :400) else goto L207 :: bool +L207: + return 1 +L208: + r578 = :: None + return r578 +L209: + dec_ref r125 + goto L208 +L210: + dec_ref r156 + goto L208 +L211: + dec_ref r167 + goto L208 +L212: + dec_ref r167 + dec_ref r170 + goto L208 +L213: + dec_ref r167 + dec_ref r174 + goto L208 +L214: + dec_ref r167 + dec_ref r174 + dec_ref r177 + goto L208 +L215: + dec_ref r195 + goto L208 +L216: + dec_ref r202 + goto L208 +L217: + dec_ref r384 + goto L126 +L218: + dec_ref r384 + goto L208 +L219: + dec_ref r415 + goto L208 +L220: + dec_ref r445 + goto L208 +L221: + dec_ref r461 + goto L162 +L222: + dec_ref r461 + goto L164 +L223: + dec_ref r483 + goto L208 +L224: + dec_ref r483 + dec_ref r486 + goto L208 +L225: + dec_ref r491 + goto L208 +L226: + dec_ref r502 + goto L208 +L227: + dec_ref r502 + dec_ref r505 + goto L178 +L228: + dec_ref r502 + dec_ref r505 + goto L208 +L229: + dec_ref r515 + goto L208 +L230: + dec_ref r528 + goto L208 +L231: + dec_ref r541 + goto L208 +L232: + dec_ref r554 + goto L208 +L233: + dec_ref r567 + goto L208 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 + 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 :: object - r38 :: tuple - r39 :: str - r40, r41 :: object - r42, r43 :: str - r44 :: tuple - r45 :: i32 - r46 :: bit - r47 :: dict + r37 :: dict + r38, r39 :: object + r40 :: str + r41 :: dict + r42 :: object + r43 :: dict + r44 :: str + r45 :: dict + r46 :: str + r47 :: object 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 + 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, r99 :: object - r100, r101 :: str - r102 :: tuple + r98 :: object + r99 :: str + r100 :: object + r101 :: dict + r102 :: str 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 + 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 @@ -23100,669 +19817,371 @@ 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 L56 (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 = ('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: - r16 = ('TYPE_CHECKING', 'Final', 'List', 'Sequence', '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 + 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: - 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 + 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: - aiohttp.client_exceptions = r23 :: module - dec_ref r23 - if 0 goto L7 else goto L7 :: bool + 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: - r24 = 'dank_mids.exceptions' - r25 = logging :: module - r26 = 'getLogger' - r27 = CPyObject_GetAttr(r25, r26) - if is_error(r27) goto L88 (error at :14) else goto L8 + 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: - r28 = [r24] - r29 = load_address r28 - r30 = PyObject_Vectorcall(r27, r29, 1, 0) - dec_ref r27 - if is_error(r30) goto L88 (error at :14) 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 + 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 L88 (error at :14) else goto L10 :: bool + 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: - r35 = builtins :: module - r36 = 'ValueError' - r37 = CPyObject_GetAttr(r35, r36) - if is_error(r37) goto L88 (error at :17) else goto L11 + 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: - r38 = PyTuple_Pack(1, r37) - dec_ref r37 - if is_error(r38) goto L88 (error at :17) else goto L12 + 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: - 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 :17) else goto L13 + 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: - r42 = '__mypyc_attrs__' - r43 = '__dict__' - r44 = PyTuple_Pack(1, r43) - if is_error(r44) goto L89 (error at :17) else goto L14 + 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: - r45 = PyObject_SetAttr(r41, r42, r44) - dec_ref r44 - r46 = r45 >= 0 :: signed - if not r46 goto L89 (error at :17) else goto L15 :: bool + dec_ref r49 + r56 = CPy_TYPE(r55) + r57 = '__exit__' + r58 = CPyObject_GetAttr(r56, r57) + if is_error(r58) goto L58 (error at :33) else goto L15 L15: - dank_mids._exceptions.BadResponse = r41 :: type - r47 = dank_mids._exceptions.globals :: static - r48 = 'BadResponse' - r49 = PyDict_SetItem(r47, r48, r41) - dec_ref r41 - r50 = r49 >= 0 :: signed - if not r50 goto L88 (error at :17) else goto L16 :: bool + r59 = '__enter__' + r60 = CPyObject_GetAttr(r56, r59) + dec_ref r56 + if is_error(r60) goto L59 (error at :33) else goto L16 L16: - r51 = builtins :: module - r52 = 'ValueError' - r53 = CPyObject_GetAttr(r51, r52) - if is_error(r53) goto L88 (error at :26) else goto L17 + 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: - r54 = PyTuple_Pack(1, r53) - dec_ref r53 - if is_error(r54) goto L88 (error at :26) else goto L18 + r64 = 1 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 :26) else goto L19 + 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: - r58 = '__mypyc_attrs__' - r59 = '__dict__' - r60 = PyTuple_Pack(1, r59) - if is_error(r60) goto L90 (error at :26) else goto L20 + 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: - r61 = PyObject_SetAttr(r57, r58, r60) - dec_ref r60 - r62 = r61 >= 0 :: signed - if not r62 goto L90 (error at :26) else goto L21 :: bool + 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: - dank_mids._exceptions.EmptyBatch = r57 :: type - r63 = dank_mids._exceptions.globals :: static - r64 = 'EmptyBatch' - r65 = PyDict_SetItem(r63, r64, r57) - dec_ref r57 - r66 = r65 >= 0 :: signed - if not r66 goto L88 (error at :26) else goto L22 :: bool + 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: - r67 = dank_mids._exceptions.BadResponse :: type - r68 = PyTuple_Pack(1, r67) - if is_error(r68) goto L88 (error at :31) else goto L23 + r78 = truncate r76: i32 to builtins.bool + if r78 goto L23 else goto L43 :: 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 :31) else goto L24 + 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: - r72 = '__mypyc_attrs__' - r73 = '__dict__' - r74 = PyTuple_Pack(1, r73) - if is_error(r74) goto L91 (error at :31) else goto L25 + 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: - r75 = PyObject_SetAttr(r71, r72, r74) - dec_ref r74 - r76 = r75 >= 0 :: signed - if not r76 goto L91 (error at :31) else goto L26 :: bool + 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: - dank_mids._exceptions.ExecutionReverted = r71 :: type - r77 = dank_mids._exceptions.globals :: static - r78 = 'ExecutionReverted' - r79 = PyDict_SetItem(r77, r78, r71) - dec_ref r71 - r80 = r79 >= 0 :: signed - if not r80 goto L88 (error at :31) else goto L27 :: bool + 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: - r81 = dank_mids._exceptions.BadResponse :: type - r82 = PyTuple_Pack(1, r81) - if is_error(r82) goto L88 (error at :43) else goto L28 + 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: - 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 :43) else goto L29 + 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: - r86 = '__mypyc_attrs__' - r87 = '__dict__' - r88 = PyTuple_Pack(1, r87) - if is_error(r88) goto L92 (error at :43) else goto L30 + r99 = 'eth' + r100 = CPyObject_GetAttr(r98, r99) + dec_ref r98 + if is_error(r100) goto L35 (error at :40) else goto L30 L30: - r89 = PyObject_SetAttr(r85, r86, r88) - dec_ref r88 - r90 = r89 >= 0 :: signed - if not r90 goto L92 (error at :43) else goto L31 :: bool + 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: - dank_mids._exceptions.OutOfGas = r85 :: type - r91 = dank_mids._exceptions.globals :: static - r92 = 'OutOfGas' - r93 = PyDict_SetItem(r91, r92, r85) - dec_ref r85 - r94 = r93 >= 0 :: signed - if not r94 goto L88 (error at :43) else goto L32 :: bool + 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: - r95 = dank_mids._exceptions.BadResponse :: type - r96 = PyTuple_Pack(1, r95) - if is_error(r96) goto L88 (error at :48) else goto L33 + 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: - 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 :48) else goto L34 + 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: - r100 = '__mypyc_attrs__' - r101 = '__dict__' - r102 = PyTuple_Pack(1, r101) - if is_error(r102) goto L93 (error at :48) else goto L35 + 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: - r103 = PyObject_SetAttr(r99, r100, r102) - dec_ref r102 - r104 = r103 >= 0 :: signed - if not r104 goto L93 (error at :48) else goto L36 :: bool + 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: - dank_mids._exceptions.PayloadTooLarge = r99 :: type - r105 = dank_mids._exceptions.globals :: static - r106 = 'PayloadTooLarge' - r107 = PyDict_SetItem(r105, r106, r99) - dec_ref r99 - r108 = r107 >= 0 :: signed - if not r108 goto L88 (error at :48) else goto L37 :: bool + 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: - r109 = dank_mids._exceptions.BadResponse :: type - r110 = PyTuple_Pack(1, r109) - if is_error(r110) goto L88 (error at :53) else goto L38 + r131 = truncate r129: i32 to builtins.bool + if r131 goto L40 else goto L38 :: bool 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 :53) else goto L39 + CPy_Reraise() + if not 0 goto L41 else goto L65 :: bool L39: - r114 = '__mypyc_attrs__' - r115 = '__dict__' - r116 = PyTuple_Pack(1, r115) - if is_error(r116) goto L94 (error at :53) 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 :53) else goto L41 :: bool + CPy_RestoreExcInfo(r121) + dec_ref r121 + goto L43 L41: - dank_mids._exceptions.ExceedsMaxBatchSize = r113 :: type - r119 = dank_mids._exceptions.globals :: static - r120 = 'ExceedsMaxBatchSize' - r121 = PyDict_SetItem(r119, r120, r113) - dec_ref r113 - r122 = r121 >= 0 :: signed - if not r122 goto L88 (error at :53) 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 :63) else goto L43 -L43: - r126 = PyTuple_Pack(1, r125) - dec_ref r125 - if is_error(r126) goto L88 (error at :63) 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 :63) 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 :63) else goto L47 -L47: - r136 = PyObject_SetAttr(r129, r131, r135) - dec_ref r135 - r137 = r136 >= 0 :: signed - if not r137 goto L95 (error at :63) else goto L48 :: bool -L48: - dank_mids._exceptions.DankMidsClientResponseError = r129 :: type - r138 = dank_mids._exceptions.globals :: static - r139 = 'DankMidsClientResponseError' - r140 = PyDict_SetItem(r138, r139, r129) - dec_ref r129 - r141 = r140 >= 0 :: signed - if not r141 goto L88 (error at :63) 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 :94) else goto L50 -L50: - r145 = builtins :: module - r146 = 'AttributeError' - r147 = CPyObject_GetAttr(r145, r146) - if is_error(r147) goto L96 (error at :95) else goto L51 -L51: - r148 = builtins :: module - r149 = 'TypeError' - r150 = CPyObject_GetAttr(r148, r149) - if is_error(r150) goto L97 (error at :95) else goto L52 -L52: - r151 = builtins :: module - r152 = 'UnboundLocalError' - r153 = CPyObject_GetAttr(r151, r152) - if is_error(r153) goto L98 (error at :95) else goto L53 -L53: - r154 = builtins :: module - r155 = 'NotImplementedError' - r156 = CPyObject_GetAttr(r154, r155) - if is_error(r156) goto L99 (error at :95) else goto L54 -L54: - r157 = builtins :: module - r158 = 'RuntimeError' - r159 = CPyObject_GetAttr(r157, r158) - if is_error(r159) goto L100 (error at :95) else goto L55 -L55: - r160 = builtins :: module - r161 = 'SyntaxError' - r162 = CPyObject_GetAttr(r160, r161) - if is_error(r162) goto L101 (error at :95) 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 :94) 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 :94) 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 :97) 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 :97) else goto L60 :: bool -L60: - r177 = builtins :: module - r178 = 'Exception' - r179 = CPyObject_GetAttr(r177, r178) - if is_error(r179) goto L88 (error at :100) else goto L61 -L61: - r180 = PyTuple_Pack(1, r179) - dec_ref r179 - if is_error(r180) goto L88 (error at :100) 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 :100) else goto L63 -L63: - r184 = '__mypyc_attrs__' - r185 = '__dict__' - r186 = PyTuple_Pack(1, r185) - if is_error(r186) goto L102 (error at :100) else goto L64 -L64: - r187 = PyObject_SetAttr(r183, r184, r186) - dec_ref r186 - r188 = r187 >= 0 :: signed - if not r188 goto L102 (error at :100) else goto L65 :: bool -L65: - dank_mids._exceptions.DankMidsInternalError = r183 :: type - r189 = dank_mids._exceptions.globals :: static - r190 = 'DankMidsInternalError' - r191 = PyDict_SetItem(r189, r190, r183) - dec_ref r183 - r192 = r191 >= 0 :: signed - if not r192 goto L88 (error at :100) else goto L66 :: bool -L66: - r193 = builtins :: module - r194 = 'Exception' - r195 = CPyObject_GetAttr(r193, r194) - if is_error(r195) goto L88 (error at :116) else goto L67 -L67: - r196 = PyTuple_Pack(1, r195) - dec_ref r195 - if is_error(r196) goto L88 (error at :116) 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 :116) else goto L69 -L69: - r200 = '__mypyc_attrs__' - r201 = '__dict__' - r202 = PyTuple_Pack(1, r201) - if is_error(r202) goto L103 (error at :116) else goto L70 -L70: - r203 = PyObject_SetAttr(r199, r200, r202) - dec_ref r202 - r204 = r203 >= 0 :: signed - if not r204 goto L103 (error at :116) else goto L71 :: bool -L71: - dank_mids._exceptions.BatchResponseSortError = r199 :: type - r205 = dank_mids._exceptions.globals :: static - r206 = 'BatchResponseSortError' - r207 = PyDict_SetItem(r205, r206, r199) - dec_ref r199 - r208 = r207 >= 0 :: signed - if not r208 goto L88 (error at :116) else goto L72 :: bool -L72: - r209 = dank_mids._exceptions.BadResponse :: type - r210 = PyTuple_Pack(1, r209) - if is_error(r210) goto L88 (error at :149) 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 :149) else goto L74 -L74: - r214 = '__mypyc_attrs__' - r215 = '__dict__' - r216 = PyTuple_Pack(1, r215) - if is_error(r216) goto L104 (error at :149) else goto L75 -L75: - r217 = PyObject_SetAttr(r213, r214, r216) - dec_ref r216 - r218 = r217 >= 0 :: signed - if not r218 goto L104 (error at :149) else goto L76 :: bool -L76: - dank_mids._exceptions.RateLimitError = r213 :: type - r219 = dank_mids._exceptions.globals :: static - r220 = 'RateLimitError' - r221 = PyDict_SetItem(r219, r220, r213) - dec_ref r213 - r222 = r221 >= 0 :: signed - if not r222 goto L88 (error at :149) else goto L77 :: bool -L77: - r223 = dank_mids._exceptions.RateLimitError :: type - r224 = PyTuple_Pack(1, r223) - if is_error(r224) goto L88 (error at :153) 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 :153) else goto L79 -L79: - r228 = '__mypyc_attrs__' - r229 = '__dict__' - r230 = PyTuple_Pack(1, r229) - if is_error(r230) goto L105 (error at :153) else goto L80 -L80: - r231 = PyObject_SetAttr(r227, r228, r230) - dec_ref r230 - r232 = r231 >= 0 :: signed - if not r232 goto L105 (error at :153) else goto L81 :: bool -L81: - dank_mids._exceptions.ChainstackRateLimitError = r227 :: type - r233 = dank_mids._exceptions.globals :: static - r234 = 'ChainstackRateLimitError' - r235 = PyDict_SetItem(r233, r234, r227) - dec_ref r227 - r236 = r235 >= 0 :: signed - if not r236 goto L88 (error at :153) else goto L82 :: bool -L82: - r237 = dank_mids._exceptions.RateLimitError :: type - r238 = PyTuple_Pack(1, r237) - if is_error(r238) goto L88 (error at :172) 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 :172) else goto L84 -L84: - r242 = '__mypyc_attrs__' - r243 = '__dict__' - r244 = PyTuple_Pack(1, r243) - if is_error(r244) goto L106 (error at :172) else goto L85 -L85: - r245 = PyObject_SetAttr(r241, r242, r244) - dec_ref r244 - r246 = r245 >= 0 :: signed - if not r246 goto L106 (error at :172) else goto L86 :: bool -L86: - dank_mids._exceptions.QuiknodeRateLimitError = r241 :: type - r247 = dank_mids._exceptions.globals :: static - r248 = 'QuiknodeRateLimitError' - r249 = PyDict_SetItem(r247, r248, r241) - dec_ref r241 - r250 = r249 >= 0 :: signed - if not r250 goto L88 (error at :172) else goto L87 :: bool -L87: + 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 -L88: - r251 = :: None - return r251 -L89: - dec_ref r41 - goto L88 -L90: - dec_ref r57 - goto L88 -L91: +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 L88 -L92: + goto L35 +L62: 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 get_len(method): - method, r0 :: str - r1 :: bool - r2 :: set - r3 :: i32 - r4 :: bit - r5 :: bool - r6 :: str - r7 :: i32 - r8 :: bit - r9 :: bool - r10 :: int -L0: - r0 = 'eth_getTransactionReceipt' - r1 = CPyStr_Equal(method, r0) - if r1 goto L1 else goto L2 :: bool -L1: - return 10 -L2: - r2 = frozenset({'eth_getCode', 'eth_getTransaction'}) - r3 = PySet_Contains(r2, method) - r4 = r3 >= 0 :: signed - if not r4 goto L8 (error at get_len:18) else goto L3 :: bool -L3: - r5 = truncate r3: i32 to builtins.bool - if r5 goto L6 else goto L4 :: bool -L4: - r6 = 'eth_getBlockBy' - r7 = PyUnicode_Contains(method, r6) - r8 = r7 >= 0 :: signed - if not r8 goto L8 (error at get_len:18) else goto L5 :: bool -L5: - r9 = truncate r7: i32 to builtins.bool - if r9 goto L6 else goto L7 :: bool -L6: - return 6 -L7: - return 2 -L8: - r10 = :: int - return r10 + 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 should_batch(method): - method :: str - r0 :: bool - r1 :: tuple[str, str, str, str] - r2 :: bool - r3, r4, r5 :: object - r6 :: str - r7 :: i32 - r8 :: bit - r9, r10, r11 :: bool - r12 :: bit - r13 :: bool +def DummyLogger.info(args, kwargs): + args :: tuple + kwargs :: dict L0: - r0 = 1 - r1 = dank_mids.helpers.method.BYPASS_METHODS :: static - if is_error(r1) goto L1 else goto L3 -L1: - r2 = raise NameError('value for final name "BYPASS_METHODS" was not set') - if not r2 goto L11 (error at should_batch:25) else goto L2 :: bool -L2: - unreachable -L3: - inc_ref r1 - r3 = box(tuple[str, str, str, str], r1) - r4 = PyObject_GetIter(r3) - dec_ref r3 - if is_error(r4) goto L11 (error at should_batch:25) else goto L4 -L4: - r5 = PyIter_Next(r4) - if is_error(r5) goto L12 else goto L5 -L5: - r6 = cast(str, r5) - if is_error(r6) goto L13 (error at should_batch:25) else goto L6 -L6: - r7 = PyUnicode_Contains(method, r6) - dec_ref r6 - r8 = r7 >= 0 :: signed - if not r8 goto L13 (error at should_batch:25) else goto L7 :: bool -L7: - r9 = truncate r7: i32 to builtins.bool - r10 = r9 ^ 1 - r11 = r10 ^ 1 - if r11 goto L14 else goto L4 :: bool -L8: - r0 = 0 - goto L10 -L9: - r12 = CPy_NoErrOccurred() - if not r12 goto L11 (error at should_batch:25) else goto L10 :: bool -L10: - return r0 -L11: - r13 = :: bool - return r13 -L12: - dec_ref r4 - goto L9 -L13: - dec_ref r4 - goto L11 -L14: - dec_ref r4 - goto L8 + return 1 def __top_level__(): r0, r1 :: object @@ -23774,41 +20193,49 @@ def __top_level__(): r8, r9 :: object r10 :: str r11 :: dict - r12 :: object - r13, r14, r15, r16 :: str - r17 :: tuple[str, str, str, str] - r18 :: dict - r19 :: str - r20 :: object - r21 :: i32 - r22 :: bit - r23 :: dict - r24 :: str - r25 :: object + 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 :: object - r29 :: object[1] - r30 :: object_ptr - r31 :: object - r32 :: dict - r33 :: str - r34 :: i32 - r35 :: bit - r36 :: dict - r37 :: str - r38 :: object - r39 :: dict - r40 :: str - r41 :: object - r42 :: object[1] - r43 :: object_ptr - r44 :: object - r45 :: dict - r46 :: str - r47 :: i32 - r48 :: bit - r49 :: None + 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 @@ -23817,103 +20244,125 @@ L0: L1: r3 = 'builtins' r4 = PyImport_Import(r3) - if is_error(r4) goto L15 (error at :-1) else goto L2 + if is_error(r4) goto L25 (error at :-1) else goto L2 L2: builtins = r4 :: module dec_ref r4 L3: - r5 = ('Final',) + r5 = ('Any', 'Final', 'final') r6 = 'typing' - r7 = dank_mids.helpers.method.globals :: static + r7 = dank_mids._demo_mode.globals :: static r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L15 (error at :1) else goto L4 + if is_error(r8) goto L25 (error at :1) else goto L4 L4: typing = r8 :: module dec_ref r8 - r9 = ('lru_cache_lite_nonull',) - r10 = 'dank_mids.helpers.lru_cache' - r11 = dank_mids.helpers.method.globals :: static + 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 L15 (error at :3) else goto L5 + if is_error(r12) goto L25 (error at :3) else goto L5 L5: - dank_mids.helpers.lru_cache = r12 :: module + dank_mids = r12 :: module dec_ref r12 - r13 = 'eth_blockNumber' - r14 = 'eth_getLogs' - r15 = 'trace_' - r16 = 'debug_' - inc_ref r13 - inc_ref r14 - inc_ref r15 - inc_ref r16 - r17 = (r13, r14, r15, r16) - dank_mids.helpers.method.BYPASS_METHODS = r17 :: static - r18 = dank_mids.helpers.method.globals :: static - r19 = 'BYPASS_METHODS' - r20 = box(tuple[str, str, str, str], r17) - r21 = CPyDict_SetItem(r18, r19, r20) - dec_ref r20 - r22 = r21 >= 0 :: signed - if not r22 goto L15 (error at :6) else goto L6 :: bool + 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 L25 (error at :4) else goto L6 L6: - r23 = dank_mids.helpers.method.globals :: static - r24 = 'get_len' - r25 = CPyDict_GetItem(r23, r24) - if is_error(r25) goto L15 (error at :13) else goto L7 + 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 L25 (error at :8) else goto L7 L7: - r26 = dank_mids.helpers.method.globals :: static - r27 = 'lru_cache_lite_nonull' - r28 = CPyDict_GetItem(r26, r27) - if is_error(r28) goto L16 (error at :13) else goto L8 + r21 = DummyLogger_trait_vtable_setup() + if is_error(r21) goto L26 (error at :-1) else goto L8 L8: - r29 = [r25] - r30 = load_address r29 - r31 = PyObject_Vectorcall(r28, r30, 1, 0) - dec_ref r28 - if is_error(r31) goto L16 (error at :13) else goto L9 + r22 = '__mypyc_attrs__' + r23 = CPyTuple_LoadEmptyTupleConstant() + r24 = PyObject_SetAttr(r20, r22, r23) + dec_ref r23 + r25 = r24 >= 0 :: signed + if not r25 goto L26 (error at :8) else goto L9 :: bool L9: - dec_ref r25 - r32 = dank_mids.helpers.method.globals :: static - r33 = 'get_len' - r34 = PyDict_SetItem(r32, r33, r31) - dec_ref r31 - r35 = r34 >= 0 :: signed - if not r35 goto L15 (error at :13) else goto L10 :: bool + dank_mids._demo_mode.DummyLogger = r20 :: type + r26 = dank_mids._demo_mode.globals :: static + r27 = 'DummyLogger' + r28 = PyDict_SetItem(r26, r27, r20) + dec_ref r20 + r29 = r28 >= 0 :: signed + if not r29 goto L25 (error at :8) else goto L10 :: bool L10: - r36 = dank_mids.helpers.method.globals :: static - r37 = 'should_batch' - r38 = CPyDict_GetItem(r36, r37) - if is_error(r38) goto L15 (error at :23) else goto L11 + r30 = dank_mids.ENVIRONMENT_VARIABLES.DEMO_MODE :: static + if is_error(r30) goto L11 else goto L13 L11: - r39 = dank_mids.helpers.method.globals :: static - r40 = 'lru_cache_lite_nonull' - r41 = CPyDict_GetItem(r39, r40) - if is_error(r41) goto L17 (error at :23) else goto L12 + r31 = raise NameError('value for final name "DEMO_MODE" was not set') + if not r31 goto L25 (error at :30) else goto L12 :: bool L12: - r42 = [r38] - r43 = load_address r42 - r44 = PyObject_Vectorcall(r41, r43, 1, 0) - dec_ref r41 - if is_error(r44) goto L17 (error at :23) else goto L13 + unreachable L13: - dec_ref r38 - r45 = dank_mids.helpers.method.globals :: static - r46 = 'should_batch' - r47 = PyDict_SetItem(r45, r46, r44) - dec_ref r44 - r48 = r47 >= 0 :: signed - if not r48 goto L15 (error at :23) else goto L14 :: bool + r32 = PyObject_IsTrue(r30) + r33 = r32 >= 0 :: signed + if not r33 goto L25 (error at :30) else goto L14 :: bool L14: - return 1 + r34 = truncate r32: i32 to builtins.bool + if r34 goto L15 else goto L20 :: bool L15: - r49 = :: None - return r49 + r35 = 'dank_mids.demo' + r36 = dank_mids._logging.getLogger :: static + if is_error(r36) goto L16 else goto L18 L16: - dec_ref r25 - goto L15 + r37 = raise NameError('value for final name "getLogger" was not set') + if not r37 goto L25 (error at :31) else goto L17 :: bool L17: - dec_ref r38 - goto L15 + unreachable +L18: + r38 = [r35] + r39 = load_address r38 + r40 = PyObject_Vectorcall(r36, r39, 1, 0) + if is_error(r40) goto L25 (error at :31) else goto L19 +L19: + 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 L25 (error at :31) else goto L22 :: bool +L20: + r45 = DummyLogger() + if is_error(r45) goto L25 (error at :33) else goto L21 +L21: + 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 L25 (error at :33) else goto L22 :: bool +L22: + r50 = dank_mids._demo_mode.globals :: static + r51 = '_logger' + r52 = CPyDict_GetItem(r50, r51) + if is_error(r52) goto L25 (error at :35) else goto L23 +L23: + 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 L25 (error at :35) else goto L24 :: bool +L24: + return 1 +L25: + r57 = :: None + return r57 +L26: + dec_ref r20 + goto L25 def __top_level__(): r0, r1 :: object @@ -26153,5897 +22602,7053 @@ L394: dec_ref r653 goto L332 -def patch_eth_utils(): - r0 :: dict - r1, r2 :: object - r3 :: bit - r4 :: str - r5 :: object - r6 :: str +def UIDGenerator.__init__(self): + self :: dank_mids._uid.UIDGenerator + r0 :: str + r1 :: dict + r2 :: str + r3 :: object + r4 :: object[1] + r5 :: object_ptr + r6, r7 :: object + r8 :: None +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 +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 +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 :: int +L0: + r0 = self._lock + r1 = CPy_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 +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 +L3: +L4: + r9 = borrow self._value + r10 = CPyTagged_Add(r9, 2) + inc_ref r10 :: int + self._value = r10 +L5: + r12 = :: tuple[object, object, object] + r13 = r12 +L6: + if 1 goto L7 else goto L23 :: bool +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 +L8: + dec_ref r0 +L9: + if is_error(r13) goto L12 else goto L26 +L10: + CPy_Reraise() + if not 0 goto L14 else goto L27 :: bool +L11: + unreachable +L12: + if is_error(r10) goto L18 else goto L13 +L13: + return r10 +L14: + if is_error(r13) goto L16 else goto L15 +L15: + CPy_RestoreExcInfo(r13) + xdec_ref r13 +L16: + r18 = CPy_KeepPropagating() + if not r18 goto L19 else goto L17 :: bool +L17: + unreachable +L18: + unreachable +L19: + r19 = :: int + return r19 +L20: + dec_ref r0 + dec_ref r1 + goto L19 +L21: + dec_ref r0 + dec_ref r3 + 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 __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) + 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 = PyDict_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 + +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, r7 :: object + r8 :: dict + r9 :: i32 + r10 :: bit + r11 :: object +L0: + r0 = __mypyc_self__.__mypyc_env__ + if is_error(r0) goto L11 (error at lru_cache_lite_wrap:41) else goto L1 +L1: + r1 = r0.cache + if is_error(r1) goto L12 (error at lru_cache_lite_wrap:42) else goto L2 +L2: + r2 = r0.cache_miss + if is_error(r2) goto L13 (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 L12 (error at lru_cache_lite_wrap:42) else goto L4 +L4: + retval = r3 + r4 = r0.cache_miss + if is_error(r4) goto L14 (error at lru_cache_lite_wrap:43) else goto L5 +L5: + r5 = retval == r4 + dec_ref r4 + if r5 goto L15 else goto L16 :: bool +L6: + r6 = r0.func + if is_error(r6) goto L12 (error at lru_cache_lite_wrap:44) else goto L7 +L7: + r7 = PyObject_CallObject(r6, args) + dec_ref r6 + if is_error(r7) goto L12 (error at lru_cache_lite_wrap:44) else goto L8 +L8: + retval = r7 + r8 = r0.cache + dec_ref r0 + if is_error(r8) goto L17 (error at lru_cache_lite_wrap:45) else goto L9 +L9: + r9 = CPyDict_SetItem(r8, args, retval) + dec_ref r8 + r10 = r9 >= 0 :: signed + if not r10 goto L17 (error at lru_cache_lite_wrap:45) else goto L10 :: bool +L10: + return retval +L11: + r11 = :: object + return r11 +L12: + dec_ref r0 + goto L11 +L13: + dec_ref r0 + dec_ref r1 + goto L11 +L14: + dec_ref r0 + dec_ref retval + goto L11 +L15: + dec_ref retval + goto L6 +L16: + dec_ref r0 + goto L10 +L17: + dec_ref retval + goto L11 + +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 = PyDict_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, r6 :: object + r7 :: dict + r8 :: i32 + r9 :: bit + r10 :: object +L0: + r0 = __mypyc_self__.__mypyc_env__ + if is_error(r0) goto L9 (error at lru_cache_lite_wrap:89) else goto L1 +L1: + r1 = r0.cache + if is_error(r1) goto L10 (error at lru_cache_lite_wrap:90) else goto L2 +L2: + r2 = CPyDict_GetWithNone(r1, args) + dec_ref r1 + if is_error(r2) goto L10 (error at lru_cache_lite_wrap:90) else goto L3 +L3: + retval = r2 + r3 = load_address _Py_NoneStruct + r4 = retval == r3 + if r4 goto L11 else goto L12 :: bool +L4: + r5 = r0.func + if is_error(r5) goto L10 (error at lru_cache_lite_wrap:92) else goto L5 +L5: + r6 = PyObject_CallObject(r5, args) + dec_ref r5 + if is_error(r6) goto L10 (error at lru_cache_lite_wrap:92) else goto L6 +L6: + retval = r6 + r7 = r0.cache + dec_ref r0 + if is_error(r7) goto L13 (error at lru_cache_lite_wrap:93) else goto L7 +L7: + r8 = CPyDict_SetItem(r7, args, retval) + dec_ref r7 + r9 = r8 >= 0 :: signed + if not r9 goto L13 (error at lru_cache_lite_wrap:93) else goto L8 :: bool +L8: + return retval +L9: + r10 = :: object + return r10 +L10: + dec_ref r0 + goto L9 +L11: + dec_ref retval + goto L4 +L12: + dec_ref r0 + goto L8 +L13: + dec_ref retval + goto L9 + +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 :: 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 + 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 = 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 + r0 = lru_cache_lite_nonull_env() + if is_error(r0) goto L14 (error at lru_cache_lite_nonull:52) else goto L1 L1: - r4 = 'eth_utils.crypto' - r5 = PyImport_Import(r4) - if is_error(r5) goto L110 (error at patch_eth_utils:25) 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: - eth_utils.crypto = r5 :: module - dec_ref r5 + r2 = PyDict_New() + if is_error(r2) goto L15 (error at lru_cache_lite_nonull:86) else goto L3 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 + r0.cache = r2; r3 = is_error + if not r3 goto L15 (error at lru_cache_lite_nonull:86) else goto L4 :: bool 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 + 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: - 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 + 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: - 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 + r6 = r0.func + if is_error(r6) goto L16 (error at lru_cache_lite_nonull:88) 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 + 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: - 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 + 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: - 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 + 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: - r27 = 'web3.main' - r28 = PyImport_Import(r27) - if is_error(r28) goto L110 (error at patch_eth_utils:29) else goto L11 + dec_ref r4 + inc_ref r15 + r16 = dank_mids.helpers.lru_cache.globals :: static + r17 = 'lru_cache_lite_wrap' + r18 = PyDict_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: - web3.main = r28 :: module - dec_ref r28 + r20 = r0.cache + dec_ref r0 + if is_error(r20) goto L19 (error at lru_cache_lite_nonull:96) else goto L12 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 + 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: - 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 + return r15 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 + r24 = :: object + return r24 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 + dec_ref r0 + goto L14 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 + dec_ref r0 + dec_ref r4 + goto L14 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 + dec_ref r0 + dec_ref r4 + dec_ref r6 + goto L14 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 + dec_ref r0 + dec_ref r15 + goto L14 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: + 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 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:21) else goto L2 :: bool +L2: 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: +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:21) else goto L5 :: bool +L5: 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: +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:21) else goto L10 +L7: + dec_ref r4 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 +L8: + r8 = :: None + return r8 +L9: + dec_ref r4 + goto L8 +L10: + dec_ref r7 + goto L7 -def to_hex(primitive, hexstr, text): - primitive :: union[object, None] - hexstr, text :: union[str, None] - r0, r1, r2, r3 :: object - r4 :: bit - r5, r6 :: str - r7 :: object[1] - r8 :: object_ptr - r9 :: object - r10, r11 :: str - r12 :: object - r13 :: bit - r14 :: str - r15 :: bytes +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:29) 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:29) 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:29) 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 :: dict + r7 :: str + r8 :: object + r9 :: i32 + r10 :: bit + r11 :: bool + r12 :: list + r13, r14 :: ptr + r15 :: bit r16 :: str - r17 :: bit - r18 :: bool - r19, r20, r21 :: str - r22, r23 :: object - r24 :: str - r25 :: object - r26 :: tuple[object, object] - r27 :: object - r28 :: i32 - r29 :: bit - r30 :: bool - r31 :: str - r32 :: object - r33 :: str - r34 :: object - r35 :: i32 - r36 :: bit - r37 :: bool - r38 :: object - r39 :: object[1] - r40 :: object_ptr - r41 :: object - r42 :: bytes - r43 :: str - r44 :: bit - r45 :: str - r46 :: object - r47 :: str - r48 :: object - r49 :: object[1] - r50 :: object_ptr - r51 :: object - r52 :: bit - r53 :: int - r54 :: object - r55 :: str - r56, r57 :: object - r58 :: object[1] - r59 :: object_ptr - r60 :: object - r61, r62 :: str - r63 :: object - r64, r65, r66 :: str - r67 :: object - r68 :: str - r69 :: object - r70 :: object[1] - r71 :: object_ptr - r72 :: object - r73 :: str + r17, r18 :: object + r19 :: str + r20 :: ptr + r21 :: native_int + r22 :: short_int + r23, r24 :: object + r25, r26 :: str + r27, r28 :: object + r29 :: object[8] + r30 :: object_ptr + r31, r32 :: object + r33 :: None +L0: +L1: + r0 = PySequence_List(batch) + if is_error(r0) goto L3 (error at log_internal_error:51) else goto L2 +L2: + batch_objs = r0 + goto L16 +L3: + r1 = CPy_CatchError() + r2 = builtins :: module + r3 = 'TypeError' + r4 = CPyObject_GetAttr(r2, r3) + if is_error(r4) goto L14 (error at log_internal_error:52) else goto L4 +L4: + r5 = CPy_ExceptionMatches(r4) + dec_ref r4 + if r5 goto L5 else goto L11 :: bool +L5: + r6 = dank_mids.helpers._errors.globals :: static + r7 = 'ContractLogicError' + r8 = CPyDict_GetItem(r6, r7) + if is_error(r8) goto L14 (error at log_internal_error:54) else goto L6 +L6: + r9 = PyObject_IsInstance(exc, r8) + dec_ref r8 + r10 = r9 >= 0 :: signed + if not r10 goto L14 (error at log_internal_error:54) else goto L7 :: bool +L7: + r11 = truncate r9: i32 to builtins.bool + if r11 goto L8 else goto L9 :: bool +L8: + CPy_RestoreExcInfo(r1) + dec_ref r1 + return 1 +L9: + r12 = PyList_New(1) + if is_error(r12) goto L14 (error at log_internal_error:57) else goto L10 +L10: + r13 = get_element_ptr r12 ob_item :: PyListObject + r14 = load_mem r13 :: ptr* + inc_ref batch + set_mem r14, batch :: builtins.object* + batch_objs = r12 + goto L13 +L11: + CPy_Reraise() + if not 0 goto L14 else goto L23 :: bool +L12: + unreachable +L13: + CPy_RestoreExcInfo(r1) + dec_ref r1 + goto L16 +L14: + CPy_RestoreExcInfo(r1) + dec_ref r1 + r15 = CPy_KeepPropagating() + if not r15 goto L22 else goto L15 :: bool +L15: + unreachable +L16: + r16 = "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" + r17 = CPy_TYPE(batch) + r18 = CPy_GetName(r17) + dec_ref r17 + if is_error(r18) goto L24 (error at log_internal_error:62) else goto L17 +L17: + r19 = cast(str, r18) + if is_error(r19) goto L24 (error at log_internal_error:62) else goto L18 +L18: + r20 = get_element_ptr batch_objs ob_size :: PyVarObject + r21 = load_mem r20 :: native_int* + r22 = r21 << 1 + r23 = CPy_TYPE(batch) + r24 = CPy_GetName(r23) + dec_ref r23 + if is_error(r24) goto L25 (error at log_internal_error:65) else goto L19 +L19: + r25 = cast(str, r24) + if is_error(r25) goto L25 (error at log_internal_error:65) else goto L20 +L20: + r26 = 'error' + r27 = box(short_int, r22) + r28 = box(bool, 1) + r29 = [logger, r16, r19, r27, exc, r25, batch_objs, r28] + r30 = load_address r29 + r31 = ('exc_info',) + r32 = PyObject_VectorcallMethod(r26, r30, 9223372036854775815, r31) + if is_error(r32) goto L26 (error at log_internal_error:58) else goto L27 +L21: + dec_ref r19 + dec_ref r27 + dec_ref r25 + dec_ref batch_objs + return 1 +L22: + r33 = :: None + return r33 +L23: + dec_ref r1 + goto L12 +L24: + dec_ref batch_objs + goto L22 +L25: + dec_ref batch_objs + dec_ref r19 + goto L22 +L26: + dec_ref batch_objs + dec_ref r19 + dec_ref r25 + dec_ref r27 + goto L22 +L27: + dec_ref r32 + goto L21 + +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, r16 :: str + r17, r18, r19, r20 :: bool L0: - if is_error(primitive) goto L1 else goto L53 + r0 = 'error' + r1 = CPyObject_GetAttr(response, r0) + if is_error(r1) goto L14 (error at needs_full_request_spec:84) else goto L1 L1: - r0 = box(None, 1) - inc_ref r0 - primitive = r0 + r2 = load_address _Py_NoneStruct + r3 = r1 != r2 + dec_ref r1 + if r3 goto L3 else goto L2 :: bool L2: - if is_error(hexstr) goto L3 else goto L54 + r4 = r3 + goto L13 L3: - r1 = box(None, 1) - inc_ref r1 - hexstr = r1 + r5 = 'error' + r6 = CPyObject_GetAttr(response, r5) + if is_error(r6) goto L14 (error at needs_full_request_spec:84) else goto L4 L4: - if is_error(text) goto L5 else goto L55 + r7 = 'message' + r8 = CPyObject_GetAttr(r6, r7) + dec_ref r6 + if is_error(r8) goto L14 (error at needs_full_request_spec:84) else goto L5 L5: - r2 = box(None, 1) - inc_ref r2 - text = r2 + r9 = cast(str, r8) + if is_error(r9) goto L14 (error at needs_full_request_spec:84) else goto L6 L6: - r3 = load_address _Py_NoneStruct - r4 = hexstr != r3 - if r4 goto L56 else goto L57 :: bool + r10 = 'lower' + r11 = [r9] + r12 = load_address r11 + r13 = PyObject_VectorcallMethod(r10, r12, 9223372036854775809, 0) + if is_error(r13) goto L15 (error at needs_full_request_spec:84) else goto L7 L7: - r5 = cast(str, hexstr) - if is_error(r5) goto L52 (error at to_hex:78) else goto L8 + dec_ref r9 + r14 = cast(str, r13) + if is_error(r14) goto L14 (error at needs_full_request_spec:84) else goto L8 L8: - r6 = 'lower' - r7 = [r5] - r8 = load_address r7 - r9 = PyObject_VectorcallMethod(r6, r8, 9223372036854775809, 0) - if is_error(r9) goto L58 (error at to_hex:78) else goto L9 + r15 = 'invalid request' + r16 = 'parse error' + r17 = CPyStr_Equal(r14, r15) + if r17 goto L16 else goto L9 :: bool L9: - dec_ref r5 - r10 = cast(str, r9) - if is_error(r10) goto L52 (error at to_hex:78) else goto L10 + r18 = CPyStr_Equal(r14, r16) + dec_ref r14 + if r18 goto L11 else goto L10 :: bool L10: - r11 = add_0x_prefix(r10) - dec_ref r10 - if is_error(r11) goto L52 (error at to_hex:78) else goto L11 + r19 = 0 + goto L12 L11: - return r11 + r19 = 1 L12: - r12 = load_address _Py_NoneStruct - r13 = text != r12 - if r13 goto L59 else goto L60 :: bool + r4 = r19 L13: - r14 = cast(str, text) - if is_error(r14) goto L52 (error at to_hex:81) else goto L14 + return r4 L14: - r15 = PyUnicode_AsUTF8String(r14) + r20 = :: bool + return r20 +L15: + dec_ref r9 + goto L14 +L16: dec_ref r14 - if is_error(r15) goto L52 (error at to_hex:81) else goto L15 + goto L11 + +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 :: str + r12 :: bool + r13 :: set + r14 :: bool + r15, r16 :: object + r17 :: str + r18 :: i32 + r19 :: bit + r20 :: bool + r21 :: bit + r22 :: 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 L15 (error at is_call_revert:100) else goto L1 +L1: + r6 = cast(str, r5) + if is_error(r6) goto L15 (error at is_call_revert:100) else goto L2 +L2: + r7 = 'lower' + r8 = [r6] + r9 = load_address r8 + r10 = PyObject_VectorcallMethod(r7, r9, 9223372036854775809, 0) + if is_error(r10) goto L16 (error at is_call_revert:100) else goto L3 +L3: + dec_ref r6 + r11 = cast(str, r10) + if is_error(r11) goto L15 (error at is_call_revert:100) else goto L4 +L4: + r12 = 0 + r13 = dank_mids.helpers._errors.INDIVIDUAL_CALL_REVERT_STRINGS :: static + if is_error(r13) goto L17 else goto L7 +L5: + r14 = raise NameError('value for final name "INDIVIDUAL_CALL_REVERT_STRINGS" was not set') + if not r14 goto L15 (error at is_call_revert:101) else goto L6 :: bool +L6: + unreachable +L7: + r15 = PyObject_GetIter(r13) + if is_error(r15) goto L18 (error at is_call_revert:101) else goto L8 +L8: + r16 = PyIter_Next(r15) + if is_error(r16) goto L19 else goto L9 +L9: + r17 = cast(str, r16) + if is_error(r17) goto L20 (error at is_call_revert:101) else goto L10 +L10: + r18 = PyUnicode_Contains(r11, r17) + dec_ref r17 + r19 = r18 >= 0 :: signed + if not r19 goto L20 (error at is_call_revert:101) else goto L11 :: bool +L11: + r20 = truncate r18: i32 to builtins.bool + if r20 goto L21 else goto L8 :: bool +L12: + r12 = 1 + goto L14 +L13: + r21 = CPy_NoErrOccurred() + if not r21 goto L15 (error at is_call_revert:101) else goto L14 :: bool +L14: + return r12 L15: - r16 = encode_hex(r15) - dec_ref r15 - if is_error(r16) goto L52 (error at to_hex:81) else goto L16 + r22 = :: bool + return r22 L16: - return r16 + dec_ref r6 + goto L15 L17: - r17 = PyBool_Check(primitive) - if r17 goto L18 else goto L23 :: bool + dec_ref r11 + goto L5 L18: - r18 = unbox(bool, primitive) - dec_ref primitive - if is_error(r18) goto L52 (error at to_hex:84) else goto L19 + dec_ref r11 + goto L15 L19: - if r18 goto L20 else goto L21 :: bool + dec_ref r11 + dec_ref r15 + goto L13 L20: - r19 = '0x1' - inc_ref r19 - r20 = r19 - goto L22 + dec_ref r11 + dec_ref r15 + goto L15 L21: - r21 = '0x0' - inc_ref r21 - r20 = r21 -L22: - return r20 -L23: - r22 = load_address PyBytes_Type - r23 = builtins :: module - r24 = 'bytearray' - r25 = CPyObject_GetAttr(r23, r24) - if is_error(r25) goto L61 (error at to_hex:86) else goto L24 -L24: - inc_ref r22 - r26 = (r22, r25) - r27 = box(tuple[object, object], r26) - r28 = PyObject_IsInstance(primitive, r27) - dec_ref r27 - r29 = r28 >= 0 :: signed - if not r29 goto L61 (error at to_hex:86) else goto L25 :: bool -L25: - r30 = truncate r28: i32 to builtins.bool - if r30 goto L26 else goto L28 :: bool -L26: - r31 = encode_hex(primitive) - dec_ref primitive - if is_error(r31) goto L52 (error at to_hex:87) else goto L27 -L27: - return r31 -L28: - r32 = builtins :: module - r33 = 'memoryview' - r34 = CPyObject_GetAttr(r32, r33) - if is_error(r34) goto L61 (error at to_hex:89) else goto L29 -L29: - r35 = PyObject_IsInstance(primitive, r34) - dec_ref r34 - r36 = r35 >= 0 :: signed - if not r36 goto L61 (error at to_hex:89) else goto L30 :: bool -L30: - r37 = truncate r35: i32 to builtins.bool - if r37 goto L31 else goto L35 :: bool -L31: - r38 = load_address PyBytes_Type - r39 = [primitive] - r40 = load_address r39 - r41 = PyObject_Vectorcall(r38, r40, 1, 0) - if is_error(r41) goto L61 (error at to_hex:90) else goto L32 -L32: - dec_ref primitive - r42 = cast(bytes, r41) - if is_error(r42) goto L52 (error at to_hex:90) else goto L33 -L33: - r43 = encode_hex(r42) - dec_ref r42 - if is_error(r43) goto L52 (error at to_hex:90) else goto L34 -L34: - return r43 -L35: - r44 = PyUnicode_Check(primitive) - if r44 goto L62 else goto L40 :: bool -L36: - r45 = 'Unsupported type: The primitive argument must be one of: bytes,bytearray, int or bool and not str' - r46 = builtins :: module - r47 = 'TypeError' - r48 = CPyObject_GetAttr(r46, r47) - if is_error(r48) goto L52 (error at to_hex:93) else goto L37 -L37: - r49 = [r45] - r50 = load_address r49 - r51 = PyObject_Vectorcall(r48, r50, 1, 0) - dec_ref r48 - if is_error(r51) goto L52 (error at to_hex:93) else goto L38 -L38: - CPy_Raise(r51) - dec_ref r51 - if not 0 goto L52 (error at to_hex:93) else goto L39 :: bool -L39: - unreachable -L40: - r52 = PyLong_Check(primitive) - if r52 goto L41 else goto L46 :: bool -L41: - r53 = unbox(int, primitive) - dec_ref primitive - if is_error(r53) goto L52 (error at to_hex:99) else goto L42 -L42: - r54 = builtins :: module - r55 = 'hex' - r56 = CPyObject_GetAttr(r54, r55) - if is_error(r56) goto L63 (error at to_hex:99) else goto L43 -L43: - r57 = box(int, r53) - r58 = [r57] - r59 = load_address r58 - r60 = PyObject_Vectorcall(r56, r59, 1, 0) - dec_ref r56 - if is_error(r60) goto L64 (error at to_hex:99) else goto L44 -L44: - dec_ref r57 - r61 = cast(str, r60) - if is_error(r61) goto L52 (error at to_hex:99) else goto L45 -L45: - return r61 -L46: - r62 = "Unsupported type: '" - r63 = CPy_TYPE(primitive) - dec_ref primitive - r64 = PyObject_Repr(r63) - dec_ref r63 - if is_error(r64) goto L52 (error at to_hex:102) else goto L47 -L47: - r65 = "'. Must be one of: bool, str, bytes, bytearray or int." - r66 = CPyStr_Build(3, r62, r64, r65) - dec_ref r64 - if is_error(r66) goto L52 (error at to_hex:102) else goto L48 -L48: - r67 = builtins :: module - r68 = 'TypeError' - r69 = CPyObject_GetAttr(r67, r68) - if is_error(r69) goto L65 (error at to_hex:101) else goto L49 -L49: - r70 = [r66] - r71 = load_address r70 - r72 = PyObject_Vectorcall(r69, r71, 1, 0) - dec_ref r69 - if is_error(r72) goto L65 (error at to_hex:101) else goto L50 -L50: - dec_ref r66 - CPy_Raise(r72) - dec_ref r72 - if not 0 goto L52 (error at to_hex:101) else goto L51 :: bool -L51: - unreachable -L52: - r73 = :: str - return r73 -L53: - inc_ref primitive - goto L2 -L54: - inc_ref hexstr - goto L4 -L55: - inc_ref text - goto L6 -L56: - dec_ref primitive - dec_ref text - goto L7 -L57: - dec_ref hexstr + dec_ref r11 + dec_ref r15 goto L12 -L58: - dec_ref r5 - goto L52 -L59: - dec_ref primitive - goto L13 -L60: - dec_ref text - goto L17 -L61: - dec_ref primitive - goto L52 -L62: - dec_ref primitive - goto L36 -L63: - dec_ref r53 :: int - goto L52 -L64: - dec_ref r57 - goto L52 -L65: - dec_ref r66 - goto L52 -def to_bytes(primitive, hexstr, text): - primitive :: union[object, None] - hexstr, text :: union[str, None] - r0, r1, r2 :: object - r3 :: bit +def is_revert_bytes(data): + data :: object + r0 :: bit + r1, r2 :: bool + r3 :: tuple[bytes, bytes] r4 :: bool - r5, r6, r7 :: bytes - r8 :: object - r9 :: str - r10, r11 :: object - r12 :: str + r5, r6, r7 :: object + r8, r9 :: bytes + r10 :: str + r11 :: object[2] + r12 :: object_ptr r13 :: object - r14 :: tuple[object, object] - r15 :: object - r16 :: i32 - r17 :: bit - r18 :: bool - r19 :: object - r20 :: object[1] - r21 :: object_ptr - r22 :: object - r23 :: bytes - r24 :: bit - r25 :: bytes - r26 :: bit - r27 :: int - r28 :: object - r29, r30 :: union[str, None] - r31 :: str - r32 :: union[object, None] - r33 :: union[str, None] - r34 :: bytes - r35 :: object - r36 :: bit - r37 :: str - r38 :: native_int - r39 :: bit - r40 :: short_int - r41 :: int + r14 :: bool + r15 :: bit + r16 :: bool +L0: + r0 = PyBytes_Check(data) + if r0 goto L2 else goto L1 :: bool +L1: + r1 = r0 + goto L15 +L2: + r2 = 0 + r3 = dank_mids.constants.REVERT_SELECTORS :: static + if is_error(r3) goto L3 else goto L5 +L3: + r4 = raise NameError('value for final name "REVERT_SELECTORS" was not set') + if not r4 goto L16 (error at is_revert_bytes:115) else goto L4 :: bool +L4: + unreachable +L5: + inc_ref r3 + r5 = box(tuple[bytes, bytes], r3) + r6 = PyObject_GetIter(r5) + dec_ref r5 + if is_error(r6) goto L16 (error at is_revert_bytes:114) else goto L6 +L6: + r7 = PyIter_Next(r6) + if is_error(r7) goto L17 else goto L7 +L7: + r8 = cast(bytes, r7) + if is_error(r8) goto L18 (error at is_revert_bytes:114) else goto L8 +L8: + inc_ref data + r9 = cast(bytes, data) + if is_error(r9) goto L19 (error at is_revert_bytes:115) else goto L9 +L9: + r10 = 'startswith' + r11 = [r9, r8] + r12 = load_address r11 + r13 = PyObject_VectorcallMethod(r10, r12, 9223372036854775810, 0) + if is_error(r13) goto L20 (error at is_revert_bytes:115) else goto L10 +L10: + dec_ref r9 + dec_ref r8 + r14 = unbox(bool, r13) + dec_ref r13 + if is_error(r14) goto L18 (error at is_revert_bytes:115) else goto L11 +L11: + if r14 goto L21 else goto L6 :: bool +L12: + r2 = 1 + goto L14 +L13: + r15 = CPy_NoErrOccurred() + if not r15 goto L16 (error at is_revert_bytes:114) else goto L14 :: bool +L14: + r1 = r2 +L15: + return r1 +L16: + r16 = :: bool + return r16 +L17: + dec_ref r6 + goto L13 +L18: + dec_ref r6 + goto L16 +L19: + dec_ref r6 + dec_ref r8 + goto L16 +L20: + dec_ref r6 + dec_ref r8 + dec_ref r9 + goto L16 +L21: + dec_ref r6 + goto L12 + +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:120) 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:120) 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, r25 :: object + r26 :: str + r27 :: dict + r28, r29 :: object + r30 :: str + r31 :: dict + r32 :: object + r33 :: str + r34 :: object + r35 :: bool + r36 :: object[1] + r37 :: object_ptr + r38 :: object + r39 :: dict + r40 :: str + r41 :: i32 r42 :: bit - r43, r44, r45, r46, r47, r48 :: str - r49 :: bytes - r50 :: object - r51 :: bit - r52 :: str - r53 :: bytes - r54 :: str - r55 :: object + r43 :: object + r44 :: bool + r45 :: str + r46 :: object + r47 :: dict + r48 :: str + r49 :: i32 + r50 :: bit + r51 :: object + r52 :: bool + r53 :: str + r54 :: object + r55 :: dict r56 :: str - r57 :: object - r58 :: object[1] - r59 :: object_ptr - r60 :: object - r61 :: bytes + r57 :: i32 + r58 :: bit + r59 :: object + r60 :: bool + r61, r62 :: str + r63 :: object[2] + r64 :: object_ptr + r65 :: object + r66 :: dict + r67 :: str + r68 :: i32 + r69 :: bit + r70 :: object + r71 :: bool + r72 :: str + r73 :: object + r74 :: dict + r75 :: str + r76 :: i32 + r77 :: bit + r78 :: object + r79 :: bool + r80, r81 :: str + r82 :: object[2] + r83 :: object_ptr + 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 :: str + r100 :: object + r101 :: dict + r102 :: str + r103 :: i32 + r104 :: bit + r105 :: object + r106 :: bool + r107, r108 :: str + r109 :: object[2] + r110 :: object_ptr + r111 :: object + r112 :: dict + r113 :: str + r114 :: i32 + r115 :: bit + r116 :: object + r117 :: bool + r118 :: str + r119 :: object + r120 :: dict + r121 :: str + r122 :: i32 + r123 :: bit + r124, r125, r126, r127, r128 :: str + r129 :: set + r130 :: i32 + r131 :: bit + r132 :: i32 + r133 :: bit + r134 :: i32 + r135 :: bit + r136 :: i32 + r137 :: bit + r138 :: i32 + r139 :: bit + r140 :: dict + r141 :: str + r142 :: i32 + r143 :: bit + r144 :: None L0: - if is_error(primitive) goto L1 else goto L49 + 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 - primitive = r0 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L69 (error at :-1) else goto L2 L2: - if is_error(hexstr) goto L3 else goto L50 + builtins = r4 :: module + dec_ref r4 L3: - r1 = box(None, 1) - inc_ref r1 - hexstr = r1 + r5 = ('Logger',) + r6 = 'logging' + r7 = dank_mids.helpers._errors.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L69 (error at :1) else goto L4 L4: - if is_error(text) goto L5 else goto L51 + 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 L69 (error at :2) else goto L5 L5: - r2 = box(None, 1) - inc_ref r2 - text = r2 + typing = r12 :: module + dec_ref r12 + r13 = ('ContractLogicError',) + r14 = 'web3.exceptions' + r15 = dank_mids.helpers._errors.globals :: static + r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) + if is_error(r16) goto L69 (error at :4) else goto L6 L6: - r3 = PyBool_Check(primitive) - if r3 goto L52 else goto L12 :: bool + web3.exceptions = r16 :: module + dec_ref r16 + r17 = ('BadResponse',) + r18 = 'dank_mids._exceptions' + r19 = dank_mids.helpers._errors.globals :: static + r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) + if is_error(r20) goto L69 (error at :6) else goto L7 L7: - r4 = unbox(bool, primitive) - dec_ref primitive - if is_error(r4) goto L48 (error at to_bytes:113) else goto L8 + dank_mids._exceptions = r20 :: module + dec_ref r20 + r21 = ('DEBUG', 'getLogger') + r22 = 'dank_mids._logging' + r23 = dank_mids.helpers._errors.globals :: static + r24 = CPyImport_ImportFromMany(r22, r21, r21, r23) + if is_error(r24) goto L69 (error at :7) else goto L8 L8: - if r4 goto L9 else goto L10 :: bool + dank_mids._logging = r24 :: module + dec_ref r24 + r25 = ('REVERT_SELECTORS',) + r26 = 'dank_mids.constants' + r27 = dank_mids.helpers._errors.globals :: static + r28 = CPyImport_ImportFromMany(r26, r25, r25, r27) + if is_error(r28) goto L69 (error at :8) else goto L9 L9: - r5 = b'\x01' - inc_ref r5 - r6 = r5 - goto L11 + dank_mids.constants = r28 :: module + dec_ref r28 + r29 = ('PartialResponse',) + r30 = 'dank_mids.types' + r31 = dank_mids.helpers._errors.globals :: static + r32 = CPyImport_ImportFromMany(r30, r29, r29, r31) + if is_error(r32) goto L69 (error at :9) else goto L10 L10: - r7 = b'\x00' - inc_ref r7 - r6 = r7 + dank_mids.types = r32 :: module + dec_ref r32 + if 0 goto L11 else goto L11 :: bool L11: - return r6 + r33 = 'dank_mids.errors' + r34 = dank_mids._logging.getLogger :: static + if is_error(r34) goto L12 else goto L14 L12: - r8 = builtins :: module - r9 = 'bytearray' - r10 = CPyObject_GetAttr(r8, r9) - if is_error(r10) goto L53 (error at to_bytes:114) else goto L13 + r35 = raise NameError('value for final name "getLogger" was not set') + if not r35 goto L69 (error at :15) else goto L13 :: bool L13: - r11 = builtins :: module - r12 = 'memoryview' - r13 = CPyObject_GetAttr(r11, r12) - if is_error(r13) goto L54 (error at to_bytes:114) else goto L14 + unreachable L14: - r14 = (r10, r13) - r15 = box(tuple[object, object], r14) - r16 = PyObject_IsInstance(primitive, r15) - dec_ref r15 - r17 = r16 >= 0 :: signed - if not r17 goto L53 (error at to_bytes:114) else goto L15 :: bool + r36 = [r33] + r37 = load_address r36 + r38 = PyObject_Vectorcall(r34, r37, 1, 0) + if is_error(r38) goto L69 (error at :15) else goto L15 L15: - r18 = truncate r16: i32 to builtins.bool - if r18 goto L55 else goto L19 :: bool + dank_mids.helpers._errors.error_logger = r38 :: static + r39 = dank_mids.helpers._errors.globals :: static + r40 = 'error_logger' + r41 = CPyDict_SetItem(r39, r40, r38) + dec_ref r38 + r42 = r41 >= 0 :: signed + if not r42 goto L69 (error at :15) else goto L16 :: bool L16: - r19 = load_address PyBytes_Type - r20 = [primitive] - r21 = load_address r20 - r22 = PyObject_Vectorcall(r19, r21, 1, 0) - if is_error(r22) goto L56 (error at to_bytes:115) else goto L17 + r43 = dank_mids.helpers._errors.error_logger :: static + if is_error(r43) goto L17 else goto L19 L17: - dec_ref primitive - r23 = cast(bytes, r22) - if is_error(r23) goto L48 (error at to_bytes:115) else goto L18 + r44 = raise NameError('value for final name "error_logger" was not set') + if not r44 goto L69 (error at :16) else goto L18 :: bool L18: - return r23 + unreachable L19: - r24 = PyBytes_Check(primitive) - if r24 goto L57 else goto L22 :: bool + r45 = 'debug' + r46 = CPyObject_GetAttr(r43, r45) + if is_error(r46) goto L69 (error at :16) else goto L20 L20: - r25 = cast(bytes, primitive) - if is_error(r25) goto L48 (error at to_bytes:117) else goto L21 + dank_mids.helpers._errors.error_logger_debug = r46 :: static + r47 = dank_mids.helpers._errors.globals :: static + r48 = 'error_logger_debug' + r49 = CPyDict_SetItem(r47, r48, r46) + dec_ref r46 + r50 = r49 >= 0 :: signed + if not r50 goto L69 (error at :16) else goto L21 :: bool L21: - return r25 + r51 = dank_mids.helpers._errors.error_logger :: static + if is_error(r51) goto L22 else goto L24 L22: - r26 = PyLong_Check(primitive) - if r26 goto L58 else goto L59 :: bool + r52 = raise NameError('value for final name "error_logger" was not set') + if not r52 goto L69 (error at :17) else goto L23 :: bool L23: - r27 = unbox(int, primitive) - dec_ref primitive - if is_error(r27) goto L48 (error at to_bytes:119) else goto L24 + unreachable L24: - r28 = box(int, r27) - r29 = :: union[str, None] - r30 = :: union[str, None] - r31 = to_hex(r28, r29, r30) - dec_ref r28 - if is_error(r31) goto L48 (error at to_bytes:119) else goto L25 + r53 = '_log' + r54 = CPyObject_GetAttr(r51, r53) + if is_error(r54) goto L69 (error at :17) else goto L25 L25: - r32 = :: union[object, None] - r33 = :: union[str, None] - r34 = to_bytes(r32, r31, r33) - dec_ref r31 - if is_error(r34) goto L48 (error at to_bytes:119) else goto L26 + dank_mids.helpers._errors.error_logger_log = r54 :: static + r55 = dank_mids.helpers._errors.globals :: static + r56 = 'error_logger_log' + r57 = CPyDict_SetItem(r55, r56, r54) + dec_ref r54 + r58 = r57 >= 0 :: signed + if not r58 goto L69 (error at :17) else goto L26 :: bool L26: - return r34 + r59 = dank_mids.helpers._errors.error_logger :: static + if is_error(r59) goto L27 else goto L29 L27: - r35 = load_address _Py_NoneStruct - r36 = hexstr != r35 - if r36 goto L60 else goto L61 :: bool + r60 = raise NameError('value for final name "error_logger" was not set') + if not r60 goto L69 (error at :24) else goto L28 :: bool L28: - inc_ref hexstr - r37 = cast(str, hexstr) - if is_error(r37) goto L62 (error at to_bytes:121) else goto L29 + unreachable L29: - r38 = CPyStr_Size_size_t(r37) - dec_ref r37 - r39 = r38 >= 0 :: signed - if not r39 goto L62 (error at to_bytes:121) else goto L30 :: bool + r61 = 'reverts' + r62 = 'getChild' + r63 = [r59, r61] + r64 = load_address r63 + r65 = PyObject_VectorcallMethod(r62, r64, 9223372036854775810, 0) + if is_error(r65) goto L69 (error at :24) else goto L30 L30: - r40 = r38 << 1 - r41 = CPyTagged_Remainder(r40, 4) - if is_error(r41) goto L62 (error at to_bytes:121) else goto L31 + dank_mids.helpers._errors.revert_logger = r65 :: static + r66 = dank_mids.helpers._errors.globals :: static + r67 = 'revert_logger' + r68 = CPyDict_SetItem(r66, r67, r65) + dec_ref r65 + r69 = r68 >= 0 :: signed + if not r69 goto L69 (error at :24) else goto L31 :: bool L31: - r42 = r41 != 0 - dec_ref r41 :: int - if r42 goto L32 else goto L36 :: bool + r70 = dank_mids.helpers._errors.revert_logger :: static + if is_error(r70) goto L32 else goto L34 L32: - r43 = '0x0' - r44 = cast(str, hexstr) - if is_error(r44) goto L48 (error at to_bytes:121) else goto L33 + r71 = raise NameError('value for final name "revert_logger" was not set') + if not r71 goto L69 (error at :25) else goto L33 :: bool L33: - r45 = remove_0x_prefix(r44) - dec_ref r44 - if is_error(r45) goto L48 (error at to_bytes:121) else goto L34 + unreachable L34: - r46 = CPyStr_Build(2, r43, r45) - dec_ref r45 - if is_error(r46) goto L48 (error at to_bytes:121) else goto L35 + r72 = '_log' + r73 = CPyObject_GetAttr(r70, r72) + if is_error(r73) goto L69 (error at :25) else goto L35 L35: - r47 = r46 - goto L38 + dank_mids.helpers._errors.revert_logger_log = r73 :: static + r74 = dank_mids.helpers._errors.globals :: static + r75 = 'revert_logger_log' + r76 = CPyDict_SetItem(r74, r75, r73) + dec_ref r73 + r77 = r76 >= 0 :: signed + if not r77 goto L69 (error at :25) else goto L36 :: bool L36: - r48 = cast(str, hexstr) - if is_error(r48) goto L48 (error at to_bytes:121) else goto L37 + r78 = dank_mids.helpers._errors.error_logger :: static + if is_error(r78) goto L37 else goto L39 L37: - r47 = r48 + r79 = raise NameError('value for final name "error_logger" was not set') + if not r79 goto L69 (error at :32) else goto L38 :: bool L38: - r49 = decode_hex(r47) - dec_ref r47 - if is_error(r49) goto L48 (error at to_bytes:121) else goto L39 + unreachable L39: - return r49 + r80 = 'timeouts' + r81 = 'getChild' + r82 = [r78, r80] + r83 = load_address r82 + r84 = PyObject_VectorcallMethod(r81, r83, 9223372036854775810, 0) + if is_error(r84) goto L69 (error at :32) else goto L40 L40: - r50 = load_address _Py_NoneStruct - r51 = text != r50 - if r51 goto L41 else goto L63 :: bool + dank_mids.helpers._errors.timeout_logger = r84 :: static + r85 = dank_mids.helpers._errors.globals :: static + r86 = 'timeout_logger' + r87 = CPyDict_SetItem(r85, r86, r84) + dec_ref r84 + r88 = r87 >= 0 :: signed + if not r88 goto L69 (error at :32) else goto L41 :: bool L41: - r52 = cast(str, text) - if is_error(r52) goto L48 (error at to_bytes:123) else goto L42 + r89 = dank_mids.helpers._errors.timeout_logger :: static + if is_error(r89) goto L42 else goto L44 L42: - r53 = PyUnicode_AsUTF8String(r52) - dec_ref r52 - if is_error(r53) goto L48 (error at to_bytes:123) else goto L43 + r90 = raise NameError('value for final name "timeout_logger" was not set') + if not r90 goto L69 (error at :33) else goto L43 :: bool L43: - return r53 + unreachable L44: - r54 = 'expected a bool, int, byte or bytearray in first arg, or keyword of hexstr or text' - r55 = builtins :: module - r56 = 'TypeError' - r57 = CPyObject_GetAttr(r55, r56) - if is_error(r57) goto L48 (error at to_bytes:124) else goto L45 + r91 = 'debug' + r92 = CPyObject_GetAttr(r89, r91) + if is_error(r92) goto L69 (error at :33) else goto L45 L45: - r58 = [r54] - r59 = load_address r58 - r60 = PyObject_Vectorcall(r57, r59, 1, 0) - dec_ref r57 - if is_error(r60) goto L48 (error at to_bytes:124) else goto L46 + dank_mids.helpers._errors.timeout_logger_debug = r92 :: static + r93 = dank_mids.helpers._errors.globals :: static + r94 = 'timeout_logger_debug' + r95 = CPyDict_SetItem(r93, r94, r92) + dec_ref r92 + r96 = r95 >= 0 :: signed + if not r96 goto L69 (error at :33) else goto L46 :: bool L46: - CPy_Raise(r60) - dec_ref r60 - if not 0 goto L48 (error at to_bytes:124) else goto L47 :: bool + r97 = dank_mids.helpers._errors.timeout_logger :: static + if is_error(r97) goto L47 else goto L49 L47: - unreachable + r98 = raise NameError('value for final name "timeout_logger" was not set') + if not r98 goto L69 (error at :34) else goto L48 :: bool L48: - r61 = :: bytes - return r61 + unreachable L49: - inc_ref primitive - goto L2 + r99 = 'warning' + r100 = CPyObject_GetAttr(r97, r99) + if is_error(r100) goto L69 (error at :34) else goto L50 L50: - inc_ref hexstr - goto L4 + dank_mids.helpers._errors.timeout_logger_warning = r100 :: static + r101 = dank_mids.helpers._errors.globals :: static + r102 = 'timeout_logger_warning' + r103 = CPyDict_SetItem(r101, r102, r100) + dec_ref r100 + r104 = r103 >= 0 :: signed + if not r104 goto L69 (error at :34) else goto L51 :: bool L51: - inc_ref text - goto L6 + r105 = dank_mids.helpers._errors.error_logger :: static + if is_error(r105) goto L52 else goto L54 L52: - dec_ref hexstr - dec_ref text - goto L7 + r106 = raise NameError('value for final name "error_logger" was not set') + if not r106 goto L69 (error at :37) else goto L53 :: bool L53: - dec_ref primitive - dec_ref hexstr - dec_ref text - goto L48 + unreachable L54: - dec_ref primitive - dec_ref hexstr - dec_ref text - dec_ref r10 - goto L48 + r107 = 'gas' + r108 = 'getChild' + r109 = [r105, r107] + r110 = load_address r109 + r111 = PyObject_VectorcallMethod(r108, r110, 9223372036854775810, 0) + if is_error(r111) goto L69 (error at :37) else goto L55 L55: - dec_ref hexstr - dec_ref text - goto L16 + dank_mids.helpers._errors.gas_logger = r111 :: static + r112 = dank_mids.helpers._errors.globals :: static + r113 = 'gas_logger' + r114 = CPyDict_SetItem(r112, r113, r111) + dec_ref r111 + r115 = r114 >= 0 :: signed + if not r115 goto L69 (error at :37) else goto L56 :: bool L56: - dec_ref primitive - goto L48 + r116 = dank_mids.helpers._errors.gas_logger :: static + if is_error(r116) goto L57 else goto L59 L57: - dec_ref hexstr - dec_ref text - goto L20 + r117 = raise NameError('value for final name "gas_logger" was not set') + if not r117 goto L69 (error at :38) else goto L58 :: bool L58: - dec_ref hexstr - dec_ref text - goto L23 + unreachable L59: - dec_ref primitive - goto L27 + r118 = 'debug' + r119 = CPyObject_GetAttr(r116, r118) + if is_error(r119) goto L69 (error at :38) else goto L60 L60: - dec_ref text - goto L28 + dank_mids.helpers._errors.gas_logger_debug = r119 :: static + r120 = dank_mids.helpers._errors.globals :: static + r121 = 'gas_logger_debug' + r122 = CPyDict_SetItem(r120, r121, r119) + dec_ref r119 + r123 = r122 >= 0 :: signed + if not r123 goto L69 (error at :38) else goto L61 :: bool L61: - dec_ref hexstr - goto L40 + r124 = 'invalid opcode' + r125 = 'missing trie node' + r126 = 'resource not found' + r127 = 'invalid ether transfer' + r128 = 'error processing call revert' + r129 = PySet_New(0) + if is_error(r129) goto L69 (error at :40) else goto L62 L62: - dec_ref hexstr - goto L48 + r130 = PySet_Add(r129, r124) + r131 = r130 >= 0 :: signed + if not r131 goto L70 (error at :40) else goto L63 :: bool L63: - dec_ref text - goto L44 + r132 = PySet_Add(r129, r125) + r133 = r132 >= 0 :: signed + if not r133 goto L70 (error at :40) else goto L64 :: bool +L64: + r134 = PySet_Add(r129, r126) + r135 = r134 >= 0 :: signed + if not r135 goto L70 (error at :40) else goto L65 :: bool +L65: + r136 = PySet_Add(r129, r127) + r137 = r136 >= 0 :: signed + if not r137 goto L70 (error at :40) else goto L66 :: bool +L66: + r138 = PySet_Add(r129, r128) + r139 = r138 >= 0 :: signed + if not r139 goto L70 (error at :40) else goto L67 :: bool +L67: + dank_mids.helpers._errors.INDIVIDUAL_CALL_REVERT_STRINGS = r129 :: static + r140 = dank_mids.helpers._errors.globals :: static + r141 = 'INDIVIDUAL_CALL_REVERT_STRINGS' + r142 = CPyDict_SetItem(r140, r141, r129) + dec_ref r129 + r143 = r142 >= 0 :: signed + if not r143 goto L69 (error at :40) else goto L68 :: bool +L68: + return 1 +L69: + r144 = :: None + return r144 +L70: + dec_ref r129 + goto L69 -def decode_hex(value): - value :: str - r0 :: bit +def RawResponse.__init__(self, raw): + self :: dank_mids.helpers._codec.RawResponse + raw :: object +L0: + inc_ref raw + self._raw = raw + return 1 + +def RawResponse.decode(self, partial): + self :: dank_mids.helpers._codec.RawResponse + partial :: bool + r0 :: dict r1 :: str - r2 :: object - r3 :: str - r4 :: object - r5 :: object[1] - r6 :: object_ptr - r7 :: object + r2, r3 :: object + r4 :: bit + r5 :: None + r6 :: object + r7 :: dict r8 :: str - r9 :: bytes - r10 :: object - r11 :: bool - r12 :: object[1] - r13 :: object_ptr - r14 :: object - r15, r16 :: bytes + r9 :: object + r10 :: union[object, None] + r11 :: dict + r12 :: str + r13 :: object + r14 :: dict + r15 :: str + r16 :: object + r17 :: object[2] + r18 :: object_ptr + r19, r20, r21 :: object L0: - r0 = PyUnicode_Check(value) - if r0 goto L5 else goto L1 :: bool + if is_error(partial) goto L1 else goto L2 L1: - r1 = 'Value must be an instance of str' - r2 = builtins :: module - r3 = 'TypeError' - r4 = CPyObject_GetAttr(r2, r3) - if is_error(r4) goto L13 (error at decode_hex:131) else goto L2 + partial = 0 L2: - r5 = [r1] - r6 = load_address r5 - r7 = PyObject_Vectorcall(r4, r6, 1, 0) - dec_ref r4 - if is_error(r7) goto L13 (error at decode_hex:131) else goto L3 + r0 = dank_mids.helpers._codec.globals :: static + r1 = 'better_decode' + r2 = CPyDict_GetItem(r0, r1) + if is_error(r2) goto L13 (error at decode:96) else goto L3 L3: - CPy_Raise(r7) - dec_ref r7 - if not 0 goto L13 (error at decode_hex:131) else goto L4 :: bool + r3 = load_address _Py_NoneStruct + r4 = r2 == r3 + dec_ref r2 + if r4 goto L4 else goto L5 :: bool L4: - unreachable + r5 = __import_from_types() + if is_error(r5) goto L13 (error at decode:97) else goto L5 L5: - r8 = remove_0x_prefix(value) - if is_error(r8) goto L13 (error at decode_hex:132) else goto L6 + r6 = self._raw + if partial goto L6 else goto L8 :: bool L6: - r9 = PyUnicode_AsASCIIString(r8) - dec_ref r8 - if is_error(r9) goto L13 (error at decode_hex:134) else goto L7 + r7 = dank_mids.helpers._codec.globals :: static + r8 = 'PartialResponse' + r9 = CPyDict_GetItem(r7, r8) + if is_error(r9) goto L14 (error at decode:98) else goto L7 L7: - r10 = dank_mids._eth_utils.unhexlify :: static - if is_error(r10) goto L14 else goto L10 + r10 = r9 + goto L10 L8: - r11 = raise NameError('value for final name "unhexlify" was not set') - if not r11 goto L13 (error at decode_hex:135) else goto L9 :: bool + r11 = dank_mids.helpers._codec.globals :: static + r12 = 'Response' + r13 = CPyDict_GetItem(r11, r12) + if is_error(r13) goto L14 (error at decode:98) else goto L9 L9: - unreachable + r10 = r13 L10: - r12 = [r9] - r13 = load_address r12 - r14 = PyObject_Vectorcall(r10, r13, 1, 0) - if is_error(r14) goto L15 (error at decode_hex:135) else goto L11 + r14 = dank_mids.helpers._codec.globals :: static + r15 = 'better_decode' + r16 = CPyDict_GetItem(r14, r15) + if is_error(r16) goto L15 (error at decode:98) else goto L11 L11: - dec_ref r9 - r15 = cast(bytes, r14) - if is_error(r15) goto L13 (error at decode_hex:135) else goto L12 + r17 = [r6, r10] + r18 = load_address r17 + r19 = ('type',) + r20 = PyObject_Vectorcall(r16, r18, 1, r19) + dec_ref r16 + if is_error(r20) goto L15 (error at decode:98) else goto L12 L12: - return r15 + dec_ref r6 + dec_ref r10 + return r20 L13: - r16 = :: bytes - return r16 + r21 = :: object + return r21 L14: - dec_ref r9 - goto L8 + dec_ref r6 + goto L13 L15: - dec_ref r9 + dec_ref r6 + dec_ref r10 goto L13 -def encode_hex(value): - value :: object - r0 :: bit - r1 :: bytes - ascii_bytes :: object - r2 :: bit - r3 :: str - r4 :: bytes - r5 :: bit - r6 :: object - r7 :: object[1] - r8 :: object_ptr - r9 :: object - r10 :: str - r11 :: object - r12 :: str - r13 :: object - r14 :: object[1] - r15 :: object_ptr - r16, r17 :: object - r18 :: bool - r19 :: object[1] - r20 :: object_ptr - r21 :: object - r22 :: bytes - r23, r24, r25 :: str +def decode_raw(data): + data, r0 :: object + r1 :: bool + r2 :: object[1] + r3 :: object_ptr + r4 :: object + r5 :: dank_mids.helpers._codec.RawResponse + r6 :: tuple[object, object, object] + r7 :: object + r8 :: bool + r9 :: bit + r10 :: object + r11 :: str + r12 :: object + r13 :: list + r14 :: object + r15 :: i32 + r16 :: bit + r17 :: tuple + r18 :: str + r19 :: i32 + r20, r21 :: bit + r22 :: dank_mids.helpers._codec.RawResponse L0: - r0 = PyBytes_Check(value) - if r0 goto L1 else goto L3 :: bool L1: - inc_ref value - r1 = cast(bytes, value) - if is_error(r1) goto L22 (error at encode_hex:141) else goto L2 + r0 = dank_mids.helpers._codec._decode_raw :: static + if is_error(r0) goto L2 else goto L4 L2: - ascii_bytes = r1 - goto L14 + r1 = raise NameError('value for final name "_decode_raw" was not set') + if not r1 goto L7 (error at decode_raw:114) else goto L3 :: bool L3: - r2 = PyUnicode_Check(value) - if r2 goto L4 else goto L7 :: bool + unreachable L4: - inc_ref value - r3 = cast(str, value) - if is_error(r3) goto L22 (error at encode_hex:143) else goto L5 + r2 = [data] + r3 = load_address r2 + r4 = PyObject_Vectorcall(r0, r3, 1, 0) + if is_error(r4) goto L7 (error at decode_raw:114) else goto L5 L5: - r4 = PyUnicode_AsASCIIString(r3) - dec_ref r3 - if is_error(r4) goto L22 (error at encode_hex:143) else goto L6 + r5 = RawResponse(r4) + dec_ref r4 + if is_error(r5) goto L7 (error at decode_raw:114) else goto L6 L6: - ascii_bytes = r4 - goto L14 + return r5 L7: - r5 = PyByteArray_Check(value) - if r5 goto L8 else goto L10 :: bool + r6 = CPy_CatchError() + r7 = dank_mids.helpers._codec.DecodeError :: static + if is_error(r7) goto L8 else goto L10 L8: - r6 = load_address PyBytes_Type - r7 = [value] - r8 = load_address r7 - r9 = PyObject_Vectorcall(r6, r8, 1, 0) - if is_error(r9) goto L22 (error at encode_hex:145) else goto L9 + r8 = raise NameError('value for final name "DecodeError" was not set') + if not r8 goto L21 (error at decode_raw:115) else goto L24 :: bool L9: - ascii_bytes = r9 - goto L14 + unreachable L10: - r10 = 'Value must be an instance of str or unicode' - r11 = builtins :: module - r12 = 'TypeError' - r13 = CPyObject_GetAttr(r11, r12) - if is_error(r13) goto L22 (error at encode_hex:147) else goto L11 + r9 = CPy_ExceptionMatches(r7) + if r9 goto L11 else goto L19 :: bool L11: - r14 = [r10] - r15 = load_address r14 - r16 = PyObject_Vectorcall(r13, r15, 1, 0) - dec_ref r13 - if is_error(r16) goto L22 (error at encode_hex:147) else goto L12 + r10 = CPy_GetExcValue() + r11 = 'args' + r12 = CPyObject_GetAttr(r10, r11) + if is_error(r12) goto L25 (error at decode_raw:116) else goto L12 L12: - CPy_Raise(r16) - dec_ref r16 - if not 0 goto L22 (error at encode_hex:147) else goto L13 :: bool + r13 = PyList_New(0) + if is_error(r13) goto L26 (error at decode_raw:116) else goto L13 L13: - unreachable + r14 = CPyList_Extend(r13, r12) + dec_ref r12 + if is_error(r14) goto L27 (error at decode_raw:116) else goto L28 L14: - r17 = dank_mids._eth_utils.hexlify :: static - if is_error(r17) goto L23 else goto L17 + r15 = PyList_Append(r13, data) + r16 = r15 >= 0 :: signed + if not r16 goto L27 (error at decode_raw:116) else goto L15 :: bool L15: - r18 = raise NameError('value for final name "hexlify" was not set') - if not r18 goto L22 (error at encode_hex:148) else goto L16 :: bool + r17 = PyList_AsTuple(r13) + dec_ref r13 + if is_error(r17) goto L25 (error at decode_raw:116) else goto L16 L16: - unreachable + r18 = 'args' + r19 = PyObject_SetAttr(r10, r18, r17) + dec_ref r10 + dec_ref r17 + r20 = r19 >= 0 :: signed + if not r20 goto L21 (error at decode_raw:116) else goto L17 :: bool L17: - r19 = [ascii_bytes] - r20 = load_address r19 - r21 = PyObject_Vectorcall(r17, r20, 1, 0) - if is_error(r21) goto L24 (error at encode_hex:148) else goto L18 + CPy_Reraise() + if not 0 goto L21 else goto L29 :: bool L18: - dec_ref ascii_bytes - r22 = cast(bytes, r21) - if is_error(r22) goto L22 (error at encode_hex:148) else goto L19 + unreachable L19: - r23 = CPy_DecodeASCII(r22) - dec_ref r22 - if is_error(r23) goto L22 (error at encode_hex:148) else goto L20 + CPy_Reraise() + if not 0 goto L21 else goto L30 :: bool L20: - r24 = add_0x_prefix(r23) - dec_ref r23 - if is_error(r24) goto L22 (error at encode_hex:149) else goto L21 -L21: - return r24 -L22: - r25 = :: str - return r25 -L23: - dec_ref ascii_bytes - goto L15 -L24: - dec_ref ascii_bytes - goto L22 - -def is_0x_prefixed(value): - value :: str - r0 :: bit - r1, r2, r3, r4, r5, r6 :: str - r7 :: object[3] - r8 :: object_ptr - r9 :: object - r10 :: list - r11, r12, r13 :: ptr - r14 :: str - r15 :: object - r16 :: str - r17 :: object - r18 :: object[1] - r19 :: object_ptr - r20 :: object - r21, r22 :: str - r23 :: tuple[str, str] - r24 :: object - r25, r26 :: bool -L0: - r0 = PyUnicode_Check(value) - if r0 goto L9 else goto L1 :: bool -L1: - r1 = '' - r2 = 'is_0x_prefixed requires text typed arguments. Got: ' - r3 = '{:{}}' - r4 = PyObject_Repr(value) - if is_error(r4) goto L11 (error at is_0x_prefixed:154) else goto L2 -L2: - r5 = '' - r6 = 'format' - r7 = [r3, r4, r5] - r8 = load_address r7 - r9 = PyObject_VectorcallMethod(r6, r8, 9223372036854775811, 0) - if is_error(r9) goto L12 (error at is_0x_prefixed:154) else goto L3 -L3: - dec_ref r4 - r10 = PyList_New(2) - if is_error(r10) goto L13 (error at is_0x_prefixed:154) else goto L4 -L4: - r11 = get_element_ptr r10 ob_item :: PyListObject - r12 = load_mem r11 :: ptr* - inc_ref r2 - set_mem r12, r2 :: builtins.object* - r13 = r12 + 8 - set_mem r13, r9 :: builtins.object* - r14 = PyUnicode_Join(r1, r10) - dec_ref r10 - if is_error(r14) goto L11 (error at is_0x_prefixed:154) else goto L5 -L5: - r15 = builtins :: module - r16 = 'TypeError' - r17 = CPyObject_GetAttr(r15, r16) - if is_error(r17) goto L14 (error at is_0x_prefixed:154) else goto L6 -L6: - r18 = [r14] - r19 = load_address r18 - r20 = PyObject_Vectorcall(r17, r19, 1, 0) - dec_ref r17 - if is_error(r20) goto L14 (error at is_0x_prefixed:154) else goto L7 -L7: - dec_ref r14 - CPy_Raise(r20) - dec_ref r20 - if not 0 goto L11 (error at is_0x_prefixed:154) else goto L8 :: bool -L8: unreachable -L9: - r21 = '0x' - r22 = '0X' - inc_ref r21 - inc_ref r22 - r23 = (r21, r22) - r24 = box(tuple[str, str], r23) - r25 = CPyStr_Startswith(value, r24) - dec_ref r24 - if is_error(r25) goto L11 (error at is_0x_prefixed:155) else goto L10 -L10: - return r25 -L11: - r26 = :: bool - return r26 -L12: - dec_ref r4 - goto L11 -L13: - dec_ref r9 - goto L11 -L14: - dec_ref r14 - goto L11 - -def remove_0x_prefix(value): - value :: str - r0 :: bool - r1 :: object - r2, r3 :: str -L0: - r0 = is_0x_prefixed(value) - if is_error(r0) goto L6 (error at remove_0x_prefix:160) else goto L1 -L1: - if r0 goto L2 else goto L5 :: bool -L2: - r1 = CPyStr_GetSlice(value, 4, 9223372036854775806) - if is_error(r1) goto L6 (error at remove_0x_prefix:161) else goto L3 -L3: - r2 = cast(str, r1) - if is_error(r2) goto L6 (error at remove_0x_prefix:161) else goto L4 -L4: - return r2 -L5: - inc_ref value - return value -L6: - r3 = :: str - return r3 - -def add_0x_prefix(value): - value :: str - r0 :: bool - r1, r2, r3 :: str -L0: - r0 = is_0x_prefixed(value) - if is_error(r0) goto L5 (error at add_0x_prefix:167) else goto L1 -L1: - if r0 goto L2 else goto L3 :: bool -L2: - inc_ref value - return value -L3: - r1 = '0x' - r2 = CPyStr_Build(2, r1, value) - if is_error(r2) goto L5 (error at add_0x_prefix:169) else goto L4 -L4: - return r2 -L5: - r3 = :: str - return r3 +L21: + CPy_RestoreExcInfo(r6) + dec_ref r6 + r21 = CPy_KeepPropagating() + if not r21 goto L23 else goto L22 :: bool +L22: + unreachable +L23: + r22 = :: dank_mids.helpers._codec.RawResponse + return r22 +L24: + dec_ref r6 + goto L9 +L25: + dec_ref r10 + goto L21 +L26: + dec_ref r10 + dec_ref r12 + goto L21 +L27: + dec_ref r10 + dec_ref r13 + goto L21 +L28: + dec_ref r14 + goto L14 +L29: + dec_ref r6 + goto L18 +L30: + dec_ref r6 + goto L20 -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 +def decode_jsonrpc_batch(data): + data :: object + r0 :: dict + r1 :: str + r2, r3 :: object + r4 :: bit + r5 :: None + r6 :: dict + r7 :: str + r8 :: object + r9 :: object[1] + r10 :: object_ptr + r11 :: object + decoded :: union[list, object] + r12 :: bit + r13 :: list + r14, r15 :: object + r16 :: dank_mids.helpers._codec.RawResponse + r17 :: i32 + r18, r19 :: bit + r20, r21 :: union[list, object] L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool + r0 = dank_mids.helpers._codec.globals :: static + r1 = '_decode_batch' + r2 = CPyDict_GetItem(r0, r1) + if is_error(r2) goto L15 (error at decode_jsonrpc_batch:130) else goto L1 L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L11 (error at :-1) else goto L2 + r3 = load_address _Py_NoneStruct + r4 = r2 == r3 + dec_ref r2 + if r4 goto L2 else goto L3 :: bool L2: - builtins = r4 :: module - dec_ref r4 + r5 = __make_decode_batch() + if is_error(r5) goto L15 (error at decode_jsonrpc_batch:131) else goto L3 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 + r6 = dank_mids.helpers._codec.globals :: static + r7 = '_decode_batch' + r8 = CPyDict_GetItem(r6, r7) + if is_error(r8) goto L15 (error at decode_jsonrpc_batch:133) else goto L4 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 + r9 = [data] + r10 = load_address r9 + r11 = PyObject_Vectorcall(r8, r10, 1, 0) + dec_ref r8 + if is_error(r11) goto L15 (error at decode_jsonrpc_batch:133) 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 + decoded = r11 + r12 = PyList_Check(decoded) + if r12 goto L6 else goto L13 :: bool 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 + r13 = PyList_New(0) + if is_error(r13) goto L16 (error at decode_jsonrpc_batch:134) 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 + r14 = PyObject_GetIter(decoded) + dec_ref decoded + if is_error(r14) goto L17 (error at decode_jsonrpc_batch:134) else goto L8 L8: - r30 = binascii :: module - r31 = 'unhexlify' - r32 = CPyObject_GetAttr(r30, r31) - if is_error(r32) goto L11 (error at :15) else goto L9 + r15 = PyIter_Next(r14) + if is_error(r15) goto L18 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 + r16 = RawResponse(r15) + dec_ref r15 + if is_error(r16) goto L19 (error at decode_jsonrpc_batch:134) else goto L10 L10: - return 1 + r17 = PyList_Append(r13, r16) + dec_ref r16 + r18 = r17 >= 0 :: signed + if not r18 goto L19 (error at decode_jsonrpc_batch:134) else goto L8 :: bool L11: - r37 = :: None - return r37 + r19 = CPy_NoErrOccurred() + if not r19 goto L17 (error at decode_jsonrpc_batch:134) else goto L12 :: bool +L12: + r20 = r13 + goto L14 +L13: + r20 = decoded +L14: + return r20 +L15: + r21 = :: union[object, list] + return r21 +L16: + dec_ref decoded + goto L15 +L17: + dec_ref r13 + goto L15 +L18: + dec_ref r14 + goto L11 +L19: + dec_ref r13 + dec_ref r14 + goto L15 -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4, r5 :: object +def _encode_hook(obj): + obj :: union[int, str, object, bytes] + r0 :: object + r1 :: object[1] + r2 :: object_ptr + r3 :: object + r4 :: int + 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 + r7, r8 :: object + r9 :: object[1] + r10 :: object_ptr + r11 :: object + r12 :: str + r13 :: tuple[object, object, object] + r14 :: object + r15 :: str + r16 :: object + r17 :: bit + r18, e :: object 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 + r20 :: str + r21 :: object + r22 :: i32 + r23 :: bit + r24 :: bool + r25 :: dict + r26 :: object + r27 :: str + r28 :: object[1] + r29 :: object_ptr + r30, r31, r32 :: object + r33 :: tuple[object, object] + r34, r35 :: object + r36 :: union[str, object] + r37 :: str + r38 :: i32 + r39, r40 :: bit + r41 :: str r42 :: object - r43 :: dict - r44 :: str - r45 :: dict + r43 :: tuple + r44, r45 :: object r46 :: str r47 :: object - r48 :: str + r48 :: list r49 :: object - r50 :: dict - r51 :: str - r52 :: object - r53 :: object[1] - r54 :: object_ptr + r50 :: i32 + r51 :: bit + r52 :: i32 + r53 :: bit + r54 :: tuple 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 + r59 :: bit + r60, r61 :: object + r62 :: bool + r63 :: i32 + r64 :: bit + r65 :: bool + r66 :: object + r67 :: str + r68 :: object[1] + r69 :: object_ptr + r70 :: object + r71 :: union[str, list, dict] + r72 :: dict + r73 :: str + r74 :: object + r75 :: i32 + r76 :: bit + r77 :: bool + r78, r79 :: str + r80 :: object + r81 :: tuple + r82, r83 :: object 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 + r86 :: list + r87 :: object + r88 :: i32 + r89 :: bit + r90 :: i32 + r91 :: bit + r92 :: tuple + r93 :: object + r94 :: bit + r95 :: union[str, list, dict] 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 + r0 = load_address PyLong_Type + r1 = [obj] + r2 = load_address r1 + r3 = PyObject_Vectorcall(r0, r2, 1, 0) + if is_error(r3) goto L7 (error at _encode_hook:152) else goto L2 L2: - builtins = r4 :: module - dec_ref r4 + r4 = unbox(int, r3) + dec_ref r3 + if is_error(r4) goto L7 (error at _encode_hook:152) else goto L3 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 + r5 = builtins :: module + r6 = 'hex' + r7 = CPyObject_GetAttr(r5, r6) + if is_error(r7) goto L66 (error at _encode_hook:152) 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 + r8 = box(int, r4) + r9 = [r8] + r10 = load_address r9 + r11 = PyObject_Vectorcall(r7, r10, 1, 0) + dec_ref r7 + if is_error(r11) goto L67 (error at _encode_hook:152) 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 + dec_ref r8 + r12 = cast(str, r11) + if is_error(r12) goto L7 (error at _encode_hook:152) 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 + return r12 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 + r13 = CPy_CatchError() + r14 = builtins :: module + r15 = 'TypeError' + r16 = CPyObject_GetAttr(r14, r15) + if is_error(r16) goto L63 (error at _encode_hook:153) 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 + r17 = CPy_ExceptionMatches(r16) + dec_ref r16 + if r17 goto L9 else goto L34 :: 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 + r18 = CPy_GetExcValue() + e = r18 + r19 = dank_mids.helpers._codec.globals :: static + r20 = 'Mapping' + r21 = CPyDict_GetItem(r19, r20) + if is_error(r21) goto L68 (error at _encode_hook:156) else goto L10 +L10: + r22 = PyObject_IsInstance(obj, r21) + dec_ref r21 + r23 = r22 >= 0 :: signed + if not r23 goto L68 (error at _encode_hook:156) else goto L11 :: bool +L11: + r24 = truncate r22: i32 to builtins.bool + if r24 goto L69 else goto L23 :: bool 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 + r25 = PyDict_New() + if is_error(r25) goto L63 (error at _encode_hook:157) 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 + inc_ref obj + r26 = obj + r27 = 'items' + r28 = [r26] + r29 = load_address r28 + r30 = PyObject_VectorcallMethod(r27, r29, 9223372036854775809, 0) + if is_error(r30) goto L70 (error at _encode_hook:157) else goto L14 L14: - dec_ref r49 - r56 = CPy_TYPE(r55) - r57 = '__exit__' - r58 = CPyObject_GetAttr(r56, r57) - if is_error(r58) goto L58 (error at :33) else goto L15 + dec_ref r26 L15: - r59 = '__enter__' - r60 = CPyObject_GetAttr(r56, r59) - dec_ref r56 - if is_error(r60) goto L59 (error at :33) else goto L16 + r31 = PyObject_GetIter(r30) + dec_ref r30 + if is_error(r31) goto L71 (error at _encode_hook:157) 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 + r32 = PyIter_Next(r31) + if is_error(r32) goto L72 else goto L17 L17: - r64 = 1 + r33 = unbox(tuple[object, object], r32) + dec_ref r32 + if is_error(r33) goto L73 (error at _encode_hook:157) 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 + r34 = r33[0] + r35 = r33[1] + dec_ref r33 + r36 = _rudimentary_encode_dict_value(r35) + dec_ref r35 + if is_error(r36) goto L74 (error at _encode_hook:157) 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 + r37 = cast(str, r36) + if is_error(r37) goto L74 (error at _encode_hook:157) 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 + r38 = PyDict_SetItem(r25, r34, r37) + dec_ref r34 + dec_ref r37 + r39 = r38 >= 0 :: signed + if not r39 goto L73 (error at _encode_hook:157) else goto L16 :: 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 + r40 = CPy_NoErrOccurred() + if not r40 goto L71 (error at _encode_hook:157) else goto L22 :: bool L22: - r78 = truncate r76: i32 to builtins.bool - if r78 goto L23 else goto L43 :: bool + CPy_RestoreExcInfo(r13) + dec_ref r13 + return r25 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 + r41 = 'args' + r42 = CPyObject_GetAttr(e, r41) + dec_ref e + if is_error(r42) goto L63 (error at _encode_hook:159) 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 + r43 = cast(tuple, r42) + if is_error(r43) goto L63 (error at _encode_hook:159) 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 + r44 = CPy_TYPE(obj) + r45 = builtins :: module + r46 = 'TypeError' + r47 = CPyObject_GetAttr(r45, r46) + if is_error(r47) goto L75 (error at _encode_hook:159) 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 + r48 = PyList_New(0) + if is_error(r48) goto L76 (error at _encode_hook:159) 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 + r49 = CPyList_Extend(r48, r43) + dec_ref r43 + if is_error(r49) goto L77 (error at _encode_hook:159) else goto L78 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 + r50 = PyList_Append(r48, obj) + r51 = r50 >= 0 :: signed + if not r51 goto L77 (error at _encode_hook:159) else goto L29 :: bool L29: - r99 = 'eth' - r100 = CPyObject_GetAttr(r98, r99) - dec_ref r98 - if is_error(r100) goto L35 (error at :40) else goto L30 + r52 = PyList_Append(r48, r44) + dec_ref r44 + r53 = r52 >= 0 :: signed + if not r53 goto L79 (error at _encode_hook:159) else goto L30 :: bool 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 + r54 = PyList_AsTuple(r48) + dec_ref r48 + if is_error(r54) goto L80 (error at _encode_hook:159) else goto L31 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 + r55 = PyObject_CallObject(r47, r54) + dec_ref r47 + dec_ref r54 + if is_error(r55) goto L63 (error at _encode_hook:159) 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 + CPy_Raise(r55) + dec_ref r55 + if not 0 goto L63 (error at _encode_hook:159) else goto L81 :: bool 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 + unreachable 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 + r56 = builtins :: module + r57 = 'ValueError' + r58 = CPyObject_GetAttr(r56, r57) + if is_error(r58) goto L63 (error at _encode_hook:160) 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 + r59 = CPy_ExceptionMatches(r58) + dec_ref r58 + if r59 goto L36 else goto L61 :: bool 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 + r60 = CPy_GetExcValue() + e = r60 + r61 = dank_mids.helpers._codec.HexBytes :: static + if is_error(r61) goto L82 else goto L39 L37: - r131 = truncate r129: i32 to builtins.bool - if r131 goto L40 else goto L38 :: bool + r62 = raise NameError('value for final name "HexBytes" was not set') + if not r62 goto L63 (error at _encode_hook:163) else goto L83 :: bool L38: - CPy_Reraise() - if not 0 goto L41 else goto L65 :: bool -L39: unreachable +L39: + r63 = PyObject_IsInstance(obj, r61) + r64 = r63 >= 0 :: signed + if not r64 goto L68 (error at _encode_hook:163) else goto L40 :: bool L40: - CPy_RestoreExcInfo(r121) - dec_ref r121 - goto L43 + r65 = truncate r63: i32 to builtins.bool + if r65 goto L84 else goto L45 :: bool L41: - CPy_RestoreExcInfo(r121) - dec_ref r121 - r132 = CPy_KeepPropagating() - if not r132 goto L44 else goto L66 :: bool + inc_ref obj + r66 = obj + r67 = 'hex' + r68 = [r66] + r69 = load_address r68 + r70 = PyObject_VectorcallMethod(r67, r69, 9223372036854775809, 0) + if is_error(r70) goto L85 (error at _encode_hook:164) else goto L42 L42: - unreachable + dec_ref r66 L43: - r133 = :: tuple[object, object, object] - r134 = r133 - goto L45 + r71 = cast(union[str, list, dict], r70) + if is_error(r71) goto L63 (error at _encode_hook:164) else goto L44 L44: - r135 = CPy_CatchError() - r134 = r135 + CPy_RestoreExcInfo(r13) + dec_ref r13 + return r71 L45: - if r64 goto L46 else goto L67 :: bool + r72 = dank_mids.helpers._codec.globals :: static + r73 = 'Address' + r74 = CPyDict_GetItem(r72, r73) + if is_error(r74) goto L68 (error at _encode_hook:165) else goto L46 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 + r75 = PyObject_IsInstance(obj, r74) + dec_ref r74 + r76 = r75 >= 0 :: signed + if not r76 goto L68 (error at _encode_hook:165) else goto L47 :: bool L47: - dec_ref r55 + r77 = truncate r75: i32 to builtins.bool + if r77 goto L86 else goto L50 :: bool L48: - if is_error(r134) goto L55 else goto L49 + r78 = PyObject_Str(obj) + if is_error(r78) goto L63 (error at _encode_hook:166) else goto L49 L49: - CPy_Reraise() - if not 0 goto L51 else goto L70 :: bool + CPy_RestoreExcInfo(r13) + dec_ref r13 + return r78 L50: - unreachable + r79 = 'args' + r80 = CPyObject_GetAttr(e, r79) + dec_ref e + if is_error(r80) goto L63 (error at _encode_hook:168) else goto L51 L51: - if is_error(r134) goto L53 else goto L52 + r81 = cast(tuple, r80) + if is_error(r81) goto L63 (error at _encode_hook:168) else goto L52 L52: - CPy_RestoreExcInfo(r134) - xdec_ref r134 + r82 = CPy_TYPE(obj) + r83 = builtins :: module + r84 = 'ValueError' + r85 = CPyObject_GetAttr(r83, r84) + if is_error(r85) goto L87 (error at _encode_hook:168) else goto L53 L53: - r140 = CPy_KeepPropagating() - if not r140 goto L56 else goto L54 :: bool + r86 = PyList_New(0) + if is_error(r86) goto L88 (error at _encode_hook:168) else goto L54 L54: - unreachable + r87 = CPyList_Extend(r86, r81) + dec_ref r81 + if is_error(r87) goto L89 (error at _encode_hook:168) else goto L90 L55: - return 1 + r88 = PyList_Append(r86, obj) + r89 = r88 >= 0 :: signed + if not r89 goto L89 (error at _encode_hook:168) else goto L56 :: bool L56: - r141 = :: None - return r141 + r90 = PyList_Append(r86, r82) + dec_ref r82 + r91 = r90 >= 0 :: signed + if not r91 goto L91 (error at _encode_hook:168) else goto L57 :: bool L57: - dec_ref r49 - goto L56 + r92 = PyList_AsTuple(r86) + dec_ref r86 + if is_error(r92) goto L92 (error at _encode_hook:168) else goto L58 L58: - dec_ref r55 - dec_ref r56 - goto L56 + r93 = PyObject_CallObject(r85, r92) + dec_ref r85 + dec_ref r92 + if is_error(r93) goto L63 (error at _encode_hook:168) else goto L59 L59: - dec_ref r55 - dec_ref r58 - goto L56 + CPy_Raise(r93) + dec_ref r93 + if not 0 goto L63 (error at _encode_hook:168) else goto L93 :: bool L60: - dec_ref r63 - goto L17 + unreachable L61: - dec_ref r71 - goto L35 + CPy_Reraise() + if not 0 goto L63 else goto L94 :: bool L62: - dec_ref r85 - goto L35 + unreachable L63: - dec_ref r107 - goto L35 + CPy_RestoreExcInfo(r13) + dec_ref r13 + r94 = CPy_KeepPropagating() + if not r94 goto L65 else goto L64 :: bool L64: - dec_ref r123 - dec_ref r124 - dec_ref r125 - goto L41 + unreachable L65: - dec_ref r55 - dec_ref r58 - dec_ref r121 - goto L39 + r95 = :: union[str, list, dict] + return r95 L66: - dec_ref r55 - dec_ref r58 - goto L42 + dec_ref r4 :: int + goto L7 L67: - dec_ref r55 - dec_ref r58 - goto L48 + dec_ref r8 + goto L7 L68: - dec_ref r55 - goto L51 + dec_ref e + goto L63 L69: - dec_ref r139 - goto L47 + dec_ref e + goto L12 L70: - xdec_ref r134 - goto L50 + dec_ref r25 + dec_ref r26 + goto L63 +L71: + dec_ref r25 + goto L63 +L72: + dec_ref r31 + goto L21 +L73: + dec_ref r25 + dec_ref r31 + goto L63 +L74: + dec_ref r25 + dec_ref r31 + dec_ref r34 + goto L63 +L75: + dec_ref r43 + dec_ref r44 + goto L63 +L76: + dec_ref r43 + dec_ref r44 + dec_ref r47 + goto L63 +L77: + dec_ref r44 + dec_ref r47 + dec_ref r48 + goto L63 +L78: + dec_ref r49 + goto L28 +L79: + dec_ref r47 + dec_ref r48 + goto L63 +L80: + dec_ref r47 + goto L63 +L81: + dec_ref r13 + goto L33 +L82: + dec_ref e + goto L37 +L83: + dec_ref r13 + goto L38 +L84: + dec_ref e + goto L41 +L85: + dec_ref r66 + goto L63 +L86: + dec_ref e + goto L48 +L87: + dec_ref r81 + dec_ref r82 + goto L63 +L88: + dec_ref r81 + dec_ref r82 + dec_ref r85 + goto L63 +L89: + dec_ref r82 + dec_ref r85 + dec_ref r86 + goto L63 +L90: + dec_ref r87 + goto L55 +L91: + dec_ref r85 + dec_ref r86 + goto L63 +L92: + dec_ref r85 + goto L63 +L93: + dec_ref r13 + goto L60 +L94: + dec_ref r13 + goto L62 -def log_errd_batch(batch): - batch :: object - r0 :: dank_mids.stats._Collector - r1 :: bool +def _rudimentary_encode_dict_value(value): + value :: union[int, object] + r0 :: bit + r1 :: int r2 :: object r3 :: str - r4 :: object[2] - r5 :: object_ptr - r6 :: object - r7 :: dank_mids.stats._StatsLogger - r8 :: bool - r9, r10 :: str - r11 :: object - r12 :: union[int, str] - r13, r14 :: str - r15 :: int - r16, r17, r18 :: str - r19 :: object - r20 :: int - r21, r22, r23, r24, r25 :: str - r26 :: object - r27 :: dict - r28, r29, r30 :: str - r31 :: tuple - r32 :: dict - r33, r34 :: None + r4, r5 :: object + r6 :: object[1] + r7 :: object_ptr + r8 :: object + r9 :: str + r10, r11 :: union[str, object] L0: - r0 = dank_mids.stats.collector :: static - if is_error(r0) goto L1 else goto L3 + r0 = PyLong_Check(value) + if r0 goto L1 else goto L6 :: bool L1: - r1 = raise NameError('value for final name "collector" was not set') - if not r1 goto L24 (error at log_errd_batch:83) else goto L2 :: bool + r1 = unbox(int, value) + if is_error(r1) goto L8 (error at _rudimentary_encode_dict_value:177) else goto L2 L2: - unreachable + r2 = builtins :: module + r3 = 'hex' + r4 = CPyObject_GetAttr(r2, r3) + if is_error(r4) goto L9 (error at _rudimentary_encode_dict_value:177) else goto L3 L3: - r2 = r0.errd_batches - r3 = 'append' - r4 = [r2, batch] - r5 = load_address r4 - r6 = PyObject_VectorcallMethod(r3, r5, 9223372036854775810, 0) - if is_error(r6) goto L25 (error at log_errd_batch:83) else goto L26 + r5 = box(int, r1) + r6 = [r5] + r7 = load_address r6 + r8 = PyObject_Vectorcall(r4, r7, 1, 0) + dec_ref r4 + if is_error(r8) goto L10 (error at _rudimentary_encode_dict_value:177) else goto L4 L4: - dec_ref r2 - r7 = dank_mids.stats.logger :: static - if is_error(r7) goto L5 else goto L7 + dec_ref r5 + r9 = cast(str, r8) + if is_error(r9) goto L8 (error at _rudimentary_encode_dict_value:177) else goto L5 L5: - r8 = raise NameError('value for final name "logger" was not set') - if not r8 goto L24 (error at log_errd_batch:84) else goto L6 :: bool + r10 = r9 + goto L7 L6: - unreachable + inc_ref value + r10 = value L7: - r9 = 'jsonrpc batch failed\njson batch id: ' - r10 = 'jid' - r11 = CPyObject_GetAttr(batch, r10) - if is_error(r11) goto L24 (error at log_errd_batch:85) else goto L8 + return r10 L8: - r12 = cast(union[int, str], r11) - if is_error(r12) goto L24 (error at log_errd_batch:85) else goto L9 + r11 = :: union[str, object] + return r11 L9: - r13 = PyObject_Str(r12) + dec_ref r1 :: int + goto L8 +L10: + dec_ref r5 + goto L8 + +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 _int_to_big_endian(value): + value :: int + r0 :: str + r1 :: object + r2 :: object[1] + r3 :: object_ptr + r4 :: object + r5, r6, r7 :: int + r8 :: bit + r9 :: int + r10, r11 :: str + r12, r13 :: object + r14 :: object[3] + r15 :: object_ptr + r16 :: object + r17, r18 :: bytes +L0: + r0 = 'bit_length' + inc_ref value :: int + r1 = box(int, value) + r2 = [r1] + r3 = load_address r2 + r4 = PyObject_VectorcallMethod(r0, r3, 9223372036854775809, 0) + if is_error(r4) goto L10 (error at _int_to_big_endian:210) else goto L1 +L1: + dec_ref r1 + r5 = unbox(int, r4) + dec_ref r4 + if is_error(r5) goto L9 (error at _int_to_big_endian:210) else goto L2 +L2: + r6 = CPyTagged_Add(r5, 14) + dec_ref r5 :: int + r7 = CPyTagged_Rshift(r6, 6) + dec_ref r6 :: int + if is_error(r7) goto L9 (error at _int_to_big_endian:-1) else goto L3 +L3: + r8 = r7 != 0 + if r8 goto L4 else goto L11 :: bool +L4: + r9 = r7 + goto L6 +L5: + r9 = 2 +L6: + r10 = 'big' + r11 = 'to_bytes' + inc_ref value :: int + r12 = box(int, value) + r13 = box(int, r9) + r14 = [r12, r13, r10] + r15 = load_address r14 + r16 = PyObject_VectorcallMethod(r11, r15, 9223372036854775811, 0) + if is_error(r16) goto L12 (error at _int_to_big_endian:210) else goto L7 +L7: dec_ref r12 - if is_error(r13) goto L24 (error at log_errd_batch:85) else goto L10 + dec_ref r13 + r17 = cast(bytes, r16) + if is_error(r17) goto L9 (error at _int_to_big_endian:210) else goto L8 +L8: + return r17 +L9: + r18 = :: bytes + return r18 L10: - r14 = ' | len: ' - r15 = CPyObject_Size(batch) - if is_error(r15) goto L27 (error at log_errd_batch:85) else goto L11 + dec_ref r1 + goto L9 L11: - r16 = CPyTagged_Str(r15) - dec_ref r15 :: int - if is_error(r16) goto L27 (error at log_errd_batch:85) else goto L12 + dec_ref r7 :: int + goto L5 L12: - r17 = ' | total calls: ' - r18 = 'total_calls' - r19 = CPyObject_GetAttr(batch, r18) - if is_error(r19) goto L28 (error at log_errd_batch:85) else goto L13 -L13: - r20 = unbox(int, r19) - dec_ref r19 - if is_error(r20) goto L28 (error at log_errd_batch:85) else goto L14 -L14: - r21 = CPyTagged_Str(r20) - dec_ref r20 :: int - if is_error(r21) goto L28 (error at log_errd_batch:85) else goto L15 -L15: - r22 = '\n' - r23 = CPyStr_Build(7, r9, r13, r14, r16, r17, r21, r22) - dec_ref r13 - dec_ref r16 - dec_ref r21 - if is_error(r23) goto L24 (error at log_errd_batch:85) else goto L16 -L16: - r24 = 'methods called: ' - r25 = 'method_counts' - r26 = CPyObject_GetAttr(batch, r25) - if is_error(r26) goto L29 (error at log_errd_batch:86) else goto L17 -L17: - r27 = cast(dict, r26) - if is_error(r27) goto L29 (error at log_errd_batch:86) else goto L18 -L18: - r28 = PyObject_Str(r27) - dec_ref r27 - if is_error(r28) goto L29 (error at log_errd_batch:86) else goto L19 -L19: - r29 = CPyStr_Build(2, r24, r28) - dec_ref r28 - if is_error(r29) goto L29 (error at log_errd_batch:86) else goto L20 -L20: - r30 = PyUnicode_Concat(r23, r29) - dec_ref r23 - dec_ref r29 - if is_error(r30) goto L24 (error at log_errd_batch:85) else goto L21 -L21: - r31 = CPyTuple_LoadEmptyTupleConstant() - r32 = PyDict_New() - if is_error(r32) goto L30 (error at log_errd_batch:84) else goto L22 -L22: - r33 = r7.devhint(r30, r31, r32) - dec_ref r30 - dec_ref r31 - dec_ref r32 - if is_error(r33) goto L24 (error at log_errd_batch:84) else goto L23 -L23: - return 1 -L24: - r34 = :: None - return r34 -L25: - dec_ref r2 - goto L24 -L26: - dec_ref r6 - goto L4 -L27: - dec_ref r13 - goto L24 -L28: + dec_ref r12 dec_ref r13 - dec_ref r16 - goto L24 -L29: - dec_ref r23 - goto L24 -L30: - dec_ref r30 - dec_ref r31 - goto L24 + goto L9 -def log_duration(work_descriptor, start, level): - work_descriptor :: str - start :: float - level :: int - r0 :: dank_mids.stats._StatsLogger - r1 :: bool +def _encode_uint_256(i): + i :: int + r0, r1 :: bytes r2 :: str r3 :: object - r4 :: object[2] + r4 :: object[3] r5 :: object_ptr r6 :: object - r7 :: bool - r8 :: dict - r9 :: str - r10 :: object - r11 :: bool - r12 :: dict - r13 :: str - r14, r15 :: object - r16 :: float - r17 :: bit - r18 :: float - r19 :: dict - r20 :: str - r21, r22 :: object - r23 :: bool - r24 :: dank_mids.stats._Collector - r25 :: bool - r26 :: dict - r27 :: object - r28 :: str - r29 :: object - r30 :: object[2] - r31 :: object_ptr - r32 :: object - r33 :: dank_mids.stats._StatsLogger - r34 :: bool - r35 :: str - r36 :: object - r37, r38 :: str - r39 :: tuple - r40 :: dict - r41, r42 :: None + r7, r8 :: bytes L0: - if is_error(level) goto L1 else goto L34 + r0 = _int_to_big_endian(i) + if is_error(r0) goto L4 (error at _encode_uint_256:214) else goto L1 L1: - level = 26 + r1 = b'\x00' + r2 = 'rjust' + r3 = object 32 + r4 = [r0, r3, r1] + r5 = load_address r4 + r6 = PyObject_VectorcallMethod(r2, r5, 9223372036854775811, 0) + if is_error(r6) goto L5 (error at _encode_uint_256:215) else goto L2 L2: - r0 = dank_mids.stats.logger :: static - if is_error(r0) goto L35 else goto L5 + dec_ref r0 + r7 = cast(bytes, r6) + if is_error(r7) goto L4 (error at _encode_uint_256:215) else goto L3 L3: - r1 = raise NameError('value for final name "logger" was not set') - if not r1 goto L33 (error at log_duration:100) else goto L4 :: bool + return r7 L4: - unreachable + r8 = :: bytes + return r8 L5: - r2 = 'isEnabledFor' - inc_ref level :: int - r3 = box(int, level) - r4 = [r0, r3] - r5 = load_address r4 - r6 = PyObject_VectorcallMethod(r2, r5, 9223372036854775810, 0) - if is_error(r6) goto L36 (error at log_duration:100) else goto L6 -L6: + dec_ref r0 + goto L4 + +def __encode_new(values): + values :: object + r0 :: tuple[bytes, int] + r1 :: bytes + r2 :: int + r3 :: bytes + r4 :: int + r5, r6, r7 :: bytes +L0: + r0 = __encode_elements_new(values) + if is_error(r0) goto L4 (error at __encode_new:219) else goto L1 +L1: + r1 = borrow r0[0] + r2 = borrow r0[1] + r3 = unborrow r1 + r4 = unborrow r2 + r5 = _encode_uint_256(r4) + dec_ref r4 :: int + if is_error(r5) goto L5 (error at __encode_new:220) else goto L2 +L2: + r6 = CPyBytes_Concat(r5, r3) dec_ref r3 - r7 = unbox(bool, r6) - dec_ref r6 - if is_error(r7) goto L37 (error at log_duration:100) else goto L7 + if is_error(r6) goto L4 (error at __encode_new:220) else goto L3 +L3: + return r6 +L4: + r7 = :: bytes + return r7 +L5: + dec_ref r3 + goto L4 + +def __encode_elements_new(values): + values :: object + r0 :: list + r1, r2 :: object + r3 :: union[tuple[str, object], list] + r4 :: object + r5 :: bool + r6 :: object[1] + r7 :: object_ptr + r8 :: object + r9 :: i32 + r10, r11 :: bit + r12 :: ptr + r13 :: native_int + r14 :: short_int + count, r15 :: int + r16 :: list + r17 :: object + r18, r19 :: ptr + offset :: int + r20 :: object + r21 :: list + r22 :: native_int + r23 :: ptr + r24 :: native_int + r25 :: bit + r26, r27 :: ptr + r28 :: native_int + r29 :: ptr + r30 :: object + r31, r32 :: int + r33 :: object + r34 :: i32 + r35 :: bit + r36 :: native_int + r37 :: ptr + r38 :: native_int + r39 :: list + r40 :: native_int + r41 :: ptr + r42 :: native_int + r43 :: bit + r44, r45 :: ptr + r46 :: native_int + r47 :: ptr + r48 :: object + r49, r50 :: int + r51 :: bytes + r52 :: native_int + r53 :: object + r54 :: bytes + r55 :: list + r56, r57 :: object + r58 :: tuple + r59 :: bytes + r60, r61 :: tuple[bytes, int] +L0: + r0 = PyList_New(0) + if is_error(r0) goto L32 (error at __encode_elements_new:224) else goto L1 +L1: + r1 = PyObject_GetIter(values) + if is_error(r1) goto L33 (error at __encode_elements_new:224) else goto L2 +L2: + r2 = PyIter_Next(r1) + if is_error(r2) goto L34 else goto L3 +L3: + r3 = cast(union[tuple[str, object], list], r2) + if is_error(r3) goto L35 (error at __encode_elements_new:224) else goto L4 +L4: + r4 = dank_mids.helpers._codec._item_encoder :: static + if is_error(r4) goto L36 else goto L7 +L5: + r5 = raise NameError('value for final name "_item_encoder" was not set') + if not r5 goto L32 (error at __encode_elements_new:224) else goto L6 :: bool +L6: + unreachable L7: - r8 = dank_mids.stats.globals :: static - r9 = 'COLLECT_STATS' - r10 = CPyDict_GetItem(r8, r9) - if is_error(r10) goto L37 (error at log_duration:101) else goto L8 + r6 = [r3] + r7 = load_address r6 + r8 = PyObject_Vectorcall(r4, r7, 1, 0) + if is_error(r8) goto L37 (error at __encode_elements_new:224) else goto L8 L8: - r11 = unbox(bool, r10) - dec_ref r10 - if is_error(r11) goto L37 (error at log_duration:101) else goto L9 + dec_ref r3 + r9 = PyList_Append(r0, r8) + dec_ref r8 + r10 = r9 >= 0 :: signed + if not r10 goto L35 (error at __encode_elements_new:224) else goto L2 :: bool L9: - if r11 goto L11 else goto L10 :: bool + r11 = CPy_NoErrOccurred() + if not r11 goto L33 (error at __encode_elements_new:224) else goto L10 :: bool L10: - if r7 goto L11 else goto L38 :: bool + r12 = get_element_ptr r0 ob_size :: PyVarObject + r13 = load_mem r12 :: native_int* + r14 = r13 << 1 + count = r14 + r15 = CPyTagged_Multiply(64, count) + r16 = PyList_New(1) + if is_error(r16) goto L38 (error at __encode_elements_new:227) else goto L11 L11: - r12 = dank_mids.stats.globals :: static - r13 = 'time' - r14 = CPyDict_GetItem(r12, r13) - if is_error(r14) goto L37 (error at log_duration:102) else goto L12 + r17 = object 0 + r18 = get_element_ptr r16 ob_item :: PyListObject + r19 = load_mem r18 :: ptr* + inc_ref r17 + set_mem r19, r17 :: builtins.object* + offset = 0 + r20 = CPyList_GetSlice(r0, 0, -2) + if is_error(r20) goto L39 (error at __encode_elements_new:229) else goto L12 L12: - r15 = PyObject_Vectorcall(r14, 0, 0, 0) - dec_ref r14 - if is_error(r15) goto L37 (error at log_duration:102) else goto L13 + r21 = cast(list, r20) + if is_error(r21) goto L39 (error at __encode_elements_new:229) else goto L13 L13: - r16 = unbox(float, r15) - dec_ref r15 - r17 = r16 == -113.0 - if r17 goto L15 else goto L14 :: bool + r22 = 0 L14: - r18 = r16 - start - r19 = dank_mids.stats.globals :: static - r20 = 'COLLECT_STATS' - r21 = CPyDict_GetItem(r19, r20) - if is_error(r21) goto L37 (error at log_duration:103) else goto L16 + r23 = get_element_ptr r21 ob_size :: PyVarObject + r24 = load_mem r23 :: native_int* + r25 = r22 < r24 :: signed + if r25 goto L15 else goto L40 :: bool L15: - r22 = PyErr_Occurred() - if not is_error(r22) goto L37 (error at log_duration:102) else goto L14 + r26 = get_element_ptr r21 ob_item :: PyListObject + r27 = load_mem r26 :: ptr* + r28 = r22 * 8 + r29 = r27 + r28 + r30 = load_mem r29 :: builtins.object* + r31 = CPyObject_Size(r30) + dec_ref r30 + if is_error(r31) goto L41 (error at __encode_elements_new:230) else goto L16 L16: - r23 = unbox(bool, r21) - dec_ref r21 - if is_error(r23) goto L37 (error at log_duration:103) else goto L17 + r32 = CPyTagged_Add(offset, r31) + dec_ref offset :: int + dec_ref r31 :: int + offset = r32 + inc_ref offset :: int + r33 = box(int, offset) + r34 = PyList_Append(r16, r33) + dec_ref r33 + r35 = r34 >= 0 :: signed + if not r35 goto L41 (error at __encode_elements_new:231) else goto L17 :: bool L17: - if r23 goto L18 else goto L24 :: bool + r36 = r22 + 1 + r22 = r36 + goto L14 L18: - r24 = dank_mids.stats.collector :: static - if is_error(r24) goto L39 else goto L21 + r37 = get_element_ptr r16 ob_size :: PyVarObject + r38 = load_mem r37 :: native_int* + r39 = PyList_New(r38) + if is_error(r39) goto L42 (error at __encode_elements_new:232) else goto L19 L19: - r25 = raise NameError('value for final name "collector" was not set') - if not r25 goto L33 (error at log_duration:104) else goto L20 :: bool + r40 = 0 L20: - unreachable + r41 = get_element_ptr r16 ob_size :: PyVarObject + r42 = load_mem r41 :: native_int* + r43 = r40 < r42 :: signed + if r43 goto L21 else goto L43 :: bool L21: - r26 = r24.durations - r27 = CPyDict_GetItem(r26, work_descriptor) - dec_ref r26 - if is_error(r27) goto L37 (error at log_duration:104) else goto L22 + r44 = get_element_ptr r16 ob_item :: PyListObject + r45 = load_mem r44 :: ptr* + r46 = r40 * 8 + r47 = r45 + r46 + r48 = load_mem r47 :: builtins.object* + r49 = unbox(int, r48) + dec_ref r48 + if is_error(r49) goto L44 (error at __encode_elements_new:232) else goto L22 L22: - r28 = 'append' - r29 = box(float, r18) - r30 = [r27, r29] - r31 = load_address r30 - r32 = PyObject_VectorcallMethod(r28, r31, 9223372036854775810, 0) - if is_error(r32) goto L40 (error at log_duration:104) else goto L41 + r50 = CPyTagged_Add(r15, r49) + dec_ref r49 :: int + r51 = _encode_uint_256(r50) + dec_ref r50 :: int + if is_error(r51) goto L44 (error at __encode_elements_new:232) else goto L23 L23: - dec_ref r27 - dec_ref r29 + CPyList_SetItemUnsafe(r39, r40, r51) L24: - if r7 goto L25 else goto L38 :: bool + r52 = r40 + 1 + r40 = r52 + goto L20 L25: - r33 = dank_mids.stats.logger :: static - if is_error(r33) goto L42 else goto L28 + r53 = PyObject_GetIter(r39) + dec_ref r39 + if is_error(r53) goto L45 (error at __encode_elements_new:232) else goto L26 L26: - r34 = raise NameError('value for final name "logger" was not set') - if not r34 goto L33 (error at log_duration:106) else goto L27 :: bool + r54 = b'' + r55 = PyList_New(0) + if is_error(r55) goto L46 (error at __encode_elements_new:233) else goto L27 L27: - unreachable + r56 = CPyList_Extend(r55, r53) + dec_ref r53 + if is_error(r56) goto L47 (error at __encode_elements_new:233) else goto L48 L28: - r35 = ' took ' - r36 = box(float, r18) - r37 = PyObject_Str(r36) - dec_ref r36 - if is_error(r37) goto L37 (error at log_duration:106) else goto L29 + r57 = CPyList_Extend(r55, r0) + dec_ref r0 + if is_error(r57) goto L49 (error at __encode_elements_new:233) else goto L50 L29: - r38 = CPyStr_Build(3, work_descriptor, r35, r37) - dec_ref r37 - if is_error(r38) goto L37 (error at log_duration:106) else goto L30 + r58 = PyList_AsTuple(r55) + dec_ref r55 + if is_error(r58) goto L51 (error at __encode_elements_new:233) else goto L30 L30: - r39 = CPyTuple_LoadEmptyTupleConstant() - r40 = PyDict_New() - if is_error(r40) goto L43 (error at log_duration:106) else goto L31 + r59 = CPyBytes_Join(r54, r58) + dec_ref r58 + if is_error(r59) goto L51 (error at __encode_elements_new:233) else goto L31 L31: - r41 = r33._log_nocheck(level, r38, r39, r40) - dec_ref level :: int - dec_ref r38 - dec_ref r39 - dec_ref r40 - if is_error(r41) goto L33 (error at log_duration:106) else goto L32 + r60 = (r59, count) + return r60 L32: - return 1 + r61 = :: tuple[bytes, int] + return r61 L33: - r42 = :: None - return r42 + dec_ref r0 + goto L32 L34: - inc_ref level :: int - goto L2 + dec_ref r1 + goto L9 L35: - dec_ref level :: int - goto L3 + dec_ref r0 + dec_ref r1 + goto L32 L36: - dec_ref level :: int + dec_ref r0 + dec_ref r1 dec_ref r3 - goto L33 + goto L5 L37: - dec_ref level :: int - goto L33 + dec_ref r0 + dec_ref r1 + dec_ref r3 + goto L32 L38: - dec_ref level :: int + dec_ref r0 + dec_ref count :: int + dec_ref r15 :: int goto L32 L39: - dec_ref level :: int - goto L19 + dec_ref r0 + dec_ref count :: int + dec_ref r15 :: int + dec_ref r16 + dec_ref offset :: int + goto L32 L40: - dec_ref level :: int - dec_ref r27 - dec_ref r29 - goto L33 + dec_ref offset :: int + dec_ref r21 + goto L18 L41: - dec_ref r32 - goto L23 + dec_ref r0 + dec_ref count :: int + dec_ref r15 :: int + dec_ref r16 + dec_ref offset :: int + dec_ref r21 + goto L32 L42: - dec_ref level :: int - goto L26 + dec_ref r0 + dec_ref count :: int + dec_ref r15 :: int + dec_ref r16 + goto L32 L43: - dec_ref level :: int - dec_ref r38 + dec_ref r15 :: int + dec_ref r16 + goto L25 +L44: + dec_ref r0 + dec_ref count :: int + dec_ref r15 :: int + dec_ref r16 dec_ref r39 - goto L33 - -def _StatsLogger.enabled(self): - self :: dank_mids.stats._StatsLogger - r0 :: None - r1 :: str - r2 :: object - r3 :: object[2] - r4 :: object_ptr - r5 :: object - r6, r7 :: bool -L0: - r0 = self._ensure_daemon() - if is_error(r0) goto L4 (error at enabled:134) else goto L1 -L1: - r1 = 'isEnabledFor' - r2 = object 13 - r3 = [self, r2] - r4 = load_address r3 - r5 = PyObject_VectorcallMethod(r1, r4, 9223372036854775810, 0) - if is_error(r5) goto L4 (error at enabled:135) else goto L2 -L2: - r6 = unbox(bool, r5) - dec_ref r5 - if is_error(r6) goto L4 (error at enabled:135) else goto L3 -L3: - return r6 -L4: - r7 = :: bool - return r7 + goto L32 +L45: + dec_ref r0 + dec_ref count :: int + goto L32 +L46: + dec_ref r0 + dec_ref count :: int + dec_ref r53 + goto L32 +L47: + dec_ref r0 + dec_ref count :: int + dec_ref r55 + goto L32 +L48: + dec_ref r56 + goto L28 +L49: + dec_ref count :: int + dec_ref r55 + goto L32 +L50: + dec_ref r57 + goto L29 +L51: + dec_ref count :: int + goto L32 -def _StatsLogger.stats(self, msg, args, kwargs): - self :: dank_mids.stats._StatsLogger - msg :: str - args :: tuple - kwargs :: dict - r0 :: bool - r1 :: str - r2 :: object - r3 :: dict - r4 :: i32 - r5 :: bit +def mcall_encode(data): + data :: object + r0 :: tuple[bool, object] + r1 :: object + r2 :: bool + r3 :: object + r4 :: object[1] + r5 :: object_ptr r6 :: object - r7 :: tuple - r8 :: object - r9 :: None + r7, r8 :: bytes L0: - r0 = self.enabled - if is_error(r0) goto L8 (error at stats:151) 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: - if r0 goto L2 else goto L7 :: bool + r2 = raise NameError('value for final name "_mcall_encoder" was not set') + if not r2 goto L6 (error at mcall_encode:246) else goto L2 :: bool L2: - r1 = '_log_nocheck' - r2 = CPyObject_GetAttr(self, r1) - if is_error(r2) goto L8 (error at stats:152) else goto L3 + unreachable L3: - r3 = PyDict_New() - if is_error(r3) goto L9 (error at stats:152) else goto L4 + 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:246) else goto L4 L4: - r4 = CPyDict_UpdateInDisplay(r3, kwargs) - r5 = r4 >= 0 :: signed - if not r5 goto L10 (error at stats:152) else goto L5 :: bool -L5: - r6 = object 13 - r7 = PyTuple_Pack(3, r6, msg, args) - if is_error(r7) goto L10 (error at stats:152) else goto L6 -L6: - r8 = PyObject_Call(r2, r7, r3) - dec_ref r2 - dec_ref r7 - dec_ref r3 - if is_error(r8) goto L8 (error at stats:152) else goto L11 -L7: - return 1 -L8: - r9 = :: None - return r9 -L9: - dec_ref r2 - goto L8 -L10: - dec_ref r2 dec_ref r3 - goto L8 -L11: - dec_ref r8 - goto L7 - -def _StatsLogger.devhint(self, msg, args, kwargs): - self :: dank_mids.stats._StatsLogger - msg :: str - args :: tuple - kwargs :: dict - r0 :: str - r1 :: object - r2 :: dict - r3 :: i32 - r4 :: bit - r5 :: object - r6 :: tuple - r7 :: object - r8 :: None -L0: - r0 = '_log' - r1 = CPyObject_GetAttr(self, r0) - if is_error(r1) goto L6 (error at devhint:166) else goto L1 -L1: - r2 = PyDict_New() - if is_error(r2) goto L7 (error at devhint:166) else goto L2 -L2: - r3 = CPyDict_UpdateInDisplay(r2, kwargs) - r4 = r3 >= 0 :: signed - if not r4 goto L8 (error at devhint:166) else goto L3 :: bool -L3: - r5 = object 15 - r6 = PyTuple_Pack(3, r5, msg, args) - if is_error(r6) goto L8 (error at devhint:166) else goto L4 -L4: - r7 = PyObject_Call(r1, r6, r2) - dec_ref r1 - dec_ref r6 - dec_ref r2 - if is_error(r7) goto L6 (error at devhint:166) else goto L9 + r7 = cast(bytes, r6) + if is_error(r7) goto L6 (error at mcall_encode:246) else goto L5 L5: - return 1 + return r7 L6: - r8 = :: None + r8 = :: bytes return r8 L7: - dec_ref r1 - goto L6 -L8: - dec_ref r1 - dec_ref r2 - goto L6 -L9: - dec_ref r7 - goto L5 - -def _StatsLogger.log_brownie_stats(self, level): - self :: dank_mids.stats._StatsLogger - level :: int - r0 :: object - r1 :: str - r2 :: object - r3 :: tuple - r4 :: dict - r5, r6 :: None -L0: - if is_error(level) goto L1 else goto L7 -L1: - level = 26 -L2: - r0 = dank_mids.stats._Writer :: type - r1 = 'brownie' - r2 = CPyObject_GetAttr(r0, r1) - if is_error(r2) goto L8 (error at log_brownie_stats:180) else goto L3 -L3: - r3 = CPyTuple_LoadEmptyTupleConstant() - r4 = PyDict_New() - if is_error(r4) goto L9 (error at log_brownie_stats:180) else goto L4 -L4: - r5 = self._log_fn_result(level, r2, r3, r4) - dec_ref level :: int - dec_ref r2 - dec_ref r3 - dec_ref r4 - if is_error(r5) goto L6 (error at log_brownie_stats:180) else goto L5 -L5: - return 1 -L6: - r6 = :: None - return r6 -L7: - inc_ref level :: int - goto L2 -L8: - dec_ref level :: int - goto L6 -L9: - dec_ref level :: int - dec_ref r2 - dec_ref r3 - goto L6 - -def _StatsLogger.log_event_loop_stats(self, level): - self :: dank_mids.stats._StatsLogger - level :: int - r0 :: object - r1 :: str - r2 :: object - r3 :: tuple - r4 :: dict - r5, r6 :: None -L0: - if is_error(level) goto L1 else goto L7 -L1: - level = 26 -L2: - r0 = dank_mids.stats._Writer :: type - r1 = 'event_loop' - r2 = CPyObject_GetAttr(r0, r1) - if is_error(r2) goto L8 (error at log_event_loop_stats:192) else goto L3 -L3: - r3 = CPyTuple_LoadEmptyTupleConstant() - r4 = PyDict_New() - if is_error(r4) goto L9 (error at log_event_loop_stats:192) else goto L4 -L4: - r5 = self._log_fn_result(level, r2, r3, r4) - dec_ref level :: int - dec_ref r2 - dec_ref r3 - dec_ref r4 - if is_error(r5) goto L6 (error at log_event_loop_stats:192) else goto L5 -L5: - return 1 -L6: - r6 = :: None - return r6 -L7: - inc_ref level :: int - goto L2 + dec_ref r0 + goto L1 L8: - dec_ref level :: int - goto L6 -L9: - dec_ref level :: int - dec_ref r2 dec_ref r3 goto L6 -def _StatsLogger.log_subprocess_stats(self, level): - self :: dank_mids.stats._StatsLogger - level :: int - r0 :: dict - r1 :: str - r2 :: object - r3 :: str - r4 :: object - r5 :: dict - r6 :: str - r7 :: object - r8 :: str - r9 :: object - r10 :: dict - r11 :: str - r12 :: object - r13 :: str +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 :: set - r16 :: i32 - r17 :: bit - r18 :: i32 - r19 :: bit - r20 :: i32 + r15 :: tuple[int, int, tuple] + r16 :: tuple + r17 :: tuple[object, object, object] + r18 :: object + r19 :: str + r20 :: object r21 :: bit - r22, r23, r24 :: object - r25 :: str - r26 :: object - r27 :: tuple - r28 :: dict - r29 :: None - r30 :: bit - r31 :: None + r22 :: object + r23 :: dict + r24 :: str + r25, r26 :: object + r27 :: bit + r28 :: None + r29 :: str + r30 :: object + r31 :: tuple + r32 :: dict + r33 :: str + r34 :: object + r35 :: i32 + r36 :: bit + r37 :: bool + r38 :: str + r39 :: object[1] + r40 :: object_ptr + r41 :: object + r42 :: union[object, dank_mids.helpers.hashing.AttributeDict, str] + r43 :: list + r44 :: object + r45 :: i32 + r46 :: bit + r47 :: tuple + r48 :: str + r49 :: i32 + r50, r51 :: bit + r52 :: ptr + r53 :: native_int + r54 :: list + r55 :: ptr + r56, r57 :: native_int + r58 :: bit + r59 :: object + r60 :: tuple[bool, bytes] + r61 :: bytes + r62 :: native_int + r63 :: union[list, object] L0: - if is_error(level) goto L1 else goto L21 L1: - level = 26 + 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:255) else goto L2 L2: - r0 = dank_mids.stats.globals :: static - r1 = 'ENVS' - r2 = CPyDict_GetItem(r0, r1) - if is_error(r2) goto L22 (error at log_subprocess_stats:204) else goto L3 + r5 = dank_mids.helpers._codec.ContextFramesBytesIO :: static + if is_error(r5) goto L43 else goto L5 L3: - r3 = 'BROWNIE_ENCODER_PROCESSES' - r4 = CPyObject_GetAttr(r2, r3) - dec_ref r2 - if is_error(r4) goto L22 (error at log_subprocess_stats:204) else goto L4 + r6 = raise NameError('value for final name "ContextFramesBytesIO" was not set') + if not r6 goto L12 (error at mcall_decode:255) else goto L4 :: bool L4: - r5 = dank_mids.stats.globals :: static - r6 = 'ENVS' - r7 = CPyDict_GetItem(r5, r6) - if is_error(r7) goto L23 (error at log_subprocess_stats:204) else goto L5 + unreachable L5: - r8 = 'BROWNIE_DECODER_PROCESSES' - r9 = CPyObject_GetAttr(r7, r8) - dec_ref r7 - if is_error(r9) goto L23 (error at log_subprocess_stats:204) else goto L6 + r7 = [r4] + r8 = load_address r7 + r9 = PyObject_Vectorcall(r5, r8, 1, 0) + if is_error(r9) goto L44 (error at mcall_decode:255) else goto L6 L6: - r10 = dank_mids.stats.globals :: static - r11 = 'ENVS' - r12 = CPyDict_GetItem(r10, r11) - if is_error(r12) goto L24 (error at log_subprocess_stats:204) else goto L7 + dec_ref r4 + r10 = dank_mids.helpers._codec._mcall_decoder :: static + if is_error(r10) goto L45 else goto L9 L7: - r13 = 'MULTICALL_DECODER_PROCESSES' - r14 = CPyObject_GetAttr(r12, r13) - dec_ref r12 - if is_error(r14) goto L24 (error at log_subprocess_stats:204) else goto L8 + r11 = raise NameError('value for final name "_mcall_decoder" was not set') + if not r11 goto L12 (error at mcall_decode:255) else goto L8 :: bool L8: - r15 = PySet_New(0) - if is_error(r15) goto L25 (error at log_subprocess_stats:204) else goto L9 + unreachable L9: - r16 = PySet_Add(r15, r4) - dec_ref r4 - r17 = r16 >= 0 :: signed - if not r17 goto L26 (error at log_subprocess_stats:204) else goto L10 :: bool + r12 = [r9] + r13 = load_address r12 + r14 = PyObject_Vectorcall(r10, r13, 1, 0) + if is_error(r14) goto L46 (error at mcall_decode:255) else goto L10 L10: - r18 = PySet_Add(r15, r9) dec_ref r9 - r19 = r18 >= 0 :: signed - if not r19 goto L27 (error at log_subprocess_stats:204) else goto L11 :: bool -L11: - r20 = PySet_Add(r15, r14) + r15 = unbox(tuple[int, int, tuple], r14) dec_ref r14 - r21 = r20 >= 0 :: signed - if not r21 goto L28 (error at log_subprocess_stats:204) else goto L12 :: bool -L12: - r22 = PyObject_GetIter(r15) + if is_error(r15) goto L12 (error at mcall_decode:255) else goto L11 +L11: + r16 = r15[2] dec_ref r15 - if is_error(r22) goto L22 (error at log_subprocess_stats:204) else goto L13 + goto L35 +L12: + r17 = CPy_CatchError() + r18 = builtins :: module + r19 = 'Exception' + r20 = CPyObject_GetAttr(r18, r19) + if is_error(r20) goto L33 (error at mcall_decode:256) else goto L13 L13: - r23 = PyIter_Next(r22) - if is_error(r23) goto L29 else goto L14 + r21 = CPy_ExceptionMatches(r20) + dec_ref r20 + if r21 goto L14 else goto L31 :: bool L14: - r24 = dank_mids.stats._Writer :: type - r25 = 'queue' - r26 = CPyObject_GetAttr(r24, r25) - if is_error(r26) goto L30 (error at log_subprocess_stats:205) else goto L15 + r22 = CPy_GetExcValue() + r23 = dank_mids.helpers._codec.globals :: static + r24 = 'PartialResponse' + r25 = CPyDict_GetItem(r23, r24) + if is_error(r25) goto L47 (error at mcall_decode:257) else goto L15 L15: - r27 = PyTuple_Pack(1, r23) - dec_ref r23 - if is_error(r27) goto L31 (error at log_subprocess_stats:205) else goto L16 + r26 = load_address _Py_NoneStruct + r27 = r25 == r26 + dec_ref r25 + if r27 goto L16 else goto L17 :: bool L16: - r28 = PyDict_New() - if is_error(r28) goto L32 (error at log_subprocess_stats:205) else goto L17 + r28 = __import_from_types() + if is_error(r28) goto L47 (error at mcall_decode:258) else goto L17 L17: - r29 = self._log_fn_result(level, r26, r27, r28) - dec_ref r26 - dec_ref r27 - dec_ref r28 - if is_error(r29) goto L33 (error at log_subprocess_stats:205) else goto L13 + r29 = 'args' + r30 = CPyObject_GetAttr(r22, r29) + if is_error(r30) goto L47 (error at mcall_decode:260) else goto L18 L18: - r30 = CPy_NoErrOccurred() - if not r30 goto L20 (error at log_subprocess_stats:204) else goto L19 :: bool + r31 = cast(tuple, r30) + if is_error(r31) goto L47 (error at mcall_decode:260) else goto L19 L19: - return 1 + r32 = dank_mids.helpers._codec.globals :: static + r33 = 'PartialResponse' + r34 = CPyDict_GetItem(r32, r33) + if is_error(r34) goto L48 (error at mcall_decode:260) else goto L20 L20: - r31 = :: None - return r31 + r35 = PyObject_IsInstance(data, r34) + dec_ref r34 + r36 = r35 >= 0 :: signed + if not r36 goto L48 (error at mcall_decode:260) else goto L21 :: bool L21: - inc_ref level :: int - goto L2 + r37 = truncate r35: i32 to builtins.bool + if r37 goto L22 else goto L24 :: bool L22: - dec_ref level :: int - goto L20 + r38 = 'decode_result' + r39 = [data] + r40 = load_address r39 + r41 = PyObject_VectorcallMethod(r38, r40, 9223372036854775809, 0) + if is_error(r41) goto L48 (error at mcall_decode:260) else goto L23 L23: - dec_ref level :: int - dec_ref r4 - goto L20 + r42 = r41 + goto L25 L24: - dec_ref level :: int - dec_ref r4 - dec_ref r9 - goto L20 + inc_ref data + r42 = data L25: - dec_ref level :: int - dec_ref r4 - dec_ref r9 - dec_ref r14 - goto L20 + r43 = PyList_New(0) + if is_error(r43) goto L49 (error at mcall_decode:260) else goto L26 L26: - dec_ref level :: int - dec_ref r9 - dec_ref r14 - dec_ref r15 - goto L20 + r44 = CPyList_Extend(r43, r31) + dec_ref r31 + if is_error(r44) goto L50 (error at mcall_decode:260) else goto L51 L27: - dec_ref level :: int - dec_ref r14 - dec_ref r15 - goto L20 + r45 = PyList_Append(r43, r42) + dec_ref r42 + r46 = r45 >= 0 :: signed + if not r46 goto L52 (error at mcall_decode:260) else goto L28 :: bool L28: - dec_ref level :: int - dec_ref r15 - goto L20 + r47 = PyList_AsTuple(r43) + dec_ref r43 + if is_error(r47) goto L47 (error at mcall_decode:260) else goto L29 L29: - dec_ref level :: int - dec_ref r22 - goto L18 + r48 = 'args' + r49 = PyObject_SetAttr(r22, r48, r47) + dec_ref r47 + r50 = r49 >= 0 :: signed + if not r50 goto L47 (error at mcall_decode:260) else goto L30 :: bool L30: - dec_ref level :: int - dec_ref r22 - dec_ref r23 - goto L20 + CPy_RestoreExcInfo(r17) + dec_ref r17 + return r22 L31: - dec_ref level :: int - dec_ref r22 - dec_ref r26 - goto L20 + CPy_Reraise() + if not 0 goto L33 else goto L53 :: bool L32: - dec_ref level :: int - dec_ref r22 - dec_ref r26 - dec_ref r27 - goto L20 + unreachable L33: - dec_ref level :: int + CPy_RestoreExcInfo(r17) + dec_ref r17 + r51 = CPy_KeepPropagating() + if not r51 goto L42 else goto L34 :: bool +L34: + unreachable +L35: + r52 = get_element_ptr r16 ob_size :: PyVarObject + r53 = load_mem r52 :: native_int* + r54 = PyList_New(r53) + if is_error(r54) goto L54 (error at mcall_decode:263) else goto L36 +L36: + r55 = get_element_ptr r16 ob_size :: PyVarObject + r56 = load_mem r55 :: native_int* + r57 = 0 +L37: + r58 = r57 < r56 :: signed + if r58 goto L38 else goto L55 :: bool +L38: + r59 = CPySequenceTuple_GetItemUnsafe(r16, r57) + r60 = unbox(tuple[bool, bytes], r59) + dec_ref r59 + if is_error(r60) goto L56 (error at mcall_decode:263) else goto L39 +L39: + r61 = r60[1] + dec_ref r60 + CPyList_SetItemUnsafe(r54, r57, r61) +L40: + r62 = r57 + 1 + r57 = r62 + goto L37 +L41: + return r54 +L42: + r63 = :: union[list, object] + return r63 +L43: + dec_ref r4 + goto L3 +L44: + dec_ref r4 + goto L12 +L45: + dec_ref r9 + goto L7 +L46: + dec_ref r9 + goto L12 +L47: dec_ref r22 - goto L20 + goto L33 +L48: + dec_ref r22 + dec_ref r31 + goto L33 +L49: + dec_ref r22 + dec_ref r31 + dec_ref r42 + goto L33 +L50: + dec_ref r22 + dec_ref r42 + dec_ref r43 + goto L33 +L51: + dec_ref r44 + goto L27 +L52: + dec_ref r22 + dec_ref r43 + goto L33 +L53: + dec_ref r17 + goto L32 +L54: + dec_ref r16 + goto L42 +L55: + dec_ref r16 + goto L41 +L56: + dec_ref r16 + dec_ref r54 + goto L42 -def _StatsLogger._log(self, level, msg, args, kwargs): - self :: dank_mids.stats._StatsLogger - level :: int - msg :: str - args :: tuple - kwargs :: dict - r0 :: tuple[] - r1 :: object - r2 :: str +def __import_from_types(): + r0 :: object + r1 :: str + r2 :: dict r3 :: object - r4 :: object[2] - r5 :: object_ptr - r6 :: object - r7 :: bool - r8 :: str - r9 :: object - r10 :: list - r11 :: object - r12, r13, r14 :: ptr - r15 :: object - r16 :: dict - r17 :: i32 - r18 :: bit - r19 :: tuple - r20 :: object - r21, r22 :: None + r4 :: None L0: - if is_error(args) goto L1 else goto L16 + r0 = ('PartialResponse', 'Request', 'Response', 'better_decode') + r1 = 'dank_mids.types' + r2 = dank_mids.helpers._codec.globals :: static + r3 = CPyImport_ImportFromMany(r1, r0, r0, r2) + if is_error(r3) goto L2 (error at __import_from_types:269) else goto L1 L1: - r0 = () - r1 = box(tuple[], r0) - args = r1 -L2: - r2 = 'isEnabledFor' - inc_ref level :: int - r3 = box(int, level) - r4 = [self, r3] - r5 = load_address r4 - r6 = PyObject_VectorcallMethod(r2, r5, 9223372036854775810, 0) - if is_error(r6) goto L17 (error at _log:218) else goto L3 -L3: + dank_mids.types = r3 :: module dec_ref r3 - r7 = unbox(bool, r6) - dec_ref r6 - if is_error(r7) goto L18 (error at _log:218) else goto L4 -L4: - if r7 goto L5 else goto L19 :: bool -L5: - r8 = '_log_nocheck' - r9 = CPyObject_GetAttr(self, r8) - if is_error(r9) goto L18 (error at _log:219) else goto L6 -L6: - r10 = PyList_New(2) - if is_error(r10) goto L20 (error at _log:219) else goto L7 -L7: - inc_ref level :: int - r11 = box(int, level) - r12 = get_element_ptr r10 ob_item :: PyListObject - r13 = load_mem r12 :: ptr* - set_mem r13, r11 :: builtins.object* - inc_ref msg - r14 = r13 + 8 - set_mem r14, msg :: builtins.object* - r15 = CPyList_Extend(r10, args) - dec_ref args - if is_error(r15) goto L21 (error at _log:219) else goto L22 -L8: - r16 = PyDict_New() - if is_error(r16) goto L21 (error at _log:219) else goto L9 -L9: - r17 = CPyDict_UpdateInDisplay(r16, kwargs) - r18 = r17 >= 0 :: signed - if not r18 goto L23 (error at _log:219) else goto L10 :: bool -L10: - r19 = PyList_AsTuple(r10) - dec_ref r10 - if is_error(r19) goto L24 (error at _log:219) else goto L11 -L11: - r20 = PyObject_Call(r9, r19, r16) - dec_ref r9 - dec_ref r19 - dec_ref r16 - if is_error(r20) goto L15 (error at _log:219) else goto L12 -L12: - r21 = unbox(None, r20) - dec_ref r20 - if is_error(r21) goto L15 (error at _log:219) else goto L13 -L13: - return r21 -L14: return 1 -L15: - r22 = :: None - return r22 -L16: - inc_ref args - goto L2 -L17: - dec_ref args - dec_ref r3 - goto L15 -L18: - dec_ref args - goto L15 -L19: - dec_ref args - goto L14 -L20: - dec_ref args - dec_ref r9 - goto L15 -L21: - dec_ref r9 - dec_ref r10 - goto L15 -L22: - dec_ref r15 - goto L8 -L23: - dec_ref r9 - dec_ref r10 - dec_ref r16 - goto L15 -L24: - dec_ref r9 - dec_ref r16 - goto L15 +L2: + r4 = :: None + return r4 -def _StatsLogger._log_nocheck(self, level, msg, args, kwargs): - self :: dank_mids.stats._StatsLogger - level :: int - msg :: str - args :: tuple - kwargs :: dict +def __make_decode_batch(): r0 :: object r1 :: str - r2, r3 :: object - r4 :: object[2] - r5 :: object_ptr + r2 :: dict + r3 :: object + r4 :: dict + r5 :: str r6 :: object - r7 :: str - r8 :: object - r9 :: dict - r10 :: i32 - r11 :: bit + r7 :: dict + r8 :: str + r9 :: object + r10 :: dict + r11 :: str r12 :: object - r13 :: tuple - r14 :: object - r15, r16 :: None + r13 :: str + r14, r15 :: object + r16 :: dict + r17 :: str + r18 :: object + r19 :: tuple[object, object] + r20, r21 :: object + r22 :: dict + r23 :: str + r24 :: object + r25 :: object[1] + r26 :: object_ptr + r27, r28 :: object + r29 :: str + r30 :: object + r31 :: dict + r32 :: str + r33 :: i32 + r34 :: bit + r35 :: None L0: - r0 = builtins :: module - r1 = 'super' - r2 = CPyObject_GetAttr(r0, r1) - if is_error(r2) goto L9 (error at _log_nocheck:233) else goto L1 + r0 = ('PartialResponse',) + r1 = 'dank_mids.types' + r2 = dank_mids.helpers._codec.globals :: static + r3 = CPyImport_ImportFromMany(r1, r0, r0, r2) + if is_error(r3) goto L13 (error at __make_decode_batch:273) else goto L1 L1: - r3 = dank_mids.stats._StatsLogger :: type - r4 = [r3, self] - r5 = load_address r4 - r6 = PyObject_Vectorcall(r2, r5, 2, 0) - dec_ref r2 - if is_error(r6) goto L9 (error at _log_nocheck:233) else goto L2 + dank_mids.types = r3 :: module + dec_ref r3 + r4 = dank_mids.helpers._codec.globals :: static + r5 = 'Union' + r6 = CPyDict_GetItem(r4, r5) + if is_error(r6) goto L13 (error at __make_decode_batch:276) else goto L2 L2: - r7 = '_log' - r8 = CPyObject_GetAttr(r6, r7) - dec_ref r6 - if is_error(r8) goto L9 (error at _log_nocheck:233) else goto L3 + r7 = dank_mids.helpers._codec.globals :: static + r8 = 'List' + r9 = CPyDict_GetItem(r7, r8) + if is_error(r9) goto L14 (error at __make_decode_batch:276) else goto L3 L3: - r9 = PyDict_New() - if is_error(r9) goto L10 (error at _log_nocheck:233) else goto L4 + r10 = dank_mids.helpers._codec.globals :: static + r11 = 'msgspec' + r12 = CPyDict_GetItem(r10, r11) + if is_error(r12) goto L15 (error at __make_decode_batch:276) else goto L4 L4: - r10 = CPyDict_UpdateInDisplay(r9, kwargs) - r11 = r10 >= 0 :: signed - if not r11 goto L11 (error at _log_nocheck:233) else goto L5 :: bool -L5: - inc_ref level :: int - r12 = box(int, level) - r13 = PyTuple_Pack(3, r12, msg, args) + r13 = 'Raw' + r14 = CPyObject_GetAttr(r12, r13) dec_ref r12 - if is_error(r13) goto L11 (error at _log_nocheck:233) else goto L6 -L6: - r14 = PyObject_Call(r8, r13, r9) - dec_ref r8 - dec_ref r13 + if is_error(r14) goto L15 (error at __make_decode_batch:276) else goto L5 +L5: + r15 = PyObject_GetItem(r9, r14) dec_ref r9 - if is_error(r14) goto L9 (error at _log_nocheck:233) else goto L7 -L7: - r15 = unbox(None, r14) dec_ref r14 - if is_error(r15) goto L9 (error at _log_nocheck:233) else goto L8 + if is_error(r15) goto L14 (error at __make_decode_batch:276) else goto L6 +L6: + r16 = dank_mids.helpers._codec.globals :: static + r17 = 'PartialResponse' + r18 = CPyDict_GetItem(r16, r17) + if is_error(r18) goto L16 (error at __make_decode_batch:276) else goto L7 +L7: + r19 = (r15, r18) + r20 = box(tuple[object, object], r19) + r21 = PyObject_GetItem(r6, r20) + dec_ref r6 + dec_ref r20 + if is_error(r21) goto L13 (error at __make_decode_batch:276) else goto L8 L8: - return r15 + r22 = dank_mids.helpers._codec.globals :: static + r23 = 'Decoder' + r24 = CPyDict_GetItem(r22, r23) + if is_error(r24) goto L17 (error at __make_decode_batch:276) else goto L9 L9: - r16 = :: None - return r16 + r25 = [r21] + r26 = load_address r25 + r27 = ('type',) + r28 = PyObject_Vectorcall(r24, r26, 0, r27) + dec_ref r24 + if is_error(r28) goto L17 (error at __make_decode_batch:276) else goto L10 L10: - dec_ref r8 - goto L9 + dec_ref r21 + r29 = 'decode' + r30 = CPyObject_GetAttr(r28, r29) + dec_ref r28 + if is_error(r30) goto L13 (error at __make_decode_batch:276) else goto L11 L11: - dec_ref r8 + r31 = dank_mids.helpers._codec.globals :: static + r32 = '_decode_batch' + r33 = CPyDict_SetItem(r31, r32, r30) + dec_ref r30 + r34 = r33 >= 0 :: signed + if not r34 goto L13 (error at __make_decode_batch:276) else goto L12 :: bool +L12: + return 1 +L13: + r35 = :: None + return r35 +L14: + dec_ref r6 + goto L13 +L15: + dec_ref r6 dec_ref r9 - goto L9 + goto L13 +L16: + dec_ref r6 + dec_ref r15 + goto L13 +L17: + dec_ref r21 + goto L13 -def _StatsLogger._log_fn_result(self, level, callable, callable_args, logging_kwargs): - self :: dank_mids.stats._StatsLogger - level :: int - callable :: object - callable_args :: tuple - logging_kwargs :: dict - r0 :: str - r1 :: object - r2 :: object[2] - r3 :: object_ptr - r4 :: object - r5 :: bool - r6 :: object - r7 :: str - r8 :: tuple[] - r9 :: str - r10 :: object - r11 :: dict - r12 :: i32 - r13 :: bit - r14, r15 :: object - r16 :: tuple - r17 :: object - r18, r19 :: None +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4, r5 :: object + r6 :: str + r7 :: dict + r8 :: object + r9, r10 :: object_ptr + r11 :: object_ptr[2] + r12 :: c_ptr + r13 :: native_int[2] + r14 :: c_ptr + r15 :: object + r16 :: dict + r17, r18 :: str + r19 :: bit + r20 :: object + r21 :: str + r22 :: dict + r23, 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 :: dict + r45 :: str + r46 :: object + r47 :: i32 + r48 :: bit + r49 :: dict + r50 :: str + r51 :: object + r52 :: i32 + r53 :: bit + r54 :: dict + r55 :: str + r56 :: object + r57 :: i32 + r58 :: bit + r59 :: dict + r60 :: str + r61 :: object + r62 :: i32 + r63 :: bit + r64 :: str + r65 :: dict + r66 :: str + r67 :: object + r68 :: object[1] + r69 :: object_ptr + r70 :: object + r71 :: dict + r72 :: str + r73 :: i32 + r74 :: bit + r75 :: dict + r76 :: str + r77 :: object + r78 :: dict + r79 :: str + r80 :: object + r81 :: dict + r82 :: str + r83 :: object + r84 :: dict + r85 :: str + r86 :: object + r87 :: tuple[object, object, object] + r88, r89 :: object + r90 :: dict + r91 :: str + r92 :: i32 + r93 :: bit + r94 :: dict + r95 :: str + r96, r97 :: object + r98 :: dict + r99 :: str + r100 :: object + r101 :: dict + r102 :: str + r103 :: object + r104 :: str + r105, r106 :: object + r107 :: tuple[object, object, object, object] + r108, r109 :: object + r110 :: dict + r111 :: str + r112 :: i32 + r113 :: bit + r114 :: dict + r115 :: str + r116 :: object + r117 :: dict + r118 :: str + r119 :: object + r120 :: dict + r121 :: str + r122 :: object + r123 :: dict + r124 :: str + r125, r126 :: object + r127 :: dict + r128 :: str + r129, r130 :: object + r131 :: dict + r132 :: str + r133 :: object + r134 :: tuple[object, object] + r135, r136 :: object + r137 :: tuple[object, object, object] + r138, r139 :: object + r140 :: dict + r141 :: str + r142 :: i32 + r143 :: bit + r144 :: dict + r145 :: str + r146 :: object + r147 :: dict + r148 :: str + r149 :: object + r150 :: dict + r151 :: str + r152 :: object + r153 :: dict + r154 :: str + r155 :: object + r156 :: str + r157 :: object + r158 :: tuple[object, object] + r159, r160 :: object + r161 :: dict + r162 :: str + r163 :: object + r164 :: dict + r165 :: str + r166 :: object + r167 :: dict + r168 :: str + r169 :: object + r170 :: dict + r171 :: str + r172 :: object + r173 :: str + r174 :: object + r175 :: tuple[object, object] + r176, r177, r178 :: object + r179 :: tuple[object, object] + r180, r181 :: object + r182 :: dict + r183 :: str + r184 :: i32 + r185 :: bit + r186 :: dict + r187 :: str + r188 :: object + r189 :: dict + r190 :: str + r191, r192 :: object + r193 :: dict + r194 :: str + r195 :: object + r196 :: dict + r197 :: str + r198, r199 :: object + r200 :: tuple[object, object] + r201, r202 :: object + r203 :: list + r204, r205 :: ptr + r206 :: object + r207 :: tuple[list, object] + r208, r209 :: object + r210 :: dict + r211 :: str + r212 :: i32 + r213 :: bit + r214 :: dict + r215 :: str + r216, r217, r218 :: object + r219 :: dict + r220 :: str + r221 :: object + r222 :: dict + r223 :: str + r224 :: object + r225 :: str + r226 :: object + r227 :: tuple[str, object] + r228, r229, r230 :: object + r231 :: tuple[object, object] + r232, r233 :: object + r234 :: tuple[object, object, object] + r235, r236 :: object + r237 :: dict + r238 :: str + r239 :: i32 + r240 :: bit + r241 :: dict + r242 :: str + r243, r244 :: object + r245 :: dict + r246 :: str + r247 :: object + r248 :: tuple[object, object] + r249, r250 :: object + r251 :: dict + r252 :: str + r253 :: i32 + r254 :: bit + r255 :: dict + r256 :: str + r257 :: object + r258 :: str + r259 :: object + r260 :: dict + r261 :: str + r262 :: i32 + r263 :: bit + r264 :: dict + r265 :: str + r266 :: object + r267 :: dict + r268 :: str + r269 :: object + r270 :: str + r271 :: object + r272 :: str + r273 :: tuple[object, str] + r274, r275 :: object + r276 :: dict + r277 :: str + r278 :: i32 + r279 :: bit + r280 :: dict + r281 :: str + r282 :: object + r283 :: dict + r284 :: str + r285, r286, r287 :: object + r288 :: tuple[object, object] + r289, r290 :: object + r291 :: list + r292, r293 :: ptr + r294 :: dict + r295 :: str + r296 :: object + r297 :: dict + r298 :: str + r299 :: object + r300 :: dict + r301 :: str + r302 :: object + r303 :: str + r304, r305 :: object + r306 :: str + r307 :: tuple[object, str] + r308, r309 :: object + r310 :: tuple[list, object] + r311, r312 :: object + r313 :: dict + r314 :: str + r315 :: i32 + r316 :: bit + r317 :: dict + r318 :: str + r319 :: object + r320 :: str + r321 :: object + r322 :: dict + r323 :: str + r324 :: i32 + r325 :: bit + r326 :: dict + r327 :: str + r328 :: object + r329 :: str + r330 :: object + r331 :: dict + r332 :: str + r333 :: i32 + r334 :: bit + r335 :: dict + r336 :: str + r337 :: object + r338 :: str + r339 :: object + r340 :: dict + r341 :: str + r342 :: i32 + r343 :: bit + r344 :: dict + r345 :: str + r346 :: object + r347 :: str + r348 :: object + r349 :: dict + r350 :: str + r351 :: i32 + r352 :: bit + r353 :: object + r354 :: dict + r355 :: str + r356 :: object + r357 :: object[1] + r358 :: object_ptr + r359, r360 :: object + r361 :: str + r362 :: object + r363 :: dict + r364 :: str + r365 :: i32 + r366 :: bit + r367 :: object + r368 :: bool + r369 :: dict + r370 :: str + r371 :: object + r372 :: object[1] + r373 :: object_ptr + r374, r375 :: object + r376 :: str + r377 :: object + r378 :: dict + r379 :: str + r380 :: i32 + r381 :: bit + r382 :: dict + r383 :: str + r384 :: object + r385 :: i32 + r386 :: bit + r387 :: object + r388 :: str + r389, r390 :: object + r391 :: bool + r392, r393 :: str + r394 :: tuple + r395 :: i32 + r396 :: bit + r397 :: dict + r398 :: str + r399 :: i32 + r400 :: bit + r401 :: dict + r402 :: str + r403 :: object + r404 :: dict + r405 :: str + r406 :: object + r407 :: object[1] + r408 :: object_ptr + r409, r410 :: object + r411 :: str + r412 :: object + r413 :: dict + r414 :: str + r415 :: i32 + r416 :: bit + r417 :: dict + r418 :: str + r419 :: object + r420 :: str + r421 :: object + r422, r423 :: str + r424 :: object[2] + r425 :: object_ptr + r426 :: object + r427 :: dict + r428 :: str + r429 :: i32 + r430 :: bit + r431 :: object + r432 :: bool + r433 :: str + r434, r435, r436 :: object + r437 :: dict + r438 :: str + r439 :: i32 + r440 :: bit + r441 :: object + r442 :: bool + r443 :: str + r444 :: object + r445 :: dict + r446 :: str + r447 :: i32 + r448 :: bit + r449 :: dank_mids.helpers._codec.__mypyc_lambda__0_obj + r450 :: object + r451 :: bool + r452 :: str + r453 :: i32 + r454 :: bit + r455 :: object + r456 :: bool + r457 :: str + r458 :: i32 + r459 :: bit + r460 :: object + r461 :: bool + r462 :: str + r463 :: i32 + r464 :: bit + r465 :: dict + r466 :: str + r467, r468 :: object + r469 :: bool + r470 :: str + r471 :: i32 + r472 :: bit + r473 :: dict + r474 :: str + r475, r476 :: object + r477 :: bool + r478 :: str + r479 :: i32 + r480 :: bit + r481 :: dict + r482 :: str + r483 :: object + r484 :: str + r485 :: object + r486, r487 :: str + r488 :: object[2] + r489 :: object_ptr + r490 :: object + r491 :: str + r492 :: object + r493 :: dict + r494 :: str + r495 :: i32 + r496 :: bit + r497 :: object + r498 :: dict + r499 :: str + r500 :: i32 + r501 :: bit + r502 :: None L0: - r0 = 'isEnabledFor' - inc_ref level :: int - r1 = box(int, level) - r2 = [self, r1] - r3 = load_address r2 - r4 = PyObject_VectorcallMethod(r0, r3, 9223372036854775810, 0) - if is_error(r4) goto L14 (error at _log_fn_result:251) else goto L1 + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool L1: - dec_ref r1 - r5 = unbox(bool, r4) - dec_ref r4 - if is_error(r5) goto L13 (error at _log_fn_result:251) else goto L2 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L175 (error at :-1) else goto L2 L2: - if r5 goto L3 else goto L12 :: bool + builtins = r4 :: module + dec_ref r4 L3: - r6 = PyObject_CallObject(callable, callable_args) - if is_error(r6) goto L13 (error at _log_fn_result:252) else goto L4 + r5 = ('TYPE_CHECKING', 'Any', 'AnyStr', 'Callable', 'Dict', 'Final', 'Iterable', 'List', 'Literal', 'Mapping', 'Optional', 'Union', 'Tuple', 'Type', 'TypeVar', 'Union', 'final', 'overload') + r6 = 'typing' + r7 = dank_mids.helpers._codec.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L175 (error at :1) else goto L4 L4: - r7 = cast(str, r6) - if is_error(r7) goto L13 (error at _log_fn_result:252) else goto L5 + typing = r8 :: module + dec_ref r8 + r9 = load_address hexbytes :: module + r10 = load_address msgspec :: module + r11 = [r9, r10] + r12 = load_address r11 + r13 = [22, 23] + r14 = load_address r13 + r15 = (('hexbytes', 'hexbytes', 'hexbytes'), ('msgspec', 'msgspec', 'msgspec')) + r16 = dank_mids.helpers._codec.globals :: static + r17 = 'dank_mids\\helpers\\_codec.py' + r18 = '' + r19 = CPyImport_ImportMany(r15, r12, r16, r17, r18, r14) + if not r19 goto L175 else goto L5 :: bool L5: - r8 = () - r9 = '_log_nocheck' - r10 = CPyObject_GetAttr(self, r9) - if is_error(r10) goto L15 (error at _log_fn_result:252) else goto L6 + r20 = ('ChecksumAddress', 'HexStr') + r21 = 'eth_typing' + r22 = dank_mids.helpers._codec.globals :: static + r23 = CPyImport_ImportFromMany(r21, r20, r20, r22) + if is_error(r23) goto L175 (error at :24) else goto L6 L6: - r11 = PyDict_New() - if is_error(r11) goto L16 (error at _log_fn_result:252) else goto L7 + eth_typing = r23 :: module + dec_ref r23 + r24 = ('decoding',) + r25 = 'faster_eth_abi' + r26 = dank_mids.helpers._codec.globals :: static + r27 = CPyImport_ImportFromMany(r25, r24, r24, r26) + if is_error(r27) goto L175 (error at :25) else goto L7 L7: - r12 = CPyDict_UpdateInDisplay(r11, logging_kwargs) - r13 = r12 >= 0 :: signed - if not r13 goto L17 (error at _log_fn_result:252) else goto L8 :: bool + faster_eth_abi = r27 :: module + dec_ref r27 + r28 = ('default_codec',) + r29 = 'faster_eth_abi.abi' + r30 = dank_mids.helpers._codec.globals :: static + r31 = CPyImport_ImportFromMany(r29, r28, r28, r30) + if is_error(r31) goto L175 (error at :26) else goto L8 L8: - inc_ref level :: int - r14 = box(int, level) - r15 = box(tuple[], r8) - r16 = PyTuple_Pack(3, r14, r7, r15) - dec_ref r14 - dec_ref r7 - dec_ref r15 - if is_error(r16) goto L18 (error at _log_fn_result:252) else goto L9 + faster_eth_abi.abi = r31 :: module + dec_ref r31 + r32 = ('DynamicArrayEncoder', 'TupleEncoder') + r33 = 'faster_eth_abi.encoding' + r34 = dank_mids.helpers._codec.globals :: static + r35 = CPyImport_ImportFromMany(r33, r32, r32, r34) + if is_error(r35) goto L175 (error at :27) else goto L9 L9: - r17 = PyObject_Call(r10, r16, r11) - dec_ref r10 - dec_ref r16 - dec_ref r11 - if is_error(r17) goto L13 (error at _log_fn_result:252) else goto L10 + faster_eth_abi.encoding = r35 :: module + dec_ref r35 + r36 = ('Address',) + r37 = 'evmspec.data' + r38 = dank_mids.helpers._codec.globals :: static + r39 = CPyImport_ImportFromMany(r37, r36, r36, r38) + if is_error(r39) goto L175 (error at :28) else goto L10 L10: - r18 = unbox(None, r17) - dec_ref r17 - if is_error(r18) goto L13 (error at _log_fn_result:252) else goto L11 + evmspec.data = r39 :: module + dec_ref r39 + r40 = ('Decoder', 'Encoder') + r41 = 'msgspec.json' + r42 = dank_mids.helpers._codec.globals :: static + r43 = CPyImport_ImportFromMany(r41, r40, r40, r42) + if is_error(r43) goto L175 (error at :29) else goto L11 L11: - return r18 + msgspec.json = r43 :: module + dec_ref r43 + if 0 goto L12 else goto L12 :: bool L12: - return 1 + r44 = dank_mids.helpers._codec.globals :: static + r45 = 'PartialResponse' + r46 = box(None, 1) + r47 = CPyDict_SetItem(r44, r45, r46) + r48 = r47 >= 0 :: signed + if not r48 goto L175 (error at :36) else goto L13 :: bool L13: - r19 = :: None - return r19 + r49 = dank_mids.helpers._codec.globals :: static + r50 = 'Request' + r51 = box(None, 1) + r52 = CPyDict_SetItem(r49, r50, r51) + r53 = r52 >= 0 :: signed + if not r53 goto L175 (error at :37) else goto L14 :: bool L14: - dec_ref r1 - goto L13 + r54 = dank_mids.helpers._codec.globals :: static + r55 = 'Response' + r56 = box(None, 1) + r57 = CPyDict_SetItem(r54, r55, r56) + r58 = r57 >= 0 :: signed + if not r58 goto L175 (error at :38) else goto L15 :: bool L15: - dec_ref r7 - goto L13 + r59 = dank_mids.helpers._codec.globals :: static + r60 = 'better_decode' + r61 = box(None, 1) + r62 = CPyDict_SetItem(r59, r60, r61) + r63 = r62 >= 0 :: signed + if not r63 goto L175 (error at :39) else goto L16 :: bool L16: - dec_ref r7 - dec_ref r10 - goto L13 + r64 = '__T' + r65 = dank_mids.helpers._codec.globals :: static + r66 = 'TypeVar' + r67 = CPyDict_GetItem(r65, r66) + if is_error(r67) goto L175 (error at :42) else goto L17 L17: - dec_ref r7 - dec_ref r10 - dec_ref r11 - goto L13 + r68 = [r64] + r69 = load_address r68 + r70 = PyObject_Vectorcall(r67, r69, 1, 0) + dec_ref r67 + if is_error(r70) goto L175 (error at :42) else goto L18 L18: - dec_ref r10 - dec_ref r11 - goto L13 - -def _StatsLogger._ensure_daemon(self): - self :: dank_mids.stats._StatsLogger - r0 :: object - r1 :: bool - r2 :: i32 - r3 :: bit - r4, r5 :: bool - r6, r7 :: object - r8 :: bit - r9 :: dank_mids.stats._stats_daemon__StatsLogger_gen - r10 :: str - r11 :: dict - r12 :: str - r13 :: object - r14 :: object[2] - r15 :: object_ptr - r16, r17 :: object - r18 :: bool - r19 :: object - r20 :: str - r21 :: object[1] - r22 :: object_ptr - r23 :: object - r24 :: bool - r25 :: object - r26 :: str - r27 :: object[1] - r28 :: object_ptr - r29 :: object - r30 :: None -L0: - r0 = dank_mids.ENVIRONMENT_VARIABLES.COLLECT_STATS :: static - if is_error(r0) goto L1 else goto L3 -L1: - r1 = raise NameError('value for final name "COLLECT_STATS" was not set') - if not r1 goto L22 (error at _ensure_daemon:265) else goto L2 :: bool -L2: + r71 = dank_mids.helpers._codec.globals :: static + r72 = '__T' + r73 = CPyDict_SetItem(r71, r72, r70) + dec_ref r70 + r74 = r73 >= 0 :: signed + if not r74 goto L175 (error at :42) else goto L19 :: bool +L19: + r75 = dank_mids.helpers._codec.globals :: static + r76 = 'Union' + r77 = CPyDict_GetItem(r75, r76) + if is_error(r77) goto L175 (error at :45) else goto L20 +L20: + r78 = dank_mids.helpers._codec.globals :: static + r79 = 'ChecksumAddress' + r80 = CPyDict_GetItem(r78, r79) + if is_error(r80) goto L176 (error at :45) else goto L21 +L21: + r81 = dank_mids.helpers._codec.globals :: static + r82 = 'HexStr' + r83 = CPyDict_GetItem(r81, r82) + if is_error(r83) goto L177 (error at :45) else goto L22 +L22: + r84 = dank_mids.helpers._codec.globals :: static + r85 = 'Address' + r86 = CPyDict_GetItem(r84, r85) + if is_error(r86) goto L178 (error at :45) else goto L23 +L23: + r87 = (r80, r83, r86) + r88 = box(tuple[object, object, object], r87) + r89 = PyObject_GetItem(r77, r88) + dec_ref r77 + dec_ref r88 + if is_error(r89) goto L175 (error at :45) else goto L24 +L24: + r90 = dank_mids.helpers._codec.globals :: static + r91 = 'StrEncodable' + r92 = CPyDict_SetItem(r90, r91, r89) + dec_ref r89 + r93 = r92 >= 0 :: signed + if not r93 goto L175 (error at :45) else goto L25 :: bool +L25: + r94 = dank_mids.helpers._codec.globals :: static + r95 = 'Union' + r96 = CPyDict_GetItem(r94, r95) + if is_error(r96) goto L175 (error at :46) else goto L26 +L26: + r97 = load_address PyLong_Type + r98 = dank_mids.helpers._codec.globals :: static + r99 = 'StrEncodable' + r100 = CPyDict_GetItem(r98, r99) + if is_error(r100) goto L179 (error at :46) else goto L27 +L27: + r101 = dank_mids.helpers._codec.globals :: static + r102 = 'hexbytes' + r103 = CPyDict_GetItem(r101, r102) + if is_error(r103) goto L180 (error at :46) else goto L28 +L28: + r104 = 'HexBytes' + r105 = CPyObject_GetAttr(r103, r104) + dec_ref r103 + if is_error(r105) goto L180 (error at :46) else goto L29 +L29: + r106 = load_address PyBytes_Type + inc_ref r97 + inc_ref r106 + r107 = (r97, r100, r105, r106) + r108 = box(tuple[object, object, object, object], r107) + r109 = PyObject_GetItem(r96, r108) + dec_ref r96 + dec_ref r108 + if is_error(r109) goto L175 (error at :46) else goto L30 +L30: + r110 = dank_mids.helpers._codec.globals :: static + r111 = 'Encodable' + r112 = CPyDict_SetItem(r110, r111, r109) + dec_ref r109 + r113 = r112 >= 0 :: signed + if not r113 goto L175 (error at :46) else goto L31 :: bool +L31: + r114 = dank_mids.helpers._codec.globals :: static + r115 = 'Union' + r116 = CPyDict_GetItem(r114, r115) + if is_error(r116) goto L175 (error at :48) else goto L32 +L32: + r117 = dank_mids.helpers._codec.globals :: static + r118 = 'HexStr' + r119 = CPyDict_GetItem(r117, r118) + if is_error(r119) goto L181 (error at :48) else goto L33 +L33: + r120 = dank_mids.helpers._codec.globals :: static + r121 = 'List' + r122 = CPyDict_GetItem(r120, r121) + if is_error(r122) goto L182 (error at :48) else goto L34 +L34: + r123 = dank_mids.helpers._codec.globals :: static + r124 = 'HexStr' + r125 = CPyDict_GetItem(r123, r124) + if is_error(r125) goto L183 (error at :48) else goto L35 +L35: + r126 = PyObject_GetItem(r122, r125) + dec_ref r122 + dec_ref r125 + if is_error(r126) goto L182 (error at :48) else goto L36 +L36: + r127 = dank_mids.helpers._codec.globals :: static + r128 = 'Dict' + r129 = CPyDict_GetItem(r127, r128) + if is_error(r129) goto L184 (error at :48) else goto L37 +L37: + r130 = load_address PyUnicode_Type + r131 = dank_mids.helpers._codec.globals :: static + r132 = 'HexStr' + r133 = CPyDict_GetItem(r131, r132) + if is_error(r133) goto L185 (error at :48) else goto L38 +L38: + inc_ref r130 + r134 = (r130, r133) + r135 = box(tuple[object, object], r134) + r136 = PyObject_GetItem(r129, r135) + dec_ref r129 + dec_ref r135 + if is_error(r136) goto L184 (error at :48) else goto L39 +L39: + r137 = (r119, r126, r136) + r138 = box(tuple[object, object, object], r137) + r139 = PyObject_GetItem(r116, r138) + dec_ref r116 + dec_ref r138 + if is_error(r139) goto L175 (error at :48) else goto L40 +L40: + r140 = dank_mids.helpers._codec.globals :: static + r141 = 'RpcThing' + r142 = CPyDict_SetItem(r140, r141, r139) + dec_ref r139 + r143 = r142 >= 0 :: signed + if not r143 goto L175 (error at :48) else goto L41 :: bool +L41: + r144 = dank_mids.helpers._codec.globals :: static + r145 = 'Union' + r146 = CPyDict_GetItem(r144, r145) + if is_error(r146) goto L175 (error at :51) else goto L42 +L42: + r147 = dank_mids.helpers._codec.globals :: static + r148 = 'Tuple' + r149 = CPyDict_GetItem(r147, r148) + if is_error(r149) goto L186 (error at :52) else goto L43 +L43: + r150 = dank_mids.helpers._codec.globals :: static + r151 = 'ChecksumAddress' + r152 = CPyDict_GetItem(r150, r151) + if is_error(r152) goto L187 (error at :52) else goto L44 +L44: + r153 = dank_mids.helpers._codec.globals :: static + r154 = 'hexbytes' + r155 = CPyDict_GetItem(r153, r154) + if is_error(r155) goto L188 (error at :52) else goto L45 +L45: + r156 = 'HexBytes' + r157 = CPyObject_GetAttr(r155, r156) + dec_ref r155 + if is_error(r157) goto L188 (error at :52) else goto L46 +L46: + r158 = (r152, r157) + r159 = box(tuple[object, object], r158) + r160 = PyObject_GetItem(r149, r159) + dec_ref r149 + dec_ref r159 + if is_error(r160) goto L186 (error at :52) else goto L47 +L47: + r161 = dank_mids.helpers._codec.globals :: static + r162 = 'List' + r163 = CPyDict_GetItem(r161, r162) + if is_error(r163) goto L189 (error at :53) else goto L48 +L48: + r164 = dank_mids.helpers._codec.globals :: static + r165 = 'Union' + r166 = CPyDict_GetItem(r164, r165) + if is_error(r166) goto L190 (error at :53) else goto L49 +L49: + r167 = dank_mids.helpers._codec.globals :: static + r168 = 'ChecksumAddress' + r169 = CPyDict_GetItem(r167, r168) + if is_error(r169) goto L191 (error at :53) else goto L50 +L50: + r170 = dank_mids.helpers._codec.globals :: static + r171 = 'hexbytes' + r172 = CPyDict_GetItem(r170, r171) + if is_error(r172) goto L192 (error at :53) else goto L51 +L51: + r173 = 'HexBytes' + r174 = CPyObject_GetAttr(r172, r173) + dec_ref r172 + if is_error(r174) goto L192 (error at :53) else goto L52 +L52: + r175 = (r169, r174) + r176 = box(tuple[object, object], r175) + r177 = PyObject_GetItem(r166, r176) + dec_ref r166 + dec_ref r176 + if is_error(r177) goto L190 (error at :53) else goto L53 +L53: + r178 = PyObject_GetItem(r163, r177) + dec_ref r163 + dec_ref r177 + if is_error(r178) goto L189 (error at :53) else goto L54 +L54: + r179 = (r160, r178) + r180 = box(tuple[object, object], r179) + r181 = PyObject_GetItem(r146, r180) + dec_ref r146 + dec_ref r180 + if is_error(r181) goto L175 (error at :51) else goto L55 +L55: + r182 = dank_mids.helpers._codec.globals :: static + r183 = 'MulticallChunk' + r184 = CPyDict_SetItem(r182, r183, r181) + dec_ref r181 + r185 = r184 >= 0 :: signed + if not r185 goto L175 (error at :51) else goto L56 :: bool +L56: + r186 = dank_mids.helpers._codec.globals :: static + r187 = 'Callable' + r188 = CPyDict_GetItem(r186, r187) + if is_error(r188) goto L175 (error at :55) else goto L57 +L57: + r189 = dank_mids.helpers._codec.globals :: static + r190 = 'Tuple' + r191 = CPyDict_GetItem(r189, r190) + if is_error(r191) goto L193 (error at :55) else goto L58 +L58: + r192 = load_address PyBool_Type + r193 = dank_mids.helpers._codec.globals :: static + r194 = 'Iterable' + r195 = CPyDict_GetItem(r193, r194) + if is_error(r195) goto L194 (error at :55) else goto L59 +L59: + r196 = dank_mids.helpers._codec.globals :: static + r197 = 'MulticallChunk' + r198 = CPyDict_GetItem(r196, r197) + if is_error(r198) goto L195 (error at :55) else goto L60 +L60: + r199 = PyObject_GetItem(r195, r198) + dec_ref r195 + dec_ref r198 + if is_error(r199) goto L194 (error at :55) else goto L61 +L61: + inc_ref r192 + r200 = (r192, r199) + r201 = box(tuple[object, object], r200) + r202 = PyObject_GetItem(r191, r201) + dec_ref r191 + dec_ref r201 + if is_error(r202) goto L193 (error at :55) else goto L62 +L62: + r203 = PyList_New(1) + if is_error(r203) goto L196 (error at :55) else goto L63 +L63: + r204 = get_element_ptr r203 ob_item :: PyListObject + r205 = load_mem r204 :: ptr* + set_mem r205, r202 :: builtins.object* + r206 = load_address PyBytes_Type + inc_ref r206 + r207 = (r203, r206) + r208 = box(tuple[list, object], r207) + r209 = PyObject_GetItem(r188, r208) + dec_ref r188 + dec_ref r208 + if is_error(r209) goto L175 (error at :55) else goto L64 +L64: + r210 = dank_mids.helpers._codec.globals :: static + r211 = 'MulticallEncoder' + r212 = CPyDict_SetItem(r210, r211, r209) + dec_ref r209 + r213 = r212 >= 0 :: signed + if not r213 goto L175 (error at :55) else goto L65 :: bool +L65: + r214 = dank_mids.helpers._codec.globals :: static + r215 = 'Tuple' + r216 = CPyDict_GetItem(r214, r215) + if is_error(r216) goto L175 (error at :57) else goto L66 +L66: + r217 = load_address PyLong_Type + r218 = load_address PyLong_Type + r219 = dank_mids.helpers._codec.globals :: static + r220 = 'Tuple' + r221 = CPyDict_GetItem(r219, r220) + if is_error(r221) goto L197 (error at :57) else goto L67 +L67: + r222 = dank_mids.helpers._codec.globals :: static + r223 = 'Tuple' + r224 = CPyDict_GetItem(r222, r223) + if is_error(r224) goto L198 (error at :57) else goto L68 +L68: + r225 = 'Success' + r226 = load_address PyBytes_Type + inc_ref r225 + inc_ref r226 + r227 = (r225, r226) + r228 = box(tuple[str, object], r227) + r229 = PyObject_GetItem(r224, r228) + dec_ref r224 + dec_ref r228 + if is_error(r229) goto L198 (error at :57) else goto L69 +L69: + r230 = load_address _Py_EllipsisObject + inc_ref r230 + r231 = (r229, r230) + r232 = box(tuple[object, object], r231) + r233 = PyObject_GetItem(r221, r232) + dec_ref r221 + dec_ref r232 + if is_error(r233) goto L197 (error at :57) else goto L70 +L70: + inc_ref r217 + inc_ref r218 + r234 = (r217, r218, r233) + r235 = box(tuple[object, object, object], r234) + r236 = PyObject_GetItem(r216, r235) + dec_ref r216 + dec_ref r235 + if is_error(r236) goto L175 (error at :57) else goto L71 +L71: + r237 = dank_mids.helpers._codec.globals :: static + r238 = 'DecodedMulticall' + r239 = CPyDict_SetItem(r237, r238, r236) + dec_ref r236 + r240 = r239 >= 0 :: signed + if not r240 goto L175 (error at :57) else goto L72 :: bool +L72: + r241 = dank_mids.helpers._codec.globals :: static + r242 = 'Callable' + r243 = CPyDict_GetItem(r241, r242) + if is_error(r243) goto L175 (error at :58) else goto L73 +L73: + r244 = load_address _Py_EllipsisObject + r245 = dank_mids.helpers._codec.globals :: static + r246 = 'DecodedMulticall' + r247 = CPyDict_GetItem(r245, r246) + if is_error(r247) goto L199 (error at :58) else goto L74 +L74: + inc_ref r244 + r248 = (r244, r247) + r249 = box(tuple[object, object], r248) + r250 = PyObject_GetItem(r243, r249) + dec_ref r243 + dec_ref r249 + if is_error(r250) goto L175 (error at :58) else goto L75 +L75: + r251 = dank_mids.helpers._codec.globals :: static + r252 = 'MulticallDecoder' + r253 = CPyDict_SetItem(r251, r252, r250) + dec_ref r250 + r254 = r253 >= 0 :: signed + if not r254 goto L175 (error at :58) else goto L76 :: bool +L76: + r255 = dank_mids.helpers._codec.globals :: static + r256 = 'List' + r257 = CPyDict_GetItem(r255, r256) + if is_error(r257) goto L175 (error at :61) else goto L77 +L77: + r258 = 'types.Request' + r259 = PyObject_GetItem(r257, r258) + dec_ref r257 + if is_error(r259) goto L175 (error at :61) else goto L78 +L78: + r260 = dank_mids.helpers._codec.globals :: static + r261 = 'JSONRPCBatchRequest' + r262 = CPyDict_SetItem(r260, r261, r259) + dec_ref r259 + r263 = r262 >= 0 :: signed + if not r263 goto L175 (error at :61) else goto L79 :: bool +L79: + r264 = dank_mids.helpers._codec.globals :: static + r265 = 'Union' + r266 = CPyDict_GetItem(r264, r265) + if is_error(r266) goto L175 (error at :63) else goto L80 +L80: + r267 = dank_mids.helpers._codec.globals :: static + r268 = 'List' + r269 = CPyDict_GetItem(r267, r268) + if is_error(r269) goto L200 (error at :63) else goto L81 +L81: + r270 = 'RawResponse' + r271 = PyObject_GetItem(r269, r270) + dec_ref r269 + if is_error(r271) goto L200 (error at :63) else goto L82 +L82: + r272 = 'types.PartialResponse' + inc_ref r272 + r273 = (r271, r272) + r274 = box(tuple[object, str], r273) + r275 = PyObject_GetItem(r266, r274) + dec_ref r266 + dec_ref r274 + if is_error(r275) goto L175 (error at :63) else goto L83 +L83: + r276 = dank_mids.helpers._codec.globals :: static + r277 = 'JSONRPCBatchResponse' + r278 = CPyDict_SetItem(r276, r277, r275) + dec_ref r275 + r279 = r278 >= 0 :: signed + if not r279 goto L175 (error at :63) else goto L84 :: bool +L84: + r280 = dank_mids.helpers._codec.globals :: static + r281 = 'Callable' + r282 = CPyDict_GetItem(r280, r281) + if is_error(r282) goto L175 (error at :64) else goto L85 +L85: + r283 = dank_mids.helpers._codec.globals :: static + r284 = 'Union' + r285 = CPyDict_GetItem(r283, r284) + if is_error(r285) goto L201 (error at :64) else goto L86 +L86: + r286 = load_address PyUnicode_Type + r287 = load_address PyBytes_Type + inc_ref r286 + inc_ref r287 + r288 = (r286, r287) + r289 = box(tuple[object, object], r288) + r290 = PyObject_GetItem(r285, r289) + dec_ref r285 + dec_ref r289 + if is_error(r290) goto L201 (error at :64) else goto L87 +L87: + r291 = PyList_New(1) + if is_error(r291) goto L202 (error at :64) else goto L88 +L88: + r292 = get_element_ptr r291 ob_item :: PyListObject + r293 = load_mem r292 :: ptr* + set_mem r293, r290 :: builtins.object* + r294 = dank_mids.helpers._codec.globals :: static + r295 = 'Union' + r296 = CPyDict_GetItem(r294, r295) + if is_error(r296) goto L203 (error at :64) else goto L89 +L89: + r297 = dank_mids.helpers._codec.globals :: static + r298 = 'List' + r299 = CPyDict_GetItem(r297, r298) + if is_error(r299) goto L204 (error at :64) else goto L90 +L90: + r300 = dank_mids.helpers._codec.globals :: static + r301 = 'msgspec' + r302 = CPyDict_GetItem(r300, r301) + if is_error(r302) goto L205 (error at :64) else goto L91 +L91: + r303 = 'Raw' + r304 = CPyObject_GetAttr(r302, r303) + dec_ref r302 + if is_error(r304) goto L205 (error at :64) else goto L92 +L92: + r305 = PyObject_GetItem(r299, r304) + dec_ref r299 + dec_ref r304 + if is_error(r305) goto L204 (error at :64) else goto L93 +L93: + r306 = 'types.PartialResponse' + inc_ref r306 + r307 = (r305, r306) + r308 = box(tuple[object, str], r307) + r309 = PyObject_GetItem(r296, r308) + dec_ref r296 + dec_ref r308 + if is_error(r309) goto L203 (error at :64) else goto L94 +L94: + r310 = (r291, r309) + r311 = box(tuple[list, object], r310) + r312 = PyObject_GetItem(r282, r311) + dec_ref r282 + dec_ref r311 + if is_error(r312) goto L175 (error at :64) else goto L95 +L95: + r313 = dank_mids.helpers._codec.globals :: static + r314 = 'BatchDecoder' + r315 = CPyDict_SetItem(r313, r314, r312) + dec_ref r312 + r316 = r315 >= 0 :: signed + if not r316 goto L175 (error at :64) else goto L96 :: bool +L96: + r317 = dank_mids.helpers._codec.globals :: static + r318 = 'hexbytes' + r319 = CPyDict_GetItem(r317, r318) + if is_error(r319) goto L175 (error at :67) else goto L97 +L97: + r320 = 'HexBytes' + r321 = CPyObject_GetAttr(r319, r320) + dec_ref r319 + if is_error(r321) goto L175 (error at :67) else goto L98 +L98: + dank_mids.helpers._codec.HexBytes = r321 :: static + r322 = dank_mids.helpers._codec.globals :: static + r323 = 'HexBytes' + r324 = CPyDict_SetItem(r322, r323, r321) + dec_ref r321 + r325 = r324 >= 0 :: signed + if not r325 goto L175 (error at :67) else goto L99 :: bool +L99: + r326 = dank_mids.helpers._codec.globals :: static + r327 = 'msgspec' + r328 = CPyDict_GetItem(r326, r327) + if is_error(r328) goto L175 (error at :68) else goto L100 +L100: + r329 = 'Raw' + r330 = CPyObject_GetAttr(r328, r329) + dec_ref r328 + if is_error(r330) goto L175 (error at :68) else goto L101 +L101: + dank_mids.helpers._codec.Raw = r330 :: static + r331 = dank_mids.helpers._codec.globals :: static + r332 = 'Raw' + r333 = CPyDict_SetItem(r331, r332, r330) + dec_ref r330 + r334 = r333 >= 0 :: signed + if not r334 goto L175 (error at :68) else goto L102 :: bool +L102: + r335 = dank_mids.helpers._codec.globals :: static + r336 = 'decoding' + r337 = CPyDict_GetItem(r335, r336) + if is_error(r337) goto L175 (error at :69) else goto L103 +L103: + r338 = 'ContextFramesBytesIO' + r339 = CPyObject_GetAttr(r337, r338) + dec_ref r337 + if is_error(r339) goto L175 (error at :69) else goto L104 +L104: + dank_mids.helpers._codec.ContextFramesBytesIO = r339 :: static + r340 = dank_mids.helpers._codec.globals :: static + r341 = 'ContextFramesBytesIO' + r342 = CPyDict_SetItem(r340, r341, r339) + dec_ref r339 + r343 = r342 >= 0 :: signed + if not r343 goto L175 (error at :69) else goto L105 :: bool +L105: + r344 = dank_mids.helpers._codec.globals :: static + r345 = 'msgspec' + r346 = CPyDict_GetItem(r344, r345) + if is_error(r346) goto L175 (error at :70) else goto L106 +L106: + r347 = 'DecodeError' + r348 = CPyObject_GetAttr(r346, r347) + dec_ref r346 + if is_error(r348) goto L175 (error at :70) else goto L107 +L107: + dank_mids.helpers._codec.DecodeError = r348 :: static + r349 = dank_mids.helpers._codec.globals :: static + r350 = 'DecodeError' + r351 = CPyDict_SetItem(r349, r350, r348) + dec_ref r348 + r352 = r351 >= 0 :: signed + if not r352 goto L175 (error at :70) else goto L108 :: bool +L108: + r353 = load_address PyUnicode_Type + r354 = dank_mids.helpers._codec.globals :: static + r355 = 'Decoder' + r356 = CPyDict_GetItem(r354, r355) + if is_error(r356) goto L175 (error at :72) else goto L109 +L109: + r357 = [r353] + r358 = load_address r357 + r359 = ('type',) + r360 = PyObject_Vectorcall(r356, r358, 0, r359) + dec_ref r356 + if is_error(r360) goto L175 (error at :72) else goto L110 +L110: + r361 = 'decode' + r362 = CPyObject_GetAttr(r360, r361) + dec_ref r360 + if is_error(r362) goto L175 (error at :72) else goto L111 +L111: + dank_mids.helpers._codec.decode_string = r362 :: static + r363 = dank_mids.helpers._codec.globals :: static + r364 = 'decode_string' + r365 = CPyDict_SetItem(r363, r364, r362) + dec_ref r362 + r366 = r365 >= 0 :: signed + if not r366 goto L175 (error at :72) else goto L112 :: bool +L112: + r367 = dank_mids.helpers._codec.Raw :: static + if is_error(r367) goto L113 else goto L115 +L113: + r368 = raise NameError('value for final name "Raw" was not set') + if not r368 goto L175 (error at :73) else goto L114 :: bool +L114: + unreachable +L115: + r369 = dank_mids.helpers._codec.globals :: static + r370 = 'Decoder' + r371 = CPyDict_GetItem(r369, r370) + if is_error(r371) goto L175 (error at :73) else goto L116 +L116: + r372 = [r367] + r373 = load_address r372 + r374 = ('type',) + r375 = PyObject_Vectorcall(r371, r373, 0, r374) + dec_ref r371 + if is_error(r375) goto L175 (error at :73) else goto L117 +L117: + r376 = 'decode' + r377 = CPyObject_GetAttr(r375, r376) + dec_ref r375 + if is_error(r377) goto L175 (error at :73) else goto L118 +L118: + dank_mids.helpers._codec._decode_raw = r377 :: static + r378 = dank_mids.helpers._codec.globals :: static + r379 = '_decode_raw' + r380 = CPyDict_SetItem(r378, r379, r377) + dec_ref r377 + r381 = r380 >= 0 :: signed + if not r381 goto L175 (error at :73) else goto L119 :: bool +L119: + r382 = dank_mids.helpers._codec.globals :: static + r383 = '_decode_batch' + r384 = box(None, 1) + r385 = CPyDict_SetItem(r382, r383, r384) + r386 = r385 >= 0 :: signed + if not r386 goto L175 (error at :75) else goto L120 :: bool +L120: + r387 = :: object + r388 = 'dank_mids.helpers._codec' + r389 = dank_mids.helpers._codec.RawResponse_template :: type + r390 = CPyType_FromTemplate(r389, r387, r388) + if is_error(r390) goto L175 (error at :79) else goto L121 +L121: + r391 = RawResponse_trait_vtable_setup() + if is_error(r391) goto L206 (error at :-1) else goto L122 +L122: + r392 = '__mypyc_attrs__' + r393 = '_raw' + r394 = PyTuple_Pack(1, r393) + if is_error(r394) goto L206 (error at :79) else goto L123 +L123: + r395 = PyObject_SetAttr(r390, r392, r394) + dec_ref r394 + r396 = r395 >= 0 :: signed + if not r396 goto L206 (error at :79) else goto L124 :: bool +L124: + dank_mids.helpers._codec.RawResponse = r390 :: type + r397 = dank_mids.helpers._codec.globals :: static + r398 = 'RawResponse' + r399 = PyDict_SetItem(r397, r398, r390) + dec_ref r390 + r400 = r399 >= 0 :: signed + if not r400 goto L175 (error at :79) else goto L125 :: bool +L125: + r401 = dank_mids.helpers._codec.globals :: static + r402 = '_encode_hook' + r403 = CPyDict_GetItem(r401, r402) + if is_error(r403) goto L175 (error at :180) else goto L126 +L126: + r404 = dank_mids.helpers._codec.globals :: static + r405 = 'Encoder' + r406 = CPyDict_GetItem(r404, r405) + if is_error(r406) goto L207 (error at :180) else goto L127 +L127: + r407 = [r403] + r408 = load_address r407 + r409 = ('enc_hook',) + r410 = PyObject_Vectorcall(r406, r408, 0, r409) + dec_ref r406 + if is_error(r410) goto L207 (error at :180) else goto L128 +L128: + dec_ref r403 + r411 = 'encode' + r412 = CPyObject_GetAttr(r410, r411) + dec_ref r410 + if is_error(r412) goto L175 (error at :180) else goto L129 +L129: + dank_mids.helpers._codec.encode = r412 :: static + r413 = dank_mids.helpers._codec.globals :: static + r414 = 'encode' + r415 = CPyDict_SetItem(r413, r414, r412) + dec_ref r412 + r416 = r415 >= 0 :: signed + if not r416 goto L175 (error at :180) else goto L130 :: bool +L130: + r417 = dank_mids.helpers._codec.globals :: static + r418 = 'default_codec' + r419 = CPyDict_GetItem(r417, r418) + if is_error(r419) goto L175 (error at :199) else goto L131 +L131: + r420 = '_registry' + r421 = CPyObject_GetAttr(r419, r420) + dec_ref r419 + if is_error(r421) goto L175 (error at :199) else goto L132 +L132: + r422 = '(bool,(address,bytes)[])' + r423 = 'get_encoder' + r424 = [r421, r422] + r425 = load_address r424 + r426 = PyObject_VectorcallMethod(r423, r425, 9223372036854775810, 0) + if is_error(r426) goto L208 (error at :199) else goto L133 +L133: + dec_ref r421 + dank_mids.helpers._codec._mcall_encoder = r426 :: static + r427 = dank_mids.helpers._codec.globals :: static + r428 = '_mcall_encoder' + r429 = CPyDict_SetItem(r427, r428, r426) + dec_ref r426 + r430 = r429 >= 0 :: signed + if not r430 goto L175 (error at :199) else goto L134 :: bool +L134: + r431 = dank_mids.helpers._codec._mcall_encoder :: static + if is_error(r431) goto L135 else goto L137 +L135: + r432 = raise NameError('value for final name "_mcall_encoder" was not set') + if not r432 goto L175 (error at :202) else goto L136 :: bool +L136: + unreachable +L137: + r433 = 'encoders' + r434 = CPyObject_GetAttr(r431, r433) + if is_error(r434) goto L175 (error at :202) else goto L138 +L138: + r435 = object -1 + r436 = PyObject_GetItem(r434, r435) + dec_ref r434 + if is_error(r436) goto L175 (error at :202) else goto L139 +L139: + dank_mids.helpers._codec._array_encoder = r436 :: static + r437 = dank_mids.helpers._codec.globals :: static + r438 = '_array_encoder' + r439 = CPyDict_SetItem(r437, r438, r436) + dec_ref r436 + r440 = r439 >= 0 :: signed + if not r440 goto L175 (error at :202) else goto L140 :: bool +L140: + r441 = dank_mids.helpers._codec._array_encoder :: static + if is_error(r441) goto L141 else goto L143 +L141: + r442 = raise NameError('value for final name "_array_encoder" was not set') + if not r442 goto L175 (error at :203) else goto L142 :: bool +L142: + unreachable +L143: + r443 = 'item_encoder' + r444 = CPyObject_GetAttr(r441, r443) + if is_error(r444) goto L175 (error at :203) else goto L144 +L144: + dank_mids.helpers._codec._item_encoder = r444 :: static + r445 = dank_mids.helpers._codec.globals :: static + r446 = '_item_encoder' + r447 = CPyDict_SetItem(r445, r446, r444) + dec_ref r444 + r448 = r447 >= 0 :: signed + if not r448 goto L175 (error at :203) else goto L145 :: bool +L145: + r449 = __mypyc_lambda__0_obj() + if is_error(r449) goto L175 (error at :206) else goto L146 +L146: + r450 = dank_mids.helpers._codec._mcall_encoder :: static + if is_error(r450) goto L209 else goto L149 +L147: + r451 = raise NameError('value for final name "_mcall_encoder" was not set') + if not r451 goto L175 (error at :206) else goto L148 :: bool +L148: + unreachable +L149: + r452 = 'validate_value' + r453 = PyObject_SetAttr(r450, r452, r449) + r454 = r453 >= 0 :: signed + if not r454 goto L210 (error at :206) else goto L150 :: bool +L150: + r455 = dank_mids.helpers._codec._array_encoder :: static + if is_error(r455) goto L211 else goto L153 +L151: + r456 = raise NameError('value for final name "_array_encoder" was not set') + if not r456 goto L175 (error at :206) else goto L152 :: bool +L152: + unreachable +L153: + r457 = 'validate_value' + r458 = PyObject_SetAttr(r455, r457, r449) + r459 = r458 >= 0 :: signed + if not r459 goto L210 (error at :206) else goto L154 :: bool +L154: + r460 = dank_mids.helpers._codec._item_encoder :: static + if is_error(r460) goto L212 else goto L157 +L155: + r461 = raise NameError('value for final name "_item_encoder" was not set') + if not r461 goto L175 (error at :206) else goto L156 :: bool +L156: + unreachable +L157: + r462 = 'validate_value' + r463 = PyObject_SetAttr(r460, r462, r449) + dec_ref r449 + r464 = r463 >= 0 :: signed + if not r464 goto L175 (error at :206) else goto L158 :: bool +L158: + r465 = dank_mids.helpers._codec.globals :: static + r466 = '__encode_new' + r467 = CPyDict_GetItem(r465, r466) + if is_error(r467) goto L175 (error at :236) else goto L159 +L159: + r468 = dank_mids.helpers._codec._array_encoder :: static + if is_error(r468) goto L213 else goto L162 +L160: + r469 = raise NameError('value for final name "_array_encoder" was not set') + if not r469 goto L175 (error at :236) else goto L161 :: bool +L161: unreachable -L3: - r2 = PyObject_IsTrue(r0) - r3 = r2 >= 0 :: signed - if not r3 goto L22 (error at _ensure_daemon:265) else goto L4 :: bool -L4: - r4 = truncate r2: i32 to builtins.bool - if r4 goto L7 else goto L5 :: bool -L5: - r5 = self.enabled - if is_error(r5) goto L22 (error at _ensure_daemon:265) else goto L6 -L6: - if r5 goto L7 else goto L13 :: bool -L7: - r6 = borrow self._daemon - if is_error(r6) goto L22 (error at _ensure_daemon:265) else goto L8 -L8: - r7 = load_address _Py_NoneStruct - r8 = r6 == r7 - if r8 goto L9 else goto L13 :: bool -L9: - r9 = self._stats_daemon() - if is_error(r9) goto L22 (error at _ensure_daemon:266) else goto L10 -L10: - r10 = '_StatsLogger debug daemon' - r11 = dank_mids.stats.globals :: static - r12 = 'create_task' - r13 = CPyDict_GetItem(r11, r12) - if is_error(r13) goto L23 (error at _ensure_daemon:266) else goto L11 -L11: - r14 = [r9, r10] - r15 = load_address r14 - r16 = ('name',) - r17 = PyObject_Vectorcall(r13, r15, 1, r16) - dec_ref r13 - if is_error(r17) goto L23 (error at _ensure_daemon:266) else goto L12 -L12: - dec_ref r9 - self._daemon = r17; r18 = is_error - if not r18 goto L22 (error at _ensure_daemon:266) else goto L21 :: bool -L13: - r19 = self._daemon - if is_error(r19) goto L22 (error at _ensure_daemon:267) else goto L14 -L14: - r20 = 'done' - r21 = [r19] - r22 = load_address r21 - r23 = PyObject_VectorcallMethod(r20, r22, 9223372036854775809, 0) - if is_error(r23) goto L24 (error at _ensure_daemon:267) else goto L15 -L15: - dec_ref r19 - r24 = unbox(bool, r23) - dec_ref r23 - if is_error(r24) goto L22 (error at _ensure_daemon:267) else goto L16 -L16: - if r24 goto L17 else goto L21 :: bool -L17: - r25 = self._daemon - if is_error(r25) goto L22 (error at _ensure_daemon:268) else goto L18 -L18: - r26 = 'exception' - r27 = [r25] - r28 = load_address r27 - r29 = PyObject_VectorcallMethod(r26, r28, 9223372036854775809, 0) - if is_error(r29) goto L25 (error at _ensure_daemon:268) else goto L19 -L19: - dec_ref r25 - CPy_Raise(r29) - dec_ref r29 - if not 0 goto L22 (error at _ensure_daemon:268) else goto L20 :: bool -L20: +L162: + r470 = 'encode' + r471 = PyObject_SetAttr(r468, r470, r467) + dec_ref r467 + r472 = r471 >= 0 :: signed + if not r472 goto L175 (error at :236) else goto L163 :: bool +L163: + r473 = dank_mids.helpers._codec.globals :: static + r474 = '__encode_elements_new' + r475 = CPyDict_GetItem(r473, r474) + if is_error(r475) goto L175 (error at :237) else goto L164 +L164: + r476 = dank_mids.helpers._codec._array_encoder :: static + if is_error(r476) goto L214 else goto L167 +L165: + r477 = raise NameError('value for final name "_array_encoder" was not set') + if not r477 goto L175 (error at :237) else goto L166 :: bool +L166: unreachable -L21: +L167: + r478 = 'encode_elements' + r479 = PyObject_SetAttr(r476, r478, r475) + dec_ref r475 + r480 = r479 >= 0 :: signed + if not r480 goto L175 (error at :237) else goto L168 :: bool +L168: + r481 = dank_mids.helpers._codec.globals :: static + r482 = 'default_codec' + r483 = CPyDict_GetItem(r481, r482) + if is_error(r483) goto L175 (error at :240) else goto L169 +L169: + r484 = '_registry' + r485 = CPyObject_GetAttr(r483, r484) + dec_ref r483 + if is_error(r485) goto L175 (error at :240) else goto L170 +L170: + r486 = '(uint256,uint256,(bool,bytes)[])' + r487 = 'get_decoder' + r488 = [r485, r486] + r489 = load_address r488 + r490 = PyObject_VectorcallMethod(r487, r489, 9223372036854775810, 0) + if is_error(r490) goto L215 (error at :240) else goto L171 +L171: + dec_ref r485 + r491 = 'decode' + r492 = CPyObject_GetAttr(r490, r491) + dec_ref r490 + if is_error(r492) goto L175 (error at :240) else goto L172 +L172: + dank_mids.helpers._codec._mcall_decoder = r492 :: static + r493 = dank_mids.helpers._codec.globals :: static + r494 = '_mcall_decoder' + r495 = CPyDict_SetItem(r493, r494, r492) + dec_ref r492 + r496 = r495 >= 0 :: signed + if not r496 goto L175 (error at :240) else goto L173 :: bool +L173: + r497 = load_address PyBool_Type + r498 = dank_mids.helpers._codec.globals :: static + r499 = 'Success' + r500 = CPyDict_SetItem(r498, r499, r497) + r501 = r500 >= 0 :: signed + if not r501 goto L175 (error at :250) else goto L174 :: bool +L174: return 1 -L22: - r30 = :: None - return r30 -L23: - dec_ref r9 - goto L22 -L24: - dec_ref r19 - goto L22 -L25: - dec_ref r25 - goto L22 +L175: + r502 = :: None + return r502 +L176: + dec_ref r77 + goto L175 +L177: + dec_ref r77 + dec_ref r80 + goto L175 +L178: + dec_ref r77 + dec_ref r80 + dec_ref r83 + goto L175 +L179: + dec_ref r96 + goto L175 +L180: + dec_ref r96 + dec_ref r100 + goto L175 +L181: + dec_ref r116 + goto L175 +L182: + dec_ref r116 + dec_ref r119 + goto L175 +L183: + dec_ref r116 + dec_ref r119 + dec_ref r122 + goto L175 +L184: + dec_ref r116 + dec_ref r119 + dec_ref r126 + goto L175 +L185: + dec_ref r116 + dec_ref r119 + dec_ref r126 + dec_ref r129 + goto L175 +L186: + dec_ref r146 + goto L175 +L187: + dec_ref r146 + dec_ref r149 + goto L175 +L188: + dec_ref r146 + dec_ref r149 + dec_ref r152 + goto L175 +L189: + dec_ref r146 + dec_ref r160 + goto L175 +L190: + dec_ref r146 + dec_ref r160 + dec_ref r163 + goto L175 +L191: + dec_ref r146 + dec_ref r160 + dec_ref r163 + dec_ref r166 + goto L175 +L192: + dec_ref r146 + dec_ref r160 + dec_ref r163 + dec_ref r166 + dec_ref r169 + goto L175 +L193: + dec_ref r188 + goto L175 +L194: + dec_ref r188 + dec_ref r191 + goto L175 +L195: + dec_ref r188 + dec_ref r191 + dec_ref r195 + goto L175 +L196: + dec_ref r188 + dec_ref r202 + goto L175 +L197: + dec_ref r216 + goto L175 +L198: + dec_ref r216 + dec_ref r221 + goto L175 +L199: + dec_ref r243 + goto L175 +L200: + dec_ref r266 + goto L175 +L201: + dec_ref r282 + goto L175 +L202: + dec_ref r282 + dec_ref r290 + goto L175 +L203: + dec_ref r282 + dec_ref r291 + goto L175 +L204: + dec_ref r282 + dec_ref r291 + dec_ref r296 + goto L175 +L205: + dec_ref r282 + dec_ref r291 + dec_ref r296 + dec_ref r299 + goto L175 +L206: + dec_ref r390 + goto L175 +L207: + dec_ref r403 + goto L175 +L208: + dec_ref r421 + goto L175 +L209: + dec_ref r449 + goto L147 +L210: + dec_ref r449 + goto L175 +L211: + dec_ref r449 + goto L151 +L212: + dec_ref r449 + goto L155 +L213: + dec_ref r467 + goto L160 +L214: + dec_ref r475 + goto L165 +L215: + dec_ref r485 + goto L175 -def _stats_daemon__StatsLogger_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): - __mypyc_self__ :: dank_mids.stats._stats_daemon__StatsLogger_gen - type, value, traceback, arg :: object - stop_iter_ptr :: object_ptr - r0, r1 :: object - r2 :: i32 +def make_hashable(obj): + obj, r0, r1 :: object + r2 :: tuple[object, object] r3 :: object - r4 :: bit - r5 :: dict - r6 :: str - r7, r8 :: object - r9 :: float - r10 :: bit - r11 :: bool - r12 :: object - r13 :: bool - r14 :: object - r15 :: bool - r16, r17 :: object - r18 :: bool - r19, r20, r21, r22, r23 :: object + r4 :: i32 + r5 :: bit + r6 :: bool + r7 :: list + r8 :: union[list, tuple] + r9, r10, r11 :: object + r12 :: i32 + r13, r14 :: bit + r15 :: tuple + r16 :: bit + r17, r18 :: dict + r19 :: short_int + r20 :: native_int + r21 :: object + r22 :: tuple[bool, short_int, object] + r23 :: short_int r24 :: bool r25 :: object - r26 :: bool - r27 :: object - r28 :: bit - r29 :: tuple[object, object, object] - r30 :: bool - r31 :: object_ptr - r32 :: object - r33 :: bool - r34, r35, r36 :: tuple[object, object, object] - r37 :: bit - r38, r39, r40 :: object - r41 :: dict - r42 :: str - r43, r44 :: object - r45 :: float - r46 :: bit - r47 :: bool - r48 :: object - r49 :: float - r50 :: bit - r51 :: float - r52 :: bit - r53 :: object - r54 :: float - r55 :: bool - r56 :: object - r57 :: dank_mids.stats._Collector - r58 :: bool - r59 :: object - r60 :: float - r61 :: bit - r62 :: str - r63 :: object - r64 :: object[2] - r65 :: object_ptr - r66, r67 :: object - r68 :: dict - r69 :: str - r70, r71 :: object - r72 :: float - r73 :: bit - r74 :: bool - r75 :: object - r76 :: float - r77 :: bit - r78 :: float - r79 :: bit - r80 :: object - r81 :: float - r82 :: bool - r83 :: object - r84 :: float - r85, r86 :: bit - r87 :: object - r88 :: dank_mids.stats._StatsLogger - r89 :: None - r90 :: dank_mids.stats._StatsLogger - r91 :: None - r92 :: dank_mids.stats._StatsLogger - r93 :: None - r94 :: bool - r95 :: object - r96 :: bool - r97, r98 :: bit - r99 :: bool - r100 :: object + r26 :: dict + r27, r28 :: object + r29 :: i32 + r30, r31, r32 :: bit + r33 :: tuple + r34 :: dict + r35 :: dank_mids.helpers.hashing.AttributeDict + r36 :: object L0: - r0 = :: object - r1 = r0 - r2 = __mypyc_self__.__mypyc_next_label__ - goto L84 + r0 = load_address PyList_Type + r1 = load_address PyTuple_Type + inc_ref r0 + inc_ref r1 + r2 = (r0, r1) + r3 = box(tuple[object, object], r2) + r4 = PyObject_IsInstance(obj, r3) + dec_ref r3 + r5 = r4 >= 0 :: signed + if not r5 goto L26 (error at make_hashable:36) else goto L1 :: bool L1: - r3 = load_address _Py_NoneStruct - r4 = type != r3 - if r4 goto L2 else goto L4 :: bool + r6 = truncate r4: i32 to builtins.bool + if r6 goto L2 else goto L11 :: bool L2: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L88 (error at _stats_daemon:270) else goto L3 :: bool + r7 = PyList_New(0) + if is_error(r7) goto L26 (error at make_hashable:37) else goto L3 L3: - unreachable + inc_ref obj + r8 = cast(union[list, tuple], obj) + if is_error(r8) goto L27 (error at make_hashable:37) else goto L4 L4: - r5 = dank_mids.stats.globals :: static - r6 = 'time' - r7 = CPyDict_GetItem(r5, r6) - if is_error(r7) goto L88 (error at _stats_daemon:278) else goto L5 + r9 = PyObject_GetIter(r8) + dec_ref r8 + if is_error(r9) goto L27 (error at make_hashable:37) else goto L5 L5: - r8 = PyObject_Vectorcall(r7, 0, 0, 0) - dec_ref r7 - if is_error(r8) goto L88 (error at _stats_daemon:278) else goto L6 + r10 = PyIter_Next(r9) + if is_error(r10) goto L28 else goto L6 L6: - r9 = unbox(float, r8) - dec_ref r8 - r10 = r9 == -113.0 - if r10 goto L8 else goto L7 :: bool + r11 = make_hashable(r10) + dec_ref r10 + if is_error(r11) goto L29 (error at make_hashable:37) else goto L7 L7: - __mypyc_self__.__mypyc_generator_attribute__start = r9; r11 = is_error - if not r11 goto L88 (error at _stats_daemon:278) else goto L9 :: bool + r12 = PyList_Append(r7, r11) + dec_ref r11 + r13 = r12 >= 0 :: signed + if not r13 goto L29 (error at make_hashable:37) else goto L5 :: bool L8: - r12 = PyErr_Occurred() - if not is_error(r12) goto L88 (error at _stats_daemon:278) else goto L7 + r14 = CPy_NoErrOccurred() + if not r14 goto L27 (error at make_hashable:37) else goto L9 :: bool L9: - __mypyc_self__.__mypyc_generator_attribute__time_since_notified = 0.0; r13 = is_error - if not r13 goto L88 (error at _stats_daemon:279) else goto L10 :: bool + r15 = PyList_AsTuple(r7) + dec_ref r7 + if is_error(r15) goto L26 (error at make_hashable:37) else goto L10 L10: - if 1 goto L11 else goto L79 :: bool + return r15 L11: - r14 = dank_mids.stats.yield_to_loop :: static - if is_error(r14) goto L12 else goto L14 + r16 = PyDict_Check(obj) + if r16 goto L12 else goto L25 :: bool L12: - r15 = raise NameError('value for final name "yield_to_loop" was not set') - if not r15 goto L88 (error at _stats_daemon:281) else goto L13 :: bool + r17 = PyDict_New() + if is_error(r17) goto L26 (error at make_hashable:39) else goto L13 L13: - unreachable + inc_ref obj + r18 = cast(dict, obj) + if is_error(r18) goto L30 (error at make_hashable:39) else goto L14 L14: - r16 = PyObject_Vectorcall(r14, 0, 0, 0) - if is_error(r16) goto L88 (error at _stats_daemon:281) else goto L15 + r19 = 0 + r20 = PyDict_Size(r18) + r21 = CPyDict_GetKeysIter(r18) + if is_error(r21) goto L31 (error at make_hashable:39) else goto L15 L15: - r17 = CPy_GetCoro(r16) - dec_ref r16 - if is_error(r17) goto L88 (error at _stats_daemon:281) else goto L16 + r22 = CPyDict_NextKey(r21, r19) + r23 = r22[1] + r19 = r23 + r24 = r22[0] + if r24 goto L16 else goto L32 :: bool L16: - __mypyc_self__.__mypyc_temp__0 = r17; r18 = is_error - if not r18 goto L88 (error at _stats_daemon:-1) else goto L17 :: bool + r25 = r22[2] + dec_ref r22 + inc_ref obj + r26 = cast(dict, obj) + if is_error(r26) goto L33 (error at make_hashable:39) else goto L17 L17: - r19 = __mypyc_self__.__mypyc_temp__0 - if is_error(r19) goto L88 (error at _stats_daemon:-1) else goto L18 + r27 = CPyDict_GetItem(r26, r25) + dec_ref r26 + if is_error(r27) goto L33 (error at make_hashable:39) else goto L18 L18: - r20 = CPyIter_Next(r19) - dec_ref r19 - if is_error(r20) goto L19 else goto L21 + r28 = make_hashable(r27) + dec_ref r27 + if is_error(r28) goto L33 (error at make_hashable:39) else goto L19 L19: - r21 = CPy_FetchStopIterationValue() - if is_error(r21) goto L88 (error at _stats_daemon:281) else goto L20 + r29 = PyDict_SetItem(r17, r25, r28) + dec_ref r25 + dec_ref r28 + r30 = r29 >= 0 :: signed + if not r30 goto L34 (error at make_hashable:39) else goto L20 :: bool L20: - r22 = r21 - dec_ref r22 - r23 = :: object - __mypyc_self__.__mypyc_temp__0 = r23; r24 = is_error - if not r24 goto L88 (error at _stats_daemon:281) else goto L43 :: bool + r31 = CPyDict_CheckSize(r18, r20) + if not r31 goto L34 (error at make_hashable:39) else goto L15 :: bool L21: - r25 = r20 + r32 = CPy_NoErrOccurred() + if not r32 goto L30 (error at make_hashable:39) else goto L22 :: bool L22: - __mypyc_self__.__mypyc_next_label__ = 1 - return r25 + r33 = CPyTuple_LoadEmptyTupleConstant() + r34 = PyDict_New() + if is_error(r34) goto L35 (error at make_hashable:39) else goto L23 L23: - r27 = load_address _Py_NoneStruct - r28 = type != r27 - if r28 goto L24 else goto L89 :: bool + r35 = AttributeDict(r17, r33, r34) + dec_ref r17 + dec_ref r33 + dec_ref r34 + if is_error(r35) goto L26 (error at make_hashable:39) else goto L24 L24: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L27 (error at _stats_daemon:281) else goto L90 :: bool + return r35 L25: - unreachable + inc_ref obj + return obj L26: - inc_ref arg - goto L38 + r36 = :: object + return r36 L27: - r29 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__1 = r29; r30 = is_error - if not r30 goto L91 (error at _stats_daemon:-1) else goto L28 :: bool + dec_ref r7 + goto L26 L28: - r31 = load_address r1 - r32 = __mypyc_self__.__mypyc_temp__0 - if is_error(r32) goto L91 (error at _stats_daemon:-1) else goto L29 + dec_ref r9 + goto L8 L29: - r33 = CPy_YieldFromErrorHandle(r32, r31) - dec_ref r32 - if is_error(r33) goto L91 (error at _stats_daemon:281) else goto L30 + dec_ref r7 + dec_ref r9 + goto L26 L30: - if r33 goto L33 else goto L31 :: bool + dec_ref r17 + goto L26 L31: - r25 = r1 - r34 = __mypyc_self__.__mypyc_temp__1 - if is_error(r34) goto L92 (error at _stats_daemon:-1) else goto L32 + dec_ref r17 + dec_ref r18 + goto L26 L32: - CPy_RestoreExcInfo(r34) - dec_ref r34 - goto L22 -L33: - r22 = r1 + dec_ref r18 + dec_ref r21 dec_ref r22 - r35 = __mypyc_self__.__mypyc_temp__1 - if is_error(r35) goto L35 (error at _stats_daemon:-1) else goto L34 + goto L21 +L33: + dec_ref r17 + dec_ref r18 + dec_ref r21 + dec_ref r25 + goto L26 L34: - CPy_RestoreExcInfo(r35) - dec_ref r35 - goto L43 + dec_ref r17 + dec_ref r18 + dec_ref r21 + goto L26 L35: - r36 = __mypyc_self__.__mypyc_temp__1 - if is_error(r36) goto L88 (error at _stats_daemon:-1) else goto L36 -L36: - CPy_RestoreExcInfo(r36) - dec_ref r36 - r37 = CPy_KeepPropagating() - if not r37 goto L88 else goto L37 :: bool -L37: - unreachable -L38: - r38 = __mypyc_self__.__mypyc_temp__0 - if is_error(r38) goto L93 (error at _stats_daemon:-1) else goto L39 -L39: - r39 = CPyIter_Send(r38, arg) - dec_ref r38 - dec_ref arg - if is_error(r39) goto L41 else goto L40 -L40: - r25 = r39 - goto L22 -L41: - r40 = CPy_FetchStopIterationValue() - if is_error(r40) goto L88 (error at _stats_daemon:281) else goto L42 -L42: - r22 = r40 - dec_ref r22 -L43: - r41 = dank_mids.stats.globals :: static - r42 = 'time' - r43 = CPyDict_GetItem(r41, r42) - if is_error(r43) goto L88 (error at _stats_daemon:282) else goto L44 -L44: - r44 = PyObject_Vectorcall(r43, 0, 0, 0) - dec_ref r43 - if is_error(r44) goto L88 (error at _stats_daemon:282) else goto L45 -L45: - r45 = unbox(float, r44) - dec_ref r44 - r46 = r45 == -113.0 - if r46 goto L47 else goto L46 :: bool -L46: - __mypyc_self__.__mypyc_generator_attribute__now = r45; r47 = is_error - if not r47 goto L88 (error at _stats_daemon:282) else goto L48 :: bool -L47: - r48 = PyErr_Occurred() - if not is_error(r48) goto L88 (error at _stats_daemon:282) else goto L46 -L48: - r49 = __mypyc_self__.__mypyc_generator_attribute__now - r50 = r49 == -113.0 - if r50 goto L50 else goto L49 :: bool -L49: - r51 = __mypyc_self__.__mypyc_generator_attribute__start - r52 = r51 == -113.0 - if r52 goto L52 else goto L51 :: bool -L50: - r53 = PyErr_Occurred() - if not is_error(r53) goto L88 (error at _stats_daemon:283) else goto L49 -L51: - r54 = r49 - r51 - __mypyc_self__.__mypyc_generator_attribute__duration = r54; r55 = is_error - if not r55 goto L88 (error at _stats_daemon:283) else goto L53 :: bool -L52: - r56 = PyErr_Occurred() - if not is_error(r56) goto L88 (error at _stats_daemon:283) else goto L51 -L53: - r57 = dank_mids.stats.collector :: static - if is_error(r57) goto L54 else goto L56 -L54: - r58 = raise NameError('value for final name "collector" was not set') - if not r58 goto L88 (error at _stats_daemon:284) else goto L55 :: bool -L55: - unreachable -L56: - r59 = r57.event_loop_times - r60 = __mypyc_self__.__mypyc_generator_attribute__duration - r61 = r60 == -113.0 - if r61 goto L58 else goto L57 :: bool -L57: - r62 = 'append' - r63 = box(float, r60) - r64 = [r59, r63] - r65 = load_address r64 - r66 = PyObject_VectorcallMethod(r62, r65, 9223372036854775810, 0) - if is_error(r66) goto L94 (error at _stats_daemon:284) else goto L95 -L58: - r67 = PyErr_Occurred() - if not is_error(r67) goto L96 (error at _stats_daemon:284) else goto L57 -L59: - dec_ref r59 - dec_ref r63 - r68 = dank_mids.stats.globals :: static - r69 = 'time' - r70 = CPyDict_GetItem(r68, r69) - if is_error(r70) goto L88 (error at _stats_daemon:285) else goto L60 -L60: - r71 = PyObject_Vectorcall(r70, 0, 0, 0) - dec_ref r70 - if is_error(r71) goto L88 (error at _stats_daemon:285) else goto L61 -L61: - r72 = unbox(float, r71) - dec_ref r71 - r73 = r72 == -113.0 - if r73 goto L63 else goto L62 :: bool -L62: - __mypyc_self__.__mypyc_generator_attribute__start = r72; r74 = is_error - if not r74 goto L88 (error at _stats_daemon:285) else goto L64 :: bool -L63: - r75 = PyErr_Occurred() - if not is_error(r75) goto L88 (error at _stats_daemon:285) else goto L62 -L64: - r76 = __mypyc_self__.__mypyc_generator_attribute__time_since_notified - r77 = r76 == -113.0 - if r77 goto L66 else goto L65 :: bool -L65: - r78 = __mypyc_self__.__mypyc_generator_attribute__duration - r79 = r78 == -113.0 - if r79 goto L68 else goto L67 :: bool -L66: - r80 = PyErr_Occurred() - if not is_error(r80) goto L88 (error at _stats_daemon:286) else goto L65 -L67: - r81 = r76 + r78 - __mypyc_self__.__mypyc_generator_attribute__time_since_notified = r81; r82 = is_error - if not r82 goto L88 (error at _stats_daemon:286) else goto L69 :: bool -L68: - r83 = PyErr_Occurred() - if not is_error(r83) goto L88 (error at _stats_daemon:286) else goto L67 -L69: - r84 = __mypyc_self__.__mypyc_generator_attribute__time_since_notified - r85 = r84 == -113.0 - if r85 goto L71 else goto L70 :: bool -L70: - r86 = r84 > 300.0 - if r86 goto L72 else goto L10 :: bool -L71: - r87 = PyErr_Occurred() - if not is_error(r87) goto L88 (error at _stats_daemon:287) else goto L70 -L72: - r88 = __mypyc_self__.__mypyc_generator_attribute__self - if is_error(r88) goto L88 (error at _stats_daemon:288) else goto L73 -L73: - r89 = r88.log_subprocess_stats(40) - dec_ref r88 - if is_error(r89) goto L88 (error at _stats_daemon:288) else goto L74 -L74: - r90 = __mypyc_self__.__mypyc_generator_attribute__self - if is_error(r90) goto L88 (error at _stats_daemon:289) else goto L75 -L75: - r91 = r90.log_brownie_stats(40) - dec_ref r90 - if is_error(r91) goto L88 (error at _stats_daemon:289) else goto L76 -L76: - r92 = __mypyc_self__.__mypyc_generator_attribute__self - if is_error(r92) goto L88 (error at _stats_daemon:290) else goto L77 -L77: - r93 = r92.log_event_loop_stats(40) - dec_ref r92 - if is_error(r93) goto L88 (error at _stats_daemon:290) else goto L78 -L78: - __mypyc_self__.__mypyc_generator_attribute__time_since_notified = 0.0; r94 = is_error - if not r94 goto L88 (error at _stats_daemon:291) else goto L10 :: bool -L79: - r95 = box(None, 1) - __mypyc_self__.__mypyc_next_label__ = -1 -L80: - if is_error(stop_iter_ptr) goto L81 else goto L83 -L81: - CPyGen_SetStopIterationValue(r95) - if not 0 goto L88 else goto L82 :: bool -L82: - unreachable -L83: - inc_ref r95 - set_mem stop_iter_ptr, r95 :: builtins.object* - return 0 -L84: - r97 = r2 == 0 - if r97 goto L97 else goto L85 :: bool -L85: - r98 = r2 == 1 - if r98 goto L23 else goto L98 :: bool -L86: - r99 = raise StopIteration - if not r99 goto L88 (error at _stats_daemon:270) else goto L87 :: bool -L87: - unreachable -L88: - r100 = :: object - return r100 -L89: - xdec_ref r1 + dec_ref r17 + dec_ref r33 goto L26 -L90: - xdec_ref r1 - goto L25 -L91: - xdec_ref r1 - goto L35 -L92: - dec_ref r25 - goto L35 -L93: - dec_ref arg - goto L88 -L94: - dec_ref r59 - dec_ref r63 - goto L88 -L95: - dec_ref r66 - goto L59 -L96: - dec_ref r59 - goto L88 -L97: - xdec_ref r1 - goto L1 -L98: - xdec_ref r1 - goto L86 - -def _stats_daemon__StatsLogger_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids.stats._stats_daemon__StatsLogger_gen - r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = _stats_daemon__StatsLogger_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def _stats_daemon__StatsLogger_gen.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids.stats._stats_daemon__StatsLogger_gen - arg, r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = _stats_daemon__StatsLogger_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def _stats_daemon__StatsLogger_gen.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids.stats._stats_daemon__StatsLogger_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def _stats_daemon__StatsLogger_gen.throw(__mypyc_self__, type, value, traceback): - __mypyc_self__ :: dank_mids.stats._stats_daemon__StatsLogger_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 = _stats_daemon__StatsLogger_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) - 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 _stats_daemon__StatsLogger_gen.close(__mypyc_self__): - __mypyc_self__ :: dank_mids.stats._stats_daemon__StatsLogger_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 _stats_daemon__StatsLogger_gen.__await__(__mypyc_self__): - __mypyc_self__ :: dank_mids.stats._stats_daemon__StatsLogger_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def _StatsLogger._stats_daemon(self): - self :: dank_mids.stats._StatsLogger - r0 :: dank_mids.stats._stats_daemon__StatsLogger_gen - r1, r2 :: bool - r3 :: dank_mids.stats._stats_daemon__StatsLogger_gen -L0: - r0 = _stats_daemon__StatsLogger_gen() - if is_error(r0) goto L3 (error at _stats_daemon:270) else goto L1 -L1: - r0.__mypyc_next_label__ = 0 - inc_ref self - r0.__mypyc_generator_attribute__self = self; r2 = is_error - if not r2 goto L4 (error at _stats_daemon:270) else goto L2 :: bool -L2: - return r0 -L3: - r3 = :: dank_mids.stats._stats_daemon__StatsLogger_gen - return r3 -L4: - dec_ref r0 - goto L3 -def _StatsLogger.log_validation_error(self, method, e): - self :: dank_mids.stats._StatsLogger - method, e :: object - r0 :: str - r1 :: object - r2 :: object[2] - r3 :: object_ptr - r4 :: object - r5 :: bool +def AttributeDict.__init__(self, dictionary, args, kwargs): + self :: dank_mids.helpers.hashing.AttributeDict + dictionary :: dict + args :: tuple + kwargs, r0 :: dict + r1 :: bool + r2 :: dict + r3 :: object + r4 :: dict + r5 :: object r6 :: dict - r7 :: str - r8 :: object - r9 :: bool - r10 :: dank_mids.stats._Collector - r11 :: bool - r12 :: dict - r13 :: object - r14 :: str - r15 :: object[2] - r16 :: object_ptr - r17 :: object - r18 :: str - r19 :: tuple[object] - r20 :: object - r21 :: dict - r22, r23 :: None + r7 :: i32 + r8 :: bit + r9 :: object + r10 :: bool + r11 :: None L0: - r0 = 'isEnabledFor' - r1 = object 15 - r2 = [self, r1] - r3 = load_address r2 - r4 = PyObject_VectorcallMethod(r0, r3, 9223372036854775810, 0) - if is_error(r4) goto L16 (error at log_validation_error:306) else goto L1 + r0 = PyDict_Copy(dictionary) + if is_error(r0) goto L9 (error at __init__:50) else goto L1 L1: - r5 = unbox(bool, r4) - dec_ref r4 - if is_error(r5) goto L16 (error at log_validation_error:306) else goto L2 + self.__dict__ = r0; r1 = is_error + if not r1 goto L9 (error at __init__:50) else goto L2 :: bool L2: - r6 = dank_mids.stats.globals :: static - r7 = 'COLLECT_STATS' - r8 = CPyDict_GetItem(r6, r7) - if is_error(r8) goto L16 (error at log_validation_error:307) else goto L3 + r2 = self.__dict__ + if is_error(r2) goto L9 (error at __init__:51) else goto L3 L3: - r9 = unbox(bool, r8) - dec_ref r8 - if is_error(r9) goto L16 (error at log_validation_error:307) else goto L4 + r3 = load_address PyDict_Type + r4 = PyDict_Copy(kwargs) + if is_error(r4) goto L10 (error at __init__:51) else goto L4 L4: - if r9 goto L6 else goto L5 :: bool + r5 = PyObject_Call(r3, args, r4) + dec_ref r4 + if is_error(r5) goto L10 (error at __init__:51) else goto L5 L5: - if r5 goto L6 else goto L12 :: bool + r6 = cast(dict, r5) + if is_error(r6) goto L10 (error at __init__:51) else goto L6 L6: - r10 = dank_mids.stats.collector :: static - if is_error(r10) goto L7 else goto L9 + r7 = CPyDict_Update(r2, r6) + dec_ref r2 + dec_ref r6 + r8 = r7 >= 0 :: signed + if not r8 goto L9 (error at __init__:51) else goto L7 :: bool L7: - r11 = raise NameError('value for final name "collector" was not set') - if not r11 goto L16 (error at log_validation_error:308) else goto L8 :: bool + r9 = box(None, 1) + inc_ref r9 + self.__hash = r9; r10 = is_error + if not r10 goto L9 (error at __init__:52) else goto L8 :: bool L8: - unreachable + return 1 L9: - r12 = r10.validation_errors - r13 = CPyDict_GetItem(r12, method) - dec_ref r12 - if is_error(r13) goto L16 (error at log_validation_error:308) else goto L10 + r11 = :: None + return r11 L10: - r14 = 'append' - r15 = [r13, e] - r16 = load_address r15 - r17 = PyObject_VectorcallMethod(r14, r16, 9223372036854775810, 0) - if is_error(r17) goto L17 (error at log_validation_error:308) else goto L18 -L11: - dec_ref r13 -L12: - if r5 goto L13 else goto L15 :: bool -L13: - r18 = "ValidationError when decoding response for %s. This *should* not impact your script. If it does, you'll know." - inc_ref method - r19 = (method) - r20 = box(tuple[object], r19) - r21 = PyDict_New() - if is_error(r21) goto L19 (error at log_validation_error:310) else goto L14 -L14: - r22 = self._log(30, r18, r20, r21) - dec_ref r20 - dec_ref r21 - if is_error(r22) goto L16 (error at log_validation_error:310) else goto L15 -L15: - return 1 -L16: - r23 = :: None - return r23 -L17: - dec_ref r13 - goto L16 -L18: - dec_ref r17 - goto L11 -L19: - dec_ref r20 - goto L16 + dec_ref r2 + goto L9 -def _StatsLogger.log_types(self, method, decoded): - self :: dank_mids.stats._StatsLogger - method, decoded :: object - r0 :: set - r1 :: str - r2 :: object[1] - r3 :: object_ptr - r4, r5, r6, r7 :: object - r8 :: i32 - r9, r10 :: bit - r11, r12, r13, r14, r15 :: str - r16 :: tuple - r17 :: dict - r18 :: None - r19 :: object - r20 :: i32 - r21 :: bit - r22 :: bool - r23 :: str - r24 :: object[1] - r25 :: object_ptr - r26 :: object - r27 :: int - r28 :: None - r29 :: dank_mids.stats._Collector - r30 :: bool - r31 :: set - r32 :: i32 - r33 :: bit - r34 :: None +def AttributeDict.__hash__(self): + self :: dank_mids.helpers.hashing.AttributeDict + r0, retval :: union[int, None] + r1 :: object + r2 :: bit + r3 :: dank_mids.helpers.hashing.AttributeDict + r4 :: object + r5 :: list + r6 :: tuple + r7 :: int + r8 :: object + r9 :: int + r10 :: object + r11 :: bool + r12, r13 :: int L0: - r0 = PySet_New(0) - if is_error(r0) goto L20 (error at log_types:332) else goto L1 + r0 = self.__hash + if is_error(r0) goto L11 (error at __hash__:55) else goto L1 L1: - r1 = 'values' - r2 = [decoded] - r3 = load_address r2 - r4 = PyObject_VectorcallMethod(r1, r3, 9223372036854775809, 0) - if is_error(r4) goto L21 (error at log_types:332) else goto L2 + retval = r0 + r1 = load_address _Py_NoneStruct + r2 = retval == r1 + if r2 goto L12 else goto L9 :: bool L2: - r5 = PyObject_GetIter(r4) - dec_ref r4 - if is_error(r5) goto L21 (error at log_types:332) else goto L3 + r3 = tupleize_lists_nested(self) + if is_error(r3) goto L11 (error at __hash__:57) else goto L3 L3: - r6 = PyIter_Next(r5) - if is_error(r6) goto L22 else goto L4 + r4 = r3.items() + dec_ref r3 + if is_error(r4) goto L11 (error at __hash__:57) else goto L4 L4: - r7 = CPy_TYPE(r6) - dec_ref r6 - r8 = PySet_Add(r0, r7) - dec_ref r7 - r9 = r8 >= 0 :: signed - if not r9 goto L23 (error at log_types:332) else goto L3 :: bool + r5 = CPySequence_Sort(r4) + dec_ref r4 + if is_error(r5) goto L11 (error at __hash__:57) else goto L5 L5: - r10 = CPy_NoErrOccurred() - if not r10 goto L21 (error at log_types:332) else goto L6 :: bool + r6 = PyList_AsTuple(r5) + dec_ref r5 + if is_error(r6) goto L11 (error at __hash__:57) else goto L6 L6: - r11 = 'my method and types: ' - r12 = PyObject_Str(method) - if is_error(r12) goto L24 (error at log_types:333) else goto L7 + r7 = CPyObject_Hash(r6) + dec_ref r6 + if is_error(r7) goto L11 (error at __hash__:57) else goto L7 L7: - r13 = ' ' - r14 = PyObject_Str(r0) - if is_error(r14) goto L25 (error at log_types:333) else goto L8 + r8 = box(int, r7) + retval = r8 + r9 = unbox(int, retval) + if is_error(r9) goto L13 (error at __hash__:58) else goto L8 L8: - r15 = CPyStr_Build(4, r11, r12, r13, r14) - dec_ref r12 - dec_ref r14 - if is_error(r15) goto L24 (error at log_types:333) else goto L9 + r10 = box(int, r9) + self.__hash = r10; r11 = is_error + if not r11 goto L13 (error at __hash__:58) else goto L9 :: bool L9: - r16 = CPyTuple_LoadEmptyTupleConstant() - r17 = PyDict_New() - if is_error(r17) goto L26 (error at log_types:333) else goto L10 + r12 = unbox(int, retval) + dec_ref retval + if is_error(r12) goto L11 (error at __hash__:59) else goto L10 L10: - r18 = self.devhint(r15, r16, r17) - dec_ref r15 - dec_ref r16 - dec_ref r17 - if is_error(r18) goto L24 (error at log_types:333) else goto L11 + return r12 L11: - r19 = load_address PyList_Type - r20 = PySet_Contains(r0, r19) - r21 = r20 >= 0 :: signed - if not r21 goto L24 (error at log_types:334) else goto L12 :: bool + r13 = :: int + return r13 L12: - r22 = truncate r20: i32 to builtins.bool - if r22 goto L13 else goto L15 :: bool + dec_ref retval + goto L2 L13: - r23 = 'values' - r24 = [decoded] - r25 = load_address r24 - r26 = PyObject_VectorcallMethod(r23, r25, 9223372036854775809, 0) - if is_error(r26) goto L24 (error at log_types:335) else goto L14 -L14: - r27 = :: int - r28 = self._log_list_types(r26, r27) - dec_ref r26 - if is_error(r28) goto L24 (error at log_types:335) else goto L15 -L15: - r29 = dank_mids.stats.collector :: static - if is_error(r29) goto L27 else goto L18 -L16: - r30 = raise NameError('value for final name "collector" was not set') - if not r30 goto L20 (error at log_types:336) else goto L17 :: bool -L17: - unreachable -L18: - r31 = r29.types - r32 = _PySet_Update(r31, r0) - dec_ref r31 - dec_ref r0 - r33 = r32 >= 0 :: signed - if not r33 goto L20 (error at log_types:336) else goto L19 :: bool -L19: - return 1 -L20: - r34 = :: None - return r34 -L21: - dec_ref r0 - goto L20 -L22: - dec_ref r5 - goto L5 -L23: - dec_ref r0 - dec_ref r5 - goto L20 -L24: - dec_ref r0 - goto L20 -L25: - dec_ref r0 - dec_ref r12 - goto L20 -L26: - dec_ref r0 - dec_ref r15 - dec_ref r16 - goto L20 -L27: - dec_ref r0 - goto L16 + dec_ref retval + goto L11 -def _StatsLogger._log_list_types(self, values, level): - self :: dank_mids.stats._StatsLogger - values :: object - level :: int - r0 :: set - r1, r2 :: object +def AttributeDict.__eq__(self, other): + self :: dank_mids.helpers.hashing.AttributeDict + other, r0 :: object + r1 :: ptr + r2 :: object r3 :: bit - r4 :: list - r5 :: native_int - r6 :: ptr + r4 :: int + r5 :: dank_mids.helpers.hashing.AttributeDict + r6 :: int r7 :: native_int - r8 :: bit - r9, r10 :: ptr - r11 :: native_int - r12 :: ptr - r13, r14 :: object + r8, r9 :: bit + r10 :: bool + r11 :: bit + r12 :: dict + r13 :: str + r14 :: object r15 :: i32 r16 :: bit - r17 :: native_int - r18 :: bit - r19 :: dank_mids.stats._Collector - r20 :: bool - r21 :: set - r22 :: i32 - r23 :: bit - r24 :: str - r25 :: object - r26 :: object[2] - r27 :: object_ptr - r28 :: object - r29 :: bool - r30, r31, r32 :: str - r33 :: tuple - r34 :: dict - r35, r36 :: None + r17 :: bool + r18, r19 :: dict + r20 :: object + r21, r22 :: bool L0: - if is_error(level) goto L1 else goto L25 + r0 = dank_mids.helpers.hashing.AttributeDict :: type + r1 = get_element_ptr other ob_type :: PyObject + r2 = borrow load_mem r1 :: builtins.object* + r3 = r2 == r0 + if r3 goto L1 else goto L8 :: bool L1: - level = 30 + r4 = CPyObject_Hash(self) + if is_error(r4) goto L17 (error at __eq__:63) else goto L2 L2: - r0 = PySet_New(0) - if is_error(r0) goto L26 (error at _log_list_types:353) else goto L3 + inc_ref other + r5 = cast(dank_mids.helpers.hashing.AttributeDict, other) + if is_error(r5) goto L18 (error at __eq__:63) else goto L3 L3: - r1 = PyObject_GetIter(values) - if is_error(r1) goto L27 (error at _log_list_types:353) else goto L4 + r6 = CPyObject_Hash(r5) + dec_ref r5 + if is_error(r6) goto L18 (error at __eq__:63) else goto L4 L4: - r2 = PyIter_Next(r1) - if is_error(r2) goto L28 else goto L5 + r7 = r4 & 1 + r8 = r7 != 0 + if r8 goto L5 else goto L6 :: bool L5: - r3 = PyList_Check(r2) - if r3 goto L6 else goto L29 :: bool + r9 = CPyTagged_IsEq_(r4, r6) + r10 = r9 + goto L7 L6: - r4 = cast(list, r2) - if is_error(r4) goto L30 (error at _log_list_types:353) else goto L7 + r11 = r4 == r6 + r10 = r11 L7: - r5 = 0 + dec_ref r4 :: int + dec_ref r6 :: int + return r10 L8: - r6 = get_element_ptr r4 ob_size :: PyVarObject - r7 = load_mem r6 :: native_int* - r8 = r5 < r7 :: signed - if r8 goto L9 else goto L31 :: bool + r12 = dank_mids.helpers.hashing.globals :: static + r13 = 'Mapping' + r14 = CPyDict_GetItem(r12, r13) + if is_error(r14) goto L17 (error at __eq__:64) else goto L9 L9: - r9 = get_element_ptr r4 ob_item :: PyListObject - r10 = load_mem r9 :: ptr* - r11 = r5 * 8 - r12 = r10 + r11 - r13 = load_mem r12 :: builtins.object* - r14 = CPy_TYPE(r13) - dec_ref r13 - r15 = PySet_Add(r0, r14) + r15 = PyObject_IsInstance(other, r14) dec_ref r14 r16 = r15 >= 0 :: signed - if not r16 goto L32 (error at _log_list_types:353) else goto L10 :: bool + if not r16 goto L17 (error at __eq__:64) else goto L10 :: bool L10: - r17 = r5 + 1 - r5 = r17 - goto L8 -L11: - r18 = CPy_NoErrOccurred() - if not r18 goto L27 (error at _log_list_types:353) else goto L12 :: bool -L12: - r19 = dank_mids.stats.collector :: static - if is_error(r19) goto L33 else goto L15 -L13: - r20 = raise NameError('value for final name "collector" was not set') - if not r20 goto L24 (error at _log_list_types:354) else goto L14 :: bool -L14: - unreachable -L15: - r21 = r19.types - r22 = _PySet_Update(r21, r0) - dec_ref r21 - r23 = r22 >= 0 :: signed - if not r23 goto L34 (error at _log_list_types:354) else goto L16 :: bool -L16: - r24 = 'isEnabledFor' - inc_ref level :: int - r25 = box(int, level) - r26 = [self, r25] - r27 = load_address r26 - r28 = PyObject_VectorcallMethod(r24, r27, 9223372036854775810, 0) - if is_error(r28) goto L35 (error at _log_list_types:355) else goto L17 -L17: - dec_ref r25 - r29 = unbox(bool, r28) - dec_ref r28 - if is_error(r29) goto L34 (error at _log_list_types:355) else goto L18 -L18: - if r29 goto L19 else goto L36 :: bool -L19: - r30 = 'list types: ' - r31 = PyObject_Str(r0) - dec_ref r0 - if is_error(r31) goto L26 (error at _log_list_types:356) else goto L20 -L20: - r32 = CPyStr_Build(2, r30, r31) - dec_ref r31 - if is_error(r32) goto L26 (error at _log_list_types:356) else goto L21 -L21: - r33 = :: tuple - r34 = PyDict_New() - if is_error(r34) goto L37 (error at _log_list_types:356) else goto L22 -L22: - r35 = self._log(level, r32, r33, r34) - dec_ref level :: int - dec_ref r32 - dec_ref r34 - if is_error(r35) goto L24 (error at _log_list_types:356) else goto L23 -L23: - return 1 -L24: - r36 = :: None - return r36 -L25: - inc_ref level :: int - goto L2 -L26: - dec_ref level :: int - goto L24 -L27: - dec_ref level :: int - dec_ref r0 - goto L24 -L28: - dec_ref r1 - goto L11 -L29: - dec_ref r2 - goto L4 -L30: - dec_ref level :: int - dec_ref r0 - dec_ref r1 - goto L24 -L31: - dec_ref r4 - goto L4 -L32: - dec_ref level :: int - dec_ref r0 - dec_ref r1 - dec_ref r4 - goto L24 -L33: - dec_ref level :: int - dec_ref r0 - goto L13 -L34: - dec_ref level :: int - dec_ref r0 - goto L24 -L35: - dec_ref level :: int - dec_ref r0 - dec_ref r25 - goto L24 -L36: - dec_ref level :: int - dec_ref r0 - goto L23 -L37: - dec_ref level :: int - dec_ref r32 - goto L24 + r17 = truncate r15: i32 to builtins.bool + if r17 goto L11 else goto L16 :: bool +L11: + r18 = self.__dict__ + if is_error(r18) goto L17 (error at __eq__:65) else goto L12 +L12: + r19 = CPyDict_FromAny(other) + if is_error(r19) goto L19 (error at __eq__:65) else goto L13 +L13: + r20 = PyObject_RichCompare(r18, r19, 2) + dec_ref r18 + dec_ref r19 + if is_error(r20) goto L17 (error at __eq__:65) else goto L14 +L14: + r21 = unbox(bool, r20) + dec_ref r20 + if is_error(r21) goto L17 (error at __eq__:65) else goto L15 +L15: + return r21 +L16: + return 0 +L17: + r22 = :: bool + return r22 +L18: + dec_ref r4 :: int + goto L17 +L19: + dec_ref r18 + goto L17 -def __mypyc_lambda__0___init____Collector_obj.__get__(__mypyc_self__, instance, owner): - __mypyc_self__, instance, owner, r0 :: object - r1 :: bit - r2, r3 :: object +def AttributeDict.__setattr__(self, attr, val): + self :: dank_mids.helpers.hashing.AttributeDict + attr :: str + val :: object + r0 :: str + r1 :: bool + r2 :: object + r3 :: str + r4, r5 :: object + r6 :: object[2] + r7 :: object_ptr + r8 :: object + r9 :: str + r10 :: object + r11 :: object[2] + r12 :: object_ptr + r13 :: object + r14 :: str + r15 :: object + r16 :: str + r17 :: object + r18 :: object[1] + r19 :: object_ptr + r20 :: object + r21 :: None L0: - r0 = load_address _Py_NoneStruct - r1 = instance == r0 - if r1 goto L1 else goto L2 :: bool + r0 = '__dict__' + r1 = CPyStr_Equal(attr, r0) + if r1 goto L1 else goto L5 :: bool L1: - inc_ref __mypyc_self__ - return __mypyc_self__ + r2 = builtins :: module + r3 = 'super' + r4 = CPyObject_GetAttr(r2, r3) + if is_error(r4) goto L9 (error at __setattr__:71) else goto L2 L2: - r2 = PyMethod_New(__mypyc_self__, instance) - if is_error(r2) goto L4 else goto L3 + r5 = dank_mids.helpers.hashing.AttributeDict :: type + r6 = [r5, self] + r7 = load_address r6 + r8 = PyObject_Vectorcall(r4, r7, 2, 0) + dec_ref r4 + if is_error(r8) goto L9 (error at __setattr__:71) else goto L3 L3: - return r2 + r9 = '__setattr__' + r10 = CPyObject_GetAttr(r8, r9) + dec_ref r8 + if is_error(r10) goto L9 (error at __setattr__:71) else goto L4 L4: - r3 = :: object - return r3 + r11 = [attr, val] + r12 = load_address r11 + r13 = PyObject_Vectorcall(r10, r12, 2, 0) + dec_ref r10 + if is_error(r13) goto L9 (error at __setattr__:71) else goto L10 +L5: + r14 = 'This data is immutable -- create a copy instead of modifying' + r15 = builtins :: module + r16 = 'TypeError' + r17 = CPyObject_GetAttr(r15, r16) + if is_error(r17) goto L9 (error at __setattr__:72) else goto L6 +L6: + r18 = [r14] + r19 = load_address r18 + r20 = PyObject_Vectorcall(r17, r19, 1, 0) + dec_ref r17 + if is_error(r20) goto L9 (error at __setattr__:72) else goto L7 +L7: + CPy_Raise(r20) + dec_ref r20 + if not 0 goto L9 (error at __setattr__:72) else goto L8 :: bool +L8: + unreachable +L9: + r21 = :: None + return r21 +L10: + dec_ref r13 + goto L5 -def __mypyc_lambda__0___init____Collector_obj.__call__(__mypyc_self__): - __mypyc_self__ :: dank_mids.stats.__mypyc_lambda__0___init____Collector_obj - r0 :: dank_mids.stats.__init____Collector_env - r1 :: dict +def AttributeDict.__delattr__(self, key): + self :: dank_mids.helpers.hashing.AttributeDict + key, r0 :: str + r1 :: object r2 :: str - r3, r4 :: object - r5 :: object[1] - r6 :: object_ptr - r7, r8, r9 :: object + r3 :: object + r4 :: object[1] + r5 :: object_ptr + r6 :: object + r7 :: None L0: - r0 = __mypyc_self__.__mypyc_env__ - if is_error(r0) goto L4 (error at :373) else goto L5 + r0 = 'This data is immutable -- create a copy instead of modifying' + r1 = builtins :: module + r2 = 'TypeError' + r3 = CPyObject_GetAttr(r1, r2) + if is_error(r3) goto L4 (error at __delattr__:75) else goto L1 L1: - r1 = dank_mids.stats.globals :: static - r2 = 'deque' - r3 = CPyDict_GetItem(r1, r2) - if is_error(r3) goto L4 (error at :373) else goto L2 -L2: - r4 = object 50000 - r5 = [r4] - r6 = load_address r5 - r7 = ('maxlen',) - r8 = PyObject_Vectorcall(r3, r6, 0, r7) + r4 = [r0] + r5 = load_address r4 + r6 = PyObject_Vectorcall(r3, r5, 1, 0) dec_ref r3 - if is_error(r8) goto L4 (error at :373) else goto L3 + if is_error(r6) goto L4 (error at __delattr__:75) else goto L2 +L2: + CPy_Raise(r6) + dec_ref r6 + if not 0 goto L4 (error at __delattr__:75) else goto L3 :: bool L3: - return r8 + unreachable L4: - r9 = :: object - return r9 -L5: - dec_ref r0 - goto L1 + r7 = :: None + return r7 -def __mypyc_lambda__1___init____Collector_obj.__get__(__mypyc_self__, instance, owner): - __mypyc_self__, instance, owner, r0 :: object - r1 :: bit - r2, r3 :: object +def AttributeDict.__getitem__(self, key): + self :: dank_mids.helpers.hashing.AttributeDict + key :: object + r0 :: dict + r1, r2 :: object L0: - r0 = load_address _Py_NoneStruct - r1 = instance == r0 - if r1 goto L1 else goto L2 :: bool + r0 = self.__dict__ + if is_error(r0) goto L3 (error at __getitem__:78) else goto L1 L1: - inc_ref __mypyc_self__ - return __mypyc_self__ + r1 = CPyDict_GetItem(r0, key) + dec_ref r0 + if is_error(r1) goto L3 (error at __getitem__:78) else goto L2 L2: - r2 = PyMethod_New(__mypyc_self__, instance) - if is_error(r2) goto L4 else goto L3 + return r1 L3: + r2 = :: object return r2 -L4: - r3 = :: object - return r3 -def __mypyc_lambda__1___init____Collector_obj.__call__(__mypyc_self__): - __mypyc_self__ :: dank_mids.stats.__mypyc_lambda__1___init____Collector_obj - r0 :: dank_mids.stats.__init____Collector_env - r1 :: dict - r2 :: str - r3, r4 :: object - r5 :: object[1] - r6 :: object_ptr - r7, r8, r9 :: object +def AttributeDict.__iter__(self): + self :: dank_mids.helpers.hashing.AttributeDict + r0 :: dict + r1, r2 :: object L0: - r0 = __mypyc_self__.__mypyc_env__ - if is_error(r0) goto L4 (error at :394) else goto L5 + r0 = self.__dict__ + if is_error(r0) goto L3 (error at __iter__:81) else goto L1 L1: - r1 = dank_mids.stats.globals :: static - r2 = 'deque' - r3 = CPyDict_GetItem(r1, r2) - if is_error(r3) goto L4 (error at :394) else goto L2 + r1 = PyObject_GetIter(r0) + dec_ref r0 + if is_error(r1) goto L3 (error at __iter__:81) else goto L2 L2: - r4 = object 100 - r5 = [r4] - r6 = load_address r5 - r7 = ('maxlen',) - r8 = PyObject_Vectorcall(r3, r6, 0, r7) - dec_ref r3 - if is_error(r8) goto L4 (error at :394) else goto L3 + return r1 L3: - return r8 -L4: - r9 = :: object - return r9 -L5: + r2 = :: object + return r2 + +def AttributeDict.__len__(self): + self :: dank_mids.helpers.hashing.AttributeDict + r0 :: dict + r1 :: native_int + r2 :: short_int + r3 :: int +L0: + r0 = self.__dict__ + if is_error(r0) goto L2 (error at __len__:84) else goto L1 +L1: + r1 = PyDict_Size(r0) dec_ref r0 - goto L1 + r2 = r1 << 1 + return r2 +L2: + r3 = :: int + return r3 -def _Collector.__init__(self): - self :: dank_mids.stats._Collector - r0 :: dank_mids.stats.__init____Collector_env - r1 :: dict - r2 :: str - r3, r4 :: object - r5 :: object[1] - r6 :: object_ptr - r7, r8 :: object - r9 :: dank_mids.stats.__mypyc_lambda__0___init____Collector_obj - r10 :: bool - r11 :: dict - r12 :: str - r13 :: object - r14 :: object[1] - r15 :: object_ptr - r16 :: object - r17 :: dict - r18 :: set - r19 :: dict - r20 :: str - r21, r22 :: object - r23 :: object[1] - r24 :: object_ptr - r25, r26 :: object - r27 :: dank_mids.stats.__mypyc_lambda__1___init____Collector_obj - r28 :: bool - r29 :: dict - r30 :: str - r31 :: object - r32 :: object[1] - r33 :: object_ptr - r34 :: object - r35 :: dict - r36 :: None +def AttributeDict.__repr__(self): + self :: dank_mids.helpers.hashing.AttributeDict + r0, r1 :: object + r2, r3, r4, r5 :: str + r6 :: dict + r7, r8 :: str + r9 :: object[3] + r10 :: object_ptr + r11 :: object + r12, r13 :: str + r14 :: list + r15, r16, r17, r18 :: ptr + r19, r20, r21 :: str L0: - r0 = __init____Collector_env() - if is_error(r0) goto L17 (error at __init__:366) else goto L1 + r0 = CPy_TYPE(self) + r1 = CPy_GetName(r0) + dec_ref r0 + if is_error(r1) goto L9 (error at __repr__:87) else goto L1 L1: - r1 = dank_mids.stats.globals :: static - r2 = 'deque' - r3 = CPyDict_GetItem(r1, r2) - if is_error(r3) goto L18 (error at __init__:367) else goto L2 + r2 = cast(str, r1) + if is_error(r2) goto L9 (error at __repr__:87) else goto L2 L2: - r4 = object 500 - r5 = [r4] - r6 = load_address r5 - r7 = ('maxlen',) - r8 = PyObject_Vectorcall(r3, r6, 0, r7) - dec_ref r3 - if is_error(r8) goto L18 (error at __init__:367) else goto L3 + r3 = '' + r4 = '(' + r5 = '{!r:{}}' + r6 = self.__dict__ + if is_error(r6) goto L10 (error at __repr__:87) else goto L3 L3: - self.errd_batches = r8 - r9 = __mypyc_lambda__0___init____Collector_obj() - if is_error(r9) goto L18 (error at __init__:373) else goto L4 + r7 = '' + r8 = 'format' + r9 = [r5, r6, r7] + r10 = load_address r9 + r11 = PyObject_VectorcallMethod(r8, r10, 9223372036854775811, 0) + if is_error(r11) goto L11 (error at __repr__:87) else goto L4 L4: - inc_ref r0 - r9.__mypyc_env__ = r0; r10 = is_error - if not r10 goto L19 (error at __init__:373) else goto L5 :: bool + dec_ref r6 + r12 = cast(str, r11) + if is_error(r12) goto L10 (error at __repr__:87) else goto L5 L5: - r11 = dank_mids.stats.globals :: static - r12 = 'defaultdict' - r13 = CPyDict_GetItem(r11, r12) - if is_error(r13) goto L19 (error at __init__:373) else goto L6 + r13 = ')' + r14 = PyList_New(3) + if is_error(r14) goto L12 (error at __repr__:87) else goto L6 L6: - r14 = [r9] - r15 = load_address r14 - r16 = PyObject_Vectorcall(r13, r15, 1, 0) - dec_ref r13 - if is_error(r16) goto L19 (error at __init__:373) else goto L7 + r15 = get_element_ptr r14 ob_item :: PyListObject + r16 = load_mem r15 :: ptr* + inc_ref r4 + set_mem r16, r4 :: builtins.object* + r17 = r16 + 8 + set_mem r17, r12 :: builtins.object* + inc_ref r13 + r18 = r16 + 16 + set_mem r18, r13 :: builtins.object* + r19 = PyUnicode_Join(r3, r14) + dec_ref r14 + if is_error(r19) goto L10 (error at __repr__:87) else goto L7 L7: - dec_ref r9 - r17 = cast(dict, r16) - if is_error(r17) goto L18 (error at __init__:373) else goto L8 + r20 = PyUnicode_Concat(r2, r19) + dec_ref r2 + dec_ref r19 + if is_error(r20) goto L9 (error at __repr__:87) else goto L8 L8: - self.durations = r17 - r18 = PySet_New(0) - if is_error(r18) goto L18 (error at __init__:380) else goto L9 + return r20 L9: - self.types = r18 - r19 = dank_mids.stats.globals :: static - r20 = 'deque' - r21 = CPyDict_GetItem(r19, r20) - if is_error(r21) goto L18 (error at __init__:386) else goto L10 + r21 = :: str + return r21 L10: - r22 = object 50000 - r23 = [r22] - r24 = load_address r23 - r25 = ('maxlen',) - r26 = PyObject_Vectorcall(r21, r24, 0, r25) - dec_ref r21 - if is_error(r26) goto L18 (error at __init__:386) else goto L11 + dec_ref r2 + goto L9 L11: - self.event_loop_times = r26 - r27 = __mypyc_lambda__1___init____Collector_obj() - if is_error(r27) goto L18 (error at __init__:394) else goto L12 + dec_ref r2 + dec_ref r6 + goto L9 L12: - r27.__mypyc_env__ = r0; r28 = is_error - if not r28 goto L20 (error at __init__:394) else goto L13 :: bool -L13: - r29 = dank_mids.stats.globals :: static - r30 = 'defaultdict' - r31 = CPyDict_GetItem(r29, r30) - if is_error(r31) goto L20 (error at __init__:394) else goto L14 -L14: - r32 = [r27] - r33 = load_address r32 - r34 = PyObject_Vectorcall(r31, r33, 1, 0) - dec_ref r31 - if is_error(r34) goto L20 (error at __init__:394) else goto L15 -L15: - dec_ref r27 - r35 = cast(dict, r34) - if is_error(r35) goto L17 (error at __init__:394) else goto L16 -L16: - self.validation_errors = r35 - return 1 -L17: - r36 = :: None - return r36 -L18: - dec_ref r0 - goto L17 -L19: - dec_ref r0 - dec_ref r9 - goto L17 -L20: - dec_ref r27 - goto L17 + dec_ref r2 + dec_ref r12 + goto L9 -def _Collector.avg_loop_time(self): - self, r0 :: dank_mids.stats._Collector - r1 :: bool - r2, r3 :: object - r4 :: str - r5 :: object - r6 :: object[1] +def AttributeDict._repr_pretty_(self, builder, cycle): + self :: dank_mids.helpers.hashing.AttributeDict + builder :: object + cycle :: bool + r0, r1 :: object + r2, r3, r4, r5 :: str + r6 :: object[2] r7 :: object_ptr r8 :: object - r9 :: union[float, int] - r10 :: dank_mids.stats._Collector - r11 :: bool - r12 :: object - r13 :: int - r14, r15 :: object - r16 :: float - r17 :: bit + r9, r10 :: str + r11 :: object[2] + r12 :: object_ptr + r13 :: object + r14 :: dict + r15 :: str + r16 :: object[2] + r17 :: object_ptr r18 :: object - r19 :: float + r19, r20 :: str + r21 :: object[2] + r22 :: object_ptr + r23 :: object + r24 :: None L0: - r0 = dank_mids.stats.collector :: static - if is_error(r0) goto L1 else goto L3 + r0 = CPy_TYPE(self) + r1 = CPy_GetName(r0) + dec_ref r0 + if is_error(r1) goto L11 (error at _repr_pretty_:94) else goto L1 L1: - r1 = raise NameError('value for final name "collector" was not set') - if not r1 goto L14 (error at avg_loop_time:413) else goto L2 :: bool + r2 = cast(str, r1) + if is_error(r2) goto L11 (error at _repr_pretty_:94) else goto L2 L2: - unreachable + r3 = '(' + r4 = PyUnicode_Concat(r2, r3) + dec_ref r2 + if is_error(r4) goto L11 (error at _repr_pretty_:94) else goto L3 L3: - r2 = r0.event_loop_times - r3 = builtins :: module - r4 = 'sum' - r5 = CPyObject_GetAttr(r3, r4) - if is_error(r5) goto L15 (error at avg_loop_time:413) else goto L4 -L4: - r6 = [r2] + r5 = 'text' + r6 = [builder, r4] r7 = load_address r6 - r8 = PyObject_Vectorcall(r5, r7, 1, 0) - dec_ref r5 - if is_error(r8) goto L15 (error at avg_loop_time:413) else goto L5 + r8 = PyObject_VectorcallMethod(r5, r7, 9223372036854775810, 0) + if is_error(r8) goto L12 (error at _repr_pretty_:94) else goto L13 +L4: + dec_ref r4 + if cycle goto L5 else goto L6 :: bool L5: - dec_ref r2 - r9 = cast(union[float, int], r8) - if is_error(r9) goto L14 (error at avg_loop_time:413) else goto L6 + r9 = '' + r10 = 'text' + r11 = [builder, r9] + r12 = load_address r11 + r13 = PyObject_VectorcallMethod(r10, r12, 9223372036854775810, 0) + if is_error(r13) goto L11 (error at _repr_pretty_:96) else goto L14 L6: - r10 = dank_mids.stats.collector :: static - if is_error(r10) goto L16 else goto L9 -L7: - r11 = raise NameError('value for final name "collector" was not set') - if not r11 goto L14 (error at avg_loop_time:413) else goto L8 :: bool + r14 = self.__dict__ + if is_error(r14) goto L11 (error at _repr_pretty_:98) else goto L7 +L7: + r15 = 'pretty' + r16 = [builder, r14] + r17 = load_address r16 + r18 = PyObject_VectorcallMethod(r15, r17, 9223372036854775810, 0) + if is_error(r18) goto L15 (error at _repr_pretty_:98) else goto L16 L8: - unreachable + dec_ref r14 L9: - r12 = r10.event_loop_times - r13 = CPyObject_Size(r12) - dec_ref r12 - if is_error(r13) goto L17 (error at avg_loop_time:413) else goto L10 + r19 = ')' + r20 = 'text' + r21 = [builder, r19] + r22 = load_address r21 + r23 = PyObject_VectorcallMethod(r20, r22, 9223372036854775810, 0) + if is_error(r23) goto L11 (error at _repr_pretty_:99) else goto L17 L10: - r14 = box(int, r13) - r15 = PyNumber_TrueDivide(r9, r14) - dec_ref r9 - dec_ref r14 - if is_error(r15) goto L14 (error at avg_loop_time:413) else goto L11 + return 1 L11: - r16 = unbox(float, r15) - dec_ref r15 - r17 = r16 == -113.0 - if r17 goto L13 else goto L12 :: bool + r24 = :: None + return r24 L12: - return r16 + dec_ref r4 + goto L11 L13: - r18 = PyErr_Occurred() - if not is_error(r18) goto L14 (error at avg_loop_time:413) else goto L12 + dec_ref r8 + goto L4 L14: - r19 = :: float - return r19 + dec_ref r13 + goto L9 L15: - dec_ref r2 - goto L14 + dec_ref r14 + goto L11 L16: - dec_ref r9 - goto L7 + dec_ref r18 + goto L8 L17: - dec_ref r9 - goto L14 + dec_ref r23 + goto L10 -def _Collector.count_active_brownie_calls(self): - self :: dank_mids.stats._Collector - r0 :: object - r1 :: bool - r2 :: str - r3, r4 :: object - r5 :: bool - r6 :: str - r7 :: object - r8 :: str - r9, r10 :: object - r11, r12 :: int +def AttributeDict.recursive(cls, value): + cls, value :: object + r0 :: bit + r1 :: tuple + r2 :: ptr + r3 :: native_int + r4 :: tuple + r5 :: ptr + r6, r7 :: native_int + r8 :: bit + r9, r10, r11 :: object + r12 :: native_int + r13 :: bit + r14 :: list + r15 :: ptr + r16 :: native_int + r17 :: list + r18 :: native_int + r19 :: ptr + r20 :: native_int + r21 :: bit + r22, r23 :: ptr + r24 :: native_int + r25 :: ptr + r26, r27, r28 :: object + r29 :: native_int + r30 :: dict + r31 :: str + r32 :: object + r33 :: i32 + r34 :: bit + r35 :: bool + r36 :: dict + r37 :: str + r38 :: object[1] + r39 :: object_ptr + r40, r41, r42 :: object + r43 :: tuple[object, object] + r44, r45, r46, r47 :: object + r48 :: i32 + r49, r50 :: bit + r51 :: tuple + r52 :: dict + r53 :: dank_mids.helpers.hashing.AttributeDict + r54 :: bit + r55, r56 :: set + r57, r58, r59, r60 :: object + r61 :: i32 + r62, r63 :: bit + r64 :: dict + r65 :: str + r66 :: object + r67 :: i32 + r68 :: bit + r69 :: bool + r70, r71 :: object + r72 :: tuple[object, object] + r73 :: object + r74 :: i32 + r75 :: bit + r76 :: bool + r77 :: object + r78 :: list + r79, r80, r81, r82 :: object + r83 :: i32 + r84, r85 :: bit + r86 :: object + r87 :: object[1] + r88 :: object_ptr + r89, r90 :: object L0: - r0 = dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_CALL_SEMAPHORE :: static - if is_error(r0) goto L1 else goto L3 + r0 = PyTuple_Check(value) + if r0 goto L1 else goto L9 :: bool L1: - r1 = raise NameError('value for final name "BROWNIE_CALL_SEMAPHORE" was not set') - if not r1 goto L12 (error at count_active_brownie_calls:426) else goto L2 :: bool + inc_ref value + r1 = cast(tuple, value) + if is_error(r1) goto L56 (error at recursive:108) else goto L2 L2: - unreachable + r2 = get_element_ptr r1 ob_size :: PyVarObject + r3 = load_mem r2 :: native_int* + r4 = PyTuple_New(r3) + if is_error(r4) goto L57 (error at recursive:108) else goto L3 L3: - r2 = 'default_value' - r3 = CPyObject_GetAttr(r0, r2) - if is_error(r3) goto L12 (error at count_active_brownie_calls:426) else goto L4 + r5 = get_element_ptr r1 ob_size :: PyVarObject + r6 = load_mem r5 :: native_int* + r7 = 0 L4: - r4 = dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_CALL_SEMAPHORE :: static - if is_error(r4) goto L13 else goto L7 + r8 = r7 < r6 :: signed + if r8 goto L5 else goto L58 :: bool L5: - r5 = raise NameError('value for final name "BROWNIE_CALL_SEMAPHORE" was not set') - if not r5 goto L12 (error at count_active_brownie_calls:426) else goto L6 :: bool + r9 = CPySequenceTuple_GetItemUnsafe(r1, r7) + r10 = dank_mids.helpers.hashing.AttributeDict :: type + r11 = AttributeDict.recursive(r10, r9) + dec_ref r9 + if is_error(r11) goto L59 (error at recursive:108) else goto L6 L6: - unreachable + CPySequenceTuple_SetItemUnsafe(r4, r7, r11) L7: - r6 = 'semaphore' - r7 = CPyObject_GetAttr(r4, r6) - if is_error(r7) goto L14 (error at count_active_brownie_calls:426) else goto L8 + r12 = r7 + 1 + r7 = r12 + goto L4 L8: - r8 = '_value' - r9 = CPyObject_GetAttr(r7, r8) - dec_ref r7 - if is_error(r9) goto L14 (error at count_active_brownie_calls:426) else goto L9 + return r4 L9: - r10 = PyNumber_Subtract(r3, r9) - dec_ref r3 - dec_ref r9 - if is_error(r10) goto L12 (error at count_active_brownie_calls:426) else goto L10 + r13 = PyList_Check(value) + if r13 goto L10 else goto L18 :: bool L10: - r11 = unbox(int, r10) - dec_ref r10 - if is_error(r11) goto L12 (error at count_active_brownie_calls:426) else goto L11 + inc_ref value + r14 = cast(list, value) + if is_error(r14) goto L56 (error at recursive:110) else goto L11 L11: - return r11 + r15 = get_element_ptr r14 ob_size :: PyVarObject + r16 = load_mem r15 :: native_int* + r17 = PyList_New(r16) + if is_error(r17) goto L60 (error at recursive:110) else goto L12 L12: - r12 = :: int - return r12 + r18 = 0 L13: - dec_ref r3 - goto L5 + r19 = get_element_ptr r14 ob_size :: PyVarObject + r20 = load_mem r19 :: native_int* + r21 = r18 < r20 :: signed + if r21 goto L14 else goto L61 :: bool L14: - dec_ref r3 - goto L12 - -def _Collector.count_queued_brownie_calls(self): - self :: dank_mids.stats._Collector - r0 :: object - r1 :: bool - r2 :: str - r3 :: object - r4 :: str - r5 :: object - r6, r7 :: int -L0: - r0 = dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_CALL_SEMAPHORE :: static - if is_error(r0) goto L1 else goto L3 -L1: - r1 = raise NameError('value for final name "BROWNIE_CALL_SEMAPHORE" was not set') - if not r1 goto L7 (error at count_queued_brownie_calls:439) else goto L2 :: bool -L2: - unreachable -L3: - r2 = 'semaphore' - r3 = CPyObject_GetAttr(r0, r2) - if is_error(r3) goto L7 (error at count_queued_brownie_calls:439) else goto L4 -L4: - r4 = '_waiters' - r5 = CPyObject_GetAttr(r3, r4) - dec_ref r3 - if is_error(r5) goto L7 (error at count_queued_brownie_calls:439) else goto L5 -L5: - r6 = CPyObject_Size(r5) - dec_ref r5 - if is_error(r6) goto L7 (error at count_queued_brownie_calls:439) else goto L6 -L6: - return r6 -L7: - r7 = :: int - return r7 + r22 = get_element_ptr r14 ob_item :: PyListObject + r23 = load_mem r22 :: ptr* + r24 = r18 * 8 + r25 = r23 + r24 + r26 = load_mem r25 :: builtins.object* + r27 = dank_mids.helpers.hashing.AttributeDict :: type + r28 = AttributeDict.recursive(r27, r26) + dec_ref r26 + if is_error(r28) goto L62 (error at recursive:110) else goto L15 +L15: + CPyList_SetItemUnsafe(r17, r18, r28) +L16: + r29 = r18 + 1 + r18 = r29 + goto L13 +L17: + return r17 +L18: + r30 = dank_mids.helpers.hashing.globals :: static + r31 = 'Mapping' + r32 = CPyDict_GetItem(r30, r31) + if is_error(r32) goto L56 (error at recursive:111) else goto L19 +L19: + r33 = PyObject_IsInstance(value, r32) + dec_ref r32 + r34 = r33 >= 0 :: signed + if not r34 goto L56 (error at recursive:111) else goto L20 :: bool +L20: + r35 = truncate r33: i32 to builtins.bool + if r35 goto L21 else goto L32 :: bool +L21: + r36 = PyDict_New() + if is_error(r36) goto L56 (error at recursive:112) else goto L22 +L22: + r37 = 'items' + r38 = [value] + r39 = load_address r38 + r40 = PyObject_VectorcallMethod(r37, r39, 9223372036854775809, 0) + if is_error(r40) goto L63 (error at recursive:112) else goto L23 +L23: + r41 = PyObject_GetIter(r40) + dec_ref r40 + if is_error(r41) goto L63 (error at recursive:112) else goto L24 +L24: + r42 = PyIter_Next(r41) + if is_error(r42) goto L64 else goto L25 +L25: + r43 = unbox(tuple[object, object], r42) + dec_ref r42 + if is_error(r43) goto L65 (error at recursive:112) else goto L26 +L26: + r44 = r43[0] + r45 = r43[1] + dec_ref r43 + r46 = dank_mids.helpers.hashing.AttributeDict :: type + r47 = AttributeDict.recursive(r46, r45) + dec_ref r45 + if is_error(r47) goto L66 (error at recursive:112) else goto L27 +L27: + r48 = PyDict_SetItem(r36, r44, r47) + dec_ref r44 + dec_ref r47 + r49 = r48 >= 0 :: signed + if not r49 goto L65 (error at recursive:112) else goto L24 :: bool +L28: + r50 = CPy_NoErrOccurred() + if not r50 goto L63 (error at recursive:112) else goto L29 :: bool +L29: + r51 = CPyTuple_LoadEmptyTupleConstant() + r52 = PyDict_New() + if is_error(r52) goto L67 (error at recursive:112) else goto L30 +L30: + r53 = AttributeDict(r36, r51, r52) + dec_ref r36 + dec_ref r51 + dec_ref r52 + if is_error(r53) goto L56 (error at recursive:112) else goto L31 +L31: + return r53 +L32: + r54 = PySet_Check(value) + if r54 goto L33 else goto L41 :: bool +L33: + r55 = PySet_New(0) + if is_error(r55) goto L56 (error at recursive:114) else goto L34 +L34: + inc_ref value + r56 = cast(set, value) + if is_error(r56) goto L68 (error at recursive:114) else goto L35 +L35: + r57 = PyObject_GetIter(r56) + dec_ref r56 + if is_error(r57) goto L68 (error at recursive:114) else goto L36 +L36: + r58 = PyIter_Next(r57) + if is_error(r58) goto L69 else goto L37 +L37: + r59 = dank_mids.helpers.hashing.AttributeDict :: type + r60 = AttributeDict.recursive(r59, r58) + dec_ref r58 + if is_error(r60) goto L70 (error at recursive:114) else goto L38 +L38: + r61 = PySet_Add(r55, r60) + dec_ref r60 + r62 = r61 >= 0 :: signed + if not r62 goto L70 (error at recursive:114) else goto L36 :: bool +L39: + r63 = CPy_NoErrOccurred() + if not r63 goto L68 (error at recursive:114) else goto L40 :: bool +L40: + return r55 +L41: + r64 = dank_mids.helpers.hashing.globals :: static + r65 = 'Sequence' + r66 = CPyDict_GetItem(r64, r65) + if is_error(r66) goto L56 (error at recursive:115) else goto L42 +L42: + r67 = PyObject_IsInstance(value, r66) + dec_ref r66 + r68 = r67 >= 0 :: signed + if not r68 goto L56 (error at recursive:115) else goto L43 :: bool +L43: + r69 = truncate r67: i32 to builtins.bool + if r69 goto L44 else goto L55 :: bool +L44: + r70 = load_address PyUnicode_Type + r71 = load_address PyBytes_Type + inc_ref r70 + inc_ref r71 + r72 = (r70, r71) + r73 = box(tuple[object, object], r72) + r74 = PyObject_IsInstance(value, r73) + dec_ref r73 + r75 = r74 >= 0 :: signed + if not r75 goto L56 (error at recursive:115) else goto L45 :: bool +L45: + r76 = truncate r74: i32 to builtins.bool + if r76 goto L55 else goto L46 :: bool +L46: + r77 = CPy_TYPE(value) + r78 = PyList_New(0) + if is_error(r78) goto L71 (error at recursive:116) else goto L47 +L47: + r79 = PyObject_GetIter(value) + if is_error(r79) goto L72 (error at recursive:116) else goto L48 +L48: + r80 = PyIter_Next(r79) + if is_error(r80) goto L73 else goto L49 +L49: + r81 = dank_mids.helpers.hashing.AttributeDict :: type + r82 = AttributeDict.recursive(r81, r80) + dec_ref r80 + if is_error(r82) goto L74 (error at recursive:116) else goto L50 +L50: + r83 = PyList_Append(r78, r82) + dec_ref r82 + r84 = r83 >= 0 :: signed + if not r84 goto L74 (error at recursive:116) else goto L48 :: bool +L51: + r85 = CPy_NoErrOccurred() + if not r85 goto L72 (error at recursive:116) else goto L52 :: bool +L52: + r86 = PyObject_GetIter(r78) + dec_ref r78 + if is_error(r86) goto L71 (error at recursive:116) else goto L53 +L53: + r87 = [r86] + r88 = load_address r87 + r89 = PyObject_Vectorcall(r77, r88, 1, 0) + dec_ref r77 + if is_error(r89) goto L75 (error at recursive:116) else goto L54 +L54: + dec_ref r86 + return r89 +L55: + inc_ref value + return value +L56: + r90 = :: object + return r90 +L57: + dec_ref r1 + goto L56 +L58: + dec_ref r1 + goto L8 +L59: + dec_ref r1 + dec_ref r4 + goto L56 +L60: + dec_ref r14 + goto L56 +L61: + dec_ref r14 + goto L17 +L62: + dec_ref r14 + dec_ref r17 + goto L56 +L63: + dec_ref r36 + goto L56 +L64: + dec_ref r41 + goto L28 +L65: + dec_ref r36 + dec_ref r41 + goto L56 +L66: + dec_ref r36 + dec_ref r41 + dec_ref r44 + goto L56 +L67: + dec_ref r36 + dec_ref r51 + goto L56 +L68: + dec_ref r55 + goto L56 +L69: + dec_ref r57 + goto L39 +L70: + dec_ref r55 + dec_ref r57 + goto L56 +L71: + dec_ref r77 + goto L56 +L72: + dec_ref r77 + dec_ref r78 + goto L56 +L73: + dec_ref r79 + goto L51 +L74: + dec_ref r77 + dec_ref r78 + dec_ref r79 + goto L56 +L75: + dec_ref r86 + goto L56 -def _Collector.encoder_queue_len(self): - self :: dank_mids.stats._Collector +def AttributeDict.keys(self): + self :: dank_mids.helpers.hashing.AttributeDict r0 :: dict - r1 :: str - r2 :: object - r3 :: str - r4 :: object - r5 :: str - r6 :: object - r7, r8 :: int + r1, r2 :: object L0: - r0 = dank_mids.stats.globals :: static - r1 = 'ENVS' - r2 = CPyDict_GetItem(r0, r1) - if is_error(r2) goto L5 (error at encoder_queue_len:452) else goto L1 + r0 = self.__dict__ + if is_error(r0) goto L3 (error at keys:120) else goto L1 L1: - r3 = 'BROWNIE_ENCODER_PROCESSES' - r4 = CPyObject_GetAttr(r2, r3) - dec_ref r2 - if is_error(r4) goto L5 (error at encoder_queue_len:452) else goto L2 + r1 = CPyDict_KeysView(r0) + dec_ref r0 + if is_error(r1) goto L3 (error at keys:120) else goto L2 L2: - r5 = '_queue_count' - r6 = CPyObject_GetAttr(r4, r5) - dec_ref r4 - if is_error(r6) goto L5 (error at encoder_queue_len:452) else goto L3 + return r1 L3: - r7 = unbox(int, r6) - dec_ref r6 - if is_error(r7) goto L5 (error at encoder_queue_len:452) else goto L4 -L4: - return r7 -L5: - r8 = :: int - return r8 + r2 = :: object + return r2 -def _Collector.decoder_queue_len(self): - self :: dank_mids.stats._Collector +def AttributeDict.values(self): + self :: dank_mids.helpers.hashing.AttributeDict r0 :: dict - r1 :: str - r2 :: object - r3 :: str - r4 :: object - r5 :: str - r6 :: object - r7, r8 :: int + r1, r2 :: object L0: - r0 = dank_mids.stats.globals :: static - r1 = 'ENVS' - r2 = CPyDict_GetItem(r0, r1) - if is_error(r2) goto L5 (error at decoder_queue_len:465) else goto L1 + r0 = self.__dict__ + if is_error(r0) goto L3 (error at values:123) else goto L1 L1: - r3 = 'BROWNIE_DECODER_PROCESSES' - r4 = CPyObject_GetAttr(r2, r3) - dec_ref r2 - if is_error(r4) goto L5 (error at decoder_queue_len:465) else goto L2 + r1 = CPyDict_ValuesView(r0) + dec_ref r0 + if is_error(r1) goto L3 (error at values:123) else goto L2 L2: - r5 = '_queue_count' - r6 = CPyObject_GetAttr(r4, r5) - dec_ref r4 - if is_error(r6) goto L5 (error at decoder_queue_len:465) else goto L3 + return r1 L3: - r7 = unbox(int, r6) - dec_ref r6 - if is_error(r7) goto L5 (error at decoder_queue_len:465) else goto L4 -L4: - return r7 -L5: - r8 = :: int - return r8 + r2 = :: object + return r2 -def _Collector.mcall_decoder_queue_len(self): - self :: dank_mids.stats._Collector +def AttributeDict.items(self): + self :: dank_mids.helpers.hashing.AttributeDict r0 :: dict - r1 :: str - r2 :: object - r3 :: str - r4 :: object - r5 :: str - r6 :: object - r7, r8 :: int + r1, r2 :: object L0: - r0 = dank_mids.stats.globals :: static - r1 = 'ENVS' - r2 = CPyDict_GetItem(r0, r1) - if is_error(r2) goto L5 (error at mcall_decoder_queue_len:478) else goto L1 + r0 = self.__dict__ + if is_error(r0) goto L3 (error at items:126) else goto L1 L1: - r3 = 'MULTICALL_DECODER_PROCESSES' - r4 = CPyObject_GetAttr(r2, r3) - dec_ref r2 - if is_error(r4) goto L5 (error at mcall_decoder_queue_len:478) else goto L2 + r1 = CPyDict_ItemsView(r0) + dec_ref r0 + if is_error(r1) goto L3 (error at items:126) else goto L2 L2: - r5 = '_queue_count' - r6 = CPyObject_GetAttr(r4, r5) - dec_ref r4 - if is_error(r6) goto L5 (error at mcall_decoder_queue_len:478) else goto L3 + return r1 L3: - r7 = unbox(int, r6) - dec_ref r6 - if is_error(r7) goto L5 (error at mcall_decoder_queue_len:478) else goto L4 -L4: - return r7 -L5: - r8 = :: int - return r8 + r2 = :: object + return r2 -def _Writer.event_loop(self): - self :: dank_mids.stats._Writer - r0 :: str - r1 :: dank_mids.stats._Collector - r2 :: bool - r3 :: float - r4 :: bit - r5 :: object - r6 :: str - r7 :: object - r8, r9 :: str +def AttributeDict.__ne__(__mypyc_self__, rhs): + __mypyc_self__, rhs :: dank_mids.helpers.hashing.AttributeDict + r0, r1, r2 :: bool L0: - r0 = 'Average event loop time: ' - r1 = dank_mids.stats.collector :: static - if is_error(r1) goto L1 else goto L3 + r0 = __mypyc_self__.__eq__(rhs) + if is_error(r0) goto L2 else goto L1 L1: - r2 = raise NameError('value for final name "collector" was not set') - if not r2 goto L8 (error at event_loop:498) else goto L2 :: bool + r1 = r0 ^ 1 + return r1 L2: - unreachable + r2 = :: bool + return r2 + +def tupleize_lists_nested(d): + d :: object + r0 :: dict + r1 :: str + r2 :: object[1] + r3 :: object_ptr + r4, r5, r6 :: object + r7 :: tuple[object, object] + r8, r9, r10, r11 :: object + r12 :: tuple[object, object] + r13 :: object + r14 :: i32 + r15 :: bit + r16 :: bool + r17 :: union[list, tuple] + r18 :: object + r19 :: i32 + r20, r21 :: bit + r22 :: dict + r23 :: str + r24 :: object + r25 :: i32 + r26 :: bit + r27 :: bool + r28 :: dank_mids.helpers.hashing.AttributeDict + r29 :: i32 + r30 :: bit + r31 :: dict + r32 :: str + r33 :: object + r34 :: i32 + r35 :: bit + r36 :: bool + r37, r38, r39 :: str + r40, r41 :: object + r42, r43 :: str + r44 :: object[3] + r45 :: object_ptr + r46 :: object + r47, r48, r49, r50 :: str + r51 :: object[3] + r52 :: object_ptr + r53 :: object + r54 :: list + r55, r56, r57, r58, r59 :: ptr + r60 :: str + r61 :: object + r62 :: str + r63 :: object + r64 :: object[1] + r65 :: object_ptr + r66 :: object + r67 :: i32 + r68, r69 :: bit + r70 :: tuple + r71 :: dict + r72, r73 :: dank_mids.helpers.hashing.AttributeDict +L0: + r0 = PyDict_New() + if is_error(r0) goto L33 (error at tupleize_lists_nested:136) else goto L1 +L1: + r1 = 'items' + r2 = [d] + r3 = load_address r2 + r4 = PyObject_VectorcallMethod(r1, r3, 9223372036854775809, 0) + if is_error(r4) goto L34 (error at tupleize_lists_nested:137) else goto L2 +L2: + r5 = PyObject_GetIter(r4) + dec_ref r4 + if is_error(r5) goto L34 (error at tupleize_lists_nested:137) else goto L3 L3: - r3 = r1.avg_loop_time - r4 = r3 == -113.0 - if r4 goto L5 else goto L4 :: bool + r6 = PyIter_Next(r5) + if is_error(r6) goto L35 else goto L4 L4: - r5 = box(float, r3) - r6 = PyObject_Str(r5) - dec_ref r5 - if is_error(r6) goto L8 (error at event_loop:498) else goto L6 + r7 = unbox(tuple[object, object], r6) + dec_ref r6 + if is_error(r7) goto L36 (error at tupleize_lists_nested:137) else goto L5 L5: - r7 = PyErr_Occurred() - if not is_error(r7) goto L8 (error at event_loop:498) else goto L4 + r8 = r7[0] + r9 = r7[1] + dec_ref r7 + r10 = load_address PyList_Type + r11 = load_address PyTuple_Type + inc_ref r10 + inc_ref r11 + r12 = (r10, r11) + r13 = box(tuple[object, object], r12) + r14 = PyObject_IsInstance(r9, r13) + dec_ref r13 + r15 = r14 >= 0 :: signed + if not r15 goto L37 (error at tupleize_lists_nested:138) else goto L6 :: bool L6: - r8 = CPyStr_Build(2, r0, r6) - dec_ref r6 - if is_error(r8) goto L8 (error at event_loop:498) else goto L7 + r16 = truncate r14: i32 to builtins.bool + if r16 goto L7 else goto L10 :: bool L7: - return r8 + r17 = cast(union[list, tuple], r9) + if is_error(r17) goto L38 (error at tupleize_lists_nested:139) else goto L8 L8: - r9 = :: str - return r9 + r18 = _to_tuple(r17) + dec_ref r17 + if is_error(r18) goto L38 (error at tupleize_lists_nested:139) else goto L9 +L9: + r19 = CPyDict_SetItem(r0, r8, r18) + dec_ref r8 + dec_ref r18 + r20 = r19 >= 0 :: signed + if not r20 goto L36 (error at tupleize_lists_nested:139) else goto L3 :: bool +L10: + r21 = PyDict_Check(r9) + if r21 goto L14 else goto L11 :: bool +L11: + r22 = dank_mids.helpers.hashing.globals :: static + r23 = 'Mapping' + r24 = CPyDict_GetItem(r22, r23) + if is_error(r24) goto L37 (error at tupleize_lists_nested:140) else goto L12 +L12: + r25 = PyObject_IsInstance(r9, r24) + dec_ref r24 + r26 = r25 >= 0 :: signed + if not r26 goto L37 (error at tupleize_lists_nested:140) else goto L13 :: bool +L13: + r27 = truncate r25: i32 to builtins.bool + if r27 goto L14 else goto L16 :: bool +L14: + r28 = tupleize_lists_nested(r9) + dec_ref r9 + if is_error(r28) goto L38 (error at tupleize_lists_nested:141) else goto L15 +L15: + r29 = CPyDict_SetItem(r0, r8, r28) + dec_ref r8 + dec_ref r28 + r30 = r29 >= 0 :: signed + if not r30 goto L36 (error at tupleize_lists_nested:141) else goto L3 :: bool +L16: + r31 = dank_mids.helpers.hashing.globals :: static + r32 = 'Hashable' + r33 = CPyDict_GetItem(r31, r32) + if is_error(r33) goto L37 (error at tupleize_lists_nested:142) else goto L17 +L17: + r34 = PyObject_IsInstance(r9, r33) + dec_ref r33 + r35 = r34 >= 0 :: signed + if not r35 goto L37 (error at tupleize_lists_nested:142) else goto L18 :: bool +L18: + r36 = truncate r34: i32 to builtins.bool + if r36 goto L28 else goto L39 :: bool +L19: + r37 = '' + r38 = "Found unhashable type '" + r39 = '{:{}}' + r40 = CPy_TYPE(r9) + r41 = CPy_GetName(r40) + dec_ref r40 + if is_error(r41) goto L40 (error at tupleize_lists_nested:143) else goto L20 +L20: + r42 = '' + r43 = 'format' + r44 = [r39, r41, r42] + r45 = load_address r44 + r46 = PyObject_VectorcallMethod(r43, r45, 9223372036854775811, 0) + if is_error(r46) goto L41 (error at tupleize_lists_nested:143) else goto L21 +L21: + dec_ref r41 + r47 = "': " + r48 = '{:{}}' + r49 = '' + r50 = 'format' + r51 = [r48, r9, r49] + r52 = load_address r51 + r53 = PyObject_VectorcallMethod(r50, r52, 9223372036854775811, 0) + if is_error(r53) goto L42 (error at tupleize_lists_nested:143) else goto L22 +L22: + dec_ref r9 + r54 = PyList_New(4) + if is_error(r54) goto L43 (error at tupleize_lists_nested:143) else goto L23 +L23: + r55 = get_element_ptr r54 ob_item :: PyListObject + r56 = load_mem r55 :: ptr* + inc_ref r38 + set_mem r56, r38 :: builtins.object* + r57 = r56 + 8 + set_mem r57, r46 :: builtins.object* + inc_ref r47 + r58 = r56 + 16 + set_mem r58, r47 :: builtins.object* + r59 = r56 + 24 + set_mem r59, r53 :: builtins.object* + r60 = PyUnicode_Join(r37, r54) + dec_ref r54 + if is_error(r60) goto L33 (error at tupleize_lists_nested:143) else goto L24 +L24: + r61 = builtins :: module + r62 = 'TypeError' + r63 = CPyObject_GetAttr(r61, r62) + if is_error(r63) goto L44 (error at tupleize_lists_nested:143) else goto L25 +L25: + r64 = [r60] + r65 = load_address r64 + r66 = PyObject_Vectorcall(r63, r65, 1, 0) + dec_ref r63 + if is_error(r66) goto L44 (error at tupleize_lists_nested:143) else goto L26 +L26: + dec_ref r60 + CPy_Raise(r66) + dec_ref r66 + if not 0 goto L33 (error at tupleize_lists_nested:143) else goto L27 :: bool +L27: + unreachable +L28: + r67 = CPyDict_SetItem(r0, r8, r9) + dec_ref r8 + dec_ref r9 + r68 = r67 >= 0 :: signed + if not r68 goto L36 (error at tupleize_lists_nested:145) else goto L3 :: bool +L29: + r69 = CPy_NoErrOccurred() + if not r69 goto L34 (error at tupleize_lists_nested:137) else goto L30 :: bool +L30: + r70 = CPyTuple_LoadEmptyTupleConstant() + r71 = PyDict_New() + if is_error(r71) goto L45 (error at tupleize_lists_nested:146) else goto L31 +L31: + r72 = AttributeDict(r0, r70, r71) + dec_ref r0 + dec_ref r70 + dec_ref r71 + if is_error(r72) goto L33 (error at tupleize_lists_nested:146) else goto L32 +L32: + return r72 +L33: + r73 = :: dank_mids.helpers.hashing.AttributeDict + return r73 +L34: + dec_ref r0 + goto L33 +L35: + dec_ref r5 + goto L29 +L36: + dec_ref r0 + dec_ref r5 + goto L33 +L37: + dec_ref r0 + dec_ref r5 + dec_ref r8 + dec_ref r9 + goto L33 +L38: + dec_ref r0 + dec_ref r5 + dec_ref r8 + goto L33 +L39: + dec_ref r0 + dec_ref r5 + dec_ref r8 + goto L19 +L40: + dec_ref r9 + goto L33 +L41: + dec_ref r9 + dec_ref r41 + goto L33 +L42: + dec_ref r9 + dec_ref r46 + goto L33 +L43: + dec_ref r46 + dec_ref r53 + goto L33 +L44: + dec_ref r60 + goto L33 +L45: + dec_ref r0 + dec_ref r70 + goto L33 -def _Writer.brownie(self): - self :: dank_mids.stats._Writer - r0 :: dank_mids.stats._Collector - r1 :: bool - r2 :: int - r3, r4 :: str - r5 :: dank_mids.stats._Collector - r6 :: bool - r7 :: int - r8, r9, r10, r11 :: str +def __mypyc_singledispatch_main_function__to_tuple__(value): + value :: union[list, tuple] + r0 :: list + r1, r2, r3, r4 :: object + r5 :: tuple[object, object] + r6 :: object + r7 :: i32 + r8 :: bit + r9 :: bool + r10 :: union[list, tuple] + r11, r12 :: object + r13 :: i32 + r14, r15 :: bit + r16 :: tuple + r17 :: object L0: - r0 = dank_mids.stats.collector :: static - if is_error(r0) goto L1 else goto L3 + r0 = PyList_New(0) + if is_error(r0) goto L13 (error at _to_tuple:151) else goto L1 L1: - r1 = raise NameError('value for final name "collector" was not set') - if not r1 goto L12 (error at brownie:510) else goto L2 :: bool + r1 = PyObject_GetIter(value) + if is_error(r1) goto L14 (error at _to_tuple:151) else goto L2 L2: - unreachable + r2 = PyIter_Next(r1) + if is_error(r2) goto L15 else goto L3 L3: - r2 = r0.count_active_brownie_calls - if is_error(r2) goto L12 (error at brownie:510) else goto L4 + r3 = load_address PyList_Type + r4 = load_address PyTuple_Type + inc_ref r3 + inc_ref r4 + r5 = (r3, r4) + r6 = box(tuple[object, object], r5) + r7 = PyObject_IsInstance(r2, r6) + dec_ref r6 + r8 = r7 >= 0 :: signed + if not r8 goto L16 (error at _to_tuple:151) else goto L4 :: bool L4: - r3 = CPyTagged_Str(r2) - dec_ref r2 :: int - if is_error(r3) goto L12 (error at brownie:510) else goto L5 + r9 = truncate r7: i32 to builtins.bool + if r9 goto L5 else goto L8 :: bool L5: - r4 = ' brownie calls are processing, ' - r5 = dank_mids.stats.collector :: static - if is_error(r5) goto L13 else goto L8 + r10 = cast(union[list, tuple], r2) + if is_error(r10) goto L17 (error at _to_tuple:151) else goto L6 L6: - r6 = raise NameError('value for final name "collector" was not set') - if not r6 goto L12 (error at brownie:510) else goto L7 :: bool + r11 = _to_tuple(r10) + dec_ref r10 + if is_error(r11) goto L17 (error at _to_tuple:151) else goto L7 L7: - unreachable + r12 = r11 + goto L9 L8: - r7 = r5.count_queued_brownie_calls - if is_error(r7) goto L14 (error at brownie:510) else goto L9 + r12 = r2 L9: - r8 = CPyTagged_Str(r7) - dec_ref r7 :: int - if is_error(r8) goto L14 (error at brownie:510) else goto L10 + r13 = PyList_Append(r0, r12) + dec_ref r12 + r14 = r13 >= 0 :: signed + if not r14 goto L17 (error at _to_tuple:151) else goto L2 :: bool L10: - r9 = ' are queued in None.' - r10 = CPyStr_Build(4, r3, r4, r8, r9) - dec_ref r3 - dec_ref r8 - if is_error(r10) goto L12 (error at brownie:510) else goto L11 + r15 = CPy_NoErrOccurred() + if not r15 goto L14 (error at _to_tuple:151) else goto L11 :: bool L11: - return r10 + r16 = PyList_AsTuple(r0) + dec_ref r0 + if is_error(r16) goto L13 (error at _to_tuple:151) else goto L12 L12: - r11 = :: str - return r11 + return r16 L13: - dec_ref r3 - goto L6 + r17 = :: object + return r17 L14: - dec_ref r3 - goto L12 + dec_ref r0 + goto L13 +L15: + dec_ref r1 + goto L10 +L16: + dec_ref r0 + dec_ref r1 + dec_ref r2 + goto L13 +L17: + dec_ref r0 + dec_ref r1 + goto L13 -def _Writer.queue(self, pool): - self :: dank_mids.stats._Writer - pool :: object - r0, r1, r2 :: str - r3 :: object - r4 :: int - r5, r6, r7, r8 :: str +def _to_tuple_obj.__init__(__mypyc_self__): + __mypyc_self__ :: dank_mids.helpers.hashing._to_tuple_obj + r0, r1 :: dict + r2 :: str + r3 :: i32 + r4 :: bit + r5 :: bool L0: - r0 = PyObject_Str(pool) - if is_error(r0) goto L6 (error at queue:525) else goto L1 + r0 = PyDict_New() + if is_error(r0) goto L4 else goto L1 L1: - r1 = ' has ' - r2 = '_queue_count' - r3 = CPyObject_GetAttr(pool, r2) - if is_error(r3) goto L7 (error at queue:525) else goto L2 + __mypyc_self__.registry = r0 + r1 = PyDict_New() + if is_error(r1) goto L4 else goto L2 L2: - r4 = unbox(int, r3) - dec_ref r3 - if is_error(r4) goto L7 (error at queue:525) else goto L3 + r2 = 'dispatch_cache' + r3 = PyObject_SetAttr(__mypyc_self__, r2, r1) + dec_ref r1 + r4 = r3 >= 0 :: signed + if not r4 goto L4 else goto L3 :: bool L3: - r5 = CPyTagged_Str(r4) - dec_ref r4 :: int - if is_error(r5) goto L7 (error at queue:525) else goto L4 + return 1 L4: - r6 = ' items in its queue' - r7 = CPyStr_Build(4, r0, r1, r5, r6) - dec_ref r0 - dec_ref r5 - if is_error(r7) goto L6 (error at queue:525) else goto L5 -L5: - return r7 -L6: - r8 = :: str - return r8 -L7: - dec_ref r0 - goto L6 + r5 = :: bool + return r5 -def _SentryExporter.push_measurements(self): - self :: dank_mids.stats._SentryExporter - r0 :: union[object, None] +def _to_tuple_obj.__call__(__mypyc_self__, value): + __mypyc_self__ :: dank_mids.helpers.hashing._to_tuple_obj + value :: union[list, tuple] + r0 :: ptr r1 :: object - r2 :: bit - r3 :: object - r4 :: i32 + r2 :: dict + r3, r4 :: object r5 :: bit - r6 :: bool - r7 :: union[object, None] - r8 :: dict - r9 :: str - r10 :: object - r11 :: object[1] + r6, r7 :: object + r8 :: str + r9 :: object + r10 :: dict + r11 :: object[2] r12 :: object_ptr r13 :: object - r14 :: union[object, None] - r15 :: object - r16 :: str - r17 :: object - r18 :: union[object, None] - r19 :: str - r20 :: object[2] - r21 :: object_ptr - r22 :: object - r23 :: dict - r24 :: short_int - r25 :: native_int + r14 :: i32 + r15 :: bit + r16 :: object + r17 :: ptr + r18 :: object + r19 :: bit + r20 :: int + r21 :: bit + r22 :: list + r23 :: object + r24 :: bit + r25 :: tuple r26 :: object - r27 :: tuple[bool, short_int, object, object] - r28 :: short_int - r29 :: bool - r30, r31 :: object - r32, r33 :: str - r34 :: dank_mids.stats._Collector - r35 :: bool - r36, attr, r37 :: object - r38 :: str - r39 :: object - r40 :: object[1] - r41 :: object_ptr - r42 :: object - r43 :: bool - r44 :: object - r45 :: dict - r46 :: object - r47 :: union[str, None] - r48 :: union[object, None] - r49 :: object[3] - r50 :: object_ptr - r51 :: object - r52, r53 :: bit - r54 :: None + r27 :: object[1] + r28 :: object_ptr + r29, r30 :: object L0: - r0 = self._exc - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L1 else goto L33 :: bool + r0 = get_element_ptr value ob_type :: PyObject + r1 = borrow load_mem r0 :: builtins.object* + r2 = __mypyc_self__.dispatch_cache + if is_error(r2) goto L21 (error at _to_tuple:150) else goto L1 L1: - r3 = cast(object, r0) - if is_error(r3) goto L32 (error at push_measurements:556) else goto L2 + r3 = CPyDict_GetWithNone(r2, r1) + if is_error(r3) goto L22 (error at _to_tuple:150) else goto L2 L2: - r4 = PyObject_IsTrue(r3) - dec_ref r3 - r5 = r4 >= 0 :: signed - if not r5 goto L32 (error at push_measurements:556) else goto L3 :: bool + r4 = load_address _Py_NoneStruct + r5 = r3 != r4 + if r5 goto L23 else goto L24 :: bool L3: - r6 = truncate r4: i32 to builtins.bool - if r6 goto L4 else goto L11 :: bool + r6 = r3 + goto L8 L4: - r7 = self._exc - r8 = dank_mids.stats.globals :: static - r9 = 'deepcopy' - r10 = CPyDict_GetItem(r8, r9) - if is_error(r10) goto L34 (error at push_measurements:557) else goto L5 + r7 = functools :: module + r8 = '_find_impl' + r9 = CPyObject_GetAttr(r7, r8) + if is_error(r9) goto L22 (error at _to_tuple:150) else goto L5 L5: - r11 = [r7] + r10 = __mypyc_self__.registry + r11 = [r1, r10] r12 = load_address r11 - r13 = PyObject_Vectorcall(r10, r12, 1, 0) - dec_ref r10 - if is_error(r13) goto L34 (error at push_measurements:557) else goto L6 + r13 = PyObject_Vectorcall(r9, r12, 2, 0) + dec_ref r9 + if is_error(r13) goto L25 (error at _to_tuple:150) else goto L6 L6: - dec_ref r7 - r14 = self._exc - r15 = r14 - r16 = '__traceback__' - r17 = CPyObject_GetAttr(r15, r16) - dec_ref r15 - if is_error(r17) goto L35 (error at push_measurements:557) else goto L7 + dec_ref r10 + r14 = PyDict_SetItem(r2, r1, r13) + dec_ref r2 + r15 = r14 >= 0 :: signed + if not r15 goto L26 (error at _to_tuple:150) else goto L7 :: bool L7: - r18 = r17 + r6 = r13 L8: - r19 = 'with_traceback' - r20 = [r13, r18] - r21 = load_address r20 - r22 = PyObject_VectorcallMethod(r19, r21, 9223372036854775810, 0) - if is_error(r22) goto L36 (error at push_measurements:557) else goto L9 + r16 = load_address PyLong_Type + r17 = get_element_ptr r6 ob_type :: PyObject + r18 = borrow load_mem r17 :: builtins.object* + r19 = r18 == r16 + if r19 goto L9 else goto L19 :: bool L9: - dec_ref r13 - dec_ref r18 - CPy_Raise(r22) - dec_ref r22 - if not 0 goto L32 (error at push_measurements:557) else goto L10 :: bool + r20 = unbox(int, r6) + dec_ref r6 + if is_error(r20) goto L21 (error at _to_tuple:150) else goto L10 L10: - unreachable + r21 = r20 == 0 + if r21 goto L27 else goto L14 :: bool L11: - r23 = self.metrics - r24 = 0 - r25 = PyDict_Size(r23) - r26 = CPyDict_GetItemsIter(r23) - if is_error(r26) goto L37 (error at push_measurements:558) else goto L12 + inc_ref value + r22 = cast(list, value) + if is_error(r22) goto L21 (error at _to_tuple:150) else goto L12 L12: - r27 = CPyDict_NextItem(r26, r24) - r28 = r27[1] - r24 = r28 - r29 = r27[0] - if r29 goto L13 else goto L38 :: bool + r23 = _(r22) + dec_ref r22 + if is_error(r23) goto L21 (error at _to_tuple:150) else goto L13 L13: - r30 = r27[2] - r31 = r27[3] - dec_ref r27 - r32 = cast(str, r30) - if is_error(r32) goto L39 (error at push_measurements:558) else goto L14 + return r23 L14: - r33 = cast(str, r31) - if is_error(r33) goto L40 (error at push_measurements:558) else goto L15 + r24 = r20 == 2 + dec_ref r20 :: int + if r24 goto L15 else goto L18 :: bool L15: - r34 = dank_mids.stats.collector :: static - if is_error(r34) goto L41 else goto L18 + inc_ref value + r25 = cast(tuple, value) + if is_error(r25) goto L21 (error at _to_tuple:150) else goto L16 L16: - r35 = raise NameError('value for final name "collector" was not set') - if not r35 goto L32 (error at push_measurements:559) else goto L17 :: bool + r26 = _(r25) + dec_ref r25 + if is_error(r26) goto L21 (error at _to_tuple:150) else goto L17 L17: - unreachable + return r26 L18: - r36 = CPyObject_GetAttr(r34, r33) - if is_error(r36) goto L42 (error at push_measurements:559) else goto L19 + unreachable L19: - attr = r36 - r37 = builtins :: module - r38 = 'callable' - r39 = CPyObject_GetAttr(r37, r38) - if is_error(r39) goto L43 (error at push_measurements:560) else goto L20 + r27 = [value] + r28 = load_address r27 + r29 = PyObject_Vectorcall(r6, r28, 1, 0) + dec_ref r6 + if is_error(r29) goto L21 (error at _to_tuple:150) else goto L20 L20: - r40 = [attr] - r41 = load_address r40 - r42 = PyObject_Vectorcall(r39, r41, 1, 0) - dec_ref r39 - if is_error(r42) goto L43 (error at push_measurements:560) else goto L21 + return r29 L21: - r43 = unbox(bool, r42) - dec_ref r42 - if is_error(r43) goto L43 (error at push_measurements:560) else goto L22 + r30 = :: object + return r30 L22: - if r43 goto L23 else goto L25 :: bool + dec_ref r2 + goto L21 L23: - r44 = PyObject_Vectorcall(attr, 0, 0, 0) - dec_ref attr - if is_error(r44) goto L42 (error at push_measurements:561) else goto L24 + dec_ref r2 + goto L3 L24: - attr = r44 + dec_ref r3 + goto L4 L25: - r45 = self.units - r46 = CPyDict_GetWithNone(r45, r33) - dec_ref r45 - dec_ref r33 - if is_error(r46) goto L44 (error at push_measurements:562) else goto L26 + dec_ref r2 + dec_ref r10 + goto L21 L26: - r47 = cast(union[str, None], r46) - if is_error(r47) goto L44 (error at push_measurements:562) else goto L27 + dec_ref r13 + goto L21 L27: - r48 = self.set_measurement - r49 = [r32, attr, r47] - r50 = load_address r49 - r51 = PyObject_Vectorcall(r48, r50, 3, 0) - dec_ref r48 - if is_error(r51) goto L45 (error at push_measurements:562) else goto L46 -L28: - dec_ref r32 - dec_ref attr - dec_ref r47 -L29: - r52 = CPyDict_CheckSize(r23, r25) - if not r52 goto L47 (error at push_measurements:558) else goto L12 :: bool -L30: - r53 = CPy_NoErrOccurred() - if not r53 goto L32 (error at push_measurements:558) else goto L31 :: bool -L31: - return 1 -L32: - r54 = :: None - return r54 -L33: - dec_ref r0 + dec_ref r20 :: int goto L11 -L34: - dec_ref r7 - goto L32 -L35: - dec_ref r13 - goto L32 -L36: - dec_ref r13 - dec_ref r18 - goto L32 -L37: - dec_ref r23 - goto L32 -L38: - dec_ref r23 - dec_ref r26 - dec_ref r27 - goto L30 -L39: - dec_ref r23 - dec_ref r26 - dec_ref r31 - goto L32 -L40: - dec_ref r23 - dec_ref r26 - dec_ref r32 - goto L32 -L41: - dec_ref r23 - dec_ref r26 - dec_ref r32 - dec_ref r33 - goto L16 -L42: - dec_ref r23 - dec_ref r26 - dec_ref r32 - dec_ref r33 - goto L32 -L43: - dec_ref r23 - dec_ref r26 - dec_ref r32 - dec_ref r33 - dec_ref attr - goto L32 -L44: - dec_ref r23 - dec_ref r26 - dec_ref r32 - dec_ref attr - goto L32 -L45: - dec_ref r23 - dec_ref r26 - dec_ref r32 - dec_ref attr - dec_ref r47 - goto L32 -L46: - dec_ref r51 - goto L28 -L47: - dec_ref r23 - dec_ref r26 - goto L32 -def _SentryExporter.push_envs(self): - self :: dank_mids.stats._SentryExporter - r0 :: object - r1 :: bool - r2 :: str - r3 :: object[1] - r4 :: object_ptr - r5, r6, r7, r8, r9 :: object - r10 :: bool - r11 :: object - r12 :: bool - r13 :: object - r14 :: bool - r15 :: union[object, None] - r16 :: object[2] - r17 :: object_ptr - r18 :: object - r19 :: tuple[object, object, object] - r20 :: object - r21 :: str - r22 :: object - r23 :: bit - r24 :: object - r25 :: dank_mids.stats._StatsLogger - r26 :: bool - r27, r28, r29, r30, r31, r32 :: str - r33, r34 :: object - r35, r36, r37, r38 :: str - r39 :: object[2] - r40 :: object_ptr - r41 :: object - r42 :: dank_mids.stats._StatsLogger - r43 :: bool - r44 :: str - r45 :: object - r46 :: object[3] - r47 :: object_ptr - r48, r49 :: object - r50, r51 :: bit - r52 :: None +def _to_tuple_obj.__get__(__mypyc_self__, instance, owner): + __mypyc_self__, instance, owner, r0 :: object + r1 :: bit + r2, r3 :: object L0: - r0 = dank_mids.stats._ENVS :: 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 "_ENVS" was not set') - if not r1 goto L42 (error at push_envs:573) else goto L2 :: bool + 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 _to_tuple_obj.register(__mypyc_self__, cls, func): + __mypyc_self__ :: dank_mids.helpers.hashing._to_tuple_obj + cls, func, r0, r1 :: object +L0: + r0 = CPySingledispatch_RegisterFunction(__mypyc_self__, cls, func) + if is_error(r0) goto L2 else goto L1 +L1: + return r0 +L2: + r1 = :: object + return r1 + +def _to_tuple(value): + value :: union[list, tuple] + r0 :: dict + r1 :: str + r2, r3, r4 :: object +L0: + r0 = dank_mids.helpers.hashing.globals :: static + r1 = '_to_tuple' + r2 = CPyDict_GetItem(r0, r1) + if is_error(r2) goto L3 else goto L1 +L1: + r3 = _to_tuple_obj.__call__(r2, value) + dec_ref r2 + if is_error(r3) goto L3 else goto L2 +L2: + return r3 +L3: + r4 = :: object + return r4 + +def _(value): + value :: list + r0 :: ptr + r1 :: native_int + r2 :: tuple + r3 :: native_int + r4 :: ptr + r5 :: native_int + r6 :: bit + r7, r8 :: ptr + r9 :: native_int + r10 :: ptr + r11, r12, r13 :: object + r14 :: tuple[object, object] + r15 :: object + r16 :: i32 + r17 :: bit + r18 :: bool + r19 :: union[list, tuple] + r20, r21 :: object + r22 :: native_int + r23 :: object +L0: + r0 = get_element_ptr value ob_size :: PyVarObject + r1 = load_mem r0 :: native_int* + r2 = PyTuple_New(r1) + if is_error(r2) goto L12 (error at _:156) else goto L1 +L1: + r3 = 0 L2: - unreachable + r4 = get_element_ptr value ob_size :: PyVarObject + r5 = load_mem r4 :: native_int* + r6 = r3 < r5 :: signed + if r6 goto L3 else goto L11 :: bool L3: - r2 = 'items' - r3 = [r0] - r4 = load_address r3 - r5 = PyObject_VectorcallMethod(r2, r4, 9223372036854775809, 0) - if is_error(r5) goto L42 (error at push_envs:573) else goto L4 + r7 = get_element_ptr value ob_item :: PyListObject + r8 = load_mem r7 :: ptr* + r9 = r3 * 8 + r10 = r8 + r9 + r11 = load_mem r10 :: builtins.object* + r12 = load_address PyList_Type + r13 = load_address PyTuple_Type + inc_ref r12 + inc_ref r13 + r14 = (r12, r13) + r15 = box(tuple[object, object], r14) + r16 = PyObject_IsInstance(r11, r15) + dec_ref r15 + r17 = r16 >= 0 :: signed + if not r17 goto L13 (error at _:156) else goto L4 :: bool L4: - r6 = PyObject_GetIter(r5) - dec_ref r5 - if is_error(r6) goto L42 (error at push_envs:573) else goto L5 + r18 = truncate r16: i32 to builtins.bool + if r18 goto L5 else goto L8 :: bool L5: - r7 = PyIter_Next(r6) - if is_error(r7) goto L43 else goto L6 + r19 = cast(union[list, tuple], r11) + if is_error(r19) goto L14 (error at _:156) else goto L6 L6: - r8 = PyObject_GetIter(r7) - dec_ref r7 - if is_error(r8) goto L44 (error at push_envs:573) else goto L7 + r20 = _to_tuple(r19) + dec_ref r19 + if is_error(r20) goto L14 (error at _:156) else goto L7 L7: - r9 = PyIter_Next(r8) - if is_error(r9) goto L45 else goto L10 + r21 = r20 + goto L9 L8: - r10 = raise ValueError('not enough values to unpack') - if not r10 goto L42 (error at push_envs:573) else goto L9 :: bool + r21 = r11 L9: - unreachable + CPySequenceTuple_SetItemUnsafe(r2, r3, r21) L10: - r11 = PyIter_Next(r8) - if is_error(r11) goto L46 else goto L13 + r22 = r3 + 1 + r3 = r22 + goto L2 L11: - r12 = raise ValueError('not enough values to unpack') - if not r12 goto L42 (error at push_envs:573) else goto L12 :: bool + return r2 L12: - unreachable + r23 = :: object + return r23 L13: - r13 = PyIter_Next(r8) - dec_ref r8 - if is_error(r13) goto L16 else goto L47 -L14: - r14 = raise ValueError('too many values to unpack') - if not r14 goto L42 (error at push_envs:573) else goto L15 :: bool -L15: - unreachable -L16: - r15 = self.set_tag - r16 = [r9, r11] - r17 = load_address r16 - r18 = PyObject_Vectorcall(r15, r17, 2, 0) - dec_ref r15 - if is_error(r18) goto L18 (error at push_envs:575) else goto L48 -L17: - dec_ref r9 - dec_ref r11 - goto L5 -L18: - r19 = CPy_CatchError() - r20 = builtins :: module - r21 = 'Exception' - r22 = CPyObject_GetAttr(r20, r21) - if is_error(r22) goto L49 (error at push_envs:576) else goto L19 -L19: - r23 = CPy_ExceptionMatches(r22) - dec_ref r22 - if r23 goto L20 else goto L50 :: bool -L20: - r24 = CPy_GetExcValue() - r25 = dank_mids.stats.logger :: static - if is_error(r25) goto L51 else goto L23 -L21: - r26 = raise NameError('value for final name "logger" was not set') - if not r26 goto L38 (error at push_envs:577) else goto L52 :: bool -L22: - unreachable -L23: - r27 = 'Unable to set sentry tag ' - r28 = PyObject_Str(r9) - dec_ref r9 - if is_error(r28) goto L53 (error at push_envs:578) else goto L24 -L24: - r29 = ' to ' - r30 = PyObject_Str(r11) - dec_ref r11 - if is_error(r30) goto L54 (error at push_envs:578) else goto L25 -L25: - r31 = '. See ' - r32 = '__class__' - r33 = CPyObject_GetAttr(r24, r32) - if is_error(r33) goto L55 (error at push_envs:578) else goto L26 -L26: - r34 = CPy_GetName(r33) - dec_ref r33 - if is_error(r34) goto L55 (error at push_envs:578) else goto L27 -L27: - r35 = cast(str, r34) - if is_error(r35) goto L55 (error at push_envs:578) else goto L28 -L28: - r36 = ' below:' - r37 = CPyStr_Build(7, r27, r28, r29, r30, r31, r35, r36) - dec_ref r28 - dec_ref r30 - dec_ref r35 - if is_error(r37) goto L56 (error at push_envs:578) else goto L29 -L29: - r38 = 'warning' - r39 = [r25, r37] - r40 = load_address r39 - r41 = PyObject_VectorcallMethod(r38, r40, 9223372036854775810, 0) - if is_error(r41) goto L57 (error at push_envs:577) else goto L58 -L30: - dec_ref r37 - r42 = dank_mids.stats.logger :: static - if is_error(r42) goto L59 else goto L33 -L31: - r43 = raise NameError('value for final name "logger" was not set') - if not r43 goto L38 (error at push_envs:580) else goto L60 :: bool -L32: - unreachable -L33: - r44 = 'info' - r45 = box(bool, 1) - r46 = [r42, r24, r45] - r47 = load_address r46 - r48 = ('exc_info',) - r49 = PyObject_VectorcallMethod(r44, r47, 9223372036854775810, r48) - if is_error(r49) goto L56 (error at push_envs:580) else goto L61 -L34: - dec_ref r24 - goto L37 -L35: - CPy_Reraise() - if not 0 goto L38 else goto L62 :: bool -L36: - unreachable -L37: - CPy_RestoreExcInfo(r19) - dec_ref r19 - goto L5 -L38: - CPy_RestoreExcInfo(r19) - dec_ref r19 - r50 = CPy_KeepPropagating() - if not r50 goto L42 else goto L39 :: bool -L39: - unreachable -L40: - r51 = CPy_NoErrOccurred() - if not r51 goto L42 (error at push_envs:573) else goto L41 :: bool -L41: - return 1 -L42: - r52 = :: None - return r52 -L43: - dec_ref r6 - goto L40 -L44: - dec_ref r6 - goto L42 -L45: - dec_ref r6 - dec_ref r8 - goto L8 -L46: - dec_ref r6 - dec_ref r8 - dec_ref r9 - goto L11 -L47: - dec_ref r6 - dec_ref r9 - dec_ref r11 - dec_ref r13 - goto L14 -L48: - dec_ref r18 - goto L17 -L49: - dec_ref r6 - dec_ref r9 - dec_ref r11 - goto L38 -L50: - dec_ref r6 - dec_ref r9 - dec_ref r11 - goto L35 -L51: - dec_ref r6 - dec_ref r9 - dec_ref r11 - dec_ref r24 - goto L21 -L52: - dec_ref r19 - goto L22 -L53: - dec_ref r6 + dec_ref r2 dec_ref r11 - dec_ref r24 - goto L38 -L54: - dec_ref r6 - dec_ref r24 - dec_ref r28 - goto L38 -L55: - dec_ref r6 - dec_ref r24 - dec_ref r28 - dec_ref r30 - goto L38 -L56: - dec_ref r6 - dec_ref r24 - goto L38 -L57: - dec_ref r6 - dec_ref r24 - dec_ref r37 - goto L38 -L58: - dec_ref r41 - goto L30 -L59: - dec_ref r6 - dec_ref r24 - goto L31 -L60: - dec_ref r19 - goto L32 -L61: - dec_ref r49 - goto L34 -L62: - dec_ref r19 - goto L36 + goto L12 +L14: + dec_ref r2 + goto L12 -def _SentryExporter.__mypyc_defaults_setup(__mypyc_self__): - __mypyc_self__ :: dank_mids.stats._SentryExporter - r0, r1, r2, r3, r4, r5, r6, r7, r8, r9 :: str - r10 :: dict - r11, r12 :: str - r13, r14 :: dict - r15 :: str - r16 :: object - r17 :: str - r18 :: object - r19 :: dict - r20 :: str - r21 :: object - r22 :: str - r23 :: object - r24 :: dict - r25 :: str - r26 :: object - r27 :: str - r28 :: object - r29 :: bool +def _(value): + value :: tuple + r0 :: ptr + r1 :: native_int + r2 :: tuple + r3 :: ptr + r4, r5 :: native_int + r6 :: bit + r7, r8, r9 :: object + r10 :: tuple[object, object] + r11 :: object + r12 :: i32 + r13 :: bit + r14 :: bool + r15 :: union[list, tuple] + r16, r17 :: object + r18 :: native_int + r19 :: object L0: - r0 = 'active_eth_calls' - r1 = 'count_active_brownie_calls' - r2 = 'queued_eth_calls' - r3 = 'count_queued_brownie_calls' - r4 = 'encoder_queue' - r5 = 'encoder_queue_len' - r6 = 'decoder_queue' - r7 = 'decoder_queue_len' - r8 = 'loop_time' - r9 = 'avg_loop_time' - r10 = CPyDict_Build(5, r0, r1, r2, r3, r4, r5, r6, r7, r8, r9) - if is_error(r10) goto L9 else goto L1 + r0 = get_element_ptr value ob_size :: PyVarObject + r1 = load_mem r0 :: native_int* + r2 = PyTuple_New(r1) + if is_error(r2) goto L12 (error at _:161) else goto L1 L1: - __mypyc_self__.metrics = r10 - r11 = 'loop_time' - r12 = 'seconds' - r13 = CPyDict_Build(1, r11, r12) - if is_error(r13) goto L9 else goto L2 + r3 = get_element_ptr value ob_size :: PyVarObject + r4 = load_mem r3 :: native_int* + r5 = 0 L2: - __mypyc_self__.units = r13 - r14 = dank_mids.stats.globals :: static - r15 = '_nocompile' - r16 = CPyDict_GetItem(r14, r15) - if is_error(r16) goto L9 else goto L3 + r6 = r5 < r4 :: signed + if r6 goto L3 else goto L11 :: bool L3: - r17 = 'set_tag' - r18 = CPyObject_GetAttr(r16, r17) - dec_ref r16 - if is_error(r18) goto L9 else goto L4 + r7 = CPySequenceTuple_GetItemUnsafe(value, r5) + r8 = load_address PyList_Type + r9 = load_address PyTuple_Type + inc_ref r8 + inc_ref r9 + r10 = (r8, r9) + r11 = box(tuple[object, object], r10) + r12 = PyObject_IsInstance(r7, r11) + dec_ref r11 + r13 = r12 >= 0 :: signed + if not r13 goto L13 (error at _:161) else goto L4 :: bool L4: - __mypyc_self__.set_tag = r18 - r19 = dank_mids.stats.globals :: static - r20 = '_nocompile' - r21 = CPyDict_GetItem(r19, r20) - if is_error(r21) goto L9 else goto L5 + r14 = truncate r12: i32 to builtins.bool + if r14 goto L5 else goto L8 :: bool L5: - r22 = 'set_measurement' - r23 = CPyObject_GetAttr(r21, r22) - dec_ref r21 - if is_error(r23) goto L9 else goto L6 + r15 = cast(union[list, tuple], r7) + if is_error(r15) goto L14 (error at _:161) else goto L6 L6: - __mypyc_self__.set_measurement = r23 - r24 = dank_mids.stats.globals :: static - r25 = '_nocompile' - r26 = CPyDict_GetItem(r24, r25) - if is_error(r26) goto L9 else goto L7 + r16 = _to_tuple(r15) + dec_ref r15 + if is_error(r16) goto L14 (error at _:161) else goto L7 L7: - r27 = 'exc' - r28 = CPyObject_GetAttr(r26, r27) - dec_ref r26 - if is_error(r28) goto L9 else goto L8 + r17 = r16 + goto L9 L8: - __mypyc_self__._exc = r28 - return 1 + r17 = r7 L9: - r29 = :: bool - return r29 + CPySequenceTuple_SetItemUnsafe(r2, r5, r17) +L10: + r18 = r5 + 1 + r5 = r18 + goto L2 +L11: + return r2 +L12: + r19 = :: object + return r19 +L13: + dec_ref r2 + dec_ref r7 + goto L12 +L14: + dec_ref r2 + goto L12 def __top_level__(): r0, r1 :: object @@ -32065,223 +29670,105 @@ def __top_level__(): r18, r19 :: object r20 :: str r21 :: dict - r22, r23 :: object - r24 :: str - r25 :: dict - r26, r27 :: object + r22 :: object + r23 :: str + r24 :: dict + r25 :: str + r26 :: object + r27 :: dict r28 :: str - r29 :: dict - r30, r31 :: object - r32 :: str - r33 :: dict - r34, r35 :: object - r36 :: str - r37 :: dict - r38 :: object - r39 :: object_ptr - r40 :: object_ptr[1] - r41 :: c_ptr - r42 :: native_int[1] - r43 :: c_ptr + r29 :: object + r30 :: object[2] + r31 :: object_ptr + r32, r33 :: object + r34 :: dict + r35 :: str + r36 :: i32 + r37 :: bit + r38 :: str + r39 :: dict + r40 :: str + r41 :: object + r42 :: object[1] + r43 :: object_ptr r44 :: object r45 :: dict - r46, r47 :: str + r46 :: str + r47 :: i32 r48 :: bit - r49 :: object + r49 :: dict r50 :: str - r51 :: dict - r52, r53 :: object - r54 :: str + r51 :: object + r52 :: dict + r53 :: str + r54 :: object r55 :: dict - r56, r57 :: object - r58 :: str - r59 :: dict - r60, r61, r62 :: object - r63 :: str - r64 :: dict - r65, r66 :: object - r67 :: str - r68 :: dict - r69, r70 :: object - r71 :: dict - r72 :: str - r73 :: i32 - r74 :: bit - r75 :: str + r56 :: str + r57 :: object + r58 :: tuple[object, object] + r59, r60 :: object + r61 :: dict + r62 :: str + r63 :: object + r64 :: tuple + r65 :: str + r66, r67 :: object + r68 :: bool + r69, r70, r71, r72 :: str + r73 :: tuple + r74 :: i32 + r75 :: bit r76 :: dict r77 :: str - r78 :: object - r79 :: object[1] - r80 :: object_ptr - r81 :: object - r82 :: dict - r83 :: str - r84 :: i32 - r85 :: bit - r86 :: dict - r87 :: str - r88 :: object - r89 :: i32 - r90 :: bit - r91 :: dict - r92 :: str - r93 :: object - r94 :: i32 - r95 :: bit - r96 :: dict - r97 :: str + r78 :: i32 + r79 :: bit + r80 :: dank_mids.helpers.hashing._to_tuple_obj + _to_tuple :: object + r81 :: dict + r82 :: str + r83 :: i32 + r84 :: bit + r85 :: dict + r86 :: str + r87, r88 :: object + r89 :: str + r90 :: object + r91, r92 :: dict + r93 :: str + r94 :: object + r95 :: str + r96 :: i32 + r97 :: bit r98 :: object - r99 :: i32 - r100 :: bit - r101 :: dict + r99 :: dict + r100 :: str + r101 :: object r102 :: str - r103 :: object - r104 :: dict - r105 :: str + r103, r104 :: object + r105 :: dict r106 :: i32 r107 :: bit - r108 :: dict - r109 :: str - r110 :: object - r111 :: dict - r112 :: str - r113 :: i32 - r114 :: bit - r115 :: object + r108 :: str + r109 :: object + r110 :: str + r111 :: object[1] + r112 :: object_ptr + r113, r114 :: object + r115 :: dict r116 :: str r117 :: object - r118 :: tuple - r119 :: str - r120, r121 :: object - r122 :: bool - r123, r124, r125 :: str - r126 :: tuple - r127 :: i32 - r128 :: bit - r129 :: dict - r130 :: str - r131 :: i32 - r132 :: bit - r133 :: dict - r134 :: str - r135, r136, r137 :: object - r138 :: dict - r139 :: str - r140 :: i32 - r141 :: bit - r142 :: object - r143 :: str - r144, r145 :: object - r146 :: bool - r147, r148, r149, r150, r151, r152 :: str - r153 :: tuple - r154 :: i32 - r155 :: bit - r156 :: dict - r157 :: str - r158 :: i32 - r159 :: bit - r160 :: object - r161 :: str - r162, r163 :: object - r164 :: bool - r165 :: str - r166 :: tuple - r167 :: i32 - r168 :: bit - r169 :: dict - r170 :: str - r171 :: i32 - r172 :: bit - r173 :: object - r174 :: str - r175, r176 :: object - r177 :: bool - r178, r179, r180, r181, r182, r183 :: str - r184 :: tuple - r185 :: i32 - r186 :: bit - r187 :: dict - r188 :: str - r189 :: i32 - r190 :: bit - r191 :: object - r192, r193, r194, r195, r196, r197, r198, r199, r200, r201 :: str - r202 :: dict - r203 :: str - r204 :: i32 - r205 :: bit - r206 :: object - r207, r208 :: str - r209 :: dict - r210 :: str - r211 :: i32 - r212 :: bit - r213 :: object - r214 :: dict - r215 :: str - r216 :: object - r217 :: str - r218 :: object - r219 :: str - r220 :: i32 - r221 :: bit - r222 :: object - r223 :: dict - r224 :: str - r225 :: object - r226 :: str - r227 :: object - r228 :: str - r229 :: i32 - r230 :: bit - r231 :: object - r232 :: dict - r233 :: str - r234 :: object - r235 :: str - r236 :: object - r237 :: str - r238 :: i32 - r239 :: bit - r240 :: dict - r241 :: str - r242 :: object - r243 :: str - r244 :: tuple - r245 :: dict - r246 :: dank_mids.stats._StatsLogger - r247 :: dict - r248 :: str - r249 :: i32 - r250 :: bit - r251 :: dank_mids.stats._StatsLogger - r252 :: bool - r253 :: str - r254 :: object - r255 :: dict - r256 :: str - r257 :: i32 - r258 :: bit - r259 :: dank_mids.stats._StatsLogger - r260 :: bool - r261 :: str - r262 :: object - r263 :: dict - r264 :: str - r265 :: i32 - r266 :: bit - r267 :: dank_mids.stats._Collector - r268 :: dict - r269 :: str - r270 :: i32 - r271 :: bit - r272 :: dank_mids.stats._SentryExporter - r273 :: dict - r274 :: str - r275 :: i32 - r276 :: bit - r277 :: None + r118 :: str + r119, r120 :: object + r121 :: dict + r122 :: i32 + r123 :: bit + r124 :: str + r125 :: object + r126 :: str + r127 :: object[1] + r128 :: object_ptr + r129 :: object + r130 :: None L0: r0 = builtins :: module r1 = load_address _Py_NoneStruct @@ -32290,2789 +29777,3055 @@ L0: L1: r3 = 'builtins' r4 = PyImport_Import(r3) - if is_error(r4) goto L86 (error at :-1) else goto L2 + if is_error(r4) goto L44 (error at :-1) else goto L2 L2: builtins = r4 :: module dec_ref r4 L3: - r5 = load_address logging :: module + r5 = load_address functools :: module r6 = [r5] r7 = load_address r6 - r8 = [19] + r8 = [1] r9 = load_address r8 - r10 = (('logging', 'logging', 'logging'),) - r11 = dank_mids.stats.globals :: static - r12 = 'dank_mids\\stats\\__init__.py' + r10 = (('functools', 'functools', 'functools'),) + r11 = dank_mids.helpers.hashing.globals :: static + r12 = 'dank_mids\\helpers\\hashing.py' r13 = '' r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) - if not r14 goto L86 else goto L4 :: bool + if not r14 goto L44 else goto L4 :: bool L4: - r15 = ('create_task',) - r16 = 'asyncio' - r17 = dank_mids.stats.globals :: static + r15 = ('Hashable',) + r16 = 'collections.abc' + r17 = dank_mids.helpers.hashing.globals :: static r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) - if is_error(r18) goto L86 (error at :20) else goto L5 + if is_error(r18) goto L44 (error at :2) else goto L5 L5: - asyncio = r18 :: module + collections.abc = r18 :: module dec_ref r18 - r19 = ('defaultdict', 'deque') - r20 = 'collections' - r21 = dank_mids.stats.globals :: static + r19 = ('Any', 'Dict', 'Final', 'ItemsView', 'Iterator', 'KeysView', 'List', 'Mapping', 'Optional', 'Sequence', 'Tuple', 'TypeVar', 'Union', 'ValuesView', 'final') + r20 = 'typing' + r21 = dank_mids.helpers.hashing.globals :: static r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) - if is_error(r22) goto L86 (error at :21) else goto L6 + if is_error(r22) goto L44 (error at :3) else goto L6 L6: - collections = r22 :: module + typing = r22 :: module dec_ref r22 - r23 = ('ProcessPoolExecutor',) - r24 = 'concurrent.futures' - r25 = dank_mids.stats.globals :: static - r26 = CPyImport_ImportFromMany(r24, r23, r23, r25) - if is_error(r26) goto L86 (error at :22) else goto L7 + r23 = 'TKey' + r24 = dank_mids.helpers.hashing.globals :: static + r25 = 'Hashable' + r26 = CPyDict_GetItem(r24, r25) + if is_error(r26) goto L44 (error at :22) else goto L7 L7: - concurrent.futures = r26 :: module - dec_ref r26 - r27 = ('deepcopy',) - r28 = 'copy' - r29 = dank_mids.stats.globals :: static - r30 = CPyImport_ImportFromMany(r28, r27, r27, r29) - if is_error(r30) goto L86 (error at :23) else goto L8 + r27 = dank_mids.helpers.hashing.globals :: static + r28 = 'TypeVar' + r29 = CPyDict_GetItem(r27, r28) + if is_error(r29) goto L45 (error at :22) else goto L8 L8: - copy = r30 :: module - dec_ref r30 - r31 = ('time',) - r32 = 'time' - r33 = dank_mids.stats.globals :: static - r34 = CPyImport_ImportFromMany(r32, r31, r31, r33) - if is_error(r34) goto L86 (error at :24) else goto L9 + r30 = [r23, r26] + r31 = load_address r30 + r32 = ('bound',) + r33 = PyObject_Vectorcall(r29, r31, 1, r32) + dec_ref r29 + if is_error(r33) goto L45 (error at :22) else goto L9 L9: - time = r34 :: module - dec_ref r34 - r35 = ('TYPE_CHECKING', 'Any', 'Callable', 'DefaultDict', 'Deque', 'Final', 'Iterable', 'Set', 'Tuple', 'Type', 'TypeVar', 'final') - r36 = 'typing' - r37 = dank_mids.stats.globals :: static - r38 = CPyImport_ImportFromMany(r36, r35, r35, r37) - if is_error(r38) goto L86 (error at :25) else goto L10 + dec_ref r26 + r34 = dank_mids.helpers.hashing.globals :: static + r35 = 'TKey' + r36 = CPyDict_SetItem(r34, r35, r33) + dec_ref r33 + r37 = r36 >= 0 :: signed + if not r37 goto L44 (error at :22) else goto L10 :: bool L10: - typing = r38 :: module - dec_ref r38 - r39 = load_address msgspec :: module - r40 = [r39] - r41 = load_address r40 - r42 = [40] - r43 = load_address r42 - r44 = (('msgspec', 'msgspec', 'msgspec'),) - r45 = dank_mids.stats.globals :: static - r46 = 'dank_mids\\stats\\__init__.py' - r47 = '' - r48 = CPyImport_ImportMany(r44, r41, r45, r46, r47, r43) - if not r48 goto L86 else goto L11 :: bool + r38 = 'TValue' + r39 = dank_mids.helpers.hashing.globals :: static + r40 = 'TypeVar' + r41 = CPyDict_GetItem(r39, r40) + if is_error(r41) goto L44 (error at :23) else goto L11 L11: - r49 = ('sleep0',) - r50 = 'a_sync.asyncio' - r51 = dank_mids.stats.globals :: static - r52 = CPyImport_ImportFromMany(r50, r49, r49, r51) - if is_error(r52) goto L86 (error at :41) else goto L12 + r42 = [r38] + r43 = load_address r42 + r44 = PyObject_Vectorcall(r41, r43, 1, 0) + dec_ref r41 + if is_error(r44) goto L44 (error at :23) else goto L12 L12: - a_sync.asyncio = r52 :: module - dec_ref r52 - r53 = ('_ENVIRONMENT_VARIABLES_SET_BY_USER',) - r54 = 'typed_envs.registry' - r55 = dank_mids.stats.globals :: static - r56 = CPyImport_ImportFromMany(r54, r53, r53, r55) - if is_error(r56) goto L86 (error at :42) else goto L13 + r45 = dank_mids.helpers.hashing.globals :: static + r46 = 'TValue' + r47 = CPyDict_SetItem(r45, r46, r44) + dec_ref r44 + r48 = r47 >= 0 :: signed + if not r48 goto L44 (error at :23) else goto L13 :: bool L13: - typed_envs.registry = r56 :: module - dec_ref r56 - r57 = ('RPCEndpoint',) - r58 = 'web3.types' - r59 = dank_mids.stats.globals :: static - r60 = CPyImport_ImportFromMany(r58, r57, r57, r59) - if is_error(r60) goto L86 (error at :43) else goto L14 + r49 = dank_mids.helpers.hashing.globals :: static + r50 = 'Mapping' + r51 = CPyDict_GetItem(r49, r50) + if is_error(r51) goto L44 (error at :44) else goto L14 L14: - web3.types = r60 :: module - dec_ref r60 - r61 = ('ENVIRONMENT_VARIABLES',) - r62 = ('ENVS',) - r63 = 'dank_mids' - r64 = dank_mids.stats.globals :: static - r65 = CPyImport_ImportFromMany(r63, r61, r62, r64) - if is_error(r65) goto L86 (error at :45) else goto L15 + r52 = dank_mids.helpers.hashing.globals :: static + r53 = 'TKey' + r54 = CPyDict_GetItem(r52, r53) + if is_error(r54) goto L46 (error at :44) else goto L15 L15: - dank_mids = r65 :: module - dec_ref r65 - r66 = ('_nocompile',) - r67 = 'dank_mids.stats' - r68 = dank_mids.stats.globals :: static - r69 = CPyImport_ImportFromMany(r67, r66, r66, r68) - if is_error(r69) goto L86 (error at :46) else goto L16 + r55 = dank_mids.helpers.hashing.globals :: static + r56 = 'TValue' + r57 = CPyDict_GetItem(r55, r56) + if is_error(r57) goto L47 (error at :44) else goto L16 L16: - dank_mids.stats = r69 :: module - dec_ref r69 - if 0 goto L17 else goto L17 :: bool + r58 = (r54, r57) + r59 = box(tuple[object, object], r58) + r60 = PyObject_GetItem(r51, r59) + dec_ref r51 + dec_ref r59 + if is_error(r60) goto L44 (error at :44) else goto L17 L17: - r70 = load_address PyLong_Type - r71 = dank_mids.stats.globals :: static - r72 = '_LogLevel' - r73 = CPyDict_SetItem(r71, r72, r70) - r74 = r73 >= 0 :: signed - if not r74 goto L86 (error at :52) else goto L18 :: bool + r61 = dank_mids.helpers.hashing.globals :: static + r62 = 'Hashable' + r63 = CPyDict_GetItem(r61, r62) + if is_error(r63) goto L48 (error at :44) else goto L18 L18: - r75 = 'T' - r76 = dank_mids.stats.globals :: static - r77 = 'TypeVar' - r78 = CPyDict_GetItem(r76, r77) - if is_error(r78) goto L86 (error at :54) else goto L19 + r64 = PyTuple_Pack(2, r60, r63) + dec_ref r60 + dec_ref r63 + if is_error(r64) goto L44 (error at :44) else goto L19 L19: - r79 = [r75] - r80 = load_address r79 - r81 = PyObject_Vectorcall(r78, r80, 1, 0) - dec_ref r78 - if is_error(r81) goto L86 (error at :54) else goto L20 + r65 = 'dank_mids.helpers.hashing' + r66 = dank_mids.helpers.hashing.AttributeDict_template :: type + r67 = CPyType_FromTemplate(r66, r64, r65) + dec_ref r64 + if is_error(r67) goto L44 (error at :44) else goto L20 L20: - r82 = dank_mids.stats.globals :: static - r83 = 'T' - r84 = CPyDict_SetItem(r82, r83, r81) - dec_ref r81 - r85 = r84 >= 0 :: signed - if not r85 goto L86 (error at :54) else goto L21 :: bool + r68 = AttributeDict_trait_vtable_setup() + if is_error(r68) goto L49 (error at :-1) else goto L21 L21: - r86 = dank_mids.stats.globals :: static - r87 = 'STATS' - r88 = object 13 - r89 = CPyDict_SetItem(r86, r87, r88) - r90 = r89 >= 0 :: signed - if not r90 goto L86 (error at :58) else goto L22 :: bool + r69 = '__mypyc_attrs__' + r70 = '__dict__' + r71 = '__hash' + r72 = '__dict__' + r73 = PyTuple_Pack(3, r70, r71, r72) + if is_error(r73) goto L49 (error at :44) else goto L22 L22: - r91 = dank_mids.stats.globals :: static - r92 = 'DEVHINT' - r93 = object 15 - r94 = CPyDict_SetItem(r91, r92, r93) - r95 = r94 >= 0 :: signed - if not r95 goto L86 (error at :61) else goto L23 :: bool + r74 = PyObject_SetAttr(r67, r69, r73) + dec_ref r73 + r75 = r74 >= 0 :: signed + if not r75 goto L49 (error at :44) else goto L23 :: bool L23: - r96 = dank_mids.stats.globals :: static - r97 = 'COLLECT_STATS' - r98 = box(bool, 0) - r99 = CPyDict_SetItem(r96, r97, r98) - r100 = r99 >= 0 :: signed - if not r100 goto L86 (error at :64) else goto L24 :: bool + dank_mids.helpers.hashing.AttributeDict = r67 :: type + r76 = dank_mids.helpers.hashing.globals :: static + r77 = 'AttributeDict' + r78 = PyDict_SetItem(r76, r77, r67) + dec_ref r67 + r79 = r78 >= 0 :: signed + if not r79 goto L44 (error at :44) else goto L24 :: bool L24: - r101 = dank_mids.stats.globals :: static - r102 = '_ENVIRONMENT_VARIABLES_SET_BY_USER' - r103 = CPyDict_GetItem(r101, r102) - if is_error(r103) goto L86 (error at :67) else goto L25 + r80 = _to_tuple_obj() + if is_error(r80) goto L44 (error at :150) else goto L25 L25: - dank_mids.stats._ENVS = r103 :: static - r104 = dank_mids.stats.globals :: static - r105 = '_ENVS' - r106 = CPyDict_SetItem(r104, r105, r103) - dec_ref r103 - r107 = r106 >= 0 :: signed - if not r107 goto L86 (error at :67) else goto L26 :: bool + inc_ref r80 + _to_tuple = r80 + dec_ref _to_tuple + r81 = dank_mids.helpers.hashing.globals :: static + r82 = '_to_tuple' + r83 = PyDict_SetItem(r81, r82, r80) + dec_ref r80 + r84 = r83 >= 0 :: signed + if not r84 goto L44 (error at :150) else goto L26 :: bool L26: - r108 = dank_mids.stats.globals :: static - r109 = 'sleep0' - r110 = CPyDict_GetItem(r108, r109) - if is_error(r110) goto L86 (error at :69) else goto L27 + r85 = dank_mids.helpers.hashing.globals :: static + r86 = '__mypyc_singledispatch_main_function__to_tuple__' + r87 = CPyDict_GetItem(r85, r86) + if is_error(r87) goto L44 (error at :150) else goto L27 L27: - dank_mids.stats.yield_to_loop = r110 :: static - r111 = dank_mids.stats.globals :: static - r112 = 'yield_to_loop' - r113 = CPyDict_SetItem(r111, r112, r110) - dec_ref r110 - r114 = r113 >= 0 :: signed - if not r114 goto L86 (error at :69) else goto L28 :: bool + r88 = builtins :: module + r89 = 'object' + r90 = CPyObject_GetAttr(r88, r89) + if is_error(r90) goto L50 (error at :150) else goto L28 L28: - r115 = logging :: module - r116 = 'Logger' - r117 = CPyObject_GetAttr(r115, r116) - if is_error(r117) goto L86 (error at :110) else goto L29 + r91 = CPyDict_Build(1, r90, r87) + dec_ref r90 + dec_ref r87 + if is_error(r91) goto L44 (error at :150) else goto L29 L29: - r118 = PyTuple_Pack(1, r117) - dec_ref r117 - if is_error(r118) goto L86 (error at :110) else goto L30 + r92 = dank_mids.helpers.hashing.globals :: static + r93 = '_to_tuple' + r94 = CPyDict_GetItem(r92, r93) + if is_error(r94) goto L51 (error at :150) else goto L30 L30: - r119 = 'dank_mids.stats' - r120 = dank_mids.stats._StatsLogger_template :: type - r121 = CPyType_FromTemplate(r120, r118, r119) - dec_ref r118 - if is_error(r121) goto L86 (error at :110) else goto L31 + r95 = 'registry' + r96 = PyObject_SetAttr(r94, r95, r91) + dec_ref r94 + dec_ref r91 + r97 = r96 >= 0 :: signed + if not r97 goto L44 (error at :150) else goto L31 :: bool L31: - r122 = _StatsLogger_trait_vtable_setup() - if is_error(r122) goto L87 (error at :-1) else goto L32 + r98 = object 0 + r99 = dank_mids.helpers.hashing.globals :: static + r100 = '_to_tuple' + r101 = CPyDict_GetItem(r99, r100) + if is_error(r101) goto L44 (error at :155) else goto L32 L32: - r123 = '__mypyc_attrs__' - r124 = '_daemon' - r125 = '__dict__' - r126 = PyTuple_Pack(2, r124, r125) - if is_error(r126) goto L87 (error at :110) else goto L33 + r102 = 'registry' + r103 = CPyObject_GetAttr(r101, r102) + if is_error(r103) goto L52 (error at :155) else goto L33 L33: - r127 = PyObject_SetAttr(r121, r123, r126) - dec_ref r126 - r128 = r127 >= 0 :: signed - if not r128 goto L87 (error at :110) else goto L34 :: bool + r104 = load_address PyList_Type + r105 = cast(dict, r103) + if is_error(r105) goto L52 (error at :155) else goto L34 L34: - dank_mids.stats._StatsLogger = r121 :: type - r129 = dank_mids.stats.globals :: static - r130 = '_StatsLogger' - r131 = PyDict_SetItem(r129, r130, r121) - dec_ref r121 - r132 = r131 >= 0 :: signed - if not r132 goto L86 (error at :110) else goto L35 :: bool + r106 = PyDict_SetItem(r105, r104, r98) + dec_ref r105 + r107 = r106 >= 0 :: signed + if not r107 goto L52 (error at :155) else goto L35 :: bool L35: - r133 = dank_mids.stats.globals :: static - r134 = 'Deque' - r135 = CPyDict_GetItem(r133, r134) - if is_error(r135) goto L86 (error at :359) else goto L36 + r108 = 'dispatch_cache' + r109 = CPyObject_GetAttr(r101, r108) + dec_ref r101 + if is_error(r109) goto L44 (error at :155) else goto L36 L36: - r136 = load_address PyFloat_Type - r137 = PyObject_GetItem(r135, r136) - dec_ref r135 - if is_error(r137) goto L86 (error at :359) else goto L37 + r110 = 'clear' + r111 = [r109] + r112 = load_address r111 + r113 = PyObject_VectorcallMethod(r110, r112, 9223372036854775809, 0) + if is_error(r113) goto L53 (error at :155) else goto L54 L37: - r138 = dank_mids.stats.globals :: static - r139 = '_Times' - r140 = CPyDict_SetItem(r138, r139, r137) - dec_ref r137 - r141 = r140 >= 0 :: signed - if not r141 goto L86 (error at :359) else goto L38 :: bool + dec_ref r109 + r114 = object 1 + r115 = dank_mids.helpers.hashing.globals :: static + r116 = '_to_tuple' + r117 = CPyDict_GetItem(r115, r116) + if is_error(r117) goto L44 (error at :160) else goto L38 L38: - r142 = :: object - r143 = 'dank_mids.stats' - r144 = dank_mids.stats._Collector_template :: type - r145 = CPyType_FromTemplate(r144, r142, r143) - if is_error(r145) goto L86 (error at :363) else goto L39 + r118 = 'registry' + r119 = CPyObject_GetAttr(r117, r118) + if is_error(r119) goto L55 (error at :160) else goto L39 L39: - r146 = _Collector_trait_vtable_setup() - if is_error(r146) goto L88 (error at :-1) else goto L40 + r120 = load_address PyTuple_Type + r121 = cast(dict, r119) + if is_error(r121) goto L55 (error at :160) else goto L40 L40: - r147 = '__mypyc_attrs__' - r148 = 'errd_batches' - r149 = 'durations' - r150 = 'types' - r151 = 'event_loop_times' - r152 = 'validation_errors' - r153 = PyTuple_Pack(5, r148, r149, r150, r151, r152) - if is_error(r153) goto L88 (error at :363) else goto L41 + r122 = PyDict_SetItem(r121, r120, r114) + dec_ref r121 + r123 = r122 >= 0 :: signed + if not r123 goto L55 (error at :160) else goto L41 :: bool L41: - r154 = PyObject_SetAttr(r145, r147, r153) - dec_ref r153 - r155 = r154 >= 0 :: signed - if not r155 goto L88 (error at :363) else goto L42 :: bool + r124 = 'dispatch_cache' + r125 = CPyObject_GetAttr(r117, r124) + dec_ref r117 + if is_error(r125) goto L44 (error at :160) else goto L42 L42: - dank_mids.stats._Collector = r145 :: type - r156 = dank_mids.stats.globals :: static - r157 = '_Collector' - r158 = PyDict_SetItem(r156, r157, r145) - dec_ref r145 - r159 = r158 >= 0 :: signed - if not r159 goto L86 (error at :363) else goto L43 :: bool + r126 = 'clear' + r127 = [r125] + r128 = load_address r127 + r129 = PyObject_VectorcallMethod(r126, r128, 9223372036854775809, 0) + if is_error(r129) goto L56 (error at :160) else goto L57 L43: - r160 = :: object - r161 = 'dank_mids.stats' - r162 = dank_mids.stats._Writer_template :: type - r163 = CPyType_FromTemplate(r162, r160, r161) - if is_error(r163) goto L86 (error at :482) else goto L44 + dec_ref r125 + return 1 L44: - r164 = _Writer_trait_vtable_setup() - if is_error(r164) goto L89 (error at :-1) else goto L45 + r130 = :: None + return r130 L45: - r165 = '__mypyc_attrs__' - r166 = CPyTuple_LoadEmptyTupleConstant() - r167 = PyObject_SetAttr(r163, r165, r166) - dec_ref r166 - r168 = r167 >= 0 :: signed - if not r168 goto L89 (error at :482) else goto L46 :: bool + dec_ref r26 + goto L44 L46: - dank_mids.stats._Writer = r163 :: type - r169 = dank_mids.stats.globals :: static - r170 = '_Writer' - r171 = PyDict_SetItem(r169, r170, r163) - dec_ref r163 - r172 = r171 >= 0 :: signed - if not r172 goto L86 (error at :482) else goto L47 :: bool + dec_ref r51 + goto L44 L47: - r173 = :: object - r174 = 'dank_mids.stats' - r175 = dank_mids.stats._SentryExporter_template :: type - r176 = CPyType_FromTemplate(r175, r173, r174) - if is_error(r176) goto L86 (error at :529) else goto L48 + dec_ref r51 + dec_ref r54 + goto L44 L48: - r177 = _SentryExporter_trait_vtable_setup() - if is_error(r177) goto L90 (error at :-1) else goto L49 + dec_ref r60 + goto L44 L49: - r178 = '__mypyc_attrs__' - r179 = 'metrics' - r180 = 'units' - r181 = 'set_tag' - r182 = 'set_measurement' - r183 = '_exc' - r184 = PyTuple_Pack(5, r179, r180, r181, r182, r183) - if is_error(r184) goto L90 (error at :529) else goto L50 + dec_ref r67 + goto L44 L50: - r185 = PyObject_SetAttr(r176, r178, r184) - dec_ref r184 - r186 = r185 >= 0 :: signed - if not r186 goto L90 (error at :529) else goto L51 :: bool + dec_ref r87 + goto L44 L51: - dank_mids.stats._SentryExporter = r176 :: type - r187 = dank_mids.stats.globals :: static - r188 = '_SentryExporter' - r189 = PyDict_SetItem(r187, r188, r176) - dec_ref r176 - r190 = r189 >= 0 :: signed - if not r190 goto L86 (error at :529) else goto L52 :: bool + dec_ref r91 + goto L44 L52: - r191 = dank_mids.stats._SentryExporter :: type - r192 = 'active_eth_calls' - r193 = 'count_active_brownie_calls' - r194 = 'queued_eth_calls' - r195 = 'count_queued_brownie_calls' - r196 = 'encoder_queue' - r197 = 'encoder_queue_len' - r198 = 'decoder_queue' - r199 = 'decoder_queue_len' - r200 = 'loop_time' - r201 = 'avg_loop_time' - r202 = CPyDict_Build(5, r192, r193, r194, r195, r196, r197, r198, r199, r200, r201) - if is_error(r202) goto L86 (error at :543) else goto L53 + dec_ref r101 + goto L44 L53: - r203 = 'metrics' - r204 = PyObject_SetAttr(r191, r203, r202) - r205 = r204 >= 0 :: signed - if not r205 goto L91 (error at :543) else goto L54 :: bool + dec_ref r109 + goto L44 L54: - dank_mids.stats._SentryExporter.metrics = r202 :: static - dec_ref r202 - r206 = dank_mids.stats._SentryExporter :: type - r207 = 'loop_time' - r208 = 'seconds' - r209 = CPyDict_Build(1, r207, r208) - if is_error(r209) goto L86 (error at :550) else goto L55 + dec_ref r113 + goto L37 L55: - r210 = 'units' - r211 = PyObject_SetAttr(r206, r210, r209) - r212 = r211 >= 0 :: signed - if not r212 goto L92 (error at :550) else goto L56 :: bool + dec_ref r117 + goto L44 L56: - dank_mids.stats._SentryExporter.units = r209 :: static - dec_ref r209 - r213 = dank_mids.stats._SentryExporter :: type - r214 = dank_mids.stats.globals :: static - r215 = '_nocompile' - r216 = CPyDict_GetItem(r214, r215) - if is_error(r216) goto L86 (error at :582) else goto L57 + dec_ref r125 + goto L44 L57: - r217 = 'set_tag' - r218 = CPyObject_GetAttr(r216, r217) - dec_ref r216 - if is_error(r218) goto L86 (error at :582) else goto L58 -L58: - r219 = 'set_tag' - r220 = PyObject_SetAttr(r213, r219, r218) - r221 = r220 >= 0 :: signed - if not r221 goto L93 (error at :582) else goto L59 :: bool -L59: - dank_mids.stats._SentryExporter.set_tag = r218 :: static - dec_ref r218 - r222 = dank_mids.stats._SentryExporter :: type - r223 = dank_mids.stats.globals :: static - r224 = '_nocompile' - r225 = CPyDict_GetItem(r223, r224) - if is_error(r225) goto L86 (error at :593) else goto L60 -L60: - r226 = 'set_measurement' - r227 = CPyObject_GetAttr(r225, r226) - dec_ref r225 - if is_error(r227) goto L86 (error at :593) else goto L61 -L61: - r228 = 'set_measurement' - r229 = PyObject_SetAttr(r222, r228, r227) - r230 = r229 >= 0 :: signed - if not r230 goto L94 (error at :593) else goto L62 :: bool -L62: - dank_mids.stats._SentryExporter.set_measurement = r227 :: static - dec_ref r227 - r231 = dank_mids.stats._SentryExporter :: type - r232 = dank_mids.stats.globals :: static - r233 = '_nocompile' - r234 = CPyDict_GetItem(r232, r233) - if is_error(r234) goto L86 (error at :604) else goto L63 -L63: - r235 = 'exc' - r236 = CPyObject_GetAttr(r234, r235) - dec_ref r234 - if is_error(r236) goto L86 (error at :604) else goto L64 -L64: - r237 = '_exc' - r238 = PyObject_SetAttr(r231, r237, r236) - r239 = r238 >= 0 :: signed - if not r239 goto L95 (error at :604) else goto L65 :: bool -L65: - dank_mids.stats._SentryExporter._exc = r236 :: static - dec_ref r236 - r240 = dank_mids.stats.globals :: static - r241 = '__name__' - r242 = CPyDict_GetItem(r240, r241) - if is_error(r242) goto L86 (error at :611) else goto L66 -L66: - r243 = cast(str, r242) - if is_error(r243) goto L86 (error at :611) else goto L67 -L67: - r244 = PyTuple_Pack(1, r243) - dec_ref r243 - if is_error(r244) goto L86 (error at :611) else goto L68 -L68: - r245 = PyDict_New() - if is_error(r245) goto L96 (error at :611) else goto L69 -L69: - r246 = _StatsLogger(r244, r245) - dec_ref r244 - dec_ref r245 - if is_error(r246) goto L86 (error at :611) else goto L70 -L70: - dank_mids.stats.logger = r246 :: static - r247 = dank_mids.stats.globals :: static - r248 = 'logger' - r249 = CPyDict_SetItem(r247, r248, r246) - dec_ref r246 - r250 = r249 >= 0 :: signed - if not r250 goto L86 (error at :611) else goto L71 :: bool -L71: - r251 = dank_mids.stats.logger :: static - if is_error(r251) goto L72 else goto L74 -L72: - r252 = raise NameError('value for final name "logger" was not set') - if not r252 goto L86 (error at :612) else goto L73 :: bool -L73: + dec_ref r129 + goto L43 + +def Formatter.__init__(self, normalizers, types): + self :: dank_mids._web3.abi.Formatter + normalizers, types :: tuple + r0 :: ptr + r1 :: native_int + r2 :: tuple + r3 :: ptr + r4, r5 :: native_int + r6 :: bit + r7 :: object + r8 :: dank_mids._web3.abi.map_to_typed_data + r9 :: native_int + r10 :: ptr + r11 :: native_int + r12 :: tuple + r13 :: ptr + r14, r15 :: native_int + r16 :: bit + r17 :: object + r18 :: union[str, None] + r19 :: bit + r20 :: str + r21 :: object + r22 :: bool + r23 :: object[1] + r24 :: object_ptr + r25 :: object + r26 :: union[object, None] + r27 :: object + r28 :: native_int + r29 :: None +L0: + r0 = get_element_ptr normalizers ob_size :: PyVarObject + r1 = load_mem r0 :: native_int* + r2 = PyTuple_New(r1) + if is_error(r2) goto L21 (error at __init__:33) else goto L1 +L1: + r3 = get_element_ptr normalizers ob_size :: PyVarObject + r4 = load_mem r3 :: native_int* + r5 = 0 +L2: + r6 = r5 < r4 :: signed + if r6 goto L3 else goto L6 :: bool +L3: + r7 = CPySequenceTuple_GetItemUnsafe(normalizers, r5) + r8 = get_data_tree_map(r7) + dec_ref r7 + if is_error(r8) goto L22 (error at __init__:33) else goto L4 +L4: + CPySequenceTuple_SetItemUnsafe(r2, r5, r8) +L5: + r9 = r5 + 1 + r5 = r9 + goto L2 +L6: + self.normalizers = r2 + r10 = get_element_ptr types ob_size :: PyVarObject + r11 = load_mem r10 :: native_int* + r12 = PyTuple_New(r11) + if is_error(r12) goto L21 (error at __init__:34) else goto L7 +L7: + r13 = get_element_ptr types ob_size :: PyVarObject + r14 = load_mem r13 :: native_int* + r15 = 0 +L8: + r16 = r15 < r14 :: signed + if r16 goto L9 else goto L20 :: bool +L9: + r17 = CPySequenceTuple_GetItemUnsafe(types, r15) + r18 = cast(union[str, None], r17) + if is_error(r18) goto L23 (error at __init__:34) else goto L10 +L10: + r19 = PyUnicode_Check(r18) + if r19 goto L11 else goto L24 :: bool +L11: + r20 = cast(str, r18) + if is_error(r20) goto L23 (error at __init__:35) else goto L12 +L12: + r21 = dank_mids._web3.abi.parse :: static + if is_error(r21) goto L25 else goto L15 +L13: + r22 = raise NameError('value for final name "parse" was not set') + if not r22 goto L21 (error at __init__:35) else goto L14 :: bool +L14: + unreachable +L15: + r23 = [r20] + r24 = load_address r23 + r25 = PyObject_Vectorcall(r21, r24, 1, 0) + if is_error(r25) goto L26 (error at __init__:35) else goto L16 +L16: + dec_ref r20 + r26 = r25 + goto L18 +L17: + r27 = box(None, 1) + inc_ref r27 + r26 = r27 +L18: + CPySequenceTuple_SetItemUnsafe(r12, r15, r26) +L19: + r28 = r15 + 1 + r15 = r28 + goto L8 +L20: + self.types = r12 + return 1 +L21: + r29 = :: None + return r29 +L22: + dec_ref r2 + goto L21 +L23: + dec_ref r12 + goto L21 +L24: + dec_ref r18 + goto L17 +L25: + dec_ref r12 + dec_ref r20 + goto L13 +L26: + dec_ref r12 + dec_ref r20 + goto L21 + +def Formatter.__call__(self, data): + self :: dank_mids._web3.abi.Formatter + data :: object + r0 :: dict + r1 :: str + r2 :: object + r3 :: tuple + r4 :: object + r5 :: str + r6 :: object + r7 :: object[3] + r8 :: object_ptr + r9 :: object + r10 :: tuple + r11 :: ptr + r12, r13 :: native_int + r14 :: bit + r15 :: object + r16 :: dank_mids._web3.abi.map_to_typed_data + r17 :: object[1] + r18 :: object_ptr + r19 :: object + r20 :: native_int + r21 :: object + r22, r23 :: list +L0: + r0 = dank_mids._web3.abi.globals :: static + r1 = 'abi_sub_tree' + r2 = CPyDict_GetItem(r0, r1) + if is_error(r2) goto L12 (error at __call__:41) else goto L1 +L1: + r3 = self.types + r4 = builtins :: module + r5 = 'map' + r6 = CPyObject_GetAttr(r4, r5) + if is_error(r6) goto L13 (error at __call__:41) else goto L2 +L2: + r7 = [r2, r3, data] + r8 = load_address r7 + r9 = PyObject_Vectorcall(r6, r8, 3, 0) + dec_ref r6 + if is_error(r9) goto L13 (error at __call__:41) else goto L3 +L3: + dec_ref r2 + dec_ref r3 + data = r9 + r10 = self.normalizers + r11 = get_element_ptr r10 ob_size :: PyVarObject + r12 = load_mem r11 :: native_int* + r13 = 0 +L4: + r14 = r13 < r12 :: signed + if r14 goto L5 else goto L14 :: bool +L5: + r15 = CPySequenceTuple_GetItemUnsafe(r10, r13) + r16 = cast(dank_mids._web3.abi.map_to_typed_data, r15) + if is_error(r16) goto L15 (error at __call__:43) else goto L6 +L6: + r17 = [data] + r18 = load_address r17 + r19 = PyObject_Vectorcall(r16, r18, 1, 0) + dec_ref r16 + if is_error(r19) goto L15 (error at __call__:44) else goto L7 +L7: + dec_ref data + data = r19 +L8: + r20 = r13 + 1 + r13 = r20 + goto L4 +L9: + r21 = strip_abi_types(data) + dec_ref data + if is_error(r21) goto L12 (error at __call__:46) else goto L10 +L10: + r22 = PySequence_List(r21) + dec_ref r21 + if is_error(r22) goto L12 (error at __call__:46) else goto L11 +L11: + return r22 +L12: + r23 = :: list + return r23 +L13: + dec_ref r2 + dec_ref r3 + goto L12 +L14: + dec_ref r10 + goto L9 +L15: + dec_ref data + dec_ref r10 + goto L12 + +def get_formatter(normalizers, types): + normalizers, types :: tuple + r0 :: dict + r1 :: bool + r2 :: tuple[tuple, tuple] + r3, r4 :: object + r5, mapper :: union[dank_mids._web3.abi.Formatter, None] + r6 :: object + r7 :: bit + r8 :: dank_mids._web3.abi.Formatter + r9 :: dict + r10 :: bool + r11 :: tuple[tuple, tuple] + r12 :: object + r13 :: i32 + r14 :: bit + r15, r16 :: dank_mids._web3.abi.Formatter +L0: + r0 = dank_mids._web3.abi._formatters :: static + if is_error(r0) goto L1 else goto L3 +L1: + r1 = raise NameError('value for final name "_formatters" was not set') + if not r1 goto L13 (error at get_formatter:58) else goto L2 :: bool +L2: unreachable -L74: - r253 = 'stats' - r254 = CPyObject_GetAttr(r251, r253) - if is_error(r254) goto L86 (error at :612) else goto L75 -L75: - dank_mids.stats.log = r254 :: static - r255 = dank_mids.stats.globals :: static - r256 = 'log' - r257 = CPyDict_SetItem(r255, r256, r254) - dec_ref r254 - r258 = r257 >= 0 :: signed - if not r258 goto L86 (error at :612) else goto L76 :: bool -L76: - r259 = dank_mids.stats.logger :: static - if is_error(r259) goto L77 else goto L79 -L77: - r260 = raise NameError('value for final name "logger" was not set') - if not r260 goto L86 (error at :613) else goto L78 :: bool -L78: +L3: + inc_ref normalizers + inc_ref types + r2 = (normalizers, types) + r3 = box(tuple[tuple, tuple], r2) + r4 = CPyDict_GetWithNone(r0, r3) + dec_ref r3 + if is_error(r4) goto L13 (error at get_formatter:58) else goto L4 +L4: + r5 = cast(union[dank_mids._web3.abi.Formatter, None], r4) + if is_error(r5) goto L13 (error at get_formatter:58) else goto L5 +L5: + mapper = r5 + r6 = load_address _Py_NoneStruct + r7 = mapper == r6 + if r7 goto L14 else goto L11 :: bool +L6: + r8 = Formatter(normalizers, types) + if is_error(r8) goto L13 (error at get_formatter:60) else goto L7 +L7: + inc_ref r8 + mapper = r8 + r9 = dank_mids._web3.abi._formatters :: static + if is_error(r9) goto L15 else goto L10 +L8: + r10 = raise NameError('value for final name "_formatters" was not set') + if not r10 goto L13 (error at get_formatter:60) else goto L9 :: bool +L9: unreachable -L79: - r261 = 'devhint' - r262 = CPyObject_GetAttr(r259, r261) - if is_error(r262) goto L86 (error at :613) else goto L80 -L80: - dank_mids.stats.devhint = r262 :: static - r263 = dank_mids.stats.globals :: static - r264 = 'devhint' - r265 = CPyDict_SetItem(r263, r264, r262) - dec_ref r262 - r266 = r265 >= 0 :: signed - if not r266 goto L86 (error at :613) else goto L81 :: bool -L81: - r267 = _Collector() - if is_error(r267) goto L86 (error at :614) else goto L82 -L82: - dank_mids.stats.collector = r267 :: static - r268 = dank_mids.stats.globals :: static - r269 = 'collector' - r270 = CPyDict_SetItem(r268, r269, r267) - dec_ref r267 - r271 = r270 >= 0 :: signed - if not r271 goto L86 (error at :614) else goto L83 :: bool -L83: - r272 = _SentryExporter() - if is_error(r272) goto L86 (error at :615) else goto L84 -L84: - dank_mids.stats.sentry = r272 :: static - r273 = dank_mids.stats.globals :: static - r274 = 'sentry' - r275 = CPyDict_SetItem(r273, r274, r272) - dec_ref r272 - r276 = r275 >= 0 :: signed - if not r276 goto L86 (error at :615) else goto L85 :: bool -L85: - return 1 -L86: - r277 = :: None - return r277 -L87: - dec_ref r121 - goto L86 -L88: - dec_ref r145 - goto L86 -L89: - dec_ref r163 - goto L86 -L90: - dec_ref r176 - goto L86 -L91: - dec_ref r202 - goto L86 -L92: - dec_ref r209 - goto L86 -L93: - dec_ref r218 - goto L86 -L94: - dec_ref r227 - goto L86 -L95: - dec_ref r236 - goto L86 -L96: - dec_ref r244 - goto L86 +L10: + inc_ref normalizers + inc_ref types + r11 = (normalizers, types) + r12 = box(tuple[tuple, tuple], r11) + r13 = CPyDict_SetItem(r9, r12, r8) + dec_ref r12 + dec_ref r8 + r14 = r13 >= 0 :: signed + if not r14 goto L16 (error at get_formatter:60) else goto L11 :: bool +L11: + r15 = cast(dank_mids._web3.abi.Formatter, mapper) + if is_error(r15) goto L13 (error at get_formatter:61) else goto L12 +L12: + return r15 +L13: + r16 = :: dank_mids._web3.abi.Formatter + return r16 +L14: + dec_ref mapper + goto L6 +L15: + dec_ref mapper + dec_ref r8 + goto L8 +L16: + dec_ref mapper + goto L13 -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4, r5 :: object - r6 :: str +def get_data_tree_map(func): + func :: object + r0 :: dict + r1 :: bool + r2 :: object + r3, f :: union[dank_mids._web3.abi.map_to_typed_data, None] + r4 :: object + r5 :: bit + r6 :: dank_mids._web3.abi.map_to_typed_data 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, r26, r27, r28, r29, r30, r31 :: str - r32 :: list - r33, r34, r35, r36, r37, r38, r39, r40 :: ptr - r41 :: dict - r42 :: str - r43 :: i32 - r44 :: bit - r45 :: None + r8 :: bool + r9 :: i32 + r10 :: bit + r11, r12 :: dank_mids._web3.abi.map_to_typed_data L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool + r0 = dank_mids._web3.abi._data_tree_maps :: static + if is_error(r0) goto L1 else goto L3 L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L11 (error at :-1) else goto L2 + r1 = raise NameError('value for final name "_data_tree_maps" was not set') + if not r1 goto L13 (error at get_data_tree_map:70) else goto L2 :: bool L2: - builtins = r4 :: module - dec_ref r4 + unreachable L3: - r5 = ('gatherish',) - r6 = 'dank_mids.helpers._gather' - r7 = dank_mids.helpers.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L11 (error at :1) else goto L4 + r2 = CPyDict_GetWithNone(r0, func) + if is_error(r2) goto L13 (error at get_data_tree_map:70) else goto L4 L4: - dank_mids.helpers._gather = r8 :: module - dec_ref r8 - r9 = ('setup_dank_w3', 'setup_dank_w3_from_sync') - r10 = 'dank_mids.helpers._helpers' - r11 = dank_mids.helpers.globals :: static - r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) - if is_error(r12) goto L11 (error at :2) else goto L5 + r3 = cast(union[dank_mids._web3.abi.map_to_typed_data, None], r2) + if is_error(r3) goto L13 (error at get_data_tree_map:70) else goto L5 L5: - dank_mids.helpers._helpers = r12 :: module - dec_ref r12 - r13 = ('DebuggableFuture',) - r14 = 'dank_mids.helpers.future' - r15 = dank_mids.helpers.globals :: static - r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) - if is_error(r16) goto L11 (error at :3) else goto L6 + f = r3 + r4 = load_address _Py_NoneStruct + r5 = f == r4 + if r5 goto L14 else goto L11 :: bool L6: - dank_mids.helpers.future = r16 :: module - dec_ref r16 - r17 = ('make_hashable',) - r18 = 'dank_mids.helpers.hashing' - r19 = dank_mids.helpers.globals :: static - r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) - if is_error(r20) goto L11 (error at :4) else goto L7 + r6 = map_to_typed_data(func) + if is_error(r6) goto L13 (error at get_data_tree_map:72) else goto L7 L7: - dank_mids.helpers.hashing = r20 :: module - dec_ref r20 - r21 = ('lru_cache_lite', 'lru_cache_lite_nonull') - r22 = 'dank_mids.helpers.lru_cache' - r23 = dank_mids.helpers.globals :: static - r24 = CPyImport_ImportFromMany(r22, r21, r21, r23) - if is_error(r24) goto L11 (error at :5) else goto L8 + inc_ref r6 + f = r6 + r7 = dank_mids._web3.abi._data_tree_maps :: static + if is_error(r7) goto L15 else goto L10 L8: - dank_mids.helpers.lru_cache = r24 :: module - dec_ref r24 - r25 = 'setup_dank_w3' - r26 = 'setup_dank_w3_from_sync' - r27 = 'DebuggableFuture' - r28 = 'lru_cache_lite' - r29 = 'lru_cache_lite_nonull' - r30 = 'make_hashable' - r31 = 'gatherish' - r32 = PyList_New(7) - if is_error(r32) goto L11 (error at :7) else goto L9 + r8 = raise NameError('value for final name "_data_tree_maps" was not set') + if not r8 goto L13 (error at get_data_tree_map:72) else goto L9 :: bool L9: - r33 = get_element_ptr r32 ob_item :: PyListObject - r34 = load_mem r33 :: ptr* - inc_ref r25 - set_mem r34, r25 :: builtins.object* - inc_ref r26 - r35 = r34 + 8 - set_mem r35, r26 :: builtins.object* - inc_ref r27 - r36 = r34 + 16 - set_mem r36, r27 :: builtins.object* - inc_ref r28 - r37 = r34 + 24 - set_mem r37, r28 :: builtins.object* - inc_ref r29 - r38 = r34 + 32 - set_mem r38, r29 :: builtins.object* - inc_ref r30 - r39 = r34 + 40 - set_mem r39, r30 :: builtins.object* - inc_ref r31 - r40 = r34 + 48 - set_mem r40, r31 :: builtins.object* - r41 = dank_mids.helpers.globals :: static - r42 = '__all__' - r43 = CPyDict_SetItem(r41, r42, r32) - dec_ref r32 - r44 = r43 >= 0 :: signed - if not r44 goto L11 (error at :7) else goto L10 :: bool + unreachable L10: - return 1 + r9 = CPyDict_SetItem(r7, func, r6) + dec_ref r6 + r10 = r9 >= 0 :: signed + if not r10 goto L16 (error at get_data_tree_map:72) else goto L11 :: bool L11: - r45 = :: None - return r45 + r11 = cast(dank_mids._web3.abi.map_to_typed_data, f) + if is_error(r11) goto L13 (error at get_data_tree_map:73) else goto L12 +L12: + return r11 +L13: + r12 = :: dank_mids._web3.abi.map_to_typed_data + return r12 +L14: + dec_ref f + goto L6 +L15: + dec_ref f + dec_ref r6 + goto L8 +L16: + dec_ref f + goto L13 -def __top_level__(): - r0, r1 :: object +def map_to_typed_data.__init__(self, func): + self :: dank_mids._web3.abi.map_to_typed_data + func :: object +L0: + inc_ref func + self.func = func + return 1 + +def map_to_typed_data.__call__(self, elements): + self :: dank_mids._web3.abi.map_to_typed_data + elements, 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 + r3 :: object + r4 :: str + r5 :: object + r6 :: bit + r7 :: list + r8, r9 :: object + r10 :: object[1] + r11 :: object_ptr + r12 :: object + r13 :: i32 + r14, r15 :: bit + r16 :: object + r17 :: bit + r18 :: list + r19, r20 :: object + r21 :: object[1] + r22 :: object_ptr + r23 :: object + r24 :: i32 + r25, r26 :: bit + r27 :: tuple + r28 :: object + r29 :: bool + r30 :: i32 + r31 :: bit + r32 :: bool + r33 :: list + r34 :: str + r35 :: object[1] + r36 :: object_ptr + r37, r38, r39 :: object + r40 :: tuple[object, object] + r41, r42 :: object + r43 :: object[1] + r44 :: object_ptr + r45 :: object + r46 :: tuple[object, object] + r47 :: object + r48 :: i32 + r49, r50 :: bit + r51 :: object + r52 :: object[1] + r53 :: object_ptr + r54, r55, 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 + r59 :: object + r60 :: tuple[object, object, object] + r61 :: object + r62 :: i32 + r63 :: bit + r64 :: bool + r65 :: object + r66 :: bool + r67 :: i32 + r68 :: bit + r69 :: bool + r70 :: object + r71 :: str + r72 :: object + r73 :: object[2] + r74 :: object_ptr 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 + r76 :: object[1] + r77 :: object_ptr + r78, r79 :: object + r80 :: ptr + r81 :: object + r82 :: bit + r83 :: dank_mids._web3.abi.ABITypedData + r84 :: union[str, None] + r85 :: object + r86 :: bit + r87 :: dank_mids._web3.abi.ABITypedData r88 :: str - r89 :: i32 - r90 :: bit - r91 :: None + r89 :: object + r90 :: tuple + r91 :: object + r92 :: tuple[str, object] + r93, r94, r95 :: object + r96 :: dank_mids._web3.abi.ABITypedData + r97 :: object L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool + r0 = CPy_TYPE(elements) + r1 = load_address PyList_Type + r2 = r0 == r1 + if r2 goto L61 else goto L1 :: bool L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L36 (error at :-1) else goto L2 + r3 = builtins :: module + r4 = 'map' + r5 = CPyObject_GetAttr(r3, r4) + if is_error(r5) goto L62 (error at __call__:83) 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 + r6 = r0 == r5 + dec_ref r5 + if r6 goto L61 else goto L10 :: bool +L3: + r7 = PyList_New(0) + if is_error(r7) goto L60 (error at __call__:84) 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 + r8 = PyObject_GetIter(elements) + if is_error(r8) goto L63 (error at __call__:84) 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 + r9 = PyIter_Next(r8) + if is_error(r9) goto L64 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 + r10 = [r9] + r11 = load_address r10 + r12 = PyObject_Vectorcall(self, r11, 1, 0) + if is_error(r12) goto L65 (error at __call__:84) 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 + dec_ref r9 + r13 = PyList_Append(r7, r12) + dec_ref r12 + r14 = r13 >= 0 :: signed + if not r14 goto L66 (error at __call__:84) else goto L5 :: bool 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 + r15 = CPy_NoErrOccurred() + if not r15 goto L63 (error at __call__:84) else goto L9 :: bool 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 + return r7 L10: - r38 = dank_mids._envs._factory :: static - if is_error(r38) goto L11 else goto L13 + r16 = load_address PyTuple_Type + r17 = r0 == r16 + if r17 goto L67 else goto L19 :: bool L11: - r39 = raise NameError('value for final name "_factory" was not set') - if not r39 goto L36 (error at :13) else goto L12 :: bool + r18 = PyList_New(0) + if is_error(r18) goto L60 (error at __call__:86) else goto L12 L12: - unreachable + r19 = PyObject_GetIter(elements) + if is_error(r19) goto L68 (error at __call__:86) 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 + r20 = PyIter_Next(r19) + if is_error(r20) goto L69 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 + r21 = [r20] + r22 = load_address r21 + r23 = PyObject_Vectorcall(self, r22, 1, 0) + if is_error(r23) goto L70 (error at __call__:86) 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 + dec_ref r20 + r24 = PyList_Append(r18, r23) + dec_ref r23 + r25 = r24 >= 0 :: signed + if not r25 goto L71 (error at __call__:86) else goto L13 :: bool L16: - dec_ref r44 - r50 = dank_mids._envs._factory :: static - if is_error(r50) goto L17 else goto L19 + r26 = CPy_NoErrOccurred() + if not r26 goto L68 (error at __call__:86) else goto L17 :: bool L17: - r51 = raise NameError('value for final name "_factory" was not set') - if not r51 goto L36 (error at :14) else goto L18 :: bool + r27 = PyList_AsTuple(r18) + dec_ref r18 + if is_error(r27) goto L60 (error at __call__:86) else goto L18 L18: - unreachable + return r27 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 + r28 = dank_mids._web3.abi.Mapping :: static + if is_error(r28) goto L72 else goto L22 L20: - r55 = 'ProcessPoolExecutor' - r56 = CPyObject_GetAttr(r54, r55) - dec_ref r54 - if is_error(r56) goto L36 (error at :14) else goto L21 + r29 = raise NameError('value for final name "Mapping" was not set') + if not r29 goto L60 (error at __call__:87) else goto L21 :: bool 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 + unreachable L22: - dec_ref r56 - r62 = dank_mids._envs._factory :: static - if is_error(r62) goto L23 else goto L25 + r30 = PyObject_IsInstance(elements, r28) + r31 = r30 >= 0 :: signed + if not r31 goto L62 (error at __call__:87) else goto L23 :: bool L23: - r63 = raise NameError('value for final name "_factory" was not set') - if not r63 goto L36 (error at :15) else goto L24 :: bool + r32 = truncate r30: i32 to builtins.bool + if r32 goto L24 else goto L35 :: bool L24: - unreachable + r33 = PyList_New(0) + if is_error(r33) goto L62 (error at __call__:88) else goto L25 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 + r34 = 'items' + r35 = [elements] + r36 = load_address r35 + r37 = PyObject_VectorcallMethod(r34, r36, 9223372036854775809, 0) + if is_error(r37) goto L73 (error at __call__:88) 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 + r38 = PyObject_GetIter(r37) + dec_ref r37 + if is_error(r38) goto L73 (error at __call__:88) else goto L27 L27: - dec_ref r66 - r72 = dank_mids._envs._factory :: static - if is_error(r72) goto L28 else goto L30 + r39 = PyIter_Next(r38) + if is_error(r39) goto L74 else goto L28 L28: - r73 = raise NameError('value for final name "_factory" was not set') - if not r73 goto L36 (error at :17) else goto L29 :: bool + r40 = unbox(tuple[object, object], r39) + dec_ref r39 + if is_error(r40) goto L75 (error at __call__:88) else goto L29 L29: - unreachable + r41 = r40[0] + r42 = r40[1] + dec_ref r40 + r43 = [r42] + r44 = load_address r43 + r45 = PyObject_Vectorcall(self, r44, 1, 0) + if is_error(r45) goto L76 (error at __call__:88) else goto L30 L30: - r74 = 'create_env' - r75 = CPyObject_GetAttr(r72, r74) - if is_error(r75) goto L36 (error at :17) else goto L31 + dec_ref r42 + r46 = (r41, r45) + r47 = box(tuple[object, object], r46) + r48 = PyList_Append(r33, r47) + dec_ref r47 + r49 = r48 >= 0 :: signed + if not r49 goto L75 (error at __call__:88) else goto L27 :: bool 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 + r50 = CPy_NoErrOccurred() + if not r50 goto L73 (error at __call__:88) 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 + r51 = PyObject_GetIter(r33) + dec_ref r33 + if is_error(r51) goto L62 (error at __call__:88) 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 + r52 = [r51] + r53 = load_address r52 + r54 = PyObject_Vectorcall(r0, r53, 1, 0) + dec_ref r0 + if is_error(r54) goto L77 (error at __call__:88) 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 + dec_ref r51 + return r54 L35: - return 1 + r55 = load_address PyBytes_Type + r56 = load_address PyUnicode_Type + r57 = builtins :: module + r58 = 'bytearray' + r59 = CPyObject_GetAttr(r57, r58) + if is_error(r59) goto L62 (error at __call__:89) else goto L36 L36: - r91 = :: None - return r91 + inc_ref r55 + inc_ref r56 + r60 = (r55, r56, r59) + r61 = box(tuple[object, object, object], r60) + r62 = PyObject_IsInstance(elements, r61) + dec_ref r61 + r63 = r62 >= 0 :: signed + if not r63 goto L62 (error at __call__:89) else goto L37 :: bool L37: - dec_ref r44 - goto L36 + r64 = truncate r62: i32 to builtins.bool + if r64 goto L78 else goto L38 :: bool L38: - dec_ref r49 - goto L16 + r65 = dank_mids._web3.abi.Iterable :: static + if is_error(r65) goto L79 else goto L41 L39: - dec_ref r56 - goto L36 + r66 = raise NameError('value for final name "Iterable" was not set') + if not r66 goto L60 (error at __call__:89) else goto L40 :: bool L40: - dec_ref r61 - goto L22 + unreachable L41: - dec_ref r66 - goto L36 + r67 = PyObject_IsInstance(elements, r65) + r68 = r67 >= 0 :: signed + if not r68 goto L62 (error at __call__:89) else goto L42 :: bool L42: - dec_ref r71 - goto L27 - -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 + r69 = truncate r67: i32 to builtins.bool + if r69 goto L43 else goto L78 :: bool +L43: + r70 = builtins :: module + r71 = 'map' + r72 = CPyObject_GetAttr(r70, r71) + if is_error(r72) goto L62 (error at __call__:90) else goto L44 +L44: + r73 = [self, elements] + r74 = load_address r73 + r75 = PyObject_Vectorcall(r72, r74, 2, 0) + dec_ref r72 + if is_error(r75) goto L62 (error at __call__:90) else goto L45 +L45: + r76 = [r75] + r77 = load_address r76 + r78 = PyObject_Vectorcall(r0, r77, 1, 0) + dec_ref r0 + if is_error(r78) goto L80 (error at __call__:90) else goto L46 +L46: + dec_ref r75 + return r78 +L47: + r79 = dank_mids._web3.abi.ABITypedData :: type + r80 = get_element_ptr elements ob_type :: PyObject + r81 = borrow load_mem r80 :: builtins.object* + r82 = r81 == r79 + if r82 goto L48 else goto L59 :: bool +L48: + r83 = borrow cast(dank_mids._web3.abi.ABITypedData, elements) + if is_error(r83) goto L60 (error at __call__:91) else goto L49 +L49: + r84 = borrow r83.abi_type + if is_error(r84) goto L60 (error at __call__:91) else goto L50 +L50: + r85 = load_address _Py_NoneStruct + r86 = r84 != r85 + if r86 goto L51 else goto L59 :: bool +L51: + inc_ref elements + r87 = cast(dank_mids._web3.abi.ABITypedData, elements) + if is_error(r87) goto L60 (error at __call__:92) else goto L52 +L52: + r88 = 'func' + r89 = CPyObject_GetAttr(self, r88) + if is_error(r89) goto L81 (error at __call__:92) else goto L53 +L53: + r90 = PySequence_Tuple(r87) + dec_ref r87 + if is_error(r90) goto L82 (error at __call__:92) else goto L54 +L54: + r91 = PyObject_CallObject(r89, r90) + dec_ref r89 + dec_ref r90 + if is_error(r91) goto L60 (error at __call__:92) else goto L55 +L55: + r92 = unbox(tuple[str, object], r91) + dec_ref r91 + if is_error(r92) goto L60 (error at __call__:92) else goto L56 +L56: + r93 = dank_mids._web3.abi.ABITypedData :: type + r94 = box(tuple[str, object], r92) + r95 = PyObject_CallObject(r93, r94) + dec_ref r94 + if is_error(r95) goto L60 (error at __call__:92) else goto L57 +L57: + r96 = cast(dank_mids._web3.abi.ABITypedData, r95) + if is_error(r96) goto L60 (error at __call__:92) else goto L58 +L58: + return r96 +L59: + inc_ref elements + return elements +L60: + r97 = :: object + return r97 +L61: + dec_ref r0 + goto L3 +L62: + dec_ref r0 + goto L60 +L63: + dec_ref r7 + goto L60 +L64: + dec_ref r8 + goto L8 +L65: + dec_ref r7 + dec_ref r8 + dec_ref r9 + goto L60 +L66: + dec_ref r7 + dec_ref r8 + goto L60 +L67: + dec_ref r0 + goto L11 +L68: + dec_ref r18 + goto L60 +L69: + dec_ref r19 + goto L16 +L70: + dec_ref r18 + dec_ref r19 + dec_ref r20 + goto L60 +L71: + dec_ref r18 + dec_ref r19 + goto L60 +L72: + dec_ref r0 + goto L20 +L73: + dec_ref r0 + dec_ref r33 + goto L60 +L74: + dec_ref r38 + goto L31 +L75: + dec_ref r0 + dec_ref r33 + dec_ref r38 + goto L60 +L76: + dec_ref r0 + dec_ref r33 + dec_ref r38 + dec_ref r41 + dec_ref r42 + goto L60 +L77: + dec_ref r51 + goto L60 +L78: + dec_ref r0 + goto L47 +L79: + dec_ref r0 + goto L39 +L80: + dec_ref r75 + goto L60 +L81: + dec_ref r87 + goto L60 +L82: + dec_ref r89 + goto L60 -def Formatter.__init__(self, normalizers, types): - self :: dank_mids._web3.abi.Formatter - normalizers, types :: tuple - r0 :: ptr - r1 :: native_int - r2 :: tuple - r3 :: ptr - r4, r5 :: native_int +def strip_abi_types(data): + data, r0, r1 :: object + r2 :: bit + r3 :: object + r4 :: str + r5 :: object r6 :: bit - r7 :: object - r8 :: dank_mids._web3.abi.map_to_typed_data - r9 :: native_int - r10 :: ptr - r11 :: native_int - r12 :: tuple - r13 :: ptr - r14, r15 :: native_int - r16 :: bit - r17 :: object - r18 :: union[str, None] - r19 :: bit - r20 :: str - r21 :: object - r22 :: bool - r23 :: object[1] - r24 :: object_ptr - r25 :: object - r26 :: union[object, None] - r27 :: object - r28 :: native_int - r29 :: None + r7 :: list + r8, r9, r10 :: object + r11 :: i32 + r12, r13, r14 :: bit + r15 :: tuple + r16 :: ptr + r17 :: native_int + r18 :: tuple + r19 :: ptr + r20, r21 :: native_int + r22 :: bit + r23, r24 :: object + r25 :: native_int + r26 :: object + r27 :: bool + r28 :: i32 + r29 :: bit + r30 :: bool + r31 :: list + r32 :: str + r33 :: object[1] + r34 :: object_ptr + r35, r36, r37 :: object + r38 :: tuple[object, object] + r39, r40, r41 :: object + r42 :: tuple[object, object] + r43 :: object + r44 :: i32 + r45, r46 :: bit + r47 :: object + r48 :: object[1] + r49 :: object_ptr + r50, r51, r52, r53 :: object + r54 :: str + r55 :: object + r56 :: tuple[object, object, object] + r57 :: object + r58 :: i32 + r59 :: bit + r60 :: bool + r61 :: object + r62 :: bool + r63 :: i32 + r64 :: bit + r65 :: bool + r66 :: dict + r67 :: str + r68, r69 :: object + r70 :: str + r71 :: object + r72 :: object[2] + r73 :: object_ptr + r74 :: object + r75 :: object[1] + r76 :: object_ptr + r77, r78 :: object + r79 :: ptr + r80 :: object + r81 :: bit + r82 :: dank_mids._web3.abi.ABITypedData + r83, r84 :: object L0: - r0 = get_element_ptr normalizers ob_size :: PyVarObject - r1 = load_mem r0 :: native_int* - r2 = PyTuple_New(r1) - if is_error(r2) goto L21 (error at __init__:33) else goto L1 + r0 = CPy_TYPE(data) + r1 = load_address PyList_Type + r2 = r0 == r1 + if r2 goto L54 else goto L1 :: bool L1: - r3 = get_element_ptr normalizers ob_size :: PyVarObject - r4 = load_mem r3 :: native_int* - r5 = 0 + r3 = builtins :: module + r4 = 'map' + r5 = CPyObject_GetAttr(r3, r4) + if is_error(r5) goto L55 (error at strip_abi_types:99) else goto L2 L2: - r6 = r5 < r4 :: signed - if r6 goto L3 else goto L6 :: bool + r6 = r0 == r5 + dec_ref r5 + if r6 goto L54 else goto L10 :: bool L3: - r7 = CPySequenceTuple_GetItemUnsafe(normalizers, r5) - r8 = get_data_tree_map(r7) - dec_ref r7 - if is_error(r8) goto L22 (error at __init__:33) else goto L4 + r7 = PyList_New(0) + if is_error(r7) goto L53 (error at strip_abi_types:100) else goto L4 L4: - CPySequenceTuple_SetItemUnsafe(r2, r5, r8) + r8 = PyObject_GetIter(data) + if is_error(r8) goto L56 (error at strip_abi_types:100) else goto L5 L5: - r9 = r5 + 1 - r5 = r9 - goto L2 + r9 = PyIter_Next(r8) + if is_error(r9) goto L57 else goto L6 L6: - self.normalizers = r2 - r10 = get_element_ptr types ob_size :: PyVarObject - r11 = load_mem r10 :: native_int* - r12 = PyTuple_New(r11) - if is_error(r12) goto L21 (error at __init__:34) else goto L7 + r10 = strip_abi_types(r9) + dec_ref r9 + if is_error(r10) goto L58 (error at strip_abi_types:100) else goto L7 L7: - r13 = get_element_ptr types ob_size :: PyVarObject - r14 = load_mem r13 :: native_int* - r15 = 0 + r11 = PyList_Append(r7, r10) + dec_ref r10 + r12 = r11 >= 0 :: signed + if not r12 goto L58 (error at strip_abi_types:100) else goto L5 :: bool L8: - r16 = r15 < r14 :: signed - if r16 goto L9 else goto L20 :: bool + r13 = CPy_NoErrOccurred() + if not r13 goto L56 (error at strip_abi_types:100) else goto L9 :: bool L9: - r17 = CPySequenceTuple_GetItemUnsafe(types, r15) - r18 = cast(union[str, None], r17) - if is_error(r18) goto L23 (error at __init__:34) else goto L10 + return r7 L10: - r19 = PyUnicode_Check(r18) - if r19 goto L11 else goto L24 :: bool + r14 = PyTuple_Check(data) + if r14 goto L59 else goto L19 :: bool L11: - r20 = cast(str, r18) - if is_error(r20) goto L23 (error at __init__:35) else goto L12 + inc_ref data + r15 = cast(tuple, data) + if is_error(r15) goto L53 (error at strip_abi_types:102) else goto L12 L12: - r21 = dank_mids._web3.abi.parse :: static - if is_error(r21) goto L25 else goto L15 + r16 = get_element_ptr r15 ob_size :: PyVarObject + r17 = load_mem r16 :: native_int* + r18 = PyTuple_New(r17) + if is_error(r18) goto L60 (error at strip_abi_types:102) else goto L13 L13: - r22 = raise NameError('value for final name "parse" was not set') - if not r22 goto L21 (error at __init__:35) else goto L14 :: bool + r19 = get_element_ptr r15 ob_size :: PyVarObject + r20 = load_mem r19 :: native_int* + r21 = 0 L14: - unreachable + r22 = r21 < r20 :: signed + if r22 goto L15 else goto L61 :: bool L15: - r23 = [r20] - r24 = load_address r23 - r25 = PyObject_Vectorcall(r21, r24, 1, 0) - if is_error(r25) goto L26 (error at __init__:35) else goto L16 + r23 = CPySequenceTuple_GetItemUnsafe(r15, r21) + r24 = strip_abi_types(r23) + dec_ref r23 + if is_error(r24) goto L62 (error at strip_abi_types:102) else goto L16 L16: - dec_ref r20 - r26 = r25 - goto L18 + CPySequenceTuple_SetItemUnsafe(r18, r21, r24) L17: - r27 = box(None, 1) - inc_ref r27 - r26 = r27 + r25 = r21 + 1 + r21 = r25 + goto L14 L18: - CPySequenceTuple_SetItemUnsafe(r12, r15, r26) + return r18 L19: - r28 = r15 + 1 - r15 = r28 - goto L8 + r26 = dank_mids._web3.abi.Mapping :: static + if is_error(r26) goto L63 else goto L22 L20: - self.types = r12 - return 1 + r27 = raise NameError('value for final name "Mapping" was not set') + if not r27 goto L53 (error at strip_abi_types:103) else goto L21 :: bool L21: - r29 = :: None - return r29 + unreachable L22: - dec_ref r2 - goto L21 + r28 = PyObject_IsInstance(data, r26) + r29 = r28 >= 0 :: signed + if not r29 goto L55 (error at strip_abi_types:103) else goto L23 :: bool L23: - dec_ref r12 - goto L21 + r30 = truncate r28: i32 to builtins.bool + if r30 goto L24 else goto L35 :: bool L24: - dec_ref r18 - goto L17 + r31 = PyList_New(0) + if is_error(r31) goto L55 (error at strip_abi_types:104) else goto L25 L25: - dec_ref r12 - dec_ref r20 - goto L13 + r32 = 'items' + r33 = [data] + r34 = load_address r33 + r35 = PyObject_VectorcallMethod(r32, r34, 9223372036854775809, 0) + if is_error(r35) goto L64 (error at strip_abi_types:104) else goto L26 L26: - dec_ref r12 - dec_ref r20 - goto L21 - -def Formatter.__call__(self, data): - self :: dank_mids._web3.abi.Formatter - data :: object - r0 :: dict - r1 :: str - r2 :: object - r3 :: tuple - r4 :: object - r5 :: str - r6 :: object - r7 :: object[3] - r8 :: object_ptr - r9 :: object - r10 :: tuple - r11 :: ptr - r12, r13 :: native_int - r14 :: bit - r15 :: object - r16 :: dank_mids._web3.abi.map_to_typed_data - r17 :: object[1] - r18 :: object_ptr - r19 :: object - r20 :: native_int - r21 :: object - r22, r23 :: list -L0: - r0 = dank_mids._web3.abi.globals :: static - r1 = 'abi_sub_tree' - r2 = CPyDict_GetItem(r0, r1) - if is_error(r2) goto L12 (error at __call__:41) else goto L1 -L1: - r3 = self.types - r4 = builtins :: module - r5 = 'map' - r6 = CPyObject_GetAttr(r4, r5) - if is_error(r6) goto L13 (error at __call__:41) else goto L2 -L2: - r7 = [r2, r3, data] - r8 = load_address r7 - r9 = PyObject_Vectorcall(r6, r8, 3, 0) - dec_ref r6 - if is_error(r9) goto L13 (error at __call__:41) else goto L3 -L3: - dec_ref r2 - dec_ref r3 - data = r9 - r10 = self.normalizers - r11 = get_element_ptr r10 ob_size :: PyVarObject - r12 = load_mem r11 :: native_int* - r13 = 0 -L4: - r14 = r13 < r12 :: signed - if r14 goto L5 else goto L14 :: bool -L5: - r15 = CPySequenceTuple_GetItemUnsafe(r10, r13) - r16 = cast(dank_mids._web3.abi.map_to_typed_data, r15) - if is_error(r16) goto L15 (error at __call__:43) else goto L6 -L6: - r17 = [data] - r18 = load_address r17 - r19 = PyObject_Vectorcall(r16, r18, 1, 0) - dec_ref r16 - if is_error(r19) goto L15 (error at __call__:44) else goto L7 -L7: - dec_ref data - data = r19 -L8: - r20 = r13 + 1 - r13 = r20 - goto L4 -L9: - r21 = strip_abi_types(data) - dec_ref data - if is_error(r21) goto L12 (error at __call__:46) else goto L10 -L10: - r22 = PySequence_List(r21) - dec_ref r21 - if is_error(r22) goto L12 (error at __call__:46) else goto L11 -L11: - return r22 -L12: - r23 = :: list - return r23 -L13: - dec_ref r2 - dec_ref r3 - goto L12 -L14: - dec_ref r10 - goto L9 -L15: - dec_ref data - dec_ref r10 - goto L12 - -def get_formatter(normalizers, types): - normalizers, types :: tuple - r0 :: dict - r1 :: bool - r2 :: tuple[tuple, tuple] - r3, r4 :: object - r5, mapper :: union[dank_mids._web3.abi.Formatter, None] - r6 :: object - r7 :: bit - r8 :: dank_mids._web3.abi.Formatter - r9 :: dict - r10 :: bool - r11 :: tuple[tuple, tuple] - r12 :: object - r13 :: i32 - r14 :: bit - r15, r16 :: dank_mids._web3.abi.Formatter -L0: - r0 = dank_mids._web3.abi._formatters :: static - if is_error(r0) goto L1 else goto L3 -L1: - r1 = raise NameError('value for final name "_formatters" was not set') - if not r1 goto L13 (error at get_formatter:58) else goto L2 :: bool -L2: - unreachable -L3: - inc_ref normalizers - inc_ref types - r2 = (normalizers, types) - r3 = box(tuple[tuple, tuple], r2) - r4 = CPyDict_GetWithNone(r0, r3) - dec_ref r3 - if is_error(r4) goto L13 (error at get_formatter:58) else goto L4 -L4: - r5 = cast(union[dank_mids._web3.abi.Formatter, None], r4) - if is_error(r5) goto L13 (error at get_formatter:58) else goto L5 -L5: - mapper = r5 - r6 = load_address _Py_NoneStruct - r7 = mapper == r6 - if r7 goto L14 else goto L11 :: bool -L6: - r8 = Formatter(normalizers, types) - if is_error(r8) goto L13 (error at get_formatter:60) else goto L7 -L7: - inc_ref r8 - mapper = r8 - r9 = dank_mids._web3.abi._formatters :: static - if is_error(r9) goto L15 else goto L10 -L8: - r10 = raise NameError('value for final name "_formatters" was not set') - if not r10 goto L13 (error at get_formatter:60) else goto L9 :: bool -L9: + r36 = PyObject_GetIter(r35) + dec_ref r35 + if is_error(r36) goto L64 (error at strip_abi_types:104) else goto L27 +L27: + r37 = PyIter_Next(r36) + if is_error(r37) goto L65 else goto L28 +L28: + r38 = unbox(tuple[object, object], r37) + dec_ref r37 + if is_error(r38) goto L66 (error at strip_abi_types:104) else goto L29 +L29: + r39 = r38[0] + r40 = r38[1] + dec_ref r38 + r41 = strip_abi_types(r40) + dec_ref r40 + if is_error(r41) goto L67 (error at strip_abi_types:104) else goto L30 +L30: + r42 = (r39, r41) + r43 = box(tuple[object, object], r42) + r44 = PyList_Append(r31, r43) + dec_ref r43 + r45 = r44 >= 0 :: signed + if not r45 goto L66 (error at strip_abi_types:104) else goto L27 :: bool +L31: + r46 = CPy_NoErrOccurred() + if not r46 goto L64 (error at strip_abi_types:104) else goto L32 :: bool +L32: + r47 = PyObject_GetIter(r31) + dec_ref r31 + if is_error(r47) goto L55 (error at strip_abi_types:104) else goto L33 +L33: + r48 = [r47] + r49 = load_address r48 + r50 = PyObject_Vectorcall(r0, r49, 1, 0) + dec_ref r0 + if is_error(r50) goto L68 (error at strip_abi_types:104) else goto L34 +L34: + dec_ref r47 + return r50 +L35: + r51 = load_address PyBytes_Type + r52 = load_address PyUnicode_Type + r53 = builtins :: module + r54 = 'bytearray' + r55 = CPyObject_GetAttr(r53, r54) + if is_error(r55) goto L55 (error at strip_abi_types:105) else goto L36 +L36: + inc_ref r51 + inc_ref r52 + r56 = (r51, r52, r55) + r57 = box(tuple[object, object, object], r56) + r58 = PyObject_IsInstance(data, r57) + dec_ref r57 + r59 = r58 >= 0 :: signed + if not r59 goto L55 (error at strip_abi_types:105) else goto L37 :: bool +L37: + r60 = truncate r58: i32 to builtins.bool + if r60 goto L69 else goto L38 :: bool +L38: + r61 = dank_mids._web3.abi.Iterable :: static + if is_error(r61) goto L70 else goto L41 +L39: + r62 = raise NameError('value for final name "Iterable" was not set') + if not r62 goto L53 (error at strip_abi_types:105) else goto L40 :: bool +L40: unreachable -L10: - inc_ref normalizers - inc_ref types - r11 = (normalizers, types) - r12 = box(tuple[tuple, tuple], r11) - r13 = CPyDict_SetItem(r9, r12, r8) - dec_ref r12 - dec_ref r8 - r14 = r13 >= 0 :: signed - if not r14 goto L16 (error at get_formatter:60) else goto L11 :: bool -L11: - r15 = cast(dank_mids._web3.abi.Formatter, mapper) - if is_error(r15) goto L13 (error at get_formatter:61) else goto L12 -L12: - return r15 -L13: - r16 = :: dank_mids._web3.abi.Formatter - return r16 -L14: - dec_ref mapper - goto L6 -L15: - dec_ref mapper +L41: + r63 = PyObject_IsInstance(data, r61) + r64 = r63 >= 0 :: signed + if not r64 goto L55 (error at strip_abi_types:105) else goto L42 :: bool +L42: + r65 = truncate r63: i32 to builtins.bool + if r65 goto L43 else goto L69 :: bool +L43: + r66 = dank_mids._web3.abi.globals :: static + r67 = 'strip_abi_types' + r68 = CPyDict_GetItem(r66, r67) + if is_error(r68) goto L55 (error at strip_abi_types:106) else goto L44 +L44: + r69 = builtins :: module + r70 = 'map' + r71 = CPyObject_GetAttr(r69, r70) + if is_error(r71) goto L71 (error at strip_abi_types:106) else goto L45 +L45: + r72 = [r68, data] + r73 = load_address r72 + r74 = PyObject_Vectorcall(r71, r73, 2, 0) + dec_ref r71 + if is_error(r74) goto L71 (error at strip_abi_types:106) else goto L46 +L46: + dec_ref r68 + r75 = [r74] + r76 = load_address r75 + r77 = PyObject_Vectorcall(r0, r76, 1, 0) + dec_ref r0 + if is_error(r77) goto L72 (error at strip_abi_types:106) else goto L47 +L47: + dec_ref r74 + return r77 +L48: + r78 = dank_mids._web3.abi.ABITypedData :: type + r79 = get_element_ptr data ob_type :: PyObject + r80 = borrow load_mem r79 :: builtins.object* + r81 = r80 == r78 + if r81 goto L49 else goto L52 :: bool +L49: + r82 = borrow cast(dank_mids._web3.abi.ABITypedData, data) + if is_error(r82) goto L53 (error at strip_abi_types:108) else goto L50 +L50: + r83 = r82.data + if is_error(r83) goto L53 (error at strip_abi_types:108) else goto L51 +L51: + return r83 +L52: + inc_ref data + return data +L53: + r84 = :: object + return r84 +L54: + dec_ref r0 + goto L3 +L55: + dec_ref r0 + goto L53 +L56: + dec_ref r7 + goto L53 +L57: dec_ref r8 goto L8 -L16: - dec_ref mapper - goto L13 +L58: + dec_ref r7 + dec_ref r8 + goto L53 +L59: + dec_ref r0 + goto L11 +L60: + dec_ref r15 + goto L53 +L61: + dec_ref r15 + goto L18 +L62: + dec_ref r15 + dec_ref r18 + goto L53 +L63: + dec_ref r0 + goto L20 +L64: + dec_ref r0 + dec_ref r31 + goto L53 +L65: + dec_ref r36 + goto L31 +L66: + dec_ref r0 + dec_ref r31 + dec_ref r36 + goto L53 +L67: + dec_ref r0 + dec_ref r31 + dec_ref r36 + dec_ref r39 + goto L53 +L68: + dec_ref r47 + goto L53 +L69: + dec_ref r0 + goto L48 +L70: + dec_ref r0 + goto L39 +L71: + dec_ref r0 + dec_ref r68 + goto L53 +L72: + dec_ref r74 + goto L53 -def get_data_tree_map(func): - func :: object - r0 :: dict - r1 :: bool +def abi_sub_tree(abi_type, data_value): + abi_type :: union[object, None] + data_value, r0 :: object + r1 :: bit r2 :: object - r3, f :: union[dank_mids._web3.abi.map_to_typed_data, None] - r4 :: object - r5 :: bit - r6 :: dank_mids._web3.abi.map_to_typed_data - r7 :: dict - r8 :: bool + r3 :: tuple + r4 :: dict + r5 :: dank_mids._web3.abi.ABITypedData + r6 :: object + r7 :: str + r8 :: object r9 :: i32 r10 :: bit - r11, r12 :: dank_mids._web3.abi.map_to_typed_data + r11 :: bool + r12 :: object + r13 :: str + r14 :: object + r15 :: list + r16, r17 :: object + r18 :: dank_mids._web3.abi.ABITypedData + r19 :: i32 + r20, r21 :: bit + value_to_annotate :: list + r22 :: dict + r23 :: str + r24 :: object + r25 :: i32 + r26 :: bit + r27 :: bool + r28 :: object + r29 :: list + r30 :: object + r31 :: str + r32, r33, r34, r35, r36 :: object + r37 :: dank_mids._web3.abi.ABITypedData + r38 :: i32 + r39, r40, r41 :: bit + r42 :: object + r43 :: object[1] + r44 :: object_ptr + r45 :: object + r46, r47 :: list + r48 :: object + r49 :: str + r50 :: object[1] + r51 :: object_ptr + r52 :: object + r53 :: tuple + r54 :: dict + r55, r56 :: dank_mids._web3.abi.ABITypedData L0: - r0 = dank_mids._web3.abi._data_tree_maps :: static - if is_error(r0) goto L1 else goto L3 + r0 = load_address _Py_NoneStruct + r1 = abi_type == r0 + if r1 goto L1 else goto L5 :: bool L1: - r1 = raise NameError('value for final name "_data_tree_maps" was not set') - if not r1 goto L13 (error at get_data_tree_map:70) else goto L2 :: bool + r2 = box(None, 1) + r3 = PyTuple_Pack(2, r2, data_value) + if is_error(r3) goto L44 (error at abi_sub_tree:147) else goto L2 L2: - unreachable + r4 = PyDict_New() + if is_error(r4) goto L45 (error at abi_sub_tree:147) else goto L3 L3: - r2 = CPyDict_GetWithNone(r0, func) - if is_error(r2) goto L13 (error at get_data_tree_map:70) else goto L4 + r5 = ABITypedData(r3, r4) + dec_ref r3 + dec_ref r4 + if is_error(r5) goto L44 (error at abi_sub_tree:147) else goto L4 L4: - r3 = cast(union[dank_mids._web3.abi.map_to_typed_data, None], r2) - if is_error(r3) goto L13 (error at get_data_tree_map:70) else goto L5 + return r5 L5: - f = r3 - r4 = load_address _Py_NoneStruct - r5 = f == r4 - if r5 goto L14 else goto L11 :: bool + inc_ref abi_type + r6 = abi_type + r7 = 'is_array' + r8 = CPyObject_GetAttr(r6, r7) + dec_ref r6 + if is_error(r8) goto L44 (error at abi_sub_tree:151) else goto L6 L6: - r6 = map_to_typed_data(func) - if is_error(r6) goto L13 (error at get_data_tree_map:72) else goto L7 L7: - inc_ref r6 - f = r6 - r7 = dank_mids._web3.abi._data_tree_maps :: static - if is_error(r7) goto L15 else goto L10 + r9 = PyObject_IsTrue(r8) + dec_ref r8 + r10 = r9 >= 0 :: signed + if not r10 goto L44 (error at abi_sub_tree:-1) else goto L8 :: bool L8: - r8 = raise NameError('value for final name "_data_tree_maps" was not set') - if not r8 goto L13 (error at get_data_tree_map:72) else goto L9 :: bool + r11 = truncate r9: i32 to builtins.bool + if r11 goto L9 else goto L18 :: bool L9: - unreachable + inc_ref abi_type + r12 = abi_type + r13 = 'item_type' + r14 = CPyObject_GetAttr(r12, r13) + dec_ref r12 + if is_error(r14) goto L44 (error at abi_sub_tree:154) else goto L10 L10: - r9 = CPyDict_SetItem(r7, func, r6) - dec_ref r6 - r10 = r9 >= 0 :: signed - if not r10 goto L16 (error at get_data_tree_map:72) else goto L11 :: bool L11: - r11 = cast(dank_mids._web3.abi.map_to_typed_data, f) - if is_error(r11) goto L13 (error at get_data_tree_map:73) else goto L12 + r15 = PyList_New(0) + if is_error(r15) goto L46 (error at abi_sub_tree:155) else goto L12 L12: - return r11 + r16 = PyObject_GetIter(data_value) + if is_error(r16) goto L47 (error at abi_sub_tree:155) else goto L13 L13: - r12 = :: dank_mids._web3.abi.map_to_typed_data - return r12 + r17 = PyIter_Next(r16) + if is_error(r17) goto L48 else goto L14 L14: - dec_ref f - goto L6 + r18 = abi_sub_tree(r14, r17) + dec_ref r17 + if is_error(r18) goto L49 (error at abi_sub_tree:155) else goto L15 L15: - dec_ref f - dec_ref r6 - goto L8 + r19 = PyList_Append(r15, r18) + dec_ref r18 + r20 = r19 >= 0 :: signed + if not r20 goto L49 (error at abi_sub_tree:155) else goto L13 :: bool L16: - dec_ref f - goto L13 - -def map_to_typed_data.__init__(self, func): - self :: dank_mids._web3.abi.map_to_typed_data - func :: object -L0: - inc_ref func - self.func = func - return 1 - -def map_to_typed_data.__call__(self, elements): - self :: dank_mids._web3.abi.map_to_typed_data - elements, r0, r1 :: object - r2 :: bit - r3 :: object - r4 :: str - r5 :: object - r6 :: bit - r7 :: list - r8, r9 :: object - r10 :: object[1] - r11 :: object_ptr - r12 :: object - r13 :: i32 - r14, r15 :: bit - r16 :: object - r17 :: bit - r18 :: list - r19, r20 :: object - r21 :: object[1] - r22 :: object_ptr - r23 :: object - r24 :: i32 - r25, r26 :: bit - r27 :: tuple - r28 :: object - r29 :: bool - r30 :: i32 - r31 :: bit - r32 :: bool - r33 :: list - r34 :: str - r35 :: object[1] - r36 :: object_ptr - r37, r38, r39 :: object - r40 :: tuple[object, object] - r41, r42 :: object - r43 :: object[1] - r44 :: object_ptr - r45 :: object - r46 :: tuple[object, object] - r47 :: object - r48 :: i32 - r49, r50 :: bit + r21 = CPy_NoErrOccurred() + if not r21 goto L50 (error at abi_sub_tree:155) else goto L17 :: bool +L17: + value_to_annotate = r15 + goto L38 +L18: + r22 = dank_mids._web3.abi.globals :: static + r23 = 'TupleType' + r24 = CPyDict_GetItem(r22, r23) + if is_error(r24) goto L44 (error at abi_sub_tree:156) else goto L19 +L19: + r25 = PyObject_IsInstance(abi_type, r24) + dec_ref r24 + r26 = r25 >= 0 :: signed + if not r26 goto L44 (error at abi_sub_tree:156) else goto L20 :: bool +L20: + r27 = truncate r25: i32 to builtins.bool + if r27 goto L21 else goto L36 :: bool +L21: + r28 = CPy_TYPE(data_value) + r29 = PyList_New(0) + if is_error(r29) goto L51 (error at abi_sub_tree:159) else goto L22 +L22: + inc_ref abi_type + r30 = abi_type + r31 = 'components' + r32 = CPyObject_GetAttr(r30, r31) + dec_ref r30 + if is_error(r32) goto L52 (error at abi_sub_tree:161) else goto L23 +L23: +L24: + r33 = PyObject_GetIter(r32) + dec_ref r32 + if is_error(r33) goto L52 (error at abi_sub_tree:159) else goto L25 +L25: + r34 = PyObject_GetIter(data_value) + if is_error(r34) goto L53 (error at abi_sub_tree:159) else goto L26 +L26: + r35 = PyIter_Next(r33) + if is_error(r35) goto L54 else goto L27 +L27: + r36 = PyIter_Next(r34) + if is_error(r36) goto L55 else goto L28 +L28: + r37 = abi_sub_tree(r35, r36) + dec_ref r35 + dec_ref r36 + if is_error(r37) goto L56 (error at abi_sub_tree:160) else goto L29 +L29: + r38 = PyList_Append(r29, r37) + dec_ref r37 + r39 = r38 >= 0 :: signed + if not r39 goto L56 (error at abi_sub_tree:159) else goto L26 :: bool +L30: + r40 = CPy_NoErrOccurred() + if not r40 goto L52 (error at abi_sub_tree:159) else goto L31 :: bool +L31: + r41 = CPy_NoErrOccurred() + if not r41 goto L52 (error at abi_sub_tree:159) else goto L32 :: bool +L32: + r42 = PyObject_GetIter(r29) + dec_ref r29 + if is_error(r42) goto L51 (error at abi_sub_tree:159) else goto L33 +L33: + r43 = [r42] + r44 = load_address r43 + r45 = PyObject_Vectorcall(r28, r44, 1, 0) + dec_ref r28 + if is_error(r45) goto L57 (error at abi_sub_tree:159) else goto L34 +L34: + dec_ref r42 + r46 = cast(list, r45) + if is_error(r46) goto L44 (error at abi_sub_tree:159) else goto L35 +L35: + value_to_annotate = r46 + goto L38 +L36: + inc_ref data_value + r47 = cast(list, data_value) + if is_error(r47) goto L44 (error at abi_sub_tree:164) else goto L37 +L37: + value_to_annotate = r47 +L38: + inc_ref abi_type + r48 = abi_type + r49 = 'to_type_str' + r50 = [r48] + r51 = load_address r50 + r52 = PyObject_VectorcallMethod(r49, r51, 9223372036854775809, 0) + if is_error(r52) goto L58 (error at abi_sub_tree:166) else goto L39 +L39: + dec_ref r48 +L40: + r53 = PyTuple_Pack(2, r52, value_to_annotate) + dec_ref r52 + dec_ref value_to_annotate + if is_error(r53) goto L44 (error at abi_sub_tree:166) else goto L41 +L41: + r54 = PyDict_New() + if is_error(r54) goto L59 (error at abi_sub_tree:166) else goto L42 +L42: + r55 = ABITypedData(r53, r54) + dec_ref r53 + dec_ref r54 + if is_error(r55) goto L44 (error at abi_sub_tree:166) else goto L43 +L43: + return r55 +L44: + r56 = :: dank_mids._web3.abi.ABITypedData + return r56 +L45: + dec_ref r3 + goto L44 +L46: + dec_ref r14 + goto L44 +L47: + dec_ref r14 + dec_ref r15 + goto L44 +L48: + dec_ref r14 + dec_ref r16 + goto L16 +L49: + dec_ref r14 + dec_ref r15 + dec_ref r16 + goto L44 +L50: + dec_ref r15 + goto L44 +L51: + dec_ref r28 + goto L44 +L52: + dec_ref r28 + dec_ref r29 + goto L44 +L53: + dec_ref r28 + dec_ref r29 + dec_ref r33 + goto L44 +L54: + dec_ref r33 + dec_ref r34 + goto L30 +L55: + dec_ref r33 + dec_ref r34 + dec_ref r35 + goto L30 +L56: + dec_ref r28 + dec_ref r29 + dec_ref r33 + dec_ref r34 + goto L44 +L57: + dec_ref r42 + goto L44 +L58: + dec_ref value_to_annotate + dec_ref r48 + goto L44 +L59: + dec_ref r53 + goto L44 + +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 :: dict + r26, r27 :: object + r28 :: str + r29 :: dict + r30, r31 :: object + r32 :: str + r33 :: dict + r34 :: object + r35 :: str + r36 :: dict + r37 :: str + r38 :: object + r39 :: object[1] + r40 :: object_ptr + r41 :: object + r42 :: dict + r43 :: str + r44 :: i32 + r45 :: bit + r46 :: dict + r47 :: str + r48 :: object + r49 :: dict + r50 :: str r51 :: object - r52 :: object[1] - r53 :: object_ptr - r54, r55, r56, r57 :: object - r58 :: str - r59 :: object - r60 :: tuple[object, object, object] + r52 :: dict + r53 :: str + r54 :: object + r55 :: list + r56, r57, r58 :: ptr + r59 :: dict + r60 :: str r61 :: object - r62 :: i32 - r63 :: bit - r64 :: bool - r65 :: object - r66 :: bool - r67 :: i32 - r68 :: bit - r69 :: bool - r70 :: object - r71 :: str - r72 :: object - r73 :: object[2] - r74 :: object_ptr - r75 :: object - r76 :: object[1] - r77 :: object_ptr - r78, r79 :: object - r80 :: ptr - r81 :: object - r82 :: bit - r83 :: dank_mids._web3.abi.ABITypedData - r84 :: union[str, None] - r85 :: object - r86 :: bit - r87 :: dank_mids._web3.abi.ABITypedData - r88 :: str - r89 :: object - r90 :: tuple - r91 :: object - r92 :: tuple[str, object] - r93, r94, r95 :: object - r96 :: dank_mids._web3.abi.ABITypedData - r97 :: object + r62 :: dict + r63 :: str + r64 :: object + r65 :: dict + r66 :: str + r67 :: object + r68 :: tuple[object, object] + r69, r70 :: object + r71 :: tuple[list, object] + r72, r73 :: object + r74 :: dict + r75 :: str + r76 :: i32 + r77 :: bit + r78 :: dict + r79 :: str + r80 :: object + r81 :: dict + r82 :: str + r83 :: object + r84 :: dict + r85 :: str + r86, r87 :: object + r88 :: tuple[object, object] + r89, r90 :: object + r91 :: dict + r92 :: str + r93 :: object + r94 :: dict + r95 :: str + r96, r97 :: object + r98 :: tuple[object, object] + r99, r100 :: object + r101 :: tuple[object, object] + r102, r103 :: object + r104 :: dict + r105 :: str + r106 :: i32 + r107 :: bit + r108 :: dict + r109 :: str + r110 :: object + r111 :: dict + r112 :: str + r113 :: object + r114 :: dict + r115 :: str + r116 :: object + r117 :: list + r118, r119, r120 :: ptr + r121 :: dict + r122 :: str + r123 :: object + r124 :: dict + r125 :: str + r126 :: object + r127 :: dict + r128 :: str + r129 :: object + r130 :: tuple[object, object] + r131, r132 :: object + r133 :: tuple[list, object] + r134, r135 :: object + r136 :: dict + r137 :: str + r138 :: i32 + r139 :: bit + r140 :: object + r141 :: str + r142 :: object + r143 :: dict + r144 :: str + r145 :: i32 + r146 :: bit + r147 :: object + r148 :: str + r149 :: object + r150 :: dict + r151 :: str + r152 :: i32 + r153 :: bit + r154 :: dict + r155 :: str + r156 :: object + r157 :: str + r158 :: object + r159 :: dict + r160 :: str + r161 :: i32 + r162 :: bit + r163 :: object + r164 :: str + r165, r166 :: object + r167 :: bool + r168, r169, r170 :: str + r171 :: tuple + r172 :: i32 + r173 :: bit + r174 :: dict + r175 :: str + r176 :: i32 + r177 :: bit + r178, r179 :: dict + r180 :: str + r181 :: i32 + r182 :: bit + r183, r184 :: dict + r185 :: str + r186 :: i32 + r187 :: bit + r188 :: object + r189 :: str + r190, r191 :: object + r192 :: bool + r193, r194 :: str + r195 :: tuple + r196 :: i32 + r197 :: bit + r198 :: dict + r199 :: str + r200 :: i32 + r201 :: bit + r202 :: object + r203 :: str + r204, r205 :: object + r206 :: bool + r207, r208, r209 :: str + r210 :: tuple + r211 :: i32 + r212 :: bit + r213 :: dict + r214 :: str + r215 :: i32 + r216 :: bit + r217 :: dict + r218 :: tuple[] + r219 :: dict + r220, r221 :: object + r222 :: str + r223 :: i32 + r224 :: bit + r225 :: object + r226 :: str + r227 :: i32 + r228 :: bit + r229 :: str + r230 :: i32 + r231 :: bit + r232, r233 :: str + r234 :: i32 + r235 :: bit + r236, r237 :: str + r238 :: i32 + r239 :: bit + r240 :: dict + r241 :: str + r242, r243 :: object + r244 :: object[1] + r245 :: object_ptr + r246, r247 :: object + r248 :: str + r249 :: bit + r250 :: None L0: - r0 = CPy_TYPE(elements) - r1 = load_address PyList_Type - r2 = r0 == r1 - if r2 goto L61 else goto L1 :: bool + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool L1: - r3 = builtins :: module - r4 = 'map' - r5 = CPyObject_GetAttr(r3, r4) - if is_error(r5) goto L62 (error at __call__:83) else goto L2 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L78 (error at :-1) else goto L2 L2: - r6 = r0 == r5 - dec_ref r5 - if r6 goto L61 else goto L10 :: bool + builtins = r4 :: module + dec_ref r4 L3: - r7 = PyList_New(0) - if is_error(r7) goto L60 (error at __call__:84) else goto L4 + r5 = load_address typing :: module + r6 = [r5] + r7 = load_address r6 + r8 = [1] + r9 = load_address r8 + r10 = (('typing', 'typing', 'typing'),) + r11 = dank_mids._web3.abi.globals :: static + r12 = 'dank_mids\\_web3\\abi.py' + r13 = '' + r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) + if not r14 goto L78 else goto L4 :: bool L4: - r8 = PyObject_GetIter(elements) - if is_error(r8) goto L63 (error at __call__:84) else goto L5 + r15 = ('dataclass',) + r16 = 'dataclasses' + r17 = dank_mids._web3.abi.globals :: static + r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) + if is_error(r18) goto L78 (error at :2) else goto L5 L5: - r9 = PyIter_Next(r8) - if is_error(r9) goto L64 else goto L6 + dataclasses = r18 :: module + dec_ref r18 + r19 = ('Any', 'Callable', 'Dict', 'Final', 'List', 'Optional', 'Tuple', 'TypeVar', 'final') + r20 = 'typing' + r21 = dank_mids._web3.abi.globals :: static + r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) + if is_error(r22) goto L78 (error at :3) else goto L6 L6: - r10 = [r9] - r11 = load_address r10 - r12 = PyObject_Vectorcall(self, r11, 1, 0) - if is_error(r12) goto L65 (error at __call__:84) else goto L7 + typing = r22 :: module + dec_ref r22 + r23 = ('TypeStr',) + r24 = 'eth_typing' + r25 = dank_mids._web3.abi.globals :: static + r26 = CPyImport_ImportFromMany(r24, r23, r23, r25) + if is_error(r26) goto L78 (error at :5) else goto L7 L7: - dec_ref r9 - r13 = PyList_Append(r7, r12) - dec_ref r12 - r14 = r13 >= 0 :: signed - if not r14 goto L66 (error at __call__:84) else goto L5 :: bool + eth_typing = r26 :: module + dec_ref r26 + r27 = ('grammar',) + r28 = 'faster_eth_abi' + r29 = dank_mids._web3.abi.globals :: static + r30 = CPyImport_ImportFromMany(r28, r27, r27, r29) + if is_error(r30) goto L78 (error at :6) else goto L8 L8: - r15 = CPy_NoErrOccurred() - if not r15 goto L63 (error at __call__:84) else goto L9 :: bool + faster_eth_abi = r30 :: module + dec_ref r30 + r31 = ('ABIType', 'TupleType') + r32 = 'faster_eth_abi.grammar' + r33 = dank_mids._web3.abi.globals :: static + r34 = CPyImport_ImportFromMany(r32, r31, r31, r33) + if is_error(r34) goto L78 (error at :7) else goto L9 L9: - return r7 + faster_eth_abi.grammar = r34 :: module + dec_ref r34 + r35 = '_T' + r36 = dank_mids._web3.abi.globals :: static + r37 = 'TypeVar' + r38 = CPyDict_GetItem(r36, r37) + if is_error(r38) goto L78 (error at :10) else goto L10 L10: - r16 = load_address PyTuple_Type - r17 = r0 == r16 - if r17 goto L67 else goto L19 :: bool + r39 = [r35] + r40 = load_address r39 + r41 = PyObject_Vectorcall(r38, r40, 1, 0) + dec_ref r38 + if is_error(r41) goto L78 (error at :10) else goto L11 L11: - r18 = PyList_New(0) - if is_error(r18) goto L60 (error at __call__:86) else goto L12 + r42 = dank_mids._web3.abi.globals :: static + r43 = '_T' + r44 = CPyDict_SetItem(r42, r43, r41) + dec_ref r41 + r45 = r44 >= 0 :: signed + if not r45 goto L78 (error at :10) else goto L12 :: bool L12: - r19 = PyObject_GetIter(elements) - if is_error(r19) goto L68 (error at __call__:86) else goto L13 + r46 = dank_mids._web3.abi.globals :: static + r47 = 'Callable' + r48 = CPyDict_GetItem(r46, r47) + if is_error(r48) goto L78 (error at :13) else goto L13 L13: - r20 = PyIter_Next(r19) - if is_error(r20) goto L69 else goto L14 + r49 = dank_mids._web3.abi.globals :: static + r50 = 'TypeStr' + r51 = CPyDict_GetItem(r49, r50) + if is_error(r51) goto L79 (error at :13) else goto L14 L14: - r21 = [r20] - r22 = load_address r21 - r23 = PyObject_Vectorcall(self, r22, 1, 0) - if is_error(r23) goto L70 (error at __call__:86) else goto L15 + r52 = dank_mids._web3.abi.globals :: static + r53 = 'Any' + r54 = CPyDict_GetItem(r52, r53) + if is_error(r54) goto L80 (error at :13) else goto L15 L15: - dec_ref r20 - r24 = PyList_Append(r18, r23) - dec_ref r23 - r25 = r24 >= 0 :: signed - if not r25 goto L71 (error at __call__:86) else goto L13 :: bool + r55 = PyList_New(2) + if is_error(r55) goto L81 (error at :13) else goto L16 L16: - r26 = CPy_NoErrOccurred() - if not r26 goto L68 (error at __call__:86) else goto L17 :: bool + r56 = get_element_ptr r55 ob_item :: PyListObject + r57 = load_mem r56 :: ptr* + set_mem r57, r51 :: builtins.object* + r58 = r57 + 8 + set_mem r58, r54 :: builtins.object* + r59 = dank_mids._web3.abi.globals :: static + r60 = 'Tuple' + r61 = CPyDict_GetItem(r59, r60) + if is_error(r61) goto L82 (error at :13) else goto L17 L17: - r27 = PyList_AsTuple(r18) - dec_ref r18 - if is_error(r27) goto L60 (error at __call__:86) else goto L18 + r62 = dank_mids._web3.abi.globals :: static + r63 = 'TypeStr' + r64 = CPyDict_GetItem(r62, r63) + if is_error(r64) goto L83 (error at :13) else goto L18 L18: - return r27 + r65 = dank_mids._web3.abi.globals :: static + r66 = 'Any' + r67 = CPyDict_GetItem(r65, r66) + if is_error(r67) goto L84 (error at :13) else goto L19 L19: - r28 = dank_mids._web3.abi.Mapping :: static - if is_error(r28) goto L72 else goto L22 + r68 = (r64, r67) + r69 = box(tuple[object, object], r68) + r70 = PyObject_GetItem(r61, r69) + dec_ref r61 + dec_ref r69 + if is_error(r70) goto L82 (error at :13) else goto L20 L20: - r29 = raise NameError('value for final name "Mapping" was not set') - if not r29 goto L60 (error at __call__:87) else goto L21 :: bool + r71 = (r55, r70) + r72 = box(tuple[list, object], r71) + r73 = PyObject_GetItem(r48, r72) + dec_ref r48 + dec_ref r72 + if is_error(r73) goto L78 (error at :13) else goto L21 L21: - unreachable + r74 = dank_mids._web3.abi.globals :: static + r75 = 'Normalizer' + r76 = CPyDict_SetItem(r74, r75, r73) + dec_ref r73 + r77 = r76 >= 0 :: signed + if not r77 goto L78 (error at :13) else goto L22 :: bool L22: - r30 = PyObject_IsInstance(elements, r28) - r31 = r30 >= 0 :: signed - if not r31 goto L62 (error at __call__:87) else goto L23 :: bool + r78 = dank_mids._web3.abi.globals :: static + r79 = 'Tuple' + r80 = CPyDict_GetItem(r78, r79) + if is_error(r80) goto L78 (error at :14) else goto L23 L23: - r32 = truncate r30: i32 to builtins.bool - if r32 goto L24 else goto L35 :: bool + r81 = dank_mids._web3.abi.globals :: static + r82 = 'Tuple' + r83 = CPyDict_GetItem(r81, r82) + if is_error(r83) goto L85 (error at :14) else goto L24 L24: - r33 = PyList_New(0) - if is_error(r33) goto L62 (error at __call__:88) else goto L25 + r84 = dank_mids._web3.abi.globals :: static + r85 = 'Normalizer' + r86 = CPyDict_GetItem(r84, r85) + if is_error(r86) goto L86 (error at :14) else goto L25 L25: - r34 = 'items' - r35 = [elements] - r36 = load_address r35 - r37 = PyObject_VectorcallMethod(r34, r36, 9223372036854775809, 0) - if is_error(r37) goto L73 (error at __call__:88) else goto L26 + r87 = load_address _Py_EllipsisObject + inc_ref r87 + r88 = (r86, r87) + r89 = box(tuple[object, object], r88) + r90 = PyObject_GetItem(r83, r89) + dec_ref r83 + dec_ref r89 + if is_error(r90) goto L85 (error at :14) else goto L26 L26: - r38 = PyObject_GetIter(r37) - dec_ref r37 - if is_error(r38) goto L73 (error at __call__:88) else goto L27 + r91 = dank_mids._web3.abi.globals :: static + r92 = 'Tuple' + r93 = CPyDict_GetItem(r91, r92) + if is_error(r93) goto L87 (error at :14) else goto L27 L27: - r39 = PyIter_Next(r38) - if is_error(r39) goto L74 else goto L28 + r94 = dank_mids._web3.abi.globals :: static + r95 = 'TypeStr' + r96 = CPyDict_GetItem(r94, r95) + if is_error(r96) goto L88 (error at :14) else goto L28 L28: - r40 = unbox(tuple[object, object], r39) - dec_ref r39 - if is_error(r40) goto L75 (error at __call__:88) else goto L29 -L29: - r41 = r40[0] - r42 = r40[1] - dec_ref r40 - r43 = [r42] - r44 = load_address r43 - r45 = PyObject_Vectorcall(self, r44, 1, 0) - if is_error(r45) goto L76 (error at __call__:88) else goto L30 + r97 = load_address _Py_EllipsisObject + inc_ref r97 + r98 = (r96, r97) + r99 = box(tuple[object, object], r98) + r100 = PyObject_GetItem(r93, r99) + dec_ref r93 + dec_ref r99 + if is_error(r100) goto L87 (error at :14) else goto L29 +L29: + r101 = (r90, r100) + r102 = box(tuple[object, object], r101) + r103 = PyObject_GetItem(r80, r102) + dec_ref r80 + dec_ref r102 + if is_error(r103) goto L78 (error at :14) else goto L30 L30: - dec_ref r42 - r46 = (r41, r45) - r47 = box(tuple[object, object], r46) - r48 = PyList_Append(r33, r47) - dec_ref r47 - r49 = r48 >= 0 :: signed - if not r49 goto L75 (error at __call__:88) else goto L27 :: bool + r104 = dank_mids._web3.abi.globals :: static + r105 = 'MapperKey' + r106 = CPyDict_SetItem(r104, r105, r103) + dec_ref r103 + r107 = r106 >= 0 :: signed + if not r107 goto L78 (error at :14) else goto L31 :: bool L31: - r50 = CPy_NoErrOccurred() - if not r50 goto L73 (error at __call__:88) else goto L32 :: bool + r108 = dank_mids._web3.abi.globals :: static + r109 = 'Callable' + r110 = CPyDict_GetItem(r108, r109) + if is_error(r110) goto L78 (error at :15) else goto L32 L32: - r51 = PyObject_GetIter(r33) - dec_ref r33 - if is_error(r51) goto L62 (error at __call__:88) else goto L33 + r111 = dank_mids._web3.abi.globals :: static + r112 = 'TypeStr' + r113 = CPyDict_GetItem(r111, r112) + if is_error(r113) goto L89 (error at :15) else goto L33 L33: - r52 = [r51] - r53 = load_address r52 - r54 = PyObject_Vectorcall(r0, r53, 1, 0) - dec_ref r0 - if is_error(r54) goto L77 (error at __call__:88) else goto L34 + r114 = dank_mids._web3.abi.globals :: static + r115 = 'Any' + r116 = CPyDict_GetItem(r114, r115) + if is_error(r116) goto L90 (error at :15) else goto L34 L34: - dec_ref r51 - return r54 + r117 = PyList_New(2) + if is_error(r117) goto L91 (error at :15) else goto L35 L35: - r55 = load_address PyBytes_Type - r56 = load_address PyUnicode_Type - r57 = builtins :: module - r58 = 'bytearray' - r59 = CPyObject_GetAttr(r57, r58) - if is_error(r59) goto L62 (error at __call__:89) else goto L36 + r118 = get_element_ptr r117 ob_item :: PyListObject + r119 = load_mem r118 :: ptr* + set_mem r119, r113 :: builtins.object* + r120 = r119 + 8 + set_mem r120, r116 :: builtins.object* + r121 = dank_mids._web3.abi.globals :: static + r122 = 'Tuple' + r123 = CPyDict_GetItem(r121, r122) + if is_error(r123) goto L92 (error at :15) else goto L36 L36: - inc_ref r55 - inc_ref r56 - r60 = (r55, r56, r59) - r61 = box(tuple[object, object, object], r60) - r62 = PyObject_IsInstance(elements, r61) - dec_ref r61 - r63 = r62 >= 0 :: signed - if not r63 goto L62 (error at __call__:89) else goto L37 :: bool + r124 = dank_mids._web3.abi.globals :: static + r125 = 'TypeStr' + r126 = CPyDict_GetItem(r124, r125) + if is_error(r126) goto L93 (error at :15) else goto L37 L37: - r64 = truncate r62: i32 to builtins.bool - if r64 goto L78 else goto L38 :: bool + r127 = dank_mids._web3.abi.globals :: static + r128 = 'Any' + r129 = CPyDict_GetItem(r127, r128) + if is_error(r129) goto L94 (error at :15) else goto L38 L38: - r65 = dank_mids._web3.abi.Iterable :: static - if is_error(r65) goto L79 else goto L41 + r130 = (r126, r129) + r131 = box(tuple[object, object], r130) + r132 = PyObject_GetItem(r123, r131) + dec_ref r123 + dec_ref r131 + if is_error(r132) goto L92 (error at :15) else goto L39 L39: - r66 = raise NameError('value for final name "Iterable" was not set') - if not r66 goto L60 (error at __call__:89) else goto L40 :: bool + r133 = (r117, r132) + r134 = box(tuple[list, object], r133) + r135 = PyObject_GetItem(r110, r134) + dec_ref r110 + dec_ref r134 + if is_error(r135) goto L78 (error at :15) else goto L40 L40: - unreachable + r136 = dank_mids._web3.abi.globals :: static + r137 = 'DataTreeFunc' + r138 = CPyDict_SetItem(r136, r137, r135) + dec_ref r135 + r139 = r138 >= 0 :: signed + if not r139 goto L78 (error at :15) else goto L41 :: bool L41: - r67 = PyObject_IsInstance(elements, r65) - r68 = r67 >= 0 :: signed - if not r68 goto L62 (error at __call__:89) else goto L42 :: bool + r140 = typing :: module + r141 = 'Iterable' + r142 = CPyObject_GetAttr(r140, r141) + if is_error(r142) goto L78 (error at :19) else goto L42 L42: - r69 = truncate r67: i32 to builtins.bool - if r69 goto L43 else goto L78 :: bool + dank_mids._web3.abi.Iterable = r142 :: static + r143 = dank_mids._web3.abi.globals :: static + r144 = 'Iterable' + r145 = CPyDict_SetItem(r143, r144, r142) + dec_ref r142 + r146 = r145 >= 0 :: signed + if not r146 goto L78 (error at :19) else goto L43 :: bool L43: - r70 = builtins :: module - r71 = 'map' - r72 = CPyObject_GetAttr(r70, r71) - if is_error(r72) goto L62 (error at __call__:90) else goto L44 + r147 = typing :: module + r148 = 'Mapping' + r149 = CPyObject_GetAttr(r147, r148) + if is_error(r149) goto L78 (error at :20) else goto L44 L44: - r73 = [self, elements] - r74 = load_address r73 - r75 = PyObject_Vectorcall(r72, r74, 2, 0) - dec_ref r72 - if is_error(r75) goto L62 (error at __call__:90) else goto L45 + dank_mids._web3.abi.Mapping = r149 :: static + r150 = dank_mids._web3.abi.globals :: static + r151 = 'Mapping' + r152 = CPyDict_SetItem(r150, r151, r149) + dec_ref r149 + r153 = r152 >= 0 :: signed + if not r153 goto L78 (error at :20) else goto L45 :: bool L45: - r76 = [r75] - r77 = load_address r76 - r78 = PyObject_Vectorcall(r0, r77, 1, 0) - dec_ref r0 - if is_error(r78) goto L80 (error at __call__:90) else goto L46 + r154 = dank_mids._web3.abi.globals :: static + r155 = 'grammar' + r156 = CPyDict_GetItem(r154, r155) + if is_error(r156) goto L78 (error at :23) else goto L46 L46: - dec_ref r75 - return r78 + r157 = 'parse' + r158 = CPyObject_GetAttr(r156, r157) + dec_ref r156 + if is_error(r158) goto L78 (error at :23) else goto L47 L47: - r79 = dank_mids._web3.abi.ABITypedData :: type - r80 = get_element_ptr elements ob_type :: PyObject - r81 = borrow load_mem r80 :: builtins.object* - r82 = r81 == r79 - if r82 goto L48 else goto L59 :: bool + dank_mids._web3.abi.parse = r158 :: static + r159 = dank_mids._web3.abi.globals :: static + r160 = 'parse' + r161 = CPyDict_SetItem(r159, r160, r158) + dec_ref r158 + r162 = r161 >= 0 :: signed + if not r162 goto L78 (error at :23) else goto L48 :: bool L48: - r83 = borrow cast(dank_mids._web3.abi.ABITypedData, elements) - if is_error(r83) goto L60 (error at __call__:91) else goto L49 + r163 = :: object + r164 = 'dank_mids._web3.abi' + r165 = dank_mids._web3.abi.Formatter_template :: type + r166 = CPyType_FromTemplate(r165, r163, r164) + if is_error(r166) goto L78 (error at :27) else goto L49 L49: - r84 = borrow r83.abi_type - if is_error(r84) goto L60 (error at __call__:91) else goto L50 + r167 = Formatter_trait_vtable_setup() + if is_error(r167) goto L95 (error at :-1) else goto L50 L50: - r85 = load_address _Py_NoneStruct - r86 = r84 != r85 - if r86 goto L51 else goto L59 :: bool + r168 = '__mypyc_attrs__' + r169 = 'normalizers' + r170 = 'types' + r171 = PyTuple_Pack(2, r169, r170) + if is_error(r171) goto L95 (error at :27) else goto L51 L51: - inc_ref elements - r87 = cast(dank_mids._web3.abi.ABITypedData, elements) - if is_error(r87) goto L60 (error at __call__:92) else goto L52 + r172 = PyObject_SetAttr(r166, r168, r171) + dec_ref r171 + r173 = r172 >= 0 :: signed + if not r173 goto L95 (error at :27) else goto L52 :: bool L52: - r88 = 'func' - r89 = CPyObject_GetAttr(self, r88) - if is_error(r89) goto L81 (error at __call__:92) else goto L53 + dank_mids._web3.abi.Formatter = r166 :: type + r174 = dank_mids._web3.abi.globals :: static + r175 = 'Formatter' + r176 = PyDict_SetItem(r174, r175, r166) + dec_ref r166 + r177 = r176 >= 0 :: signed + if not r177 goto L78 (error at :27) else goto L53 :: bool L53: - r90 = PySequence_Tuple(r87) - dec_ref r87 - if is_error(r90) goto L82 (error at __call__:92) else goto L54 + r178 = PyDict_New() + if is_error(r178) goto L78 (error at :49) else goto L54 L54: - r91 = PyObject_CallObject(r89, r90) - dec_ref r89 - dec_ref r90 - if is_error(r91) goto L60 (error at __call__:92) else goto L55 + dank_mids._web3.abi._formatters = r178 :: static + r179 = dank_mids._web3.abi.globals :: static + r180 = '_formatters' + r181 = CPyDict_SetItem(r179, r180, r178) + dec_ref r178 + r182 = r181 >= 0 :: signed + if not r182 goto L78 (error at :49) else goto L55 :: bool L55: - r92 = unbox(tuple[str, object], r91) - dec_ref r91 - if is_error(r92) goto L60 (error at __call__:92) else goto L56 + r183 = PyDict_New() + if is_error(r183) goto L78 (error at :64) else goto L56 L56: - r93 = dank_mids._web3.abi.ABITypedData :: type - r94 = box(tuple[str, object], r92) - r95 = PyObject_CallObject(r93, r94) - dec_ref r94 - if is_error(r95) goto L60 (error at __call__:92) else goto L57 + dank_mids._web3.abi._data_tree_maps = r183 :: static + r184 = dank_mids._web3.abi.globals :: static + r185 = '_data_tree_maps' + r186 = CPyDict_SetItem(r184, r185, r183) + dec_ref r183 + r187 = r186 >= 0 :: signed + if not r187 goto L78 (error at :64) else goto L57 :: bool L57: - r96 = cast(dank_mids._web3.abi.ABITypedData, r95) - if is_error(r96) goto L60 (error at __call__:92) else goto L58 + r188 = :: object + r189 = 'dank_mids._web3.abi' + r190 = dank_mids._web3.abi.map_to_typed_data_template :: type + r191 = CPyType_FromTemplate(r190, r188, r189) + if is_error(r191) goto L78 (error at :77) else goto L58 L58: - return r96 + r192 = map_to_typed_data_trait_vtable_setup() + if is_error(r192) goto L96 (error at :-1) else goto L59 L59: - inc_ref elements - return elements + r193 = '__mypyc_attrs__' + r194 = 'func' + r195 = PyTuple_Pack(1, r194) + if is_error(r195) goto L96 (error at :77) else goto L60 L60: - r97 = :: object - return r97 + r196 = PyObject_SetAttr(r191, r193, r195) + dec_ref r195 + r197 = r196 >= 0 :: signed + if not r197 goto L96 (error at :77) else goto L61 :: bool L61: - dec_ref r0 - goto L3 + dank_mids._web3.abi.map_to_typed_data = r191 :: type + r198 = dank_mids._web3.abi.globals :: static + r199 = 'map_to_typed_data' + r200 = PyDict_SetItem(r198, r199, r191) + dec_ref r191 + r201 = r200 >= 0 :: signed + if not r201 goto L78 (error at :77) else goto L62 :: bool L62: - dec_ref r0 - goto L60 + r202 = :: object + r203 = 'dank_mids._web3.abi' + r204 = dank_mids._web3.abi.ABITypedData_template :: type + r205 = CPyType_FromTemplate(r204, r202, r203) + if is_error(r205) goto L78 (error at :118) else goto L63 L63: - dec_ref r7 - goto L60 + r206 = ABITypedData_trait_vtable_setup() + if is_error(r206) goto L97 (error at :-1) else goto L64 L64: - dec_ref r8 - goto L8 + r207 = '__mypyc_attrs__' + r208 = 'abi_type' + r209 = 'data' + r210 = PyTuple_Pack(2, r208, r209) + if is_error(r210) goto L97 (error at :118) else goto L65 L65: - dec_ref r7 - dec_ref r8 - dec_ref r9 - goto L60 + r211 = PyObject_SetAttr(r205, r207, r210) + dec_ref r210 + r212 = r211 >= 0 :: signed + if not r212 goto L97 (error at :118) else goto L66 :: bool L66: - dec_ref r7 - dec_ref r8 - goto L60 + dank_mids._web3.abi.ABITypedData = r205 :: type + r213 = dank_mids._web3.abi.globals :: static + r214 = 'ABITypedData' + r215 = PyDict_SetItem(r213, r214, r205) + r216 = r215 >= 0 :: signed + if not r216 goto L97 (error at :118) else goto L67 :: bool L67: - dec_ref r0 - goto L11 + r217 = PyDict_New() + if is_error(r217) goto L97 (error at :118) else goto L68 L68: - dec_ref r18 - goto L60 + r218 = () + r219 = PyDict_New() + if is_error(r219) goto L98 (error at :118) else goto L69 L69: - dec_ref r19 - goto L16 + r220 = load_address PyType_Type + r221 = load_address PyType_Type + r222 = 'abi_type' + r223 = PyDict_SetItem(r219, r222, r221) + r224 = r223 >= 0 :: signed + if not r224 goto L99 (error at :139) else goto L70 :: bool L70: - dec_ref r18 - dec_ref r19 - dec_ref r20 - goto L60 + r225 = load_address PyType_Type + r226 = 'data' + r227 = PyDict_SetItem(r219, r226, r225) + r228 = r227 >= 0 :: signed + if not r228 goto L99 (error at :140) else goto L71 :: bool L71: - dec_ref r18 - dec_ref r19 - goto L60 + r229 = '__annotations__' + r230 = CPyDict_SetItem(r217, r229, r219) + r231 = r230 >= 0 :: signed + if not r231 goto L99 (error at :118) else goto L72 :: bool L72: - dec_ref r0 - goto L20 + r232 = 'mypyc filler docstring' + r233 = '__doc__' + r234 = CPyDict_SetItem(r217, r233, r232) + r235 = r234 >= 0 :: signed + if not r235 goto L99 (error at :118) else goto L73 :: bool L73: - dec_ref r0 - dec_ref r33 - goto L60 + r236 = 'dank_mids._web3.abi' + r237 = '__module__' + r238 = CPyDict_SetItem(r217, r237, r236) + r239 = r238 >= 0 :: signed + if not r239 goto L99 (error at :118) else goto L74 :: bool L74: - dec_ref r38 - goto L31 + r240 = dank_mids._web3.abi.globals :: static + r241 = 'dataclass' + r242 = CPyDict_GetItem(r240, r241) + if is_error(r242) goto L99 (error at :117) else goto L75 L75: - dec_ref r0 - dec_ref r33 - dec_ref r38 - goto L60 + r243 = box(bool, 1) + r244 = [r243] + r245 = load_address r244 + r246 = ('frozen',) + r247 = PyObject_Vectorcall(r242, r245, 0, r246) + dec_ref r242 + if is_error(r247) goto L99 (error at :117) else goto L76 L76: - dec_ref r0 - dec_ref r33 - dec_ref r38 - dec_ref r41 - dec_ref r42 - goto L60 + r248 = 'dataclasses' + r249 = CPyDataclass_SleightOfHand(r247, r205, r217, r219, r248) + dec_ref r247 + dec_ref r205 + dec_ref r217 + dec_ref r219 + if not r249 goto L78 (error at :118) else goto L77 :: bool L77: - dec_ref r51 - goto L60 + return 1 L78: - dec_ref r0 - goto L47 + r250 = :: None + return r250 L79: - dec_ref r0 - goto L39 + dec_ref r48 + goto L78 L80: - dec_ref r75 - goto L60 + dec_ref r48 + dec_ref r51 + goto L78 L81: - dec_ref r87 - goto L60 + dec_ref r48 + dec_ref r51 + dec_ref r54 + goto L78 L82: - dec_ref r89 - goto L60 - -def strip_abi_types(data): - data, r0, r1 :: object - r2 :: bit - r3 :: object - r4 :: str - r5 :: object - r6 :: bit - r7 :: list - r8, r9, r10 :: object - r11 :: i32 - r12, r13, r14 :: bit - r15 :: tuple - r16 :: ptr - r17 :: native_int - r18 :: tuple - r19 :: ptr - r20, r21 :: native_int - r22 :: bit - r23, r24 :: object - r25 :: native_int - r26 :: object - r27 :: bool - r28 :: i32 - r29 :: bit - r30 :: bool - r31 :: list - r32 :: str - r33 :: object[1] - r34 :: object_ptr - r35, r36, r37 :: object - r38 :: tuple[object, object] - r39, r40, r41 :: object - r42 :: tuple[object, object] - r43 :: object - r44 :: i32 - r45, r46 :: bit - r47 :: object - r48 :: object[1] - r49 :: object_ptr - r50, r51, r52, r53 :: object - r54 :: str - r55 :: object - r56 :: tuple[object, object, object] - r57 :: object - r58 :: i32 - r59 :: bit - r60 :: bool - r61 :: object - r62 :: bool - r63 :: i32 - r64 :: bit - r65 :: bool - r66 :: dict - r67 :: str - r68, r69 :: object - r70 :: str - r71 :: object - r72 :: object[2] - r73 :: object_ptr - r74 :: object - r75 :: object[1] - r76 :: object_ptr - r77, r78 :: object - r79 :: ptr - r80 :: object - r81 :: bit - r82 :: dank_mids._web3.abi.ABITypedData - r83, r84 :: object + dec_ref r48 + dec_ref r55 + goto L78 +L83: + dec_ref r48 + dec_ref r55 + dec_ref r61 + goto L78 +L84: + dec_ref r48 + dec_ref r55 + dec_ref r61 + dec_ref r64 + goto L78 +L85: + dec_ref r80 + goto L78 +L86: + dec_ref r80 + dec_ref r83 + goto L78 +L87: + dec_ref r80 + dec_ref r90 + goto L78 +L88: + dec_ref r80 + dec_ref r90 + dec_ref r93 + goto L78 +L89: + dec_ref r110 + goto L78 +L90: + dec_ref r110 + dec_ref r113 + goto L78 +L91: + dec_ref r110 + dec_ref r113 + dec_ref r116 + goto L78 +L92: + dec_ref r110 + dec_ref r117 + goto L78 +L93: + dec_ref r110 + dec_ref r117 + dec_ref r123 + goto L78 +L94: + dec_ref r110 + dec_ref r117 + dec_ref r123 + dec_ref r126 + goto L78 +L95: + dec_ref r166 + goto L78 +L96: + dec_ref r191 + goto L78 +L97: + dec_ref r205 + goto L78 +L98: + dec_ref r205 + dec_ref r217 + goto L78 +L99: + dec_ref r205 + dec_ref r217 + dec_ref r219 + goto L78 + +def __init____RequestBase_obj.__get__(__mypyc_self__, instance, owner): + __mypyc_self__, instance, owner, r0 :: object + r1 :: bit + r2, r3 :: object L0: - r0 = CPy_TYPE(data) - r1 = load_address PyList_Type - r2 = r0 == r1 - if r2 goto L54 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 = 'map' - r5 = CPyObject_GetAttr(r3, r4) - if is_error(r5) goto L55 (error at strip_abi_types:99) else goto L2 + inc_ref __mypyc_self__ + return __mypyc_self__ L2: - r6 = r0 == r5 - dec_ref r5 - if r6 goto L54 else goto L10 :: bool + r2 = PyMethod_New(__mypyc_self__, instance) + if is_error(r2) goto L4 else goto L3 L3: - r7 = PyList_New(0) - if is_error(r7) goto L53 (error at strip_abi_types:100) else goto L4 + return r2 L4: - r8 = PyObject_GetIter(data) - if is_error(r8) goto L56 (error at strip_abi_types:100) else goto L5 + r3 = :: object + return r3 + +def __init____RequestBase_obj.__call__(__mypyc_self__, self, controller, uid): + __mypyc_self__ :: dank_mids._requests.base.__init____RequestBase_obj + self :: dank_mids._requests.base._RequestBase + controller :: object + uid :: union[str, None] + r0 :: object + r1 :: str + r2 :: i32 + r3 :: bit + r4 :: object + r5 :: bit + r6 :: str + r7 :: object + r8 :: dank_mids._uid.UIDGenerator + r9 :: int + r10 :: object + r11 :: union[int, str] + r12, r13 :: str + r14 :: i32 + r15 :: bit + r16 :: str + r17 :: object + r18 :: i32 + r19 :: bit + r20 :: str + r21 :: object + r22 :: dict + r23 :: str + r24 :: object + r25 :: object[2] + r26 :: object_ptr + r27 :: object + r28 :: str + r29 :: i32 + r30 :: bit + r31 :: None +L0: + if is_error(uid) goto L1 else goto L18 +L1: + r0 = box(None, 1) + inc_ref r0 + uid = r0 +L2: + r1 = 'controller' + r2 = PyObject_SetAttr(self, r1, controller) + r3 = r2 >= 0 :: signed + if not r3 goto L19 (error at __init__:26) else goto L3 :: bool +L3: + r4 = load_address _Py_NoneStruct + r5 = uid == r4 + if r5 goto L20 else goto L8 :: bool +L4: + r6 = 'call_uid' + r7 = CPyObject_GetAttr(controller, r6) + if is_error(r7) goto L17 (error at __init__:29) else goto L5 L5: - r9 = PyIter_Next(r8) - if is_error(r9) goto L57 else goto L6 + r8 = cast(dank_mids._uid.UIDGenerator, r7) + if is_error(r8) goto L17 (error at __init__:29) else goto L6 L6: - r10 = strip_abi_types(r9) - dec_ref r9 - if is_error(r10) goto L58 (error at strip_abi_types:100) else goto L7 + r9 = r8.next + dec_ref r8 + if is_error(r9) goto L17 (error at __init__:29) else goto L7 L7: - r11 = PyList_Append(r7, r10) - dec_ref r10 - r12 = r11 >= 0 :: signed - if not r12 goto L58 (error at strip_abi_types:100) else goto L5 :: bool + r10 = box(int, r9) + r11 = r10 + goto L10 L8: - r13 = CPy_NoErrOccurred() - if not r13 goto L56 (error at strip_abi_types:100) else goto L9 :: bool + r12 = cast(str, uid) + if is_error(r12) goto L17 (error at __init__:29) else goto L9 L9: - return r7 + r11 = r12 L10: - r14 = PyTuple_Check(data) - if r14 goto L59 else goto L19 :: bool + r13 = 'uid' + r14 = PyObject_SetAttr(self, r13, r11) + dec_ref r11 + r15 = r14 >= 0 :: signed + if not r15 goto L17 (error at __init__:29) else goto L11 :: bool L11: - inc_ref data - r15 = cast(tuple, data) - if is_error(r15) goto L53 (error at strip_abi_types:102) else goto L12 + r16 = '_batch' + r17 = box(None, 1) + r18 = PyObject_SetAttr(self, r16, r17) + r19 = r18 >= 0 :: signed + if not r19 goto L17 (error at __init__:32) else goto L12 :: bool L12: - r16 = get_element_ptr r15 ob_size :: PyVarObject - r17 = load_mem r16 :: native_int* - r18 = PyTuple_New(r17) - if is_error(r18) goto L60 (error at strip_abi_types:102) else goto L13 + r20 = '_loop' + r21 = CPyObject_GetAttr(controller, r20) + if is_error(r21) goto L17 (error at __init__:33) else goto L13 L13: - r19 = get_element_ptr r15 ob_size :: PyVarObject - r20 = load_mem r19 :: native_int* - r21 = 0 + r22 = dank_mids._requests.base.globals :: static + r23 = 'DebuggableFuture' + r24 = CPyDict_GetItem(r22, r23) + if is_error(r24) goto L21 (error at __init__:33) else goto L14 L14: - r22 = r21 < r20 :: signed - if r22 goto L15 else goto L61 :: bool + r25 = [self, r21] + r26 = load_address r25 + r27 = PyObject_Vectorcall(r24, r26, 2, 0) + dec_ref r24 + if is_error(r27) goto L21 (error at __init__:33) else goto L15 L15: - r23 = CPySequenceTuple_GetItemUnsafe(r15, r21) - r24 = strip_abi_types(r23) - dec_ref r23 - if is_error(r24) goto L62 (error at strip_abi_types:102) else goto L16 + dec_ref r21 + r28 = '_fut' + r29 = PyObject_SetAttr(self, r28, r27) + dec_ref r27 + r30 = r29 >= 0 :: signed + if not r30 goto L17 (error at __init__:33) else goto L16 :: bool L16: - CPySequenceTuple_SetItemUnsafe(r18, r21, r24) + return 1 L17: - r25 = r21 + 1 - r21 = r25 - goto L14 + r31 = :: None + return r31 L18: - return r18 + inc_ref uid + goto L2 L19: - r26 = dank_mids._web3.abi.Mapping :: static - if is_error(r26) goto L63 else goto L22 + dec_ref uid + goto L17 L20: - r27 = raise NameError('value for final name "Mapping" was not set') - if not r27 goto L53 (error at strip_abi_types:103) else goto L21 :: bool + dec_ref uid + goto L4 L21: + dec_ref r21 + goto L17 + +def __await____RequestBase_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 __await____RequestBase_obj.__call__(__mypyc_self__, self): + __mypyc_self__ :: dank_mids._requests.base.__await____RequestBase_obj + self :: dank_mids._requests.base._RequestBase + r0 :: str + r1 :: object[1] + r2 :: object_ptr + r3 :: object + r4 :: str + r5 :: object[1] + r6 :: object_ptr + r7, r8 :: object +L0: + r0 = 'get_response' + r1 = [self] + r2 = load_address r1 + r3 = PyObject_VectorcallMethod(r0, r2, 9223372036854775809, 0) + if is_error(r3) goto L3 (error at __await__:36) else goto L1 +L1: + r4 = '__await__' + r5 = [r3] + r6 = load_address r5 + r7 = PyObject_VectorcallMethod(r4, r6, 9223372036854775809, 0) + if is_error(r7) goto L4 (error at __await__:36) else goto L2 +L2: + dec_ref r3 + return r7 +L3: + r8 = :: object + return r8 +L4: + dec_ref r3 + goto L3 + +def __len____RequestBase_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 __len____RequestBase_obj.__call__(__mypyc_self__, self): + __mypyc_self__ :: dank_mids._requests.base.__len____RequestBase_obj + self :: dank_mids._requests.base._RequestBase + r0 :: object + r1 :: str + r2 :: object + r3 :: int +L0: + r0 = builtins :: module + r1 = 'NotImplementedError' + r2 = CPyObject_GetAttr(r0, r1) + if is_error(r2) goto L3 (error at __len__:41) else goto L1 +L1: + CPy_Raise(r2) + dec_ref r2 + if not 0 goto L3 (error at __len__:41) else goto L2 :: bool +L2: unreachable -L22: - r28 = PyObject_IsInstance(data, r26) - r29 = r28 >= 0 :: signed - if not r29 goto L55 (error at strip_abi_types:103) else goto L23 :: bool -L23: - r30 = truncate r28: i32 to builtins.bool - if r30 goto L24 else goto L35 :: bool -L24: - r31 = PyList_New(0) - if is_error(r31) goto L55 (error at strip_abi_types:104) else goto L25 -L25: - r32 = 'items' - r33 = [data] - r34 = load_address r33 - r35 = PyObject_VectorcallMethod(r32, r34, 9223372036854775809, 0) - if is_error(r35) goto L64 (error at strip_abi_types:104) else goto L26 -L26: - r36 = PyObject_GetIter(r35) - dec_ref r35 - if is_error(r36) goto L64 (error at strip_abi_types:104) else goto L27 -L27: - r37 = PyIter_Next(r36) - if is_error(r37) goto L65 else goto L28 -L28: - r38 = unbox(tuple[object, object], r37) - dec_ref r37 - if is_error(r38) goto L66 (error at strip_abi_types:104) else goto L29 -L29: - r39 = r38[0] - r40 = r38[1] - dec_ref r38 - r41 = strip_abi_types(r40) - dec_ref r40 - if is_error(r41) goto L67 (error at strip_abi_types:104) else goto L30 -L30: - r42 = (r39, r41) - r43 = box(tuple[object, object], r42) - r44 = PyList_Append(r31, r43) - dec_ref r43 - r45 = r44 >= 0 :: signed - if not r45 goto L66 (error at strip_abi_types:104) else goto L27 :: bool -L31: - r46 = CPy_NoErrOccurred() - if not r46 goto L64 (error at strip_abi_types:104) else goto L32 :: bool -L32: - r47 = PyObject_GetIter(r31) - dec_ref r31 - if is_error(r47) goto L55 (error at strip_abi_types:104) else goto L33 -L33: - r48 = [r47] - r49 = load_address r48 - r50 = PyObject_Vectorcall(r0, r49, 1, 0) - dec_ref r0 - if is_error(r50) goto L68 (error at strip_abi_types:104) else goto L34 -L34: - dec_ref r47 - return r50 -L35: - r51 = load_address PyBytes_Type - r52 = load_address PyUnicode_Type - r53 = builtins :: module - r54 = 'bytearray' - r55 = CPyObject_GetAttr(r53, r54) - if is_error(r55) goto L55 (error at strip_abi_types:105) else goto L36 -L36: - inc_ref r51 - inc_ref r52 - r56 = (r51, r52, r55) - r57 = box(tuple[object, object, object], r56) - r58 = PyObject_IsInstance(data, r57) - dec_ref r57 - r59 = r58 >= 0 :: signed - if not r59 goto L55 (error at strip_abi_types:105) else goto L37 :: bool -L37: - r60 = truncate r58: i32 to builtins.bool - if r60 goto L69 else goto L38 :: bool -L38: - r61 = dank_mids._web3.abi.Iterable :: static - if is_error(r61) goto L70 else goto L41 -L39: - r62 = raise NameError('value for final name "Iterable" was not set') - if not r62 goto L53 (error at strip_abi_types:105) else goto L40 :: bool -L40: +L3: + r3 = :: int + return r3 + +def get_response__RequestBase_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 get_response__RequestBase_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): + __mypyc_self__ :: dank_mids._requests.base.get_response__RequestBase_gen + type, value, traceback, arg :: object + stop_iter_ptr :: object_ptr + r0 :: i32 + r1 :: object + r2 :: bit + r3 :: object + r4 :: str + r5 :: object + r6 :: bit + r7 :: bool + r8 :: object +L0: + r0 = __mypyc_self__.__mypyc_next_label__ + goto L7 +L1: + r1 = load_address _Py_NoneStruct + r2 = type != r1 + if r2 goto L2 else goto L4 :: bool +L2: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L10 (error at get_response:43) else goto L3 :: bool +L3: unreachable -L41: - r63 = PyObject_IsInstance(data, r61) - r64 = r63 >= 0 :: signed - if not r64 goto L55 (error at strip_abi_types:105) else goto L42 :: bool -L42: - r65 = truncate r63: i32 to builtins.bool - if r65 goto L43 else goto L69 :: bool -L43: - r66 = dank_mids._web3.abi.globals :: static - r67 = 'strip_abi_types' - r68 = CPyDict_GetItem(r66, r67) - if is_error(r68) goto L55 (error at strip_abi_types:106) else goto L44 -L44: - r69 = builtins :: module - r70 = 'map' - r71 = CPyObject_GetAttr(r69, r70) - if is_error(r71) goto L71 (error at strip_abi_types:106) else goto L45 -L45: - r72 = [r68, data] - r73 = load_address r72 - r74 = PyObject_Vectorcall(r71, r73, 2, 0) - dec_ref r71 - if is_error(r74) goto L71 (error at strip_abi_types:106) else goto L46 -L46: - dec_ref r68 - r75 = [r74] - r76 = load_address r75 - r77 = PyObject_Vectorcall(r0, r76, 1, 0) - dec_ref r0 - if is_error(r77) goto L72 (error at strip_abi_types:106) else goto L47 -L47: - dec_ref r74 - return r77 -L48: - r78 = dank_mids._web3.abi.ABITypedData :: type - r79 = get_element_ptr data ob_type :: PyObject - r80 = borrow load_mem r79 :: builtins.object* - r81 = r80 == r78 - if r81 goto L49 else goto L52 :: bool -L49: - r82 = borrow cast(dank_mids._web3.abi.ABITypedData, data) - if is_error(r82) goto L53 (error at strip_abi_types:108) else goto L50 -L50: - r83 = r82.data - if is_error(r83) goto L53 (error at strip_abi_types:108) else goto L51 -L51: - return r83 -L52: - inc_ref data - return data -L53: - r84 = :: object - return r84 -L54: - dec_ref r0 - goto L3 -L55: - dec_ref r0 - goto L53 -L56: - dec_ref r7 - goto L53 -L57: - dec_ref r8 - goto L8 -L58: - dec_ref r7 - dec_ref r8 - goto L53 -L59: - dec_ref r0 - goto L11 -L60: - dec_ref r15 - goto L53 -L61: - dec_ref r15 - goto L18 -L62: - dec_ref r15 - dec_ref r18 - goto L53 -L63: - dec_ref r0 - goto L20 -L64: - dec_ref r0 - dec_ref r31 - goto L53 -L65: - dec_ref r36 - goto L31 -L66: - dec_ref r0 - dec_ref r31 - dec_ref r36 - goto L53 -L67: - dec_ref r0 - dec_ref r31 - dec_ref r36 - dec_ref r39 - goto L53 -L68: - dec_ref r47 - goto L53 -L69: - dec_ref r0 - goto L48 -L70: - dec_ref r0 - goto L39 -L71: - dec_ref r0 - dec_ref r68 - goto L53 -L72: - dec_ref r74 - goto L53 +L4: + r3 = builtins :: module + r4 = 'NotImplementedError' + r5 = CPyObject_GetAttr(r3, r4) + if is_error(r5) goto L10 (error at get_response:44) else goto L5 +L5: + CPy_Raise(r5) + dec_ref r5 + if not 0 goto L10 (error at get_response:44) else goto L6 :: bool +L6: + unreachable +L7: + r6 = r0 == 0 + if r6 goto L1 else goto L8 :: bool +L8: + r7 = raise StopIteration + if not r7 goto L10 (error at get_response:43) else goto L9 :: bool +L9: + unreachable +L10: + r8 = :: object + return r8 + +def get_response__RequestBase_gen.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids._requests.base.get_response__RequestBase_gen + r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = get_response__RequestBase_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def get_response__RequestBase_gen.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids._requests.base.get_response__RequestBase_gen + arg, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = get_response__RequestBase_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 -def abi_sub_tree(abi_type, data_value): - abi_type :: union[object, None] - data_value, r0 :: object - r1 :: bit - r2 :: object - r3 :: tuple - r4 :: dict - r5 :: dank_mids._web3.abi.ABITypedData - r6 :: object - r7 :: str - r8 :: object - r9 :: i32 - r10 :: bit - r11 :: bool - r12 :: object - r13 :: str - r14 :: object - r15 :: list - r16, r17 :: object - r18 :: dank_mids._web3.abi.ABITypedData - r19 :: i32 - r20, r21 :: bit - value_to_annotate :: list - r22 :: dict - r23 :: str - r24 :: object - r25 :: i32 - r26 :: bit - r27 :: bool - r28 :: object - r29 :: list - r30 :: object - r31 :: str - r32, r33, r34, r35, r36 :: object - r37 :: dank_mids._web3.abi.ABITypedData - r38 :: i32 - r39, r40, r41 :: bit - r42 :: object - r43 :: object[1] - r44 :: object_ptr - r45 :: object - r46, r47 :: list - r48 :: object - r49 :: str - r50 :: object[1] - r51 :: object_ptr - r52 :: object - r53 :: tuple - r54 :: dict - r55, r56 :: dank_mids._web3.abi.ABITypedData +def get_response__RequestBase_gen.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids._requests.base.get_response__RequestBase_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def get_response__RequestBase_gen.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids._requests.base.get_response__RequestBase_gen + type, value, traceback, r0, r1, r2 :: object L0: r0 = load_address _Py_NoneStruct - r1 = abi_type == r0 - if r1 goto L1 else goto L5 :: bool + if is_error(value) goto L1 else goto L7 L1: - r2 = box(None, 1) - r3 = PyTuple_Pack(2, r2, data_value) - if is_error(r3) goto L44 (error at abi_sub_tree:147) else goto L2 + inc_ref r0 + value = r0 L2: - r4 = PyDict_New() - if is_error(r4) goto L45 (error at abi_sub_tree:147) else goto L3 + if is_error(traceback) goto L3 else goto L8 L3: - r5 = ABITypedData(r3, r4) - dec_ref r3 - dec_ref r4 - if is_error(r5) goto L44 (error at abi_sub_tree:147) else goto L4 + inc_ref r0 + traceback = r0 L4: - return r5 + r1 = get_response__RequestBase_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) + dec_ref value + dec_ref traceback + if is_error(r1) goto L6 else goto L5 L5: - inc_ref abi_type - r6 = abi_type - r7 = 'is_array' - r8 = CPyObject_GetAttr(r6, r7) + return r1 +L6: + r2 = :: object + return r2 +L7: + inc_ref value + goto L2 +L8: + inc_ref traceback + goto L4 + +def get_response__RequestBase_gen.close(__mypyc_self__): + __mypyc_self__ :: dank_mids._requests.base.get_response__RequestBase_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 - if is_error(r8) goto L44 (error at abi_sub_tree:151) else goto L6 + r13 = load_address _Py_NoneStruct + inc_ref r13 + return r13 L6: + CPy_Reraise() + if not 0 goto L10 else goto L7 :: bool L7: - r9 = PyObject_IsTrue(r8) - dec_ref r8 - r10 = r9 >= 0 :: signed - if not r10 goto L44 (error at abi_sub_tree:-1) else goto L8 :: bool + unreachable L8: - r11 = truncate r9: i32 to builtins.bool - if r11 goto L9 else goto L18 :: bool + r14 = raise RuntimeError('generator ignored GeneratorExit') + if not r14 goto L10 else goto L9 :: bool L9: - inc_ref abi_type - r12 = abi_type - r13 = 'item_type' - r14 = CPyObject_GetAttr(r12, r13) - dec_ref r12 - if is_error(r14) goto L44 (error at abi_sub_tree:154) else goto L10 + unreachable L10: + r15 = :: object + return r15 L11: - r15 = PyList_New(0) - if is_error(r15) goto L46 (error at abi_sub_tree:155) else goto L12 + dec_ref r2 + dec_ref r5 + goto L8 L12: - r16 = PyObject_GetIter(data_value) - if is_error(r16) goto L47 (error at abi_sub_tree:155) else goto L13 + dec_ref r2 + dec_ref r6 + goto L10 L13: - r17 = PyIter_Next(r16) - if is_error(r17) goto L48 else goto L14 -L14: - r18 = abi_sub_tree(r14, r17) - dec_ref r17 - if is_error(r18) goto L49 (error at abi_sub_tree:155) else goto L15 -L15: - r19 = PyList_Append(r15, r18) - dec_ref r18 - r20 = r19 >= 0 :: signed - if not r20 goto L49 (error at abi_sub_tree:155) else goto L13 :: bool -L16: - r21 = CPy_NoErrOccurred() - if not r21 goto L50 (error at abi_sub_tree:155) else goto L17 :: bool -L17: - value_to_annotate = r15 - goto L38 -L18: - r22 = dank_mids._web3.abi.globals :: static - r23 = 'TupleType' - r24 = CPyDict_GetItem(r22, r23) - if is_error(r24) goto L44 (error at abi_sub_tree:156) else goto L19 -L19: - r25 = PyObject_IsInstance(abi_type, r24) - dec_ref r24 - r26 = r25 >= 0 :: signed - if not r26 goto L44 (error at abi_sub_tree:156) else goto L20 :: bool -L20: - r27 = truncate r25: i32 to builtins.bool - if r27 goto L21 else goto L36 :: bool -L21: - r28 = CPy_TYPE(data_value) - r29 = PyList_New(0) - if is_error(r29) goto L51 (error at abi_sub_tree:159) else goto L22 -L22: - inc_ref abi_type - r30 = abi_type - r31 = 'components' - r32 = CPyObject_GetAttr(r30, r31) - dec_ref r30 - if is_error(r32) goto L52 (error at abi_sub_tree:161) else goto L23 -L23: -L24: - r33 = PyObject_GetIter(r32) - dec_ref r32 - if is_error(r33) goto L52 (error at abi_sub_tree:159) else goto L25 -L25: - r34 = PyObject_GetIter(data_value) - if is_error(r34) goto L53 (error at abi_sub_tree:159) else goto L26 -L26: - r35 = PyIter_Next(r33) - if is_error(r35) goto L54 else goto L27 -L27: - r36 = PyIter_Next(r34) - if is_error(r36) goto L55 else goto L28 -L28: - r37 = abi_sub_tree(r35, r36) - dec_ref r35 - dec_ref r36 - if is_error(r37) goto L56 (error at abi_sub_tree:160) else goto L29 -L29: - r38 = PyList_Append(r29, r37) - dec_ref r37 - r39 = r38 >= 0 :: signed - if not r39 goto L56 (error at abi_sub_tree:159) else goto L26 :: bool -L30: - r40 = CPy_NoErrOccurred() - if not r40 goto L52 (error at abi_sub_tree:159) else goto L31 :: bool -L31: - r41 = CPy_NoErrOccurred() - if not r41 goto L52 (error at abi_sub_tree:159) else goto L32 :: bool -L32: - r42 = PyObject_GetIter(r29) - dec_ref r29 - if is_error(r42) goto L51 (error at abi_sub_tree:159) else goto L33 -L33: - r43 = [r42] - r44 = load_address r43 - r45 = PyObject_Vectorcall(r28, r44, 1, 0) - dec_ref r28 - if is_error(r45) goto L57 (error at abi_sub_tree:159) else goto L34 -L34: - dec_ref r42 - r46 = cast(list, r45) - if is_error(r46) goto L44 (error at abi_sub_tree:159) else goto L35 -L35: - value_to_annotate = r46 - goto L38 -L36: - inc_ref data_value - r47 = cast(list, data_value) - if is_error(r47) goto L44 (error at abi_sub_tree:164) else goto L37 -L37: - value_to_annotate = r47 -L38: - inc_ref abi_type - r48 = abi_type - r49 = 'to_type_str' - r50 = [r48] - r51 = load_address r50 - r52 = PyObject_VectorcallMethod(r49, r51, 9223372036854775809, 0) - if is_error(r52) goto L58 (error at abi_sub_tree:166) else goto L39 -L39: - dec_ref r48 -L40: - r53 = PyTuple_Pack(2, r52, value_to_annotate) - dec_ref r52 - dec_ref value_to_annotate - if is_error(r53) goto L44 (error at abi_sub_tree:166) else goto L41 -L41: - r54 = PyDict_New() - if is_error(r54) goto L59 (error at abi_sub_tree:166) else goto L42 -L42: - r55 = ABITypedData(r53, r54) - dec_ref r53 - dec_ref r54 - if is_error(r55) goto L44 (error at abi_sub_tree:166) else goto L43 -L43: - return r55 -L44: - r56 = :: dank_mids._web3.abi.ABITypedData - return r56 -L45: - dec_ref r3 - goto L44 -L46: - dec_ref r14 - goto L44 -L47: - dec_ref r14 - dec_ref r15 - goto L44 -L48: - dec_ref r14 - dec_ref r16 - goto L16 -L49: - dec_ref r14 - dec_ref r15 - dec_ref r16 - goto L44 -L50: - dec_ref r15 - goto L44 -L51: - dec_ref r28 - goto L44 -L52: - dec_ref r28 - dec_ref r29 - goto L44 -L53: - dec_ref r28 - dec_ref r29 - dec_ref r33 - goto L44 -L54: - dec_ref r33 - dec_ref r34 - goto L30 -L55: - dec_ref r33 - dec_ref r34 - dec_ref r35 - goto L30 -L56: - dec_ref r28 - dec_ref r29 - dec_ref r33 - dec_ref r34 - goto L44 -L57: - dec_ref r42 - goto L44 -L58: - dec_ref value_to_annotate - dec_ref r48 - goto L44 -L59: - dec_ref r53 - goto L44 + dec_ref r6 + goto L6 + +def get_response__RequestBase_gen.__await__(__mypyc_self__): + __mypyc_self__ :: dank_mids._requests.base.get_response__RequestBase_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def get_response__RequestBase_obj.__call__(__mypyc_self__, self): + __mypyc_self__ :: dank_mids._requests.base.get_response__RequestBase_obj + self :: dank_mids._requests.base._RequestBase + r0 :: dank_mids._requests.base.get_response__RequestBase_gen + r1, r2 :: bool + r3 :: dank_mids._requests.base.get_response__RequestBase_gen +L0: + r0 = get_response__RequestBase_gen() + if is_error(r0) goto L3 (error at get_response:43) else goto L1 +L1: + r0.__mypyc_next_label__ = 0 + inc_ref self + r0.__mypyc_generator_attribute__self = self; r2 = is_error + if not r2 goto L4 (error at get_response:43) else goto L2 :: bool +L2: + return r0 +L3: + r3 = :: dank_mids._requests.base.get_response__RequestBase_gen + return r3 +L4: + dec_ref r0 + goto L3 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 + r4, r5 :: object + r6 :: str + r7 :: dict + r8, r9 :: object + r10 :: str r11 :: dict - r12, r13 :: str - r14 :: bit - r15 :: object - r16 :: str - r17 :: dict - r18, r19 :: object - r20 :: str + r12, r13 :: object + r14 :: str + r15 :: dict + r16 :: object + r17 :: str + r18 :: list + r19, r20 :: ptr r21 :: dict - r22, r23 :: object - r24 :: str + r22 :: str + r23 :: i32 + r24 :: bit r25 :: dict - r26, r27 :: object - r28 :: str - r29 :: dict - r30, r31 :: object - r32 :: str - r33 :: dict - r34 :: object + r26 :: str + r27 :: object + r28, r29, r30 :: str + r31 :: tuple[str, str, str] + r32, r33 :: object + r34 :: dict r35 :: str - r36 :: dict - r37 :: str - r38 :: object - r39 :: object[1] - r40 :: object_ptr - r41 :: object - r42 :: dict - r43 :: str - r44 :: i32 - r45 :: bit - r46 :: dict - r47 :: str + r36 :: i32 + r37 :: bit + r38 :: tuple + r39, r40 :: object + r41 :: str + r42 :: bool + r43, r44 :: str + r45 :: object + r46 :: object[2] + r47 :: object_ptr r48 :: object - r49 :: dict - r50 :: str - r51 :: object - r52 :: dict - r53 :: str - r54 :: object - r55 :: list - r56, r57, r58 :: ptr - r59 :: dict - r60 :: str - r61 :: object - r62 :: dict + r49, r50, r51, r52 :: dict + r53 :: object + r54 :: str + r55 :: i32 + r56 :: bit + r57, r58, r59, r60, r61 :: str + r62 :: tuple[str, str, str, str, str] r63 :: str r64 :: object - r65 :: dict - r66 :: str - r67 :: object - r68 :: tuple[object, object] - r69, r70 :: object - r71 :: tuple[list, object] - r72, r73 :: object - r74 :: dict - r75 :: str - r76 :: i32 - r77 :: bit - r78 :: dict - r79 :: str - r80 :: object - r81 :: dict - r82 :: str - r83 :: object - r84 :: dict - r85 :: str - r86, r87 :: object - r88 :: tuple[object, object] - r89, r90 :: object - r91 :: dict - r92 :: str - r93 :: object - r94 :: dict - r95 :: str - r96, r97 :: object - r98 :: tuple[object, object] - r99, r100 :: object - r101 :: tuple[object, object] - r102, r103 :: object - r104 :: dict - r105 :: str - r106 :: i32 - r107 :: bit - r108 :: dict - r109 :: str - r110 :: object - r111 :: dict - r112 :: str + r65 :: i32 + r66 :: bit + r67 :: dank_mids._requests.base.__init____RequestBase_obj + r68 :: str + r69 :: i32 + r70 :: bit + r71 :: dank_mids._requests.base.__await____RequestBase_obj + r72 :: str + r73 :: i32 + r74 :: bit + r75 :: dank_mids._requests.base.__len____RequestBase_obj + r76 :: str + r77 :: i32 + r78 :: bit + r79 :: dank_mids._requests.base.get_response__RequestBase_obj + r80 :: str + r81 :: i32 + r82 :: bit + r83, r84 :: str + r85 :: i32 + r86 :: bit + r87, r88 :: str + r89 :: i32 + r90 :: bit + r91, r92 :: str + r93 :: i32 + r94 :: bit + r95 :: object[3] + r96 :: object_ptr + r97 :: object + r98 :: dict + r99 :: str + r100, r101 :: object + r102 :: object[1] + r103 :: object_ptr + r104, r105 :: object + r106 :: object[1] + r107 :: object_ptr + r108 :: object + r109 :: dict + r110 :: str + r111 :: i32 + r112 :: bit r113 :: object - r114 :: dict - r115 :: str - r116 :: object - r117 :: list - r118, r119, r120 :: ptr - r121 :: dict - r122 :: str - r123 :: object - r124 :: dict - r125 :: str - r126 :: object - r127 :: dict - r128 :: str - r129 :: object - r130 :: tuple[object, object] - r131, r132 :: object - r133 :: tuple[list, object] - r134, r135 :: object - r136 :: dict - r137 :: str - r138 :: i32 - r139 :: bit - r140 :: object - r141 :: str - r142 :: object - r143 :: dict - r144 :: str - r145 :: i32 - r146 :: bit - r147 :: object - r148 :: str - r149 :: object - r150 :: dict - r151 :: str - r152 :: i32 - r153 :: bit - r154 :: dict - r155 :: str - r156 :: object - r157 :: str - r158 :: object - r159 :: dict - r160 :: str - r161 :: i32 - r162 :: bit - r163 :: object - r164 :: str - r165, r166 :: object - r167 :: bool - r168, r169, r170 :: str - r171 :: tuple - r172 :: i32 - r173 :: bit - r174 :: dict - r175 :: str - r176 :: i32 - r177 :: bit - r178, r179 :: dict - r180 :: str - r181 :: i32 - r182 :: bit - r183, r184 :: dict - r185 :: str - r186 :: i32 - r187 :: bit - r188 :: object - r189 :: str - r190, r191 :: object - r192 :: bool - r193, r194 :: str - r195 :: tuple - r196 :: i32 - r197 :: bit - r198 :: dict - r199 :: str - r200 :: i32 - r201 :: bit - r202 :: object - r203 :: str - r204, r205 :: object - r206 :: bool - r207, r208, r209 :: str - r210 :: tuple - r211 :: i32 - r212 :: bit - r213 :: dict - r214 :: str - r215 :: i32 - r216 :: bit - r217 :: dict - r218 :: tuple[] - r219 :: dict - r220, r221 :: object - r222 :: str - r223 :: i32 - r224 :: bit - r225 :: object - r226 :: str - r227 :: i32 - r228 :: bit - r229 :: str - r230 :: i32 - r231 :: bit - r232, r233 :: str - r234 :: i32 - r235 :: bit - r236, r237 :: str - r238 :: i32 - r239 :: bit - r240 :: dict - r241 :: str - r242, r243 :: object - r244 :: object[1] - r245 :: object_ptr - r246, r247 :: object - r248 :: str - r249 :: bit - r250 :: None + r114 :: None L0: r0 = builtins :: module r1 = load_address _Py_NoneStruct @@ -35081,605 +32834,607 @@ L0: L1: r3 = 'builtins' r4 = PyImport_Import(r3) - if is_error(r4) goto L78 (error at :-1) else goto L2 + if is_error(r4) goto L40 (error at :-1) else goto L2 L2: builtins = r4 :: module dec_ref r4 L3: - r5 = load_address typing :: module - r6 = [r5] - r7 = load_address r6 - r8 = [1] - r9 = load_address r8 - r10 = (('typing', 'typing', 'typing'),) - r11 = dank_mids._web3.abi.globals :: static - r12 = 'dank_mids\\_web3\\abi.py' - r13 = '' - r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) - if not r14 goto L78 else goto L4 :: bool + r5 = ('TYPE_CHECKING', 'Any', 'Final', 'Generator', 'Generic', 'Optional', 'Union') + r6 = 'typing' + r7 = dank_mids._requests.base.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L40 (error at :1) else goto L4 L4: - r15 = ('dataclass',) - r16 = 'dataclasses' - r17 = dank_mids._web3.abi.globals :: static - r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) - if is_error(r18) goto L78 (error at :2) else goto L5 + typing = r8 :: module + dec_ref r8 + r9 = ('mypyc_attr',) + r10 = 'mypy_extensions' + r11 = dank_mids._requests.base.globals :: static + r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) + if is_error(r12) goto L40 (error at :3) else goto L5 L5: - dataclasses = r18 :: module - dec_ref r18 - r19 = ('Any', 'Callable', 'Dict', 'Final', 'List', 'Optional', 'Tuple', 'TypeVar', 'final') - r20 = 'typing' - r21 = dank_mids._web3.abi.globals :: static - r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) - if is_error(r22) goto L78 (error at :3) else goto L6 + mypy_extensions = r12 :: module + dec_ref r12 + r13 = ('DebuggableFuture',) + r14 = 'dank_mids.helpers' + r15 = dank_mids._requests.base.globals :: static + r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) + if is_error(r16) goto L40 (error at :5) else goto L6 L6: - typing = r22 :: module - dec_ref r22 - r23 = ('TypeStr',) - r24 = 'eth_typing' - r25 = dank_mids._web3.abi.globals :: static - r26 = CPyImport_ImportFromMany(r24, r23, r23, r25) - if is_error(r26) goto L78 (error at :5) else goto L7 + dank_mids.helpers = r16 :: module + dec_ref r16 + if 0 goto L7 else goto L7 :: bool L7: - eth_typing = r26 :: module - dec_ref r26 - r27 = ('grammar',) - r28 = 'faster_eth_abi' - r29 = dank_mids._web3.abi.globals :: static - r30 = CPyImport_ImportFromMany(r28, r27, r27, r29) - if is_error(r30) goto L78 (error at :6) else goto L8 + r17 = '_RequestBase' + r18 = PyList_New(1) + if is_error(r18) goto L40 (error at :13) else goto L8 L8: - faster_eth_abi = r30 :: module - dec_ref r30 - r31 = ('ABIType', 'TupleType') - r32 = 'faster_eth_abi.grammar' - r33 = dank_mids._web3.abi.globals :: static - r34 = CPyImport_ImportFromMany(r32, r31, r31, r33) - if is_error(r34) goto L78 (error at :7) else goto L9 + r19 = get_element_ptr r18 ob_item :: PyListObject + r20 = load_mem r19 :: ptr* + inc_ref r17 + set_mem r20, r17 :: builtins.object* + r21 = dank_mids._requests.base.globals :: static + r22 = '__all__' + r23 = CPyDict_SetItem(r21, r22, r18) + dec_ref r18 + r24 = r23 >= 0 :: signed + if not r24 goto L40 (error at :13) else goto L9 :: bool L9: - faster_eth_abi.grammar = r34 :: module - dec_ref r34 - r35 = '_T' - r36 = dank_mids._web3.abi.globals :: static - r37 = 'TypeVar' - r38 = CPyDict_GetItem(r36, r37) - if is_error(r38) goto L78 (error at :10) else goto L10 + r25 = dank_mids._requests.base.globals :: static + r26 = 'Union' + r27 = CPyDict_GetItem(r25, r26) + if is_error(r27) goto L40 (error at :16) else goto L10 L10: - r39 = [r35] - r40 = load_address r39 - r41 = PyObject_Vectorcall(r38, r40, 1, 0) + r28 = 'Multicall' + r29 = 'JSONRPCBatch' + r30 = 'DankBatch' + inc_ref r28 + inc_ref r29 + inc_ref r30 + r31 = (r28, r29, r30) + r32 = box(tuple[str, str, str], r31) + r33 = PyObject_GetItem(r27, r32) + dec_ref r27 + dec_ref r32 + if is_error(r33) goto L40 (error at :16) else goto L11 +L11: + r34 = dank_mids._requests.base.globals :: static + r35 = 'Batch' + r36 = CPyDict_SetItem(r34, r35, r33) + dec_ref r33 + r37 = r36 >= 0 :: signed + if not r37 goto L40 (error at :16) else goto L12 :: bool +L12: + r38 = CPyTuple_LoadEmptyTupleConstant() + r39 = load_address PyType_Type + r40 = CPy_CalculateMetaclass(r39, r38) + if is_error(r40) goto L41 (error at :21) else goto L13 +L13: + r41 = '__prepare__' + r42 = PyObject_HasAttr(r40, r41) + if r42 goto L14 else goto L18 :: bool +L14: + r43 = '_RequestBase' + r44 = '__prepare__' + r45 = CPyObject_GetAttr(r40, r44) + if is_error(r45) goto L41 (error at :21) else goto L15 +L15: + r46 = [r43, r38] + r47 = load_address r46 + r48 = PyObject_Vectorcall(r45, r47, 2, 0) + dec_ref r45 + if is_error(r48) goto L41 (error at :21) else goto L16 +L16: + r49 = cast(dict, r48) + if is_error(r49) goto L41 (error at :21) else goto L17 +L17: + r50 = r49 + goto L20 +L18: + r51 = PyDict_New() + if is_error(r51) goto L41 (error at :21) else goto L19 +L19: + r50 = r51 +L20: + r52 = PyDict_New() + if is_error(r52) goto L42 (error at :21) else goto L21 +L21: + r53 = load_address PyType_Type + r54 = '__slots__' + r55 = PyDict_SetItem(r52, r54, r53) + r56 = r55 >= 0 :: signed + if not r56 goto L43 (error at :23) else goto L22 :: bool +L22: + r57 = 'controller' + r58 = 'uid' + r59 = '_batch' + r60 = '_fut' + r61 = '__weakref__' + inc_ref r57 + inc_ref r58 + inc_ref r59 + inc_ref r60 + inc_ref r61 + r62 = (r57, r58, r59, r60, r61) + r63 = '__slots__' + r64 = box(tuple[str, str, str, str, str], r62) + r65 = CPyDict_SetItem(r50, r63, r64) + dec_ref r64 + r66 = r65 >= 0 :: signed + if not r66 goto L43 (error at :23) else goto L23 :: bool +L23: + r67 = __init____RequestBase_obj() + if is_error(r67) goto L43 (error at :25) else goto L24 +L24: + r68 = '__init__' + r69 = CPyDict_SetItem(r50, r68, r67) + dec_ref r67 + r70 = r69 >= 0 :: signed + if not r70 goto L43 (error at :25) else goto L25 :: bool +L25: + r71 = __await____RequestBase_obj() + if is_error(r71) goto L43 (error at :35) else goto L26 +L26: + r72 = '__await__' + r73 = CPyDict_SetItem(r50, r72, r71) + dec_ref r71 + r74 = r73 >= 0 :: signed + if not r74 goto L43 (error at :35) else goto L27 :: bool +L27: + r75 = __len____RequestBase_obj() + if is_error(r75) goto L43 (error at :40) else goto L28 +L28: + r76 = '__len__' + r77 = CPyDict_SetItem(r50, r76, r75) + dec_ref r75 + r78 = r77 >= 0 :: signed + if not r78 goto L43 (error at :40) else goto L29 :: bool +L29: + r79 = get_response__RequestBase_obj() + if is_error(r79) goto L43 (error at :43) else goto L30 +L30: + r80 = 'get_response' + r81 = CPyDict_SetItem(r50, r80, r79) + dec_ref r79 + r82 = r81 >= 0 :: signed + if not r82 goto L43 (error at :43) else goto L31 :: bool +L31: + r83 = '_RequestBase' + r84 = '__annotations__' + r85 = CPyDict_SetItem(r50, r84, r52) + dec_ref r52 + r86 = r85 >= 0 :: signed + if not r86 goto L42 (error at :21) else goto L32 :: bool +L32: + r87 = 'mypyc filler docstring' + r88 = '__doc__' + r89 = CPyDict_SetItem(r50, r88, r87) + r90 = r89 >= 0 :: signed + if not r90 goto L42 (error at :21) else goto L33 :: bool +L33: + r91 = 'dank_mids._requests.base' + r92 = '__module__' + r93 = CPyDict_SetItem(r50, r92, r91) + r94 = r93 >= 0 :: signed + if not r94 goto L42 (error at :21) else goto L34 :: bool +L34: + r95 = [r83, r38, r50] + r96 = load_address r95 + r97 = PyObject_Vectorcall(r40, r96, 3, 0) + if is_error(r97) goto L42 (error at :21) else goto L35 +L35: dec_ref r38 - if is_error(r41) goto L78 (error at :10) else goto L11 + dec_ref r50 + r98 = dank_mids._requests.base.globals :: static + r99 = 'mypyc_attr' + r100 = CPyDict_GetItem(r98, r99) + if is_error(r100) goto L44 (error at :19) else goto L36 +L36: + r101 = box(bool, 0) + r102 = [r101] + r103 = load_address r102 + r104 = ('native_class',) + r105 = PyObject_Vectorcall(r100, r103, 0, r104) + dec_ref r100 + if is_error(r105) goto L44 (error at :19) else goto L37 +L37: + r106 = [r97] + r107 = load_address r106 + r108 = PyObject_Vectorcall(r105, r107, 1, 0) + dec_ref r105 + if is_error(r108) goto L44 (error at :21) else goto L38 +L38: + dec_ref r97 + dank_mids._requests.base._RequestBase = r108 :: type + r109 = dank_mids._requests.base.globals :: static + r110 = '_RequestBase' + r111 = PyDict_SetItem(r109, r110, r108) + dec_ref r108 + r112 = r111 >= 0 :: signed + if not r112 goto L40 (error at :21) else goto L39 :: bool +L39: + r113 = dank_mids._requests.base._RequestBase :: type + return 1 +L40: + r114 = :: None + return r114 +L41: + dec_ref r38 + goto L40 +L42: + dec_ref r38 + dec_ref r50 + goto L40 +L43: + dec_ref r38 + dec_ref r50 + dec_ref r52 + goto L40 +L44: + dec_ref r97 + goto L40 + +def _create_named_task(awaitable): + awaitable, r0, r1 :: object + r2, r3, r4 :: str + r5 :: object + r6 :: bool + r7 :: object[2] + r8 :: object_ptr + r9, r10, r11 :: object +L0: + r0 = CPy_TYPE(awaitable) + r1 = CPy_GetName(r0) + dec_ref r0 + if is_error(r1) goto L8 (error at _create_named_task:35) else goto L1 +L1: + r2 = cast(str, r1) + if is_error(r2) goto L8 (error at _create_named_task:35) else goto L2 +L2: + r3 = ' via DankBatch' + r4 = CPyStr_Build(2, r2, r3) + dec_ref r2 + if is_error(r4) goto L8 (error at _create_named_task:35) else goto L3 +L3: + r5 = dank_mids._batch.create_task :: static + if is_error(r5) goto L9 else goto L6 +L4: + r6 = raise NameError('value for final name "create_task" was not set') + if not r6 goto L8 (error at _create_named_task:35) else goto L5 :: bool +L5: + unreachable +L6: + r7 = [awaitable, r4] + r8 = load_address r7 + r9 = ('name',) + r10 = PyObject_Vectorcall(r5, r8, 1, r9) + if is_error(r10) goto L10 (error at _create_named_task:35) else goto L7 +L7: + dec_ref r4 + return r10 +L8: + r11 = :: object + return r11 +L9: + dec_ref r4 + goto L4 +L10: + dec_ref r4 + goto L8 + +def DankBatch.__init__(self, controller, multicalls, rpc_calls): + self :: dank_mids._batch.DankBatch + controller :: object + multicalls :: dict + rpc_calls :: object + r0 :: str + r1 :: object + r2 :: str + r3, r4, r5 :: object + r6 :: i32 + r7 :: bit + r8 :: bool + r9, r10 :: object + r11 :: None +L0: + inc_ref controller + self.controller = controller + inc_ref multicalls + self.multicalls = multicalls + inc_ref rpc_calls + self.rpc_calls = rpc_calls + self._awaited = 0 + r0 = 'batcher' + r1 = CPyObject_GetAttr(controller, r0) + if is_error(r1) goto L8 (error at __init__:74) else goto L1 +L1: + r2 = 'step' + r3 = CPyObject_GetAttr(r1, r2) + dec_ref r1 + if is_error(r3) goto L8 (error at __init__:74) else goto L2 +L2: + r4 = object 0 + r5 = PyObject_RichCompare(r3, r4, 0) + if is_error(r5) goto L9 (error at __init__:74) else goto L3 +L3: + r6 = PyObject_IsTrue(r5) + dec_ref r5 + r7 = r6 >= 0 :: signed + if not r7 goto L9 (error at __init__:74) else goto L4 :: bool +L4: + r8 = truncate r6: i32 to builtins.bool + if r8 goto L5 else goto L10 :: bool +L5: + r9 = r3 + goto L7 +L6: + r10 = object 0 + inc_ref r10 + r9 = r10 +L7: + self._check_len = r9 + return 1 +L8: + r11 = :: None + return r11 +L9: + dec_ref r3 + goto L8 +L10: + dec_ref r3 + goto L6 + +def DankBatch.__repr__(self): + self :: dank_mids._batch.DankBatch + r0 :: str + r1 :: int + r2 :: object + r3 :: str + r4, r5 :: object + r6 :: object[1] + r7 :: object_ptr + r8 :: object + r9, r10, r11, r12 :: str +L0: + r0 = ' :: str + return r12 +L6: + dec_ref r1 :: int + goto L5 +L7: + dec_ref r5 + goto L5 + +def DankBatch.__await__(self): + self :: dank_mids._batch.DankBatch + r0 :: bool + r1 :: str + r2 :: object + r3 :: str + r4 :: object + r5 :: object[1] + r6 :: object_ptr + r7 :: object + r8 :: bool + r9 :: dict + r10 :: short_int + r11 :: native_int + r12 :: object + r13 :: tuple[bool, short_int, object] + r14 :: short_int + r15 :: bool + r16 :: object + r17 :: str + r18 :: object + r19 :: object[3] + r20 :: object_ptr + r21, r22 :: object + r23, r24 :: bit + r25, r26, r27 :: object + r28 :: str + r29 :: i32 + r30, r31 :: bit + r32 :: dank_mids._batch._await_DankBatch_gen + r33 :: str + r34 :: object[1] + r35 :: object_ptr + r36, r37 :: object +L0: + r0 = self._awaited + if r0 goto L1 else goto L5 :: bool +L1: + r1 = 'The batch has already been awaited' + r2 = builtins :: module + r3 = 'RuntimeError' + r4 = CPyObject_GetAttr(r2, r3) + if is_error(r4) goto L18 (error at __await__:94) else goto L2 +L2: + r5 = [r1] + r6 = load_address r5 + r7 = PyObject_Vectorcall(r4, r6, 1, 0) + dec_ref r4 + if is_error(r7) goto L18 (error at __await__:94) else goto L3 +L3: + CPy_Raise(r7) + dec_ref r7 + if not 0 goto L18 (error at __await__:94) else goto L4 :: bool +L4: + unreachable +L5: + self._awaited = 1 + r9 = self.multicalls + r10 = 0 + r11 = PyDict_Size(r9) + r12 = CPyDict_GetValuesIter(r9) + if is_error(r12) goto L19 (error at __await__:96) else goto L6 +L6: + r13 = CPyDict_NextValue(r12, r10) + r14 = r13[1] + r10 = r14 + r15 = r13[0] + if r15 goto L7 else goto L20 :: bool +L7: + r16 = r13[2] + dec_ref r13 + r17 = 'start' + r18 = box(bool, 0) + r19 = [r16, self, r18] + r20 = load_address r19 + r21 = ('cleanup',) + r22 = PyObject_VectorcallMethod(r17, r20, 9223372036854775810, r21) + if is_error(r22) goto L21 (error at __await__:97) else goto L22 +L8: + dec_ref r16 +L9: + r23 = CPyDict_CheckSize(r9, r11) + if not r23 goto L23 (error at __await__:96) else goto L6 :: bool +L10: + r24 = CPy_NoErrOccurred() + if not r24 goto L18 (error at __await__:96) else goto L11 :: bool L11: - r42 = dank_mids._web3.abi.globals :: static - r43 = '_T' - r44 = CPyDict_SetItem(r42, r43, r41) - dec_ref r41 - r45 = r44 >= 0 :: signed - if not r45 goto L78 (error at :10) else goto L12 :: bool + r25 = self.rpc_calls + r26 = PyObject_GetIter(r25) + dec_ref r25 + if is_error(r26) goto L18 (error at __await__:98) else goto L12 L12: - r46 = dank_mids._web3.abi.globals :: static - r47 = 'Callable' - r48 = CPyDict_GetItem(r46, r47) - if is_error(r48) goto L78 (error at :13) else goto L13 + r27 = PyIter_Next(r26) + if is_error(r27) goto L24 else goto L13 L13: - r49 = dank_mids._web3.abi.globals :: static - r50 = 'TypeStr' - r51 = CPyDict_GetItem(r49, r50) - if is_error(r51) goto L79 (error at :13) else goto L14 + r28 = '_batch' + r29 = PyObject_SetAttr(r27, r28, self) + dec_ref r27 + r30 = r29 >= 0 :: signed + if not r30 goto L25 (error at __await__:99) else goto L12 :: bool L14: - r52 = dank_mids._web3.abi.globals :: static - r53 = 'Any' - r54 = CPyDict_GetItem(r52, r53) - if is_error(r54) goto L80 (error at :13) else goto L15 + r31 = CPy_NoErrOccurred() + if not r31 goto L18 (error at __await__:98) else goto L15 :: bool L15: - r55 = PyList_New(2) - if is_error(r55) goto L81 (error at :13) else goto L16 + r32 = self._await() + if is_error(r32) goto L18 (error at __await__:100) else goto L16 L16: - r56 = get_element_ptr r55 ob_item :: PyListObject - r57 = load_mem r56 :: ptr* - set_mem r57, r51 :: builtins.object* - r58 = r57 + 8 - set_mem r58, r54 :: builtins.object* - r59 = dank_mids._web3.abi.globals :: static - r60 = 'Tuple' - r61 = CPyDict_GetItem(r59, r60) - if is_error(r61) goto L82 (error at :13) else goto L17 + r33 = '__await__' + r34 = [r32] + r35 = load_address r34 + r36 = PyObject_VectorcallMethod(r33, r35, 9223372036854775809, 0) + if is_error(r36) goto L26 (error at __await__:100) else goto L17 L17: - r62 = dank_mids._web3.abi.globals :: static - r63 = 'TypeStr' - r64 = CPyDict_GetItem(r62, r63) - if is_error(r64) goto L83 (error at :13) else goto L18 + dec_ref r32 + return r36 L18: - r65 = dank_mids._web3.abi.globals :: static - r66 = 'Any' - r67 = CPyDict_GetItem(r65, r66) - if is_error(r67) goto L84 (error at :13) else goto L19 + r37 = :: object + return r37 L19: - r68 = (r64, r67) - r69 = box(tuple[object, object], r68) - r70 = PyObject_GetItem(r61, r69) - dec_ref r61 - dec_ref r69 - if is_error(r70) goto L82 (error at :13) else goto L20 + dec_ref r9 + goto L18 L20: - r71 = (r55, r70) - r72 = box(tuple[list, object], r71) - r73 = PyObject_GetItem(r48, r72) - dec_ref r48 - dec_ref r72 - if is_error(r73) goto L78 (error at :13) else goto L21 + dec_ref r9 + dec_ref r12 + dec_ref r13 + goto L10 L21: - r74 = dank_mids._web3.abi.globals :: static - r75 = 'Normalizer' - r76 = CPyDict_SetItem(r74, r75, r73) - dec_ref r73 - r77 = r76 >= 0 :: signed - if not r77 goto L78 (error at :13) else goto L22 :: bool + dec_ref r9 + dec_ref r12 + dec_ref r16 + goto L18 L22: - r78 = dank_mids._web3.abi.globals :: static - r79 = 'Tuple' - r80 = CPyDict_GetItem(r78, r79) - if is_error(r80) goto L78 (error at :14) else goto L23 + dec_ref r22 + goto L8 L23: - r81 = dank_mids._web3.abi.globals :: static - r82 = 'Tuple' - r83 = CPyDict_GetItem(r81, r82) - if is_error(r83) goto L85 (error at :14) else goto L24 + dec_ref r9 + dec_ref r12 + goto L18 L24: - r84 = dank_mids._web3.abi.globals :: static - r85 = 'Normalizer' - r86 = CPyDict_GetItem(r84, r85) - if is_error(r86) goto L86 (error at :14) else goto L25 -L25: - r87 = load_address _Py_EllipsisObject - inc_ref r87 - r88 = (r86, r87) - r89 = box(tuple[object, object], r88) - r90 = PyObject_GetItem(r83, r89) - dec_ref r83 - dec_ref r89 - if is_error(r90) goto L85 (error at :14) else goto L26 -L26: - r91 = dank_mids._web3.abi.globals :: static - r92 = 'Tuple' - r93 = CPyDict_GetItem(r91, r92) - if is_error(r93) goto L87 (error at :14) else goto L27 -L27: - r94 = dank_mids._web3.abi.globals :: static - r95 = 'TypeStr' - r96 = CPyDict_GetItem(r94, r95) - if is_error(r96) goto L88 (error at :14) else goto L28 -L28: - r97 = load_address _Py_EllipsisObject - inc_ref r97 - r98 = (r96, r97) - r99 = box(tuple[object, object], r98) - r100 = PyObject_GetItem(r93, r99) - dec_ref r93 - dec_ref r99 - if is_error(r100) goto L87 (error at :14) else goto L29 -L29: - r101 = (r90, r100) - r102 = box(tuple[object, object], r101) - r103 = PyObject_GetItem(r80, r102) - dec_ref r80 - dec_ref r102 - if is_error(r103) goto L78 (error at :14) else goto L30 -L30: - r104 = dank_mids._web3.abi.globals :: static - r105 = 'MapperKey' - r106 = CPyDict_SetItem(r104, r105, r103) - dec_ref r103 - r107 = r106 >= 0 :: signed - if not r107 goto L78 (error at :14) else goto L31 :: bool -L31: - r108 = dank_mids._web3.abi.globals :: static - r109 = 'Callable' - r110 = CPyDict_GetItem(r108, r109) - if is_error(r110) goto L78 (error at :15) else goto L32 -L32: - r111 = dank_mids._web3.abi.globals :: static - r112 = 'TypeStr' - r113 = CPyDict_GetItem(r111, r112) - if is_error(r113) goto L89 (error at :15) else goto L33 -L33: - r114 = dank_mids._web3.abi.globals :: static - r115 = 'Any' - r116 = CPyDict_GetItem(r114, r115) - if is_error(r116) goto L90 (error at :15) else goto L34 -L34: - r117 = PyList_New(2) - if is_error(r117) goto L91 (error at :15) else goto L35 -L35: - r118 = get_element_ptr r117 ob_item :: PyListObject - r119 = load_mem r118 :: ptr* - set_mem r119, r113 :: builtins.object* - r120 = r119 + 8 - set_mem r120, r116 :: builtins.object* - r121 = dank_mids._web3.abi.globals :: static - r122 = 'Tuple' - r123 = CPyDict_GetItem(r121, r122) - if is_error(r123) goto L92 (error at :15) else goto L36 -L36: - r124 = dank_mids._web3.abi.globals :: static - r125 = 'TypeStr' - r126 = CPyDict_GetItem(r124, r125) - if is_error(r126) goto L93 (error at :15) else goto L37 -L37: - r127 = dank_mids._web3.abi.globals :: static - r128 = 'Any' - r129 = CPyDict_GetItem(r127, r128) - if is_error(r129) goto L94 (error at :15) else goto L38 -L38: - r130 = (r126, r129) - r131 = box(tuple[object, object], r130) - r132 = PyObject_GetItem(r123, r131) - dec_ref r123 - dec_ref r131 - if is_error(r132) goto L92 (error at :15) else goto L39 -L39: - r133 = (r117, r132) - r134 = box(tuple[list, object], r133) - r135 = PyObject_GetItem(r110, r134) - dec_ref r110 - dec_ref r134 - if is_error(r135) goto L78 (error at :15) else goto L40 -L40: - r136 = dank_mids._web3.abi.globals :: static - r137 = 'DataTreeFunc' - r138 = CPyDict_SetItem(r136, r137, r135) - dec_ref r135 - r139 = r138 >= 0 :: signed - if not r139 goto L78 (error at :15) else goto L41 :: bool -L41: - r140 = typing :: module - r141 = 'Iterable' - r142 = CPyObject_GetAttr(r140, r141) - if is_error(r142) goto L78 (error at :19) else goto L42 -L42: - dank_mids._web3.abi.Iterable = r142 :: static - r143 = dank_mids._web3.abi.globals :: static - r144 = 'Iterable' - r145 = CPyDict_SetItem(r143, r144, r142) - dec_ref r142 - r146 = r145 >= 0 :: signed - if not r146 goto L78 (error at :19) else goto L43 :: bool -L43: - r147 = typing :: module - r148 = 'Mapping' - r149 = CPyObject_GetAttr(r147, r148) - if is_error(r149) goto L78 (error at :20) else goto L44 -L44: - dank_mids._web3.abi.Mapping = r149 :: static - r150 = dank_mids._web3.abi.globals :: static - r151 = 'Mapping' - r152 = CPyDict_SetItem(r150, r151, r149) - dec_ref r149 - r153 = r152 >= 0 :: signed - if not r153 goto L78 (error at :20) else goto L45 :: bool -L45: - r154 = dank_mids._web3.abi.globals :: static - r155 = 'grammar' - r156 = CPyDict_GetItem(r154, r155) - if is_error(r156) goto L78 (error at :23) else goto L46 -L46: - r157 = 'parse' - r158 = CPyObject_GetAttr(r156, r157) - dec_ref r156 - if is_error(r158) goto L78 (error at :23) else goto L47 -L47: - dank_mids._web3.abi.parse = r158 :: static - r159 = dank_mids._web3.abi.globals :: static - r160 = 'parse' - r161 = CPyDict_SetItem(r159, r160, r158) - dec_ref r158 - r162 = r161 >= 0 :: signed - if not r162 goto L78 (error at :23) else goto L48 :: bool -L48: - r163 = :: object - r164 = 'dank_mids._web3.abi' - r165 = dank_mids._web3.abi.Formatter_template :: type - r166 = CPyType_FromTemplate(r165, r163, r164) - if is_error(r166) goto L78 (error at :27) else goto L49 -L49: - r167 = Formatter_trait_vtable_setup() - if is_error(r167) goto L95 (error at :-1) else goto L50 -L50: - r168 = '__mypyc_attrs__' - r169 = 'normalizers' - r170 = 'types' - r171 = PyTuple_Pack(2, r169, r170) - if is_error(r171) goto L95 (error at :27) else goto L51 -L51: - r172 = PyObject_SetAttr(r166, r168, r171) - dec_ref r171 - r173 = r172 >= 0 :: signed - if not r173 goto L95 (error at :27) else goto L52 :: bool -L52: - dank_mids._web3.abi.Formatter = r166 :: type - r174 = dank_mids._web3.abi.globals :: static - r175 = 'Formatter' - r176 = PyDict_SetItem(r174, r175, r166) - dec_ref r166 - r177 = r176 >= 0 :: signed - if not r177 goto L78 (error at :27) else goto L53 :: bool -L53: - r178 = PyDict_New() - if is_error(r178) goto L78 (error at :49) else goto L54 -L54: - dank_mids._web3.abi._formatters = r178 :: static - r179 = dank_mids._web3.abi.globals :: static - r180 = '_formatters' - r181 = CPyDict_SetItem(r179, r180, r178) - dec_ref r178 - r182 = r181 >= 0 :: signed - if not r182 goto L78 (error at :49) else goto L55 :: bool -L55: - r183 = PyDict_New() - if is_error(r183) goto L78 (error at :64) else goto L56 -L56: - dank_mids._web3.abi._data_tree_maps = r183 :: static - r184 = dank_mids._web3.abi.globals :: static - r185 = '_data_tree_maps' - r186 = CPyDict_SetItem(r184, r185, r183) - dec_ref r183 - r187 = r186 >= 0 :: signed - if not r187 goto L78 (error at :64) else goto L57 :: bool -L57: - r188 = :: object - r189 = 'dank_mids._web3.abi' - r190 = dank_mids._web3.abi.map_to_typed_data_template :: type - r191 = CPyType_FromTemplate(r190, r188, r189) - if is_error(r191) goto L78 (error at :77) else goto L58 -L58: - r192 = map_to_typed_data_trait_vtable_setup() - if is_error(r192) goto L96 (error at :-1) else goto L59 -L59: - r193 = '__mypyc_attrs__' - r194 = 'func' - r195 = PyTuple_Pack(1, r194) - if is_error(r195) goto L96 (error at :77) else goto L60 -L60: - r196 = PyObject_SetAttr(r191, r193, r195) - dec_ref r195 - r197 = r196 >= 0 :: signed - if not r197 goto L96 (error at :77) else goto L61 :: bool -L61: - dank_mids._web3.abi.map_to_typed_data = r191 :: type - r198 = dank_mids._web3.abi.globals :: static - r199 = 'map_to_typed_data' - r200 = PyDict_SetItem(r198, r199, r191) - dec_ref r191 - r201 = r200 >= 0 :: signed - if not r201 goto L78 (error at :77) else goto L62 :: bool -L62: - r202 = :: object - r203 = 'dank_mids._web3.abi' - r204 = dank_mids._web3.abi.ABITypedData_template :: type - r205 = CPyType_FromTemplate(r204, r202, r203) - if is_error(r205) goto L78 (error at :118) else goto L63 -L63: - r206 = ABITypedData_trait_vtable_setup() - if is_error(r206) goto L97 (error at :-1) else goto L64 -L64: - r207 = '__mypyc_attrs__' - r208 = 'abi_type' - r209 = 'data' - r210 = PyTuple_Pack(2, r208, r209) - if is_error(r210) goto L97 (error at :118) else goto L65 -L65: - r211 = PyObject_SetAttr(r205, r207, r210) - dec_ref r210 - r212 = r211 >= 0 :: signed - if not r212 goto L97 (error at :118) else goto L66 :: bool -L66: - dank_mids._web3.abi.ABITypedData = r205 :: type - r213 = dank_mids._web3.abi.globals :: static - r214 = 'ABITypedData' - r215 = PyDict_SetItem(r213, r214, r205) - r216 = r215 >= 0 :: signed - if not r216 goto L97 (error at :118) else goto L67 :: bool -L67: - r217 = PyDict_New() - if is_error(r217) goto L97 (error at :118) else goto L68 -L68: - r218 = () - r219 = PyDict_New() - if is_error(r219) goto L98 (error at :118) else goto L69 -L69: - r220 = load_address PyType_Type - r221 = load_address PyType_Type - r222 = 'abi_type' - r223 = PyDict_SetItem(r219, r222, r221) - r224 = r223 >= 0 :: signed - if not r224 goto L99 (error at :139) else goto L70 :: bool -L70: - r225 = load_address PyType_Type - r226 = 'data' - r227 = PyDict_SetItem(r219, r226, r225) - r228 = r227 >= 0 :: signed - if not r228 goto L99 (error at :140) else goto L71 :: bool -L71: - r229 = '__annotations__' - r230 = CPyDict_SetItem(r217, r229, r219) - r231 = r230 >= 0 :: signed - if not r231 goto L99 (error at :118) else goto L72 :: bool -L72: - r232 = 'mypyc filler docstring' - r233 = '__doc__' - r234 = CPyDict_SetItem(r217, r233, r232) - r235 = r234 >= 0 :: signed - if not r235 goto L99 (error at :118) else goto L73 :: bool -L73: - r236 = 'dank_mids._web3.abi' - r237 = '__module__' - r238 = CPyDict_SetItem(r217, r237, r236) - r239 = r238 >= 0 :: signed - if not r239 goto L99 (error at :118) else goto L74 :: bool -L74: - r240 = dank_mids._web3.abi.globals :: static - r241 = 'dataclass' - r242 = CPyDict_GetItem(r240, r241) - if is_error(r242) goto L99 (error at :117) else goto L75 -L75: - r243 = box(bool, 1) - r244 = [r243] - r245 = load_address r244 - r246 = ('frozen',) - r247 = PyObject_Vectorcall(r242, r245, 0, r246) - dec_ref r242 - if is_error(r247) goto L99 (error at :117) else goto L76 -L76: - r248 = 'dataclasses' - r249 = CPyDataclass_SleightOfHand(r247, r205, r217, r219, r248) - dec_ref r247 - dec_ref r205 - dec_ref r217 - dec_ref r219 - if not r249 goto L78 (error at :118) else goto L77 :: bool -L77: - return 1 -L78: - r250 = :: None - return r250 -L79: - dec_ref r48 - goto L78 -L80: - dec_ref r48 - dec_ref r51 - goto L78 -L81: - dec_ref r48 - dec_ref r51 - dec_ref r54 - goto L78 -L82: - dec_ref r48 - dec_ref r55 - goto L78 -L83: - dec_ref r48 - dec_ref r55 - dec_ref r61 - goto L78 -L84: - dec_ref r48 - dec_ref r55 - dec_ref r61 - dec_ref r64 - goto L78 -L85: - dec_ref r80 - goto L78 -L86: - dec_ref r80 - dec_ref r83 - goto L78 -L87: - dec_ref r80 - dec_ref r90 - goto L78 -L88: - dec_ref r80 - dec_ref r90 - dec_ref r93 - goto L78 -L89: - dec_ref r110 - goto L78 -L90: - dec_ref r110 - dec_ref r113 - goto L78 -L91: - dec_ref r110 - dec_ref r113 - dec_ref r116 - goto L78 -L92: - dec_ref r110 - dec_ref r117 - goto L78 -L93: - dec_ref r110 - dec_ref r117 - dec_ref r123 - goto L78 -L94: - dec_ref r110 - dec_ref r117 - dec_ref r123 - dec_ref r126 - goto L78 -L95: - dec_ref r166 - goto L78 -L96: - dec_ref r191 - goto L78 -L97: - dec_ref r205 - goto L78 -L98: - dec_ref r205 - dec_ref r217 - goto L78 -L99: - dec_ref r205 - dec_ref r217 - dec_ref r219 - goto L78 + dec_ref r26 + goto L14 +L25: + dec_ref r26 + goto L18 +L26: + dec_ref r32 + goto L18 -def gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): - __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen +def _await_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): + __mypyc_self__ :: dank_mids._batch._await_DankBatch_gen type, value, traceback, arg :: object stop_iter_ptr :: object_ptr - r0, r1, r2, r3, r4, r5, r6, r7 :: object - r8 :: i32 - r9 :: object - r10 :: bit + r0, r1, r2, r3 :: object + r4 :: i32 + r5 :: object + r6 :: bit + r7 :: dank_mids._batch.DankBatch + r8 :: object + r9 :: list + r10 :: bool r11 :: object r12 :: bool - r13 :: object - r14 :: bool - r15 :: list - r16 :: bool - r17, r18 :: object - r19, r20 :: bool - r21, r22 :: object - r23 :: bool - r24, r25 :: object - r26 :: union[str, None] - r27 :: object - r28 :: bool - r29 :: object[3] - r30 :: object_ptr - r31, r32 :: object - r33 :: list - r34 :: i32 - r35, r36 :: bit - r37 :: list - r38 :: object - r39 :: bool - r40 :: object - r41 :: bool - r42, r43 :: object - r44 :: bool - r45, r46, r47, r48, r49 :: object - r50 :: bool - r51 :: object - r52 :: bool - r53 :: object - r54 :: bit - r55 :: tuple[object, object, object] - r56 :: bool - r57 :: object_ptr - r58 :: object - r59 :: bool - r60, r61, r62 :: tuple[object, object, object] - r63 :: bit - r64, r65, r66, r67 :: object + r13 :: list + r14, r15 :: bool + r16 :: list + r17 :: ptr + r18 :: native_int + r19 :: list + r20, r21 :: bool + r22 :: list + r23 :: ptr + r24, r25 :: native_int + r26 :: bit + r27 :: list + r28 :: native_int + r29, r30 :: ptr + r31 :: native_int + r32 :: ptr + r33 :: object + r34 :: bool + r35 :: native_int + r36, r37 :: object + r38, r39 :: native_int + r40, r41, r42 :: bool + r43 :: list + r44 :: ptr + r45, r46 :: native_int + r47 :: bit + r48 :: list + r49 :: ptr + r50, r51 :: native_int + r52 :: bit + r53 :: list + r54 :: native_int + r55, r56 :: ptr + r57 :: native_int + r58 :: ptr + r59 :: object + r60 :: bool + r61 :: list + r62 :: native_int + r63, r64 :: ptr + r65 :: native_int + r66 :: ptr + r67 :: object r68 :: bool r69, r70 :: object r71 :: bool @@ -35696,889 +33451,618 @@ def gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceb r86 :: bool r87, r88, r89 :: tuple[object, object, object] r90 :: bit - r91, r92, r93, r94, r95 :: object - r96, r97 :: bool - r98, r99 :: object - r100 :: bool - r101, r102 :: object - r103 :: bool - r104, r105, r106, r107, r108 :: object - r109 :: bool - r110 :: object - r111 :: bool + r91, r92, r93 :: object + r94 :: tuple[object, object, object] + r95 :: bool + r96 :: object + r97 :: str + r98 :: object + r99 :: bit + r100 :: object + r101 :: bool + r102, r103 :: object + r104 :: ptr + r105 :: object + r106 :: bit + r107 :: object + r108 :: bool + r109, r110 :: object + r111 :: None r112 :: object - r113 :: bit - r114 :: tuple[object, object, object] - r115 :: bool - r116 :: object_ptr - r117 :: object - r118 :: bool - r119, r120, r121 :: tuple[object, object, object] - r122 :: bit - r123, r124, r125 :: object - r126 :: tuple[object, object, object] - r127 :: bool - r128 :: object - r129 :: str - r130 :: object - r131 :: bit - r132, r133 :: object - r134, r135 :: bool - r136, r137 :: object - r138 :: bool - r139, r140 :: object - r141 :: bool - r142, r143, r144, r145, r146 :: object - r147 :: bool - r148 :: object - r149 :: bool - r150 :: object - r151 :: bit - r152 :: tuple[object, object, object] - r153 :: bool - r154 :: object_ptr - r155 :: object + r113 :: bool + r114, r115 :: tuple[object, object, object] + r116 :: bit + r117, r118 :: native_int + r119 :: bool + r120, r121 :: native_int + r122 :: bool + r123 :: union[object, None] + r124 :: object + r125 :: bit + r126 :: union[object, None] + r127 :: object + r128 :: bool + r129, r130, r131, r132, r133 :: object + r134 :: bool + r135 :: object + r136 :: bool + r137 :: object + r138 :: bit + r139 :: tuple[object, object, object] + r140 :: bool + r141 :: object_ptr + r142 :: object + r143 :: bool + r144, r145, r146 :: tuple[object, object, object] + r147 :: bit + r148, r149, r150, r151 :: object + r152 :: bool + r153, r154, r155 :: bit r156 :: bool - r157, r158, r159 :: tuple[object, object, object] - r160 :: bit - r161, r162, r163 :: object - r164 :: tuple[object, object, object] - r165 :: bool - r166 :: object - r167 :: str - r168 :: object - r169 :: bit - r170, r171 :: tuple[object, object, object] - r172, r173 :: bit - r174 :: tuple[object, object, object] - r175, r176 :: bit - r177 :: object - r178 :: bool - r179, r180, r181, r182, r183 :: bit - r184 :: bool - r185 :: object + r157 :: object L0: r0 = :: object r1 = r0 r2 = :: object r3 = r2 - r4 = :: object - r5 = r4 - r6 = :: object - r7 = r6 - r8 = __mypyc_self__.__mypyc_next_label__ - goto L194 + r4 = __mypyc_self__.__mypyc_next_label__ + goto L132 L1: - r9 = load_address _Py_NoneStruct - r10 = type != r9 - if r10 goto L2 else goto L4 :: bool + r5 = load_address _Py_NoneStruct + r6 = type != r5 + if r6 goto L2 else goto L4 :: bool L2: CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L201 (error at gatherish:33) else goto L3 :: bool + if not 0 goto L137 (error at _await:102) else goto L3 :: bool L3: unreachable L4: - r11 = dank_mids.helpers._gather.get_running_loop :: static - if is_error(r11) goto L5 else goto L7 + r7 = __mypyc_self__.__mypyc_generator_attribute__self + if is_error(r7) goto L137 (error at _await:114) else goto L5 L5: - r12 = raise NameError('value for final name "get_running_loop" was not set') - if not r12 goto L201 (error at gatherish:41) else goto L6 :: bool + r8 = r7.coroutines + dec_ref r7 + if is_error(r8) goto L137 (error at _await:114) else goto L6 L6: - unreachable + r9 = PySequence_List(r8) + dec_ref r8 + if is_error(r9) goto L137 (error at _await:114) else goto L7 L7: - r13 = PyObject_Vectorcall(r11, 0, 0, 0) - if is_error(r13) goto L201 (error at gatherish:41) else goto L8 + __mypyc_self__.__mypyc_generator_attribute__batches = r9; r10 = is_error + if not r10 goto L137 (error at _await:114) else goto L8 :: bool L8: - __mypyc_self__.__mypyc_generator_attribute__loop = r13; r14 = is_error - if not r14 goto L201 (error at gatherish:41) else goto L9 :: bool + r11 = box(None, 1) + inc_ref r11 + __mypyc_self__.__mypyc_generator_attribute__last_failure = r11; r12 = is_error + if not r12 goto L137 (error at _await:116) else goto L9 :: bool L9: - r15 = PyList_New(0) - if is_error(r15) goto L201 (error at gatherish:44) else goto L10 + r13 = __mypyc_self__.__mypyc_generator_attribute__batches + if is_error(r13) goto L137 (error at _await:117) else goto L10 L10: - __mypyc_self__.__mypyc_temp__0 = r15; r16 = is_error - if not r16 goto L201 (error at gatherish:-1) else goto L11 :: bool + __mypyc_self__.__mypyc_temp__0 = r13; r14 = is_error + if not r14 goto L137 (error at _await:-1) else goto L11 :: bool L11: - r17 = __mypyc_self__.__mypyc_generator_attribute__coros - if is_error(r17) goto L201 (error at gatherish:44) else goto L12 + __mypyc_self__.__mypyc_temp__1 = 0; r15 = is_error + if not r15 goto L137 (error at _await:-1) else goto L12 :: bool L12: - r18 = PyObject_GetIter(r17) - if is_error(r18) goto L202 (error at gatherish:44) else goto L13 + r16 = __mypyc_self__.__mypyc_generator_attribute__batches + if is_error(r16) goto L137 (error at _await:117) else goto L13 L13: - __mypyc_self__.__mypyc_temp__1 = r17; r19 = is_error - if not r19 goto L203 (error at gatherish:-1) else goto L14 :: bool + r17 = get_element_ptr r16 ob_size :: PyVarObject + r18 = load_mem r17 :: native_int* + r19 = PyList_New(r18) + if is_error(r19) goto L138 (error at _await:117) else goto L14 L14: - __mypyc_self__.__mypyc_temp__2 = r18; r20 = is_error - if not r20 goto L201 (error at gatherish:-1) else goto L15 :: bool + __mypyc_self__.__mypyc_temp__2 = r16; r20 = is_error + if not r20 goto L139 (error at _await:-1) else goto L15 :: bool L15: - r21 = __mypyc_self__.__mypyc_temp__2 - if is_error(r21) goto L201 (error at gatherish:44) else goto L16 + __mypyc_self__.__mypyc_temp__3 = 0; r21 = is_error + if not r21 goto L139 (error at _await:-1) else goto L16 :: bool L16: - r22 = PyIter_Next(r21) - dec_ref r21 - if is_error(r22) goto L27 else goto L17 + r22 = __mypyc_self__.__mypyc_temp__2 + if is_error(r22) goto L139 (error at _await:117) else goto L17 L17: - __mypyc_self__.__mypyc_generator_attribute__coro = r22; r23 = is_error - if not r23 goto L201 (error at gatherish:44) else goto L18 :: bool + r23 = get_element_ptr r22 ob_size :: PyVarObject + r24 = load_mem r23 :: native_int* + dec_ref r22 + r25 = __mypyc_self__.__mypyc_temp__3 + if is_error(r25) goto L139 (error at _await:117) else goto L18 L18: - r24 = __mypyc_self__.__mypyc_generator_attribute__coro - if is_error(r24) goto L201 (error at gatherish:44) else goto L19 + r26 = r25 < r24 :: signed + if r26 goto L19 else goto L28 :: bool L19: - r25 = __mypyc_self__.__mypyc_generator_attribute__loop - if is_error(r25) goto L204 (error at gatherish:44) else goto L20 + r27 = __mypyc_self__.__mypyc_temp__2 + if is_error(r27) goto L139 (error at _await:117) else goto L20 L20: - r26 = __mypyc_self__.__mypyc_generator_attribute__name - if is_error(r26) goto L205 (error at gatherish:44) else goto L21 + r28 = __mypyc_self__.__mypyc_temp__3 + if is_error(r28) goto L140 (error at _await:117) else goto L21 L21: - r27 = dank_mids.helpers._gather.Task :: static - if is_error(r27) goto L206 else goto L24 + r29 = get_element_ptr r27 ob_item :: PyListObject + r30 = load_mem r29 :: ptr* + r31 = r28 * 8 + r32 = r30 + r31 + r33 = load_mem r32 :: builtins.object* + dec_ref r27 + __mypyc_self__.__mypyc_generator_attribute__coro = r33; r34 = is_error + if not r34 goto L139 (error at _await:117) else goto L22 :: bool L22: - r28 = raise NameError('value for final name "Task" was not set') - if not r28 goto L201 (error at gatherish:44) else goto L23 :: bool + r35 = __mypyc_self__.__mypyc_temp__3 + if is_error(r35) goto L139 (error at _await:-1) else goto L23 L23: - unreachable + r36 = __mypyc_self__.__mypyc_generator_attribute__coro + if is_error(r36) goto L139 (error at _await:117) else goto L24 L24: - r29 = [r24, r25, r26] - r30 = load_address r29 - r31 = ('loop', 'name') - r32 = PyObject_Vectorcall(r27, r30, 1, r31) - if is_error(r32) goto L207 (error at gatherish:44) else goto L25 + r37 = _create_named_task(r36) + dec_ref r36 + if is_error(r37) goto L139 (error at _await:117) else goto L25 L25: - dec_ref r24 - dec_ref r25 - dec_ref r26 - r33 = __mypyc_self__.__mypyc_temp__0 - if is_error(r33) goto L208 (error at gatherish:-1) else goto L26 + CPyList_SetItemUnsafe(r19, r35, r37) L26: - r34 = PyList_Append(r33, r32) - dec_ref r33 - dec_ref r32 - r35 = r34 >= 0 :: signed - if not r35 goto L201 (error at gatherish:44) else goto L15 :: bool + r38 = __mypyc_self__.__mypyc_temp__3 + if is_error(r38) goto L139 (error at _await:117) else goto L27 L27: - r36 = CPy_NoErrOccurred() - if not r36 goto L201 (error at gatherish:44) else goto L28 :: bool + r39 = r38 + 1 + __mypyc_self__.__mypyc_temp__3 = r39; r40 = is_error + if not r40 goto L139 (error at _await:117) else goto L16 :: bool L28: - r37 = __mypyc_self__.__mypyc_temp__0 - if is_error(r37) goto L201 (error at gatherish:-1) else goto L29 + __mypyc_self__.__mypyc_temp__4 = r19; r41 = is_error + if not r41 goto L137 (error at _await:-1) else goto L29 :: bool L29: - r38 = PyObject_GetIter(r37) - dec_ref r37 - if is_error(r38) goto L201 (error at gatherish:44) else goto L30 + __mypyc_self__.__mypyc_temp__5 = 0; r42 = is_error + if not r42 goto L137 (error at _await:-1) else goto L30 :: bool L30: - __mypyc_self__.__mypyc_generator_attribute__tasks = r38; r39 = is_error - if not r39 goto L201 (error at gatherish:44) else goto L31 :: bool + r43 = __mypyc_self__.__mypyc_temp__0 + if is_error(r43) goto L137 (error at _await:117) else goto L31 L31: - r40 = dank_mids.helpers._gather.yield_to_loop :: static - if is_error(r40) goto L32 else goto L34 + r44 = get_element_ptr r43 ob_size :: PyVarObject + r45 = load_mem r44 :: native_int* + dec_ref r43 + r46 = __mypyc_self__.__mypyc_temp__1 + if is_error(r46) goto L137 (error at _await:117) else goto L32 L32: - r41 = raise NameError('value for final name "yield_to_loop" was not set') - if not r41 goto L201 (error at gatherish:49) else goto L33 :: bool + r47 = r46 < r45 :: signed + if r47 goto L33 else goto L96 :: bool L33: - unreachable + r48 = __mypyc_self__.__mypyc_temp__4 + if is_error(r48) goto L137 (error at _await:117) else goto L34 L34: - r42 = PyObject_Vectorcall(r40, 0, 0, 0) - if is_error(r42) goto L201 (error at gatherish:49) else goto L35 + r49 = get_element_ptr r48 ob_size :: PyVarObject + r50 = load_mem r49 :: native_int* + dec_ref r48 + r51 = __mypyc_self__.__mypyc_temp__5 + if is_error(r51) goto L137 (error at _await:117) else goto L35 L35: - r43 = CPy_GetCoro(r42) - dec_ref r42 - if is_error(r43) goto L201 (error at gatherish:49) else goto L36 + r52 = r51 < r50 :: signed + if r52 goto L36 else goto L96 :: bool L36: - __mypyc_self__.__mypyc_temp__3 = r43; r44 = is_error - if not r44 goto L201 (error at gatherish:-1) else goto L37 :: bool + r53 = __mypyc_self__.__mypyc_temp__0 + if is_error(r53) goto L137 (error at _await:117) else goto L37 L37: - r45 = __mypyc_self__.__mypyc_temp__3 - if is_error(r45) goto L201 (error at gatherish:-1) else goto L38 + r54 = __mypyc_self__.__mypyc_temp__1 + if is_error(r54) goto L141 (error at _await:117) else goto L38 L38: - r46 = CPyIter_Next(r45) - dec_ref r45 - if is_error(r46) goto L39 else goto L41 + r55 = get_element_ptr r53 ob_item :: PyListObject + r56 = load_mem r55 :: ptr* + r57 = r54 * 8 + r58 = r56 + r57 + r59 = load_mem r58 :: builtins.object* + dec_ref r53 + __mypyc_self__.__mypyc_generator_attribute__batch = r59; r60 = is_error + if not r60 goto L137 (error at _await:117) else goto L39 :: bool L39: - r47 = CPy_FetchStopIterationValue() - if is_error(r47) goto L201 (error at gatherish:49) else goto L40 + r61 = __mypyc_self__.__mypyc_temp__4 + if is_error(r61) goto L137 (error at _await:117) else goto L40 L40: - r48 = r47 - dec_ref r48 - r49 = :: object - __mypyc_self__.__mypyc_temp__3 = r49; r50 = is_error - if not r50 goto L201 (error at gatherish:49) else goto L63 :: bool + r62 = __mypyc_self__.__mypyc_temp__5 + if is_error(r62) goto L142 (error at _await:117) else goto L41 L41: - r51 = r46 + r63 = get_element_ptr r61 ob_item :: PyListObject + r64 = load_mem r63 :: ptr* + r65 = r62 * 8 + r66 = r64 + r65 + r67 = load_mem r66 :: builtins.object* + dec_ref r61 + __mypyc_self__.__mypyc_generator_attribute__task = r67; r68 = is_error + if not r68 goto L137 (error at _await:117) else goto L42 :: bool L42: - __mypyc_self__.__mypyc_next_label__ = 1 - return r51 + r69 = __mypyc_self__.__mypyc_generator_attribute__task + if is_error(r69) goto L71 (error at _await:119) else goto L43 L43: - r53 = load_address _Py_NoneStruct - r54 = type != r53 - if r54 goto L44 else goto L209 :: bool + r70 = CPy_GetCoro(r69) + dec_ref r69 + if is_error(r70) goto L71 (error at _await:119) else goto L44 L44: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L47 (error at gatherish:49) else goto L210 :: bool + __mypyc_self__.__mypyc_temp__6 = r70; r71 = is_error + if not r71 goto L71 (error at _await:-1) else goto L45 :: bool L45: - unreachable + r72 = __mypyc_self__.__mypyc_temp__6 + if is_error(r72) goto L71 (error at _await:-1) else goto L46 L46: - inc_ref arg - goto L58 + r73 = CPyIter_Next(r72) + dec_ref r72 + if is_error(r73) goto L47 else goto L49 L47: - r55 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__4 = r55; r56 = is_error - if not r56 goto L211 (error at gatherish:-1) else goto L48 :: bool + r74 = CPy_FetchStopIterationValue() + if is_error(r74) goto L71 (error at _await:119) else goto L48 L48: - r57 = load_address r1 - r58 = __mypyc_self__.__mypyc_temp__3 - if is_error(r58) goto L211 (error at gatherish:-1) else goto L49 + r75 = r74 + dec_ref r75 + r76 = :: object + __mypyc_self__.__mypyc_temp__6 = r76; r77 = is_error + if not r77 goto L71 (error at _await:119) else goto L92 :: bool L49: - r59 = CPy_YieldFromErrorHandle(r58, r57) - dec_ref r58 - if is_error(r59) goto L211 (error at gatherish:49) else goto L50 + r78 = r73 L50: - if r59 goto L53 else goto L51 :: bool + __mypyc_self__.__mypyc_next_label__ = 1 + return r78 L51: - r51 = r1 - r60 = __mypyc_self__.__mypyc_temp__4 - if is_error(r60) goto L212 (error at gatherish:-1) else goto L52 + r80 = load_address _Py_NoneStruct + r81 = type != r80 + if r81 goto L52 else goto L143 :: bool L52: - CPy_RestoreExcInfo(r60) - dec_ref r60 - goto L42 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L55 (error at _await:119) else goto L144 :: bool L53: - r48 = r1 - dec_ref r48 - r61 = __mypyc_self__.__mypyc_temp__4 - if is_error(r61) goto L55 (error at gatherish:-1) else goto L54 + unreachable L54: - CPy_RestoreExcInfo(r61) - dec_ref r61 - goto L63 + inc_ref arg + goto L66 L55: - r62 = __mypyc_self__.__mypyc_temp__4 - if is_error(r62) goto L201 (error at gatherish:-1) else goto L56 + r82 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__7 = r82; r83 = is_error + if not r83 goto L145 (error at _await:-1) else goto L56 :: bool L56: - CPy_RestoreExcInfo(r62) - dec_ref r62 - r63 = CPy_KeepPropagating() - if not r63 goto L201 else goto L57 :: bool + r84 = load_address r1 + r85 = __mypyc_self__.__mypyc_temp__6 + if is_error(r85) goto L145 (error at _await:-1) else goto L57 L57: - unreachable + r86 = CPy_YieldFromErrorHandle(r85, r84) + dec_ref r85 + if is_error(r86) goto L145 (error at _await:119) else goto L58 L58: - r64 = __mypyc_self__.__mypyc_temp__3 - if is_error(r64) goto L213 (error at gatherish:-1) else goto L59 + if r86 goto L61 else goto L59 :: bool L59: - r65 = CPyIter_Send(r64, arg) - dec_ref r64 - dec_ref arg - if is_error(r65) goto L61 else goto L60 + r78 = r1 + r87 = __mypyc_self__.__mypyc_temp__7 + if is_error(r87) goto L146 (error at _await:-1) else goto L60 L60: - r51 = r65 - goto L42 + CPy_RestoreExcInfo(r87) + dec_ref r87 + goto L50 L61: - r66 = CPy_FetchStopIterationValue() - if is_error(r66) goto L201 (error at gatherish:49) else goto L62 + r75 = r1 + dec_ref r75 + r88 = __mypyc_self__.__mypyc_temp__7 + if is_error(r88) goto L63 (error at _await:-1) else goto L62 L62: - r48 = r66 - dec_ref r48 + CPy_RestoreExcInfo(r88) + dec_ref r88 + goto L92 L63: - r67 = dank_mids.helpers._gather.yield_to_loop :: static - if is_error(r67) goto L64 else goto L66 + r89 = __mypyc_self__.__mypyc_temp__7 + if is_error(r89) goto L71 (error at _await:-1) else goto L64 L64: - r68 = raise NameError('value for final name "yield_to_loop" was not set') - if not r68 goto L201 (error at gatherish:50) else goto L65 :: bool + CPy_RestoreExcInfo(r89) + dec_ref r89 + r90 = CPy_KeepPropagating() + if not r90 goto L71 else goto L65 :: bool L65: unreachable L66: - r69 = PyObject_Vectorcall(r67, 0, 0, 0) - if is_error(r69) goto L201 (error at gatherish:50) else goto L67 + r91 = __mypyc_self__.__mypyc_temp__6 + if is_error(r91) goto L147 (error at _await:-1) else goto L67 L67: - r70 = CPy_GetCoro(r69) - dec_ref r69 - if is_error(r70) goto L201 (error at gatherish:50) else goto L68 + r92 = CPyIter_Send(r91, arg) + dec_ref r91 + dec_ref arg + if is_error(r92) goto L69 else goto L68 L68: - __mypyc_self__.__mypyc_temp__5 = r70; r71 = is_error - if not r71 goto L201 (error at gatherish:-1) else goto L69 :: bool + r78 = r92 + goto L50 L69: - r72 = __mypyc_self__.__mypyc_temp__5 - if is_error(r72) goto L201 (error at gatherish:-1) else goto L70 + r93 = CPy_FetchStopIterationValue() + if is_error(r93) goto L71 (error at _await:119) else goto L70 L70: - r73 = CPyIter_Next(r72) - dec_ref r72 - if is_error(r73) goto L71 else goto L73 + r75 = r93 + dec_ref r75 + goto L92 L71: - r74 = CPy_FetchStopIterationValue() - if is_error(r74) goto L201 (error at gatherish:50) else goto L72 + r94 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__8 = r94; r95 = is_error + if not r95 goto L89 (error at _await:-1) else goto L72 :: bool L72: - r75 = r74 - dec_ref r75 - r76 = :: object - __mypyc_self__.__mypyc_temp__5 = r76; r77 = is_error - if not r77 goto L201 (error at gatherish:50) else goto L95 :: bool + r96 = builtins :: module + r97 = 'Exception' + r98 = CPyObject_GetAttr(r96, r97) + if is_error(r98) goto L89 (error at _await:120) else goto L73 L73: - r78 = r73 + r99 = CPy_ExceptionMatches(r98) + dec_ref r98 + if r99 goto L74 else goto L85 :: bool L74: - __mypyc_self__.__mypyc_next_label__ = 2 - return r78 + r100 = CPy_GetExcValue() + __mypyc_self__.__mypyc_generator_attribute__e = r100; r101 = is_error + if not r101 goto L89 (error at _await:120) else goto L75 :: bool L75: - r80 = load_address _Py_NoneStruct - r81 = type != r80 - if r81 goto L76 else goto L214 :: bool + r102 = __mypyc_self__.__mypyc_generator_attribute__e + if is_error(r102) goto L89 (error at _await:122) else goto L76 L76: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L79 (error at gatherish:50) else goto L215 :: bool + r103 = dank_mids._exceptions.DankMidsInternalError :: type + r104 = get_element_ptr r102 ob_type :: PyObject + r105 = borrow load_mem r104 :: builtins.object* + dec_ref r102 + r106 = r105 == r103 + if r106 goto L83 else goto L77 :: bool L77: - unreachable + r107 = dank_mids._batch.logger :: static + if is_error(r107) goto L78 else goto L80 L78: - inc_ref arg - goto L90 + r108 = raise NameError('value for final name "logger" was not set') + if not r108 goto L89 (error at _await:123) else goto L79 :: bool L79: - r82 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__6 = r82; r83 = is_error - if not r83 goto L216 (error at gatherish:-1) else goto L80 :: bool + unreachable L80: - r84 = load_address r3 - r85 = __mypyc_self__.__mypyc_temp__5 - if is_error(r85) goto L216 (error at gatherish:-1) else goto L81 + r109 = __mypyc_self__.__mypyc_generator_attribute__batch + if is_error(r109) goto L89 (error at _await:123) else goto L81 L81: - r86 = CPy_YieldFromErrorHandle(r85, r84) - dec_ref r85 - if is_error(r86) goto L216 (error at gatherish:50) else goto L82 + r110 = __mypyc_self__.__mypyc_generator_attribute__e + if is_error(r110) goto L148 (error at _await:123) else goto L82 L82: - if r86 goto L85 else goto L83 :: bool + r111 = log_internal_error(r107, r109, r110) + dec_ref r109 + dec_ref r110 + if is_error(r111) goto L89 (error at _await:123) else goto L83 L83: - r78 = r3 - r87 = __mypyc_self__.__mypyc_temp__6 - if is_error(r87) goto L217 (error at gatherish:-1) else goto L84 + r112 = __mypyc_self__.__mypyc_generator_attribute__task + if is_error(r112) goto L89 (error at _await:124) else goto L84 L84: - CPy_RestoreExcInfo(r87) - dec_ref r87 - goto L74 + __mypyc_self__.__mypyc_generator_attribute__last_failure = r112; r113 = is_error + if not r113 goto L89 (error at _await:124) else goto L87 :: bool L85: - r75 = r3 - dec_ref r75 - r88 = __mypyc_self__.__mypyc_temp__6 - if is_error(r88) goto L87 (error at gatherish:-1) else goto L86 + CPy_Reraise() + if not 0 goto L89 else goto L86 :: bool L86: - CPy_RestoreExcInfo(r88) - dec_ref r88 - goto L95 + unreachable L87: - r89 = __mypyc_self__.__mypyc_temp__6 - if is_error(r89) goto L201 (error at gatherish:-1) else goto L88 + r114 = __mypyc_self__.__mypyc_temp__8 + if is_error(r114) goto L137 (error at _await:-1) else goto L88 L88: - CPy_RestoreExcInfo(r89) - dec_ref r89 - r90 = CPy_KeepPropagating() - if not r90 goto L201 else goto L89 :: bool + CPy_RestoreExcInfo(r114) + dec_ref r114 + goto L92 L89: - unreachable + r115 = __mypyc_self__.__mypyc_temp__8 + if is_error(r115) goto L137 (error at _await:-1) else goto L90 L90: - r91 = __mypyc_self__.__mypyc_temp__5 - if is_error(r91) goto L218 (error at gatherish:-1) else goto L91 + CPy_RestoreExcInfo(r115) + dec_ref r115 + r116 = CPy_KeepPropagating() + if not r116 goto L137 else goto L91 :: bool L91: - r92 = CPyIter_Send(r91, arg) - dec_ref r91 - dec_ref arg - if is_error(r92) goto L93 else goto L92 + unreachable L92: - r78 = r92 - goto L74 + r117 = __mypyc_self__.__mypyc_temp__1 + if is_error(r117) goto L137 (error at _await:117) else goto L93 L93: - r93 = CPy_FetchStopIterationValue() - if is_error(r93) goto L201 (error at gatherish:50) else goto L94 + r118 = r117 + 1 + __mypyc_self__.__mypyc_temp__1 = r118; r119 = is_error + if not r119 goto L137 (error at _await:117) else goto L94 :: bool L94: - r75 = r93 - dec_ref r75 + r120 = __mypyc_self__.__mypyc_temp__5 + if is_error(r120) goto L137 (error at _await:117) else goto L95 L95: - r94 = __mypyc_self__.__mypyc_generator_attribute__tasks - if is_error(r94) goto L201 (error at gatherish:51) else goto L96 + r121 = r120 + 1 + __mypyc_self__.__mypyc_temp__5 = r121; r122 = is_error + if not r122 goto L137 (error at _await:117) else goto L30 :: bool L96: - r95 = PyObject_GetIter(r94) - if is_error(r95) goto L219 (error at gatherish:51) else goto L97 + r123 = __mypyc_self__.__mypyc_generator_attribute__last_failure + if is_error(r123) goto L137 (error at _await:126) else goto L97 L97: - __mypyc_self__.__mypyc_temp__7 = r94; r96 = is_error - if not r96 goto L220 (error at gatherish:-1) else goto L98 :: bool + r124 = load_address _Py_NoneStruct + r125 = r123 != r124 + dec_ref r123 + if r125 goto L98 else goto L127 :: bool L98: - __mypyc_self__.__mypyc_temp__8 = r95; r97 = is_error - if not r97 goto L201 (error at gatherish:-1) else goto L99 :: bool + r126 = __mypyc_self__.__mypyc_generator_attribute__last_failure + if is_error(r126) goto L137 (error at _await:128) else goto L99 L99: - r98 = __mypyc_self__.__mypyc_temp__8 - if is_error(r98) goto L201 (error at gatherish:51) else goto L100 + r127 = CPy_GetCoro(r126) + dec_ref r126 + if is_error(r127) goto L137 (error at _await:128) else goto L100 L100: - r99 = PyIter_Next(r98) - dec_ref r98 - if is_error(r99) goto L188 else goto L101 + __mypyc_self__.__mypyc_temp__9 = r127; r128 = is_error + if not r128 goto L137 (error at _await:-1) else goto L101 :: bool L101: - __mypyc_self__.__mypyc_generator_attribute__task = r99; r100 = is_error - if not r100 goto L201 (error at gatherish:51) else goto L102 :: bool + r129 = __mypyc_self__.__mypyc_temp__9 + if is_error(r129) goto L137 (error at _await:-1) else goto L102 L102: - r101 = __mypyc_self__.__mypyc_generator_attribute__task - if is_error(r101) goto L131 (error at gatherish:53) else goto L103 + r130 = CPyIter_Next(r129) + dec_ref r129 + if is_error(r130) goto L103 else goto L105 L103: - r102 = CPy_GetCoro(r101) - dec_ref r101 - if is_error(r102) goto L131 (error at gatherish:53) else goto L104 + r131 = CPy_FetchStopIterationValue() + if is_error(r131) goto L137 (error at _await:128) else goto L104 L104: - __mypyc_self__.__mypyc_temp__9 = r102; r103 = is_error - if not r103 goto L131 (error at gatherish:-1) else goto L105 :: bool + r132 = r131 + dec_ref r132 + r133 = :: object + __mypyc_self__.__mypyc_temp__9 = r133; r134 = is_error + if not r134 goto L137 (error at _await:128) else goto L127 :: bool L105: - r104 = __mypyc_self__.__mypyc_temp__9 - if is_error(r104) goto L131 (error at gatherish:-1) else goto L106 + r135 = r130 L106: - r105 = CPyIter_Next(r104) - dec_ref r104 - if is_error(r105) goto L107 else goto L109 + __mypyc_self__.__mypyc_next_label__ = 2 + return r135 L107: - r106 = CPy_FetchStopIterationValue() - if is_error(r106) goto L131 (error at gatherish:53) else goto L108 -L108: - r107 = r106 - dec_ref r107 - r108 = :: object - __mypyc_self__.__mypyc_temp__9 = r108; r109 = is_error - if not r109 goto L131 (error at gatherish:53) else goto L99 :: bool -L109: - r110 = r105 -L110: - __mypyc_self__.__mypyc_next_label__ = 3 - return r110 -L111: - r112 = load_address _Py_NoneStruct - r113 = type != r112 - if r113 goto L112 else goto L221 :: bool -L112: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L115 (error at gatherish:53) else goto L222 :: bool -L113: - unreachable -L114: - inc_ref arg - goto L126 -L115: - r114 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__10 = r114; r115 = is_error - if not r115 goto L223 (error at gatherish:-1) else goto L116 :: bool -L116: - r116 = load_address r5 - r117 = __mypyc_self__.__mypyc_temp__9 - if is_error(r117) goto L223 (error at gatherish:-1) else goto L117 -L117: - r118 = CPy_YieldFromErrorHandle(r117, r116) - dec_ref r117 - if is_error(r118) goto L223 (error at gatherish:53) else goto L118 -L118: - if r118 goto L121 else goto L119 :: bool -L119: - r110 = r5 - r119 = __mypyc_self__.__mypyc_temp__10 - if is_error(r119) goto L224 (error at gatherish:-1) else goto L120 -L120: - CPy_RestoreExcInfo(r119) - dec_ref r119 - goto L110 -L121: - r107 = r5 - dec_ref r107 - r120 = __mypyc_self__.__mypyc_temp__10 - if is_error(r120) goto L123 (error at gatherish:-1) else goto L122 -L122: - CPy_RestoreExcInfo(r120) - dec_ref r120 - goto L99 -L123: - r121 = __mypyc_self__.__mypyc_temp__10 - if is_error(r121) goto L131 (error at gatherish:-1) else goto L124 -L124: - CPy_RestoreExcInfo(r121) - dec_ref r121 - r122 = CPy_KeepPropagating() - if not r122 goto L131 else goto L125 :: bool -L125: - unreachable -L126: - r123 = __mypyc_self__.__mypyc_temp__9 - if is_error(r123) goto L225 (error at gatherish:-1) else goto L127 -L127: - r124 = CPyIter_Send(r123, arg) - dec_ref r123 - dec_ref arg - if is_error(r124) goto L129 else goto L128 -L128: - r110 = r124 - goto L110 -L129: - r125 = CPy_FetchStopIterationValue() - if is_error(r125) goto L131 (error at gatherish:53) else goto L130 -L130: - r107 = r125 - dec_ref r107 - goto L99 -L131: - r126 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__11 = r126; r127 = is_error - if not r127 goto L185 (error at gatherish:-1) else goto L132 :: bool -L132: - r128 = builtins :: module - r129 = 'Exception' - r130 = CPyObject_GetAttr(r128, r129) - if is_error(r130) goto L185 (error at gatherish:54) else goto L133 -L133: - r131 = CPy_ExceptionMatches(r130) - dec_ref r130 - if r131 goto L134 else goto L183 :: bool -L134: - r132 = __mypyc_self__.__mypyc_generator_attribute__tasks - if is_error(r132) goto L185 (error at gatherish:57) else goto L135 -L135: - r133 = PyObject_GetIter(r132) - if is_error(r133) goto L226 (error at gatherish:57) else goto L136 -L136: - __mypyc_self__.__mypyc_temp__12 = r132; r134 = is_error - if not r134 goto L227 (error at gatherish:-1) else goto L137 :: bool -L137: - __mypyc_self__.__mypyc_temp__13 = r133; r135 = is_error - if not r135 goto L185 (error at gatherish:-1) else goto L138 :: bool -L138: - r136 = __mypyc_self__.__mypyc_temp__13 - if is_error(r136) goto L185 (error at gatherish:57) else goto L139 -L139: - r137 = PyIter_Next(r136) - dec_ref r136 - if is_error(r137) goto L180 else goto L140 -L140: - __mypyc_self__.__mypyc_generator_attribute__task = r137; r138 = is_error - if not r138 goto L185 (error at gatherish:57) else goto L141 :: bool -L141: - r139 = __mypyc_self__.__mypyc_generator_attribute__task - if is_error(r139) goto L170 (error at gatherish:60) else goto L142 -L142: - r140 = CPy_GetCoro(r139) - dec_ref r139 - if is_error(r140) goto L170 (error at gatherish:60) else goto L143 -L143: - __mypyc_self__.__mypyc_temp__14 = r140; r141 = is_error - if not r141 goto L170 (error at gatherish:-1) else goto L144 :: bool -L144: - r142 = __mypyc_self__.__mypyc_temp__14 - if is_error(r142) goto L170 (error at gatherish:-1) else goto L145 -L145: - r143 = CPyIter_Next(r142) - dec_ref r142 - if is_error(r143) goto L146 else goto L148 -L146: - r144 = CPy_FetchStopIterationValue() - if is_error(r144) goto L170 (error at gatherish:60) else goto L147 -L147: - r145 = r144 - dec_ref r145 - r146 = :: object - __mypyc_self__.__mypyc_temp__14 = r146; r147 = is_error - if not r147 goto L170 (error at gatherish:60) else goto L138 :: bool -L148: - r148 = r143 -L149: - __mypyc_self__.__mypyc_next_label__ = 4 - return r148 -L150: - r150 = load_address _Py_NoneStruct - r151 = type != r150 - if r151 goto L151 else goto L228 :: bool -L151: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L154 (error at gatherish:60) else goto L229 :: bool -L152: - unreachable -L153: - inc_ref arg - goto L165 -L154: - r152 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__15 = r152; r153 = is_error - if not r153 goto L230 (error at gatherish:-1) else goto L155 :: bool -L155: - r154 = load_address r7 - r155 = __mypyc_self__.__mypyc_temp__14 - if is_error(r155) goto L230 (error at gatherish:-1) else goto L156 -L156: - r156 = CPy_YieldFromErrorHandle(r155, r154) - dec_ref r155 - if is_error(r156) goto L230 (error at gatherish:60) else goto L157 -L157: - if r156 goto L160 else goto L158 :: bool -L158: - r148 = r7 - r157 = __mypyc_self__.__mypyc_temp__15 - if is_error(r157) goto L231 (error at gatherish:-1) else goto L159 -L159: - CPy_RestoreExcInfo(r157) - dec_ref r157 - goto L149 -L160: - r145 = r7 - dec_ref r145 - r158 = __mypyc_self__.__mypyc_temp__15 - if is_error(r158) goto L162 (error at gatherish:-1) else goto L161 -L161: - CPy_RestoreExcInfo(r158) - dec_ref r158 - goto L138 -L162: - r159 = __mypyc_self__.__mypyc_temp__15 - if is_error(r159) goto L170 (error at gatherish:-1) else goto L163 -L163: - CPy_RestoreExcInfo(r159) - dec_ref r159 - r160 = CPy_KeepPropagating() - if not r160 goto L170 else goto L164 :: bool -L164: - unreachable -L165: - r161 = __mypyc_self__.__mypyc_temp__14 - if is_error(r161) goto L232 (error at gatherish:-1) else goto L166 -L166: - r162 = CPyIter_Send(r161, arg) - dec_ref r161 - dec_ref arg - if is_error(r162) goto L168 else goto L167 -L167: - r148 = r162 - goto L149 -L168: - r163 = CPy_FetchStopIterationValue() - if is_error(r163) goto L170 (error at gatherish:60) else goto L169 -L169: - r145 = r163 - dec_ref r145 - goto L138 -L170: - r164 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__16 = r164; r165 = is_error - if not r165 goto L177 (error at gatherish:-1) else goto L171 :: bool -L171: - r166 = builtins :: module - r167 = 'Exception' - r168 = CPyObject_GetAttr(r166, r167) - if is_error(r168) goto L177 (error at gatherish:61) else goto L172 -L172: - r169 = CPy_ExceptionMatches(r168) - dec_ref r168 - if r169 goto L175 else goto L173 :: bool -L173: - CPy_Reraise() - if not 0 goto L177 else goto L174 :: bool -L174: - unreachable -L175: - r170 = __mypyc_self__.__mypyc_temp__16 - if is_error(r170) goto L185 (error at gatherish:-1) else goto L176 -L176: - CPy_RestoreExcInfo(r170) - dec_ref r170 - goto L138 -L177: - r171 = __mypyc_self__.__mypyc_temp__16 - if is_error(r171) goto L185 (error at gatherish:-1) else goto L178 -L178: - CPy_RestoreExcInfo(r171) - dec_ref r171 - r172 = CPy_KeepPropagating() - if not r172 goto L185 else goto L179 :: bool -L179: - unreachable -L180: - r173 = CPy_NoErrOccurred() - if not r173 goto L185 (error at gatherish:57) else goto L181 :: bool -L181: - CPy_Reraise() - if not 0 goto L185 else goto L182 :: bool -L182: - unreachable -L183: - CPy_Reraise() - if not 0 goto L185 else goto L184 :: bool -L184: - unreachable -L185: - r174 = __mypyc_self__.__mypyc_temp__11 - if is_error(r174) goto L201 (error at gatherish:-1) else goto L186 -L186: - CPy_RestoreExcInfo(r174) - dec_ref r174 - r175 = CPy_KeepPropagating() - if not r175 goto L201 else goto L187 :: bool -L187: + r137 = load_address _Py_NoneStruct + r138 = type != r137 + if r138 goto L108 else goto L149 :: bool +L108: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L111 (error at _await:128) else goto L150 :: bool +L109: unreachable -L188: - r176 = CPy_NoErrOccurred() - if not r176 goto L201 (error at gatherish:51) else goto L189 :: bool -L189: - r177 = box(None, 1) +L110: + inc_ref arg + goto L122 +L111: + r139 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__10 = r139; r140 = is_error + if not r140 goto L151 (error at _await:-1) else goto L112 :: bool +L112: + r141 = load_address r3 + r142 = __mypyc_self__.__mypyc_temp__9 + if is_error(r142) goto L151 (error at _await:-1) else goto L113 +L113: + r143 = CPy_YieldFromErrorHandle(r142, r141) + dec_ref r142 + if is_error(r143) goto L151 (error at _await:128) else goto L114 +L114: + if r143 goto L117 else goto L115 :: bool +L115: + r135 = r3 + r144 = __mypyc_self__.__mypyc_temp__10 + if is_error(r144) goto L152 (error at _await:-1) else goto L116 +L116: + CPy_RestoreExcInfo(r144) + dec_ref r144 + goto L106 +L117: + r132 = r3 + dec_ref r132 + r145 = __mypyc_self__.__mypyc_temp__10 + if is_error(r145) goto L119 (error at _await:-1) else goto L118 +L118: + CPy_RestoreExcInfo(r145) + dec_ref r145 + goto L127 +L119: + r146 = __mypyc_self__.__mypyc_temp__10 + if is_error(r146) goto L137 (error at _await:-1) else goto L120 +L120: + CPy_RestoreExcInfo(r146) + dec_ref r146 + r147 = CPy_KeepPropagating() + if not r147 goto L137 else goto L121 :: bool +L121: + unreachable +L122: + r148 = __mypyc_self__.__mypyc_temp__9 + if is_error(r148) goto L153 (error at _await:-1) else goto L123 +L123: + r149 = CPyIter_Send(r148, arg) + dec_ref r148 + dec_ref arg + if is_error(r149) goto L125 else goto L124 +L124: + r135 = r149 + goto L106 +L125: + r150 = CPy_FetchStopIterationValue() + if is_error(r150) goto L137 (error at _await:128) else goto L126 +L126: + r132 = r150 + dec_ref r132 +L127: + r151 = box(None, 1) __mypyc_self__.__mypyc_next_label__ = -1 -L190: - if is_error(stop_iter_ptr) goto L191 else goto L193 -L191: - CPyGen_SetStopIterationValue(r177) - if not 0 goto L201 else goto L192 :: bool -L192: +L128: + if is_error(stop_iter_ptr) goto L129 else goto L131 +L129: + CPyGen_SetStopIterationValue(r151) + if not 0 goto L137 else goto L130 :: bool +L130: unreachable -L193: - inc_ref r177 - set_mem stop_iter_ptr, r177 :: builtins.object* +L131: + inc_ref r151 + set_mem stop_iter_ptr, r151 :: builtins.object* return 0 -L194: - r179 = r8 == 0 - if r179 goto L233 else goto L195 :: bool -L195: - r180 = r8 == 1 - if r180 goto L234 else goto L235 :: bool -L196: - r181 = r8 == 2 - if r181 goto L236 else goto L237 :: bool -L197: - r182 = r8 == 3 - if r182 goto L238 else goto L239 :: bool -L198: - r183 = r8 == 4 - if r183 goto L150 else goto L240 :: bool -L199: - r184 = raise StopIteration - if not r184 goto L201 (error at gatherish:33) else goto L200 :: bool -L200: +L132: + r153 = r4 == 0 + if r153 goto L154 else goto L133 :: bool +L133: + r154 = r4 == 1 + if r154 goto L155 else goto L156 :: bool +L134: + r155 = r4 == 2 + if r155 goto L107 else goto L157 :: bool +L135: + r156 = raise StopIteration + if not r156 goto L137 (error at _await:102) else goto L136 :: bool +L136: unreachable -L201: - r185 = :: object - return r185 -L202: - dec_ref r17 - goto L201 -L203: - dec_ref r18 - goto L201 -L204: - dec_ref r24 - goto L201 -L205: - dec_ref r24 - dec_ref r25 - goto L201 -L206: - dec_ref r24 - dec_ref r25 - dec_ref r26 - goto L22 -L207: - dec_ref r24 - dec_ref r25 - dec_ref r26 - goto L201 -L208: - dec_ref r32 - goto L201 -L209: +L137: + r157 = :: object + return r157 +L138: + dec_ref r16 + goto L137 +L139: + dec_ref r19 + goto L137 +L140: + dec_ref r19 + dec_ref r27 + goto L137 +L141: + dec_ref r53 + goto L137 +L142: + dec_ref r61 + goto L137 +L143: xdec_ref r1 - goto L46 -L210: + goto L54 +L144: xdec_ref r1 - goto L45 -L211: + goto L53 +L145: xdec_ref r1 - goto L55 -L212: - dec_ref r51 - goto L55 -L213: + goto L63 +L146: + dec_ref r78 + goto L63 +L147: dec_ref arg - goto L201 -L214: + goto L71 +L148: + dec_ref r109 + goto L89 +L149: xdec_ref r3 - goto L78 -L215: + goto L110 +L150: xdec_ref r3 - goto L77 -L216: + goto L109 +L151: xdec_ref r3 - goto L87 -L217: - dec_ref r78 - goto L87 -L218: - dec_ref arg - goto L201 -L219: - dec_ref r94 - goto L201 -L220: - dec_ref r95 - goto L201 -L221: - xdec_ref r5 - goto L114 -L222: - xdec_ref r5 - goto L113 -L223: - xdec_ref r5 - goto L123 -L224: - dec_ref r110 - goto L123 -L225: - dec_ref arg - goto L131 -L226: - dec_ref r132 - goto L185 -L227: - dec_ref r133 - goto L185 -L228: - xdec_ref r7 - goto L153 -L229: - xdec_ref r7 - goto L152 -L230: - xdec_ref r7 - goto L162 -L231: - dec_ref r148 - goto L162 -L232: + goto L119 +L152: + dec_ref r135 + goto L119 +L153: dec_ref arg - goto L170 -L233: + goto L137 +L154: xdec_ref r1 xdec_ref r3 - xdec_ref r5 - xdec_ref r7 goto L1 -L234: +L155: xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - goto L43 -L235: + goto L51 +L156: xdec_ref r1 - goto L196 -L236: - xdec_ref r5 - xdec_ref r7 - goto L75 -L237: + goto L134 +L157: xdec_ref r3 - goto L197 -L238: - xdec_ref r7 - goto L111 -L239: - xdec_ref r5 - goto L198 -L240: - xdec_ref r7 - goto L199 + goto L135 -def gatherish_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen +def _await_DankBatch_gen.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids._batch._await_DankBatch_gen r0, r1, r2 :: object L0: r0 = load_address _Py_NoneStruct - r1 = gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) + r1 = _await_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) if is_error(r1) goto L2 else goto L1 L1: return r1 @@ -36586,12 +34070,12 @@ L2: r2 = :: object return r2 -def gatherish_gen.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen +def _await_DankBatch_gen.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids._batch._await_DankBatch_gen arg, r0, r1, r2 :: object L0: r0 = load_address _Py_NoneStruct - r1 = gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) + r1 = _await_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) if is_error(r1) goto L2 else goto L1 L1: return r1 @@ -36599,14 +34083,14 @@ L2: r2 = :: object return r2 -def gatherish_gen.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen +def _await_DankBatch_gen.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids._batch._await_DankBatch_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 +def _await_DankBatch_gen.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids._batch._await_DankBatch_gen type, value, traceback, r0, r1, r2 :: object L0: r0 = load_address _Py_NoneStruct @@ -36620,7 +34104,7 @@ L3: inc_ref r0 traceback = r0 L4: - r1 = gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) + r1 = _await_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) dec_ref value dec_ref traceback if is_error(r1) goto L6 else goto L5 @@ -36636,8 +34120,8 @@ L8: inc_ref traceback goto L4 -def gatherish_gen.close(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen +def _await_DankBatch_gen.close(__mypyc_self__): + __mypyc_self__ :: dank_mids._batch._await_DankBatch_gen r0 :: object r1 :: str r2, r3, r4, r5 :: object @@ -36705,569 +34189,575 @@ L13: dec_ref r6 goto L6 -def gatherish_gen.__await__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen +def _await_DankBatch_gen.__await__(__mypyc_self__): + __mypyc_self__ :: dank_mids._batch._await_DankBatch_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_gen - r2, r3, r4 :: bool - r5 :: dank_mids.helpers._gather.gatherish_gen +def DankBatch._await(self): + self :: dank_mids._batch.DankBatch + r0 :: dank_mids._batch._await_DankBatch_gen + r1, r2 :: bool + r3 :: dank_mids._batch._await_DankBatch_gen L0: - if is_error(name) goto L1 else goto L7 + r0 = _await_DankBatch_gen() + if is_error(r0) goto L3 (error at _await:102) else goto L1 L1: - r0 = box(None, 1) - inc_ref r0 - name = r0 + r0.__mypyc_next_label__ = 0 + inc_ref self + r0.__mypyc_generator_attribute__self = self; r2 = is_error + if not r2 goto L4 (error at _await:102) else goto L2 :: bool L2: - r1 = gatherish_gen() - if is_error(r1) goto L8 (error at gatherish:33) else goto L3 + return r0 L3: - r1.__mypyc_next_label__ = 0 - inc_ref coros - r1.__mypyc_generator_attribute__coros = coros; r3 = is_error - if not r3 goto L9 (error at gatherish:33) else goto L4 :: bool + r3 = :: dank_mids._batch._await_DankBatch_gen + return r3 L4: - r1.__mypyc_generator_attribute__name = name; r4 = is_error - if not r4 goto L10 (error at gatherish:33) else goto L5 :: bool -L5: - return r1 -L6: - r5 = :: dank_mids.helpers._gather.gatherish_gen - return r5 -L7: - inc_ref name - goto L2 -L8: - dec_ref name - goto L6 -L9: - dec_ref name - dec_ref r1 - goto L6 -L10: - dec_ref r1 - goto L6 + dec_ref r0 + goto L3 -def first_completed_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): - __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen +def coroutines_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): + __mypyc_self__ :: dank_mids._batch.coroutines_DankBatch_gen type, value, traceback, arg :: object stop_iter_ptr :: object_ptr - r0, r1, r2, r3 :: object - r4 :: i32 - r5 :: object - r6 :: bit - r7 :: bool - r8 :: tuple - r9 :: str - r10 :: object - r11 :: bool - r12 :: object[2] - r13 :: object_ptr - r14, r15, r16 :: object - r17 :: bool - r18, r19, r20, r21, r22 :: object - r23 :: bool - r24 :: object - r25 :: bool - r26 :: object - r27 :: bit - r28 :: tuple[object, object, object] + r0 :: i32 + r1 :: object + r2 :: bit + r3 :: dank_mids._batch.DankBatch + r4 :: object + r5 :: bool + r6 :: object + r7 :: str + r8 :: object + r9 :: bool + r10 :: dank_mids._batch.DankBatch + r11 :: object + r12 :: bool + r13 :: dank_mids._batch.DankBatch + r14 :: dict + r15, r16 :: bool + r17 :: dict + r18 :: native_int + r19 :: bool + r20 :: object + r21 :: bool + r22 :: object + r23 :: short_int + r24 :: tuple[bool, short_int, object] + r25 :: short_int + r26, r27 :: bool + r28 :: object r29 :: bool - r30 :: object_ptr - r31 :: object - r32 :: bool - r33, r34, r35 :: tuple[object, object, object] + r30 :: object + r31 :: int + r32, r33, r34 :: object + r35 :: i32 r36 :: bit - r37, r38, r39 :: object - r40 :: tuple[set, set] - r41 :: object - r42 :: bool - r43 :: tuple - r44 :: str - r45 :: object - r46 :: bool - r47 :: object[2] - r48 :: object_ptr - r49, r50, r51 :: object - r52 :: bool - r53, r54, r55, r56, r57 :: object + r37 :: bool + r38, r39, r40 :: object + r41 :: object[2] + r42 :: object_ptr + r43, r44, r45, r46 :: object + r47 :: str + r48 :: object + r49 :: object[3] + r50 :: object_ptr + r51, r52, r53 :: object + r54 :: str + r55 :: object + r56 :: bool + r57 :: object r58 :: bool r59 :: object - r60 :: bool - r61 :: object - r62 :: bit - r63 :: tuple[object, object, object] - r64 :: bool - r65 :: object_ptr - r66 :: object - r67 :: bool - r68, r69, r70 :: tuple[object, object, object] - r71 :: bit - r72, r73, r74 :: object - r75 :: tuple[set, set] - r76, r77, r78 :: set - r79 :: bool - r80 :: set - r81 :: bool - r82 :: set - r83 :: object - r84, r85 :: bool - r86, r87 :: object - r88 :: bool - r89 :: object - r90 :: str - r91 :: object[1] - r92 :: object_ptr - r93 :: object - r94 :: bit - r95 :: set - r96 :: bool - r97, r98, r99 :: bit - r100 :: bool - r101 :: object + r60 :: bit + r61 :: dank_mids._batch.DankBatch + r62 :: object + r63 :: dict + r64 :: str + r65 :: object + r66 :: object[1] + r67 :: object_ptr + r68 :: object + r69 :: bool + r70 :: object + r71 :: str + r72 :: object + r73 :: bool + r74 :: dict + r75 :: native_int + r76, r77 :: bit + r78 :: object + r79 :: i32 + r80 :: bit + r81 :: bool + r82 :: object + r83 :: int + r84 :: bit + r85, r86, r87 :: object + r88 :: str + r89 :: object + r90 :: object[1] + r91 :: object_ptr + r92 :: object + r93 :: bool + r94 :: object + r95 :: str + r96 :: object + r97 :: str + r98 :: object[1] + r99 :: object_ptr + r100, r101, r102 :: object + r103 :: dict + r104 :: str + r105 :: object + r106 :: bit + r107, r108, r109 :: object + r110 :: str + r111 :: object[1] + r112 :: object_ptr + r113 :: object + r114 :: bool + r115 :: object + r116 :: bit + r117 :: object + r118 :: bool + r119 :: object + r120 :: bit + r121 :: object + r122 :: bool + r123, r124, r125, r126 :: bit + r127 :: bool + r128 :: object L0: - r0 = :: object - r1 = r0 - r2 = :: object - r3 = r2 - r4 = __mypyc_self__.__mypyc_next_label__ - goto L98 + r0 = __mypyc_self__.__mypyc_next_label__ + goto L93 L1: - r5 = load_address _Py_NoneStruct - r6 = type != r5 - if r6 goto L2 else goto L4 :: bool + r1 = load_address _Py_NoneStruct + r2 = type != r1 + if r2 goto L2 else goto L4 :: bool L2: CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L103 (error at first_completed:74) else goto L3 :: bool + if not 0 goto L99 (error at coroutines:131) else goto L3 :: bool L3: unreachable L4: - r7 = __mypyc_self__.__mypyc_generator_attribute__cancel - if is_error(r7) goto L103 (error at first_completed:77) else goto L5 + r3 = __mypyc_self__.__mypyc_generator_attribute__self + if is_error(r3) goto L99 (error at coroutines:145) else goto L5 L5: - if r7 goto L45 else goto L6 :: bool + r4 = r3.rpc_calls + dec_ref r3 + __mypyc_self__.__mypyc_generator_attribute__working_batch = r4; r5 = is_error + if not r5 goto L99 (error at coroutines:145) else goto L6 :: bool L6: - r8 = __mypyc_self__.__mypyc_generator_attribute__fs - if is_error(r8) goto L103 (error at first_completed:78) else goto L7 + r6 = __mypyc_self__.__mypyc_generator_attribute__working_batch + if is_error(r6) goto L99 (error at coroutines:148) else goto L7 L7: - r9 = 'FIRST_COMPLETED' - r10 = dank_mids.helpers._gather.wait :: static - if is_error(r10) goto L104 else goto L10 + r7 = 'append' + r8 = CPyObject_GetAttr(r6, r7) + dec_ref r6 + if is_error(r8) goto L99 (error at coroutines:148) else goto L8 L8: - r11 = raise NameError('value for final name "wait" was not set') - if not r11 goto L103 (error at first_completed:78) else goto L9 :: bool + __mypyc_self__.__mypyc_generator_attribute__batch_append = r8; r9 = is_error + if not r9 goto L99 (error at coroutines:148) else goto L9 :: bool L9: - unreachable + r10 = __mypyc_self__.__mypyc_generator_attribute__self + if is_error(r10) goto L99 (error at coroutines:151) else goto L10 L10: - r12 = [r8, r9] - r13 = load_address r12 - r14 = ('return_when',) - r15 = PyObject_Vectorcall(r10, r13, 1, r14) - if is_error(r15) goto L105 (error at first_completed:78) else goto L11 + r11 = r10._check_len + dec_ref r10 + __mypyc_self__.__mypyc_generator_attribute__check_len = r11; r12 = is_error + if not r12 goto L99 (error at coroutines:151) else goto L11 :: bool L11: - dec_ref r8 - r16 = CPy_GetCoro(r15) - dec_ref r15 - if is_error(r16) goto L103 (error at first_completed:78) else goto L12 + r13 = __mypyc_self__.__mypyc_generator_attribute__self + if is_error(r13) goto L99 (error at coroutines:152) else goto L12 L12: - __mypyc_self__.__mypyc_temp__17 = r16; r17 = is_error - if not r17 goto L103 (error at first_completed:-1) else goto L13 :: bool + r14 = r13.multicalls + dec_ref r13 + inc_ref r14 + __mypyc_self__.__mypyc_temp__11 = r14; r15 = is_error + if not r15 goto L100 (error at coroutines:-1) else goto L13 :: bool L13: - r18 = __mypyc_self__.__mypyc_temp__17 - if is_error(r18) goto L103 (error at first_completed:-1) else goto L14 + __mypyc_self__.__mypyc_temp__12 = 0; r16 = is_error + if not r16 goto L100 (error at coroutines:-1) else goto L14 :: bool L14: - r19 = CPyIter_Next(r18) - dec_ref r18 - if is_error(r19) goto L15 else goto L17 + r17 = __mypyc_self__.__mypyc_temp__11 + if is_error(r17) goto L100 (error at coroutines:152) else goto L15 L15: - r20 = CPy_FetchStopIterationValue() - if is_error(r20) goto L103 (error at first_completed:78) else goto L16 + r18 = PyDict_Size(r17) + dec_ref r17 + __mypyc_self__.__mypyc_temp__13 = r18; r19 = is_error + if not r19 goto L100 (error at coroutines:-1) else goto L16 :: bool L16: - r21 = r20 - r22 = :: object - __mypyc_self__.__mypyc_temp__17 = r22; r23 = is_error - if not r23 goto L106 (error at first_completed:78) else goto L39 :: bool + r20 = CPyDict_GetValuesIter(r14) + dec_ref r14 + if is_error(r20) goto L99 (error at coroutines:152) else goto L17 L17: - r24 = r19 + __mypyc_self__.__mypyc_temp__14 = r20; r21 = is_error + if not r21 goto L99 (error at coroutines:-1) else goto L18 :: bool L18: - __mypyc_self__.__mypyc_next_label__ = 1 - return r24 + r22 = __mypyc_self__.__mypyc_temp__14 + if is_error(r22) goto L99 (error at coroutines:152) else goto L19 L19: - r26 = load_address _Py_NoneStruct - r27 = type != r26 - if r27 goto L20 else goto L107 :: bool + r23 = __mypyc_self__.__mypyc_temp__12 + if is_error(r23) goto L101 (error at coroutines:152) else goto L20 L20: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L23 (error at first_completed:78) else goto L108 :: bool + r24 = CPyDict_NextValue(r22, r23) + dec_ref r22 + r25 = r24[1] + __mypyc_self__.__mypyc_temp__12 = r25; r26 = is_error + if not r26 goto L102 (error at coroutines:152) else goto L21 :: bool L21: - unreachable + r27 = r24[0] + if r27 goto L22 else goto L103 :: bool L22: - inc_ref arg - goto L34 + r28 = r24[2] + dec_ref r24 + __mypyc_self__.__mypyc_generator_attribute__mcall = r28; r29 = is_error + if not r29 goto L99 (error at coroutines:152) else goto L23 :: bool L23: - r28 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__18 = r28; r29 = is_error - if not r29 goto L109 (error at first_completed:-1) else goto L24 :: bool + r30 = __mypyc_self__.__mypyc_generator_attribute__mcall + if is_error(r30) goto L99 (error at coroutines:153) else goto L24 L24: - r30 = load_address r1 - r31 = __mypyc_self__.__mypyc_temp__17 - if is_error(r31) goto L109 (error at first_completed:-1) else goto L25 + r31 = CPyObject_Size(r30) + dec_ref r30 + if is_error(r31) goto L99 (error at coroutines:153) else goto L25 L25: - r32 = CPy_YieldFromErrorHandle(r31, r30) - dec_ref r31 - if is_error(r32) goto L109 (error at first_completed:78) else goto L26 + r32 = __mypyc_self__.__mypyc_generator_attribute__check_len + if is_error(r32) goto L104 (error at coroutines:153) else goto L26 L26: - if r32 goto L29 else goto L27 :: bool + r33 = box(int, r31) + r34 = PyObject_RichCompare(r33, r32, 5) + dec_ref r33 + dec_ref r32 + if is_error(r34) goto L99 (error at coroutines:153) else goto L27 L27: - r24 = r1 - r33 = __mypyc_self__.__mypyc_temp__18 - if is_error(r33) goto L110 (error at first_completed:-1) else goto L28 + r35 = PyObject_IsTrue(r34) + dec_ref r34 + r36 = r35 >= 0 :: signed + if not r36 goto L99 (error at coroutines:153) else goto L28 :: bool L28: - CPy_RestoreExcInfo(r33) - dec_ref r33 - goto L18 + r37 = truncate r35: i32 to builtins.bool + if r37 goto L29 else goto L33 :: bool L29: - r21 = r1 - r34 = __mypyc_self__.__mypyc_temp__18 - if is_error(r34) goto L111 (error at first_completed:-1) else goto L30 + r38 = __mypyc_self__.__mypyc_generator_attribute__mcall + if is_error(r38) goto L99 (error at coroutines:154) else goto L30 L30: - CPy_RestoreExcInfo(r34) - dec_ref r34 - goto L39 + r39 = __mypyc_self__.__mypyc_generator_attribute__batch_append + if is_error(r39) goto L105 (error at coroutines:154) else goto L31 L31: - r35 = __mypyc_self__.__mypyc_temp__18 - if is_error(r35) goto L103 (error at first_completed:-1) else goto L32 + r40 = box(bool, 1) + r41 = [r38, r40] + r42 = load_address r41 + r43 = ('skip_check',) + r44 = PyObject_Vectorcall(r39, r42, 1, r43) + dec_ref r39 + if is_error(r44) goto L105 (error at coroutines:154) else goto L106 L32: - CPy_RestoreExcInfo(r35) - dec_ref r35 - r36 = CPy_KeepPropagating() - if not r36 goto L103 else goto L33 :: bool + dec_ref r38 + goto L37 L33: - unreachable + r45 = __mypyc_self__.__mypyc_generator_attribute__working_batch + if is_error(r45) goto L99 (error at coroutines:158) else goto L34 L34: - r37 = __mypyc_self__.__mypyc_temp__17 - if is_error(r37) goto L112 (error at first_completed:-1) else goto L35 + r46 = __mypyc_self__.__mypyc_generator_attribute__mcall + if is_error(r46) goto L107 (error at coroutines:158) else goto L35 L35: - r38 = CPyIter_Send(r37, arg) - dec_ref r37 - dec_ref arg - if is_error(r38) goto L37 else goto L36 + r47 = 'extend' + r48 = box(bool, 1) + r49 = [r45, r46, r48] + r50 = load_address r49 + r51 = ('skip_check',) + r52 = PyObject_VectorcallMethod(r47, r50, 9223372036854775810, r51) + if is_error(r52) goto L108 (error at coroutines:158) else goto L109 L36: - r24 = r38 - goto L18 + dec_ref r45 + dec_ref r46 L37: - r39 = CPy_FetchStopIterationValue() - if is_error(r39) goto L103 (error at first_completed:78) else goto L38 + r53 = __mypyc_self__.__mypyc_generator_attribute__working_batch + if is_error(r53) goto L99 (error at coroutines:159) else goto L38 L38: - r21 = r39 + r54 = 'is_full' + r55 = CPyObject_GetAttr(r53, r54) + dec_ref r53 + if is_error(r55) goto L99 (error at coroutines:159) else goto L39 L39: - r40 = unbox(tuple[set, set], r21) - dec_ref r21 - if is_error(r40) goto L103 (error at first_completed:78) else goto L40 + r56 = unbox(bool, r55) + dec_ref r55 + if is_error(r56) goto L99 (error at coroutines:159) else goto L40 L40: - r41 = box(tuple[set, set], r40) - __mypyc_self__.__mypyc_next_label__ = -1 + if r56 goto L41 else goto L53 :: bool L41: - if is_error(stop_iter_ptr) goto L42 else goto L44 + r57 = __mypyc_self__.__mypyc_generator_attribute__working_batch + if is_error(r57) goto L99 (error at coroutines:160) else goto L42 L42: - CPyGen_SetStopIterationValue(r41) - dec_ref r41 - if not 0 goto L103 else goto L43 :: bool + __mypyc_self__.__mypyc_next_label__ = 1 + return r57 L43: - unreachable + r59 = load_address _Py_NoneStruct + r60 = type != r59 + if r60 goto L44 else goto L46 :: bool L44: - set_mem stop_iter_ptr, r41 :: builtins.object* - return 0 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L99 (error at coroutines:160) else goto L45 :: bool L45: - r43 = __mypyc_self__.__mypyc_generator_attribute__fs - if is_error(r43) goto L103 (error at first_completed:79) else goto L46 + unreachable L46: - r44 = 'FIRST_COMPLETED' - r45 = dank_mids.helpers._gather.wait :: static - if is_error(r45) goto L113 else goto L49 + r61 = __mypyc_self__.__mypyc_generator_attribute__self + if is_error(r61) goto L99 (error at coroutines:161) else goto L47 L47: - r46 = raise NameError('value for final name "wait" was not set') - if not r46 goto L103 (error at first_completed:79) else goto L48 :: bool + r62 = r61.controller + dec_ref r61 + r63 = dank_mids._batch.globals :: static + r64 = 'JSONRPCBatch' + r65 = CPyDict_GetItem(r63, r64) + if is_error(r65) goto L110 (error at coroutines:161) else goto L48 L48: - unreachable + r66 = [r62] + r67 = load_address r66 + r68 = PyObject_Vectorcall(r65, r67, 1, 0) + dec_ref r65 + if is_error(r68) goto L110 (error at coroutines:161) else goto L49 L49: - r47 = [r43, r44] - r48 = load_address r47 - r49 = ('return_when',) - r50 = PyObject_Vectorcall(r45, r48, 1, r49) - if is_error(r50) goto L114 (error at first_completed:79) else goto L50 + dec_ref r62 + __mypyc_self__.__mypyc_generator_attribute__working_batch = r68; r69 = is_error + if not r69 goto L99 (error at coroutines:161) else goto L50 :: bool L50: - dec_ref r43 - r51 = CPy_GetCoro(r50) - dec_ref r50 - if is_error(r51) goto L103 (error at first_completed:79) else goto L51 + r70 = __mypyc_self__.__mypyc_generator_attribute__working_batch + if is_error(r70) goto L99 (error at coroutines:162) else goto L51 L51: - __mypyc_self__.__mypyc_temp__19 = r51; r52 = is_error - if not r52 goto L103 (error at first_completed:-1) else goto L52 :: bool + r71 = 'append' + r72 = CPyObject_GetAttr(r70, r71) + dec_ref r70 + if is_error(r72) goto L99 (error at coroutines:162) else goto L52 L52: - r53 = __mypyc_self__.__mypyc_temp__19 - if is_error(r53) goto L103 (error at first_completed:-1) else goto L53 + __mypyc_self__.__mypyc_generator_attribute__batch_append = r72; r73 = is_error + if not r73 goto L99 (error at coroutines:162) else goto L53 :: bool L53: - r54 = CPyIter_Next(r53) - dec_ref r53 - if is_error(r54) goto L54 else goto L56 + r74 = __mypyc_self__.__mypyc_temp__11 + if is_error(r74) goto L99 (error at coroutines:152) else goto L54 L54: - r55 = CPy_FetchStopIterationValue() - if is_error(r55) goto L103 (error at first_completed:79) else goto L55 + r75 = __mypyc_self__.__mypyc_temp__13 + if is_error(r75) goto L111 (error at coroutines:152) else goto L55 L55: - r56 = r55 - r57 = :: object - __mypyc_self__.__mypyc_temp__19 = r57; r58 = is_error - if not r58 goto L115 (error at first_completed:79) else goto L78 :: bool + r76 = CPyDict_CheckSize(r74, r75) + dec_ref r74 + if not r76 goto L99 (error at coroutines:152) else goto L18 :: bool L56: - r59 = r54 + r77 = CPy_NoErrOccurred() + if not r77 goto L99 (error at coroutines:152) else goto L57 :: bool L57: - __mypyc_self__.__mypyc_next_label__ = 2 - return r59 + r78 = __mypyc_self__.__mypyc_generator_attribute__working_batch + if is_error(r78) goto L99 (error at coroutines:164) else goto L58 L58: - r61 = load_address _Py_NoneStruct - r62 = type != r61 - if r62 goto L59 else goto L116 :: bool + r79 = PyObject_IsTrue(r78) + dec_ref r78 + r80 = r79 >= 0 :: signed + if not r80 goto L99 (error at coroutines:164) else goto L59 :: bool L59: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L62 (error at first_completed:79) else goto L117 :: bool + r81 = truncate r79: i32 to builtins.bool + if r81 goto L60 else goto L88 :: bool L60: - unreachable + r82 = __mypyc_self__.__mypyc_generator_attribute__working_batch + if is_error(r82) goto L99 (error at coroutines:165) else goto L61 L61: - inc_ref arg - goto L73 + r83 = CPyObject_Size(r82) + dec_ref r82 + if is_error(r83) goto L99 (error at coroutines:165) else goto L62 L62: - r63 = CPy_CatchError() - __mypyc_self__.__mypyc_temp__20 = r63; r64 = is_error - if not r64 goto L118 (error at first_completed:-1) else goto L63 :: bool + r84 = r83 == 2 + dec_ref r83 :: int + if r84 goto L63 else goto L83 :: bool L63: - r65 = load_address r3 - r66 = __mypyc_self__.__mypyc_temp__19 - if is_error(r66) goto L118 (error at first_completed:-1) else goto L64 + r85 = __mypyc_self__.__mypyc_generator_attribute__working_batch + if is_error(r85) goto L99 (error at coroutines:166) else goto L64 L64: - r67 = CPy_YieldFromErrorHandle(r66, r65) - dec_ref r66 - if is_error(r67) goto L118 (error at first_completed:79) else goto L65 + r86 = PyObject_GetIter(r85) + dec_ref r85 + if is_error(r86) goto L99 (error at coroutines:166) else goto L65 L65: - if r67 goto L68 else goto L66 :: bool + r87 = builtins :: module + r88 = 'next' + r89 = CPyObject_GetAttr(r87, r88) + if is_error(r89) goto L112 (error at coroutines:166) else goto L66 L66: - r59 = r3 - r68 = __mypyc_self__.__mypyc_temp__20 - if is_error(r68) goto L119 (error at first_completed:-1) else goto L67 + r90 = [r86] + r91 = load_address r90 + r92 = PyObject_Vectorcall(r89, r91, 1, 0) + dec_ref r89 + if is_error(r92) goto L112 (error at coroutines:166) else goto L67 L67: - CPy_RestoreExcInfo(r68) - dec_ref r68 - goto L57 + dec_ref r86 + __mypyc_self__.__mypyc_generator_attribute__call = r92; r93 = is_error + if not r93 goto L99 (error at coroutines:166) else goto L68 :: bool L68: - r56 = r3 - r69 = __mypyc_self__.__mypyc_temp__20 - if is_error(r69) goto L120 (error at first_completed:-1) else goto L69 + r94 = __mypyc_self__.__mypyc_generator_attribute__working_batch + if is_error(r94) goto L99 (error at coroutines:168) else goto L69 L69: - CPy_RestoreExcInfo(r69) - dec_ref r69 - goto L78 + r95 = '_done' + r96 = CPyObject_GetAttr(r94, r95) + dec_ref r94 + if is_error(r96) goto L99 (error at coroutines:168) else goto L70 L70: - r70 = __mypyc_self__.__mypyc_temp__20 - if is_error(r70) goto L103 (error at first_completed:-1) else goto L71 + r97 = 'set' + r98 = [r96] + r99 = load_address r98 + r100 = PyObject_VectorcallMethod(r97, r99, 9223372036854775809, 0) + if is_error(r100) goto L113 (error at coroutines:168) else goto L114 L71: - CPy_RestoreExcInfo(r70) - dec_ref r70 - r71 = CPy_KeepPropagating() - if not r71 goto L103 else goto L72 :: bool + dec_ref r96 + r101 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r101) goto L99 (error at coroutines:169) else goto L72 L72: - unreachable + r102 = CPy_TYPE(r101) + dec_ref r101 + r103 = dank_mids._batch.globals :: static + r104 = 'Multicall' + r105 = CPyDict_GetItem(r103, r104) + if is_error(r105) goto L115 (error at coroutines:169) else goto L73 L73: - r72 = __mypyc_self__.__mypyc_temp__19 - if is_error(r72) goto L121 (error at first_completed:-1) else goto L74 + r106 = r102 == r105 + dec_ref r102 + dec_ref r105 + if r106 goto L74 else goto L76 :: bool L74: - r73 = CPyIter_Send(r72, arg) - dec_ref r72 - dec_ref arg - if is_error(r73) goto L76 else goto L75 + r107 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r107) goto L99 (error at coroutines:169) else goto L75 L75: - r59 = r73 - goto L57 + r108 = r107 + goto L79 L76: - r74 = CPy_FetchStopIterationValue() - if is_error(r74) goto L103 (error at first_completed:79) else goto L77 + r109 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r109) goto L99 (error at coroutines:169) else goto L77 L77: - r56 = r74 + r110 = 'make_request' + r111 = [r109] + r112 = load_address r111 + r113 = PyObject_VectorcallMethod(r110, r112, 9223372036854775809, 0) + if is_error(r113) goto L116 (error at coroutines:169) else goto L78 L78: - r75 = unbox(tuple[set, set], r56) - dec_ref r56 - if is_error(r75) goto L103 (error at first_completed:79) else goto L79 + dec_ref r109 + r108 = r113 L79: - r76 = borrow r75[0] - r77 = borrow r75[1] - r78 = unborrow r76 - __mypyc_self__.__mypyc_generator_attribute__done = r78; r79 = is_error - if not r79 goto L103 (error at first_completed:79) else goto L80 :: bool + __mypyc_self__.__mypyc_next_label__ = 2 + return r108 L80: - r80 = unborrow r77 - __mypyc_self__.__mypyc_generator_attribute__pending = r80; r81 = is_error - if not r81 goto L103 (error at first_completed:79) else goto L81 :: bool + r115 = load_address _Py_NoneStruct + r116 = type != r115 + if r116 goto L81 else goto L88 :: bool L81: - r82 = __mypyc_self__.__mypyc_generator_attribute__pending - if is_error(r82) goto L103 (error at first_completed:80) else goto L82 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L99 (error at coroutines:169) else goto L82 :: bool L82: - r83 = PyObject_GetIter(r82) - if is_error(r83) goto L122 (error at first_completed:80) else goto L83 + unreachable L83: - __mypyc_self__.__mypyc_temp__21 = r82; r84 = is_error - if not r84 goto L123 (error at first_completed:-1) else goto L84 :: bool + r117 = __mypyc_self__.__mypyc_generator_attribute__working_batch + if is_error(r117) goto L99 (error at coroutines:171) else goto L84 L84: - __mypyc_self__.__mypyc_temp__22 = r83; r85 = is_error - if not r85 goto L103 (error at first_completed:-1) else goto L85 :: bool + __mypyc_self__.__mypyc_next_label__ = 3 + return r117 L85: - r86 = __mypyc_self__.__mypyc_temp__22 - if is_error(r86) goto L103 (error at first_completed:80) else goto L86 + r119 = load_address _Py_NoneStruct + r120 = type != r119 + if r120 goto L86 else goto L88 :: bool L86: - r87 = PyIter_Next(r86) - dec_ref r86 - if is_error(r87) goto L91 else goto L87 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L99 (error at coroutines:171) else goto L87 :: bool L87: - __mypyc_self__.__mypyc_generator_attribute__p = r87; r88 = is_error - if not r88 goto L103 (error at first_completed:80) else goto L88 :: bool + unreachable L88: - r89 = __mypyc_self__.__mypyc_generator_attribute__p - if is_error(r89) goto L103 (error at first_completed:81) else goto L89 + r121 = box(None, 1) + __mypyc_self__.__mypyc_next_label__ = -1 L89: - r90 = 'cancel' - r91 = [r89] - r92 = load_address r91 - r93 = PyObject_VectorcallMethod(r90, r92, 9223372036854775809, 0) - if is_error(r93) goto L124 (error at first_completed:81) else goto L125 + if is_error(stop_iter_ptr) goto L90 else goto L92 L90: - dec_ref r89 - goto L85 + CPyGen_SetStopIterationValue(r121) + if not 0 goto L99 else goto L91 :: bool L91: - r94 = CPy_NoErrOccurred() - if not r94 goto L103 (error at first_completed:80) else goto L92 :: bool + unreachable L92: - r95 = __mypyc_self__.__mypyc_generator_attribute__done - if is_error(r95) goto L103 (error at first_completed:82) else goto L93 + inc_ref r121 + set_mem stop_iter_ptr, r121 :: builtins.object* + return 0 L93: - __mypyc_self__.__mypyc_next_label__ = -1 + r123 = r0 == 0 + if r123 goto L1 else goto L94 :: bool L94: - if is_error(stop_iter_ptr) goto L95 else goto L97 + r124 = r0 == 1 + if r124 goto L43 else goto L95 :: bool L95: - CPyGen_SetStopIterationValue(r95) - dec_ref r95 - if not 0 goto L103 else goto L96 :: bool + r125 = r0 == 2 + if r125 goto L80 else goto L96 :: bool L96: - unreachable + r126 = r0 == 3 + if r126 goto L85 else goto L97 :: bool L97: - set_mem stop_iter_ptr, r95 :: builtins.object* - return 0 + r127 = raise StopIteration + if not r127 goto L99 (error at coroutines:131) else goto L98 :: bool L98: - r97 = r4 == 0 - if r97 goto L126 else goto L99 :: bool + unreachable L99: - r98 = r4 == 1 - if r98 goto L127 else goto L128 :: bool + r128 = :: object + return r128 L100: - r99 = r4 == 2 - if r99 goto L58 else goto L129 :: bool + dec_ref r14 + goto L99 L101: - r100 = raise StopIteration - if not r100 goto L103 (error at first_completed:74) else goto L102 :: bool + dec_ref r22 + goto L99 L102: - unreachable + dec_ref r24 + goto L99 L103: - r101 = :: object - return r101 + dec_ref r24 + goto L56 L104: - dec_ref r8 - goto L8 + dec_ref r31 :: int + goto L99 L105: - dec_ref r8 - goto L103 + dec_ref r38 + goto L99 L106: - dec_ref r21 - goto L103 + dec_ref r44 + goto L32 L107: - xdec_ref r1 - goto L22 + dec_ref r45 + goto L99 L108: - xdec_ref r1 - goto L21 + dec_ref r45 + dec_ref r46 + goto L99 L109: - xdec_ref r1 - goto L31 + dec_ref r52 + goto L36 L110: - dec_ref r24 - goto L31 + dec_ref r62 + goto L99 L111: - dec_ref r21 - goto L31 + dec_ref r74 + goto L99 L112: - dec_ref arg - goto L103 + dec_ref r86 + goto L99 L113: - dec_ref r43 - goto L47 + dec_ref r96 + goto L99 L114: - dec_ref r43 - goto L103 + dec_ref r100 + goto L71 L115: - dec_ref r56 - goto L103 + dec_ref r102 + goto L99 L116: - xdec_ref r3 - goto L61 -L117: - xdec_ref r3 - goto L60 -L118: - xdec_ref r3 - goto L70 -L119: - dec_ref r59 - goto L70 -L120: - dec_ref r56 - goto L70 -L121: - dec_ref arg - goto L103 -L122: - dec_ref r82 - goto L103 -L123: - dec_ref r83 - goto L103 -L124: - dec_ref r89 - goto L103 -L125: - dec_ref r93 - goto L90 -L126: - xdec_ref r1 - xdec_ref r3 - goto L1 -L127: - xdec_ref r3 - goto L19 -L128: - xdec_ref r1 - goto L100 -L129: - xdec_ref r3 - goto L101 + dec_ref r109 + goto L99 -def first_completed_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen +def coroutines_DankBatch_gen.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids._batch.coroutines_DankBatch_gen r0, r1, r2 :: object L0: r0 = load_address _Py_NoneStruct - r1 = first_completed_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) + r1 = coroutines_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) if is_error(r1) goto L2 else goto L1 L1: return r1 @@ -37275,12 +34765,12 @@ L2: r2 = :: object return r2 -def first_completed_gen.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen +def coroutines_DankBatch_gen.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids._batch.coroutines_DankBatch_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, 0) + r1 = coroutines_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) if is_error(r1) goto L2 else goto L1 L1: return r1 @@ -37288,14 +34778,14 @@ L2: r2 = :: object return r2 -def first_completed_gen.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen +def coroutines_DankBatch_gen.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids._batch.coroutines_DankBatch_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 +def coroutines_DankBatch_gen.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids._batch.coroutines_DankBatch_gen type, value, traceback, r0, r1, r2 :: object L0: r0 = load_address _Py_NoneStruct @@ -37309,7 +34799,7 @@ L3: inc_ref r0 traceback = r0 L4: - r1 = first_completed_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) + r1 = coroutines_DankBatch_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0, 0) dec_ref value dec_ref traceback if is_error(r1) goto L6 else goto L5 @@ -37325,8 +34815,8 @@ L8: inc_ref traceback goto L4 -def first_completed_gen.close(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen +def coroutines_DankBatch_gen.close(__mypyc_self__): + __mypyc_self__ :: dank_mids._batch.coroutines_DankBatch_gen r0 :: object r1 :: str r2, r3, r4, r5 :: object @@ -37394,131 +34884,492 @@ L13: dec_ref r6 goto L6 -def first_completed_gen.__await__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen +def DankBatch.coroutines(self): + self :: dank_mids._batch.DankBatch + r0 :: dank_mids._batch.coroutines_DankBatch_gen + r1, r2 :: bool + r3 :: object L0: - inc_ref __mypyc_self__ - return __mypyc_self__ + r0 = coroutines_DankBatch_gen() + if is_error(r0) goto L3 (error at coroutines:131) else goto L1 +L1: + r0.__mypyc_next_label__ = 0 + inc_ref self + r0.__mypyc_generator_attribute__self = self; r2 = is_error + if not r2 goto L4 (error at coroutines:131) else goto L2 :: bool +L2: + return r0 +L3: + r3 = :: object + return r3 +L4: + dec_ref r0 + goto L3 -def first_completed(fs, cancel): - fs :: tuple - cancel :: bool - r0 :: dank_mids.helpers._gather.first_completed_gen - r1, r2, r3 :: bool - r4 :: dank_mids.helpers._gather.first_completed_gen +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 :: object_ptr + r14 :: object_ptr[1] + r15 :: c_ptr + r16 :: native_int[1] + r17 :: c_ptr + r18 :: object + r19 :: dict + r20, r21 :: str + r22 :: bit + r23 :: object + r24 :: str + r25 :: dict + r26, r27 :: object + r28 :: str + r29 :: dict + r30, r31 :: object + r32 :: str + r33 :: dict + r34, r35 :: object + r36 :: str + r37 :: dict + r38, r39 :: object + r40 :: str + r41 :: dict + r42, r43 :: object + r44 :: str + r45 :: dict + r46 :: object + r47 :: str + r48 :: dict + r49 :: str + r50 :: object + r51 :: object[1] + r52 :: object_ptr + r53 :: object + r54 :: dict + r55 :: str + r56 :: i32 + r57 :: bit + r58 :: dict + r59 :: str + r60 :: object + r61 :: dict + r62 :: str + r63 :: object + r64 :: dict + r65 :: str + r66 :: object + r67 :: dict + r68 :: str + r69, r70, r71 :: object + r72 :: tuple[object, object, object] + r73, r74 :: object + r75 :: dict + r76 :: str + r77 :: i32 + r78 :: bit + r79 :: dict + r80 :: str + r81 :: object + r82 :: i32 + r83 :: bit + r84 :: dict + r85 :: str + r86 :: object + r87 :: i32 + r88 :: bit + r89 :: dict + r90 :: str + r91 :: object + r92 :: str + r93 :: object + r94 :: bool + r95 :: object[1] + r96 :: object_ptr + r97 :: object + r98 :: dict + r99 :: str + r100 :: i32 + r101 :: bit + r102 :: dict + r103 :: str + r104 :: object + r105 :: str + r106 :: object + r107 :: dict + r108 :: str + r109 :: i32 + r110 :: bit + r111 :: object + r112 :: str + r113, r114 :: object + r115 :: bool + r116, r117, r118, r119, r120, r121 :: str + r122 :: tuple + r123 :: i32 + r124 :: bit + r125 :: dict + r126 :: str + r127 :: i32 + r128 :: bit + r129 :: None L0: - if is_error(cancel) goto L1 else goto L2 + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool L1: - cancel = 0 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L41 (error at :-1) else goto L2 L2: - r0 = first_completed_gen() - if is_error(r0) goto L6 (error at first_completed:74) else goto L3 + builtins = r4 :: module + dec_ref r4 L3: - r0.__mypyc_next_label__ = 0 - inc_ref fs - r0.__mypyc_generator_attribute__fs = fs; r2 = is_error - if not r2 goto L7 (error at first_completed:74) else goto L4 :: bool + r5 = ('Task',) + r6 = 'asyncio' + r7 = dank_mids._batch.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L41 (error at :1) else goto L4 L4: - r0.__mypyc_generator_attribute__cancel = cancel; r3 = is_error - if not r3 goto L7 (error at first_completed:74) else goto L5 :: bool + asyncio = r8 :: module + dec_ref r8 + r9 = ('TYPE_CHECKING', 'Any', 'Awaitable', 'Final', 'Generator', 'TypeVar', 'Union', 'final') + r10 = 'typing' + r11 = dank_mids._batch.globals :: static + r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) + if is_error(r12) goto L41 (error at :2) else goto L5 L5: - return r0 + typing = r12 :: module + dec_ref r12 + r13 = load_address a_sync :: module + r14 = [r13] + r15 = load_address r14 + r16 = [4] + r17 = load_address r16 + r18 = (('a_sync', 'a_sync', 'a_sync'),) + r19 = dank_mids._batch.globals :: static + r20 = 'dank_mids\\_batch.py' + r21 = '' + r22 = CPyImport_ImportMany(r18, r15, r19, r20, r21, r17) + if not r22 goto L41 else goto L6 :: bool L6: - r4 = :: dank_mids.helpers._gather.first_completed_gen - return r4 + r23 = ('DankMidsInternalError',) + r24 = 'dank_mids._exceptions' + r25 = dank_mids._batch.globals :: static + r26 = CPyImport_ImportFromMany(r24, r23, r23, r25) + if is_error(r26) goto L41 (error at :6) else goto L7 L7: - dec_ref r0 - goto L6 + dank_mids._exceptions = r26 :: module + dec_ref r26 + r27 = ('getLogger',) + r28 = 'dank_mids._logging' + r29 = dank_mids._batch.globals :: static + r30 = CPyImport_ImportFromMany(r28, r27, r27, r29) + if is_error(r30) goto L41 (error at :7) else goto L8 +L8: + dank_mids._logging = r30 :: module + dec_ref r30 + r31 = ('JSONRPCBatch', 'Multicall') + r32 = 'dank_mids._requests' + r33 = dank_mids._batch.globals :: static + r34 = CPyImport_ImportFromMany(r32, r31, r31, r33) + if is_error(r34) goto L41 (error at :8) else goto L9 +L9: + dank_mids._requests = r34 :: module + dec_ref r34 + r35 = ('RawResponse',) + r36 = 'dank_mids.helpers._codec' + r37 = dank_mids._batch.globals :: static + r38 = CPyImport_ImportFromMany(r36, r35, r35, r37) + if is_error(r38) goto L41 (error at :9) else goto L10 +L10: + dank_mids.helpers._codec = r38 :: module + dec_ref r38 + r39 = ('log_internal_error',) + r40 = 'dank_mids.helpers._errors' + r41 = dank_mids._batch.globals :: static + r42 = CPyImport_ImportFromMany(r40, r39, r39, r41) + if is_error(r42) goto L41 (error at :10) else goto L11 +L11: + dank_mids.helpers._errors = r42 :: module + dec_ref r42 + r43 = ('Multicalls',) + r44 = 'dank_mids.types' + r45 = dank_mids._batch.globals :: static + r46 = CPyImport_ImportFromMany(r44, r43, r43, r45) + if is_error(r46) goto L41 (error at :11) else goto L12 +L12: + dank_mids.types = r46 :: module + dec_ref r46 + if 0 goto L13 else goto L13 :: bool +L13: + r47 = '__T' + r48 = dank_mids._batch.globals :: static + r49 = 'TypeVar' + r50 = CPyDict_GetItem(r48, r49) + if is_error(r50) goto L41 (error at :17) else goto L14 +L14: + r51 = [r47] + r52 = load_address r51 + r53 = PyObject_Vectorcall(r50, r52, 1, 0) + dec_ref r50 + if is_error(r53) goto L41 (error at :17) else goto L15 +L15: + r54 = dank_mids._batch.globals :: static + r55 = '__T' + r56 = CPyDict_SetItem(r54, r55, r53) + dec_ref r53 + r57 = r56 >= 0 :: signed + if not r57 goto L41 (error at :17) else goto L16 :: bool +L16: + r58 = dank_mids._batch.globals :: static + r59 = 'Union' + r60 = CPyDict_GetItem(r58, r59) + if is_error(r60) goto L41 (error at :19) else goto L17 +L17: + r61 = dank_mids._batch.globals :: static + r62 = 'Multicall' + r63 = CPyDict_GetItem(r61, r62) + if is_error(r63) goto L42 (error at :19) else goto L18 +L18: + r64 = dank_mids._batch.globals :: static + r65 = 'JSONRPCBatch' + r66 = CPyDict_GetItem(r64, r65) + if is_error(r66) goto L43 (error at :19) else goto L19 +L19: + r67 = dank_mids._batch.globals :: static + r68 = 'Awaitable' + r69 = CPyDict_GetItem(r67, r68) + if is_error(r69) goto L44 (error at :19) else goto L20 +L20: + r70 = dank_mids.helpers._codec.RawResponse :: type + r71 = PyObject_GetItem(r69, r70) + dec_ref r69 + if is_error(r71) goto L44 (error at :19) else goto L21 +L21: + r72 = (r63, r66, r71) + r73 = box(tuple[object, object, object], r72) + r74 = PyObject_GetItem(r60, r73) + dec_ref r60 + dec_ref r73 + if is_error(r74) goto L41 (error at :19) else goto L22 +L22: + r75 = dank_mids._batch.globals :: static + r76 = 'Coro' + r77 = CPyDict_SetItem(r75, r76, r74) + dec_ref r74 + r78 = r77 >= 0 :: signed + if not r78 goto L41 (error at :19) else goto L23 :: bool +L23: + r79 = dank_mids._batch.globals :: static + r80 = 'MIN_SIZE' + r81 = object 1 + r82 = CPyDict_SetItem(r79, r80, r81) + r83 = r82 >= 0 :: signed + if not r83 goto L41 (error at :22) else goto L24 :: bool +L24: + r84 = dank_mids._batch.globals :: static + r85 = 'CHECK' + r86 = object 0 + r87 = CPyDict_SetItem(r84, r85, r86) + r88 = r87 >= 0 :: signed + if not r88 goto L41 (error at :25) else goto L25 :: bool +L25: + r89 = dank_mids._batch.globals :: static + r90 = '__name__' + r91 = CPyDict_GetItem(r89, r90) + if is_error(r91) goto L41 (error at :29) else goto L26 +L26: + r92 = cast(str, r91) + if is_error(r92) goto L41 (error at :29) else goto L27 +L27: + r93 = dank_mids._logging.getLogger :: static + if is_error(r93) goto L45 else goto L30 +L28: + r94 = raise NameError('value for final name "getLogger" was not set') + if not r94 goto L41 (error at :29) else goto L29 :: bool +L29: + unreachable +L30: + r95 = [r92] + r96 = load_address r95 + r97 = PyObject_Vectorcall(r93, r96, 1, 0) + if is_error(r97) goto L46 (error at :29) else goto L31 +L31: + dec_ref r92 + dank_mids._batch.logger = r97 :: static + r98 = dank_mids._batch.globals :: static + r99 = 'logger' + r100 = CPyDict_SetItem(r98, r99, r97) + dec_ref r97 + r101 = r100 >= 0 :: signed + if not r101 goto L41 (error at :29) else goto L32 :: bool +L32: + r102 = dank_mids._batch.globals :: static + r103 = 'a_sync' + r104 = CPyDict_GetItem(r102, r103) + if is_error(r104) goto L41 (error at :31) else goto L33 +L33: + r105 = 'create_task' + r106 = CPyObject_GetAttr(r104, r105) + dec_ref r104 + if is_error(r106) goto L41 (error at :31) else goto L34 +L34: + dank_mids._batch.create_task = r106 :: static + r107 = dank_mids._batch.globals :: static + r108 = 'create_task' + r109 = CPyDict_SetItem(r107, r108, r106) + dec_ref r106 + r110 = r109 >= 0 :: signed + if not r110 goto L41 (error at :31) else goto L35 :: bool +L35: + r111 = :: object + r112 = 'dank_mids._batch' + r113 = dank_mids._batch.DankBatch_template :: type + r114 = CPyType_FromTemplate(r113, r111, r112) + if is_error(r114) goto L41 (error at :39) else goto L36 +L36: + r115 = DankBatch_trait_vtable_setup() + if is_error(r115) goto L47 (error at :-1) else goto L37 +L37: + r116 = '__mypyc_attrs__' + r117 = 'controller' + r118 = 'multicalls' + r119 = 'rpc_calls' + r120 = '_awaited' + r121 = '_check_len' + r122 = PyTuple_Pack(5, r117, r118, r119, r120, r121) + if is_error(r122) goto L47 (error at :39) else goto L38 +L38: + r123 = PyObject_SetAttr(r114, r116, r122) + dec_ref r122 + r124 = r123 >= 0 :: signed + if not r124 goto L47 (error at :39) else goto L39 :: bool +L39: + dank_mids._batch.DankBatch = r114 :: type + r125 = dank_mids._batch.globals :: static + r126 = 'DankBatch' + r127 = PyDict_SetItem(r125, r126, r114) + dec_ref r114 + r128 = r127 >= 0 :: signed + if not r128 goto L41 (error at :39) else goto L40 :: bool +L40: + return 1 +L41: + r129 = :: None + return r129 +L42: + dec_ref r60 + goto L41 +L43: + dec_ref r60 + dec_ref r63 + goto L41 +L44: + dec_ref r60 + dec_ref r63 + dec_ref r66 + goto L41 +L45: + dec_ref r92 + goto L28 +L46: + dec_ref r92 + goto L41 +L47: + dec_ref r114 + goto L41 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 + 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, r27 :: str - r28 :: bit + r26 :: object + r27 :: str + r28 :: dict r29 :: str - r30 :: dict - r31 :: str - r32 :: object - r33 :: object[1] - r34 :: object_ptr - r35 :: object - r36 :: dict - r37 :: str - r38 :: i32 - r39 :: bit + 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 :: object - r45 :: dict + r44, r45 :: object r46 :: str - r47 :: i32 - r48 :: bit - r49 :: dict - r50 :: str - r51 :: object - r52 :: str - r53 :: object - r54 :: dict + r47 :: object[3] + r48 :: object_ptr + r49, r50 :: object + r51 :: bool + r52 :: dict + r53 :: str + r54 :: object 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 + 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 :: object + r81 :: dict r82 :: str r83 :: object - r84 :: str - r85 :: object - r86 :: dict - r87 :: str - r88 :: i32 - r89 :: bit - r90 :: None + 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 @@ -37527,162 +35378,202 @@ L0: L1: r3 = 'builtins' r4 = PyImport_Import(r3) - if is_error(r4) goto L26 (error at :-1) else goto L2 + if is_error(r4) goto L36 (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 + 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: - 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 + 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: - 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 + 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: - 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 + 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: - 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 + 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: - 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 + 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: - 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 + 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: - r43 = 'asyncio.Future[__T]' - r44 = PyObject_GetItem(r42, r43) - dec_ref r42 - if is_error(r44) goto L26 (error at :20) else goto L11 + r38 = dank_mids._envs._factory :: static + if is_error(r38) goto L11 else goto L13 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 + r39 = raise NameError('value for final name "_factory" was not set') + if not r39 goto L36 (error at :13) 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 + unreachable 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 + 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: - 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 + r43 = 'Semaphore' + r44 = CPyObject_GetAttr(r42, r43) + dec_ref r42 + if is_error(r44) goto L36 (error at :13) else goto L15 L15: - r58 = asyncio :: module - r59 = 'Task' - r60 = CPyObject_GetAttr(r58, r59) - if is_error(r60) goto L26 (error at :25) else goto L16 + 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: - 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 + dec_ref r44 + r50 = dank_mids._envs._factory :: static + if is_error(r50) goto L17 else goto L19 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 + r51 = raise NameError('value for final name "_factory" was not set') + if not r51 goto L36 (error at :14) else goto L18 :: bool 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 + unreachable L19: - r72 = asyncio :: module - r73 = 'wait' - r74 = CPyObject_GetAttr(r72, r73) - if is_error(r74) goto L26 (error at :27) else goto L20 + 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: - 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 + r55 = 'ProcessPoolExecutor' + r56 = CPyObject_GetAttr(r54, r55) + dec_ref r54 + if is_error(r56) goto L36 (error at :14) else goto L21 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 + 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: - r82 = 'asyncio' - r83 = CPyObject_GetAttr(r81, r82) - dec_ref r81 - if is_error(r83) goto L26 (error at :30) else goto L23 + dec_ref r56 + r62 = dank_mids._envs._factory :: static + if is_error(r62) goto L23 else goto L25 L23: - r84 = 'sleep0' - r85 = CPyObject_GetAttr(r83, r84) - dec_ref r83 - if is_error(r85) goto L26 (error at :30) else goto L24 + r63 = raise NameError('value for final name "_factory" was not set') + if not r63 goto L36 (error at :15) else goto L24 :: bool 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 + unreachable L25: - return 1 + 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: - r90 = :: None - return r90 + 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 def WeakList.__init__(self, data): self :: dank_mids.helpers._weaklist.WeakList @@ -38695,3538 +36586,6389 @@ L27: dec_ref r51 goto L23 -def RawResponse.__init__(self, raw): - self :: dank_mids.helpers._codec.RawResponse - raw :: object -L0: - inc_ref raw - self._raw = raw - return 1 - -def RawResponse.decode(self, partial): - self :: dank_mids.helpers._codec.RawResponse - partial :: bool - r0 :: dict - r1 :: str - r2, r3 :: object - r4 :: bit - r5 :: None - r6 :: object - r7 :: dict - r8 :: str - r9 :: object - r10 :: union[object, None] - r11 :: dict - r12 :: str - r13 :: object - r14 :: dict - r15 :: str - r16 :: object - r17 :: object[2] - r18 :: object_ptr - r19, r20, r21 :: object -L0: - if is_error(partial) goto L1 else goto L2 -L1: - partial = 0 -L2: - r0 = dank_mids.helpers._codec.globals :: static - r1 = 'better_decode' - r2 = CPyDict_GetItem(r0, r1) - if is_error(r2) goto L13 (error at decode:96) else goto L3 -L3: - r3 = load_address _Py_NoneStruct - r4 = r2 == r3 - dec_ref r2 - if r4 goto L4 else goto L5 :: bool -L4: - r5 = __import_from_types() - if is_error(r5) goto L13 (error at decode:97) else goto L5 -L5: - r6 = self._raw - if partial goto L6 else goto L8 :: bool -L6: - r7 = dank_mids.helpers._codec.globals :: static - r8 = 'PartialResponse' - r9 = CPyDict_GetItem(r7, r8) - if is_error(r9) goto L14 (error at decode:98) else goto L7 -L7: - r10 = r9 - goto L10 -L8: - r11 = dank_mids.helpers._codec.globals :: static - r12 = 'Response' - r13 = CPyDict_GetItem(r11, r12) - if is_error(r13) goto L14 (error at decode:98) else goto L9 -L9: - r10 = r13 -L10: - r14 = dank_mids.helpers._codec.globals :: static - r15 = 'better_decode' - r16 = CPyDict_GetItem(r14, r15) - if is_error(r16) goto L15 (error at decode:98) else goto L11 -L11: - r17 = [r6, r10] - r18 = load_address r17 - r19 = ('type',) - r20 = PyObject_Vectorcall(r16, r18, 1, r19) - dec_ref r16 - if is_error(r20) goto L15 (error at decode:98) else goto L12 -L12: - dec_ref r6 - dec_ref r10 - return r20 -L13: - r21 = :: object - return r21 -L14: - dec_ref r6 - goto L13 -L15: - dec_ref r6 - dec_ref r10 - goto L13 - -def decode_raw(data): - data, r0 :: object - r1 :: bool - r2 :: object[1] - r3 :: object_ptr +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str r4 :: object - r5 :: dank_mids.helpers._codec.RawResponse - r6 :: tuple[object, object, object] - r7 :: object - r8 :: bool - r9 :: bit + r5 :: object_ptr + r6 :: object_ptr[1] + r7 :: c_ptr + r8 :: native_int[1] + r9 :: c_ptr r10 :: object - r11 :: str - r12 :: object - r13 :: list - r14 :: object - r15 :: i32 - r16 :: bit - r17 :: tuple - r18 :: str - r19 :: i32 - r20, r21 :: bit - r22 :: dank_mids.helpers._codec.RawResponse -L0: -L1: - r0 = dank_mids.helpers._codec._decode_raw :: static - if is_error(r0) goto L2 else goto L4 -L2: - r1 = raise NameError('value for final name "_decode_raw" was not set') - if not r1 goto L7 (error at decode_raw:114) else goto L3 :: bool -L3: - unreachable -L4: - r2 = [data] - r3 = load_address r2 - r4 = PyObject_Vectorcall(r0, r3, 1, 0) - if is_error(r4) goto L7 (error at decode_raw:114) else goto L5 -L5: - r5 = RawResponse(r4) - dec_ref r4 - if is_error(r5) goto L7 (error at decode_raw:114) else goto L6 -L6: - return r5 -L7: - r6 = CPy_CatchError() - r7 = dank_mids.helpers._codec.DecodeError :: static - if is_error(r7) goto L8 else goto L10 -L8: - r8 = raise NameError('value for final name "DecodeError" was not set') - if not r8 goto L21 (error at decode_raw:115) else goto L24 :: bool -L9: - unreachable -L10: - r9 = CPy_ExceptionMatches(r7) - if r9 goto L11 else goto L19 :: bool -L11: - r10 = CPy_GetExcValue() - r11 = 'args' - r12 = CPyObject_GetAttr(r10, r11) - if is_error(r12) goto L25 (error at decode_raw:116) else goto L12 -L12: - r13 = PyList_New(0) - if is_error(r13) goto L26 (error at decode_raw:116) else goto L13 -L13: - r14 = CPyList_Extend(r13, r12) - dec_ref r12 - if is_error(r14) goto L27 (error at decode_raw:116) else goto L28 -L14: - r15 = PyList_Append(r13, data) - r16 = r15 >= 0 :: signed - if not r16 goto L27 (error at decode_raw:116) else goto L15 :: bool -L15: - r17 = PyList_AsTuple(r13) - dec_ref r13 - if is_error(r17) goto L25 (error at decode_raw:116) else goto L16 -L16: - r18 = 'args' - r19 = PyObject_SetAttr(r10, r18, r17) - dec_ref r10 - dec_ref r17 - r20 = r19 >= 0 :: signed - if not r20 goto L21 (error at decode_raw:116) else goto L17 :: bool -L17: - CPy_Reraise() - if not 0 goto L21 else goto L29 :: bool -L18: - unreachable -L19: - CPy_Reraise() - if not 0 goto L21 else goto L30 :: bool -L20: - unreachable -L21: - CPy_RestoreExcInfo(r6) - dec_ref r6 - r21 = CPy_KeepPropagating() - if not r21 goto L23 else goto L22 :: bool -L22: - unreachable -L23: - r22 = :: dank_mids.helpers._codec.RawResponse - return r22 -L24: - dec_ref r6 - goto L9 -L25: - dec_ref r10 - goto L21 -L26: - dec_ref r10 - dec_ref r12 - goto L21 -L27: - dec_ref r10 - dec_ref r13 - goto L21 -L28: - dec_ref r14 - goto L14 -L29: - dec_ref r6 - goto L18 -L30: - dec_ref r6 - goto L20 - -def decode_jsonrpc_batch(data): - data :: object - r0 :: dict - r1 :: str - r2, r3 :: object - r4 :: bit - r5 :: None - r6 :: dict - r7 :: str - r8 :: object - r9 :: object[1] - r10 :: object_ptr - r11 :: object - decoded :: union[list, object] - r12 :: bit - r13 :: list - r14, r15 :: object - r16 :: dank_mids.helpers._codec.RawResponse - r17 :: i32 - r18, r19 :: bit - r20, r21 :: union[list, 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 = dank_mids.helpers._codec.globals :: static - r1 = '_decode_batch' - r2 = CPyDict_GetItem(r0, r1) - if is_error(r2) goto L15 (error at decode_jsonrpc_batch:130) else goto L1 + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool L1: - r3 = load_address _Py_NoneStruct - r4 = r2 == r3 - dec_ref r2 - if r4 goto L2 else goto L3 :: bool + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L16 (error at :-1) else goto L2 L2: - r5 = __make_decode_batch() - if is_error(r5) goto L15 (error at decode_jsonrpc_batch:131) else goto L3 + builtins = r4 :: module + dec_ref r4 L3: - r6 = dank_mids.helpers._codec.globals :: static - r7 = '_decode_batch' - r8 = CPyDict_GetItem(r6, r7) - if is_error(r8) goto L15 (error at decode_jsonrpc_batch:133) else goto L4 + 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: - r9 = [data] - r10 = load_address r9 - r11 = PyObject_Vectorcall(r8, r10, 1, 0) - dec_ref r8 - if is_error(r11) goto L15 (error at decode_jsonrpc_batch:133) else goto L5 + 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: - decoded = r11 - r12 = PyList_Check(decoded) - if r12 goto L6 else goto L13 :: bool + 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: - r13 = PyList_New(0) - if is_error(r13) goto L16 (error at decode_jsonrpc_batch:134) else goto L7 + 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: - r14 = PyObject_GetIter(decoded) - dec_ref decoded - if is_error(r14) goto L17 (error at decode_jsonrpc_batch:134) else goto L8 + 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: - r15 = PyIter_Next(r14) - if is_error(r15) goto L18 else goto L9 + 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: - r16 = RawResponse(r15) - dec_ref r15 - if is_error(r16) goto L19 (error at decode_jsonrpc_batch:134) else goto L10 + 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: - r17 = PyList_Append(r13, r16) - dec_ref r16 - r18 = r17 >= 0 :: signed - if not r18 goto L19 (error at decode_jsonrpc_batch:134) else goto L8 :: bool + 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: - r19 = CPy_NoErrOccurred() - if not r19 goto L17 (error at decode_jsonrpc_batch:134) else goto L12 :: bool + 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: - r20 = r13 - goto L14 + 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: - r20 = decoded + 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: - return r20 + 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: - r21 = :: union[object, list] - return r21 + return 1 L16: - dec_ref decoded - goto L15 -L17: - dec_ref r13 - goto L15 -L18: - dec_ref r14 - goto L11 -L19: - dec_ref r13 - dec_ref r14 - goto L15 + r66 = :: None + return r66 -def _encode_hook(obj): - obj :: union[int, str, object, bytes] - r0 :: object - r1 :: object[1] - r2 :: object_ptr - r3 :: object - r4 :: int - r5 :: object +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4, r5 :: object r6 :: str - r7, r8 :: object - r9 :: object[1] - r10 :: object_ptr - r11 :: object - r12 :: str - r13 :: tuple[object, object, object] + r7 :: dict + r8 :: object + r9 :: object_ptr + r10 :: object_ptr[1] + r11 :: c_ptr + r12 :: native_int[1] + r13 :: c_ptr r14 :: object - r15 :: str - r16 :: object - r17 :: bit - r18, e :: object - r19 :: dict + r15 :: dict + r16, r17 :: str + r18 :: bit + r19 :: object r20 :: str - r21 :: object - r22 :: i32 - r23 :: bit - r24 :: bool + r21 :: dict + r22, r23 :: object + r24 :: str r25 :: dict r26 :: object - r27 :: str - r28 :: object[1] - r29 :: object_ptr - r30, r31, r32 :: object - r33 :: tuple[object, object] - r34, r35 :: object - r36 :: union[str, object] - r37 :: str + r27, r28, r29, r30 :: str + r31 :: set + r32 :: i32 + r33 :: bit + r34 :: i32 + r35 :: bit + r36 :: i32 + r37 :: bit r38 :: i32 - r39, r40 :: bit + r39 :: bit + r40 :: dict r41 :: str - r42 :: object - r43 :: tuple - r44, r45 :: object - r46 :: str - r47 :: object - r48 :: list - r49 :: object - r50 :: i32 - r51 :: bit - r52 :: i32 - r53 :: bit - r54 :: tuple - r55, r56 :: object - r57 :: str - r58 :: object - r59 :: bit - r60, r61 :: object - r62 :: bool - r63 :: i32 - r64 :: bit - r65 :: bool - r66 :: object - r67 :: str - r68 :: object[1] - r69 :: object_ptr - r70 :: object - r71 :: union[str, list, dict] - r72 :: dict - r73 :: str - r74 :: object - r75 :: i32 - r76 :: bit - r77 :: bool - r78, r79 :: 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 :: tuple - r82, r83 :: object - r84 :: str - r85 :: object - r86 :: list - r87 :: object - r88 :: i32 - r89 :: bit - r90 :: i32 - r91 :: bit - r92 :: tuple + 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 :: bit - r95 :: union[str, list, dict] + 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 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool L1: - r0 = load_address PyLong_Type - r1 = [obj] - r2 = load_address r1 - r3 = PyObject_Vectorcall(r0, r2, 1, 0) - if is_error(r3) goto L7 (error at _encode_hook:152) else goto L2 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L80 (error at :-1) else goto L2 L2: - r4 = unbox(int, r3) - dec_ref r3 - if is_error(r4) goto L7 (error at _encode_hook:152) else goto L3 + builtins = r4 :: module + dec_ref r4 L3: - r5 = builtins :: module - r6 = 'hex' - r7 = CPyObject_GetAttr(r5, r6) - if is_error(r7) goto L66 (error at _encode_hook:152) else goto L4 + 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: - r8 = box(int, r4) - r9 = [r8] - r10 = load_address r9 - r11 = PyObject_Vectorcall(r7, r10, 1, 0) - dec_ref r7 - if is_error(r11) goto L67 (error at _encode_hook:152) else goto L5 -L5: + typing = r8 :: module dec_ref r8 - r12 = cast(str, r11) - if is_error(r12) goto L7 (error at _encode_hook:152) else goto L6 + 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: + 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: - return r12 + 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: - r13 = CPy_CatchError() - r14 = builtins :: module - r15 = 'TypeError' - r16 = CPyObject_GetAttr(r14, r15) - if is_error(r16) goto L63 (error at _encode_hook:153) else goto L8 + 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: - r17 = CPy_ExceptionMatches(r16) - dec_ref r16 - if r17 goto L9 else goto L34 :: bool + r32 = PySet_Add(r31, r27) + r33 = r32 >= 0 :: signed + if not r33 goto L81 (error at :8) else goto L9 :: bool L9: - r18 = CPy_GetExcValue() - e = r18 - r19 = dank_mids.helpers._codec.globals :: static - r20 = 'Mapping' - r21 = CPyDict_GetItem(r19, r20) - if is_error(r21) goto L68 (error at _encode_hook:156) 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: - r22 = PyObject_IsInstance(obj, r21) - dec_ref r21 - r23 = r22 >= 0 :: signed - if not r23 goto L68 (error at _encode_hook:156) 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: - r24 = truncate r22: i32 to builtins.bool - if r24 goto L69 else goto L23 :: bool + r38 = PySet_Add(r31, r30) + r39 = r38 >= 0 :: signed + if not r39 goto L81 (error at :8) else goto L12 :: bool L12: - r25 = PyDict_New() - if is_error(r25) goto L63 (error at _encode_hook:157) else goto L13 + 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: - inc_ref obj - r26 = obj - r27 = 'items' - r28 = [r26] - r29 = load_address r28 - r30 = PyObject_VectorcallMethod(r27, r29, 9223372036854775809, 0) - if is_error(r30) goto L70 (error at _encode_hook:157) 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: - dec_ref r26 + r51 = PySet_Add(r50, r44) + r52 = r51 >= 0 :: signed + if not r52 goto L82 (error at :19) else goto L15 :: bool L15: - r31 = PyObject_GetIter(r30) - dec_ref r30 - if is_error(r31) goto L71 (error at _encode_hook:157) else goto L16 + r53 = PySet_Add(r50, r45) + r54 = r53 >= 0 :: signed + if not r54 goto L82 (error at :19) else goto L16 :: bool L16: - r32 = PyIter_Next(r31) - if is_error(r32) goto L72 else goto L17 + r55 = PySet_Add(r50, r46) + r56 = r55 >= 0 :: signed + if not r56 goto L82 (error at :19) else goto L17 :: bool L17: - r33 = unbox(tuple[object, object], r32) - dec_ref r32 - if is_error(r33) goto L73 (error at _encode_hook:157) else goto L18 + r57 = PySet_Add(r50, r47) + r58 = r57 >= 0 :: signed + if not r58 goto L82 (error at :19) else goto L18 :: bool L18: - r34 = r33[0] - r35 = r33[1] - dec_ref r33 - r36 = _rudimentary_encode_dict_value(r35) - dec_ref r35 - if is_error(r36) goto L74 (error at _encode_hook:157) 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: - r37 = cast(str, r36) - if is_error(r37) goto L74 (error at _encode_hook:157) else goto L20 + r61 = PySet_Add(r50, r49) + r62 = r61 >= 0 :: signed + if not r62 goto L82 (error at :19) else goto L20 :: bool L20: - r38 = PyDict_SetItem(r25, r34, r37) - dec_ref r34 - dec_ref r37 - r39 = r38 >= 0 :: signed - if not r39 goto L73 (error at _encode_hook:157) else goto L16 :: bool + 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: - r40 = CPy_NoErrOccurred() - if not r40 goto L71 (error at _encode_hook:157) else goto L22 :: bool + 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: - CPy_RestoreExcInfo(r13) - dec_ref r13 - return r25 + r70 = 'constants' + r71 = CPyObject_GetAttr(r69, r70) + dec_ref r69 + if is_error(r71) goto L80 (error at :32) else goto L23 L23: - r41 = 'args' - r42 = CPyObject_GetAttr(e, r41) - dec_ref e - if is_error(r42) goto L63 (error at _encode_hook:159) else goto L24 + r72 = 'GAS_LIMIT' + r73 = CPyObject_GetAttr(r71, r72) + dec_ref r71 + if is_error(r73) goto L80 (error at :32) else goto L24 L24: - r43 = cast(tuple, r42) - if is_error(r43) goto L63 (error at _encode_hook:159) 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: - r44 = CPy_TYPE(obj) - r45 = builtins :: module - r46 = 'TypeError' - r47 = CPyObject_GetAttr(r45, r46) - if is_error(r47) goto L75 (error at _encode_hook:159) else goto L26 + 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: - r48 = PyList_New(0) - if is_error(r48) goto L76 (error at _encode_hook:159) 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: - r49 = CPyList_Extend(r48, r43) - dec_ref r43 - if is_error(r49) goto L77 (error at _encode_hook:159) else goto L78 + r83 = 'MULTICALL2_BYTECODE' + r84 = CPyObject_GetAttr(r82, r83) + dec_ref r82 + if is_error(r84) goto L80 (error at :38) else goto L28 L28: - r50 = PyList_Append(r48, obj) - r51 = r50 >= 0 :: signed - if not r51 goto L77 (error at _encode_hook:159) else goto L29 :: bool + 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: - r52 = PyList_Append(r48, r44) - dec_ref r44 - r53 = r52 >= 0 :: signed - if not r53 goto L79 (error at _encode_hook:159) 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: - r54 = PyList_AsTuple(r48) - dec_ref r48 - if is_error(r54) goto L80 (error at _encode_hook:159) else goto L31 + r92 = 'constants' + r93 = CPyObject_GetAttr(r91, r92) + dec_ref r91 + if is_error(r93) goto L33 (error at :45) else goto L31 L31: - r55 = PyObject_CallObject(r47, r54) - dec_ref r47 - dec_ref r54 - if is_error(r55) goto L63 (error at _encode_hook:159) else goto L32 + r94 = 'MULTICALL3_BYTECODE' + r95 = CPyObject_GetAttr(r93, r94) + dec_ref r93 + if is_error(r95) goto L33 (error at :45) else goto L32 L32: - CPy_Raise(r55) - dec_ref r55 - if not 0 goto L63 (error at _encode_hook:159) else goto L81 :: 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: - r56 = builtins :: module - r57 = 'ValueError' - r58 = CPyObject_GetAttr(r56, r57) - if is_error(r58) goto L63 (error at _encode_hook:160) else goto L35 + r104 = CPy_ExceptionMatches(r103) + dec_ref r103 + if r104 goto L35 else goto L39 :: bool L35: - r59 = CPy_ExceptionMatches(r58) - dec_ref r58 - if r59 goto L36 else goto L61 :: bool + 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: - r60 = CPy_GetExcValue() - e = r60 - r61 = dank_mids.helpers._codec.HexBytes :: static - if is_error(r61) goto L82 else goto L39 + r108 = 'constants' + r109 = CPyObject_GetAttr(r107, r108) + dec_ref r107 + if is_error(r109) goto L42 (error at :51) else goto L37 L37: - r62 = raise NameError('value for final name "HexBytes" was not set') - if not r62 goto L63 (error at _encode_hook:163) else goto L83 :: 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: - unreachable + 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: - r63 = PyObject_IsInstance(obj, r61) - r64 = r63 >= 0 :: signed - if not r64 goto L68 (error at _encode_hook:163) else goto L40 :: bool + CPy_Reraise() + if not 0 goto L42 else goto L83 :: bool L40: - r65 = truncate r63: i32 to builtins.bool - if r65 goto L84 else goto L45 :: bool + unreachable L41: - inc_ref obj - r66 = obj - r67 = 'hex' - r68 = [r66] - r69 = load_address r68 - r70 = PyObject_VectorcallMethod(r67, r69, 9223372036854775809, 0) - if is_error(r70) goto L85 (error at _encode_hook:164) else goto L42 + CPy_RestoreExcInfo(r100) + dec_ref r100 + goto L44 L42: - dec_ref r66 + CPy_RestoreExcInfo(r100) + dec_ref r100 + r116 = CPy_KeepPropagating() + if not r116 goto L45 else goto L43 :: bool L43: - r71 = cast(union[str, list, dict], r70) - if is_error(r71) goto L63 (error at _encode_hook:164) else goto L44 + unreachable L44: - CPy_RestoreExcInfo(r13) - dec_ref r13 - return r71 + r117 = :: tuple[object, object, object] + r118 = r117 + goto L46 L45: - r72 = dank_mids.helpers._codec.globals :: static - r73 = 'Address' - r74 = CPyDict_GetItem(r72, r73) - if is_error(r74) goto L68 (error at _encode_hook:165) else goto L46 + r119 = CPy_CatchError() + r118 = r119 L46: - r75 = PyObject_IsInstance(obj, r74) - dec_ref r74 - r76 = r75 >= 0 :: signed - if not r76 goto L68 (error at _encode_hook:165) else goto L47 :: bool + 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: - r77 = truncate r75: i32 to builtins.bool - if r77 goto L86 else goto L50 :: bool + 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: - r78 = PyObject_Str(obj) - if is_error(r78) goto L63 (error at _encode_hook:166) else goto L49 + if is_error(r118) goto L55 else goto L49 L49: - CPy_RestoreExcInfo(r13) - dec_ref r13 - return r78 + CPy_Reraise() + if not 0 goto L51 else goto L84 :: bool L50: - r79 = 'args' - r80 = CPyObject_GetAttr(e, r79) - dec_ref e - if is_error(r80) goto L63 (error at _encode_hook:168) else goto L51 + unreachable L51: - r81 = cast(tuple, r80) - if is_error(r81) goto L63 (error at _encode_hook:168) else goto L52 + if is_error(r118) goto L53 else goto L52 L52: - r82 = CPy_TYPE(obj) - r83 = builtins :: module - r84 = 'ValueError' - r85 = CPyObject_GetAttr(r83, r84) - if is_error(r85) goto L87 (error at _encode_hook:168) else goto L53 + CPy_RestoreExcInfo(r118) + xdec_ref r118 L53: - r86 = PyList_New(0) - if is_error(r86) goto L88 (error at _encode_hook:168) else goto L54 + r127 = CPy_KeepPropagating() + if not r127 goto L80 else goto L54 :: bool L54: - r87 = CPyList_Extend(r86, r81) - dec_ref r81 - if is_error(r87) goto L89 (error at _encode_hook:168) else goto L90 + unreachable L55: - r88 = PyList_Append(r86, obj) - r89 = r88 >= 0 :: signed - if not r89 goto L89 (error at _encode_hook:168) else goto L56 :: bool + 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: - r90 = PyList_Append(r86, r82) - dec_ref r82 - r91 = r90 >= 0 :: signed - if not r91 goto L91 (error at _encode_hook:168) else goto L57 :: bool + r131 = 'Mainnet' + r132 = CPyObject_GetAttr(r130, r131) + dec_ref r130 + if is_error(r132) goto L80 (error at :56) else goto L57 L57: - r92 = PyList_AsTuple(r86) - dec_ref r86 - if is_error(r92) goto L92 (error at _encode_hook:168) else goto L58 + 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: - r93 = PyObject_CallObject(r85, r92) - dec_ref r85 - dec_ref r92 - if is_error(r93) goto L63 (error at _encode_hook:168) else goto L59 + r136 = 'Fantom' + r137 = CPyObject_GetAttr(r135, r136) + dec_ref r135 + if is_error(r137) goto L85 (error at :57) else goto L59 L59: - CPy_Raise(r93) - dec_ref r93 - if not 0 goto L63 (error at _encode_hook:168) else goto L93 :: bool + 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: - unreachable + r141 = 'Arbitrum' + r142 = CPyObject_GetAttr(r140, r141) + dec_ref r140 + if is_error(r142) goto L86 (error at :58) else goto L61 L61: - CPy_Reraise() - if not 0 goto L63 else goto L94 :: bool + 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: - unreachable + r146 = 'Optimism' + r147 = CPyObject_GetAttr(r145, r146) + dec_ref r145 + if is_error(r147) goto L87 (error at :59) else goto L63 L63: - CPy_RestoreExcInfo(r13) - dec_ref r13 - r94 = CPy_KeepPropagating() - if not r94 goto L65 else goto L64 :: bool + 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: - unreachable + 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: - r95 = :: union[str, list, dict] - return r95 + 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: - dec_ref r4 :: int - goto L7 + r160 = 'Mainnet' + r161 = CPyObject_GetAttr(r159, r160) + dec_ref r159 + if is_error(r161) goto L80 (error at :64) else goto L67 L67: - dec_ref r8 - goto L7 + 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: - dec_ref e - goto L63 + r165 = 'Fantom' + r166 = CPyObject_GetAttr(r164, r165) + dec_ref r164 + if is_error(r166) goto L88 (error at :65) else goto L69 L69: - dec_ref e - goto L12 + 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: - dec_ref r25 - dec_ref r26 - goto L63 + r170 = 'Arbitrum' + r171 = CPyObject_GetAttr(r169, r170) + dec_ref r169 + if is_error(r171) goto L89 (error at :66) else goto L71 L71: - dec_ref r25 - goto L63 + 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: - dec_ref r31 - goto L21 + r175 = 'Optimism' + r176 = CPyObject_GetAttr(r174, r175) + dec_ref r174 + if is_error(r176) goto L90 (error at :67) else goto L73 L73: - dec_ref r25 - dec_ref r31 - goto L63 + 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: - dec_ref r25 - dec_ref r31 - dec_ref r34 - goto L63 + r180 = 'Base' + r181 = CPyObject_GetAttr(r179, r180) + dec_ref r179 + if is_error(r181) goto L91 (error at :68) else goto L75 L75: - dec_ref r43 - dec_ref r44 - goto L63 + 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: - dec_ref r43 - dec_ref r44 - dec_ref r47 - goto L63 + 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: - dec_ref r44 - dec_ref r47 - dec_ref r48 - goto L63 + 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: - dec_ref r49 - goto L28 + 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: - dec_ref r47 - dec_ref r48 - goto L63 + return 1 L80: - dec_ref r47 - goto L63 + r216 = :: None + return r216 L81: - dec_ref r13 - goto L33 + dec_ref r31 + goto L80 L82: - dec_ref e - goto L37 + dec_ref r50 + goto L80 L83: - dec_ref r13 - goto L38 + dec_ref r100 + goto L40 L84: - dec_ref e - goto L41 + xdec_ref r118 + goto L50 L85: - dec_ref r66 - goto L63 + dec_ref r132 + goto L80 L86: - dec_ref e - goto L48 + dec_ref r132 + dec_ref r137 + goto L80 L87: - dec_ref r81 - dec_ref r82 - goto L63 + dec_ref r132 + dec_ref r137 + dec_ref r142 + goto L80 L88: - dec_ref r81 - dec_ref r82 - dec_ref r85 - goto L63 + dec_ref r161 + goto L80 L89: - dec_ref r82 - dec_ref r85 - dec_ref r86 - goto L63 + dec_ref r161 + dec_ref r166 + goto L80 L90: - dec_ref r87 - goto L55 + dec_ref r161 + dec_ref r166 + dec_ref r171 + goto L80 L91: - dec_ref r85 - dec_ref r86 - goto L63 -L92: - dec_ref r85 - goto L63 -L93: - dec_ref r13 - goto L60 -L94: - dec_ref r13 - goto L62 + dec_ref r161 + dec_ref r166 + dec_ref r171 + dec_ref r176 + goto L80 -def _rudimentary_encode_dict_value(value): - value :: union[int, object] - r0 :: bit - r1 :: int - r2 :: object +def __top_level__(): + r0, r1 :: object + r2 :: bit r3 :: str r4, r5 :: object - r6 :: object[1] - r7 :: object_ptr - r8 :: object - r9 :: str - r10, r11 :: union[str, object] -L0: - r0 = PyLong_Check(value) - if r0 goto L1 else goto L6 :: bool -L1: - r1 = unbox(int, value) - if is_error(r1) goto L8 (error at _rudimentary_encode_dict_value:177) else goto L2 -L2: - r2 = builtins :: module - r3 = 'hex' - r4 = CPyObject_GetAttr(r2, r3) - if is_error(r4) goto L9 (error at _rudimentary_encode_dict_value:177) else goto L3 -L3: - r5 = box(int, r1) - r6 = [r5] - r7 = load_address r6 - r8 = PyObject_Vectorcall(r4, r7, 1, 0) - dec_ref r4 - if is_error(r8) goto L10 (error at _rudimentary_encode_dict_value:177) else goto L4 -L4: - dec_ref r5 - r9 = cast(str, r8) - if is_error(r9) goto L8 (error at _rudimentary_encode_dict_value:177) else goto L5 -L5: - r10 = r9 - goto L7 -L6: - inc_ref value - r10 = value -L7: - return r10 -L8: - r11 = :: union[str, object] - return r11 -L9: - dec_ref r1 :: int - goto L8 -L10: - dec_ref r5 - goto L8 - -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 _int_to_big_endian(value): - value :: int - r0 :: str - r1 :: object - r2 :: object[1] - r3 :: object_ptr - r4 :: object - r5, r6, r7 :: int - r8 :: bit - r9 :: int - r10, r11 :: str + r6 :: str + r7 :: dict + r8, r9 :: object + r10 :: str + r11 :: dict r12, r13 :: object - r14 :: object[3] - r15 :: object_ptr - r16 :: object - r17, r18 :: bytes + r14 :: str + r15 :: dict + r16, r17 :: object + r18 :: str + r19 :: dict + r20, r21 :: object + r22 :: str + r23 :: dict + r24 :: object + r25, r26, r27, r28, r29, r30, r31 :: str + r32 :: list + r33, r34, r35, r36, r37, r38, r39, r40 :: ptr + r41 :: dict + r42 :: str + r43 :: i32 + r44 :: bit + r45 :: None L0: - r0 = 'bit_length' - inc_ref value :: int - r1 = box(int, value) - r2 = [r1] - r3 = load_address r2 - r4 = PyObject_VectorcallMethod(r0, r3, 9223372036854775809, 0) - if is_error(r4) goto L10 (error at _int_to_big_endian:210) else goto L1 + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool L1: - dec_ref r1 - r5 = unbox(int, r4) - dec_ref r4 - if is_error(r5) goto L9 (error at _int_to_big_endian:210) else goto L2 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L11 (error at :-1) else goto L2 L2: - r6 = CPyTagged_Add(r5, 14) - dec_ref r5 :: int - r7 = CPyTagged_Rshift(r6, 6) - dec_ref r6 :: int - if is_error(r7) goto L9 (error at _int_to_big_endian:-1) else goto L3 + builtins = r4 :: module + dec_ref r4 L3: - r8 = r7 != 0 - if r8 goto L4 else goto L11 :: bool + r5 = ('gatherish',) + r6 = 'dank_mids.helpers._gather' + r7 = dank_mids.helpers.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L11 (error at :1) else goto L4 L4: - r9 = r7 - goto L6 + dank_mids.helpers._gather = r8 :: module + dec_ref r8 + r9 = ('setup_dank_w3', 'setup_dank_w3_from_sync') + r10 = 'dank_mids.helpers._helpers' + r11 = dank_mids.helpers.globals :: static + r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) + if is_error(r12) goto L11 (error at :2) else goto L5 L5: - r9 = 2 + dank_mids.helpers._helpers = r12 :: module + dec_ref r12 + r13 = ('DebuggableFuture',) + r14 = 'dank_mids.helpers.future' + r15 = dank_mids.helpers.globals :: static + r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) + if is_error(r16) goto L11 (error at :3) else goto L6 L6: - r10 = 'big' - r11 = 'to_bytes' - inc_ref value :: int - r12 = box(int, value) - r13 = box(int, r9) - r14 = [r12, r13, r10] - r15 = load_address r14 - r16 = PyObject_VectorcallMethod(r11, r15, 9223372036854775811, 0) - if is_error(r16) goto L12 (error at _int_to_big_endian:210) else goto L7 + dank_mids.helpers.future = r16 :: module + dec_ref r16 + r17 = ('make_hashable',) + r18 = 'dank_mids.helpers.hashing' + r19 = dank_mids.helpers.globals :: static + r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) + if is_error(r20) goto L11 (error at :4) else goto L7 L7: - dec_ref r12 - dec_ref r13 - r17 = cast(bytes, r16) - if is_error(r17) goto L9 (error at _int_to_big_endian:210) else goto L8 + dank_mids.helpers.hashing = r20 :: module + dec_ref r20 + r21 = ('lru_cache_lite', 'lru_cache_lite_nonull') + r22 = 'dank_mids.helpers.lru_cache' + r23 = dank_mids.helpers.globals :: static + r24 = CPyImport_ImportFromMany(r22, r21, r21, r23) + if is_error(r24) goto L11 (error at :5) else goto L8 L8: - return r17 + dank_mids.helpers.lru_cache = r24 :: module + dec_ref r24 + r25 = 'setup_dank_w3' + r26 = 'setup_dank_w3_from_sync' + r27 = 'DebuggableFuture' + r28 = 'lru_cache_lite' + r29 = 'lru_cache_lite_nonull' + r30 = 'make_hashable' + r31 = 'gatherish' + r32 = PyList_New(7) + if is_error(r32) goto L11 (error at :7) else goto L9 L9: - r18 = :: bytes - return r18 + r33 = get_element_ptr r32 ob_item :: PyListObject + r34 = load_mem r33 :: ptr* + inc_ref r25 + set_mem r34, r25 :: builtins.object* + inc_ref r26 + r35 = r34 + 8 + set_mem r35, r26 :: builtins.object* + inc_ref r27 + r36 = r34 + 16 + set_mem r36, r27 :: builtins.object* + inc_ref r28 + r37 = r34 + 24 + set_mem r37, r28 :: builtins.object* + inc_ref r29 + r38 = r34 + 32 + set_mem r38, r29 :: builtins.object* + inc_ref r30 + r39 = r34 + 40 + set_mem r39, r30 :: builtins.object* + inc_ref r31 + r40 = r34 + 48 + set_mem r40, r31 :: builtins.object* + r41 = dank_mids.helpers.globals :: static + r42 = '__all__' + r43 = CPyDict_SetItem(r41, r42, r32) + dec_ref r32 + r44 = r43 >= 0 :: signed + if not r44 goto L11 (error at :7) else goto L10 :: bool L10: - dec_ref r1 - goto L9 + return 1 L11: - dec_ref r7 :: int - goto L5 -L12: - dec_ref r12 - dec_ref r13 - goto L9 - -def _encode_uint_256(i): - i :: int - r0, r1 :: bytes - r2 :: str - r3 :: object - r4 :: object[3] - r5 :: object_ptr - r6 :: object - r7, r8 :: bytes -L0: - r0 = _int_to_big_endian(i) - if is_error(r0) goto L4 (error at _encode_uint_256:214) else goto L1 -L1: - r1 = b'\x00' - r2 = 'rjust' - r3 = object 32 - r4 = [r0, r3, r1] - r5 = load_address r4 - r6 = PyObject_VectorcallMethod(r2, r5, 9223372036854775811, 0) - if is_error(r6) goto L5 (error at _encode_uint_256:215) else goto L2 -L2: - dec_ref r0 - r7 = cast(bytes, r6) - if is_error(r7) goto L4 (error at _encode_uint_256:215) else goto L3 -L3: - return r7 -L4: - r8 = :: bytes - return r8 -L5: - dec_ref r0 - goto L4 - -def __encode_new(values): - values :: object - r0 :: tuple[bytes, int] - r1 :: bytes - r2 :: int - r3 :: bytes - r4 :: int - r5, r6, r7 :: bytes -L0: - r0 = __encode_elements_new(values) - if is_error(r0) goto L4 (error at __encode_new:219) else goto L1 -L1: - r1 = borrow r0[0] - r2 = borrow r0[1] - r3 = unborrow r1 - r4 = unborrow r2 - r5 = _encode_uint_256(r4) - dec_ref r4 :: int - if is_error(r5) goto L5 (error at __encode_new:220) else goto L2 -L2: - r6 = CPyBytes_Concat(r5, r3) - dec_ref r3 - if is_error(r6) goto L4 (error at __encode_new:220) else goto L3 -L3: - return r6 -L4: - r7 = :: bytes - return r7 -L5: - dec_ref r3 - goto L4 + r45 = :: None + return r45 -def __encode_elements_new(values): - values :: object - r0 :: list +def patch_eth_utils(): + r0 :: dict r1, r2 :: object - r3 :: union[tuple[str, object], list] - r4 :: object - r5 :: bool - r6 :: object[1] - r7 :: object_ptr - r8 :: object - r9 :: i32 - r10, r11 :: bit - r12 :: ptr - r13 :: native_int - r14 :: short_int - count, r15 :: int - r16 :: list + 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, r19 :: ptr - offset :: int - r20 :: object - r21 :: list - r22 :: native_int - r23 :: ptr - r24 :: native_int - r25 :: bit - r26, r27 :: ptr - r28 :: native_int - r29 :: ptr - r30 :: object - r31, r32 :: int - r33 :: object - r34 :: i32 - r35 :: bit - r36 :: native_int - r37 :: ptr - r38 :: native_int - r39 :: list - r40 :: native_int - r41 :: ptr - r42 :: native_int - r43 :: bit - r44, r45 :: ptr - r46 :: native_int - r47 :: ptr + 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, r50 :: int - r51 :: bytes - r52 :: native_int + r49 :: dict + r50 :: str + r51 :: object + r52 :: str r53 :: object - r54 :: bytes - r55 :: list - r56, r57 :: object - r58 :: tuple - r59 :: bytes - r60, r61 :: tuple[bytes, int] + 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 = PyList_New(0) - if is_error(r0) goto L32 (error at __encode_elements_new:224) 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: - r1 = PyObject_GetIter(values) - if is_error(r1) goto L33 (error at __encode_elements_new:224) 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: - r2 = PyIter_Next(r1) - if is_error(r2) goto L34 else goto L3 + eth_utils.crypto = r5 :: module + dec_ref r5 L3: - r3 = cast(union[tuple[str, object], list], r2) - if is_error(r3) goto L35 (error at __encode_elements_new:224) else goto L4 + 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: - r4 = dank_mids.helpers._codec._item_encoder :: static - if is_error(r4) goto L36 else goto L7 + 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: - r5 = raise NameError('value for final name "_item_encoder" was not set') - if not r5 goto L32 (error at __encode_elements_new:224) else goto L6 :: bool + 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: - unreachable + 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: - r6 = [r3] - r7 = load_address r6 - r8 = PyObject_Vectorcall(r4, r7, 1, 0) - if is_error(r8) goto L37 (error at __encode_elements_new:224) else goto L8 + 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: - dec_ref r3 - r9 = PyList_Append(r0, r8) - dec_ref r8 - r10 = r9 >= 0 :: signed - if not r10 goto L35 (error at __encode_elements_new:224) else goto L2 :: bool + 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: - r11 = CPy_NoErrOccurred() - if not r11 goto L33 (error at __encode_elements_new:224) else goto L10 :: bool + 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: - r12 = get_element_ptr r0 ob_size :: PyVarObject - r13 = load_mem r12 :: native_int* - r14 = r13 << 1 - count = r14 - r15 = CPyTagged_Multiply(64, count) - r16 = PyList_New(1) - if is_error(r16) goto L38 (error at __encode_elements_new:227) 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: - r17 = object 0 - r18 = get_element_ptr r16 ob_item :: PyListObject - r19 = load_mem r18 :: ptr* - inc_ref r17 - set_mem r19, r17 :: builtins.object* - offset = 0 - r20 = CPyList_GetSlice(r0, 0, -2) - if is_error(r20) goto L39 (error at __encode_elements_new:229) else goto L12 + web3.main = r28 :: module + dec_ref r28 L12: - r21 = cast(list, r20) - if is_error(r21) goto L39 (error at __encode_elements_new:229) else goto L13 + 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: - r22 = 0 + 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: - r23 = get_element_ptr r21 ob_size :: PyVarObject - r24 = load_mem r23 :: native_int* - r25 = r22 < r24 :: signed - if r25 goto L15 else goto L40 :: 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: - r26 = get_element_ptr r21 ob_item :: PyListObject - r27 = load_mem r26 :: ptr* - r28 = r22 * 8 - r29 = r27 + r28 - r30 = load_mem r29 :: builtins.object* - r31 = CPyObject_Size(r30) - dec_ref r30 - if is_error(r31) goto L41 (error at __encode_elements_new:230) else goto L16 + 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: - r32 = CPyTagged_Add(offset, r31) - dec_ref offset :: int - dec_ref r31 :: int - offset = r32 - inc_ref offset :: int - r33 = box(int, offset) - r34 = PyList_Append(r16, r33) - dec_ref r33 - r35 = r34 >= 0 :: signed - if not r35 goto L41 (error at __encode_elements_new:231) else goto L17 :: bool + 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: - r36 = r22 + 1 - r22 = r36 - goto L14 + 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: - r37 = get_element_ptr r16 ob_size :: PyVarObject - r38 = load_mem r37 :: native_int* - r39 = PyList_New(r38) - if is_error(r39) goto L42 (error at __encode_elements_new:232) 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: - r40 = 0 + 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: - r41 = get_element_ptr r16 ob_size :: PyVarObject - r42 = load_mem r41 :: native_int* - r43 = r40 < r42 :: signed - if r43 goto L21 else goto L43 :: bool + 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: - r44 = get_element_ptr r16 ob_item :: PyListObject - r45 = load_mem r44 :: ptr* - r46 = r40 * 8 - r47 = r45 + r46 - r48 = load_mem r47 :: builtins.object* - r49 = unbox(int, r48) + r54 = 'to_bytes' + r55 = PyObject_SetAttr(r53, r54, r48) + dec_ref r53 dec_ref r48 - if is_error(r49) goto L44 (error at __encode_elements_new:232) else goto L22 + r56 = r55 >= 0 :: signed + if not r56 goto L110 (error at patch_eth_utils:32) else goto L22 :: bool L22: - r50 = CPyTagged_Add(r15, r49) - dec_ref r49 :: int - r51 = _encode_uint_256(r50) - dec_ref r50 :: int - if is_error(r51) goto L44 (error at __encode_elements_new:232) 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: - CPyList_SetItemUnsafe(r39, r40, r51) + r61 = 'web3.middleware.filter' + r62 = PyImport_Import(r61) + if is_error(r62) goto L110 (error at patch_eth_utils:34) else goto L24 L24: - r52 = r40 + 1 - r40 = r52 - goto L20 + web3.middleware.filter = r62 :: module + dec_ref r62 L25: - r53 = PyObject_GetIter(r39) - dec_ref r39 - if is_error(r53) goto L45 (error at __encode_elements_new:232) else goto L26 + 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: - r54 = b'' - r55 = PyList_New(0) - if is_error(r55) goto L46 (error at __encode_elements_new:233) else goto L27 + 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: - r56 = CPyList_Extend(r55, r53) - dec_ref r53 - if is_error(r56) goto L47 (error at __encode_elements_new:233) else goto L48 + 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: - r57 = CPyList_Extend(r55, r0) - dec_ref r0 - if is_error(r57) goto L49 (error at __encode_elements_new:233) else goto L50 + 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: - r58 = PyList_AsTuple(r55) - dec_ref r55 - if is_error(r58) goto L51 (error at __encode_elements_new:233) else goto L30 + 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: - r59 = CPyBytes_Join(r54, r58) - dec_ref r58 - if is_error(r59) goto L51 (error at __encode_elements_new:233) else goto L31 + 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: - r60 = (r59, count) - return r60 + 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: - r61 = :: tuple[bytes, int] - return r61 + 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: - dec_ref r0 - goto L32 + r86 = 'web3.providers.base' + r87 = PyImport_Import(r86) + if is_error(r87) goto L110 (error at patch_eth_utils:38) else goto L34 L34: - dec_ref r1 - goto L9 + web3.providers.base = r87 :: module + dec_ref r87 L35: - dec_ref r0 - dec_ref r1 - goto L32 + 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: - dec_ref r0 - dec_ref r1 - dec_ref r3 - goto L5 + 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: - dec_ref r0 - dec_ref r1 - dec_ref r3 - goto L32 + 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: - dec_ref r0 - dec_ref count :: int - dec_ref r15 :: int - goto L32 + 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: - dec_ref r0 - dec_ref count :: int - dec_ref r15 :: int - dec_ref r16 - dec_ref offset :: int - goto L32 + 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: - dec_ref offset :: int - dec_ref r21 - goto L18 -L41: - dec_ref r0 - dec_ref count :: int - dec_ref r15 :: int - dec_ref r16 - dec_ref offset :: int - dec_ref r21 - goto L32 + 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: - dec_ref r0 - dec_ref count :: int - dec_ref r15 :: int - dec_ref r16 - goto L32 + 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: - dec_ref r15 :: int - dec_ref r16 - goto L25 + r111 = 'web3._utils.encoding' + r112 = PyImport_Import(r111) + if is_error(r112) goto L110 (error at patch_eth_utils:42) else goto L44 L44: - dec_ref r0 - dec_ref count :: int - dec_ref r15 :: int - dec_ref r16 - dec_ref r39 - goto L32 + web3._utils.encoding = r112 :: module + dec_ref r112 L45: - dec_ref r0 - dec_ref count :: int - goto L32 + 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: - dec_ref r0 - dec_ref count :: int - dec_ref r53 - goto L32 + 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: - dec_ref r0 - dec_ref count :: int - dec_ref r55 - goto L32 + 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: - dec_ref r56 - goto L28 + 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: - dec_ref count :: int - dec_ref r55 - goto L32 + 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: - dec_ref r57 - goto L29 + 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: - dec_ref count :: int - goto L32 - -def mcall_encode(data): - data :: object - r0 :: tuple[bool, object] - r1 :: object - r2 :: bool - r3 :: object - r4 :: object[1] - r5 :: object_ptr - r6 :: object - r7, r8 :: bytes -L0: - inc_ref data - r0 = (0, data) - r1 = dank_mids.helpers._codec._mcall_encoder :: static - if is_error(r1) goto L7 else goto L3 -L1: - r2 = raise NameError('value for final name "_mcall_encoder" was not set') - if not r2 goto L6 (error at mcall_encode:246) else goto L2 :: bool -L2: + 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 -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:246) else goto L4 -L4: - dec_ref r3 - r7 = cast(bytes, r6) - if is_error(r7) goto L6 (error at mcall_encode:246) else goto L5 -L5: - return r7 -L6: - r8 = :: bytes - return r8 -L7: - dec_ref r0 - goto L1 -L8: - dec_ref r3 - goto L6 +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 mcall_decode(data): - data :: object - r0, r1 :: str - r2 :: object[2] - r3 :: object_ptr - r4, r5 :: object - r6 :: bool +def to_hex(primitive, hexstr, text): + primitive :: union[object, None] + hexstr, text :: union[str, None] + r0, r1, r2, r3 :: object + r4 :: bit + r5, r6 :: str 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 :: dict + r9 :: object + r10, r11 :: str + r12 :: object + r13 :: bit + r14 :: str + r15 :: bytes + r16 :: str + r17 :: bit + r18 :: bool + r19, r20, r21 :: str + r22, r23 :: object r24 :: str - r25, r26 :: object - r27 :: bit - r28 :: None - r29 :: str - r30 :: object - r31 :: tuple - r32 :: dict + r25 :: object + r26 :: tuple[object, object] + r27 :: object + r28 :: i32 + r29 :: bit + r30 :: bool + r31 :: str + r32 :: object r33 :: str r34 :: object r35 :: i32 r36 :: bit r37 :: bool - r38 :: str + r38 :: object r39 :: object[1] r40 :: object_ptr r41 :: object - r42 :: union[object, dank_mids.helpers.hashing.AttributeDict, str] - r43 :: list - r44 :: object - r45 :: i32 - r46 :: bit - r47 :: tuple - r48 :: str - r49 :: i32 - r50, r51 :: bit - r52 :: ptr - r53 :: native_int - r54 :: list - r55 :: ptr - r56, r57 :: native_int - r58 :: bit - r59 :: object - r60 :: tuple[bool, bytes] - r61 :: bytes - r62 :: native_int - r63 :: union[list, object] + r42 :: bytes + r43 :: str + r44 :: bit + r45 :: str + r46 :: object + r47 :: str + r48 :: object + r49 :: object[1] + r50 :: object_ptr + r51 :: object + r52 :: bit + r53 :: int + r54 :: object + r55 :: str + r56, r57 :: object + r58 :: object[1] + r59 :: object_ptr + r60 :: object + r61, r62 :: str + r63 :: object + r64, r65, r66 :: str + r67 :: object + r68 :: str + r69 :: object + r70 :: object[1] + r71 :: object_ptr + r72 :: object + r73 :: str L0: + if is_error(primitive) goto L1 else goto L53 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:255) else goto L2 + r0 = box(None, 1) + inc_ref r0 + primitive = r0 L2: - r5 = dank_mids.helpers._codec.ContextFramesBytesIO :: static - if is_error(r5) goto L43 else goto L5 + if is_error(hexstr) goto L3 else goto L54 L3: - r6 = raise NameError('value for final name "ContextFramesBytesIO" was not set') - if not r6 goto L12 (error at mcall_decode:255) else goto L4 :: bool + r1 = box(None, 1) + inc_ref r1 + hexstr = r1 L4: - unreachable + if is_error(text) goto L5 else goto L55 L5: - r7 = [r4] - r8 = load_address r7 - r9 = PyObject_Vectorcall(r5, r8, 1, 0) - if is_error(r9) goto L44 (error at mcall_decode:255) else goto L6 + r2 = box(None, 1) + inc_ref r2 + text = r2 L6: - dec_ref r4 - r10 = dank_mids.helpers._codec._mcall_decoder :: static - if is_error(r10) goto L45 else goto L9 + r3 = load_address _Py_NoneStruct + r4 = hexstr != r3 + if r4 goto L56 else goto L57 :: bool L7: - r11 = raise NameError('value for final name "_mcall_decoder" was not set') - if not r11 goto L12 (error at mcall_decode:255) else goto L8 :: bool + r5 = cast(str, hexstr) + if is_error(r5) goto L52 (error at to_hex:78) else goto L8 L8: - unreachable + r6 = 'lower' + r7 = [r5] + r8 = load_address r7 + r9 = PyObject_VectorcallMethod(r6, r8, 9223372036854775809, 0) + if is_error(r9) goto L58 (error at to_hex:78) else goto L9 L9: - r12 = [r9] - r13 = load_address r12 - r14 = PyObject_Vectorcall(r10, r13, 1, 0) - if is_error(r14) goto L46 (error at mcall_decode:255) else goto L10 + dec_ref r5 + r10 = cast(str, r9) + if is_error(r10) goto L52 (error at to_hex:78) 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:255) else goto L11 + r11 = add_0x_prefix(r10) + dec_ref r10 + if is_error(r11) goto L52 (error at to_hex:78) else goto L11 L11: - r16 = r15[2] - dec_ref r15 - goto L35 + return r11 L12: - r17 = CPy_CatchError() - r18 = builtins :: module - r19 = 'Exception' - r20 = CPyObject_GetAttr(r18, r19) - if is_error(r20) goto L33 (error at mcall_decode:256) else goto L13 + r12 = load_address _Py_NoneStruct + r13 = text != r12 + if r13 goto L59 else goto L60 :: bool L13: - r21 = CPy_ExceptionMatches(r20) - dec_ref r20 - if r21 goto L14 else goto L31 :: bool + r14 = cast(str, text) + if is_error(r14) goto L52 (error at to_hex:81) else goto L14 L14: - r22 = CPy_GetExcValue() - r23 = dank_mids.helpers._codec.globals :: static - r24 = 'PartialResponse' - r25 = CPyDict_GetItem(r23, r24) - if is_error(r25) goto L47 (error at mcall_decode:257) else goto L15 + r15 = PyUnicode_AsUTF8String(r14) + dec_ref r14 + if is_error(r15) goto L52 (error at to_hex:81) else goto L15 L15: - r26 = load_address _Py_NoneStruct - r27 = r25 == r26 - dec_ref r25 - if r27 goto L16 else goto L17 :: bool + r16 = encode_hex(r15) + dec_ref r15 + if is_error(r16) goto L52 (error at to_hex:81) else goto L16 L16: - r28 = __import_from_types() - if is_error(r28) goto L47 (error at mcall_decode:258) else goto L17 + return r16 L17: - r29 = 'args' - r30 = CPyObject_GetAttr(r22, r29) - if is_error(r30) goto L47 (error at mcall_decode:260) else goto L18 + r17 = PyBool_Check(primitive) + if r17 goto L18 else goto L23 :: bool L18: - r31 = cast(tuple, r30) - if is_error(r31) goto L47 (error at mcall_decode:260) else goto L19 + r18 = unbox(bool, primitive) + dec_ref primitive + if is_error(r18) goto L52 (error at to_hex:84) else goto L19 L19: - r32 = dank_mids.helpers._codec.globals :: static - r33 = 'PartialResponse' - r34 = CPyDict_GetItem(r32, r33) - if is_error(r34) goto L48 (error at mcall_decode:260) else goto L20 + if r18 goto L20 else goto L21 :: bool L20: - r35 = PyObject_IsInstance(data, r34) - dec_ref r34 - r36 = r35 >= 0 :: signed - if not r36 goto L48 (error at mcall_decode:260) else goto L21 :: bool + r19 = '0x1' + inc_ref r19 + r20 = r19 + goto L22 L21: - r37 = truncate r35: i32 to builtins.bool - if r37 goto L22 else goto L24 :: bool + r21 = '0x0' + inc_ref r21 + r20 = r21 L22: - r38 = 'decode_result' - r39 = [data] - r40 = load_address r39 - r41 = PyObject_VectorcallMethod(r38, r40, 9223372036854775809, 0) - if is_error(r41) goto L48 (error at mcall_decode:260) else goto L23 + return r20 L23: - r42 = r41 - goto L25 + r22 = load_address PyBytes_Type + r23 = builtins :: module + r24 = 'bytearray' + r25 = CPyObject_GetAttr(r23, r24) + if is_error(r25) goto L61 (error at to_hex:86) else goto L24 L24: - inc_ref data - r42 = data + inc_ref r22 + r26 = (r22, r25) + r27 = box(tuple[object, object], r26) + r28 = PyObject_IsInstance(primitive, r27) + dec_ref r27 + r29 = r28 >= 0 :: signed + if not r29 goto L61 (error at to_hex:86) else goto L25 :: bool L25: - r43 = PyList_New(0) - if is_error(r43) goto L49 (error at mcall_decode:260) else goto L26 + r30 = truncate r28: i32 to builtins.bool + if r30 goto L26 else goto L28 :: bool L26: - r44 = CPyList_Extend(r43, r31) - dec_ref r31 - if is_error(r44) goto L50 (error at mcall_decode:260) else goto L51 + r31 = encode_hex(primitive) + dec_ref primitive + if is_error(r31) goto L52 (error at to_hex:87) else goto L27 L27: - r45 = PyList_Append(r43, r42) - dec_ref r42 - r46 = r45 >= 0 :: signed - if not r46 goto L52 (error at mcall_decode:260) else goto L28 :: bool + return r31 L28: - r47 = PyList_AsTuple(r43) - dec_ref r43 - if is_error(r47) goto L47 (error at mcall_decode:260) else goto L29 + r32 = builtins :: module + r33 = 'memoryview' + r34 = CPyObject_GetAttr(r32, r33) + if is_error(r34) goto L61 (error at to_hex:89) else goto L29 L29: - r48 = 'args' - r49 = PyObject_SetAttr(r22, r48, r47) - dec_ref r47 - r50 = r49 >= 0 :: signed - if not r50 goto L47 (error at mcall_decode:260) else goto L30 :: bool + r35 = PyObject_IsInstance(primitive, r34) + dec_ref r34 + r36 = r35 >= 0 :: signed + if not r36 goto L61 (error at to_hex:89) else goto L30 :: bool L30: - CPy_RestoreExcInfo(r17) - dec_ref r17 - return r22 + r37 = truncate r35: i32 to builtins.bool + if r37 goto L31 else goto L35 :: bool L31: - CPy_Reraise() - if not 0 goto L33 else goto L53 :: bool + r38 = load_address PyBytes_Type + r39 = [primitive] + r40 = load_address r39 + r41 = PyObject_Vectorcall(r38, r40, 1, 0) + if is_error(r41) goto L61 (error at to_hex:90) else goto L32 L32: - unreachable + dec_ref primitive + r42 = cast(bytes, r41) + if is_error(r42) goto L52 (error at to_hex:90) else goto L33 L33: - CPy_RestoreExcInfo(r17) - dec_ref r17 - r51 = CPy_KeepPropagating() - if not r51 goto L42 else goto L34 :: bool + r43 = encode_hex(r42) + dec_ref r42 + if is_error(r43) goto L52 (error at to_hex:90) else goto L34 L34: - unreachable + return r43 L35: - r52 = get_element_ptr r16 ob_size :: PyVarObject - r53 = load_mem r52 :: native_int* - r54 = PyList_New(r53) - if is_error(r54) goto L54 (error at mcall_decode:263) else goto L36 + r44 = PyUnicode_Check(primitive) + if r44 goto L62 else goto L40 :: bool L36: - r55 = get_element_ptr r16 ob_size :: PyVarObject - r56 = load_mem r55 :: native_int* - r57 = 0 + r45 = 'Unsupported type: The primitive argument must be one of: bytes,bytearray, int or bool and not str' + r46 = builtins :: module + r47 = 'TypeError' + r48 = CPyObject_GetAttr(r46, r47) + if is_error(r48) goto L52 (error at to_hex:93) else goto L37 L37: - r58 = r57 < r56 :: signed - if r58 goto L38 else goto L55 :: bool + r49 = [r45] + r50 = load_address r49 + r51 = PyObject_Vectorcall(r48, r50, 1, 0) + dec_ref r48 + if is_error(r51) goto L52 (error at to_hex:93) else goto L38 L38: - r59 = CPySequenceTuple_GetItemUnsafe(r16, r57) - r60 = unbox(tuple[bool, bytes], r59) - dec_ref r59 - if is_error(r60) goto L56 (error at mcall_decode:263) else goto L39 + CPy_Raise(r51) + dec_ref r51 + if not 0 goto L52 (error at to_hex:93) else goto L39 :: bool L39: - r61 = r60[1] - dec_ref r60 - CPyList_SetItemUnsafe(r54, r57, r61) + unreachable L40: - r62 = r57 + 1 - r57 = r62 - goto L37 + r52 = PyLong_Check(primitive) + if r52 goto L41 else goto L46 :: bool L41: - return r54 + r53 = unbox(int, primitive) + dec_ref primitive + if is_error(r53) goto L52 (error at to_hex:99) else goto L42 L42: - r63 = :: union[list, object] - return r63 + r54 = builtins :: module + r55 = 'hex' + r56 = CPyObject_GetAttr(r54, r55) + if is_error(r56) goto L63 (error at to_hex:99) else goto L43 L43: - dec_ref r4 - goto L3 + r57 = box(int, r53) + r58 = [r57] + r59 = load_address r58 + r60 = PyObject_Vectorcall(r56, r59, 1, 0) + dec_ref r56 + if is_error(r60) goto L64 (error at to_hex:99) else goto L44 L44: - dec_ref r4 - goto L12 + dec_ref r57 + r61 = cast(str, r60) + if is_error(r61) goto L52 (error at to_hex:99) else goto L45 L45: - dec_ref r9 - goto L7 + return r61 L46: - dec_ref r9 - goto L12 + r62 = "Unsupported type: '" + r63 = CPy_TYPE(primitive) + dec_ref primitive + r64 = PyObject_Repr(r63) + dec_ref r63 + if is_error(r64) goto L52 (error at to_hex:102) else goto L47 L47: - dec_ref r22 - goto L33 + r65 = "'. Must be one of: bool, str, bytes, bytearray or int." + r66 = CPyStr_Build(3, r62, r64, r65) + dec_ref r64 + if is_error(r66) goto L52 (error at to_hex:102) else goto L48 L48: - dec_ref r22 - dec_ref r31 - goto L33 + r67 = builtins :: module + r68 = 'TypeError' + r69 = CPyObject_GetAttr(r67, r68) + if is_error(r69) goto L65 (error at to_hex:101) else goto L49 L49: - dec_ref r22 - dec_ref r31 - dec_ref r42 - goto L33 + r70 = [r66] + r71 = load_address r70 + r72 = PyObject_Vectorcall(r69, r71, 1, 0) + dec_ref r69 + if is_error(r72) goto L65 (error at to_hex:101) else goto L50 L50: - dec_ref r22 - dec_ref r42 - dec_ref r43 - goto L33 + dec_ref r66 + CPy_Raise(r72) + dec_ref r72 + if not 0 goto L52 (error at to_hex:101) else goto L51 :: bool L51: - dec_ref r44 - goto L27 + unreachable L52: - dec_ref r22 - dec_ref r43 - goto L33 + r73 = :: str + return r73 L53: - dec_ref r17 - goto L32 -L54: - dec_ref r16 - goto L42 -L55: - dec_ref r16 - goto L41 -L56: - dec_ref r16 - dec_ref r54 - goto L42 - -def __import_from_types(): - r0 :: object - r1 :: str - r2 :: dict - r3 :: object - r4 :: None -L0: - r0 = ('PartialResponse', 'Request', 'Response', 'better_decode') - r1 = 'dank_mids.types' - r2 = dank_mids.helpers._codec.globals :: static - r3 = CPyImport_ImportFromMany(r1, r0, r0, r2) - if is_error(r3) goto L2 (error at __import_from_types:269) else goto L1 -L1: - dank_mids.types = r3 :: module - dec_ref r3 - return 1 -L2: - r4 = :: None - return r4 - -def __make_decode_batch(): - r0 :: object - r1 :: str - r2 :: dict - r3 :: object - r4 :: dict - r5 :: str - r6 :: object - r7 :: dict - r8 :: str - r9 :: object - r10 :: dict - r11 :: str - r12 :: object - r13 :: str - r14, r15 :: object - r16 :: dict - r17 :: str - r18 :: object - r19 :: tuple[object, object] - r20, r21 :: object - r22 :: dict - r23 :: str - r24 :: object - r25 :: object[1] - r26 :: object_ptr - r27, r28 :: object - r29 :: str - r30 :: object - r31 :: dict - r32 :: str - r33 :: i32 - r34 :: bit - r35 :: None -L0: - r0 = ('PartialResponse',) - r1 = 'dank_mids.types' - r2 = dank_mids.helpers._codec.globals :: static - r3 = CPyImport_ImportFromMany(r1, r0, r0, r2) - if is_error(r3) goto L13 (error at __make_decode_batch:273) else goto L1 -L1: - dank_mids.types = r3 :: module - dec_ref r3 - r4 = dank_mids.helpers._codec.globals :: static - r5 = 'Union' - r6 = CPyDict_GetItem(r4, r5) - if is_error(r6) goto L13 (error at __make_decode_batch:276) else goto L2 -L2: - r7 = dank_mids.helpers._codec.globals :: static - r8 = 'List' - r9 = CPyDict_GetItem(r7, r8) - if is_error(r9) goto L14 (error at __make_decode_batch:276) else goto L3 -L3: - r10 = dank_mids.helpers._codec.globals :: static - r11 = 'msgspec' - r12 = CPyDict_GetItem(r10, r11) - if is_error(r12) goto L15 (error at __make_decode_batch:276) else goto L4 -L4: - r13 = 'Raw' - r14 = CPyObject_GetAttr(r12, r13) - dec_ref r12 - if is_error(r14) goto L15 (error at __make_decode_batch:276) else goto L5 -L5: - r15 = PyObject_GetItem(r9, r14) - dec_ref r9 - dec_ref r14 - if is_error(r15) goto L14 (error at __make_decode_batch:276) else goto L6 -L6: - r16 = dank_mids.helpers._codec.globals :: static - r17 = 'PartialResponse' - r18 = CPyDict_GetItem(r16, r17) - if is_error(r18) goto L16 (error at __make_decode_batch:276) else goto L7 -L7: - r19 = (r15, r18) - r20 = box(tuple[object, object], r19) - r21 = PyObject_GetItem(r6, r20) - dec_ref r6 - dec_ref r20 - if is_error(r21) goto L13 (error at __make_decode_batch:276) else goto L8 -L8: - r22 = dank_mids.helpers._codec.globals :: static - r23 = 'Decoder' - r24 = CPyDict_GetItem(r22, r23) - if is_error(r24) goto L17 (error at __make_decode_batch:276) else goto L9 -L9: - r25 = [r21] - r26 = load_address r25 - r27 = ('type',) - r28 = PyObject_Vectorcall(r24, r26, 0, r27) - dec_ref r24 - if is_error(r28) goto L17 (error at __make_decode_batch:276) else goto L10 -L10: - dec_ref r21 - r29 = 'decode' - r30 = CPyObject_GetAttr(r28, r29) - dec_ref r28 - if is_error(r30) goto L13 (error at __make_decode_batch:276) else goto L11 -L11: - r31 = dank_mids.helpers._codec.globals :: static - r32 = '_decode_batch' - r33 = CPyDict_SetItem(r31, r32, r30) - dec_ref r30 - r34 = r33 >= 0 :: signed - if not r34 goto L13 (error at __make_decode_batch:276) else goto L12 :: bool -L12: - return 1 -L13: - r35 = :: None - return r35 -L14: - dec_ref r6 - goto L13 -L15: - dec_ref r6 - dec_ref r9 - goto L13 -L16: - dec_ref r6 - dec_ref r15 - goto L13 -L17: - dec_ref r21 + inc_ref primitive + goto L2 +L54: + inc_ref hexstr + goto L4 +L55: + inc_ref text + goto L6 +L56: + dec_ref primitive + dec_ref text + goto L7 +L57: + dec_ref hexstr + goto L12 +L58: + dec_ref r5 + goto L52 +L59: + dec_ref primitive goto L13 +L60: + dec_ref text + goto L17 +L61: + dec_ref primitive + goto L52 +L62: + dec_ref primitive + goto L36 +L63: + dec_ref r53 :: int + goto L52 +L64: + dec_ref r57 + goto L52 +L65: + dec_ref r66 + goto L52 -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4, r5 :: object - r6 :: str - r7 :: dict +def to_bytes(primitive, hexstr, text): + primitive :: union[object, None] + hexstr, text :: union[str, None] + r0, r1, r2 :: object + r3 :: bit + r4 :: bool + r5, r6, r7 :: bytes r8 :: object - r9, r10 :: object_ptr - r11 :: object_ptr[2] - r12 :: c_ptr - r13 :: native_int[2] - r14 :: c_ptr + r9 :: str + r10, r11 :: object + r12 :: str + r13 :: object + r14 :: tuple[object, object] r15 :: object - r16 :: dict - r17, r18 :: str - r19 :: bit - r20 :: object - r21 :: str - r22 :: dict - r23, 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 :: dict - r45 :: str - r46 :: object - r47 :: i32 - r48 :: bit - r49 :: dict - r50 :: str - r51 :: object - r52 :: i32 - r53 :: bit - r54 :: dict - r55 :: str - r56 :: object - r57 :: i32 - r58 :: bit - r59 :: dict - r60 :: str - r61 :: object - r62 :: i32 - r63 :: bit - r64 :: str - r65 :: dict - r66 :: str - r67 :: object - r68 :: object[1] - r69 :: object_ptr - r70 :: object - r71 :: dict - r72 :: str - r73 :: i32 - r74 :: bit - r75 :: dict - r76 :: str - r77 :: object - r78 :: dict - r79 :: str - r80 :: object - r81 :: dict - r82 :: str - r83 :: object - r84 :: dict - r85 :: str - r86 :: object - r87 :: tuple[object, object, object] - r88, r89 :: object - r90 :: dict - r91 :: str - r92 :: i32 - r93 :: bit - r94 :: dict - r95 :: str - r96, r97 :: object - r98 :: dict - r99 :: str - r100 :: object - r101 :: dict - r102 :: str - r103 :: object - r104 :: str - r105, r106 :: object - r107 :: tuple[object, object, object, object] - r108, r109 :: object - r110 :: dict - r111 :: str - r112 :: i32 - r113 :: bit - r114 :: dict - r115 :: str - r116 :: object - r117 :: dict - r118 :: str - r119 :: object - r120 :: dict - r121 :: str - r122 :: object - r123 :: dict - r124 :: str - r125, r126 :: object - r127 :: dict - r128 :: str - r129, r130 :: object - r131 :: dict - r132 :: str - r133 :: object - r134 :: tuple[object, object] - r135, r136 :: object - r137 :: tuple[object, object, object] - r138, r139 :: object - r140 :: dict - r141 :: str - r142 :: i32 - r143 :: bit - r144 :: dict - r145 :: str - r146 :: object - r147 :: dict - r148 :: str - r149 :: object - r150 :: dict - r151 :: str - r152 :: object - r153 :: dict - r154 :: str - r155 :: object - r156 :: str - r157 :: object - r158 :: tuple[object, object] - r159, r160 :: object - r161 :: dict - r162 :: str - r163 :: object - r164 :: dict - r165 :: str - r166 :: object - r167 :: dict - r168 :: str - r169 :: object - r170 :: dict - r171 :: str - r172 :: object - r173 :: str - r174 :: object - r175 :: tuple[object, object] - r176, r177, r178 :: object - r179 :: tuple[object, object] - r180, r181 :: object - r182 :: dict - r183 :: str - r184 :: i32 - r185 :: bit - r186 :: dict - r187 :: str - r188 :: object - r189 :: dict - r190 :: str - r191, r192 :: object - r193 :: dict - r194 :: str - r195 :: object - r196 :: dict - r197 :: str - r198, r199 :: object - r200 :: tuple[object, object] - r201, r202 :: object - r203 :: list - r204, r205 :: ptr - r206 :: object - r207 :: tuple[list, object] - r208, r209 :: object - r210 :: dict - r211 :: str - r212 :: i32 - r213 :: bit - r214 :: dict - r215 :: str - r216, r217, r218 :: object - r219 :: dict - r220 :: str - r221 :: object - r222 :: dict - r223 :: str - r224 :: object - r225 :: str - r226 :: object - r227 :: tuple[str, object] - r228, r229, r230 :: object - r231 :: tuple[object, object] - r232, r233 :: object - r234 :: tuple[object, object, object] - r235, r236 :: object - r237 :: dict - r238 :: str - r239 :: i32 - r240 :: bit - r241 :: dict - r242 :: str - r243, r244 :: object - r245 :: dict - r246 :: str - r247 :: object - r248 :: tuple[object, object] - r249, r250 :: object - r251 :: dict - r252 :: str - r253 :: i32 - r254 :: bit - r255 :: dict - r256 :: str - r257 :: object - r258 :: str - r259 :: object - r260 :: dict - r261 :: str - r262 :: i32 - r263 :: bit - r264 :: dict - r265 :: str - r266 :: object - r267 :: dict - r268 :: str - r269 :: object - r270 :: str - r271 :: object - r272 :: str - r273 :: tuple[object, str] - r274, r275 :: object - r276 :: dict - r277 :: str - r278 :: i32 - r279 :: bit - r280 :: dict - r281 :: str - r282 :: object - r283 :: dict - r284 :: str - r285, r286, r287 :: object - r288 :: tuple[object, object] - r289, r290 :: object - r291 :: list - r292, r293 :: ptr - r294 :: dict - r295 :: str - r296 :: object - r297 :: dict - r298 :: str - r299 :: object - r300 :: dict - r301 :: str - r302 :: object - r303 :: str - r304, r305 :: object - r306 :: str - r307 :: tuple[object, str] - r308, r309 :: object - r310 :: tuple[list, object] - r311, r312 :: object - r313 :: dict - r314 :: str - r315 :: i32 - r316 :: bit - r317 :: dict - r318 :: str - r319 :: object - r320 :: str - r321 :: object - r322 :: dict - r323 :: str - r324 :: i32 - r325 :: bit - r326 :: dict - r327 :: str - r328 :: object - r329 :: str - r330 :: object - r331 :: dict - r332 :: str - r333 :: i32 - r334 :: bit - r335 :: dict - r336 :: str - r337 :: object - r338 :: str - r339 :: object - r340 :: dict - r341 :: str - r342 :: i32 - r343 :: bit - r344 :: dict - r345 :: str - r346 :: object - r347 :: str - r348 :: object - r349 :: dict - r350 :: str - r351 :: i32 - r352 :: bit - r353 :: object - r354 :: dict - r355 :: str - r356 :: object - r357 :: object[1] - r358 :: object_ptr - r359, r360 :: object - r361 :: str - r362 :: object - r363 :: dict - r364 :: str - r365 :: i32 - r366 :: bit - r367 :: object - r368 :: bool - r369 :: dict - r370 :: str - r371 :: object - r372 :: object[1] - r373 :: object_ptr - r374, r375 :: object - r376 :: str - r377 :: object - r378 :: dict - r379 :: str - r380 :: i32 - r381 :: bit - r382 :: dict - r383 :: str - r384 :: object - r385 :: i32 - r386 :: bit - r387 :: object - r388 :: str - r389, r390 :: object - r391 :: bool - r392, r393 :: str - r394 :: tuple - r395 :: i32 - r396 :: bit - r397 :: dict - r398 :: str - r399 :: i32 - r400 :: bit - r401 :: dict - r402 :: str - r403 :: object - r404 :: dict - r405 :: str - r406 :: object - r407 :: object[1] - r408 :: object_ptr - r409, r410 :: object - r411 :: str - r412 :: object - r413 :: dict - r414 :: str - r415 :: i32 - r416 :: bit - r417 :: dict - r418 :: str - r419 :: object - r420 :: str - r421 :: object - r422, r423 :: str - r424 :: object[2] - r425 :: object_ptr - r426 :: object - r427 :: dict - r428 :: str - r429 :: i32 - r430 :: bit - r431 :: object - r432 :: bool - r433 :: str - r434, r435, r436 :: object - r437 :: dict - r438 :: str - r439 :: i32 - r440 :: bit - r441 :: object - r442 :: bool - r443 :: str - r444 :: object - r445 :: dict - r446 :: str - r447 :: i32 - r448 :: bit - r449 :: dank_mids.helpers._codec.__mypyc_lambda__0_obj - r450 :: object - r451 :: bool - r452 :: str - r453 :: i32 - r454 :: bit - r455 :: object - r456 :: bool - r457 :: str - r458 :: i32 - r459 :: bit - r460 :: object - r461 :: bool - r462 :: str - r463 :: i32 - r464 :: bit - r465 :: dict - r466 :: str - r467, r468 :: object - r469 :: bool - r470 :: str - r471 :: i32 - r472 :: bit - r473 :: dict - r474 :: str - r475, r476 :: object - r477 :: bool - r478 :: str - r479 :: i32 - r480 :: bit - r481 :: dict - r482 :: str - r483 :: object - r484 :: str - r485 :: object - r486, r487 :: str - r488 :: object[2] - r489 :: object_ptr - r490 :: object - r491 :: str - r492 :: object - r493 :: dict - r494 :: str - r495 :: i32 - r496 :: bit - r497 :: object - r498 :: dict - r499 :: str - r500 :: i32 - r501 :: bit - r502 :: None + r16 :: i32 + r17 :: bit + r18 :: bool + r19 :: object + r20 :: object[1] + r21 :: object_ptr + r22 :: object + r23 :: bytes + r24 :: bit + r25 :: bytes + r26 :: bit + r27 :: int + r28 :: object + r29, r30 :: union[str, None] + r31 :: str + r32 :: union[object, None] + r33 :: union[str, None] + r34 :: bytes + r35 :: object + r36 :: bit + r37 :: str + r38 :: native_int + r39 :: bit + r40 :: short_int + r41 :: int + r42 :: bit + r43, r44, r45, r46, r47, r48 :: str + r49 :: bytes + r50 :: object + r51 :: bit + r52 :: str + r53 :: bytes + r54 :: str + r55 :: object + r56 :: str + r57 :: object + r58 :: object[1] + r59 :: object_ptr + r60 :: object + r61 :: 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 L49 L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L175 (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 L50 L3: - r5 = ('TYPE_CHECKING', 'Any', 'AnyStr', 'Callable', 'Dict', 'Final', 'Iterable', 'List', 'Literal', 'Mapping', 'Optional', 'Union', 'Tuple', 'Type', 'TypeVar', 'Union', 'final', 'overload') - r6 = 'typing' - r7 = dank_mids.helpers._codec.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L175 (error at :1) else goto L4 + r1 = box(None, 1) + inc_ref r1 + hexstr = r1 L4: - typing = r8 :: module - dec_ref r8 - r9 = load_address hexbytes :: module - r10 = load_address msgspec :: module - r11 = [r9, r10] - r12 = load_address r11 - r13 = [22, 23] - r14 = load_address r13 - r15 = (('hexbytes', 'hexbytes', 'hexbytes'), ('msgspec', 'msgspec', 'msgspec')) - r16 = dank_mids.helpers._codec.globals :: static - r17 = 'dank_mids\\helpers\\_codec.py' - r18 = '' - r19 = CPyImport_ImportMany(r15, r12, r16, r17, r18, r14) - if not r19 goto L175 else goto L5 :: bool + if is_error(text) goto L5 else goto L51 L5: - r20 = ('ChecksumAddress', 'HexStr') - r21 = 'eth_typing' - r22 = dank_mids.helpers._codec.globals :: static - r23 = CPyImport_ImportFromMany(r21, r20, r20, r22) - if is_error(r23) goto L175 (error at :24) else goto L6 + r2 = box(None, 1) + inc_ref r2 + text = r2 L6: - eth_typing = r23 :: module - dec_ref r23 - r24 = ('decoding',) - r25 = 'faster_eth_abi' - r26 = dank_mids.helpers._codec.globals :: static - r27 = CPyImport_ImportFromMany(r25, r24, r24, r26) - if is_error(r27) goto L175 (error at :25) else goto L7 + r3 = PyBool_Check(primitive) + if r3 goto L52 else goto L12 :: bool L7: - faster_eth_abi = r27 :: module - dec_ref r27 - r28 = ('default_codec',) - r29 = 'faster_eth_abi.abi' - r30 = dank_mids.helpers._codec.globals :: static - r31 = CPyImport_ImportFromMany(r29, r28, r28, r30) - if is_error(r31) goto L175 (error at :26) else goto L8 + r4 = unbox(bool, primitive) + dec_ref primitive + if is_error(r4) goto L48 (error at to_bytes:113) else goto L8 L8: - faster_eth_abi.abi = r31 :: module - dec_ref r31 - r32 = ('DynamicArrayEncoder', 'TupleEncoder') - r33 = 'faster_eth_abi.encoding' - r34 = dank_mids.helpers._codec.globals :: static - r35 = CPyImport_ImportFromMany(r33, r32, r32, r34) - if is_error(r35) goto L175 (error at :27) else goto L9 + if r4 goto L9 else goto L10 :: bool L9: - faster_eth_abi.encoding = r35 :: module - dec_ref r35 - r36 = ('Address',) - r37 = 'evmspec.data' - r38 = dank_mids.helpers._codec.globals :: static - r39 = CPyImport_ImportFromMany(r37, r36, r36, r38) - if is_error(r39) goto L175 (error at :28) else goto L10 + r5 = b'\x01' + inc_ref r5 + r6 = r5 + goto L11 L10: - evmspec.data = r39 :: module - dec_ref r39 - r40 = ('Decoder', 'Encoder') - r41 = 'msgspec.json' - r42 = dank_mids.helpers._codec.globals :: static - r43 = CPyImport_ImportFromMany(r41, r40, r40, r42) - if is_error(r43) goto L175 (error at :29) else goto L11 + r7 = b'\x00' + inc_ref r7 + r6 = r7 L11: - msgspec.json = r43 :: module - dec_ref r43 - if 0 goto L12 else goto L12 :: bool + return r6 L12: - r44 = dank_mids.helpers._codec.globals :: static - r45 = 'PartialResponse' - r46 = box(None, 1) - r47 = CPyDict_SetItem(r44, r45, r46) - r48 = r47 >= 0 :: signed - if not r48 goto L175 (error at :36) else goto L13 :: bool + r8 = builtins :: module + r9 = 'bytearray' + r10 = CPyObject_GetAttr(r8, r9) + if is_error(r10) goto L53 (error at to_bytes:114) else goto L13 L13: - r49 = dank_mids.helpers._codec.globals :: static - r50 = 'Request' - r51 = box(None, 1) - r52 = CPyDict_SetItem(r49, r50, r51) - r53 = r52 >= 0 :: signed - if not r53 goto L175 (error at :37) else goto L14 :: bool + r11 = builtins :: module + r12 = 'memoryview' + r13 = CPyObject_GetAttr(r11, r12) + if is_error(r13) goto L54 (error at to_bytes:114) else goto L14 L14: - r54 = dank_mids.helpers._codec.globals :: static - r55 = 'Response' - r56 = box(None, 1) - r57 = CPyDict_SetItem(r54, r55, r56) - r58 = r57 >= 0 :: signed - if not r58 goto L175 (error at :38) else goto L15 :: bool + r14 = (r10, r13) + r15 = box(tuple[object, object], r14) + r16 = PyObject_IsInstance(primitive, r15) + dec_ref r15 + r17 = r16 >= 0 :: signed + if not r17 goto L53 (error at to_bytes:114) else goto L15 :: bool L15: - r59 = dank_mids.helpers._codec.globals :: static - r60 = 'better_decode' - r61 = box(None, 1) - r62 = CPyDict_SetItem(r59, r60, r61) - r63 = r62 >= 0 :: signed - if not r63 goto L175 (error at :39) else goto L16 :: bool + r18 = truncate r16: i32 to builtins.bool + if r18 goto L55 else goto L19 :: bool L16: - r64 = '__T' - r65 = dank_mids.helpers._codec.globals :: static - r66 = 'TypeVar' - r67 = CPyDict_GetItem(r65, r66) - if is_error(r67) goto L175 (error at :42) else goto L17 + r19 = load_address PyBytes_Type + r20 = [primitive] + r21 = load_address r20 + r22 = PyObject_Vectorcall(r19, r21, 1, 0) + if is_error(r22) goto L56 (error at to_bytes:115) else goto L17 L17: - r68 = [r64] - r69 = load_address r68 - r70 = PyObject_Vectorcall(r67, r69, 1, 0) - dec_ref r67 - if is_error(r70) goto L175 (error at :42) else goto L18 + dec_ref primitive + r23 = cast(bytes, r22) + if is_error(r23) goto L48 (error at to_bytes:115) else goto L18 L18: - r71 = dank_mids.helpers._codec.globals :: static - r72 = '__T' - r73 = CPyDict_SetItem(r71, r72, r70) - dec_ref r70 - r74 = r73 >= 0 :: signed - if not r74 goto L175 (error at :42) else goto L19 :: bool + return r23 L19: - r75 = dank_mids.helpers._codec.globals :: static - r76 = 'Union' - r77 = CPyDict_GetItem(r75, r76) - if is_error(r77) goto L175 (error at :45) else goto L20 + r24 = PyBytes_Check(primitive) + if r24 goto L57 else goto L22 :: bool L20: - r78 = dank_mids.helpers._codec.globals :: static - r79 = 'ChecksumAddress' - r80 = CPyDict_GetItem(r78, r79) - if is_error(r80) goto L176 (error at :45) else goto L21 + r25 = cast(bytes, primitive) + if is_error(r25) goto L48 (error at to_bytes:117) else goto L21 L21: - r81 = dank_mids.helpers._codec.globals :: static - r82 = 'HexStr' - r83 = CPyDict_GetItem(r81, r82) - if is_error(r83) goto L177 (error at :45) else goto L22 + return r25 L22: - r84 = dank_mids.helpers._codec.globals :: static - r85 = 'Address' - r86 = CPyDict_GetItem(r84, r85) - if is_error(r86) goto L178 (error at :45) else goto L23 + r26 = PyLong_Check(primitive) + if r26 goto L58 else goto L59 :: bool L23: - r87 = (r80, r83, r86) - r88 = box(tuple[object, object, object], r87) - r89 = PyObject_GetItem(r77, r88) - dec_ref r77 - dec_ref r88 - if is_error(r89) goto L175 (error at :45) else goto L24 + r27 = unbox(int, primitive) + dec_ref primitive + if is_error(r27) goto L48 (error at to_bytes:119) else goto L24 L24: - r90 = dank_mids.helpers._codec.globals :: static - r91 = 'StrEncodable' - r92 = CPyDict_SetItem(r90, r91, r89) - dec_ref r89 - r93 = r92 >= 0 :: signed - if not r93 goto L175 (error at :45) else goto L25 :: bool + r28 = box(int, r27) + r29 = :: union[str, None] + r30 = :: union[str, None] + r31 = to_hex(r28, r29, r30) + dec_ref r28 + if is_error(r31) goto L48 (error at to_bytes:119) else goto L25 L25: - r94 = dank_mids.helpers._codec.globals :: static - r95 = 'Union' - r96 = CPyDict_GetItem(r94, r95) - if is_error(r96) goto L175 (error at :46) else goto L26 + r32 = :: union[object, None] + r33 = :: union[str, None] + r34 = to_bytes(r32, r31, r33) + dec_ref r31 + if is_error(r34) goto L48 (error at to_bytes:119) else goto L26 L26: - r97 = load_address PyLong_Type - r98 = dank_mids.helpers._codec.globals :: static - r99 = 'StrEncodable' - r100 = CPyDict_GetItem(r98, r99) - if is_error(r100) goto L179 (error at :46) else goto L27 + return r34 L27: - r101 = dank_mids.helpers._codec.globals :: static - r102 = 'hexbytes' - r103 = CPyDict_GetItem(r101, r102) - if is_error(r103) goto L180 (error at :46) else goto L28 + r35 = load_address _Py_NoneStruct + r36 = hexstr != r35 + if r36 goto L60 else goto L61 :: bool L28: - r104 = 'HexBytes' - r105 = CPyObject_GetAttr(r103, r104) - dec_ref r103 - if is_error(r105) goto L180 (error at :46) else goto L29 + inc_ref hexstr + r37 = cast(str, hexstr) + if is_error(r37) goto L62 (error at to_bytes:121) else goto L29 L29: - r106 = load_address PyBytes_Type - inc_ref r97 - inc_ref r106 - r107 = (r97, r100, r105, r106) - r108 = box(tuple[object, object, object, object], r107) - r109 = PyObject_GetItem(r96, r108) - dec_ref r96 - dec_ref r108 - if is_error(r109) goto L175 (error at :46) else goto L30 + r38 = CPyStr_Size_size_t(r37) + dec_ref r37 + r39 = r38 >= 0 :: signed + if not r39 goto L62 (error at to_bytes:121) else goto L30 :: bool L30: - r110 = dank_mids.helpers._codec.globals :: static - r111 = 'Encodable' - r112 = CPyDict_SetItem(r110, r111, r109) - dec_ref r109 - r113 = r112 >= 0 :: signed - if not r113 goto L175 (error at :46) else goto L31 :: bool + r40 = r38 << 1 + r41 = CPyTagged_Remainder(r40, 4) + if is_error(r41) goto L62 (error at to_bytes:121) else goto L31 L31: - r114 = dank_mids.helpers._codec.globals :: static - r115 = 'Union' - r116 = CPyDict_GetItem(r114, r115) - if is_error(r116) goto L175 (error at :48) else goto L32 + r42 = r41 != 0 + dec_ref r41 :: int + if r42 goto L32 else goto L36 :: bool L32: - r117 = dank_mids.helpers._codec.globals :: static - r118 = 'HexStr' - r119 = CPyDict_GetItem(r117, r118) - if is_error(r119) goto L181 (error at :48) else goto L33 + r43 = '0x0' + r44 = cast(str, hexstr) + if is_error(r44) goto L48 (error at to_bytes:121) else goto L33 L33: - r120 = dank_mids.helpers._codec.globals :: static - r121 = 'List' - r122 = CPyDict_GetItem(r120, r121) - if is_error(r122) goto L182 (error at :48) else goto L34 + r45 = remove_0x_prefix(r44) + dec_ref r44 + if is_error(r45) goto L48 (error at to_bytes:121) else goto L34 L34: - r123 = dank_mids.helpers._codec.globals :: static - r124 = 'HexStr' - r125 = CPyDict_GetItem(r123, r124) - if is_error(r125) goto L183 (error at :48) else goto L35 + r46 = CPyStr_Build(2, r43, r45) + dec_ref r45 + if is_error(r46) goto L48 (error at to_bytes:121) else goto L35 L35: - r126 = PyObject_GetItem(r122, r125) - dec_ref r122 - dec_ref r125 - if is_error(r126) goto L182 (error at :48) else goto L36 + r47 = r46 + goto L38 L36: - r127 = dank_mids.helpers._codec.globals :: static - r128 = 'Dict' - r129 = CPyDict_GetItem(r127, r128) - if is_error(r129) goto L184 (error at :48) else goto L37 + r48 = cast(str, hexstr) + if is_error(r48) goto L48 (error at to_bytes:121) else goto L37 L37: - r130 = load_address PyUnicode_Type - r131 = dank_mids.helpers._codec.globals :: static - r132 = 'HexStr' - r133 = CPyDict_GetItem(r131, r132) - if is_error(r133) goto L185 (error at :48) else goto L38 + r47 = r48 L38: - inc_ref r130 - r134 = (r130, r133) - r135 = box(tuple[object, object], r134) - r136 = PyObject_GetItem(r129, r135) - dec_ref r129 - dec_ref r135 - if is_error(r136) goto L184 (error at :48) else goto L39 + r49 = decode_hex(r47) + dec_ref r47 + if is_error(r49) goto L48 (error at to_bytes:121) else goto L39 L39: - r137 = (r119, r126, r136) - r138 = box(tuple[object, object, object], r137) - r139 = PyObject_GetItem(r116, r138) - dec_ref r116 - dec_ref r138 - if is_error(r139) goto L175 (error at :48) else goto L40 + return r49 L40: - r140 = dank_mids.helpers._codec.globals :: static - r141 = 'RpcThing' - r142 = CPyDict_SetItem(r140, r141, r139) - dec_ref r139 - r143 = r142 >= 0 :: signed - if not r143 goto L175 (error at :48) else goto L41 :: bool + r50 = load_address _Py_NoneStruct + r51 = text != r50 + if r51 goto L41 else goto L63 :: bool L41: - r144 = dank_mids.helpers._codec.globals :: static - r145 = 'Union' - r146 = CPyDict_GetItem(r144, r145) - if is_error(r146) goto L175 (error at :51) else goto L42 + r52 = cast(str, text) + if is_error(r52) goto L48 (error at to_bytes:123) else goto L42 L42: - r147 = dank_mids.helpers._codec.globals :: static - r148 = 'Tuple' - r149 = CPyDict_GetItem(r147, r148) - if is_error(r149) goto L186 (error at :52) else goto L43 + r53 = PyUnicode_AsUTF8String(r52) + dec_ref r52 + if is_error(r53) goto L48 (error at to_bytes:123) else goto L43 L43: - r150 = dank_mids.helpers._codec.globals :: static - r151 = 'ChecksumAddress' - r152 = CPyDict_GetItem(r150, r151) - if is_error(r152) goto L187 (error at :52) else goto L44 + return r53 L44: - r153 = dank_mids.helpers._codec.globals :: static - r154 = 'hexbytes' - r155 = CPyDict_GetItem(r153, r154) - if is_error(r155) goto L188 (error at :52) else goto L45 + r54 = 'expected a bool, int, byte or bytearray in first arg, or keyword of hexstr or text' + r55 = builtins :: module + r56 = 'TypeError' + r57 = CPyObject_GetAttr(r55, r56) + if is_error(r57) goto L48 (error at to_bytes:124) else goto L45 L45: - r156 = 'HexBytes' - r157 = CPyObject_GetAttr(r155, r156) - dec_ref r155 - if is_error(r157) goto L188 (error at :52) else goto L46 + r58 = [r54] + r59 = load_address r58 + r60 = PyObject_Vectorcall(r57, r59, 1, 0) + dec_ref r57 + if is_error(r60) goto L48 (error at to_bytes:124) else goto L46 L46: - r158 = (r152, r157) - r159 = box(tuple[object, object], r158) - r160 = PyObject_GetItem(r149, r159) - dec_ref r149 - dec_ref r159 - if is_error(r160) goto L186 (error at :52) else goto L47 + CPy_Raise(r60) + dec_ref r60 + if not 0 goto L48 (error at to_bytes:124) else goto L47 :: bool L47: - r161 = dank_mids.helpers._codec.globals :: static - r162 = 'List' - r163 = CPyDict_GetItem(r161, r162) - if is_error(r163) goto L189 (error at :53) else goto L48 + unreachable L48: - r164 = dank_mids.helpers._codec.globals :: static - r165 = 'Union' - r166 = CPyDict_GetItem(r164, r165) - if is_error(r166) goto L190 (error at :53) else goto L49 + r61 = :: bytes + return r61 L49: - r167 = dank_mids.helpers._codec.globals :: static - r168 = 'ChecksumAddress' - r169 = CPyDict_GetItem(r167, r168) - if is_error(r169) goto L191 (error at :53) else goto L50 + inc_ref primitive + goto L2 L50: - r170 = dank_mids.helpers._codec.globals :: static - r171 = 'hexbytes' - r172 = CPyDict_GetItem(r170, r171) - if is_error(r172) goto L192 (error at :53) else goto L51 + inc_ref hexstr + goto L4 L51: - r173 = 'HexBytes' - r174 = CPyObject_GetAttr(r172, r173) - dec_ref r172 - if is_error(r174) goto L192 (error at :53) else goto L52 + inc_ref text + goto L6 L52: - r175 = (r169, r174) - r176 = box(tuple[object, object], r175) - r177 = PyObject_GetItem(r166, r176) - dec_ref r166 - dec_ref r176 - if is_error(r177) goto L190 (error at :53) else goto L53 + dec_ref hexstr + dec_ref text + goto L7 L53: - r178 = PyObject_GetItem(r163, r177) - dec_ref r163 - dec_ref r177 - if is_error(r178) goto L189 (error at :53) else goto L54 + dec_ref primitive + dec_ref hexstr + dec_ref text + goto L48 L54: - r179 = (r160, r178) - r180 = box(tuple[object, object], r179) - r181 = PyObject_GetItem(r146, r180) - dec_ref r146 - dec_ref r180 - if is_error(r181) goto L175 (error at :51) else goto L55 + dec_ref primitive + dec_ref hexstr + dec_ref text + dec_ref r10 + goto L48 L55: - r182 = dank_mids.helpers._codec.globals :: static - r183 = 'MulticallChunk' - r184 = CPyDict_SetItem(r182, r183, r181) - dec_ref r181 - r185 = r184 >= 0 :: signed - if not r185 goto L175 (error at :51) else goto L56 :: bool + dec_ref hexstr + dec_ref text + goto L16 L56: - r186 = dank_mids.helpers._codec.globals :: static - r187 = 'Callable' - r188 = CPyDict_GetItem(r186, r187) - if is_error(r188) goto L175 (error at :55) else goto L57 + dec_ref primitive + goto L48 L57: - r189 = dank_mids.helpers._codec.globals :: static - r190 = 'Tuple' - r191 = CPyDict_GetItem(r189, r190) - if is_error(r191) goto L193 (error at :55) else goto L58 + dec_ref hexstr + dec_ref text + goto L20 L58: - r192 = load_address PyBool_Type - r193 = dank_mids.helpers._codec.globals :: static - r194 = 'Iterable' - r195 = CPyDict_GetItem(r193, r194) - if is_error(r195) goto L194 (error at :55) else goto L59 + dec_ref hexstr + dec_ref text + goto L23 L59: - r196 = dank_mids.helpers._codec.globals :: static - r197 = 'MulticallChunk' - r198 = CPyDict_GetItem(r196, r197) - if is_error(r198) goto L195 (error at :55) else goto L60 + dec_ref primitive + goto L27 L60: - r199 = PyObject_GetItem(r195, r198) - dec_ref r195 - dec_ref r198 - if is_error(r199) goto L194 (error at :55) else goto L61 + dec_ref text + goto L28 L61: - inc_ref r192 - r200 = (r192, r199) - r201 = box(tuple[object, object], r200) - r202 = PyObject_GetItem(r191, r201) - dec_ref r191 - dec_ref r201 - if is_error(r202) goto L193 (error at :55) else goto L62 + dec_ref hexstr + goto L40 L62: - r203 = PyList_New(1) - if is_error(r203) goto L196 (error at :55) else goto L63 + dec_ref hexstr + goto L48 L63: - r204 = get_element_ptr r203 ob_item :: PyListObject - r205 = load_mem r204 :: ptr* - set_mem r205, r202 :: builtins.object* - r206 = load_address PyBytes_Type - inc_ref r206 - r207 = (r203, r206) - r208 = box(tuple[list, object], r207) - r209 = PyObject_GetItem(r188, r208) - dec_ref r188 - dec_ref r208 - if is_error(r209) goto L175 (error at :55) else goto L64 -L64: - r210 = dank_mids.helpers._codec.globals :: static - r211 = 'MulticallEncoder' - r212 = CPyDict_SetItem(r210, r211, r209) - dec_ref r209 - r213 = r212 >= 0 :: signed - if not r213 goto L175 (error at :55) else goto L65 :: bool -L65: - r214 = dank_mids.helpers._codec.globals :: static - r215 = 'Tuple' - r216 = CPyDict_GetItem(r214, r215) - if is_error(r216) goto L175 (error at :57) else goto L66 -L66: - r217 = load_address PyLong_Type - r218 = load_address PyLong_Type - r219 = dank_mids.helpers._codec.globals :: static - r220 = 'Tuple' - r221 = CPyDict_GetItem(r219, r220) - if is_error(r221) goto L197 (error at :57) else goto L67 -L67: - r222 = dank_mids.helpers._codec.globals :: static - r223 = 'Tuple' - r224 = CPyDict_GetItem(r222, r223) - if is_error(r224) goto L198 (error at :57) else goto L68 -L68: - r225 = 'Success' - r226 = load_address PyBytes_Type - inc_ref r225 - inc_ref r226 - r227 = (r225, r226) - r228 = box(tuple[str, object], r227) - r229 = PyObject_GetItem(r224, r228) - dec_ref r224 - dec_ref r228 - if is_error(r229) goto L198 (error at :57) else goto L69 -L69: - r230 = load_address _Py_EllipsisObject - inc_ref r230 - r231 = (r229, r230) - r232 = box(tuple[object, object], r231) - r233 = PyObject_GetItem(r221, r232) - dec_ref r221 - dec_ref r232 - if is_error(r233) goto L197 (error at :57) else goto L70 -L70: - inc_ref r217 - inc_ref r218 - r234 = (r217, r218, r233) - r235 = box(tuple[object, object, object], r234) - r236 = PyObject_GetItem(r216, r235) - dec_ref r216 - dec_ref r235 - if is_error(r236) goto L175 (error at :57) else goto L71 -L71: - r237 = dank_mids.helpers._codec.globals :: static - r238 = 'DecodedMulticall' - r239 = CPyDict_SetItem(r237, r238, r236) - dec_ref r236 - r240 = r239 >= 0 :: signed - if not r240 goto L175 (error at :57) else goto L72 :: bool -L72: - r241 = dank_mids.helpers._codec.globals :: static - r242 = 'Callable' - r243 = CPyDict_GetItem(r241, r242) - if is_error(r243) goto L175 (error at :58) else goto L73 -L73: - r244 = load_address _Py_EllipsisObject - r245 = dank_mids.helpers._codec.globals :: static - r246 = 'DecodedMulticall' - r247 = CPyDict_GetItem(r245, r246) - if is_error(r247) goto L199 (error at :58) else goto L74 -L74: - inc_ref r244 - r248 = (r244, r247) - r249 = box(tuple[object, object], r248) - r250 = PyObject_GetItem(r243, r249) - dec_ref r243 - dec_ref r249 - if is_error(r250) goto L175 (error at :58) else goto L75 -L75: - r251 = dank_mids.helpers._codec.globals :: static - r252 = 'MulticallDecoder' - r253 = CPyDict_SetItem(r251, r252, r250) - dec_ref r250 - r254 = r253 >= 0 :: signed - if not r254 goto L175 (error at :58) else goto L76 :: bool -L76: - r255 = dank_mids.helpers._codec.globals :: static - r256 = 'List' - r257 = CPyDict_GetItem(r255, r256) - if is_error(r257) goto L175 (error at :61) else goto L77 -L77: - r258 = 'types.Request' - r259 = PyObject_GetItem(r257, r258) - dec_ref r257 - if is_error(r259) goto L175 (error at :61) else goto L78 -L78: - r260 = dank_mids.helpers._codec.globals :: static - r261 = 'JSONRPCBatchRequest' - r262 = CPyDict_SetItem(r260, r261, r259) - dec_ref r259 - r263 = r262 >= 0 :: signed - if not r263 goto L175 (error at :61) else goto L79 :: bool -L79: - r264 = dank_mids.helpers._codec.globals :: static - r265 = 'Union' - r266 = CPyDict_GetItem(r264, r265) - if is_error(r266) goto L175 (error at :63) else goto L80 -L80: - r267 = dank_mids.helpers._codec.globals :: static - r268 = 'List' - r269 = CPyDict_GetItem(r267, r268) - if is_error(r269) goto L200 (error at :63) else goto L81 -L81: - r270 = 'RawResponse' - r271 = PyObject_GetItem(r269, r270) - dec_ref r269 - if is_error(r271) goto L200 (error at :63) else goto L82 -L82: - r272 = 'types.PartialResponse' - inc_ref r272 - r273 = (r271, r272) - r274 = box(tuple[object, str], r273) - r275 = PyObject_GetItem(r266, r274) - dec_ref r266 - dec_ref r274 - if is_error(r275) goto L175 (error at :63) else goto L83 -L83: - r276 = dank_mids.helpers._codec.globals :: static - r277 = 'JSONRPCBatchResponse' - r278 = CPyDict_SetItem(r276, r277, r275) - dec_ref r275 - r279 = r278 >= 0 :: signed - if not r279 goto L175 (error at :63) else goto L84 :: bool -L84: - r280 = dank_mids.helpers._codec.globals :: static - r281 = 'Callable' - r282 = CPyDict_GetItem(r280, r281) - if is_error(r282) goto L175 (error at :64) else goto L85 -L85: - r283 = dank_mids.helpers._codec.globals :: static - r284 = 'Union' - r285 = CPyDict_GetItem(r283, r284) - if is_error(r285) goto L201 (error at :64) else goto L86 -L86: - r286 = load_address PyUnicode_Type - r287 = load_address PyBytes_Type - inc_ref r286 - inc_ref r287 - r288 = (r286, r287) - r289 = box(tuple[object, object], r288) - r290 = PyObject_GetItem(r285, r289) - dec_ref r285 - dec_ref r289 - if is_error(r290) goto L201 (error at :64) else goto L87 -L87: - r291 = PyList_New(1) - if is_error(r291) goto L202 (error at :64) else goto L88 -L88: - r292 = get_element_ptr r291 ob_item :: PyListObject - r293 = load_mem r292 :: ptr* - set_mem r293, r290 :: builtins.object* - r294 = dank_mids.helpers._codec.globals :: static - r295 = 'Union' - r296 = CPyDict_GetItem(r294, r295) - if is_error(r296) goto L203 (error at :64) else goto L89 -L89: - r297 = dank_mids.helpers._codec.globals :: static - r298 = 'List' - r299 = CPyDict_GetItem(r297, r298) - if is_error(r299) goto L204 (error at :64) else goto L90 -L90: - r300 = dank_mids.helpers._codec.globals :: static - r301 = 'msgspec' - r302 = CPyDict_GetItem(r300, r301) - if is_error(r302) goto L205 (error at :64) else goto L91 -L91: - r303 = 'Raw' - r304 = CPyObject_GetAttr(r302, r303) - dec_ref r302 - if is_error(r304) goto L205 (error at :64) else goto L92 -L92: - r305 = PyObject_GetItem(r299, r304) - dec_ref r299 - dec_ref r304 - if is_error(r305) goto L204 (error at :64) else goto L93 -L93: - r306 = 'types.PartialResponse' - inc_ref r306 - r307 = (r305, r306) - r308 = box(tuple[object, str], r307) - r309 = PyObject_GetItem(r296, r308) - dec_ref r296 - dec_ref r308 - if is_error(r309) goto L203 (error at :64) else goto L94 -L94: - r310 = (r291, r309) - r311 = box(tuple[list, object], r310) - r312 = PyObject_GetItem(r282, r311) - dec_ref r282 - dec_ref r311 - if is_error(r312) goto L175 (error at :64) else goto L95 -L95: - r313 = dank_mids.helpers._codec.globals :: static - r314 = 'BatchDecoder' - r315 = CPyDict_SetItem(r313, r314, r312) - dec_ref r312 - r316 = r315 >= 0 :: signed - if not r316 goto L175 (error at :64) else goto L96 :: bool -L96: - r317 = dank_mids.helpers._codec.globals :: static - r318 = 'hexbytes' - r319 = CPyDict_GetItem(r317, r318) - if is_error(r319) goto L175 (error at :67) else goto L97 -L97: - r320 = 'HexBytes' - r321 = CPyObject_GetAttr(r319, r320) - dec_ref r319 - if is_error(r321) goto L175 (error at :67) else goto L98 -L98: - dank_mids.helpers._codec.HexBytes = r321 :: static - r322 = dank_mids.helpers._codec.globals :: static - r323 = 'HexBytes' - r324 = CPyDict_SetItem(r322, r323, r321) - dec_ref r321 - r325 = r324 >= 0 :: signed - if not r325 goto L175 (error at :67) else goto L99 :: bool -L99: - r326 = dank_mids.helpers._codec.globals :: static - r327 = 'msgspec' - r328 = CPyDict_GetItem(r326, r327) - if is_error(r328) goto L175 (error at :68) else goto L100 -L100: - r329 = 'Raw' - r330 = CPyObject_GetAttr(r328, r329) - dec_ref r328 - if is_error(r330) goto L175 (error at :68) else goto L101 -L101: - dank_mids.helpers._codec.Raw = r330 :: static - r331 = dank_mids.helpers._codec.globals :: static - r332 = 'Raw' - r333 = CPyDict_SetItem(r331, r332, r330) - dec_ref r330 - r334 = r333 >= 0 :: signed - if not r334 goto L175 (error at :68) else goto L102 :: bool -L102: - r335 = dank_mids.helpers._codec.globals :: static - r336 = 'decoding' - r337 = CPyDict_GetItem(r335, r336) - if is_error(r337) goto L175 (error at :69) else goto L103 -L103: - r338 = 'ContextFramesBytesIO' - r339 = CPyObject_GetAttr(r337, r338) - dec_ref r337 - if is_error(r339) goto L175 (error at :69) else goto L104 -L104: - dank_mids.helpers._codec.ContextFramesBytesIO = r339 :: static - r340 = dank_mids.helpers._codec.globals :: static - r341 = 'ContextFramesBytesIO' - r342 = CPyDict_SetItem(r340, r341, r339) - dec_ref r339 - r343 = r342 >= 0 :: signed - if not r343 goto L175 (error at :69) else goto L105 :: bool -L105: - r344 = dank_mids.helpers._codec.globals :: static - r345 = 'msgspec' - r346 = CPyDict_GetItem(r344, r345) - if is_error(r346) goto L175 (error at :70) else goto L106 -L106: - r347 = 'DecodeError' - r348 = CPyObject_GetAttr(r346, r347) - dec_ref r346 - if is_error(r348) goto L175 (error at :70) else goto L107 -L107: - dank_mids.helpers._codec.DecodeError = r348 :: static - r349 = dank_mids.helpers._codec.globals :: static - r350 = 'DecodeError' - r351 = CPyDict_SetItem(r349, r350, r348) - dec_ref r348 - r352 = r351 >= 0 :: signed - if not r352 goto L175 (error at :70) else goto L108 :: bool -L108: - r353 = load_address PyUnicode_Type - r354 = dank_mids.helpers._codec.globals :: static - r355 = 'Decoder' - r356 = CPyDict_GetItem(r354, r355) - if is_error(r356) goto L175 (error at :72) else goto L109 -L109: - r357 = [r353] - r358 = load_address r357 - r359 = ('type',) - r360 = PyObject_Vectorcall(r356, r358, 0, r359) - dec_ref r356 - if is_error(r360) goto L175 (error at :72) else goto L110 -L110: - r361 = 'decode' - r362 = CPyObject_GetAttr(r360, r361) - dec_ref r360 - if is_error(r362) goto L175 (error at :72) else goto L111 -L111: - dank_mids.helpers._codec.decode_string = r362 :: static - r363 = dank_mids.helpers._codec.globals :: static - r364 = 'decode_string' - r365 = CPyDict_SetItem(r363, r364, r362) - dec_ref r362 - r366 = r365 >= 0 :: signed - if not r366 goto L175 (error at :72) else goto L112 :: bool -L112: - r367 = dank_mids.helpers._codec.Raw :: static - if is_error(r367) goto L113 else goto L115 -L113: - r368 = raise NameError('value for final name "Raw" was not set') - if not r368 goto L175 (error at :73) else goto L114 :: bool -L114: + dec_ref text + goto L44 + +def decode_hex(value): + value :: str + r0 :: bit + r1 :: str + r2 :: object + r3 :: str + r4 :: object + r5 :: object[1] + r6 :: object_ptr + r7 :: object + r8 :: str + r9 :: bytes + r10 :: object + r11 :: bool + r12 :: object[1] + r13 :: object_ptr + r14 :: object + r15, r16 :: bytes +L0: + r0 = PyUnicode_Check(value) + if r0 goto L5 else goto L1 :: bool +L1: + r1 = 'Value must be an instance of str' + r2 = builtins :: module + r3 = 'TypeError' + r4 = CPyObject_GetAttr(r2, r3) + if is_error(r4) goto L13 (error at decode_hex:131) else goto L2 +L2: + r5 = [r1] + r6 = load_address r5 + r7 = PyObject_Vectorcall(r4, r6, 1, 0) + dec_ref r4 + if is_error(r7) goto L13 (error at decode_hex:131) else goto L3 +L3: + CPy_Raise(r7) + dec_ref r7 + if not 0 goto L13 (error at decode_hex:131) else goto L4 :: bool +L4: + unreachable +L5: + r8 = remove_0x_prefix(value) + if is_error(r8) goto L13 (error at decode_hex:132) else goto L6 +L6: + r9 = PyUnicode_AsASCIIString(r8) + dec_ref r8 + if is_error(r9) goto L13 (error at decode_hex:134) else goto L7 +L7: + r10 = dank_mids._eth_utils.unhexlify :: static + if is_error(r10) goto L14 else goto L10 +L8: + r11 = raise NameError('value for final name "unhexlify" was not set') + if not r11 goto L13 (error at decode_hex:135) else goto L9 :: bool +L9: + unreachable +L10: + r12 = [r9] + r13 = load_address r12 + r14 = PyObject_Vectorcall(r10, r13, 1, 0) + if is_error(r14) goto L15 (error at decode_hex:135) else goto L11 +L11: + dec_ref r9 + r15 = cast(bytes, r14) + if is_error(r15) goto L13 (error at decode_hex:135) else goto L12 +L12: + return r15 +L13: + r16 = :: bytes + return r16 +L14: + dec_ref r9 + goto L8 +L15: + dec_ref r9 + goto L13 + +def encode_hex(value): + value :: object + r0 :: bit + r1 :: bytes + ascii_bytes :: object + r2 :: bit + r3 :: str + r4 :: bytes + r5 :: bit + r6 :: object + r7 :: object[1] + r8 :: object_ptr + r9 :: object + r10 :: str + r11 :: object + r12 :: str + r13 :: object + r14 :: object[1] + r15 :: object_ptr + r16, r17 :: object + r18 :: bool + r19 :: object[1] + r20 :: object_ptr + r21 :: object + r22 :: bytes + r23, r24, r25 :: str +L0: + r0 = PyBytes_Check(value) + if r0 goto L1 else goto L3 :: bool +L1: + inc_ref value + r1 = cast(bytes, value) + if is_error(r1) goto L22 (error at encode_hex:141) else goto L2 +L2: + ascii_bytes = r1 + goto L14 +L3: + r2 = PyUnicode_Check(value) + if r2 goto L4 else goto L7 :: bool +L4: + inc_ref value + r3 = cast(str, value) + if is_error(r3) goto L22 (error at encode_hex:143) else goto L5 +L5: + r4 = PyUnicode_AsASCIIString(r3) + dec_ref r3 + if is_error(r4) goto L22 (error at encode_hex:143) else goto L6 +L6: + ascii_bytes = r4 + goto L14 +L7: + r5 = PyByteArray_Check(value) + if r5 goto L8 else goto L10 :: bool +L8: + r6 = load_address PyBytes_Type + r7 = [value] + r8 = load_address r7 + r9 = PyObject_Vectorcall(r6, r8, 1, 0) + if is_error(r9) goto L22 (error at encode_hex:145) else goto L9 +L9: + ascii_bytes = r9 + goto L14 +L10: + r10 = 'Value must be an instance of str or unicode' + r11 = builtins :: module + r12 = 'TypeError' + r13 = CPyObject_GetAttr(r11, r12) + if is_error(r13) goto L22 (error at encode_hex:147) else goto L11 +L11: + r14 = [r10] + r15 = load_address r14 + r16 = PyObject_Vectorcall(r13, r15, 1, 0) + dec_ref r13 + if is_error(r16) goto L22 (error at encode_hex:147) else goto L12 +L12: + CPy_Raise(r16) + dec_ref r16 + if not 0 goto L22 (error at encode_hex:147) else goto L13 :: bool +L13: + unreachable +L14: + r17 = dank_mids._eth_utils.hexlify :: static + if is_error(r17) goto L23 else goto L17 +L15: + r18 = raise NameError('value for final name "hexlify" was not set') + if not r18 goto L22 (error at encode_hex:148) else goto L16 :: bool +L16: + unreachable +L17: + r19 = [ascii_bytes] + r20 = load_address r19 + r21 = PyObject_Vectorcall(r17, r20, 1, 0) + if is_error(r21) goto L24 (error at encode_hex:148) else goto L18 +L18: + dec_ref ascii_bytes + r22 = cast(bytes, r21) + if is_error(r22) goto L22 (error at encode_hex:148) else goto L19 +L19: + r23 = CPy_DecodeASCII(r22) + dec_ref r22 + if is_error(r23) goto L22 (error at encode_hex:148) else goto L20 +L20: + r24 = add_0x_prefix(r23) + dec_ref r23 + if is_error(r24) goto L22 (error at encode_hex:149) else goto L21 +L21: + return r24 +L22: + r25 = :: str + return r25 +L23: + dec_ref ascii_bytes + goto L15 +L24: + dec_ref ascii_bytes + goto L22 + +def is_0x_prefixed(value): + value :: str + r0 :: bit + r1, r2, r3, r4, r5, r6 :: str + r7 :: object[3] + r8 :: object_ptr + r9 :: object + r10 :: list + r11, r12, r13 :: ptr + r14 :: str + r15 :: object + r16 :: str + r17 :: object + r18 :: object[1] + r19 :: object_ptr + r20 :: object + r21, r22 :: str + r23 :: tuple[str, str] + r24 :: object + r25, r26 :: bool +L0: + r0 = PyUnicode_Check(value) + if r0 goto L9 else goto L1 :: bool +L1: + r1 = '' + r2 = 'is_0x_prefixed requires text typed arguments. Got: ' + r3 = '{:{}}' + r4 = PyObject_Repr(value) + if is_error(r4) goto L11 (error at is_0x_prefixed:154) else goto L2 +L2: + r5 = '' + r6 = 'format' + r7 = [r3, r4, r5] + r8 = load_address r7 + r9 = PyObject_VectorcallMethod(r6, r8, 9223372036854775811, 0) + if is_error(r9) goto L12 (error at is_0x_prefixed:154) else goto L3 +L3: + dec_ref r4 + r10 = PyList_New(2) + if is_error(r10) goto L13 (error at is_0x_prefixed:154) else goto L4 +L4: + r11 = get_element_ptr r10 ob_item :: PyListObject + r12 = load_mem r11 :: ptr* + inc_ref r2 + set_mem r12, r2 :: builtins.object* + r13 = r12 + 8 + set_mem r13, r9 :: builtins.object* + r14 = PyUnicode_Join(r1, r10) + dec_ref r10 + if is_error(r14) goto L11 (error at is_0x_prefixed:154) else goto L5 +L5: + r15 = builtins :: module + r16 = 'TypeError' + r17 = CPyObject_GetAttr(r15, r16) + if is_error(r17) goto L14 (error at is_0x_prefixed:154) else goto L6 +L6: + r18 = [r14] + r19 = load_address r18 + r20 = PyObject_Vectorcall(r17, r19, 1, 0) + dec_ref r17 + if is_error(r20) goto L14 (error at is_0x_prefixed:154) else goto L7 +L7: + dec_ref r14 + CPy_Raise(r20) + dec_ref r20 + if not 0 goto L11 (error at is_0x_prefixed:154) else goto L8 :: bool +L8: unreachable -L115: - r369 = dank_mids.helpers._codec.globals :: static - r370 = 'Decoder' - r371 = CPyDict_GetItem(r369, r370) - if is_error(r371) goto L175 (error at :73) else goto L116 -L116: - r372 = [r367] - r373 = load_address r372 - r374 = ('type',) - r375 = PyObject_Vectorcall(r371, r373, 0, r374) - dec_ref r371 - if is_error(r375) goto L175 (error at :73) else goto L117 -L117: - r376 = 'decode' - r377 = CPyObject_GetAttr(r375, r376) - dec_ref r375 - if is_error(r377) goto L175 (error at :73) else goto L118 -L118: - dank_mids.helpers._codec._decode_raw = r377 :: static - r378 = dank_mids.helpers._codec.globals :: static - r379 = '_decode_raw' - r380 = CPyDict_SetItem(r378, r379, r377) - dec_ref r377 - r381 = r380 >= 0 :: signed - if not r381 goto L175 (error at :73) else goto L119 :: bool -L119: - r382 = dank_mids.helpers._codec.globals :: static - r383 = '_decode_batch' - r384 = box(None, 1) - r385 = CPyDict_SetItem(r382, r383, r384) - r386 = r385 >= 0 :: signed - if not r386 goto L175 (error at :75) else goto L120 :: bool -L120: - r387 = :: object - r388 = 'dank_mids.helpers._codec' - r389 = dank_mids.helpers._codec.RawResponse_template :: type - r390 = CPyType_FromTemplate(r389, r387, r388) - if is_error(r390) goto L175 (error at :79) else goto L121 -L121: - r391 = RawResponse_trait_vtable_setup() - if is_error(r391) goto L206 (error at :-1) else goto L122 -L122: - r392 = '__mypyc_attrs__' - r393 = '_raw' - r394 = PyTuple_Pack(1, r393) - if is_error(r394) goto L206 (error at :79) else goto L123 -L123: - r395 = PyObject_SetAttr(r390, r392, r394) - dec_ref r394 - r396 = r395 >= 0 :: signed - if not r396 goto L206 (error at :79) else goto L124 :: bool -L124: - dank_mids.helpers._codec.RawResponse = r390 :: type - r397 = dank_mids.helpers._codec.globals :: static - r398 = 'RawResponse' - r399 = PyDict_SetItem(r397, r398, r390) - dec_ref r390 - r400 = r399 >= 0 :: signed - if not r400 goto L175 (error at :79) else goto L125 :: bool -L125: - r401 = dank_mids.helpers._codec.globals :: static - r402 = '_encode_hook' - r403 = CPyDict_GetItem(r401, r402) - if is_error(r403) goto L175 (error at :180) else goto L126 -L126: - r404 = dank_mids.helpers._codec.globals :: static - r405 = 'Encoder' - r406 = CPyDict_GetItem(r404, r405) - if is_error(r406) goto L207 (error at :180) else goto L127 -L127: - r407 = [r403] - r408 = load_address r407 - r409 = ('enc_hook',) - r410 = PyObject_Vectorcall(r406, r408, 0, r409) - dec_ref r406 - if is_error(r410) goto L207 (error at :180) else goto L128 -L128: - dec_ref r403 - r411 = 'encode' - r412 = CPyObject_GetAttr(r410, r411) - dec_ref r410 - if is_error(r412) goto L175 (error at :180) else goto L129 -L129: - dank_mids.helpers._codec.encode = r412 :: static - r413 = dank_mids.helpers._codec.globals :: static - r414 = 'encode' - r415 = CPyDict_SetItem(r413, r414, r412) - dec_ref r412 - r416 = r415 >= 0 :: signed - if not r416 goto L175 (error at :180) else goto L130 :: bool -L130: - r417 = dank_mids.helpers._codec.globals :: static - r418 = 'default_codec' - r419 = CPyDict_GetItem(r417, r418) - if is_error(r419) goto L175 (error at :199) else goto L131 -L131: - r420 = '_registry' - r421 = CPyObject_GetAttr(r419, r420) - dec_ref r419 - if is_error(r421) goto L175 (error at :199) else goto L132 -L132: - r422 = '(bool,(address,bytes)[])' - r423 = 'get_encoder' - r424 = [r421, r422] - r425 = load_address r424 - r426 = PyObject_VectorcallMethod(r423, r425, 9223372036854775810, 0) - if is_error(r426) goto L208 (error at :199) else goto L133 -L133: - dec_ref r421 - dank_mids.helpers._codec._mcall_encoder = r426 :: static - r427 = dank_mids.helpers._codec.globals :: static - r428 = '_mcall_encoder' - r429 = CPyDict_SetItem(r427, r428, r426) - dec_ref r426 - r430 = r429 >= 0 :: signed - if not r430 goto L175 (error at :199) else goto L134 :: bool -L134: - r431 = dank_mids.helpers._codec._mcall_encoder :: static - if is_error(r431) goto L135 else goto L137 -L135: - r432 = raise NameError('value for final name "_mcall_encoder" was not set') - if not r432 goto L175 (error at :202) else goto L136 :: bool -L136: +L9: + r21 = '0x' + r22 = '0X' + inc_ref r21 + inc_ref r22 + r23 = (r21, r22) + r24 = box(tuple[str, str], r23) + r25 = CPyStr_Startswith(value, r24) + dec_ref r24 + if is_error(r25) goto L11 (error at is_0x_prefixed:155) else goto L10 +L10: + return r25 +L11: + r26 = :: bool + return r26 +L12: + dec_ref r4 + goto L11 +L13: + dec_ref r9 + goto L11 +L14: + dec_ref r14 + goto L11 + +def remove_0x_prefix(value): + value :: str + r0 :: bool + r1 :: object + r2, r3 :: str +L0: + r0 = is_0x_prefixed(value) + if is_error(r0) goto L6 (error at remove_0x_prefix:160) else goto L1 +L1: + if r0 goto L2 else goto L5 :: bool +L2: + r1 = CPyStr_GetSlice(value, 4, 9223372036854775806) + if is_error(r1) goto L6 (error at remove_0x_prefix:161) else goto L3 +L3: + r2 = cast(str, r1) + if is_error(r2) goto L6 (error at remove_0x_prefix:161) else goto L4 +L4: + return r2 +L5: + inc_ref value + return value +L6: + r3 = :: str + return r3 + +def add_0x_prefix(value): + value :: str + r0 :: bool + r1, r2, r3 :: str +L0: + r0 = is_0x_prefixed(value) + if is_error(r0) goto L5 (error at add_0x_prefix:167) else goto L1 +L1: + if r0 goto L2 else goto L3 :: bool +L2: + inc_ref value + return value +L3: + r1 = '0x' + r2 = CPyStr_Build(2, r1, value) + if is_error(r2) goto L5 (error at add_0x_prefix:169) else goto L4 +L4: + return r2 +L5: + r3 = :: str + return r3 + +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 coroutine_DankOverloadedMethod_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg, stop_iter_ptr): + __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen + type, value, traceback, arg :: object + stop_iter_ptr :: object_ptr + r0, r1 :: object + r2 :: i32 + r3 :: object + r4 :: bit + r5 :: dank_mids.brownie_patch.types.DankOverloadedMethod + r6 :: tuple + r7 :: str + r8 :: object[2] + r9 :: object_ptr + r10 :: object + r11 :: union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx] + r12 :: bool + r13 :: union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx] + r14 :: tuple + r15, r16 :: union[int, None] + r17 :: union[dict, None] + r18 :: str + r19 :: object + r20 :: list + r21 :: object + r22, r23, r24 :: str + r25 :: tuple + r26 :: dict + r27, r28 :: object + r29 :: bool + r30, r31, r32, r33, r34 :: object + r35 :: bool + r36 :: object + r37 :: bool + r38 :: object + r39 :: bit + r40 :: tuple[object, object, object] + r41 :: bool + r42 :: object_ptr + r43 :: object + r44 :: bool + r45, r46, r47 :: tuple[object, object, object] + r48 :: bit + r49, r50, r51 :: object + r52 :: bool + r53, r54 :: bit + r55 :: bool + r56 :: object +L0: + r0 = :: object + r1 = r0 + r2 = __mypyc_self__.__mypyc_next_label__ + goto L53 +L1: + r3 = load_address _Py_NoneStruct + r4 = type != r3 + if r4 goto L2 else goto L4 :: bool +L2: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L57 (error at coroutine:57) else goto L3 :: bool +L3: + unreachable +L4: + r5 = __mypyc_self__.__mypyc_generator_attribute__self + if is_error(r5) goto L57 (error at coroutine:75) else goto L5 +L5: + r6 = __mypyc_self__.__mypyc_generator_attribute__args + if is_error(r6) goto L58 (error at coroutine:75) else goto L6 +L6: + r7 = '_get_fn_from_args' + r8 = [r5, r6] + r9 = load_address r8 + r10 = PyObject_VectorcallMethod(r7, r9, 9223372036854775810, 0) + if is_error(r10) goto L59 (error at coroutine:75) else goto L7 +L7: + dec_ref r5 + dec_ref r6 + r11 = cast(union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx], r10) + if is_error(r11) goto L57 (error at coroutine:75) else goto L8 +L8: + __mypyc_self__.__mypyc_generator_attribute__call = r11; r12 = is_error + if not r12 goto L57 (error at coroutine:75) else goto L9 :: bool +L9: + r13 = __mypyc_self__.__mypyc_generator_attribute__call + if is_error(r13) goto L57 (error at coroutine:76) else goto L10 +L10: + r14 = __mypyc_self__.__mypyc_generator_attribute__args + if is_error(r14) goto L60 (error at coroutine:77) else goto L11 +L11: + r15 = __mypyc_self__.__mypyc_generator_attribute__block_identifier + if is_error(r15) goto L61 (error at coroutine:77) else goto L12 +L12: + r16 = __mypyc_self__.__mypyc_generator_attribute__decimals + if is_error(r16) goto L62 (error at coroutine:77) else goto L13 +L13: + r17 = __mypyc_self__.__mypyc_generator_attribute__override + if is_error(r17) goto L63 (error at coroutine:77) else goto L14 +L14: + r18 = 'coroutine' + r19 = CPyObject_GetAttr(r13, r18) + dec_ref r13 + if is_error(r19) goto L64 (error at coroutine:76) else goto L15 +L15: + r20 = PyList_New(0) + if is_error(r20) goto L65 (error at coroutine:76) else goto L16 +L16: + r21 = CPyList_Extend(r20, r14) + dec_ref r14 + if is_error(r21) goto L66 (error at coroutine:76) else goto L67 +L17: + r22 = 'block_identifier' + r23 = 'decimals' + r24 = 'override' + r25 = PyList_AsTuple(r20) + dec_ref r20 + if is_error(r25) goto L68 (error at coroutine:76) else goto L18 +L18: + r26 = CPyDict_Build(3, r22, r15, r23, r16, r24, r17) + dec_ref r15 + dec_ref r16 + dec_ref r17 + if is_error(r26) goto L69 (error at coroutine:76) else goto L19 +L19: + r27 = PyObject_Call(r19, r25, r26) + dec_ref r19 + dec_ref r25 + dec_ref r26 + if is_error(r27) goto L57 (error at coroutine:76) else goto L20 +L20: + r28 = CPy_GetCoro(r27) + dec_ref r27 + if is_error(r28) goto L57 (error at coroutine:76) else goto L21 +L21: + __mypyc_self__.__mypyc_temp__0 = r28; r29 = is_error + if not r29 goto L57 (error at coroutine:-1) else goto L22 :: bool +L22: + r30 = __mypyc_self__.__mypyc_temp__0 + if is_error(r30) goto L57 (error at coroutine:-1) else goto L23 +L23: + r31 = CPyIter_Next(r30) + dec_ref r30 + if is_error(r31) goto L24 else goto L26 +L24: + r32 = CPy_FetchStopIterationValue() + if is_error(r32) goto L57 (error at coroutine:76) else goto L25 +L25: + r33 = r32 + r34 = :: object + __mypyc_self__.__mypyc_temp__0 = r34; r35 = is_error + if not r35 goto L70 (error at coroutine:76) else goto L48 :: bool +L26: + r36 = r31 +L27: + __mypyc_self__.__mypyc_next_label__ = 1 + return r36 +L28: + r38 = load_address _Py_NoneStruct + r39 = type != r38 + if r39 goto L29 else goto L71 :: bool +L29: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L32 (error at coroutine:76) else goto L72 :: bool +L30: unreachable -L137: - r433 = 'encoders' - r434 = CPyObject_GetAttr(r431, r433) - if is_error(r434) goto L175 (error at :202) else goto L138 -L138: - r435 = object -1 - r436 = PyObject_GetItem(r434, r435) - dec_ref r434 - if is_error(r436) goto L175 (error at :202) else goto L139 -L139: - dank_mids.helpers._codec._array_encoder = r436 :: static - r437 = dank_mids.helpers._codec.globals :: static - r438 = '_array_encoder' - r439 = CPyDict_SetItem(r437, r438, r436) - dec_ref r436 - r440 = r439 >= 0 :: signed - if not r440 goto L175 (error at :202) else goto L140 :: bool -L140: - r441 = dank_mids.helpers._codec._array_encoder :: static - if is_error(r441) goto L141 else goto L143 -L141: - r442 = raise NameError('value for final name "_array_encoder" was not set') - if not r442 goto L175 (error at :203) else goto L142 :: bool -L142: +L31: + inc_ref arg + goto L43 +L32: + r40 = CPy_CatchError() + __mypyc_self__.__mypyc_temp__1 = r40; r41 = is_error + if not r41 goto L73 (error at coroutine:-1) else goto L33 :: bool +L33: + r42 = load_address r1 + r43 = __mypyc_self__.__mypyc_temp__0 + if is_error(r43) goto L73 (error at coroutine:-1) else goto L34 +L34: + r44 = CPy_YieldFromErrorHandle(r43, r42) + dec_ref r43 + if is_error(r44) goto L73 (error at coroutine:76) else goto L35 +L35: + if r44 goto L38 else goto L36 :: bool +L36: + r36 = r1 + r45 = __mypyc_self__.__mypyc_temp__1 + if is_error(r45) goto L74 (error at coroutine:-1) else goto L37 +L37: + CPy_RestoreExcInfo(r45) + dec_ref r45 + goto L27 +L38: + r33 = r1 + r46 = __mypyc_self__.__mypyc_temp__1 + if is_error(r46) goto L75 (error at coroutine:-1) else goto L39 +L39: + CPy_RestoreExcInfo(r46) + dec_ref r46 + goto L48 +L40: + r47 = __mypyc_self__.__mypyc_temp__1 + if is_error(r47) goto L57 (error at coroutine:-1) else goto L41 +L41: + CPy_RestoreExcInfo(r47) + dec_ref r47 + r48 = CPy_KeepPropagating() + if not r48 goto L57 else goto L42 :: bool +L42: unreachable -L143: - r443 = 'item_encoder' - r444 = CPyObject_GetAttr(r441, r443) - if is_error(r444) goto L175 (error at :203) else goto L144 -L144: - dank_mids.helpers._codec._item_encoder = r444 :: static - r445 = dank_mids.helpers._codec.globals :: static - r446 = '_item_encoder' - r447 = CPyDict_SetItem(r445, r446, r444) - dec_ref r444 - r448 = r447 >= 0 :: signed - if not r448 goto L175 (error at :203) else goto L145 :: bool -L145: - r449 = __mypyc_lambda__0_obj() - if is_error(r449) goto L175 (error at :206) else goto L146 -L146: - r450 = dank_mids.helpers._codec._mcall_encoder :: static - if is_error(r450) goto L209 else goto L149 -L147: - r451 = raise NameError('value for final name "_mcall_encoder" was not set') - if not r451 goto L175 (error at :206) else goto L148 :: bool -L148: +L43: + r49 = __mypyc_self__.__mypyc_temp__0 + if is_error(r49) goto L76 (error at coroutine:-1) else goto L44 +L44: + r50 = CPyIter_Send(r49, arg) + dec_ref r49 + dec_ref arg + if is_error(r50) goto L46 else goto L45 +L45: + r36 = r50 + goto L27 +L46: + r51 = CPy_FetchStopIterationValue() + if is_error(r51) goto L57 (error at coroutine:76) else goto L47 +L47: + r33 = r51 +L48: + __mypyc_self__.__mypyc_next_label__ = -1 +L49: + if is_error(stop_iter_ptr) goto L50 else goto L52 +L50: + CPyGen_SetStopIterationValue(r33) + dec_ref r33 + if not 0 goto L57 else goto L51 :: bool +L51: + unreachable +L52: + set_mem stop_iter_ptr, r33 :: builtins.object* + return 0 +L53: + r53 = r2 == 0 + if r53 goto L77 else goto L54 :: bool +L54: + r54 = r2 == 1 + if r54 goto L28 else goto L78 :: bool +L55: + r55 = raise StopIteration + if not r55 goto L57 (error at coroutine:57) else goto L56 :: bool +L56: + unreachable +L57: + r56 = :: object + return r56 +L58: + dec_ref r5 + goto L57 +L59: + dec_ref r5 + dec_ref r6 + goto L57 +L60: + dec_ref r13 + goto L57 +L61: + dec_ref r13 + dec_ref r14 + goto L57 +L62: + dec_ref r13 + dec_ref r14 + dec_ref r15 + goto L57 +L63: + dec_ref r13 + dec_ref r14 + dec_ref r15 + dec_ref r16 + goto L57 +L64: + dec_ref r14 + dec_ref r15 + dec_ref r16 + dec_ref r17 + goto L57 +L65: + dec_ref r14 + dec_ref r15 + dec_ref r16 + dec_ref r17 + dec_ref r19 + goto L57 +L66: + dec_ref r15 + dec_ref r16 + dec_ref r17 + dec_ref r19 + dec_ref r20 + goto L57 +L67: + dec_ref r21 + goto L17 +L68: + dec_ref r15 + dec_ref r16 + dec_ref r17 + dec_ref r19 + goto L57 +L69: + dec_ref r19 + dec_ref r25 + goto L57 +L70: + dec_ref r33 + goto L57 +L71: + xdec_ref r1 + goto L31 +L72: + xdec_ref r1 + goto L30 +L73: + xdec_ref r1 + goto L40 +L74: + dec_ref r36 + goto L40 +L75: + dec_ref r33 + goto L40 +L76: + dec_ref arg + goto L57 +L77: + xdec_ref r1 + goto L1 +L78: + xdec_ref r1 + goto L55 + +def coroutine_DankOverloadedMethod_gen.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen + r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = coroutine_DankOverloadedMethod_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +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 = coroutine_DankOverloadedMethod_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg, 0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +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__ + +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 + 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, 0) + 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_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 + 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_DankOverloadedMethod_gen.__await__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen +L0: + 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_gen + r4, r5, r6, r7, r8, r9 :: bool + r10 :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen +L0: + if is_error(block_identifier) goto L1 else goto L14 +L1: + r0 = box(None, 1) + inc_ref r0 + block_identifier = r0 +L2: + if is_error(decimals) goto L3 else goto L15 +L3: + r1 = box(None, 1) + inc_ref r1 + decimals = r1 +L4: + if is_error(override) goto L5 else goto L16 +L5: + r2 = box(None, 1) + inc_ref r2 + override = r2 +L6: + r3 = coroutine_DankOverloadedMethod_gen() + if is_error(r3) goto L17 (error at coroutine:57) else goto L7 +L7: + r3.__mypyc_next_label__ = 0 + inc_ref self + r3.__mypyc_generator_attribute__self = self; r5 = is_error + if not r5 goto L18 (error at coroutine:57) else goto L8 :: bool +L8: + inc_ref args + r3.__mypyc_generator_attribute__args = args; r6 = is_error + if not r6 goto L18 (error at coroutine:57) else goto L9 :: bool +L9: + r3.__mypyc_generator_attribute__block_identifier = block_identifier; r7 = is_error + if not r7 goto L19 (error at coroutine:57) else goto L10 :: bool +L10: + r3.__mypyc_generator_attribute__decimals = decimals; r8 = is_error + if not r8 goto L20 (error at coroutine:57) else goto L11 :: bool +L11: + r3.__mypyc_generator_attribute__override = override; r9 = is_error + if not r9 goto L21 (error at coroutine:57) else goto L12 :: bool +L12: + return r3 +L13: + r10 = :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen + return r10 +L14: + inc_ref block_identifier + goto L2 +L15: + inc_ref decimals + goto L4 +L16: + inc_ref override + goto L6 +L17: + dec_ref block_identifier + dec_ref decimals + dec_ref override + goto L13 +L18: + dec_ref block_identifier + dec_ref decimals + dec_ref override + dec_ref r3 + goto L13 +L19: + dec_ref decimals + dec_ref override + dec_ref r3 + goto L13 +L20: + dec_ref override + dec_ref r3 + goto L13 +L21: + dec_ref r3 + goto L13 + +def DankOverloadedMethod._add_fn(self, abi, natspec): + self :: dank_mids.brownie_patch.types.DankOverloadedMethod + abi, natspec :: dict + r0 :: str + r1 :: object + r2, r3 :: str + r4 :: object + r5 :: str + r6 :: object + r7 :: str + r8 :: union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx] + 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: + r0 = '_address' + r1 = CPyObject_GetAttr(self, r0) + if is_error(r1) goto L20 (error at _add_fn:91) else goto L1 +L1: + r2 = cast(str, r1) + if is_error(r2) goto L20 (error at _add_fn:91) else goto L2 +L2: + r3 = '_name' + r4 = CPyObject_GetAttr(self, r3) + if is_error(r4) goto L21 (error at _add_fn:91) else goto L3 +L3: + r5 = '_owner' + r6 = CPyObject_GetAttr(self, r5) + if is_error(r6) goto L22 (error at _add_fn:91) else goto L4 +L4: + r7 = cast(str, r4) + if is_error(r7) goto L23 (error at _add_fn:91) else goto L5 +L5: + r8 = _get_method_object(r2, abi, r7, r6, natspec) + dec_ref r2 + dec_ref r7 + dec_ref r6 + if is_error(r8) goto L20 (error at _add_fn:91) else goto L6 +L6: + r9 = PyList_New(0) + if is_error(r9) goto L24 (error at _add_fn:92) else goto L7 +L7: + r10 = 'inputs' + r11 = CPyDict_GetItem(abi, r10) + if is_error(r11) goto L25 (error at _add_fn:92) else goto L8 +L8: + r12 = PyObject_GetIter(r11) + dec_ref r11 + if is_error(r12) goto L25 (error at _add_fn:92) else goto L9 +L9: + r13 = PyIter_Next(r12) + if is_error(r13) goto L26 else goto L10 +L10: + r14 = 'type' + r15 = PyObject_GetItem(r13, r14) + dec_ref r13 + if is_error(r15) goto L27 (error at _add_fn:92) 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 L28 (error at _add_fn:92) else goto L12 +L12: + dec_ref r15 + r22 = PyList_Append(r9, r21) + dec_ref r21 + r23 = r22 >= 0 :: signed + if not r23 goto L27 (error at _add_fn:92) else goto L9 :: bool +L13: + r24 = CPy_NoErrOccurred() + if not r24 goto L25 (error at _add_fn:92) else goto L14 :: bool +L14: + r25 = PyList_AsTuple(r9) + dec_ref r9 + if is_error(r25) goto L24 (error at _add_fn:92) else goto L15 +L15: + r26 = self.methods + if is_error(r26) goto L29 (error at _add_fn:93) 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:93) else goto L17 :: bool +L17: + r29 = 'natspec' + r30 = CPyObject_GetAttr(self, r29) + if is_error(r30) goto L20 (error at _add_fn:94) 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 L30 (error at _add_fn:94) else goto L31 +L19: + dec_ref r30 + return 1 +L20: + r35 = :: None + return r35 +L21: + dec_ref r2 + goto L20 +L22: + dec_ref r2 + dec_ref r4 + goto L20 +L23: + dec_ref r2 + dec_ref r6 + goto L20 +L24: + dec_ref r8 + goto L20 +L25: + dec_ref r8 + dec_ref r9 + goto L20 +L26: + dec_ref r12 + goto L13 +L27: + dec_ref r8 + dec_ref r9 + dec_ref r12 + goto L20 +L28: + dec_ref r8 + dec_ref r9 + dec_ref r12 + dec_ref r15 + goto L20 +L29: + dec_ref r8 + dec_ref r25 + goto L20 +L30: + dec_ref r30 + goto L20 +L31: + 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, r9 :: str + r10 :: object + r11 :: i32 + r12 :: bit + r13 :: bool + r14 :: object + r15 :: i32 + r16 :: bit + r17, r18 :: bool + r19 :: object + r20 :: i32 + r21 :: bit + r22 :: bool + r23 :: tuple + r24 :: dict + r25 :: dank_mids.brownie_patch.types.DankContractCall + r26 :: tuple + r27 :: dict + r28 :: dank_mids.brownie_patch.types.DankContractTx + r29 :: union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx] +L0: + r0 = 'constant' + r1 = PyDict_Contains(abi, r0) + r2 = r1 >= 0 :: signed + if not r2 goto L24 (error at _get_method_object:131) 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:132) else goto L3 +L3: + constant = r5 + goto L14 +L4: + r6 = 'stateMutability' + r7 = CPyDict_GetItem(abi, r6) + if is_error(r7) goto L24 (error at _get_method_object:134) else goto L5 +L5: + r8 = 'view' + r9 = 'pure' + r10 = PyObject_RichCompare(r7, r8, 2) + if is_error(r10) goto L25 (error at _get_method_object:134) else goto L6 +L6: + r11 = PyObject_IsTrue(r10) + dec_ref r10 + r12 = r11 >= 0 :: signed + if not r12 goto L25 (error at _get_method_object:134) else goto L7 :: bool +L7: + r13 = truncate r11: i32 to builtins.bool + if r13 goto L26 else goto L8 :: bool +L8: + r14 = PyObject_RichCompare(r7, r9, 2) + dec_ref r7 + if is_error(r14) goto L24 (error at _get_method_object:134) else goto L9 +L9: + r15 = PyObject_IsTrue(r14) + dec_ref r14 + r16 = r15 >= 0 :: signed + if not r16 goto L24 (error at _get_method_object:134) else goto L10 :: bool +L10: + r17 = truncate r15: i32 to builtins.bool + if r17 goto L12 else goto L11 :: bool +L11: + r18 = 0 + goto L13 +L12: + r18 = 1 +L13: + r19 = box(bool, r18) + inc_ref r19 + constant = r19 +L14: + r20 = PyObject_IsTrue(constant) + dec_ref constant + r21 = r20 >= 0 :: signed + if not r21 goto L24 (error at _get_method_object:132) else goto L15 :: bool +L15: + r22 = truncate r20: i32 to builtins.bool + if r22 goto L16 else goto L20 :: bool +L16: + r23 = PyTuple_Pack(5, address, abi, name, owner, natspec) + if is_error(r23) goto L24 (error at _get_method_object:137) else goto L17 +L17: + r24 = PyDict_New() + if is_error(r24) goto L27 (error at _get_method_object:137) else goto L18 +L18: + r25 = DankContractCall(r23, r24) + dec_ref r23 + dec_ref r24 + if is_error(r25) goto L24 (error at _get_method_object:137) else goto L19 +L19: + return r25 +L20: + r26 = PyTuple_Pack(5, address, abi, name, owner, natspec) + if is_error(r26) goto L24 (error at _get_method_object:138) else goto L21 +L21: + r27 = PyDict_New() + if is_error(r27) goto L28 (error at _get_method_object:138) else goto L22 +L22: + r28 = DankContractTx(r26, r27) + dec_ref r26 + dec_ref r27 + if is_error(r28) goto L24 (error at _get_method_object:138) else goto L23 +L23: + return r28 +L24: + r29 = :: union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx] + return r29 +L25: + dec_ref r7 + goto L24 +L26: + dec_ref r7 + goto L12 +L27: + dec_ref r23 + goto L24 +L28: + dec_ref r26 + goto L24 + +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 :: dict + r27 :: str + r28 :: object + r29 :: object[1] + r30 :: object_ptr + r31 :: object + r32 :: dict + r33 :: str + r34 :: i32 + r35 :: bit + r36 :: dict + r37 :: str + r38 :: object + r39 :: dict + r40 :: str + r41 :: object + r42 :: dict + r43 :: str + r44 :: object + r45 :: dict + r46 :: str + r47 :: object + r48 :: tuple[object, object, object] + r49, r50 :: object + r51 :: dict + r52 :: str + r53 :: i32 + r54 :: bit + r55 :: dict + r56 :: str + r57 :: object + r58 :: dict + r59 :: str + r60 :: object + r61 :: tuple + r62 :: str + r63, r64 :: object + r65 :: bool + r66, r67 :: str + r68 :: tuple + r69 :: i32 + r70 :: bit + r71 :: dict + r72 :: str + r73 :: i32 + r74 :: bit + r75 :: dict + r76 :: str + r77 :: object + r78 :: dict + r79 :: str + r80 :: object + r81 :: tuple + r82 :: str + r83, r84 :: object + r85 :: bool + r86, r87 :: str + r88 :: tuple + r89 :: i32 + r90 :: bit + r91 :: dict + r92 :: str + r93 :: i32 + r94 :: bit + r95 :: dict + r96 :: str + r97, r98, r99 :: object + r100 :: tuple[object, object] + r101, r102 :: object + r103 :: dict + r104 :: str + r105 :: i32 + r106 :: bit + r107 :: dict + r108 :: str + r109 :: object + r110 :: dict + r111 :: str + r112 :: object + r113 :: dict + r114 :: str + r115, r116 :: object + r117 :: tuple + r118 :: str + r119, r120 :: object + r121 :: bool + r122, r123, r124 :: str + r125 :: tuple + r126 :: i32 + r127 :: bit + r128 :: dict + r129 :: str + r130 :: i32 + r131 :: bit + r132 :: dict + r133 :: str + r134, r135, r136, r137 :: object + r138 :: tuple[object, object, object] + r139, r140 :: object + r141 :: dict + r142 :: str + r143 :: i32 + r144 :: bit + r145 :: 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 L50 (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 L50 (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 L50 (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 L50 (error at :4) else goto L6 +L6: + brownie.typing = r16 :: module + dec_ref r16 + r17 = ('ChecksumAddress',) + r18 = 'eth_typing' + r19 = dank_mids.brownie_patch.types.globals :: static + r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) + if is_error(r20) goto L50 (error at :5) else goto L7 +L7: + eth_typing = r20 :: module + dec_ref r20 + r21 = ('_DankMethod', '_DankMethodMixin', '_EVMType') + r22 = 'dank_mids.brownie_patch._method' + r23 = dank_mids.brownie_patch.types.globals :: static + r24 = CPyImport_ImportFromMany(r22, r21, r21, r23) + if is_error(r24) goto L50 (error at :7) else goto L8 +L8: + dank_mids.brownie_patch._method = r24 :: module + dec_ref r24 + r25 = '_T' + r26 = dank_mids.brownie_patch.types.globals :: static + r27 = 'TypeVar' + r28 = CPyDict_GetItem(r26, r27) + if is_error(r28) goto L50 (error at :10) else goto L9 +L9: + r29 = [r25] + r30 = load_address r29 + r31 = PyObject_Vectorcall(r28, r30, 1, 0) + dec_ref r28 + if is_error(r31) goto L50 (error at :10) else goto L10 +L10: + r32 = dank_mids.brownie_patch.types.globals :: static + r33 = '_T' + r34 = CPyDict_SetItem(r32, r33, r31) + dec_ref r31 + r35 = r34 >= 0 :: signed + if not r35 goto L50 (error at :10) else goto L11 :: bool +L11: + r36 = dank_mids.brownie_patch.types.globals :: static + r37 = 'Union' + r38 = CPyDict_GetItem(r36, r37) + if is_error(r38) goto L50 (error at :12) else goto L12 +L12: + r39 = dank_mids.brownie_patch.types.globals :: static + r40 = 'ContractCall' + r41 = CPyDict_GetItem(r39, r40) + if is_error(r41) goto L51 (error at :12) else goto L13 +L13: + r42 = dank_mids.brownie_patch.types.globals :: static + r43 = 'ContractTx' + r44 = CPyDict_GetItem(r42, r43) + if is_error(r44) goto L52 (error at :12) else goto L14 +L14: + r45 = dank_mids.brownie_patch.types.globals :: static + r46 = 'OverloadedMethod' + r47 = CPyDict_GetItem(r45, r46) + if is_error(r47) goto L53 (error at :12) else goto L15 +L15: + r48 = (r41, r44, r47) + r49 = box(tuple[object, object, object], r48) + r50 = PyObject_GetItem(r38, r49) + dec_ref r38 + dec_ref r49 + if is_error(r50) goto L50 (error at :12) else goto L16 +L16: + r51 = dank_mids.brownie_patch.types.globals :: static + r52 = 'ContractMethod' + r53 = CPyDict_SetItem(r51, r52, r50) + dec_ref r50 + r54 = r53 >= 0 :: signed + if not r54 goto L50 (error at :12) else goto L17 :: bool +L17: + r55 = dank_mids.brownie_patch.types.globals :: static + r56 = '_DankMethod' + r57 = CPyDict_GetItem(r55, r56) + if is_error(r57) goto L50 (error at :17) else goto L18 +L18: + r58 = dank_mids.brownie_patch.types.globals :: static + r59 = 'ContractCall' + r60 = CPyDict_GetItem(r58, r59) + if is_error(r60) goto L54 (error at :17) else goto L19 +L19: + r61 = PyTuple_Pack(2, r57, r60) + dec_ref r57 + dec_ref r60 + if is_error(r61) goto L50 (error at :17) else goto L20 +L20: + r62 = 'dank_mids.brownie_patch.types' + r63 = dank_mids.brownie_patch.types.DankContractCall_template :: type + r64 = CPyType_FromTemplate(r63, r61, r62) + dec_ref r61 + if is_error(r64) goto L50 (error at :17) else goto L21 +L21: + r65 = DankContractCall_trait_vtable_setup() + if is_error(r65) goto L55 (error at :-1) else goto L22 +L22: + r66 = '__mypyc_attrs__' + r67 = '__dict__' + r68 = PyTuple_Pack(1, r67) + if is_error(r68) goto L55 (error at :17) else goto L23 +L23: + r69 = PyObject_SetAttr(r64, r66, r68) + dec_ref r68 + r70 = r69 >= 0 :: signed + if not r70 goto L55 (error at :17) else goto L24 :: bool +L24: + dank_mids.brownie_patch.types.DankContractCall = r64 :: type + r71 = dank_mids.brownie_patch.types.globals :: static + r72 = 'DankContractCall' + r73 = PyDict_SetItem(r71, r72, r64) + dec_ref r64 + r74 = r73 >= 0 :: signed + if not r74 goto L50 (error at :17) else goto L25 :: bool +L25: + r75 = dank_mids.brownie_patch.types.globals :: static + r76 = '_DankMethod' + r77 = CPyDict_GetItem(r75, r76) + if is_error(r77) goto L50 (error at :29) else goto L26 +L26: + r78 = dank_mids.brownie_patch.types.globals :: static + r79 = 'ContractTx' + r80 = CPyDict_GetItem(r78, r79) + if is_error(r80) goto L56 (error at :29) else goto L27 +L27: + r81 = PyTuple_Pack(2, r77, r80) + dec_ref r77 + dec_ref r80 + if is_error(r81) goto L50 (error at :29) else goto L28 +L28: + r82 = 'dank_mids.brownie_patch.types' + r83 = dank_mids.brownie_patch.types.DankContractTx_template :: type + r84 = CPyType_FromTemplate(r83, r81, r82) + dec_ref r81 + if is_error(r84) goto L50 (error at :29) else goto L29 +L29: + r85 = DankContractTx_trait_vtable_setup() + if is_error(r85) goto L57 (error at :-1) else goto L30 +L30: + r86 = '__mypyc_attrs__' + r87 = '__dict__' + r88 = PyTuple_Pack(1, r87) + if is_error(r88) goto L57 (error at :29) else goto L31 +L31: + r89 = PyObject_SetAttr(r84, r86, r88) + dec_ref r88 + r90 = r89 >= 0 :: signed + if not r90 goto L57 (error at :29) else goto L32 :: bool +L32: + dank_mids.brownie_patch.types.DankContractTx = r84 :: type + r91 = dank_mids.brownie_patch.types.globals :: static + r92 = 'DankContractTx' + r93 = PyDict_SetItem(r91, r92, r84) + dec_ref r84 + r94 = r93 >= 0 :: signed + if not r94 goto L50 (error at :29) else goto L33 :: bool +L33: + r95 = dank_mids.brownie_patch.types.globals :: static + r96 = 'Union' + r97 = CPyDict_GetItem(r95, r96) + if is_error(r97) goto L50 (error at :40) else goto L34 +L34: + r98 = dank_mids.brownie_patch.types.DankContractCall :: type + r99 = dank_mids.brownie_patch.types.DankContractTx :: type + inc_ref r98 + inc_ref r99 + r100 = (r98, r99) + r101 = box(tuple[object, object], r100) + r102 = PyObject_GetItem(r97, r101) + dec_ref r97 + dec_ref r101 + if is_error(r102) goto L50 (error at :40) else goto L35 +L35: + r103 = dank_mids.brownie_patch.types.globals :: static + r104 = '_NonOverloaded' + r105 = CPyDict_SetItem(r103, r104, r102) + dec_ref r102 + r106 = r105 >= 0 :: signed + if not r106 goto L50 (error at :40) else goto L36 :: bool +L36: + r107 = dank_mids.brownie_patch.types.globals :: static + r108 = 'OverloadedMethod' + r109 = CPyDict_GetItem(r107, r108) + if is_error(r109) goto L50 (error at :45) else goto L37 +L37: + r110 = dank_mids.brownie_patch.types.globals :: static + r111 = '_DankMethodMixin' + r112 = CPyDict_GetItem(r110, r111) + if is_error(r112) goto L58 (error at :45) else goto L38 +L38: + r113 = dank_mids.brownie_patch.types.globals :: static + r114 = '_T' + r115 = CPyDict_GetItem(r113, r114) + if is_error(r115) goto L59 (error at :45) else goto L39 +L39: + r116 = PyObject_GetItem(r112, r115) + dec_ref r112 + dec_ref r115 + if is_error(r116) goto L58 (error at :45) else goto L40 +L40: + r117 = PyTuple_Pack(2, r109, r116) + dec_ref r109 + dec_ref r116 + if is_error(r117) goto L50 (error at :45) else goto L41 +L41: + r118 = 'dank_mids.brownie_patch.types' + r119 = dank_mids.brownie_patch.types.DankOverloadedMethod_template :: type + r120 = CPyType_FromTemplate(r119, r117, r118) + dec_ref r117 + if is_error(r120) goto L50 (error at :45) else goto L42 +L42: + r121 = DankOverloadedMethod_trait_vtable_setup() + if is_error(r121) goto L60 (error at :-1) else goto L43 +L43: + r122 = '__mypyc_attrs__' + r123 = 'methods' + r124 = '__dict__' + r125 = PyTuple_Pack(2, r123, r124) + if is_error(r125) goto L60 (error at :45) else goto L44 +L44: + r126 = PyObject_SetAttr(r120, r122, r125) + dec_ref r125 + r127 = r126 >= 0 :: signed + if not r127 goto L60 (error at :45) else goto L45 :: bool +L45: + dank_mids.brownie_patch.types.DankOverloadedMethod = r120 :: type + r128 = dank_mids.brownie_patch.types.globals :: static + r129 = 'DankOverloadedMethod' + r130 = PyDict_SetItem(r128, r129, r120) + dec_ref r120 + r131 = r130 >= 0 :: signed + if not r131 goto L50 (error at :45) else goto L46 :: bool +L46: + r132 = dank_mids.brownie_patch.types.globals :: static + r133 = 'Union' + r134 = CPyDict_GetItem(r132, r133) + if is_error(r134) goto L50 (error at :97) else goto L47 +L47: + r135 = dank_mids.brownie_patch.types.DankContractCall :: type + r136 = dank_mids.brownie_patch.types.DankContractTx :: type + r137 = dank_mids.brownie_patch.types.DankOverloadedMethod :: type + inc_ref r135 + inc_ref r136 + inc_ref r137 + r138 = (r135, r136, r137) + r139 = box(tuple[object, object, object], r138) + r140 = PyObject_GetItem(r134, r139) + dec_ref r134 + dec_ref r139 + if is_error(r140) goto L50 (error at :97) else goto L48 +L48: + r141 = dank_mids.brownie_patch.types.globals :: static + r142 = 'DankContractMethod' + r143 = CPyDict_SetItem(r141, r142, r140) + dec_ref r140 + r144 = r143 >= 0 :: signed + if not r144 goto L50 (error at :97) else goto L49 :: bool +L49: + return 1 +L50: + r145 = :: None + return r145 +L51: + dec_ref r38 + goto L50 +L52: + dec_ref r38 + dec_ref r41 + goto L50 +L53: + dec_ref r38 + dec_ref r41 + dec_ref r44 + goto L50 +L54: + dec_ref r57 + goto L50 +L55: + dec_ref r64 + goto L50 +L56: + dec_ref r77 + goto L50 +L57: + dec_ref r84 + goto L50 +L58: + dec_ref r109 + goto L50 +L59: + dec_ref r109 + dec_ref r112 + goto L50 +L60: + dec_ref r120 + goto L50 + +def __init___FunctionABI_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 __init___FunctionABI_obj.__call__(__mypyc_self__, self, abi): + __mypyc_self__ :: dank_mids.brownie_patch._abi.__init___FunctionABI_obj + self :: dank_mids.brownie_patch._abi.FunctionABI + abi :: dict + r0 :: str + r1 :: i32 + r2 :: bit + r3, r4 :: str + r5 :: i32 + r6 :: bit + r7, r8 :: str + r9 :: i32 + r10 :: bit + r11 :: None +L0: + r0 = 'abi' + r1 = PyObject_SetAttr(self, r0, abi) + r2 = r1 >= 0 :: signed + if not r2 goto L6 (error at __init__:47) else goto L1 :: bool +L1: + r3 = build_function_signature(abi) + if is_error(r3) goto L6 (error at __init__:53) else goto L2 +L2: + r4 = 'input_sig' + r5 = PyObject_SetAttr(self, r4, r3) + r6 = r5 >= 0 :: signed + if not r6 goto L7 (error at __init__:54) else goto L3 :: bool +L3: + r7 = build_function_selector(r3) + dec_ref r3 + if is_error(r7) goto L6 (error at __init__:60) else goto L4 +L4: + r8 = 'signature' + r9 = PyObject_SetAttr(self, r8, r7) + dec_ref r7 + r10 = r9 >= 0 :: signed + if not r10 goto L6 (error at __init__:60) else goto L5 :: bool +L5: + return 1 +L6: + r11 = :: None + return r11 +L7: + dec_ref r3 + goto L6 + +def singleton_FunctionABI_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 singleton_FunctionABI_obj.__call__(__mypyc_self__, abi): + __mypyc_self__ :: dank_mids.brownie_patch._abi.singleton_FunctionABI_obj + abi :: dict + r0 :: list + r1 :: ptr + r2 :: native_int + r3 :: tuple + r4 :: native_int + r5 :: ptr + r6 :: native_int + r7 :: bit + r8, r9 :: ptr + r10 :: native_int + r11 :: ptr + r12 :: object + r13 :: str + r14, r15 :: object + r16 :: tuple[str, object] + r17 :: object + r18 :: native_int + r19 :: object + r20 :: bool + r21 :: object + r22 :: dank_mids.brownie_patch._abi.FunctionABI + r23 :: tuple[object, object, object] + r24 :: object + r25 :: str + r26 :: object + r27 :: bit + r28 :: object + r29 :: tuple + r30 :: dict + r31 :: object + r32 :: dank_mids.brownie_patch._abi.FunctionABI + r33 :: object + r34 :: bool + r35 :: i32 + r36 :: bit + r37 :: object + r38 :: str + r39 :: object + r40 :: bit + r41 :: object + r42 :: str + r43 :: object + r44 :: str + r45 :: object + r46 :: object[2] + r47 :: object_ptr + r48 :: object + r49 :: bit + r50 :: dank_mids.brownie_patch._abi.FunctionABI +L0: + r0 = CPySequence_Sort(abi) + if is_error(r0) goto L37 (error at singleton:74) else goto L1 +L1: + r1 = get_element_ptr r0 ob_size :: PyVarObject + r2 = load_mem r1 :: native_int* + r3 = PyTuple_New(r2) + if is_error(r3) goto L38 (error at singleton:74) else goto L2 +L2: + r4 = 0 +L3: + r5 = get_element_ptr r0 ob_size :: PyVarObject + r6 = load_mem r5 :: native_int* + r7 = r4 < r6 :: signed + if r7 goto L4 else goto L39 :: bool +L4: + r8 = get_element_ptr r0 ob_item :: PyListObject + r9 = load_mem r8 :: ptr* + r10 = r4 * 8 + r11 = r9 + r10 + r12 = load_mem r11 :: builtins.object* + r13 = cast(str, r12) + if is_error(r13) goto L40 (error at singleton:74) else goto L5 +L5: + r14 = CPyDict_GetItem(abi, r13) + if is_error(r14) goto L41 (error at singleton:74) else goto L6 +L6: + r15 = make_hashable(r14) + dec_ref r14 + if is_error(r15) goto L41 (error at singleton:74) else goto L7 +L7: + r16 = (r13, r15) + r17 = box(tuple[str, object], r16) + CPySequenceTuple_SetItemUnsafe(r3, r4, r17) +L8: + r18 = r4 + 1 + r4 = r18 + goto L3 +L9: +L10: + r19 = dank_mids.brownie_patch._abi._singletons :: static + if is_error(r19) goto L11 else goto L13 +L11: + r20 = raise NameError('value for final name "_singletons" was not set') + if not r20 goto L16 (error at singleton:76) else goto L42 :: bool +L12: unreachable -L149: - r452 = 'validate_value' - r453 = PyObject_SetAttr(r450, r452, r449) - r454 = r453 >= 0 :: signed - if not r454 goto L210 (error at :206) else goto L150 :: bool -L150: - r455 = dank_mids.helpers._codec._array_encoder :: static - if is_error(r455) goto L211 else goto L153 -L151: - r456 = raise NameError('value for final name "_array_encoder" was not set') - if not r456 goto L175 (error at :206) else goto L152 :: bool -L152: +L13: + r21 = PyObject_GetItem(r19, r3) + if is_error(r21) goto L16 (error at singleton:76) else goto L14 +L14: + r22 = cast(dank_mids.brownie_patch._abi.FunctionABI, r21) + if is_error(r22) goto L16 (error at singleton:76) else goto L43 +L15: + return r22 +L16: + r23 = CPy_CatchError() + r24 = builtins :: module + r25 = 'KeyError' + r26 = CPyObject_GetAttr(r24, r25) + if is_error(r26) goto L44 (error at singleton:77) else goto L17 +L17: + r27 = CPy_ExceptionMatches(r26) + dec_ref r26 + if r27 goto L18 else goto L26 :: bool +L18: + r28 = dank_mids.brownie_patch._abi.FunctionABI :: type + r29 = CPyTuple_LoadEmptyTupleConstant() + r30 = PyDict_Copy(abi) + if is_error(r30) goto L45 (error at singleton:78) else goto L19 +L19: + r31 = PyObject_Call(r28, r29, r30) + dec_ref r29 + dec_ref r30 + if is_error(r31) goto L44 (error at singleton:78) else goto L20 +L20: + r32 = cast(dank_mids.brownie_patch._abi.FunctionABI, r31) + if is_error(r32) goto L44 (error at singleton:78) else goto L21 +L21: + inc_ref r32 + r33 = dank_mids.brownie_patch._abi._singletons :: static + if is_error(r33) goto L46 else goto L24 +L22: + r34 = raise NameError('value for final name "_singletons" was not set') + if not r34 goto L35 (error at singleton:78) else goto L47 :: bool +L23: unreachable -L153: - r457 = 'validate_value' - r458 = PyObject_SetAttr(r455, r457, r449) - r459 = r458 >= 0 :: signed - if not r459 goto L210 (error at :206) else goto L154 :: bool -L154: - r460 = dank_mids.helpers._codec._item_encoder :: static - if is_error(r460) goto L212 else goto L157 -L155: - r461 = raise NameError('value for final name "_item_encoder" was not set') - if not r461 goto L175 (error at :206) else goto L156 :: bool -L156: +L24: + r35 = PyObject_SetItem(r33, r3, r32) + dec_ref r3 + dec_ref r32 + r36 = r35 >= 0 :: signed + if not r36 goto L48 (error at singleton:78) else goto L25 :: bool +L25: + CPy_RestoreExcInfo(r23) + dec_ref r23 + return r32 +L26: + r37 = builtins :: module + r38 = 'AttributeError' + r39 = CPyObject_GetAttr(r37, r38) + if is_error(r39) goto L44 (error at singleton:80) else goto L27 +L27: + r40 = CPy_ExceptionMatches(r39) + dec_ref r39 + if r40 goto L28 else goto L49 :: bool +L28: + r41 = CPy_GetExcValue() + r42 = PyObject_Str(r41) + dec_ref r41 + if is_error(r42) goto L44 (error at singleton:81) else goto L29 +L29: + r43 = builtins :: module + r44 = 'AttributeError' + r45 = CPyObject_GetAttr(r43, r44) + if is_error(r45) goto L50 (error at singleton:81) else goto L30 +L30: + r46 = [r42, r3] + r47 = load_address r46 + r48 = PyObject_Vectorcall(r45, r47, 2, 0) + dec_ref r45 + if is_error(r48) goto L50 (error at singleton:81) else goto L31 +L31: + dec_ref r42 + dec_ref r3 + CPy_Raise(r48) + dec_ref r48 + if not 0 goto L35 (error at singleton:81) else goto L51 :: bool +L32: unreachable -L157: - r462 = 'validate_value' - r463 = PyObject_SetAttr(r460, r462, r449) - dec_ref r449 - r464 = r463 >= 0 :: signed - if not r464 goto L175 (error at :206) else goto L158 :: bool -L158: - r465 = dank_mids.helpers._codec.globals :: static - r466 = '__encode_new' - r467 = CPyDict_GetItem(r465, r466) - if is_error(r467) goto L175 (error at :236) else goto L159 -L159: - r468 = dank_mids.helpers._codec._array_encoder :: static - if is_error(r468) goto L213 else goto L162 -L160: - r469 = raise NameError('value for final name "_array_encoder" was not set') - if not r469 goto L175 (error at :236) else goto L161 :: bool -L161: +L33: + CPy_Reraise() + if not 0 goto L35 else goto L52 :: bool +L34: unreachable -L162: - r470 = 'encode' - r471 = PyObject_SetAttr(r468, r470, r467) - dec_ref r467 - r472 = r471 >= 0 :: signed - if not r472 goto L175 (error at :236) else goto L163 :: bool -L163: - r473 = dank_mids.helpers._codec.globals :: static - r474 = '__encode_elements_new' - r475 = CPyDict_GetItem(r473, r474) - if is_error(r475) goto L175 (error at :237) else goto L164 -L164: - r476 = dank_mids.helpers._codec._array_encoder :: static - if is_error(r476) goto L214 else goto L167 -L165: - r477 = raise NameError('value for final name "_array_encoder" was not set') - if not r477 goto L175 (error at :237) else goto L166 :: bool -L166: +L35: + CPy_RestoreExcInfo(r23) + dec_ref r23 + r49 = CPy_KeepPropagating() + if not r49 goto L37 else goto L36 :: bool +L36: + unreachable +L37: + r50 = :: dank_mids.brownie_patch._abi.FunctionABI + return r50 +L38: + dec_ref r0 + goto L37 +L39: + dec_ref r0 + goto L9 +L40: + dec_ref r0 + dec_ref r3 + goto L37 +L41: + dec_ref r0 + dec_ref r3 + dec_ref r13 + goto L37 +L42: + dec_ref r3 + goto L12 +L43: + dec_ref r3 + goto L15 +L44: + dec_ref r3 + goto L35 +L45: + dec_ref r3 + dec_ref r29 + goto L35 +L46: + dec_ref r3 + dec_ref r32 + dec_ref r32 + goto L22 +L47: + dec_ref r23 + goto L23 +L48: + dec_ref r32 + goto L35 +L49: + dec_ref r3 + goto L33 +L50: + dec_ref r3 + dec_ref r42 + goto L35 +L51: + dec_ref r23 + goto L32 +L52: + dec_ref r23 + goto L34 + +def get_type_strings(abi_params, substitutions): + abi_params :: object + substitutions :: union[dict, None] + r0 :: object + r1 :: list + r2 :: object + r3 :: bit + r4 :: dict + r5, r6 :: object + r7 :: dict + r8 :: str + r9 :: object + r10, type_str, r11 :: str + r12 :: i32 + r13 :: bool + r14 :: str + r15 :: object + r16 :: dict + r17 :: list + r18 :: object + r19, r20, r21, r22, r23, r24 :: str + r25 :: i32 + r26 :: bit + r27 :: dict + r28 :: short_int + r29 :: native_int + r30 :: object + r31 :: tuple[bool, short_int, object, object] + r32 :: short_int + r33 :: bool + r34, r35 :: object + r36 :: str + r37 :: i32 + r38 :: bool + r39 :: str + r40 :: object[3] + r41 :: object_ptr + r42 :: object + r43 :: str + r44, r45 :: bit + r46 :: i32 + r47, r48 :: bit + r49 :: list +L0: + if is_error(substitutions) goto L1 else goto L34 +L1: + r0 = box(None, 1) + inc_ref r0 + substitutions = r0 +L2: + r1 = PyList_New(0) + if is_error(r1) goto L35 (error at get_type_strings:89) else goto L3 +L3: + r2 = load_address _Py_NoneStruct + r3 = substitutions == r2 + if r3 goto L36 else goto L6 :: bool +L4: + r4 = PyDict_New() + if is_error(r4) goto L37 (error at get_type_strings:91) else goto L5 +L5: + substitutions = r4 +L6: + r5 = PyObject_GetIter(abi_params) + if is_error(r5) goto L38 (error at get_type_strings:93) else goto L7 +L7: + r6 = PyIter_Next(r5) + if is_error(r6) goto L39 else goto L8 +L8: + r7 = cast(dict, r6) + if is_error(r7) goto L40 (error at get_type_strings:93) else goto L9 +L9: + r8 = 'type' + r9 = CPyDict_GetItem(r7, r8) + if is_error(r9) goto L41 (error at get_type_strings:94) else goto L10 +L10: + r10 = cast(str, r9) + if is_error(r10) goto L41 (error at get_type_strings:94) else goto L11 +L11: + type_str = r10 + r11 = 'tuple' + r12 = CPyStr_Startswith(type_str, r11) + r13 = truncate r12: i32 to builtins.bool + if r13 goto L12 else goto L42 :: bool +L12: + r14 = 'components' + r15 = CPyDict_GetItem(r7, r14) + dec_ref r7 + if is_error(r15) goto L43 (error at get_type_strings:96) else goto L13 +L13: + inc_ref substitutions + r16 = cast(dict, substitutions) + if is_error(r16) goto L44 (error at get_type_strings:96) else goto L14 +L14: + r17 = get_type_strings(r15, r16) + dec_ref r15 + dec_ref r16 + if is_error(r17) goto L43 (error at get_type_strings:96) else goto L15 +L15: + r18 = CPyStr_GetSlice(type_str, 10, 9223372036854775806) + dec_ref type_str + if is_error(r18) goto L45 (error at get_type_strings:97) else goto L16 +L16: + r19 = cast(str, r18) + if is_error(r19) goto L45 (error at get_type_strings:97) else goto L17 +L17: + r20 = '(' + r21 = ',' + r22 = PyUnicode_Join(r21, r17) + dec_ref r17 + if is_error(r22) goto L46 (error at get_type_strings:98) else goto L18 +L18: + r23 = ')' + r24 = CPyStr_Build(4, r20, r22, r23, r19) + dec_ref r22 + dec_ref r19 + if is_error(r24) goto L40 (error at get_type_strings:98) else goto L19 +L19: + r25 = PyList_Append(r1, r24) + dec_ref r24 + r26 = r25 >= 0 :: signed + if not r26 goto L40 (error at get_type_strings:98) else goto L7 :: bool +L20: + inc_ref substitutions + r27 = cast(dict, substitutions) + if is_error(r27) goto L43 (error at get_type_strings:100) else goto L21 +L21: + r28 = 0 + r29 = PyDict_Size(r27) + r30 = CPyDict_GetItemsIter(r27) + if is_error(r30) goto L47 (error at get_type_strings:100) else goto L22 +L22: + r31 = CPyDict_NextItem(r30, r28) + r32 = r31[1] + r28 = r32 + r33 = r31[0] + if r33 goto L23 else goto L48 :: bool +L23: + r34 = r31[2] + r35 = r31[3] + dec_ref r31 + r36 = cast(str, r34) + if is_error(r36) goto L49 (error at get_type_strings:100) else goto L24 +L24: + r37 = CPyStr_Startswith(type_str, r36) + r38 = truncate r37: i32 to builtins.bool + if r38 goto L25 else goto L50 :: bool +L25: + r39 = 'replace' + r40 = [type_str, r36, r35] + r41 = load_address r40 + r42 = PyObject_VectorcallMethod(r39, r41, 9223372036854775811, 0) + if is_error(r42) goto L51 (error at get_type_strings:102) else goto L26 +L26: + dec_ref type_str + dec_ref r36 + dec_ref r35 + r43 = cast(str, r42) + if is_error(r43) goto L52 (error at get_type_strings:102) else goto L27 +L27: + type_str = r43 +L28: + r44 = CPyDict_CheckSize(r27, r29) + if not r44 goto L53 (error at get_type_strings:100) else goto L22 :: bool +L29: + r45 = CPy_NoErrOccurred() + if not r45 goto L43 (error at get_type_strings:100) else goto L30 :: bool +L30: + r46 = PyList_Append(r1, type_str) + dec_ref type_str + r47 = r46 >= 0 :: signed + if not r47 goto L40 (error at get_type_strings:103) else goto L7 :: bool +L31: + r48 = CPy_NoErrOccurred() + if not r48 goto L37 (error at get_type_strings:93) else goto L32 :: bool +L32: + return r1 +L33: + r49 = :: list + return r49 +L34: + inc_ref substitutions + goto L2 +L35: + dec_ref substitutions + goto L33 +L36: + dec_ref substitutions + goto L4 +L37: + dec_ref r1 + goto L33 +L38: + dec_ref substitutions + dec_ref r1 + goto L33 +L39: + dec_ref substitutions + dec_ref r5 + goto L31 +L40: + dec_ref substitutions + dec_ref r1 + dec_ref r5 + goto L33 +L41: + dec_ref substitutions + dec_ref r1 + dec_ref r5 + dec_ref r7 + goto L33 +L42: + dec_ref r7 + goto L20 +L43: + dec_ref substitutions + dec_ref r1 + dec_ref r5 + dec_ref type_str + goto L33 +L44: + dec_ref substitutions + dec_ref r1 + dec_ref r5 + dec_ref type_str + dec_ref r15 + goto L33 +L45: + dec_ref substitutions + dec_ref r1 + dec_ref r5 + dec_ref r17 + goto L33 +L46: + dec_ref substitutions + dec_ref r1 + dec_ref r5 + dec_ref r19 + goto L33 +L47: + dec_ref substitutions + dec_ref r1 + dec_ref r5 + dec_ref type_str + dec_ref r27 + goto L33 +L48: + dec_ref r27 + dec_ref r30 + dec_ref r31 + goto L29 +L49: + dec_ref substitutions + dec_ref r1 + dec_ref r5 + dec_ref type_str + dec_ref r27 + dec_ref r30 + dec_ref r35 + goto L33 +L50: + dec_ref r36 + dec_ref r35 + goto L28 +L51: + dec_ref substitutions + dec_ref r1 + dec_ref r5 + dec_ref type_str + dec_ref r27 + dec_ref r30 + dec_ref r36 + dec_ref r35 + goto L33 +L52: + dec_ref substitutions + dec_ref r1 + dec_ref r5 + dec_ref r27 + dec_ref r30 + goto L33 +L53: + dec_ref substitutions + dec_ref r1 + dec_ref r5 + dec_ref type_str + dec_ref r27 + dec_ref r30 + goto L33 + +def build_function_signature(abi): + abi :: dict + r0 :: str + r1 :: object + r2 :: union[dict, None] + r3 :: list + r4 :: str + r5 :: object + r6, r7, r8, r9, r10, r11, r12 :: str +L0: + r0 = 'inputs' + r1 = CPyDict_GetItem(abi, r0) + if is_error(r1) goto L7 (error at build_function_signature:109) else goto L1 +L1: + r2 = :: union[dict, None] + r3 = get_type_strings(r1, r2) + dec_ref r1 + if is_error(r3) goto L7 (error at build_function_signature:109) else goto L2 +L2: + r4 = 'name' + r5 = CPyDict_GetItem(abi, r4) + if is_error(r5) goto L8 (error at build_function_signature:110) else goto L3 +L3: + r6 = cast(str, r5) + if is_error(r6) goto L8 (error at build_function_signature:110) else goto L4 +L4: + r7 = '(' + r8 = ',' + r9 = PyUnicode_Join(r8, r3) + dec_ref r3 + if is_error(r9) goto L9 (error at build_function_signature:110) else goto L5 +L5: + r10 = ')' + r11 = CPyStr_Build(4, r6, r7, r9, r10) + dec_ref r6 + dec_ref r9 + if is_error(r11) goto L7 (error at build_function_signature:110) else goto L6 +L6: + return r11 +L7: + r12 = :: str + return r12 +L8: + dec_ref r3 + goto L7 +L9: + dec_ref r6 + goto L7 + +def build_function_selector(input_signature): + input_signature, r0 :: str + r1 :: bytes + r2 :: object + r3 :: bool + r4 :: object[1] + r5 :: object_ptr + r6 :: object + r7 :: str + r8 :: object[1] + r9 :: object_ptr + r10, r11, r12, r13, r14, r15 :: object + r16, r17, r18 :: str +L0: + r0 = '0x' + r1 = PyUnicode_AsUTF8String(input_signature) + if is_error(r1) goto L11 (error at build_function_selector:114) else goto L1 +L1: + r2 = dank_mids.brownie_patch._abi.keccak :: static + if is_error(r2) goto L12 else goto L4 +L2: + r3 = raise NameError('value for final name "keccak" was not set') + if not r3 goto L11 (error at build_function_selector:114) else goto L3 :: bool +L3: + unreachable +L4: + r4 = [r1] + r5 = load_address r4 + r6 = PyObject_Vectorcall(r2, r5, 1, 0) + if is_error(r6) goto L13 (error at build_function_selector:114) else goto L5 +L5: + dec_ref r1 + r7 = 'hex' + r8 = [r6] + r9 = load_address r8 + r10 = PyObject_VectorcallMethod(r7, r9, 9223372036854775809, 0) + if is_error(r10) goto L14 (error at build_function_selector:114) else goto L6 +L6: + dec_ref r6 + r11 = load_address _Py_NoneStruct + r12 = load_address _Py_NoneStruct + r13 = object 8 + r14 = PySlice_New(r11, r13, r12) + if is_error(r14) goto L15 (error at build_function_selector:114) else goto L7 +L7: + r15 = PyObject_GetItem(r10, r14) + dec_ref r10 + dec_ref r14 + if is_error(r15) goto L11 (error at build_function_selector:114) else goto L8 +L8: + r16 = PyObject_Str(r15) + dec_ref r15 + if is_error(r16) goto L11 (error at build_function_selector:114) else goto L9 +L9: + r17 = CPyStr_Build(2, r0, r16) + dec_ref r16 + if is_error(r17) goto L11 (error at build_function_selector:114) else goto L10 +L10: + return r17 +L11: + r18 = :: str + return r18 +L12: + dec_ref r1 + goto L2 +L13: + dec_ref r1 + goto L11 +L14: + dec_ref r6 + goto L11 +L15: + dec_ref r10 + 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 :: 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 :: object + r33 :: dict + r34 :: str + r35 :: object + r36 :: dict + r37 :: str + r38, r39 :: object + r40 :: dict + r41 :: str + r42 :: object + r43 :: tuple[object, object] + r44, r45, r46 :: object + r47 :: tuple[object, object] + r48, r49 :: object + r50 :: dict + r51 :: str + r52 :: i32 + r53 :: bit + r54 :: dict + r55 :: str + r56, r57 :: object + r58 :: dict + r59 :: str + r60 :: i32 + r61 :: bit + r62 :: dict + r63 :: str + r64 :: object + r65 :: str + r66 :: object + r67 :: dict + r68 :: str + r69 :: i32 + r70 :: bit + r71 :: tuple + r72, r73 :: object + r74 :: str + r75 :: bool + r76, r77 :: str + r78 :: object + r79 :: object[2] + r80 :: object_ptr + r81 :: object + r82, r83, r84, r85 :: dict + r86 :: dank_mids.brownie_patch._abi.__init___FunctionABI_obj + r87 :: str + r88 :: i32 + r89 :: bit + r90 :: dank_mids.brownie_patch._abi.singleton_FunctionABI_obj + r91 :: object + r92 :: str + r93 :: object + r94 :: object[1] + r95 :: object_ptr + r96 :: object + r97 :: str + r98 :: i32 + r99 :: bit + r100, r101 :: str + r102 :: i32 + r103 :: bit + r104, r105 :: str + r106 :: i32 + r107 :: bit + r108, r109 :: str + r110 :: i32 + r111 :: bit + r112 :: object[3] + r113 :: object_ptr + r114 :: object + r115 :: dict + r116 :: str + r117, r118 :: object + r119 :: object[1] + r120 :: object_ptr + r121, r122 :: object + r123 :: object[1] + r124 :: object_ptr + r125 :: object + r126 :: dict + r127 :: str + r128 :: object + r129 :: object[1] + r130 :: object_ptr + r131 :: object + r132 :: dict + r133 :: str + r134 :: i32 + r135 :: bit + r136 :: object + r137 :: 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 L48 (error at :-1) else goto L2 +L2: + builtins = r4 :: module + dec_ref r4 +L3: + r5 = ('Any', 'Dict', 'Final', 'List', 'Optional', 'Sequence', 'Tuple', 'final') + r6 = 'typing' + r7 = dank_mids.brownie_patch._abi.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L48 (error at :1) else goto L4 +L4: + typing = r8 :: module + dec_ref r8 + r9 = ('WeakValueDictionary',) + r10 = 'weakref' + r11 = dank_mids.brownie_patch._abi.globals :: static + r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) + if is_error(r12) goto L48 (error at :2) else goto L5 +L5: + weakref = r12 :: module + dec_ref r12 + r13 = ('auto',) + r14 = 'eth_hash' + r15 = dank_mids.brownie_patch._abi.globals :: static + r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) + if is_error(r16) goto L48 (error at :4) else goto L6 +L6: + eth_hash = r16 :: module + dec_ref r16 + r17 = ('ABIComponent', 'ABIFunction') + r18 = 'eth_typing' + r19 = dank_mids.brownie_patch._abi.globals :: static + r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) + if is_error(r20) goto L48 (error at :5) else goto L7 +L7: + eth_typing = r20 :: module + dec_ref r20 + r21 = ('mypyc_attr',) + r22 = 'mypy_extensions' + r23 = dank_mids.brownie_patch._abi.globals :: static + r24 = CPyImport_ImportFromMany(r22, r21, r21, r23) + if is_error(r24) goto L48 (error at :6) else goto L8 +L8: + mypy_extensions = r24 :: module + dec_ref r24 + r25 = ('Unpack',) + r26 = 'typing_extensions' + r27 = dank_mids.brownie_patch._abi.globals :: static + r28 = CPyImport_ImportFromMany(r26, r25, r25, r27) + if is_error(r28) goto L48 (error at :7) else goto L9 +L9: + typing_extensions = r28 :: module + dec_ref r28 + r29 = ('make_hashable',) + r30 = 'dank_mids.helpers.hashing' + r31 = dank_mids.brownie_patch._abi.globals :: static + r32 = CPyImport_ImportFromMany(r30, r29, r29, r31) + if is_error(r32) goto L48 (error at :9) else goto L10 +L10: + dank_mids.helpers.hashing = r32 :: module + dec_ref r32 + r33 = dank_mids.brownie_patch._abi.globals :: static + r34 = 'Tuple' + r35 = CPyDict_GetItem(r33, r34) + if is_error(r35) goto L48 (error at :12) else goto L11 +L11: + r36 = dank_mids.brownie_patch._abi.globals :: static + r37 = 'Tuple' + r38 = CPyDict_GetItem(r36, r37) + if is_error(r38) goto L49 (error at :12) else goto L12 +L12: + r39 = load_address PyUnicode_Type + r40 = dank_mids.brownie_patch._abi.globals :: static + r41 = 'Any' + r42 = CPyDict_GetItem(r40, r41) + if is_error(r42) goto L50 (error at :12) else goto L13 +L13: + inc_ref r39 + r43 = (r39, r42) + r44 = box(tuple[object, object], r43) + r45 = PyObject_GetItem(r38, r44) + dec_ref r38 + dec_ref r44 + if is_error(r45) goto L49 (error at :12) else goto L14 +L14: + r46 = load_address _Py_EllipsisObject + inc_ref r46 + r47 = (r45, r46) + r48 = box(tuple[object, object], r47) + r49 = PyObject_GetItem(r35, r48) + dec_ref r35 + dec_ref r48 + if is_error(r49) goto L48 (error at :12) else goto L15 +L15: + r50 = dank_mids.brownie_patch._abi.globals :: static + r51 = 'SingletonKey' + r52 = CPyDict_SetItem(r50, r51, r49) + dec_ref r49 + r53 = r52 >= 0 :: signed + if not r53 goto L48 (error at :12) else goto L16 :: bool +L16: + r54 = dank_mids.brownie_patch._abi.globals :: static + r55 = 'WeakValueDictionary' + r56 = CPyDict_GetItem(r54, r55) + if is_error(r56) goto L48 (error at :14) else goto L17 +L17: + r57 = PyObject_Vectorcall(r56, 0, 0, 0) + dec_ref r56 + if is_error(r57) goto L48 (error at :14) else goto L18 +L18: + dank_mids.brownie_patch._abi._singletons = r57 :: static + r58 = dank_mids.brownie_patch._abi.globals :: static + r59 = '_singletons' + r60 = CPyDict_SetItem(r58, r59, r57) + dec_ref r57 + r61 = r60 >= 0 :: signed + if not r61 goto L48 (error at :14) else goto L19 :: bool +L19: + r62 = dank_mids.brownie_patch._abi.globals :: static + r63 = 'auto' + r64 = CPyDict_GetItem(r62, r63) + if is_error(r64) goto L48 (error at :17) else goto L20 +L20: + r65 = 'keccak' + r66 = CPyObject_GetAttr(r64, r65) + dec_ref r64 + if is_error(r66) goto L48 (error at :17) else goto L21 +L21: + dank_mids.brownie_patch._abi.keccak = r66 :: static + r67 = dank_mids.brownie_patch._abi.globals :: static + r68 = 'keccak' + r69 = CPyDict_SetItem(r67, r68, r66) + dec_ref r66 + r70 = r69 >= 0 :: signed + if not r70 goto L48 (error at :17) else goto L22 :: bool +L22: + r71 = CPyTuple_LoadEmptyTupleConstant() + r72 = load_address PyType_Type + r73 = CPy_CalculateMetaclass(r72, r71) + if is_error(r73) goto L51 (error at :31) else goto L23 +L23: + r74 = '__prepare__' + r75 = PyObject_HasAttr(r73, r74) + if r75 goto L24 else goto L28 :: bool +L24: + r76 = 'FunctionABI' + r77 = '__prepare__' + r78 = CPyObject_GetAttr(r73, r77) + if is_error(r78) goto L51 (error at :31) else goto L25 +L25: + r79 = [r76, r71] + r80 = load_address r79 + r81 = PyObject_Vectorcall(r78, r80, 2, 0) + dec_ref r78 + if is_error(r81) goto L51 (error at :31) else goto L26 +L26: + r82 = cast(dict, r81) + if is_error(r82) goto L51 (error at :31) else goto L27 +L27: + r83 = r82 + goto L30 +L28: + r84 = PyDict_New() + if is_error(r84) goto L51 (error at :31) else goto L29 +L29: + r83 = r84 +L30: + r85 = PyDict_New() + if is_error(r85) goto L52 (error at :31) else goto L31 +L31: + r86 = __init___FunctionABI_obj() + if is_error(r86) goto L53 (error at :39) else goto L32 +L32: + r87 = '__init__' + r88 = CPyDict_SetItem(r83, r87, r86) + dec_ref r86 + r89 = r88 >= 0 :: signed + if not r89 goto L53 (error at :39) else goto L33 :: bool +L33: + r90 = singleton_FunctionABI_obj() + if is_error(r90) goto L53 (error at :67) else goto L34 +L34: + r91 = builtins :: module + r92 = 'staticmethod' + r93 = CPyObject_GetAttr(r91, r92) + if is_error(r93) goto L54 (error at :67) else goto L35 +L35: + r94 = [r90] + r95 = load_address r94 + r96 = PyObject_Vectorcall(r93, r95, 1, 0) + dec_ref r93 + if is_error(r96) goto L54 (error at :67) else goto L36 +L36: + dec_ref r90 + r97 = 'singleton' + r98 = CPyDict_SetItem(r83, r97, r96) + dec_ref r96 + r99 = r98 >= 0 :: signed + if not r99 goto L53 (error at :67) else goto L37 :: bool +L37: + r100 = 'FunctionABI' + r101 = '__annotations__' + r102 = CPyDict_SetItem(r83, r101, r85) + dec_ref r85 + r103 = r102 >= 0 :: signed + if not r103 goto L52 (error at :31) else goto L38 :: bool +L38: + r104 = 'mypyc filler docstring' + r105 = '__doc__' + r106 = CPyDict_SetItem(r83, r105, r104) + r107 = r106 >= 0 :: signed + if not r107 goto L52 (error at :31) else goto L39 :: bool +L39: + r108 = 'dank_mids.brownie_patch._abi' + r109 = '__module__' + r110 = CPyDict_SetItem(r83, r109, r108) + r111 = r110 >= 0 :: signed + if not r111 goto L52 (error at :31) else goto L40 :: bool +L40: + r112 = [r100, r71, r83] + r113 = load_address r112 + r114 = PyObject_Vectorcall(r73, r113, 3, 0) + if is_error(r114) goto L52 (error at :31) else goto L41 +L41: + dec_ref r83 + dec_ref r71 + r115 = dank_mids.brownie_patch._abi.globals :: static + r116 = 'mypyc_attr' + r117 = CPyDict_GetItem(r115, r116) + if is_error(r117) goto L55 (error at :28) else goto L42 +L42: + r118 = box(bool, 0) + r119 = [r118] + r120 = load_address r119 + r121 = ('native_class',) + r122 = PyObject_Vectorcall(r117, r120, 0, r121) + dec_ref r117 + if is_error(r122) goto L55 (error at :28) else goto L43 +L43: + r123 = [r114] + r124 = load_address r123 + r125 = PyObject_Vectorcall(r122, r124, 1, 0) + dec_ref r122 + if is_error(r125) goto L55 (error at :31) else goto L44 +L44: + dec_ref r114 + r126 = dank_mids.brownie_patch._abi.globals :: static + r127 = 'final' + r128 = CPyDict_GetItem(r126, r127) + if is_error(r128) goto L56 (error at :27) else goto L45 +L45: + r129 = [r125] + r130 = load_address r129 + r131 = PyObject_Vectorcall(r128, r130, 1, 0) + dec_ref r128 + if is_error(r131) goto L56 (error at :31) else goto L46 +L46: + dec_ref r125 + dank_mids.brownie_patch._abi.FunctionABI = r131 :: type + r132 = dank_mids.brownie_patch._abi.globals :: static + r133 = 'FunctionABI' + r134 = PyDict_SetItem(r132, r133, r131) + dec_ref r131 + r135 = r134 >= 0 :: signed + if not r135 goto L48 (error at :31) else goto L47 :: bool +L47: + r136 = dank_mids.brownie_patch._abi.FunctionABI :: type + return 1 +L48: + r137 = :: None + return r137 +L49: + dec_ref r35 + goto L48 +L50: + dec_ref r35 + dec_ref r38 + goto L48 +L51: + dec_ref r71 + goto L48 +L52: + dec_ref r71 + dec_ref r83 + goto L48 +L53: + dec_ref r71 + dec_ref r83 + dec_ref r85 + goto L48 +L54: + dec_ref r71 + dec_ref r83 + dec_ref r85 + dec_ref r90 + goto L48 +L55: + dec_ref r114 + goto L48 +L56: + dec_ref r125 + goto L48 + +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__:21) else goto L1 :: bool +L1: + r3 = builtins :: module + r4 = 'BaseException' + r5 = CPyObject_GetAttr(r3, r4) + if is_error(r5) goto L6 (error at __init__:22) else goto L2 +L2: + r6 = 'error' + r7 = CPyObject_GetAttr(response, r6) + if is_error(r7) goto L7 (error at __init__:22) 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__:22) 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__:22) 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 :: str + r9 :: native_int + r10, r11, r12 :: bit + r13, r14, r15 :: int + r16 :: bit + r17 :: str + r18 :: list + r19 :: object + r20 :: str + r21 :: object + r22 :: str + r23 :: object + r24 :: str + r25 :: object[3] + r26 :: object_ptr + r27 :: object + r28 :: None +L0: + r0 = 'response' + r1 = PyObject_SetAttr(self, r0, response) + r2 = r1 >= 0 :: signed + if not r2 goto L18 (error at __init__:35) else goto L1 :: bool +L1: + r3 = 'error' + r4 = CPyObject_GetAttr(response, r3) + if is_error(r4) goto L18 (error at __init__:36) else goto L2 +L2: + r5 = 'message' + r6 = CPyObject_GetAttr(r4, r5) + dec_ref r4 + if is_error(r6) goto L18 (error at __init__:36) else goto L3 +L3: + r7 = cast(str, r6) + if is_error(r7) goto L18 (error at __init__:36) else goto L4 +L4: + message = r7 + r8 = ':' + r9 = CPyStr_Count(message, r8, 0) + r10 = r9 >= 0 :: signed + if not r10 goto L19 (error at __init__:37) else goto L5 :: bool +L5: + r11 = r9 <= 4611686018427387903 :: signed + if r11 goto L6 else goto L7 :: bool +L6: + r12 = r9 >= -4611686018427387904 :: signed + if r12 goto L9 else goto L7 :: bool +L7: + r13 = CPyTagged_FromInt64(r9) + if is_error(r13) goto L19 (error at __init__:37) else goto L8 +L8: + r14 = r13 + goto L10 +L9: + r15 = r9 << 1 + r14 = r15 +L10: + r16 = r14 == 2 + dec_ref r14 :: int + if r16 goto L11 else goto L15 :: bool +L11: + r17 = ':' + r18 = PyUnicode_Split(message, r17, -1) + dec_ref message + if is_error(r18) goto L18 (error at __init__:38) else goto L12 +L12: + r19 = CPyList_GetItemShort(r18, 2) + dec_ref r18 + if is_error(r19) goto L18 (error at __init__:38) else goto L13 +L13: + r20 = cast(str, r19) + if is_error(r20) goto L18 (error at __init__:38) else goto L14 +L14: + message = r20 +L15: + r21 = builtins :: module + r22 = 'BaseException' + r23 = CPyObject_GetAttr(r21, r22) + if is_error(r23) goto L19 (error at __init__:39) else goto L16 +L16: + r24 = '__init__' + r25 = [r23, self, message] + r26 = load_address r25 + r27 = PyObject_VectorcallMethod(r24, r26, 9223372036854775811, 0) + if is_error(r27) goto L20 (error at __init__:39) else goto L21 +L17: + dec_ref r23 + dec_ref message + return 1 +L18: + r28 = :: None + return r28 +L19: + dec_ref message + goto L18 +L20: + dec_ref message + dec_ref r23 + goto L18 +L21: + dec_ref r27 + goto L17 + +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:59) else goto L1 +L1: + r3 = 'error' + r4 = CPyObject_GetAttr(r2, r3) + dec_ref r2 + if is_error(r4) goto L9 (error at limit:59) else goto L2 +L2: + r5 = 'message' + r6 = CPyObject_GetAttr(r4, r5) + dec_ref r4 + if is_error(r6) goto L9 (error at limit:59) else goto L3 +L3: + r7 = re :: module + r8 = 'search' + r9 = CPyObject_GetAttr(r7, r8) + if is_error(r9) goto L10 (error at limit:59) 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:59) 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:59) 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:59) else goto L7 +L7: + dec_ref r14 + r19 = unbox(int, r18) + dec_ref r18 + if is_error(r19) goto L9 (error at limit:59) 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__:77) else goto L1 +L1: + r1 = PyList_New(0) + if is_error(r1) goto L16 (error at __init__:77) else goto L2 +L2: + r2 = CPyList_Extend(r1, r0) + dec_ref r0 + if is_error(r2) goto L17 (error at __init__:77) else goto L18 +L3: + r3 = PyList_Append(r1, request) + r4 = r3 >= 0 :: signed + if not r4 goto L17 (error at __init__:77) else goto L4 :: bool +L4: + r5 = PyList_AsTuple(r1) + dec_ref r1 + if is_error(r5) goto L15 (error at __init__:77) 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__:85) 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__:85) else goto L7 +L7: + r13 = '__init__' + r14 = CPyObject_GetAttr(r12, r13) + dec_ref r12 + if is_error(r14) goto L15 (error at __init__:85) else goto L8 +L8: + r15 = 'request_info' + r16 = CPyObject_GetAttr(exc, r15) + if is_error(r16) goto L19 (error at __init__:86) else goto L9 +L9: + r17 = 'history' + r18 = CPyObject_GetAttr(exc, r17) + if is_error(r18) goto L20 (error at __init__:87) else goto L10 +L10: + r19 = 'status' + r20 = CPyObject_GetAttr(exc, r19) + if is_error(r20) goto L21 (error at __init__:88) else goto L11 +L11: + r21 = 'message' + r22 = CPyObject_GetAttr(exc, r21) + if is_error(r22) goto L22 (error at __init__:89) else goto L12 +L12: + r23 = 'headers' + r24 = CPyObject_GetAttr(exc, r23) + if is_error(r24) goto L23 (error at __init__:90) 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__:85) 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 :: object + r23 :: str + r24 :: object[1] + r25 :: object_ptr + r26 :: object + r27 :: 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 L13 (error at __init__:104) else goto L2 :: bool +L2: unreachable -L167: - r478 = 'encode_elements' - r479 = PyObject_SetAttr(r476, r478, r475) - dec_ref r475 - r480 = r479 >= 0 :: signed - if not r480 goto L175 (error at :237) else goto L168 :: bool -L168: - r481 = dank_mids.helpers._codec.globals :: static - r482 = 'default_codec' - r483 = CPyDict_GetItem(r481, r482) - if is_error(r483) goto L175 (error at :240) else goto L169 -L169: - r484 = '_registry' - r485 = CPyObject_GetAttr(r483, r484) - dec_ref r483 - if is_error(r485) goto L175 (error at :240) else goto L170 -L170: - r486 = '(uint256,uint256,(bool,bytes)[])' - r487 = 'get_decoder' - r488 = [r485, r486] - r489 = load_address r488 - r490 = PyObject_VectorcallMethod(r487, r489, 9223372036854775810, 0) - if is_error(r490) goto L215 (error at :240) else goto L171 -L171: - dec_ref r485 - r491 = 'decode' - r492 = CPyObject_GetAttr(r490, r491) - dec_ref r490 - if is_error(r492) goto L175 (error at :240) else goto L172 -L172: - dank_mids.helpers._codec._mcall_decoder = r492 :: static - r493 = dank_mids.helpers._codec.globals :: static - r494 = '_mcall_decoder' - r495 = CPyDict_SetItem(r493, r494, r492) - dec_ref r492 - r496 = r495 >= 0 :: signed - if not r496 goto L175 (error at :240) else goto L173 :: bool -L173: - r497 = load_address PyBool_Type - r498 = dank_mids.helpers._codec.globals :: static - r499 = 'Success' - r500 = CPyDict_SetItem(r498, r499, r497) - r501 = r500 >= 0 :: signed - if not r501 goto L175 (error at :250) else goto L174 :: bool -L174: +L3: + r2 = 'unhandled exception inside dank mids internals: ' + r3 = PyObject_Str(exc) + if is_error(r3) goto L13 (error at __init__:104) else goto L4 +L4: + r4 = CPyStr_Build(2, r2, r3) + dec_ref r3 + if is_error(r4) goto L13 (error at __init__:104) 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 L14 (error at __init__:104) else goto L15 +L6: + dec_ref r4 + r11 = '_original_exception' + r12 = PyObject_SetAttr(self, r11, exc) + r13 = r12 >= 0 :: signed + if not r13 goto L13 (error at __init__:106) else goto L7 :: bool +L7: + r14 = builtins :: module + r15 = 'super' + r16 = CPyObject_GetAttr(r14, r15) + if is_error(r16) goto L13 (error at __init__:112) 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 L13 (error at __init__:112) else goto L9 +L9: + r21 = '__init__' + r22 = CPyObject_GetAttr(r20, r21) + dec_ref r20 + if is_error(r22) goto L13 (error at __init__:112) else goto L10 +L10: + r23 = PyObject_Repr(exc) + if is_error(r23) goto L16 (error at __init__:112) else goto L11 +L11: + r24 = [r23] + r25 = load_address r24 + r26 = PyObject_Vectorcall(r22, r25, 1, 0) + dec_ref r22 + if is_error(r26) goto L17 (error at __init__:112) else goto L18 +L12: + dec_ref r23 + return 1 +L13: + r27 = :: None + return r27 +L14: + dec_ref r4 + goto L13 +L15: + dec_ref r10 + goto L6 +L16: + dec_ref r22 + goto L13 +L17: + dec_ref r23 + goto L13 +L18: + dec_ref r26 + goto L12 + +def BatchResponseSortError.__init__(self, controller, calls, response): + self :: dank_mids._exceptions.BatchResponseSortError + controller, calls :: object + response :: list + r0 :: str + r1 :: i32 + r2 :: bit + r3 :: ptr + r4 :: native_int + r5 :: list + r6 :: native_int + r7 :: ptr + r8 :: native_int + r9 :: bit + r10, r11 :: ptr + r12 :: native_int + r13 :: ptr + r14 :: object + r15 :: dank_mids.helpers._codec.RawResponse + r16 :: bool + r17 :: object + r18 :: native_int + r19 :: str + r20 :: i32 + r21 :: bit + r22 :: object + r23 :: str + r24, r25 :: object + r26 :: object[2] + r27 :: object_ptr + r28 :: object + r29 :: str + r30 :: object + r31, r32 :: str + r33 :: object + r34, r35, r36 :: str + r37 :: object + r38, r39 :: str + r40 :: list + r41, r42 :: object + r43 :: str + r44 :: object + r45 :: union[int, str] + r46 :: i32 + r47, r48 :: bit + r49, r50, r51 :: str + r52 :: object + r53 :: list + r54, r55 :: str + r56 :: object[1] + r57 :: object_ptr + r58 :: object + r59 :: None +L0: + r0 = 'calls' + r1 = PyObject_SetAttr(self, r0, calls) + r2 = r1 >= 0 :: signed + if not r2 goto L30 (error at __init__:128) 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 L30 (error at __init__:134) else goto L2 +L2: + r6 = 0 +L3: + r7 = get_element_ptr response ob_size :: PyVarObject + r8 = load_mem r7 :: native_int* + r9 = r6 < r8 :: signed + if r9 goto L4 else goto L8 :: bool +L4: + r10 = get_element_ptr response ob_item :: PyListObject + r11 = load_mem r10 :: ptr* + r12 = r6 * 8 + r13 = r11 + r12 + r14 = load_mem r13 :: builtins.object* + r15 = cast(dank_mids.helpers._codec.RawResponse, r14) + if is_error(r15) goto L31 (error at __init__:134) else goto L5 +L5: + r16 = :: bool + r17 = r15.decode(r16) + dec_ref r15 + if is_error(r17) goto L31 (error at __init__:134) else goto L6 +L6: + CPyList_SetItemUnsafe(r5, r6, r17) +L7: + r18 = r6 + 1 + r6 = r18 + goto L3 +L8: + r19 = 'results' + r20 = PyObject_SetAttr(self, r19, r5) + dec_ref r5 + r21 = r20 >= 0 :: signed + if not r21 goto L30 (error at __init__:134) else goto L9 :: bool +L9: + r22 = builtins :: module + r23 = 'super' + r24 = CPyObject_GetAttr(r22, r23) + if is_error(r24) goto L30 (error at __init__:140) else goto L10 +L10: + r25 = dank_mids._exceptions.BatchResponseSortError :: type + r26 = [r25, self] + r27 = load_address r26 + r28 = PyObject_Vectorcall(r24, r27, 2, 0) + dec_ref r24 + if is_error(r28) goto L30 (error at __init__:140) else goto L11 +L11: + r29 = '__init__' + r30 = CPyObject_GetAttr(r28, r29) + dec_ref r28 + if is_error(r30) goto L30 (error at __init__:140) else goto L12 +L12: + r31 = 'This will not mess up your run but will make things needlessly slow. Please show this to Bob.\nendpoint=' + r32 = 'endpoint' + r33 = CPyObject_GetAttr(controller, r32) + if is_error(r33) goto L32 (error at __init__:142) else goto L13 +L13: + r34 = cast(str, r33) + if is_error(r34) goto L32 (error at __init__:142) else goto L14 +L14: + r35 = '\nclient_version=' + r36 = 'client_version' + r37 = CPyObject_GetAttr(controller, r36) + if is_error(r37) goto L33 (error at __init__:143) else goto L15 +L15: + r38 = cast(str, r37) + if is_error(r38) goto L33 (error at __init__:143) else goto L16 +L16: + r39 = '\ncalls=' + r40 = PyList_New(0) + if is_error(r40) goto L34 (error at __init__:144) else goto L17 +L17: + r41 = PyObject_GetIter(calls) + if is_error(r41) goto L35 (error at __init__:144) else goto L18 +L18: + r42 = PyIter_Next(r41) + if is_error(r42) goto L36 else goto L19 +L19: + r43 = 'uid' + r44 = CPyObject_GetAttr(r42, r43) + dec_ref r42 + if is_error(r44) goto L37 (error at __init__:144) else goto L20 +L20: + r45 = cast(union[int, str], r44) + if is_error(r45) goto L37 (error at __init__:144) else goto L21 +L21: + r46 = PyList_Append(r40, r45) + dec_ref r45 + r47 = r46 >= 0 :: signed + if not r47 goto L37 (error at __init__:144) else goto L18 :: bool +L22: + r48 = CPy_NoErrOccurred() + if not r48 goto L35 (error at __init__:144) else goto L23 :: bool +L23: + r49 = PyObject_Str(r40) + dec_ref r40 + if is_error(r49) goto L34 (error at __init__:141) else goto L24 +L24: + r50 = '\nresponse=' + r51 = 'results' + r52 = CPyObject_GetAttr(self, r51) + if is_error(r52) goto L38 (error at __init__:145) else goto L25 +L25: + r53 = cast(list, r52) + if is_error(r53) goto L38 (error at __init__:145) else goto L26 +L26: + r54 = PyObject_Str(r53) + dec_ref r53 + if is_error(r54) goto L38 (error at __init__:141) else goto L27 +L27: + r55 = CPyStr_Build(8, r31, r34, r35, r38, r39, r49, r50, r54) + dec_ref r34 + dec_ref r38 + dec_ref r49 + dec_ref r54 + if is_error(r55) goto L32 (error at __init__:141) else goto L28 +L28: + r56 = [r55] + r57 = load_address r56 + r58 = PyObject_Vectorcall(r30, r57, 1, 0) + dec_ref r30 + if is_error(r58) goto L39 (error at __init__:140) else goto L40 +L29: + dec_ref r55 return 1 -L175: - r502 = :: None - return r502 -L176: - dec_ref r77 - goto L175 -L177: - dec_ref r77 - dec_ref r80 - goto L175 -L178: - dec_ref r77 - dec_ref r80 - dec_ref r83 - goto L175 -L179: - dec_ref r96 - goto L175 -L180: - dec_ref r96 - dec_ref r100 - goto L175 -L181: - dec_ref r116 - goto L175 -L182: - dec_ref r116 - dec_ref r119 - goto L175 -L183: - dec_ref r116 - dec_ref r119 - dec_ref r122 - goto L175 -L184: - dec_ref r116 - dec_ref r119 - dec_ref r126 - goto L175 -L185: - dec_ref r116 - dec_ref r119 - dec_ref r126 - dec_ref r129 - goto L175 -L186: - dec_ref r146 - goto L175 -L187: - dec_ref r146 - dec_ref r149 - goto L175 -L188: - dec_ref r146 - dec_ref r149 - dec_ref r152 - goto L175 -L189: - dec_ref r146 - dec_ref r160 - goto L175 -L190: - dec_ref r146 - dec_ref r160 - dec_ref r163 - goto L175 -L191: - dec_ref r146 - dec_ref r160 - dec_ref r163 - dec_ref r166 - goto L175 -L192: - dec_ref r146 - dec_ref r160 - dec_ref r163 - dec_ref r166 - dec_ref r169 - goto L175 -L193: - dec_ref r188 - goto L175 -L194: - dec_ref r188 - dec_ref r191 - goto L175 -L195: - dec_ref r188 - dec_ref r191 - dec_ref r195 - goto L175 -L196: - dec_ref r188 - dec_ref r202 - goto L175 -L197: - dec_ref r216 - goto L175 -L198: - dec_ref r216 - dec_ref r221 - goto L175 -L199: - dec_ref r243 - goto L175 -L200: - dec_ref r266 - goto L175 -L201: - dec_ref r282 - goto L175 -L202: - dec_ref r282 - dec_ref r290 - goto L175 -L203: - dec_ref r282 - dec_ref r291 - goto L175 -L204: - dec_ref r282 - dec_ref r291 - dec_ref r296 - goto L175 -L205: - dec_ref r282 - dec_ref r291 - dec_ref r296 - dec_ref r299 - goto L175 -L206: - dec_ref r390 - goto L175 -L207: - dec_ref r403 - goto L175 -L208: - dec_ref r421 - goto L175 -L209: - dec_ref r449 - goto L147 -L210: - dec_ref r449 - goto L175 -L211: - dec_ref r449 - goto L151 -L212: - dec_ref r449 - goto L155 -L213: - dec_ref r467 - goto L160 -L214: - dec_ref r475 - goto L165 -L215: - dec_ref r485 - goto L175 +L30: + r59 = :: None + return r59 +L31: + dec_ref r5 + goto L30 +L32: + dec_ref r30 + goto L30 +L33: + dec_ref r30 + dec_ref r34 + goto L30 +L34: + dec_ref r30 + dec_ref r34 + dec_ref r38 + goto L30 +L35: + dec_ref r30 + dec_ref r34 + dec_ref r38 + dec_ref r40 + goto L30 +L36: + dec_ref r41 + goto L22 +L37: + dec_ref r30 + dec_ref r34 + dec_ref r38 + dec_ref r40 + dec_ref r41 + goto L30 +L38: + dec_ref r30 + dec_ref r34 + dec_ref r38 + dec_ref r49 + goto L30 +L39: + dec_ref r55 + goto L30 +L40: + dec_ref r58 + goto L29 + +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:168) 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:168) 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:168) 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:168) 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:168) else goto L5 +L7: + r11 = :: float + return r11 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 + 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 :: 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 + 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 :: 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 + 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 :: object - r85 :: dict - r86 :: str - r87 :: i32 - r88 :: bit - r89 :: dict - r90 :: str - r91 :: object + r84, r85 :: object + r86, r87 :: str + r88 :: tuple + r89 :: i32 + r90 :: bit + r91 :: dict r92 :: str - r93 :: object - r94 :: str + r93 :: i32 + r94 :: bit r95 :: object - r96 :: dict + r96 :: tuple r97 :: str - r98 :: i32 - r99 :: bit - r100 :: tuple[object, object, object] - r101 :: object - r102 :: str - r103 :: object + r98, r99 :: object + r100, r101 :: str + r102 :: tuple + r103 :: i32 r104 :: bit r105 :: dict r106 :: str - r107 :: object - r108 :: str + r107 :: i32 + r108 :: bit 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 + 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 :: i32 - r126, r127 :: bit - r128 :: dict - r129 :: str - r130 :: object - r131 :: str - r132 :: object - r133 :: dict - r134 :: str - r135 :: object - r136 :: str - r137 :: object + 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 :: object - r141 :: str - r142 :: object - r143 :: dict - r144 :: str - r145 :: object + r140 :: i32 + r141 :: bit + r142 :: dict + r143 :: str + r144, r145 :: object r146 :: str - r147, r148, r149, r150, r151 :: object - r152, r153 :: dict - r154 :: str - r155 :: i32 - r156 :: bit - r157 :: dict + r147, r148 :: object + r149 :: str + r150, r151 :: object + r152 :: str + r153, r154 :: object + r155 :: str + r156, r157 :: object 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 + 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 :: 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 + 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 @@ -42235,492 +42977,563 @@ 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 L88 (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 - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L80 (error at :2) else goto L4 + 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: - 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 + r16 = ('TYPE_CHECKING', 'Final', 'List', 'Sequence', '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: - 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 = 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: - 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 + aiohttp.client_exceptions = r23 :: module + dec_ref r23 + if 0 goto L7 else goto L7 :: bool 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 + r24 = 'dank_mids.exceptions' + r25 = logging :: module + r26 = 'getLogger' + r27 = CPyObject_GetAttr(r25, r26) + if is_error(r27) goto L88 (error at :14) 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 + r28 = [r24] + r29 = load_address r28 + r30 = PyObject_Vectorcall(r27, r29, 1, 0) + dec_ref r27 + if is_error(r30) goto L88 (error at :14) 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 + 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 :14) else goto L10 :: bool L10: - r36 = PySet_Add(r31, r29) - r37 = r36 >= 0 :: signed - if not r37 goto L81 (error at :8) else goto L11 :: bool + r35 = builtins :: module + r36 = 'ValueError' + r37 = CPyObject_GetAttr(r35, r36) + if is_error(r37) goto L88 (error at :17) 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 + r38 = PyTuple_Pack(1, r37) + dec_ref r37 + if is_error(r38) goto L88 (error at :17) else goto L12 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 + 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 :17) 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 + r42 = '__mypyc_attrs__' + r43 = '__dict__' + r44 = PyTuple_Pack(1, r43) + if is_error(r44) goto L89 (error at :17) else goto L14 L14: - r51 = PySet_Add(r50, r44) - r52 = r51 >= 0 :: signed - if not r52 goto L82 (error at :19) else goto L15 :: bool + r45 = PyObject_SetAttr(r41, r42, r44) + dec_ref r44 + r46 = r45 >= 0 :: signed + if not r46 goto L89 (error at :17) else goto L15 :: bool L15: - r53 = PySet_Add(r50, r45) - r54 = r53 >= 0 :: signed - if not r54 goto L82 (error at :19) else goto L16 :: bool + dank_mids._exceptions.BadResponse = r41 :: type + r47 = dank_mids._exceptions.globals :: static + r48 = 'BadResponse' + r49 = PyDict_SetItem(r47, r48, r41) + dec_ref r41 + r50 = r49 >= 0 :: signed + if not r50 goto L88 (error at :17) else goto L16 :: bool L16: - r55 = PySet_Add(r50, r46) - r56 = r55 >= 0 :: signed - if not r56 goto L82 (error at :19) else goto L17 :: bool + r51 = builtins :: module + r52 = 'ValueError' + r53 = CPyObject_GetAttr(r51, r52) + if is_error(r53) goto L88 (error at :26) 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 + r54 = PyTuple_Pack(1, r53) + dec_ref r53 + if is_error(r54) goto L88 (error at :26) 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 + 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 :26) 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 + r58 = '__mypyc_attrs__' + r59 = '__dict__' + r60 = PyTuple_Pack(1, r59) + if is_error(r60) goto L90 (error at :26) 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 + r61 = PyObject_SetAttr(r57, r58, r60) + dec_ref r60 + r62 = r61 >= 0 :: signed + if not r62 goto L90 (error at :26) else goto L21 :: bool 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 + dank_mids._exceptions.EmptyBatch = r57 :: type + r63 = dank_mids._exceptions.globals :: static + r64 = 'EmptyBatch' + r65 = PyDict_SetItem(r63, r64, r57) + dec_ref r57 + r66 = r65 >= 0 :: signed + if not r66 goto L88 (error at :26) else goto L22 :: bool L22: - r70 = 'constants' - r71 = CPyObject_GetAttr(r69, r70) - dec_ref r69 - if is_error(r71) goto L80 (error at :32) else goto L23 + r67 = dank_mids._exceptions.BadResponse :: type + r68 = PyTuple_Pack(1, r67) + if is_error(r68) goto L88 (error at :31) else goto L23 L23: - r72 = 'GAS_LIMIT' - r73 = CPyObject_GetAttr(r71, r72) - dec_ref r71 - if is_error(r73) goto L80 (error at :32) else goto L24 + 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 :31) 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 + r72 = '__mypyc_attrs__' + r73 = '__dict__' + r74 = PyTuple_Pack(1, r73) + if is_error(r74) goto L91 (error at :31) 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 + r75 = PyObject_SetAttr(r71, r72, r74) + dec_ref r74 + r76 = r75 >= 0 :: signed + if not r76 goto L91 (error at :31) else goto L26 :: bool L26: - r81 = 'constants' - r82 = CPyObject_GetAttr(r80, r81) - dec_ref r80 - if is_error(r82) goto L80 (error at :38) else goto L27 + dank_mids._exceptions.ExecutionReverted = r71 :: type + r77 = dank_mids._exceptions.globals :: static + r78 = 'ExecutionReverted' + r79 = PyDict_SetItem(r77, r78, r71) + dec_ref r71 + r80 = r79 >= 0 :: signed + if not r80 goto L88 (error at :31) else goto L27 :: bool L27: - r83 = 'MULTICALL2_BYTECODE' - r84 = CPyObject_GetAttr(r82, r83) - dec_ref r82 - if is_error(r84) goto L80 (error at :38) else goto L28 + r81 = dank_mids._exceptions.BadResponse :: type + r82 = PyTuple_Pack(1, r81) + if is_error(r82) goto L88 (error at :43) 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 + 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 :43) 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 + r86 = '__mypyc_attrs__' + r87 = '__dict__' + r88 = PyTuple_Pack(1, r87) + if is_error(r88) goto L92 (error at :43) else goto L30 L30: - r92 = 'constants' - r93 = CPyObject_GetAttr(r91, r92) - dec_ref r91 - if is_error(r93) goto L33 (error at :45) else goto L31 + r89 = PyObject_SetAttr(r85, r86, r88) + dec_ref r88 + r90 = r89 >= 0 :: signed + if not r90 goto L92 (error at :43) else goto L31 :: bool L31: - r94 = 'MULTICALL3_BYTECODE' - r95 = CPyObject_GetAttr(r93, r94) - dec_ref r93 - if is_error(r95) goto L33 (error at :45) else goto L32 + dank_mids._exceptions.OutOfGas = r85 :: type + r91 = dank_mids._exceptions.globals :: static + r92 = 'OutOfGas' + r93 = PyDict_SetItem(r91, r92, r85) + dec_ref r85 + r94 = r93 >= 0 :: signed + if not r94 goto L88 (error at :43) else goto L32 :: bool 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 + r95 = dank_mids._exceptions.BadResponse :: type + r96 = PyTuple_Pack(1, r95) + if is_error(r96) goto L88 (error at :48) 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 + 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 :48) else goto L34 L34: - r104 = CPy_ExceptionMatches(r103) - dec_ref r103 - if r104 goto L35 else goto L39 :: bool + r100 = '__mypyc_attrs__' + r101 = '__dict__' + r102 = PyTuple_Pack(1, r101) + if is_error(r102) goto L93 (error at :48) 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 + r103 = PyObject_SetAttr(r99, r100, r102) + dec_ref r102 + r104 = r103 >= 0 :: signed + if not r104 goto L93 (error at :48) else goto L36 :: bool L36: - r108 = 'constants' - r109 = CPyObject_GetAttr(r107, r108) - dec_ref r107 - if is_error(r109) goto L42 (error at :51) else goto L37 + dank_mids._exceptions.PayloadTooLarge = r99 :: type + r105 = dank_mids._exceptions.globals :: static + r106 = 'PayloadTooLarge' + r107 = PyDict_SetItem(r105, r106, r99) + dec_ref r99 + r108 = r107 >= 0 :: signed + if not r108 goto L88 (error at :48) else goto L37 :: bool L37: - r110 = 'MULTICALL2_BYTECODE' - r111 = CPyObject_GetAttr(r109, r110) - dec_ref r109 - if is_error(r111) goto L42 (error at :51) else goto L38 + r109 = dank_mids._exceptions.BadResponse :: type + r110 = PyTuple_Pack(1, r109) + if is_error(r110) goto L88 (error at :53) 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 + 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 :53) else goto L39 L39: - CPy_Reraise() - if not 0 goto L42 else goto L83 :: bool + r114 = '__mypyc_attrs__' + r115 = '__dict__' + r116 = PyTuple_Pack(1, r115) + if is_error(r116) goto L94 (error at :53) else goto L40 L40: - unreachable + r117 = PyObject_SetAttr(r113, r114, r116) + dec_ref r116 + r118 = r117 >= 0 :: signed + if not r118 goto L94 (error at :53) else goto L41 :: bool L41: - CPy_RestoreExcInfo(r100) - dec_ref r100 - goto L44 + dank_mids._exceptions.ExceedsMaxBatchSize = r113 :: type + r119 = dank_mids._exceptions.globals :: static + r120 = 'ExceedsMaxBatchSize' + r121 = PyDict_SetItem(r119, r120, r113) + dec_ref r113 + r122 = r121 >= 0 :: signed + if not r122 goto L88 (error at :53) else goto L42 :: bool L42: - CPy_RestoreExcInfo(r100) - dec_ref r100 - r116 = CPy_KeepPropagating() - if not r116 goto L45 else goto L43 :: bool + r123 = dank_mids._exceptions.globals :: static + r124 = 'ClientResponseError' + r125 = CPyDict_GetItem(r123, r124) + if is_error(r125) goto L88 (error at :63) else goto L43 L43: - unreachable + r126 = PyTuple_Pack(1, r125) + dec_ref r125 + if is_error(r126) goto L88 (error at :63) else goto L44 L44: - r117 = :: tuple[object, object, object] - r118 = r117 - goto L46 + 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 :63) else goto L45 L45: - r119 = CPy_CatchError() - r118 = r119 + r130 = DankMidsClientResponseError_trait_vtable_setup() + if is_error(r130) goto L95 (error at :-1) 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 + r131 = '__mypyc_attrs__' + r132 = 'request' + r133 = 'args' + r134 = '_exception' + r135 = PyTuple_Pack(3, r132, r133, r134) + if is_error(r135) goto L95 (error at :63) 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 + r136 = PyObject_SetAttr(r129, r131, r135) + dec_ref r135 + r137 = r136 >= 0 :: signed + if not r137 goto L95 (error at :63) else goto L48 :: bool L48: - if is_error(r118) goto L55 else goto L49 + dank_mids._exceptions.DankMidsClientResponseError = r129 :: type + r138 = dank_mids._exceptions.globals :: static + r139 = 'DankMidsClientResponseError' + r140 = PyDict_SetItem(r138, r139, r129) + dec_ref r129 + r141 = r140 >= 0 :: signed + if not r141 goto L88 (error at :63) else goto L49 :: bool L49: - CPy_Reraise() - if not 0 goto L51 else goto L84 :: bool + r142 = dank_mids._exceptions.globals :: static + r143 = 'Union' + r144 = CPyDict_GetItem(r142, r143) + if is_error(r144) goto L88 (error at :94) else goto L50 L50: - unreachable + r145 = builtins :: module + r146 = 'AttributeError' + r147 = CPyObject_GetAttr(r145, r146) + if is_error(r147) goto L96 (error at :95) else goto L51 L51: - if is_error(r118) goto L53 else goto L52 + r148 = builtins :: module + r149 = 'TypeError' + r150 = CPyObject_GetAttr(r148, r149) + if is_error(r150) goto L97 (error at :95) else goto L52 L52: - CPy_RestoreExcInfo(r118) - xdec_ref r118 + r151 = builtins :: module + r152 = 'UnboundLocalError' + r153 = CPyObject_GetAttr(r151, r152) + if is_error(r153) goto L98 (error at :95) else goto L53 L53: - r127 = CPy_KeepPropagating() - if not r127 goto L80 else goto L54 :: bool + r154 = builtins :: module + r155 = 'NotImplementedError' + r156 = CPyObject_GetAttr(r154, r155) + if is_error(r156) goto L99 (error at :95) else goto L54 L54: - unreachable + r157 = builtins :: module + r158 = 'RuntimeError' + r159 = CPyObject_GetAttr(r157, r158) + if is_error(r159) goto L100 (error at :95) 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 + r160 = builtins :: module + r161 = 'SyntaxError' + r162 = CPyObject_GetAttr(r160, r161) + if is_error(r162) goto L101 (error at :95) else goto L56 L56: - r131 = 'Mainnet' - r132 = CPyObject_GetAttr(r130, r131) - dec_ref r130 - if is_error(r132) goto L80 (error at :56) else goto L57 + 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 :94) 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 + 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 :94) 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 + r170 = dank_mids._exceptions.globals :: static + r171 = '_internal_err_types' + r172 = CPyDict_GetItem(r170, r171) + if is_error(r172) goto L88 (error at :97) 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 + 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 :97) else goto L60 :: bool L60: - r141 = 'Arbitrum' - r142 = CPyObject_GetAttr(r140, r141) - dec_ref r140 - if is_error(r142) goto L86 (error at :58) else goto L61 + r177 = builtins :: module + r178 = 'Exception' + r179 = CPyObject_GetAttr(r177, r178) + if is_error(r179) goto L88 (error at :100) 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 + r180 = PyTuple_Pack(1, r179) + dec_ref r179 + if is_error(r180) goto L88 (error at :100) 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 + 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 :100) 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 + r184 = '__mypyc_attrs__' + r185 = '__dict__' + r186 = PyTuple_Pack(1, r185) + if is_error(r186) goto L102 (error at :100) 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 + r187 = PyObject_SetAttr(r183, r184, r186) + dec_ref r186 + r188 = r187 >= 0 :: signed + if not r188 goto L102 (error at :100) 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 + dank_mids._exceptions.DankMidsInternalError = r183 :: type + r189 = dank_mids._exceptions.globals :: static + r190 = 'DankMidsInternalError' + r191 = PyDict_SetItem(r189, r190, r183) + dec_ref r183 + r192 = r191 >= 0 :: signed + if not r192 goto L88 (error at :100) else goto L66 :: bool L66: - r160 = 'Mainnet' - r161 = CPyObject_GetAttr(r159, r160) - dec_ref r159 - if is_error(r161) goto L80 (error at :64) else goto L67 + r193 = builtins :: module + r194 = 'Exception' + r195 = CPyObject_GetAttr(r193, r194) + if is_error(r195) goto L88 (error at :116) 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 + r196 = PyTuple_Pack(1, r195) + dec_ref r195 + if is_error(r196) goto L88 (error at :116) 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 + 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 :116) 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 + r200 = '__mypyc_attrs__' + r201 = '__dict__' + r202 = PyTuple_Pack(1, r201) + if is_error(r202) goto L103 (error at :116) 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 + r203 = PyObject_SetAttr(r199, r200, r202) + dec_ref r202 + r204 = r203 >= 0 :: signed + if not r204 goto L103 (error at :116) else goto L71 :: bool 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 + dank_mids._exceptions.BatchResponseSortError = r199 :: type + r205 = dank_mids._exceptions.globals :: static + r206 = 'BatchResponseSortError' + r207 = PyDict_SetItem(r205, r206, r199) + dec_ref r199 + r208 = r207 >= 0 :: signed + if not r208 goto L88 (error at :116) else goto L72 :: bool L72: - r175 = 'Optimism' - r176 = CPyObject_GetAttr(r174, r175) - dec_ref r174 - if is_error(r176) goto L90 (error at :67) else goto L73 + r209 = dank_mids._exceptions.BadResponse :: type + r210 = PyTuple_Pack(1, r209) + if is_error(r210) goto L88 (error at :149) 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 + 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 :149) 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 + r214 = '__mypyc_attrs__' + r215 = '__dict__' + r216 = PyTuple_Pack(1, r215) + if is_error(r216) goto L104 (error at :149) 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 + r217 = PyObject_SetAttr(r213, r214, r216) + dec_ref r216 + r218 = r217 >= 0 :: signed + if not r218 goto L104 (error at :149) 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 + dank_mids._exceptions.RateLimitError = r213 :: type + r219 = dank_mids._exceptions.globals :: static + r220 = 'RateLimitError' + r221 = PyDict_SetItem(r219, r220, r213) + dec_ref r213 + r222 = r221 >= 0 :: signed + if not r222 goto L88 (error at :149) 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 + r223 = dank_mids._exceptions.RateLimitError :: type + r224 = PyTuple_Pack(1, r223) + if is_error(r224) goto L88 (error at :153) else goto L78 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 + 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 :153) else goto L79 L79: - return 1 + r228 = '__mypyc_attrs__' + r229 = '__dict__' + r230 = PyTuple_Pack(1, r229) + if is_error(r230) goto L105 (error at :153) else goto L80 L80: - r216 = :: None - return r216 + r231 = PyObject_SetAttr(r227, r228, r230) + dec_ref r230 + r232 = r231 >= 0 :: signed + if not r232 goto L105 (error at :153) else goto L81 :: bool L81: - dec_ref r31 - goto L80 + dank_mids._exceptions.ChainstackRateLimitError = r227 :: type + r233 = dank_mids._exceptions.globals :: static + r234 = 'ChainstackRateLimitError' + r235 = PyDict_SetItem(r233, r234, r227) + dec_ref r227 + r236 = r235 >= 0 :: signed + if not r236 goto L88 (error at :153) else goto L82 :: bool L82: - dec_ref r50 - goto L80 + r237 = dank_mids._exceptions.RateLimitError :: type + r238 = PyTuple_Pack(1, r237) + if is_error(r238) goto L88 (error at :172) else goto L83 L83: - dec_ref r100 - goto L40 + 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 :172) else goto L84 L84: - xdec_ref r118 - goto L50 + r242 = '__mypyc_attrs__' + r243 = '__dict__' + r244 = PyTuple_Pack(1, r243) + if is_error(r244) goto L106 (error at :172) else goto L85 L85: - dec_ref r132 - goto L80 + r245 = PyObject_SetAttr(r241, r242, r244) + dec_ref r244 + r246 = r245 >= 0 :: signed + if not r246 goto L106 (error at :172) else goto L86 :: bool L86: - dec_ref r132 - dec_ref r137 - goto L80 + dank_mids._exceptions.QuiknodeRateLimitError = r241 :: type + r247 = dank_mids._exceptions.globals :: static + r248 = 'QuiknodeRateLimitError' + r249 = PyDict_SetItem(r247, r248, r241) + dec_ref r241 + r250 = r249 >= 0 :: signed + if not r250 goto L88 (error at :172) else goto L87 :: bool L87: - dec_ref r132 - dec_ref r137 - dec_ref r142 - goto L80 + return 1 L88: - dec_ref r161 - goto L80 + r251 = :: None + return r251 L89: - dec_ref r161 - dec_ref r166 - goto L80 + dec_ref r41 + goto L88 L90: - dec_ref r161 - dec_ref r166 - dec_ref r171 - goto L80 + dec_ref r57 + goto L88 L91: - dec_ref r161 - dec_ref r166 - dec_ref r171 - dec_ref r176 - goto L80 + 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 log_check(batch_type, member_type, num_calls): batch_type, member_type :: str diff --git a/dank_mids/ENVIRONMENT_VARIABLES.cp310-win_amd64.pyd b/dank_mids/ENVIRONMENT_VARIABLES.cp310-win_amd64.pyd index 1100c01d93..3b08763b07 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 7aa893d90e..db3cfb7263 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 bb56589add..75a1aa7aa2 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.cpython-310-darwin.so b/dank_mids/ENVIRONMENT_VARIABLES.cpython-310-darwin.so index 600bfa5bed..54eed52459 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-310-x86_64-linux-gnu.so b/dank_mids/ENVIRONMENT_VARIABLES.cpython-310-x86_64-linux-gnu.so index 002f822a91..61b43ef4a0 100755 Binary files a/dank_mids/ENVIRONMENT_VARIABLES.cpython-310-x86_64-linux-gnu.so and b/dank_mids/ENVIRONMENT_VARIABLES.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/ENVIRONMENT_VARIABLES.cpython-311-darwin.so b/dank_mids/ENVIRONMENT_VARIABLES.cpython-311-darwin.so index d0fa074110..98b236d7cc 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-311-x86_64-linux-gnu.so b/dank_mids/ENVIRONMENT_VARIABLES.cpython-311-x86_64-linux-gnu.so index 20fa5b934c..121e28b57d 100755 Binary files a/dank_mids/ENVIRONMENT_VARIABLES.cpython-311-x86_64-linux-gnu.so and b/dank_mids/ENVIRONMENT_VARIABLES.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/ENVIRONMENT_VARIABLES.cpython-312-darwin.so b/dank_mids/ENVIRONMENT_VARIABLES.cpython-312-darwin.so index 5e0bb69a13..4e67cd9e1b 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-312-x86_64-linux-gnu.so b/dank_mids/ENVIRONMENT_VARIABLES.cpython-312-x86_64-linux-gnu.so index 705c2ab498..bd457ae032 100755 Binary files a/dank_mids/ENVIRONMENT_VARIABLES.cpython-312-x86_64-linux-gnu.so and b/dank_mids/ENVIRONMENT_VARIABLES.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/_batch.cp310-win_amd64.pyd b/dank_mids/_batch.cp310-win_amd64.pyd index 7a3903ed72..5bd45f3643 100644 Binary files a/dank_mids/_batch.cp310-win_amd64.pyd and b/dank_mids/_batch.cp310-win_amd64.pyd differ diff --git a/dank_mids/_batch.cp311-win_amd64.pyd b/dank_mids/_batch.cp311-win_amd64.pyd index 516c026797..983d9582b9 100644 Binary files a/dank_mids/_batch.cp311-win_amd64.pyd and b/dank_mids/_batch.cp311-win_amd64.pyd differ diff --git a/dank_mids/_batch.cp312-win_amd64.pyd b/dank_mids/_batch.cp312-win_amd64.pyd index 860d33b738..6abcc4c252 100644 Binary files a/dank_mids/_batch.cp312-win_amd64.pyd and b/dank_mids/_batch.cp312-win_amd64.pyd differ diff --git a/dank_mids/_batch.cpython-310-darwin.so b/dank_mids/_batch.cpython-310-darwin.so index 22a811ec61..4794c0c6a2 100755 Binary files a/dank_mids/_batch.cpython-310-darwin.so and b/dank_mids/_batch.cpython-310-darwin.so differ diff --git a/dank_mids/_batch.cpython-310-x86_64-linux-gnu.so b/dank_mids/_batch.cpython-310-x86_64-linux-gnu.so index 10dc9403f1..be3975b8f0 100755 Binary files a/dank_mids/_batch.cpython-310-x86_64-linux-gnu.so and b/dank_mids/_batch.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/_batch.cpython-311-darwin.so b/dank_mids/_batch.cpython-311-darwin.so index 0643ede807..286cba4690 100755 Binary files a/dank_mids/_batch.cpython-311-darwin.so and b/dank_mids/_batch.cpython-311-darwin.so differ diff --git a/dank_mids/_batch.cpython-311-x86_64-linux-gnu.so b/dank_mids/_batch.cpython-311-x86_64-linux-gnu.so index e15772307d..e99bd95564 100755 Binary files a/dank_mids/_batch.cpython-311-x86_64-linux-gnu.so and b/dank_mids/_batch.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/_batch.cpython-312-darwin.so b/dank_mids/_batch.cpython-312-darwin.so index f4eb25a84e..998672eb12 100755 Binary files a/dank_mids/_batch.cpython-312-darwin.so and b/dank_mids/_batch.cpython-312-darwin.so differ diff --git a/dank_mids/_batch.cpython-312-x86_64-linux-gnu.so b/dank_mids/_batch.cpython-312-x86_64-linux-gnu.so index 9a7ff07b4d..a5ecd13cfd 100755 Binary files a/dank_mids/_batch.cpython-312-x86_64-linux-gnu.so and b/dank_mids/_batch.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/_demo_mode.cp310-win_amd64.pyd b/dank_mids/_demo_mode.cp310-win_amd64.pyd index 4e18a62c00..a5c6916ab3 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 1408e7bb40..c3fc568b38 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 5958e0ca3f..092f418b96 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.cpython-310-darwin.so b/dank_mids/_demo_mode.cpython-310-darwin.so index 9f090dc81a..ace7ceeaee 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-310-x86_64-linux-gnu.so b/dank_mids/_demo_mode.cpython-310-x86_64-linux-gnu.so index 181f34cd6e..af3e141eef 100755 Binary files a/dank_mids/_demo_mode.cpython-310-x86_64-linux-gnu.so and b/dank_mids/_demo_mode.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/_demo_mode.cpython-311-darwin.so b/dank_mids/_demo_mode.cpython-311-darwin.so index a9bc550a56..77667f08ca 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-311-x86_64-linux-gnu.so b/dank_mids/_demo_mode.cpython-311-x86_64-linux-gnu.so index 2d264007e2..354cd07027 100755 Binary files a/dank_mids/_demo_mode.cpython-311-x86_64-linux-gnu.so and b/dank_mids/_demo_mode.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/_demo_mode.cpython-312-darwin.so b/dank_mids/_demo_mode.cpython-312-darwin.so index e8ff4020d1..503076e46a 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-312-x86_64-linux-gnu.so b/dank_mids/_demo_mode.cpython-312-x86_64-linux-gnu.so index 9d241eefee..96efe7d0cb 100755 Binary files a/dank_mids/_demo_mode.cpython-312-x86_64-linux-gnu.so and b/dank_mids/_demo_mode.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/_envs.cp310-win_amd64.pyd b/dank_mids/_envs.cp310-win_amd64.pyd index f08877d490..7babd2433d 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 c5e7624914..2dbb8434fb 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 c8a8e90e35..98f6503a33 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.cpython-310-darwin.so b/dank_mids/_envs.cpython-310-darwin.so index af9fd43be9..94558aab92 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-310-x86_64-linux-gnu.so b/dank_mids/_envs.cpython-310-x86_64-linux-gnu.so index 23ae97707f..1bba64e0f1 100755 Binary files a/dank_mids/_envs.cpython-310-x86_64-linux-gnu.so and b/dank_mids/_envs.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/_envs.cpython-311-darwin.so b/dank_mids/_envs.cpython-311-darwin.so index 55e9233cbd..1395aec43e 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-311-x86_64-linux-gnu.so b/dank_mids/_envs.cpython-311-x86_64-linux-gnu.so index 6e6c2649da..7b2b5084bf 100755 Binary files a/dank_mids/_envs.cpython-311-x86_64-linux-gnu.so and b/dank_mids/_envs.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/_envs.cpython-312-darwin.so b/dank_mids/_envs.cpython-312-darwin.so index 0b58b9b188..bfe195c261 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-312-x86_64-linux-gnu.so b/dank_mids/_envs.cpython-312-x86_64-linux-gnu.so index 68092fda5c..8779f9bfc5 100755 Binary files a/dank_mids/_envs.cpython-312-x86_64-linux-gnu.so and b/dank_mids/_envs.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/_eth_utils.cp310-win_amd64.pyd b/dank_mids/_eth_utils.cp310-win_amd64.pyd index 9308ae1a2d..ea4765360c 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 1b5590132a..fddb9008bf 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 8b26629c26..391422bd66 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.cpython-310-darwin.so b/dank_mids/_eth_utils.cpython-310-darwin.so index 4fc426f687..b229cd931e 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-310-x86_64-linux-gnu.so b/dank_mids/_eth_utils.cpython-310-x86_64-linux-gnu.so index c95978cdbf..2fc5ff50db 100755 Binary files a/dank_mids/_eth_utils.cpython-310-x86_64-linux-gnu.so and b/dank_mids/_eth_utils.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/_eth_utils.cpython-311-darwin.so b/dank_mids/_eth_utils.cpython-311-darwin.so index 9e65238552..72af3fec82 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-311-x86_64-linux-gnu.so b/dank_mids/_eth_utils.cpython-311-x86_64-linux-gnu.so index 053fbcf6ea..578449e95e 100755 Binary files a/dank_mids/_eth_utils.cpython-311-x86_64-linux-gnu.so and b/dank_mids/_eth_utils.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/_eth_utils.cpython-312-darwin.so b/dank_mids/_eth_utils.cpython-312-darwin.so index da6378f2a0..8e41ed68d7 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-312-x86_64-linux-gnu.so b/dank_mids/_eth_utils.cpython-312-x86_64-linux-gnu.so index ae5ef27b70..7a01681278 100755 Binary files a/dank_mids/_eth_utils.cpython-312-x86_64-linux-gnu.so and b/dank_mids/_eth_utils.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/_exceptions.cp310-win_amd64.pyd b/dank_mids/_exceptions.cp310-win_amd64.pyd index 28c13668a8..254615b736 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 5f9e75858f..4980a074d1 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 0615eb9a0b..692f2b641a 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.cpython-310-darwin.so b/dank_mids/_exceptions.cpython-310-darwin.so index c1a416e234..3d22b6de23 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-310-x86_64-linux-gnu.so b/dank_mids/_exceptions.cpython-310-x86_64-linux-gnu.so index a376439f88..6bddbd896e 100755 Binary files a/dank_mids/_exceptions.cpython-310-x86_64-linux-gnu.so and b/dank_mids/_exceptions.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/_exceptions.cpython-311-darwin.so b/dank_mids/_exceptions.cpython-311-darwin.so index 33a10e326a..21ac306706 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-311-x86_64-linux-gnu.so b/dank_mids/_exceptions.cpython-311-x86_64-linux-gnu.so index 2f242f5f26..edb8102cdd 100755 Binary files a/dank_mids/_exceptions.cpython-311-x86_64-linux-gnu.so and b/dank_mids/_exceptions.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/_exceptions.cpython-312-darwin.so b/dank_mids/_exceptions.cpython-312-darwin.so index 21fb203c6b..0e3b90afb5 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-312-x86_64-linux-gnu.so b/dank_mids/_exceptions.cpython-312-x86_64-linux-gnu.so index 97c3fcca28..6a9745db55 100755 Binary files a/dank_mids/_exceptions.cpython-312-x86_64-linux-gnu.so and b/dank_mids/_exceptions.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/_logging.cp310-win_amd64.pyd b/dank_mids/_logging.cp310-win_amd64.pyd index 049c881099..75a9c6753a 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 4f00e92c55..784face605 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 3dcde46c0b..83e6ea26b5 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.cpython-310-darwin.so b/dank_mids/_logging.cpython-310-darwin.so index d826d9ee83..af49c05f7c 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-310-x86_64-linux-gnu.so b/dank_mids/_logging.cpython-310-x86_64-linux-gnu.so index f4a1dbccd7..e42bed4c3e 100755 Binary files a/dank_mids/_logging.cpython-310-x86_64-linux-gnu.so and b/dank_mids/_logging.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/_logging.cpython-311-darwin.so b/dank_mids/_logging.cpython-311-darwin.so index 7618079fbc..136ce01e52 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-311-x86_64-linux-gnu.so b/dank_mids/_logging.cpython-311-x86_64-linux-gnu.so index ef678d216e..e621fd569b 100755 Binary files a/dank_mids/_logging.cpython-311-x86_64-linux-gnu.so and b/dank_mids/_logging.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/_logging.cpython-312-darwin.so b/dank_mids/_logging.cpython-312-darwin.so index ef64eb3ea7..0ac700d1ee 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-312-x86_64-linux-gnu.so b/dank_mids/_logging.cpython-312-x86_64-linux-gnu.so index 010e08e13e..6002e5d8dc 100755 Binary files a/dank_mids/_logging.cpython-312-x86_64-linux-gnu.so and b/dank_mids/_logging.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/_requests.py b/dank_mids/_requests/__init__.py similarity index 98% rename from dank_mids/_requests.py rename to dank_mids/_requests/__init__.py index d6c21173a2..063ea8a4fe 100644 --- a/dank_mids/_requests.py +++ b/dank_mids/_requests/__init__.py @@ -69,6 +69,7 @@ internal_err_types, ) from dank_mids._logging import DEBUG, getLogger +from dank_mids._requests.base import _RequestBase from dank_mids.exceptions import GarbageCollectionError from dank_mids.helpers import DebuggableFuture, _codec, _session, batch_size, gatherish from dank_mids.helpers._codec import ( @@ -155,33 +156,6 @@ def set(self) -> None: _owner = "[not displayed...]" -class _RequestBase(Generic[_Response]): - _fut: DebuggableFuture - _batch: Optional["_Batch"] = None - - __slots__ = "controller", "uid", "_fut", "__weakref__" - - def __init__(self, controller: "DankMiddlewareController", uid: Optional[str] = None) -> None: - self.controller: "DankMiddlewareController" = controller - """The DankMiddlewareController that created this request.""" - - self.uid = controller.call_uid.next if uid is None else uid - """The unique id for this request.""" - - self._fut = DebuggableFuture(self, controller._loop) - - def __await__(self) -> Generator[Any, None, _Response]: - return self.get_response().__await__() - - # Abstract methods to be implemented by subclasses - - def __len__(self) -> int: - raise NotImplementedError - - async def get_response(self) -> _Response: - raise NotImplementedError - - ### Single requests: _REVERT_EXC_TYPES: Final = ContractLogicError, ExecutionReverted @@ -230,7 +204,7 @@ def __init__( if not should_batch_method(method): self.should_batch = False - if logger.isEnabledFor(DEBUG): + if _logger_is_enabled_for(DEBUG): self._debug_logs_enabled = True if controller.max_jsonrpc_batch_size <= 50: @@ -246,13 +220,13 @@ def __init__( controller._pending_rpc_calls_append(self) _demo_logger_info("added to queue (cid: %s)", self.uid) if _logger_is_enabled_for(DEBUG): - self._daemon = create_task(self._debug_daemon(), name="RPCRequest debug daemon") + self._daemon = create_task(self._fut.__debug_daemon(), name="RPCRequest debug daemon") def __hash__(self) -> int: return id(self) def __eq__(self, __o: object) -> bool: - return (self.uid == __o.uid) if type(__o) is type(self) else False + return (self.uid == __o.uid) if type(__o) is type(self) else False # type: ignore [attr-defined] def __len__(self) -> int: # NOTE: We dont need to consider response size for each method for very small batch sizes since the requests/responses will never get too large diff --git a/dank_mids/_requests/base.cp310-win_amd64.pyd b/dank_mids/_requests/base.cp310-win_amd64.pyd new file mode 100644 index 0000000000..4b015d04e7 Binary files /dev/null and b/dank_mids/_requests/base.cp310-win_amd64.pyd differ diff --git a/dank_mids/_requests/base.cp311-win_amd64.pyd b/dank_mids/_requests/base.cp311-win_amd64.pyd new file mode 100644 index 0000000000..f384516da7 Binary files /dev/null and b/dank_mids/_requests/base.cp311-win_amd64.pyd differ diff --git a/dank_mids/_requests/base.cp312-win_amd64.pyd b/dank_mids/_requests/base.cp312-win_amd64.pyd new file mode 100644 index 0000000000..65c5cac6e8 Binary files /dev/null and b/dank_mids/_requests/base.cp312-win_amd64.pyd differ diff --git a/dank_mids/_requests/base.cpython-310-darwin.so b/dank_mids/_requests/base.cpython-310-darwin.so new file mode 100755 index 0000000000..1d8a2b8837 Binary files /dev/null and b/dank_mids/_requests/base.cpython-310-darwin.so differ diff --git a/dank_mids/_requests/base.cpython-310-x86_64-linux-gnu.so b/dank_mids/_requests/base.cpython-310-x86_64-linux-gnu.so new file mode 100755 index 0000000000..909b861daf Binary files /dev/null and b/dank_mids/_requests/base.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/_requests/base.cpython-311-darwin.so b/dank_mids/_requests/base.cpython-311-darwin.so new file mode 100755 index 0000000000..39d18b54b3 Binary files /dev/null and b/dank_mids/_requests/base.cpython-311-darwin.so differ diff --git a/dank_mids/_requests/base.cpython-311-x86_64-linux-gnu.so b/dank_mids/_requests/base.cpython-311-x86_64-linux-gnu.so new file mode 100755 index 0000000000..9ead633536 Binary files /dev/null and b/dank_mids/_requests/base.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/_requests/base.cpython-312-darwin.so b/dank_mids/_requests/base.cpython-312-darwin.so new file mode 100755 index 0000000000..0ff2af7121 Binary files /dev/null and b/dank_mids/_requests/base.cpython-312-darwin.so differ diff --git a/dank_mids/_requests/base.cpython-312-x86_64-linux-gnu.so b/dank_mids/_requests/base.cpython-312-x86_64-linux-gnu.so new file mode 100755 index 0000000000..951d7c6573 Binary files /dev/null and b/dank_mids/_requests/base.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/_requests/base.py b/dank_mids/_requests/base.py new file mode 100644 index 0000000000..e69d28ae3b --- /dev/null +++ b/dank_mids/_requests/base.py @@ -0,0 +1,44 @@ +from typing import TYPE_CHECKING, Any, Final, Generator, Generic, Optional, Union + +from mypy_extensions import mypyc_attr + +from dank_mids.helpers import DebuggableFuture + +if TYPE_CHECKING: + from dank_mids.controller import DankMiddlewareController + from dank_mids._batch import DankBatch + from dank_mids._requests import _Response, JSONRPCBatch, Multicall + + +__all__ = ["_RequestBase"] + + +Batch = Union["Multicall", "JSONRPCBatch", "DankBatch"] + + +@mypyc_attr(native_class=False) +# TODO: replace `native_class` with `supports_weakref` once PR is merged +class _RequestBase(Generic["_Response"]): + + __slots__ = "controller", "uid", "_batch", "_fut", "__weakref__" + + def __init__(self, controller: "DankMiddlewareController", uid: Optional[str] = None) -> None: + self.controller: Final = controller + """The DankMiddlewareController that created this request.""" + + self.uid: Final = controller.call_uid.next if uid is None else uid + """The unique id for this request.""" + + self._batch: Optional[Batch] = None + self._fut: Final = DebuggableFuture(self, controller._loop) + + def __await__(self) -> Generator[Any, None, "_Response"]: + return self.get_response().__await__() + + # Abstract methods to be implemented by subclasses + + def __len__(self) -> int: + raise NotImplementedError + + async def get_response(self) -> "_Response": + raise NotImplementedError diff --git a/dank_mids/_uid.cp310-win_amd64.pyd b/dank_mids/_uid.cp310-win_amd64.pyd index d48c737d43..c9445053d8 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 e1763db7d9..17fcf7829c 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 8bf9fb0fef..f4911b4cb1 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.cpython-310-darwin.so b/dank_mids/_uid.cpython-310-darwin.so index 96ac3db6f6..1de56b104b 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-310-x86_64-linux-gnu.so b/dank_mids/_uid.cpython-310-x86_64-linux-gnu.so index 01b93ecd13..1896f8a1e7 100755 Binary files a/dank_mids/_uid.cpython-310-x86_64-linux-gnu.so and b/dank_mids/_uid.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/_uid.cpython-311-darwin.so b/dank_mids/_uid.cpython-311-darwin.so index cf99aa45b9..e8e8e3963d 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-311-x86_64-linux-gnu.so b/dank_mids/_uid.cpython-311-x86_64-linux-gnu.so index 959e193af1..9fe2aae49a 100755 Binary files a/dank_mids/_uid.cpython-311-x86_64-linux-gnu.so and b/dank_mids/_uid.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/_uid.cpython-312-darwin.so b/dank_mids/_uid.cpython-312-darwin.so index 21fc587b3b..754c77e43f 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-312-x86_64-linux-gnu.so b/dank_mids/_uid.cpython-312-x86_64-linux-gnu.so index 1b28a50add..5c6fbd4c5d 100755 Binary files a/dank_mids/_uid.cpython-312-x86_64-linux-gnu.so and b/dank_mids/_uid.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/_web3/abi.cp310-win_amd64.pyd b/dank_mids/_web3/abi.cp310-win_amd64.pyd index 5d66d67941..d0e55b210b 100644 Binary files a/dank_mids/_web3/abi.cp310-win_amd64.pyd and b/dank_mids/_web3/abi.cp310-win_amd64.pyd differ diff --git a/dank_mids/_web3/abi.cp311-win_amd64.pyd b/dank_mids/_web3/abi.cp311-win_amd64.pyd index d39c89401b..8df17e64d3 100644 Binary files a/dank_mids/_web3/abi.cp311-win_amd64.pyd and b/dank_mids/_web3/abi.cp311-win_amd64.pyd differ diff --git a/dank_mids/_web3/abi.cp312-win_amd64.pyd b/dank_mids/_web3/abi.cp312-win_amd64.pyd index ef8e62e47f..cb431f2483 100644 Binary files a/dank_mids/_web3/abi.cp312-win_amd64.pyd and b/dank_mids/_web3/abi.cp312-win_amd64.pyd differ diff --git a/dank_mids/_web3/abi.cpython-310-darwin.so b/dank_mids/_web3/abi.cpython-310-darwin.so index 65d779844e..6feb4a5a1d 100755 Binary files a/dank_mids/_web3/abi.cpython-310-darwin.so and b/dank_mids/_web3/abi.cpython-310-darwin.so differ diff --git a/dank_mids/_web3/abi.cpython-310-x86_64-linux-gnu.so b/dank_mids/_web3/abi.cpython-310-x86_64-linux-gnu.so index 2bffab6a74..0ee8077bb9 100755 Binary files a/dank_mids/_web3/abi.cpython-310-x86_64-linux-gnu.so and b/dank_mids/_web3/abi.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/_web3/abi.cpython-311-darwin.so b/dank_mids/_web3/abi.cpython-311-darwin.so index d79faed3c9..399dbca021 100755 Binary files a/dank_mids/_web3/abi.cpython-311-darwin.so and b/dank_mids/_web3/abi.cpython-311-darwin.so differ diff --git a/dank_mids/_web3/abi.cpython-311-x86_64-linux-gnu.so b/dank_mids/_web3/abi.cpython-311-x86_64-linux-gnu.so index c4ec0842d2..8cdafde85d 100755 Binary files a/dank_mids/_web3/abi.cpython-311-x86_64-linux-gnu.so and b/dank_mids/_web3/abi.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/_web3/abi.cpython-312-darwin.so b/dank_mids/_web3/abi.cpython-312-darwin.so index 30683622c4..94cf2a30d3 100755 Binary files a/dank_mids/_web3/abi.cpython-312-darwin.so and b/dank_mids/_web3/abi.cpython-312-darwin.so differ diff --git a/dank_mids/_web3/abi.cpython-312-x86_64-linux-gnu.so b/dank_mids/_web3/abi.cpython-312-x86_64-linux-gnu.so index c04d3cf116..a817a42ee2 100755 Binary files a/dank_mids/_web3/abi.cpython-312-x86_64-linux-gnu.so and b/dank_mids/_web3/abi.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/_web3/formatters.cp310-win_amd64.pyd b/dank_mids/_web3/formatters.cp310-win_amd64.pyd index b286bd86e1..16d6619409 100644 Binary files a/dank_mids/_web3/formatters.cp310-win_amd64.pyd and b/dank_mids/_web3/formatters.cp310-win_amd64.pyd differ diff --git a/dank_mids/_web3/formatters.cp311-win_amd64.pyd b/dank_mids/_web3/formatters.cp311-win_amd64.pyd index 41f9e30e55..1dceb6fcf0 100644 Binary files a/dank_mids/_web3/formatters.cp311-win_amd64.pyd and b/dank_mids/_web3/formatters.cp311-win_amd64.pyd differ diff --git a/dank_mids/_web3/formatters.cp312-win_amd64.pyd b/dank_mids/_web3/formatters.cp312-win_amd64.pyd index 6a33daabce..185156903a 100644 Binary files a/dank_mids/_web3/formatters.cp312-win_amd64.pyd and b/dank_mids/_web3/formatters.cp312-win_amd64.pyd differ diff --git a/dank_mids/_web3/formatters.cpython-310-darwin.so b/dank_mids/_web3/formatters.cpython-310-darwin.so index 5280015264..39496137d7 100755 Binary files a/dank_mids/_web3/formatters.cpython-310-darwin.so and b/dank_mids/_web3/formatters.cpython-310-darwin.so differ diff --git a/dank_mids/_web3/formatters.cpython-310-x86_64-linux-gnu.so b/dank_mids/_web3/formatters.cpython-310-x86_64-linux-gnu.so index 323175a767..95aed298ae 100755 Binary files a/dank_mids/_web3/formatters.cpython-310-x86_64-linux-gnu.so and b/dank_mids/_web3/formatters.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/_web3/formatters.cpython-311-darwin.so b/dank_mids/_web3/formatters.cpython-311-darwin.so index 50748820c5..0fc01faafb 100755 Binary files a/dank_mids/_web3/formatters.cpython-311-darwin.so and b/dank_mids/_web3/formatters.cpython-311-darwin.so differ diff --git a/dank_mids/_web3/formatters.cpython-311-x86_64-linux-gnu.so b/dank_mids/_web3/formatters.cpython-311-x86_64-linux-gnu.so index 08edde88c9..f282468b1c 100755 Binary files a/dank_mids/_web3/formatters.cpython-311-x86_64-linux-gnu.so and b/dank_mids/_web3/formatters.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/_web3/formatters.cpython-312-darwin.so b/dank_mids/_web3/formatters.cpython-312-darwin.so index e693915347..d0cd0b8f4a 100755 Binary files a/dank_mids/_web3/formatters.cpython-312-darwin.so and b/dank_mids/_web3/formatters.cpython-312-darwin.so differ diff --git a/dank_mids/_web3/formatters.cpython-312-x86_64-linux-gnu.so b/dank_mids/_web3/formatters.cpython-312-x86_64-linux-gnu.so index a13209c806..657648aad7 100755 Binary files a/dank_mids/_web3/formatters.cpython-312-x86_64-linux-gnu.so and b/dank_mids/_web3/formatters.cpython-312-x86_64-linux-gnu.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 45457db0d6..041c735fd3 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 3261c2bfc0..868d8e92f1 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 776239f2e5..eea59d33e4 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__.cpython-310-darwin.so b/dank_mids/brownie_patch/__init__.cpython-310-darwin.so index f5a1831a07..2f9ce040a1 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-310-x86_64-linux-gnu.so b/dank_mids/brownie_patch/__init__.cpython-310-x86_64-linux-gnu.so index 524511ecf1..237d482f8d 100755 Binary files a/dank_mids/brownie_patch/__init__.cpython-310-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/__init__.cpython-310-x86_64-linux-gnu.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 11ff013ce8..58c040de05 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-311-x86_64-linux-gnu.so b/dank_mids/brownie_patch/__init__.cpython-311-x86_64-linux-gnu.so index 165fcba0a6..807721c6b8 100755 Binary files a/dank_mids/brownie_patch/__init__.cpython-311-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/__init__.cpython-311-x86_64-linux-gnu.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 44d46b4429..7b26f1a02e 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-312-x86_64-linux-gnu.so b/dank_mids/brownie_patch/__init__.cpython-312-x86_64-linux-gnu.so index ce460c4a1f..291b5172cf 100755 Binary files a/dank_mids/brownie_patch/__init__.cpython-312-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/__init__.cpython-312-x86_64-linux-gnu.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 65173ab34d..940fdb30ff 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 6aa31a09e8..aa01bf28a2 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 87327fef0c..e1d1d57585 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.cpython-310-darwin.so b/dank_mids/brownie_patch/_abi.cpython-310-darwin.so index 6fad7f7389..3238bac851 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-310-x86_64-linux-gnu.so b/dank_mids/brownie_patch/_abi.cpython-310-x86_64-linux-gnu.so index 18d7028b03..f9deb96050 100755 Binary files a/dank_mids/brownie_patch/_abi.cpython-310-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/_abi.cpython-310-x86_64-linux-gnu.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 17e7b1b082..08e15cf99b 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-311-x86_64-linux-gnu.so b/dank_mids/brownie_patch/_abi.cpython-311-x86_64-linux-gnu.so index 5aeca5ec49..e086a6965e 100755 Binary files a/dank_mids/brownie_patch/_abi.cpython-311-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/_abi.cpython-311-x86_64-linux-gnu.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 8af7e7a77c..db72cc65ad 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-312-x86_64-linux-gnu.so b/dank_mids/brownie_patch/_abi.cpython-312-x86_64-linux-gnu.so index 5866a47055..ba1caf6774 100755 Binary files a/dank_mids/brownie_patch/_abi.cpython-312-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/_abi.cpython-312-x86_64-linux-gnu.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 65e3da82bb..1572a9576f 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 59ef5cc378..63df0b1b4d 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 3e43ba57d0..3ba97a4f2d 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.cpython-310-darwin.so b/dank_mids/brownie_patch/call.cpython-310-darwin.so index f765eb15ba..f244612f4d 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-310-x86_64-linux-gnu.so b/dank_mids/brownie_patch/call.cpython-310-x86_64-linux-gnu.so index b365b796d4..52e8d25e75 100755 Binary files a/dank_mids/brownie_patch/call.cpython-310-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/call.cpython-310-x86_64-linux-gnu.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 24ba237884..9a50528df7 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-311-x86_64-linux-gnu.so b/dank_mids/brownie_patch/call.cpython-311-x86_64-linux-gnu.so index 4099bf07fe..02edaab980 100755 Binary files a/dank_mids/brownie_patch/call.cpython-311-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/call.cpython-311-x86_64-linux-gnu.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 4a4efcf390..14d3d502dd 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-312-x86_64-linux-gnu.so b/dank_mids/brownie_patch/call.cpython-312-x86_64-linux-gnu.so index 4f685bd021..363bc58d34 100755 Binary files a/dank_mids/brownie_patch/call.cpython-312-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/call.cpython-312-x86_64-linux-gnu.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 847787a2e7..c9a4388fc3 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 194e2cb86b..df09f68811 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 f01eeac5d3..4a6e561a03 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.cpython-310-darwin.so b/dank_mids/brownie_patch/overloaded.cpython-310-darwin.so index 4515f65548..0394dbda5f 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-310-x86_64-linux-gnu.so b/dank_mids/brownie_patch/overloaded.cpython-310-x86_64-linux-gnu.so index 6424e9da42..3469e1f126 100755 Binary files a/dank_mids/brownie_patch/overloaded.cpython-310-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/overloaded.cpython-310-x86_64-linux-gnu.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 0d301b70b8..beb9d5a67b 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-311-x86_64-linux-gnu.so b/dank_mids/brownie_patch/overloaded.cpython-311-x86_64-linux-gnu.so index 866aedc19b..fc2362b475 100755 Binary files a/dank_mids/brownie_patch/overloaded.cpython-311-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/overloaded.cpython-311-x86_64-linux-gnu.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 d9fa820393..1285095508 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-312-x86_64-linux-gnu.so b/dank_mids/brownie_patch/overloaded.cpython-312-x86_64-linux-gnu.so index 0a183eab96..84e23da6da 100755 Binary files a/dank_mids/brownie_patch/overloaded.cpython-312-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/overloaded.cpython-312-x86_64-linux-gnu.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 26eb602392..4364ed53e2 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 e641b07d39..5e047d04f4 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 d0ad1e99b4..36d64fa08c 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.cpython-310-darwin.so b/dank_mids/brownie_patch/types.cpython-310-darwin.so index 29a937feb8..709a653a20 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-310-x86_64-linux-gnu.so b/dank_mids/brownie_patch/types.cpython-310-x86_64-linux-gnu.so index a812828ed1..7b963bb3f5 100755 Binary files a/dank_mids/brownie_patch/types.cpython-310-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/types.cpython-310-x86_64-linux-gnu.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 748d19494b..3d63297e19 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-311-x86_64-linux-gnu.so b/dank_mids/brownie_patch/types.cpython-311-x86_64-linux-gnu.so index 2bbc3a0fe1..54e74fa128 100755 Binary files a/dank_mids/brownie_patch/types.cpython-311-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/types.cpython-311-x86_64-linux-gnu.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 1ac360b32c..b0965fd1f8 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-312-x86_64-linux-gnu.so b/dank_mids/brownie_patch/types.cpython-312-x86_64-linux-gnu.so index 76e9149c78..2538db7610 100755 Binary files a/dank_mids/brownie_patch/types.cpython-312-x86_64-linux-gnu.so and b/dank_mids/brownie_patch/types.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/constants.cp310-win_amd64.pyd b/dank_mids/constants.cp310-win_amd64.pyd index 55bd850043..727c5eea96 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 0e03b82961..94a40bb70d 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 86d76a9c18..643439c9d3 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.cpython-310-darwin.so b/dank_mids/constants.cpython-310-darwin.so index 68e5f17947..b35d516e42 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-310-x86_64-linux-gnu.so b/dank_mids/constants.cpython-310-x86_64-linux-gnu.so index 3101ec8d08..9b94108196 100755 Binary files a/dank_mids/constants.cpython-310-x86_64-linux-gnu.so and b/dank_mids/constants.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/constants.cpython-311-darwin.so b/dank_mids/constants.cpython-311-darwin.so index 51c4ac67ca..d81fa11cd4 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-311-x86_64-linux-gnu.so b/dank_mids/constants.cpython-311-x86_64-linux-gnu.so index 9ffdd547d7..21f383a138 100755 Binary files a/dank_mids/constants.cpython-311-x86_64-linux-gnu.so and b/dank_mids/constants.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/constants.cpython-312-darwin.so b/dank_mids/constants.cpython-312-darwin.so index 1a8136394f..3b378b7d8f 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-312-x86_64-linux-gnu.so b/dank_mids/constants.cpython-312-x86_64-linux-gnu.so index 9cbe78b608..65acdce4ff 100755 Binary files a/dank_mids/constants.cpython-312-x86_64-linux-gnu.so and b/dank_mids/constants.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/__init__.cp310-win_amd64.pyd b/dank_mids/helpers/__init__.cp310-win_amd64.pyd index 1c7d7b28ff..833e10e30f 100644 Binary files a/dank_mids/helpers/__init__.cp310-win_amd64.pyd and b/dank_mids/helpers/__init__.cp310-win_amd64.pyd differ diff --git a/dank_mids/helpers/__init__.cp311-win_amd64.pyd b/dank_mids/helpers/__init__.cp311-win_amd64.pyd index 7167574da6..0309d66f7e 100644 Binary files a/dank_mids/helpers/__init__.cp311-win_amd64.pyd and b/dank_mids/helpers/__init__.cp311-win_amd64.pyd differ diff --git a/dank_mids/helpers/__init__.cp312-win_amd64.pyd b/dank_mids/helpers/__init__.cp312-win_amd64.pyd index ea8d1a9c3a..4f7d12ed2d 100644 Binary files a/dank_mids/helpers/__init__.cp312-win_amd64.pyd and b/dank_mids/helpers/__init__.cp312-win_amd64.pyd differ diff --git a/dank_mids/helpers/__init__.cpython-310-darwin.so b/dank_mids/helpers/__init__.cpython-310-darwin.so index d7c849558b..8bbb5a9278 100755 Binary files a/dank_mids/helpers/__init__.cpython-310-darwin.so and b/dank_mids/helpers/__init__.cpython-310-darwin.so differ diff --git a/dank_mids/helpers/__init__.cpython-310-x86_64-linux-gnu.so b/dank_mids/helpers/__init__.cpython-310-x86_64-linux-gnu.so index 8495eeb9eb..7f97cd20e4 100755 Binary files a/dank_mids/helpers/__init__.cpython-310-x86_64-linux-gnu.so and b/dank_mids/helpers/__init__.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/__init__.cpython-311-darwin.so b/dank_mids/helpers/__init__.cpython-311-darwin.so index c4edaa8649..7d59b471d1 100755 Binary files a/dank_mids/helpers/__init__.cpython-311-darwin.so and b/dank_mids/helpers/__init__.cpython-311-darwin.so differ diff --git a/dank_mids/helpers/__init__.cpython-311-x86_64-linux-gnu.so b/dank_mids/helpers/__init__.cpython-311-x86_64-linux-gnu.so index 391aaab231..8072ec3d7f 100755 Binary files a/dank_mids/helpers/__init__.cpython-311-x86_64-linux-gnu.so and b/dank_mids/helpers/__init__.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/__init__.cpython-312-darwin.so b/dank_mids/helpers/__init__.cpython-312-darwin.so index 39c7b1c054..935f569530 100755 Binary files a/dank_mids/helpers/__init__.cpython-312-darwin.so and b/dank_mids/helpers/__init__.cpython-312-darwin.so differ diff --git a/dank_mids/helpers/__init__.cpython-312-x86_64-linux-gnu.so b/dank_mids/helpers/__init__.cpython-312-x86_64-linux-gnu.so index f0b3142abe..9e8acdeb5f 100755 Binary files a/dank_mids/helpers/__init__.cpython-312-x86_64-linux-gnu.so and b/dank_mids/helpers/__init__.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/_codec.cp310-win_amd64.pyd b/dank_mids/helpers/_codec.cp310-win_amd64.pyd index 0b0c8bc47d..e02b248e7d 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 5fd5764983..f68fa8e6b8 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 e7e3d0d39c..0f4420eb03 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.cpython-310-darwin.so b/dank_mids/helpers/_codec.cpython-310-darwin.so index 3a1d401d7e..7e63637016 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-310-x86_64-linux-gnu.so b/dank_mids/helpers/_codec.cpython-310-x86_64-linux-gnu.so index 93897dd511..79d6e7b8c6 100755 Binary files a/dank_mids/helpers/_codec.cpython-310-x86_64-linux-gnu.so and b/dank_mids/helpers/_codec.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/_codec.cpython-311-darwin.so b/dank_mids/helpers/_codec.cpython-311-darwin.so index bf3b94fba1..452b680a4b 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-311-x86_64-linux-gnu.so b/dank_mids/helpers/_codec.cpython-311-x86_64-linux-gnu.so index 01910a923f..8a813e7952 100755 Binary files a/dank_mids/helpers/_codec.cpython-311-x86_64-linux-gnu.so and b/dank_mids/helpers/_codec.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/_codec.cpython-312-darwin.so b/dank_mids/helpers/_codec.cpython-312-darwin.so index 02719f50fa..c0338393f9 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-312-x86_64-linux-gnu.so b/dank_mids/helpers/_codec.cpython-312-x86_64-linux-gnu.so index 586dfbbb34..2d4e8f8791 100755 Binary files a/dank_mids/helpers/_codec.cpython-312-x86_64-linux-gnu.so and b/dank_mids/helpers/_codec.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/_errors.cp310-win_amd64.pyd b/dank_mids/helpers/_errors.cp310-win_amd64.pyd index 3547ba749d..8bba87fc05 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 882d78d7af..e558e1049f 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 b1b19d83ea..dc6be997e9 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.cpython-310-darwin.so b/dank_mids/helpers/_errors.cpython-310-darwin.so index cd5017c39a..e764b8ca66 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-310-x86_64-linux-gnu.so b/dank_mids/helpers/_errors.cpython-310-x86_64-linux-gnu.so index 063880a213..97d05e31f0 100755 Binary files a/dank_mids/helpers/_errors.cpython-310-x86_64-linux-gnu.so and b/dank_mids/helpers/_errors.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/_errors.cpython-311-darwin.so b/dank_mids/helpers/_errors.cpython-311-darwin.so index a10918a017..22ac47cbc8 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-311-x86_64-linux-gnu.so b/dank_mids/helpers/_errors.cpython-311-x86_64-linux-gnu.so index e5e03e7e6e..a85c3a57f1 100755 Binary files a/dank_mids/helpers/_errors.cpython-311-x86_64-linux-gnu.so and b/dank_mids/helpers/_errors.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/_errors.cpython-312-darwin.so b/dank_mids/helpers/_errors.cpython-312-darwin.so index 86e8e8c740..9379f85e8e 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-312-x86_64-linux-gnu.so b/dank_mids/helpers/_errors.cpython-312-x86_64-linux-gnu.so index 953bdd7874..05a83f47e9 100755 Binary files a/dank_mids/helpers/_errors.cpython-312-x86_64-linux-gnu.so and b/dank_mids/helpers/_errors.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/_gather.cp310-win_amd64.pyd b/dank_mids/helpers/_gather.cp310-win_amd64.pyd index edd5adf217..dc36f31787 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 66a1af9089..a5923f3893 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 c2eda7860d..04574468f5 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.cpython-310-darwin.so b/dank_mids/helpers/_gather.cpython-310-darwin.so index 25f96a5d7a..b9a3ca7441 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-310-x86_64-linux-gnu.so b/dank_mids/helpers/_gather.cpython-310-x86_64-linux-gnu.so index ad84a37b57..9f2c9960e1 100755 Binary files a/dank_mids/helpers/_gather.cpython-310-x86_64-linux-gnu.so and b/dank_mids/helpers/_gather.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/_gather.cpython-311-darwin.so b/dank_mids/helpers/_gather.cpython-311-darwin.so index d804432b8b..30d360c60c 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-311-x86_64-linux-gnu.so b/dank_mids/helpers/_gather.cpython-311-x86_64-linux-gnu.so index b530f344ab..02243bfe13 100755 Binary files a/dank_mids/helpers/_gather.cpython-311-x86_64-linux-gnu.so and b/dank_mids/helpers/_gather.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/_gather.cpython-312-darwin.so b/dank_mids/helpers/_gather.cpython-312-darwin.so index 328f681d8f..469f10328a 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-312-x86_64-linux-gnu.so b/dank_mids/helpers/_gather.cpython-312-x86_64-linux-gnu.so index fde47c3907..b0d217ae7a 100755 Binary files a/dank_mids/helpers/_gather.cpython-312-x86_64-linux-gnu.so and b/dank_mids/helpers/_gather.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/_weaklist.cp310-win_amd64.pyd b/dank_mids/helpers/_weaklist.cp310-win_amd64.pyd index 6cd3aed4e0..1239d1f1b0 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 2fc5c00223..3e15a89ea0 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 47e90c6f1e..fe3be46aee 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.cpython-310-darwin.so b/dank_mids/helpers/_weaklist.cpython-310-darwin.so index a5f0595da9..bb93ac5bdd 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-310-x86_64-linux-gnu.so b/dank_mids/helpers/_weaklist.cpython-310-x86_64-linux-gnu.so index 2a5f507fea..0449c47730 100755 Binary files a/dank_mids/helpers/_weaklist.cpython-310-x86_64-linux-gnu.so and b/dank_mids/helpers/_weaklist.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/_weaklist.cpython-311-darwin.so b/dank_mids/helpers/_weaklist.cpython-311-darwin.so index d79f0d784c..e55443998d 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-311-x86_64-linux-gnu.so b/dank_mids/helpers/_weaklist.cpython-311-x86_64-linux-gnu.so index 9fcb1e70c3..887300bc81 100755 Binary files a/dank_mids/helpers/_weaklist.cpython-311-x86_64-linux-gnu.so and b/dank_mids/helpers/_weaklist.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/_weaklist.cpython-312-darwin.so b/dank_mids/helpers/_weaklist.cpython-312-darwin.so index a64ac0b904..22e43843e6 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-312-x86_64-linux-gnu.so b/dank_mids/helpers/_weaklist.cpython-312-x86_64-linux-gnu.so index a593c68113..8d7c01d2a6 100755 Binary files a/dank_mids/helpers/_weaklist.cpython-312-x86_64-linux-gnu.so and b/dank_mids/helpers/_weaklist.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/batch_size.cp310-win_amd64.pyd b/dank_mids/helpers/batch_size.cp310-win_amd64.pyd index 43758c63d9..32a5769034 100644 Binary files a/dank_mids/helpers/batch_size.cp310-win_amd64.pyd and b/dank_mids/helpers/batch_size.cp310-win_amd64.pyd differ diff --git a/dank_mids/helpers/batch_size.cp311-win_amd64.pyd b/dank_mids/helpers/batch_size.cp311-win_amd64.pyd index c85cfd4dc2..447d9ef20e 100644 Binary files a/dank_mids/helpers/batch_size.cp311-win_amd64.pyd and b/dank_mids/helpers/batch_size.cp311-win_amd64.pyd differ diff --git a/dank_mids/helpers/batch_size.cp312-win_amd64.pyd b/dank_mids/helpers/batch_size.cp312-win_amd64.pyd index 6448e30761..3ba1610e79 100644 Binary files a/dank_mids/helpers/batch_size.cp312-win_amd64.pyd and b/dank_mids/helpers/batch_size.cp312-win_amd64.pyd differ diff --git a/dank_mids/helpers/batch_size.cpython-310-darwin.so b/dank_mids/helpers/batch_size.cpython-310-darwin.so index 95daf8c0da..a4c5b2433a 100755 Binary files a/dank_mids/helpers/batch_size.cpython-310-darwin.so and b/dank_mids/helpers/batch_size.cpython-310-darwin.so differ diff --git a/dank_mids/helpers/batch_size.cpython-310-x86_64-linux-gnu.so b/dank_mids/helpers/batch_size.cpython-310-x86_64-linux-gnu.so index bb20905b81..4474dab2c0 100755 Binary files a/dank_mids/helpers/batch_size.cpython-310-x86_64-linux-gnu.so and b/dank_mids/helpers/batch_size.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/batch_size.cpython-311-darwin.so b/dank_mids/helpers/batch_size.cpython-311-darwin.so index 795b6b72d9..b688015d9c 100755 Binary files a/dank_mids/helpers/batch_size.cpython-311-darwin.so and b/dank_mids/helpers/batch_size.cpython-311-darwin.so differ diff --git a/dank_mids/helpers/batch_size.cpython-311-x86_64-linux-gnu.so b/dank_mids/helpers/batch_size.cpython-311-x86_64-linux-gnu.so index 5beb59eb79..0acfea725b 100755 Binary files a/dank_mids/helpers/batch_size.cpython-311-x86_64-linux-gnu.so and b/dank_mids/helpers/batch_size.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/batch_size.cpython-312-darwin.so b/dank_mids/helpers/batch_size.cpython-312-darwin.so index cd64523670..363d40db26 100755 Binary files a/dank_mids/helpers/batch_size.cpython-312-darwin.so and b/dank_mids/helpers/batch_size.cpython-312-darwin.so differ diff --git a/dank_mids/helpers/batch_size.cpython-312-x86_64-linux-gnu.so b/dank_mids/helpers/batch_size.cpython-312-x86_64-linux-gnu.so index b25a1d932a..1377d5c2c7 100755 Binary files a/dank_mids/helpers/batch_size.cpython-312-x86_64-linux-gnu.so and b/dank_mids/helpers/batch_size.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/hashing.cp310-win_amd64.pyd b/dank_mids/helpers/hashing.cp310-win_amd64.pyd index 71d031da2a..7cdb910dc8 100644 Binary files a/dank_mids/helpers/hashing.cp310-win_amd64.pyd and b/dank_mids/helpers/hashing.cp310-win_amd64.pyd differ diff --git a/dank_mids/helpers/hashing.cp311-win_amd64.pyd b/dank_mids/helpers/hashing.cp311-win_amd64.pyd index 9b731b844e..dfbbf079c7 100644 Binary files a/dank_mids/helpers/hashing.cp311-win_amd64.pyd and b/dank_mids/helpers/hashing.cp311-win_amd64.pyd differ diff --git a/dank_mids/helpers/hashing.cp312-win_amd64.pyd b/dank_mids/helpers/hashing.cp312-win_amd64.pyd index ba27aaf06d..e9afd2730c 100644 Binary files a/dank_mids/helpers/hashing.cp312-win_amd64.pyd and b/dank_mids/helpers/hashing.cp312-win_amd64.pyd differ diff --git a/dank_mids/helpers/hashing.cpython-310-darwin.so b/dank_mids/helpers/hashing.cpython-310-darwin.so index d9a31d9ced..cbec501ca4 100755 Binary files a/dank_mids/helpers/hashing.cpython-310-darwin.so and b/dank_mids/helpers/hashing.cpython-310-darwin.so differ diff --git a/dank_mids/helpers/hashing.cpython-310-x86_64-linux-gnu.so b/dank_mids/helpers/hashing.cpython-310-x86_64-linux-gnu.so index 8359a8b2c4..d30601b5ca 100755 Binary files a/dank_mids/helpers/hashing.cpython-310-x86_64-linux-gnu.so and b/dank_mids/helpers/hashing.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/hashing.cpython-311-darwin.so b/dank_mids/helpers/hashing.cpython-311-darwin.so index f22324d53f..8b15373a58 100755 Binary files a/dank_mids/helpers/hashing.cpython-311-darwin.so and b/dank_mids/helpers/hashing.cpython-311-darwin.so differ diff --git a/dank_mids/helpers/hashing.cpython-311-x86_64-linux-gnu.so b/dank_mids/helpers/hashing.cpython-311-x86_64-linux-gnu.so index 308fe50f0f..b0e0843766 100755 Binary files a/dank_mids/helpers/hashing.cpython-311-x86_64-linux-gnu.so and b/dank_mids/helpers/hashing.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/hashing.cpython-312-darwin.so b/dank_mids/helpers/hashing.cpython-312-darwin.so index a4ef854530..dfdad7a562 100755 Binary files a/dank_mids/helpers/hashing.cpython-312-darwin.so and b/dank_mids/helpers/hashing.cpython-312-darwin.so differ diff --git a/dank_mids/helpers/hashing.cpython-312-x86_64-linux-gnu.so b/dank_mids/helpers/hashing.cpython-312-x86_64-linux-gnu.so index 748c0d0466..2cfa67dab3 100755 Binary files a/dank_mids/helpers/hashing.cpython-312-x86_64-linux-gnu.so and b/dank_mids/helpers/hashing.cpython-312-x86_64-linux-gnu.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 b2ab5164d3..01d2cdd435 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 3121ee0ee1..f8cd1b442a 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 deccaae63f..9bfe5e98af 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.cpython-310-darwin.so b/dank_mids/helpers/lru_cache.cpython-310-darwin.so index 5bb9148ecb..ddd6eb2a8a 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-310-x86_64-linux-gnu.so b/dank_mids/helpers/lru_cache.cpython-310-x86_64-linux-gnu.so index a6adce8bb2..c89d5a23c9 100755 Binary files a/dank_mids/helpers/lru_cache.cpython-310-x86_64-linux-gnu.so and b/dank_mids/helpers/lru_cache.cpython-310-x86_64-linux-gnu.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 db6ba45f88..46d1979be4 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-311-x86_64-linux-gnu.so b/dank_mids/helpers/lru_cache.cpython-311-x86_64-linux-gnu.so index 2efe4e44b5..927455ae20 100755 Binary files a/dank_mids/helpers/lru_cache.cpython-311-x86_64-linux-gnu.so and b/dank_mids/helpers/lru_cache.cpython-311-x86_64-linux-gnu.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 08a7232431..43a548fe41 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-312-x86_64-linux-gnu.so b/dank_mids/helpers/lru_cache.cpython-312-x86_64-linux-gnu.so index b4abcf539d..eb5b5c7509 100755 Binary files a/dank_mids/helpers/lru_cache.cpython-312-x86_64-linux-gnu.so and b/dank_mids/helpers/lru_cache.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/method.cp310-win_amd64.pyd b/dank_mids/helpers/method.cp310-win_amd64.pyd index 1e94b614a9..e6688e95cb 100644 Binary files a/dank_mids/helpers/method.cp310-win_amd64.pyd and b/dank_mids/helpers/method.cp310-win_amd64.pyd differ diff --git a/dank_mids/helpers/method.cp311-win_amd64.pyd b/dank_mids/helpers/method.cp311-win_amd64.pyd index 819487fa5b..d4d11f3f2b 100644 Binary files a/dank_mids/helpers/method.cp311-win_amd64.pyd and b/dank_mids/helpers/method.cp311-win_amd64.pyd differ diff --git a/dank_mids/helpers/method.cp312-win_amd64.pyd b/dank_mids/helpers/method.cp312-win_amd64.pyd index 3d23844cbe..5d52e849b9 100644 Binary files a/dank_mids/helpers/method.cp312-win_amd64.pyd and b/dank_mids/helpers/method.cp312-win_amd64.pyd differ diff --git a/dank_mids/helpers/method.cpython-310-darwin.so b/dank_mids/helpers/method.cpython-310-darwin.so index b99051fb7c..70add73e4e 100755 Binary files a/dank_mids/helpers/method.cpython-310-darwin.so and b/dank_mids/helpers/method.cpython-310-darwin.so differ diff --git a/dank_mids/helpers/method.cpython-310-x86_64-linux-gnu.so b/dank_mids/helpers/method.cpython-310-x86_64-linux-gnu.so index 3cb634a68b..81c2f17932 100755 Binary files a/dank_mids/helpers/method.cpython-310-x86_64-linux-gnu.so and b/dank_mids/helpers/method.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/method.cpython-311-darwin.so b/dank_mids/helpers/method.cpython-311-darwin.so index 8161ac8bcb..1c08874518 100755 Binary files a/dank_mids/helpers/method.cpython-311-darwin.so and b/dank_mids/helpers/method.cpython-311-darwin.so differ diff --git a/dank_mids/helpers/method.cpython-311-x86_64-linux-gnu.so b/dank_mids/helpers/method.cpython-311-x86_64-linux-gnu.so index 409993891b..66d6fb04a6 100755 Binary files a/dank_mids/helpers/method.cpython-311-x86_64-linux-gnu.so and b/dank_mids/helpers/method.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/helpers/method.cpython-312-darwin.so b/dank_mids/helpers/method.cpython-312-darwin.so index df32f85a59..633ccdb853 100755 Binary files a/dank_mids/helpers/method.cpython-312-darwin.so and b/dank_mids/helpers/method.cpython-312-darwin.so differ diff --git a/dank_mids/helpers/method.cpython-312-x86_64-linux-gnu.so b/dank_mids/helpers/method.cpython-312-x86_64-linux-gnu.so index 1bc19b5f23..72ea139f78 100755 Binary files a/dank_mids/helpers/method.cpython-312-x86_64-linux-gnu.so and b/dank_mids/helpers/method.cpython-312-x86_64-linux-gnu.so differ diff --git a/dank_mids/stats/__init__.cp310-win_amd64.pyd b/dank_mids/stats/__init__.cp310-win_amd64.pyd index a7a7dceae8..b11dc4210f 100644 Binary files a/dank_mids/stats/__init__.cp310-win_amd64.pyd and b/dank_mids/stats/__init__.cp310-win_amd64.pyd differ diff --git a/dank_mids/stats/__init__.cp311-win_amd64.pyd b/dank_mids/stats/__init__.cp311-win_amd64.pyd index 2ee1b4acc5..b4126d7a6b 100644 Binary files a/dank_mids/stats/__init__.cp311-win_amd64.pyd and b/dank_mids/stats/__init__.cp311-win_amd64.pyd differ diff --git a/dank_mids/stats/__init__.cp312-win_amd64.pyd b/dank_mids/stats/__init__.cp312-win_amd64.pyd index cfcfd23b87..b6101d747d 100644 Binary files a/dank_mids/stats/__init__.cp312-win_amd64.pyd and b/dank_mids/stats/__init__.cp312-win_amd64.pyd differ diff --git a/dank_mids/stats/__init__.cpython-310-darwin.so b/dank_mids/stats/__init__.cpython-310-darwin.so index 898a4f3f9e..7f64752fdb 100755 Binary files a/dank_mids/stats/__init__.cpython-310-darwin.so and b/dank_mids/stats/__init__.cpython-310-darwin.so differ diff --git a/dank_mids/stats/__init__.cpython-310-x86_64-linux-gnu.so b/dank_mids/stats/__init__.cpython-310-x86_64-linux-gnu.so index fe0b019424..a1ee7ec87a 100755 Binary files a/dank_mids/stats/__init__.cpython-310-x86_64-linux-gnu.so and b/dank_mids/stats/__init__.cpython-310-x86_64-linux-gnu.so differ diff --git a/dank_mids/stats/__init__.cpython-311-darwin.so b/dank_mids/stats/__init__.cpython-311-darwin.so index 620c308089..560d4c53bd 100755 Binary files a/dank_mids/stats/__init__.cpython-311-darwin.so and b/dank_mids/stats/__init__.cpython-311-darwin.so differ diff --git a/dank_mids/stats/__init__.cpython-311-x86_64-linux-gnu.so b/dank_mids/stats/__init__.cpython-311-x86_64-linux-gnu.so index 8ae65dc938..e051f4eb8b 100755 Binary files a/dank_mids/stats/__init__.cpython-311-x86_64-linux-gnu.so and b/dank_mids/stats/__init__.cpython-311-x86_64-linux-gnu.so differ diff --git a/dank_mids/stats/__init__.cpython-312-darwin.so b/dank_mids/stats/__init__.cpython-312-darwin.so index 0706120e4f..eaa51b6b69 100755 Binary files a/dank_mids/stats/__init__.cpython-312-darwin.so and b/dank_mids/stats/__init__.cpython-312-darwin.so differ diff --git a/dank_mids/stats/__init__.cpython-312-x86_64-linux-gnu.so b/dank_mids/stats/__init__.cpython-312-x86_64-linux-gnu.so index 04f5d6cf9d..a9f35cf873 100755 Binary files a/dank_mids/stats/__init__.cpython-312-x86_64-linux-gnu.so and b/dank_mids/stats/__init__.cpython-312-x86_64-linux-gnu.so differ diff --git a/pyproject.toml b/pyproject.toml index 2088114a52..62096ec387 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,18 +9,18 @@ documentation = "https://BobTheBuidler.github.io/dank_mids" license = "MIT" readme = "README.md" include = [ - { path = "6486cd47b6f59329387b__mypyc.cpython-39-x86_64-linux-gnu.so", format = ["sdist", "wheel"] }, - { path = "6486cd47b6f59329387b__mypyc.cpython-39-darwin.so", format = ["sdist", "wheel"] }, - { path = "6486cd47b6f59329387b__mypyc.cp39-win_amd64.pyd", format = ["sdist", "wheel"] }, - { path = "6486cd47b6f59329387b__mypyc.cpython-310-x86_64-linux-gnu.so", format = ["sdist", "wheel"] }, - { path = "6486cd47b6f59329387b__mypyc.cpython-310-darwin.so", format = ["sdist", "wheel"] }, - { path = "6486cd47b6f59329387b__mypyc.cp310-win_amd64.pyd", format = ["sdist", "wheel"] }, - { path = "6486cd47b6f59329387b__mypyc.cpython-311-x86_64-linux-gnu.so", format = ["sdist", "wheel"] }, - { path = "6486cd47b6f59329387b__mypyc.cpython-311-darwin.so", format = ["sdist", "wheel"] }, - { path = "6486cd47b6f59329387b__mypyc.cp311-win_amd64.pyd", format = ["sdist", "wheel"] }, - { path = "6486cd47b6f59329387b__mypyc.cpython-312-x86_64-linux-gnu.so", format = ["sdist", "wheel"] }, - { path = "6486cd47b6f59329387b__mypyc.cpython-312-darwin.so", format = ["sdist", "wheel"] }, - { path = "6486cd47b6f59329387b__mypyc.cp312-win_amd64.pyd", format = ["sdist", "wheel"] }, + { path = "2c5455e5e91297368063__mypyc.cpython-39-x86_64-linux-gnu.so", format = ["sdist", "wheel"] }, + { path = "2c5455e5e91297368063__mypyc.cpython-39-darwin.so", format = ["sdist", "wheel"] }, + { path = "2c5455e5e91297368063__mypyc.cp39-win_amd64.pyd", format = ["sdist", "wheel"] }, + { path = "2c5455e5e91297368063__mypyc.cpython-310-x86_64-linux-gnu.so", format = ["sdist", "wheel"] }, + { path = "2c5455e5e91297368063__mypyc.cpython-310-darwin.so", format = ["sdist", "wheel"] }, + { path = "2c5455e5e91297368063__mypyc.cp310-win_amd64.pyd", format = ["sdist", "wheel"] }, + { path = "2c5455e5e91297368063__mypyc.cpython-311-x86_64-linux-gnu.so", format = ["sdist", "wheel"] }, + { path = "2c5455e5e91297368063__mypyc.cpython-311-darwin.so", format = ["sdist", "wheel"] }, + { path = "2c5455e5e91297368063__mypyc.cp311-win_amd64.pyd", format = ["sdist", "wheel"] }, + { path = "2c5455e5e91297368063__mypyc.cpython-312-x86_64-linux-gnu.so", format = ["sdist", "wheel"] }, + { path = "2c5455e5e91297368063__mypyc.cpython-312-darwin.so", format = ["sdist", "wheel"] }, + { path = "2c5455e5e91297368063__mypyc.cp312-win_amd64.pyd", format = ["sdist", "wheel"] }, ] exclude = ["tests", "tests.*"]