Add MultiSendDecode command to bin.js #1856
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a command to the bin.js to decode Gnosis multi-send payload.
Usage: ./bin.js decode-multi-send
MULTI SEND transactions(bytes)
i.e.
./bin.js decode-multi-send 0x008d203c458d536fe0f97e9f741bc231eac8cd91cf0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002425a3746e0000000000000000000000000000000000000000000189ae49790084000000000029c295b046a73cde593f21f63091b072d407e3f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064e54c1671000000000000000000000000000000000000000000000000000000000000000200000000000000000000000039ea01a0298c315d149a490e34b59dbf2ec7e48f000000000000000000000000000000000000000000009d78ea2fb0b518000000
will result in the following output