rust-ethereum-abi icon indicating copy to clipboard operation
rust-ethereum-abi copied to clipboard

Ethereum Smart Contract ABI parsing library.

Results 5 rust-ethereum-abi issues
Sort by recently updated
recently updated
newest added

Hello! I was happy to find this crate, because I thought I can decode the response from the emitted events, but I encountered some problems. First of all the from_reader...

```rust struct TestCase { data: String, types: Vec, results: Vec } let test_case = TestCase { data: "0000000000000000000000000000000000000000000000000000000062262ba1000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000e404e45aaf000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000084b6a5c40000000000000000000000000000000000000000000000000bd373e0061c7e7f94000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004449404b7c00000000000000000000000000000000000000000000000bd373e0061c7e7f9400000000000000000000000016ee789b50d3d49b8f71b5314c367e3fef24d74600000000000000000000000000000000000000000000000000000000".to_string(), types: vec![Type::Uint(256), Type::Array(Box::new(Type::Bytes))], results: vec![ Value::Uint(EthersU256::from_dec_str("1646668705").unwrap(), 256), Value::Array(vec![ Value::Bytes(hex::decode("04e45aaf000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000084b6a5c40000000000000000000000000000000000000000000000000bd373e0061c7e7f940000000000000000000000000000000000000000000000000000000000000000").unwrap()), Value::Bytes(hex::decode("49404b7c00000000000000000000000000000000000000000000000bd373e0061c7e7f9400000000000000000000000016ee789b50d3d49b8f71b5314c367e3fef24d746").unwrap()), ], Type::Bytes),...

I would like to be able to serde_json serialize/deserialize DecodedParams struct. This would allow me to store user transaction inputs in my database. I understand this also implicates serializing the...

`decode_input_from_slice` sometimes crah My code is the following ``` let (function, decoded_params) = match DEPOSIT_CONTRACT_ABI.decode_input_from_slice(&transaction.input.0) { Ok(d) => d, Err(_) => return Ok(()), }; ``` Here is the backtrace: ```...

Updates the requirements on [ethereum-types](https://github.com/paritytech/parity-common) to permit the latest version. Commits 21d7963 ethbloom too 173a26d ethereum-types too 829682b bump dep dd54c82 fix rlp changelog d50fad2 bump impl-codec ab7a762 bump rlp-derive...

dependencies