/* Generated by Nim Compiler v1.2.6 */ /* (c) 2020 Andreas Rumpf */ /* The generated code is subject to the original license. */ /* Compiled for: Linux, amd64, gcc */ /* Command for C compiler: gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -DHAVE_BUILTIN_EXPECT -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/src -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/inc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/tools -DBR_USE_UNIX_TIME=1 -DBR_USE_URANDOM=1 -DBR_LE_UNALIGNED=1 -DBR_64=1 -DBR_amd64=1 -DBR_INT128=1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/miniupnp/miniupnpc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/libnatpmp-upstream -DENABLE_STRNATPMPERR -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/certs -march=native -g3 -Og -O3 -fno-strict-aliasing -fno-ident -I/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib -I/home/runner/work/nim-waku/nim-waku/waku/common -o nimcache/release/wakubridge/@m..@s..@svendor@snim-web3@sweb3@sconversions.nim.c.o nimcache/release/wakubridge/@m..@s..@svendor@snim-web3@sweb3@sconversions.nim.c */ #define NIM_INTBITS 64 #include "nimbase.h" #include #include #include #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(x, y) #define nimln_(x, y) typedef struct tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; typedef struct tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg; typedef struct tySequence__MlAD6nAPq9bHKla9cWiIZP0g tySequence__MlAD6nAPq9bHKla9cWiIZP0g; typedef struct tySequence__oLpBKXzW3hF9aCVMo5EymfQ tySequence__oLpBKXzW3hF9aCVMo5EymfQ; typedef struct tyObject_EthSend__MCOED3G13L24SrT9ctnh1rg tyObject_EthSend__MCOED3G13L24SrT9ctnh1rg; typedef struct tyObject_Option__N3bHKovkjP3o4YIl6zpohw tyObject_Option__N3bHKovkjP3o4YIl6zpohw; typedef struct tyObject_Option__wHefNd5THCi6xMTxzEWqIw tyObject_Option__wHefNd5THCi6xMTxzEWqIw; typedef struct tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA; typedef struct tyObject_Option__Y9bYoDed8m421UIHb473GAw tyObject_Option__Y9bYoDed8m421UIHb473GAw; typedef struct tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg; typedef struct tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA; typedef struct tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g; typedef struct tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw; typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA; typedef struct Exception Exception; typedef struct RootObj RootObj; typedef struct TNimType TNimType; typedef struct TNimNode TNimNode; typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA; typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g; typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w; typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ; typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA; typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg; typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ; typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg; typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw; typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA; typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw; typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw; typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg; typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg; typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg; typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ; typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg; typedef struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw; typedef struct tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg; typedef struct tyTuple__awOivLjlO76sGdHY7nQUjQ tyTuple__awOivLjlO76sGdHY7nQUjQ; typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA; typedef NU8 tyArray__YtcvxHNKV4YiecPE9ap1mcA[20]; typedef NU8 tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg; struct TGenericSeq {NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE]; }; struct tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg {tySequence__MlAD6nAPq9bHKla9cWiIZP0g* data; NI counter; NI first; NI last; }; struct tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q {tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg kind; union{ struct {NimStringDesc* str; } _kind_1; struct {NI64 num; } _kind_2; struct {NF fnum; } _kind_3; struct {NIM_BOOL bval; } _kind_4; struct {tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg fields; } _kind_6; struct {tySequence__oLpBKXzW3hF9aCVMo5EymfQ* elems; } _kind_7; }; }; struct tyObject_Option__N3bHKovkjP3o4YIl6zpohw {tyArray__YtcvxHNKV4YiecPE9ap1mcA val; NIM_BOOL has; }; struct tyObject_Option__wHefNd5THCi6xMTxzEWqIw {NU64 val; NIM_BOOL has; }; struct tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA {NI val; NIM_BOOL has; }; struct tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g {NU64 lo; NU64 hi; }; struct tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA {tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g lo; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g hi; }; struct tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg {tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA data; }; struct tyObject_Option__Y9bYoDed8m421UIHb473GAw {tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg val; NIM_BOOL has; }; struct tyObject_EthSend__MCOED3G13L24SrT9ctnh1rg {tyArray__YtcvxHNKV4YiecPE9ap1mcA source; tyObject_Option__N3bHKovkjP3o4YIl6zpohw to; tyObject_Option__wHefNd5THCi6xMTxzEWqIw gas; tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA gasPrice; tyObject_Option__Y9bYoDed8m421UIHb473GAw value; NimStringDesc* data; tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA nonce; }; typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A; typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ; typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op); typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p); struct TNimType {NI size; tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind; tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags; TNimType* base; TNimNode* node; void* finalizer; tyProc__ojoeKfW4VYIm36I9cpDTQIg marker; tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy; NCSTRING name; TNimType* nextType; NI instances; NI sizes; }; struct RootObj {TNimType* m_type;}; struct Exception { RootObj Sup;Exception* parent; NCSTRING name; NimStringDesc* message; tySequence__uB9b75OUPRENsBAu4AnoePA* trace; Exception* up; }; struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;}; struct tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;}; typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ; struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind; NI offset; TNimType* typ; NCSTRING name; NI len; TNimNode** sons; }; struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {NI refcount; TNimType* typ; }; struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {void* bottom; }; struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {NI len; NI cap; tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d; }; typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SiRwrEKZdLgxqz9a9aoVBglg[512]; typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24]; typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32]; typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24]; typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256]; struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {tyArray__lh2A89ahMmYg9bCmpVaplLbA data; }; typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2]; struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {tyArray__0aOLqZchNi8nWtMTi8ND8w link; NI key; NI upperBound; NI level; }; struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg { tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0; NI Field1; }; typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30]; struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {NI len; tyArray__LzOv2eCDGiceMKQstCLmhw chunks; tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next; }; struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {NI minLargeObj; NI maxLargeObj; tyArray__SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks; NU32 flBitmap; tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap; tyArray__B6durA4ZCi1xjJvRtyYxMg matrix; tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem; NI currMem; NI maxMem; NI freeMem; NI occ; NI lastSize; tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts; tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root; tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted; tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last; tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes; NIM_BOOL locked; NIM_BOOL blockChunkSizeIncrease; NI nextChunkSize; tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData; tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks; NI allocCounter; NI deallocCounter; }; struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {NI stackScans; NI cycleCollections; NI maxThreshold; NI maxStackSize; NI maxStackCells; NI cycleTableSize; NI64 maxPause; }; struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {NI counter; NI max; tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head; tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data; }; typedef long tyArray__xDUyu9aScDpt0JZLU6q9aEZQ[5]; struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw {tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* head; tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* tail; pthread_mutex_t lock; }; struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {tyObject_GcStack__7fytPA5bBsob6See21YMRA stack; NI cycleThreshold; NI zctThreshold; tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct; tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack; tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack; NI recGcLock; tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region; tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat; tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked; tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots; tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw toDispose; NI gcThreadId; }; struct tyTuple__awOivLjlO76sGdHY7nQUjQ { NI Field0; NI Field1; NimStringDesc* Field2; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* Field3; }; struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname; NI line; NCSTRING filename; }; struct tySequence__MlAD6nAPq9bHKla9cWiIZP0g { TGenericSeq Sup; tyTuple__awOivLjlO76sGdHY7nQUjQ data[SEQ_DECL_SIZE];};struct tySequence__oLpBKXzW3hF9aCVMo5EymfQ { TGenericSeq Sup; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* data[SEQ_DECL_SIZE];};struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___19ag6cl4fMjxytc9arHmLIbw)(NimStringDesc* s_0); static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src); static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size); static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size); static N_INLINE(NimStringDesc*, toHex__3p6VYpmDb6FsTe2ZIUcuNQbyteutils)(tyArray__YtcvxHNKV4YiecPE9ap1mcA ba); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toHexAux__mTF3iGytPXR76nCDQ9aqz9cw)(NU8* ba, NI baLen_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space); N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, newJObject__nXwnFPu9beTnGPwglrr7ztA_2)(void); static N_INLINE(void, X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* obj, NimStringDesc* key_0, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* val_0); N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg); N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___vlnBr1uIbtu0ntnZh6Askg)(tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg* t, NimStringDesc* key_0, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* val_0); N_LIB_PRIVATE N_NOINLINE(void, raiseFieldError)(NimStringDesc* f); N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___U40Uj6rx9cKaxDH29cnJo0tA)(tyArray__YtcvxHNKV4YiecPE9ap1mcA v); static N_INLINE(NIM_BOOL, isSome__JkousULwdmzAGalw6U0qpQoptions)(tyObject_Option__N3bHKovkjP3o4YIl6zpohw self); static N_INLINE(void, unsafeGet__ta19a8QzJb39chWhwU9b9b9aCFg_2options)(tyObject_Option__N3bHKovkjP3o4YIl6zpohw self, tyArray__YtcvxHNKV4YiecPE9ap1mcA Result); static N_INLINE(void, nimZeroMem)(void* p, NI size); static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size); static N_INLINE(NIM_BOOL, isSome__EQK8j7PDqJFEWFr9cOPJS9aAoptions)(tyObject_Option__wHefNd5THCi6xMTxzEWqIw self); N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___x63ygnlU7a9azxIrtKf9cmpw)(NU64 v); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, encodeQuantity__k83y8McHU9alX9aVpTaLFLXg)(NU64 value_0); static N_INLINE(NU64, unsafeGet__vqRKYWIpnnYIQT9cnXpVp1woptions)(tyObject_Option__wHefNd5THCi6xMTxzEWqIw self); static N_INLINE(NIM_BOOL, isSome__7pvN3mkdmg4OQ2gDC9bkRTw_2options)(tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA self); N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___NSr46Qz23yGk4m9csPSbQBQ)(NI n_0); static N_INLINE(NI, unsafeGet__1Erv8xPIqYVM0C9cVJj63rwoptions)(tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA self); static N_INLINE(NIM_BOOL, isSome__34ku381IU9bJbtYN9a06zGhAoptions)(tyObject_Option__Y9bYoDed8m421UIHb473GAw* self); N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___OOb8eTTUlVeh8ivBuOlUkg)(tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg* n_0); static N_INLINE(NimStringDesc*, toHex__8CApwMWei8iT9cQeK1POaYA_2io)(tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg* num); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toString__X5fc87ECNWuekn9cp59cplTw)(tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg* num); static N_INLINE(tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg, unsafeGet__4soQEG6EYGx5DC4qBnwvQwoptions)(tyObject_Option__Y9bYoDed8m421UIHb473GAw* self); N_LIB_PRIVATE N_NIMCALL(void, expect__vt4akIm2aAJMf4kfqmrlbw)(tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg actual, tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg expected, NimStringDesc* argName); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getStr__QeJX1ptVmfOrOg9cwOVpcAA)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* n_0, NimStringDesc* default_0); N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void); N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x); static N_INLINE(void, asgnRef)(void** dest, void* src); static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c); static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y); static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr); static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y); static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c); static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y); static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c); N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c); N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line); static N_INLINE(void, hexToByteArray__m6jg459cAjEb7o0GerCo2dgbyteutils)(NimStringDesc* hexStr, NU8* output, NI outputLen_0); N_LIB_PRIVATE N_NIMCALL(void, hexToByteArray__7dgUOyUmxi4GBXEeCBQCaw)(NimStringDesc* hexStr, NU8* output, NI outputLen_0, NI fromIdx, NI toIdx); STRING_LITERAL(TM__8xFPf86Ufb8wbp9arrjGrjQ_2, "0x", 2); STRING_LITERAL(TM__8xFPf86Ufb8wbp9arrjGrjQ_3, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/" "vendor/Nim/lib/pure/json.nim(346, 9) `obj.kind == JObject` ", 122); STRING_LITERAL(TM__8xFPf86Ufb8wbp9arrjGrjQ_4, "\'fields\' is not accessible using discriminant \'kind\' of type \'J" "sonNodeObj\'", 74); STRING_LITERAL(TM__8xFPf86Ufb8wbp9arrjGrjQ_5, "from", 4); STRING_LITERAL(TM__8xFPf86Ufb8wbp9arrjGrjQ_6, "to", 2); STRING_LITERAL(TM__8xFPf86Ufb8wbp9arrjGrjQ_7, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/" "vendor/Nim/lib/pure/options.nim(372, 10) `self.isSome` ", 118); STRING_LITERAL(TM__8xFPf86Ufb8wbp9arrjGrjQ_8, "gas", 3); STRING_LITERAL(TM__8xFPf86Ufb8wbp9arrjGrjQ_9, "gasPrice", 8); STRING_LITERAL(TM__8xFPf86Ufb8wbp9arrjGrjQ_10, "value", 5); STRING_LITERAL(TM__8xFPf86Ufb8wbp9arrjGrjQ_11, "data", 4); STRING_LITERAL(TM__8xFPf86Ufb8wbp9arrjGrjQ_12, "nonce", 5); extern TNimType NTI__Ie1m0dv1ZHg72IgPRr1cDw_; extern TNimType NTI__yoNlBGx0D2tRizIdhQuENw_; STRING_LITERAL(TM__8xFPf86Ufb8wbp9arrjGrjQ_15, "Parameter \"", 11); STRING_LITERAL(TM__8xFPf86Ufb8wbp9arrjGrjQ_16, "\" value wrong length: ", 22); extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q; #line 11 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) { void* T1_; #line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" #line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" T1_ = (void*)0; T1_ = memcpy(dest, source, ((size_t) (size)));} #line 2112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) { #line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" nimCopyMem(dest, source, size); } #line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) { #line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" { #line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" #line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" if (!!((src == NIM_NIL))) goto LA3_; #line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" #line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" #line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1))))); #line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" (*dest).Sup.len += (*src).Sup.len; } LA3_: ; } #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim" static N_INLINE(NimStringDesc*, toHex__3p6VYpmDb6FsTe2ZIUcuNQbyteutils)(tyArray__YtcvxHNKV4YiecPE9ap1mcA ba) { NimStringDesc* result; result = (NimStringDesc*)0; #line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim" #line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim" #line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim" result = toHexAux__mTF3iGytPXR76nCDQ9aqz9cw(ba, 20); return result;} #line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___U40Uj6rx9cKaxDH29cnJo0tA)(tyArray__YtcvxHNKV4YiecPE9ap1mcA v) { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* result; NimStringDesc* T1_; NimStringDesc* T2_; result = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; #line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T1_ = (NimStringDesc*)0; #line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T2_ = (NimStringDesc*)0; T2_ = toHex__3p6VYpmDb6FsTe2ZIUcuNQbyteutils(v); T1_ = rawNewString((T2_ ? T2_->Sup.len : 0) + 2);appendString(T1_, ((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_2));appendString(T1_, T2_); #line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" result = percent___19ag6cl4fMjxytc9arHmLIbw(T1_); return result;} #line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" static N_INLINE(void, X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* obj, NimStringDesc* key_0, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* val_0) { #line 346 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" { #line 346 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 346 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" if (!!(((*obj).kind == ((tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg) 5)))) goto LA3_; #line 346 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" #line 346 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_3)); } LA3_: ; #line 347 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" if (!(((32 &(1U<<((NU)((*obj).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_4)); } #line 347 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/json.nim" X5BX5Deq___vlnBr1uIbtu0ntnZh6Askg((&(*obj)._kind_6.fields), key_0, val_0); } #line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" static N_INLINE(NIM_BOOL, isSome__JkousULwdmzAGalw6U0qpQoptions)(tyObject_Option__N3bHKovkjP3o4YIl6zpohw self) { NIM_BOOL result; result = (NIM_BOOL)0; #line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" result = self.has; return result;} #line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" static N_INLINE(void, unsafeGet__ta19a8QzJb39chWhwU9b9b9aCFg_2options)(tyObject_Option__N3bHKovkjP3o4YIl6zpohw self, tyArray__YtcvxHNKV4YiecPE9ap1mcA Result) { #line 367 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" { NIM_BOOL T3_; #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" T3_ = (NIM_BOOL)0; T3_ = isSome__JkousULwdmzAGalw6U0qpQoptions(self); if (!!(T3_)) goto LA4_; #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_7)); } LA4_: ; nimCopyMem((void*)Result, (NIM_CONST void*)self.val, sizeof(tyArray__YtcvxHNKV4YiecPE9ap1mcA));} #line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) { void* T1_; #line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" #line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size)));} #line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" static N_INLINE(void, nimZeroMem)(void* p, NI size) { #line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" #line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size); } #line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" static N_INLINE(NIM_BOOL, isSome__EQK8j7PDqJFEWFr9cOPJS9aAoptions)(tyObject_Option__wHefNd5THCi6xMTxzEWqIw self) { NIM_BOOL result; result = (NIM_BOOL)0; #line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" result = self.has; return result;} #line 51 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___x63ygnlU7a9azxIrtKf9cmpw)(NU64 v) { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* result; NimStringDesc* T1_; result = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; #line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T1_ = (NimStringDesc*)0; T1_ = encodeQuantity__k83y8McHU9alX9aVpTaLFLXg(v); #line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" result = percent___19ag6cl4fMjxytc9arHmLIbw(T1_); return result;} #line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" static N_INLINE(NU64, unsafeGet__vqRKYWIpnnYIQT9cnXpVp1woptions)(tyObject_Option__wHefNd5THCi6xMTxzEWqIw self) { NU64 result; result = (NU64)0; #line 367 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" { NIM_BOOL T3_; #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" T3_ = (NIM_BOOL)0; T3_ = isSome__EQK8j7PDqJFEWFr9cOPJS9aAoptions(self); if (!!(T3_)) goto LA4_; #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_7)); } LA4_: ; result = self.val; return result;} #line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" static N_INLINE(NIM_BOOL, isSome__7pvN3mkdmg4OQ2gDC9bkRTw_2options)(tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA self) { NIM_BOOL result; result = (NIM_BOOL)0; #line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" result = self.has; return result;} #line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" static N_INLINE(NI, unsafeGet__1Erv8xPIqYVM0C9cVJj63rwoptions)(tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA self) { NI result; result = (NI)0; #line 367 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" { NIM_BOOL T3_; #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" T3_ = (NIM_BOOL)0; T3_ = isSome__7pvN3mkdmg4OQ2gDC9bkRTw_2options(self); if (!!(T3_)) goto LA4_; #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_7)); } LA4_: ; result = self.val; return result;} #line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" static N_INLINE(NIM_BOOL, isSome__34ku381IU9bJbtYN9a06zGhAoptions)(tyObject_Option__Y9bYoDed8m421UIHb473GAw* self) { NIM_BOOL result; result = (NIM_BOOL)0; #line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" result = (*self).has; return result;} #line 376 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/io.nim" static N_INLINE(NimStringDesc*, toHex__8CApwMWei8iT9cQeK1POaYA_2io)(tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg* num) { NimStringDesc* result; result = (NimStringDesc*)0; #line 377 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/io.nim" #line 380 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/io.nim" #line 380 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/io.nim" result = toString__X5fc87ECNWuekn9cp59cplTw(num); return result;} #line 8 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___OOb8eTTUlVeh8ivBuOlUkg)(tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg* n_0) { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* result; NimStringDesc* T1_; NimStringDesc* T2_; result = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; #line 8 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 8 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T1_ = (NimStringDesc*)0; #line 8 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 8 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T2_ = (NimStringDesc*)0; T2_ = toHex__8CApwMWei8iT9cQeK1POaYA_2io(n_0); T1_ = rawNewString((T2_ ? T2_->Sup.len : 0) + 2);appendString(T1_, ((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_2));appendString(T1_, T2_); #line 8 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" result = percent___19ag6cl4fMjxytc9arHmLIbw(T1_); return result;} #line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" static N_INLINE(tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg, unsafeGet__4soQEG6EYGx5DC4qBnwvQwoptions)(tyObject_Option__Y9bYoDed8m421UIHb473GAw* self) { tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg result; nimZeroMem((void*)(&result), sizeof(tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg)); #line 367 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" { NIM_BOOL T3_; #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" T3_ = (NIM_BOOL)0; T3_ = isSome__34ku381IU9bJbtYN9a06zGhAoptions(self); if (!!(T3_)) goto LA4_; #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_7)); } LA4_: ; result = (*self).val; return result;} #line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___z3LcxyiEyUxal3LF9aQtMgg)(tyObject_EthSend__MCOED3G13L24SrT9ctnh1rg* x_0) { tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* result; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T1_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T30_; result = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; #line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" result = newJObject__nXwnFPu9beTnGPwglrr7ztA_2(); #line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T1_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T1_ = percent___U40Uj6rx9cKaxDH29cnJo0tA((*x_0).source); #line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson(result, ((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_5), T1_); #line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" { NIM_BOOL T4_; tyArray__YtcvxHNKV4YiecPE9ap1mcA T7_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T8_; #line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T4_ = (NIM_BOOL)0; T4_ = isSome__JkousULwdmzAGalw6U0qpQoptions((*x_0).to); if (!T4_) goto LA5_; #line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" nimZeroMem((void*)T7_, sizeof(tyArray__YtcvxHNKV4YiecPE9ap1mcA)); unsafeGet__ta19a8QzJb39chWhwU9b9b9aCFg_2options((*x_0).to, T7_); #line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T8_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T8_ = percent___U40Uj6rx9cKaxDH29cnJo0tA(T7_); #line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson(result, ((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_6), T8_); } LA5_: ; #line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" { NIM_BOOL T11_; NU64 T14_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T15_; #line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T11_ = (NIM_BOOL)0; T11_ = isSome__EQK8j7PDqJFEWFr9cOPJS9aAoptions((*x_0).gas); if (!T11_) goto LA12_; #line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T14_ = (NU64)0; T14_ = unsafeGet__vqRKYWIpnnYIQT9cnXpVp1woptions((*x_0).gas); #line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T15_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T15_ = percent___x63ygnlU7a9azxIrtKf9cmpw(T14_); #line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson(result, ((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_8), T15_); } LA12_: ; #line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" { NIM_BOOL T18_; NI T21_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T22_; #line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T18_ = (NIM_BOOL)0; T18_ = isSome__7pvN3mkdmg4OQ2gDC9bkRTw_2options((*x_0).gasPrice); if (!T18_) goto LA19_; #line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T21_ = (NI)0; T21_ = unsafeGet__1Erv8xPIqYVM0C9cVJj63rwoptions((*x_0).gasPrice); #line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T22_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T22_ = percent___NSr46Qz23yGk4m9csPSbQBQ(T21_); #line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson(result, ((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_9), T22_); } LA19_: ; #line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" { NIM_BOOL T25_; tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg T28_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T29_; #line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T25_ = (NIM_BOOL)0; T25_ = isSome__34ku381IU9bJbtYN9a06zGhAoptions((&(*x_0).value)); if (!T25_) goto LA26_; #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T28_ = unsafeGet__4soQEG6EYGx5DC4qBnwvQwoptions((&(*x_0).value)); #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T29_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T29_ = percent___OOb8eTTUlVeh8ivBuOlUkg((&T28_)); #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson(result, ((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_10), T29_); } LA26_: ; #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T30_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T30_ = percent___19ag6cl4fMjxytc9arHmLIbw((*x_0).data); #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson(result, ((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_11), T30_); #line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" { NIM_BOOL T33_; NI T36_; tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T37_; #line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T33_ = (NIM_BOOL)0; T33_ = isSome__7pvN3mkdmg4OQ2gDC9bkRTw_2options((*x_0).nonce); if (!T33_) goto LA34_; #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T36_ = (NI)0; T36_ = unsafeGet__1Erv8xPIqYVM0C9cVJj63rwoptions((*x_0).nonce); #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T37_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0; T37_ = percent___NSr46Qz23yGk4m9csPSbQBQ(T36_); #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson(result, ((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_12), T37_); } LA34_: ; return result;} #line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) { NI result; result = (NI)0; #line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" #line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y)))))); return result;} #line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) { #line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" (*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));} #line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) { NI result; result = (NI)0; #line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" #line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y)))))); return result;} #line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result; NI T1_; result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; #line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" T1_ = (NI)0; T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16)); result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_)); return result;} #line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim" static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) { NIM_BOOL result; result = (NIM_BOOL)0; #line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim" #line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim" result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y)))); return result;} #line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) { #line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c); } #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) { #line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" (*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8)); #line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" { NIM_BOOL T3_; #line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" T3_ = (NIM_BOOL)0; T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8)); if (!T3_) goto LA4_; #line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c); } LA4_: ; } #line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(void, asgnRef)(void** dest, void* src) { #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_; #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" if (!!((src == NIM_NIL))) goto LA3_; #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src); #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_); } LA3_: ; #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_; #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" if (!!(((*dest) == NIM_NIL))) goto LA8_; #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest)); #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_); } LA8_: ; #line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" (*dest) = src;} #line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim" static N_INLINE(void, hexToByteArray__m6jg459cAjEb7o0GerCo2dgbyteutils)(NimStringDesc* hexStr, NU8* output, NI outputLen_0) { #line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim" #line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim" #line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim" hexToByteArray__7dgUOyUmxi4GBXEeCBQCaw(hexStr, output, outputLen_0, ((NI) 0), (outputLen_0-1)); } #line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" N_LIB_PRIVATE N_NIMCALL(void, bytesFromJson__3U9cUaaE8g9aZKvP09bWzgcXw)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* n_0, NimStringDesc* argName, NU8* result, NI resultLen_0) { NimStringDesc* hexStr; #line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" expect__vt4akIm2aAJMf4kfqmrlbw((*n_0).kind, ((tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg) 4), argName); #line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" hexStr = getStr__QeJX1ptVmfOrOg9cwOVpcAA(n_0, ((NimStringDesc*) NIM_NIL)); #line 32 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" { NI TM__8xFPf86Ufb8wbp9arrjGrjQ_13; NI TM__8xFPf86Ufb8wbp9arrjGrjQ_14; tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw* T5_; NimStringDesc* T6_; NimStringDesc* T7_; #line 32 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 32 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 32 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 32 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 32 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 32 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" if (nimMulInt(resultLen_0, ((NI) 2), &TM__8xFPf86Ufb8wbp9arrjGrjQ_13)) { raiseOverflow(); }; if (nimAddInt((NI)(TM__8xFPf86Ufb8wbp9arrjGrjQ_13), ((NI) 2), &TM__8xFPf86Ufb8wbp9arrjGrjQ_14)) { raiseOverflow(); }; if (!!(((hexStr ? hexStr->Sup.len : 0) == (NI)(TM__8xFPf86Ufb8wbp9arrjGrjQ_14)))) goto LA3_; T5_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*)0; T5_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*) newObj((&NTI__Ie1m0dv1ZHg72IgPRr1cDw_), sizeof(tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw)); (*T5_).Sup.Sup.Sup.m_type = (&NTI__yoNlBGx0D2tRizIdhQuENw_); (*T5_).Sup.Sup.name = "ValueError"; #line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T6_ = (NimStringDesc*)0; #line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" T7_ = (NimStringDesc*)0; T7_ = nimIntToStr((hexStr ? hexStr->Sup.len : 0)); T6_ = rawNewString((argName ? argName->Sup.len : 0) + (T7_ ? T7_->Sup.len : 0) + 33);appendString(T6_, ((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_15));appendString(T6_, argName);appendString(T6_, ((NimStringDesc*) &TM__8xFPf86Ufb8wbp9arrjGrjQ_16));appendString(T6_, T7_); asgnRef((void**) (&(*T5_).Sup.Sup.message), T6_); asgnRef((void**) (&(*T5_).Sup.Sup.parent), NIM_NIL); #line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" raiseExceptionEx((Exception*)T5_, "ValueError", "bytesFromJson", "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conver" "sions.nim", 33); } LA3_: ; #line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" #line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-web3/web3/conversions.nim" hexToByteArray__m6jg459cAjEb7o0GerCo2dgbyteutils(hexStr, result, resultLen_0); }