Skip to content

cmioc encode delegatecallvoucher

Encodes a delegate call voucher according to the DelegateCallVoucher function signature. A delegate call voucher represents a DELEGATECALL instruction to be performed in the context of the Application contract.

Command
cmioc encode delegatecallvoucher \
    --destination 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 \
    --payload 0xfafafa

Required options

--destination <address>

address

The Ethereum address to be called, which is typically that of a smart contract.

--payload <blob>

bytes

The data to be passed along the call, which typically encodes a Solidity function call.

Other options

-b, --binary

Write the blob to standard output in binary format.

-h, --help

Display help for command.