Added send_ether, send-erc20, send-erc721, send-custom and tx-builder commands. The first commands allow to execute transactions and the second, by importing a file generated by the tx_builder, can execute tx batches using the MultiSendCallOnly contract.
A script_modeno_input property is added to safe_operator to raise exceptions that terminate execution instead of just displaying the error message (prompt mode).
Updated the Readme file with the examples of the added commands.
coverage: 88.843% (+1.6%) from 87.279%
when pulling 8d82f8aa7b76570deb7b8f273a5d08f801f08791 on support_scripting
into dbea553f755064c9e54788db5a5e9946d506f87a on main.
coverage: 88.804% (+1.5%) from 87.279%
when pulling ee7a27ce584ceeeef94519bf6957aebe0d88c6a8 on support_scripting
into dbea553f755064c9e54788db5a5e9946d506f87a on main.
coverage: 88.812% (+1.5%) from 87.279%
when pulling 1e1d3548bd4c283e2de19261d3936d82d86bf698 on support_scripting
into dbea553f755064c9e54788db5a5e9946d506f87a on main.
coverage: 87.771% (+0.5%) from 87.279%
when pulling d8319c98cc56af32292d97b8c041cd1a995f13b1 on support_scripting
into f84bc0ecdb2588458b6a06b970bd008ccb960898 on main.
coverage: 87.771% (+0.5%) from 87.279%
when pulling 040622f8246f9e4276db090260c786dc84393462 on support_scripting
into d9ac0c1195fb9e10d29dbdd1dde8d50d382e10a8 on main.
coverage: 87.46% (+0.2%) from 87.279%
when pulling f9b5250e796cf5ec69cf377148c31e0e20d674f0 on support_scripting
into d9ac0c1195fb9e10d29dbdd1dde8d50d382e10a8 on main.
coverage: 87.47% (+0.2%) from 87.279%
when pulling da2c9aece4976d05822f488e833b300d1dac719e on support_scripting
into a9427b222f74866642a6a37ee1a2f5df19826bd2 on main.
coverage: 87.47% (+0.2%) from 87.279%
when pulling da2c9aece4976d05822f488e833b300d1dac719e on support_scripting
into a9427b222f74866642a6a37ee1a2f5df19826bd2 on main.
Closes https://github.com/safe-global/safe-cli/issues/36
Points of interest:
send_ether
,send-erc20
,send-erc721
,send-custom
andtx-builder
commands. The first commands allow to execute transactions and the second, by importing a file generated by the tx_builder, can execute tx batches using the MultiSendCallOnly contract.The logic of theAdded here: https://github.com/safe-global/safe-cli/pull/426tx_builder_file_decoder
is developed based on what I know is done in the front end tx_builder.script_mode
no_input
property is added tosafe_operator
to raise exceptions that terminate execution instead of just displaying the error message (prompt mode).Readme
file with the examples of the added commands.