Commit Graph

28 Commits

Author SHA1 Message Date
Mark Spanbroek c076aca82c Fix test 2023-06-29 11:12:15 +02:00
Emil Ivanichkov 1e72c2f10e Add generic decode function 2023-06-29 11:11:02 +02:00
Mark Spanbroek c82a70b353 Fix warnings 2023-06-29 11:07:00 +02:00
Mark Spanbroek f23f3e8aba Support Nim 1.2.x 2022-09-14 09:15:09 +02:00
Mark Spanbroek 1ac5eca540 Support distinct types 2022-09-14 09:15:09 +02:00
Mark Spanbroek f4ea25cb57 Support enums in a function signature 2022-06-15 09:53:07 +02:00
Mark Spanbroek 8a170e3261 Fix for nim 1.2.x 2022-04-13 06:48:23 +02:00
Mark Spanbroek 01c11eecb0 Custom encoding can use startTuple() and finishTuple() 2022-04-13 06:48:23 +02:00
Mark Spanbroek d179f9a11d Fix solidity type for byte arrays greater than 32 bytes 2022-04-07 14:39:46 +02:00
Mark Spanbroek 0c3dca0aa1 Calculate Event topic 2022-02-02 11:51:30 +01:00
Mark Spanbroek ad3d2f7a4b Support calculation of solidity function selectors 2022-01-19 09:18:46 +01:00
Mark Spanbroek e3c9aa4368 Add support for Ethereum addresses 2022-01-19 09:16:22 +01:00
Mark Spanbroek a0fad53523 Support decoding of signed integers 2021-12-09 10:38:34 +01:00
Mark Spanbroek 8131170475 Support encoding of signed integers 2021-12-08 17:27:54 +01:00
Mark Spanbroek f8a226b8d6 Add test for embedding custom types in tuples 2021-12-02 11:15:02 +01:00
Mark Spanbroek f40101100e Support encoding and decoding of custom types 2021-12-01 17:44:46 +01:00
Mark Spanbroek 987d6f4028 Fail gracefully when decoding enum fails 2021-12-01 17:26:35 +01:00
Mark Spanbroek f1d85a6d84 Fail gracefully when decoding range fails 2021-12-01 17:26:05 +01:00
Mark Spanbroek 51da2802aa Decoding fails gracefully in several error cases 2021-12-01 16:34:02 +01:00
Mark Spanbroek a43c7b21a4 Add support for decode failures by returning Result type 2021-12-01 13:01:28 +01:00
Mark Spanbroek 2aa8685eb5 Simplify decoding of tuples 2021-12-01 11:40:12 +01:00
Mark Spanbroek 243b9a12e9 Simplify encoding of tuples 2021-12-01 10:58:23 +01:00
Mark Spanbroek 4126edf89f Decode strings 2021-11-30 16:35:38 +01:00
Mark Spanbroek 0f4c4d1465 Decode sequences and arrays 2021-11-30 16:22:52 +01:00
Mark Spanbroek 767c4ab588 Decoding of basic types 2021-11-30 15:14:57 +01:00
Mark Spanbroek 6c7dc7123a Introduce testAll for running multiple tests in one go 2021-11-30 11:43:07 +01:00
Mark Spanbroek 662c0fb4b8 Support encoding of strings 2021-11-29 10:39:13 +01:00
Mark Spanbroek 8184529abd ABI Encoder extracted from nim-nitro module 2021-11-25 09:33:32 +01:00