Commit Graph

14 Commits

Author SHA1 Message Date
Mark Spanbroek a5f676eecc Fixes after breaking changes in stew and stint 2023-06-29 11:07:00 +02:00
Mark Spanbroek 1ac5eca540 Support distinct types 2022-09-14 09:15:09 +02:00
Mark Spanbroek 01c11eecb0 Custom encoding can use startTuple() and finishTuple() 2022-04-13 06:48:23 +02:00
Mark Spanbroek e3c9aa4368 Add support for Ethereum addresses 2022-01-19 09:16:22 +01:00
Mark Spanbroek 971cdad25d Simplify encoding/decoding of signed integers
Fixes error in Nim 1.4.8
2021-12-09 11:48:14 +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 319418cab7 Remove procs from public API
Since the introduction of the new API for encoding
and decoding of tuples, these procs are no longer
required to be on the external API.
2021-12-01 12:09:42 +01:00
Mark Spanbroek 1070b7251a Ensure that isDynamic also works for booleans
Casts are not supported in the nim vm.
2021-12-01 11:41:18 +01:00
Mark Spanbroek 243b9a12e9 Simplify encoding of tuples 2021-12-01 10:58:23 +01:00
Mark Spanbroek 0f4c4d1465 Decode sequences and arrays 2021-11-30 16:22:52 +01:00
Mark Spanbroek 662c0fb4b8 Support encoding of strings 2021-11-29 10:39:13 +01:00
Mark Spanbroek a93772e69b Fix "undeclared identifier 'uintImpl'"
Happened when caller imports contractabi, but not stint.
2021-11-25 10:40:36 +01:00
Mark Spanbroek 8184529abd ABI Encoder extracted from nim-nitro module 2021-11-25 09:33:32 +01:00