chore: create internal _swap method for harness usage
This commit is contained in:
@@ -97,6 +97,13 @@ contract BebopExecutor is IExecutor, IExecutorErrors, RestrictTransferFrom {
|
||||
virtual
|
||||
override
|
||||
returns (uint256 calculatedAmount)
|
||||
{
|
||||
calculatedAmount = _swap(givenAmount, data);
|
||||
}
|
||||
|
||||
function _swap(uint256 givenAmount, bytes calldata data)
|
||||
internal
|
||||
returns (uint256 calculatedAmount)
|
||||
{
|
||||
// Decode the packed data
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user