Add Batcher Creation and Execution Functionality
Add Batcher Creation and Execution Functionality
This PR introduces new functionality to create and execute batcher orders in the Lenfi SDK. These features allow for more efficient transaction processing during high-usage periods.
New Functions Added:
Batcher Order Creation:
createBatcherDeposit
createBatcherBorrow
createBatcherRepay
createBatcherWithdraw
Batcher Order Execution:
executeBatcherDeposit
executeBatcherBorrow
executeBatcherRepay
executeBatcherWithdraw
Additional Changes:
Updated README with explanations and examples for new batcher functions
Added unit tests for new batcher functionality
Implemented error handling for batcher operations
These additions allow users to create "order" transactions that can be executed by third parties, helping to manage network congestion and high pool usage scenarios.