diff --git a/README.md b/README.md index d4199e1..b39bf31 100644 --- a/README.md +++ b/README.md @@ -38,12 +38,12 @@ Documentation is available on [docs.rs](https://docs.rs/evmole/latest/evmole/) ```rust let code = hex::decode("6080604052348015600e575f80fd5b50600436106030575f3560e01c80632125b65b146034578063b69ef8a8146044575b5f80fd5b6044603f3660046046565b505050565b005b5f805f606084860312156057575f80fd5b833563ffffffff811681146069575f80fd5b925060208401356001600160a01b03811681146083575f80fd5b915060408401356001600160e01b0381168114609d575f80fd5b80915050925092509256").unwrap(); -println!("{:x?} | {} | {}", +println!("{:x?} | {} | {:?}", evmole::function_selectors(&code, 0), evmole::function_arguments(&code, &[0x21, 0x25, 0xb6, 0x5b], 0), evmole::function_state_mutability(&code, &[0x21, 0x25, 0xb6, 0x5b], 0), ); -// [[21, 25, b6, 5b], [b6, 9e, f8, a8]] | uint32,address,uint224 | pure +// [[21, 25, b6, 5b], [b6, 9e, f8, a8]] | uint32,address,uint224 | Pure ``` ### Python