Expand description
Call specification parsing for batch transactions.
Parses call specs in the format: to[:<value>][:<sig>[:<args>]] or to[:<value>][:<0xrawdata>]
Examples:
0x1234567890123456789012345678901234567890- Just an address (empty call)0x1234567890123456789012345678901234567890:0.1ether- ETH transfer0x1234567890123456789012345678901234567890::transfer(address,uint256): 0x0987654321098765432109876543210987654321,1000- Contract call with signature0x1234567890123456789012345678901234567890::batch(uint256[],(uint256,uint256)): [1,2],(3,4)- Array and tuple arguments.
0x1234567890123456789012345678901234567890::0x123def- Contract call with raw calldata0x1234567890123456789012345678901234567890:1ether:deposit()- Value + function call
Structs§
- Call
Spec - A parsed call specification for batch transactions.
Functions§
- split_
call_ 🔒args - Split call arguments on top-level commas, respecting nested parentheses, brackets, and quoted strings.