Georgios Konstantopoulos
41998d6d2d
fix(tokens): make token decoding abiencoderv2 friendly
2020-07-03 18:51:19 +03:00
Georgios Konstantopoulos
3d2d40699f
Fix buggy non-nested tuples ( #48 )
...
* test(tokens): ensure nested tuples tokenize properly
* test(contract): add failing test with 2 args
This happens because the args are serialized as Token::Tuple, while instead they should be just a vector
* fix(tokens): add token flattening method to fix non-nested tuples
* fix: do not export the flatten function
2020-07-03 17:37:38 +03:00
Rohit Narurkar
f88f0129f9
feat(tokens): tokenize tuples
...
* tuples impl Tokenizable instead of impl Tokenize/Detokenize
* uncomment the abigen for DyDxLimitOrders contract (nested tuples)
2020-06-29 11:03:01 +03:00
Georgios Konstantopoulos
570b45eb10
ABI Encoder v2 + ABI Spec v6.6 ( #17 )
...
* feat(core): update ethabi and enable more Toeknize impls
* feat(contract/abigen): implement simple AbiEncoderV2
* tests(ethers): add abigen example
* fix(core): fix abi tests
* chore: make clippy happy
2020-06-16 15:08:42 +03:00
Georgios Konstantopoulos
73b502ed5f
macro: re-enable paths/etherscan and enable more complex tokens
2020-06-04 00:05:05 +03:00
Georgios Konstantopoulos
cd4914d37f
refactor: pull crates to root dir
2020-06-01 21:24:22 +03:00