Skip to content

Add Batcher Creation and Execution Functionality

Choose a tag to compare

@mandriuska mandriuska released this 13 Sep 06:15
· 10 commits to main since this release
ab22c94

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.