@@ -273,7 +273,7 @@ <h2 id="acknowledgment"><a class="header" href="#acknowledgment">Acknowledgment<
273273< li > < a href ="src/algorithms/clvr.sol/contract.CLVR.html "> CLVR</ a > </ li >
274274</ ul >
275275< div style ="break-before: page; page-break-before: always; "> </ div > < h1 id ="basealgorithm "> < a class ="header " href ="#basealgorithm "> BaseAlgorithm</ a > </ h1 >
276- < p > < a href ="https://github.com/asyncswap/async-swap/blob/80a13710026eab2501c44ee14ea1971c27c2d4b5 /src/algorithms/BaseAlgorithm.sol "> Git Source</ a > </ p >
276+ < p > < a href ="https://github.com/asyncswap/async-swap/blob/a69da46fa33b468a389fad7ce13dbdde29b7e361 /src/algorithms/BaseAlgorithm.sol "> Git Source</ a > </ p >
277277< p > < strong > Inherits:</ strong >
278278< a href ="src/algorithms/BaseAlgorithm.sol//home/runner/work/async-swap/async-swap/docs/_build/v1.0.3/src/src/interfaces/IAlgorithm.sol/interface.IAlgorithm.html "> IAlgorithm</ a > </ p >
279279< h2 id ="state-variables "> < a class ="header " href ="#state-variables "> State Variables</ a > </ h2 >
@@ -331,7 +331,7 @@ <h3 id="getvolatility"><a class="header" href="#getvolatility">getVolatility</a>
331331< pre > < code class ="language-solidity "> function getVolatility(AsyncOrder[] memory orders) external pure virtual override returns (uint256);
332332</ code > </ pre >
333333< div style ="break-before: page; page-break-before: always; "> </ div > < h1 id ="clvr "> < a class ="header " href ="#clvr "> CLVR</ a > </ h1 >
334- < p > < a href ="https://github.com/asyncswap/async-swap/blob/80a13710026eab2501c44ee14ea1971c27c2d4b5 /src/algorithms/clvr.sol "> Git Source</ a > </ p >
334+ < p > < a href ="https://github.com/asyncswap/async-swap/blob/a69da46fa33b468a389fad7ce13dbdde29b7e361 /src/algorithms/clvr.sol "> Git Source</ a > </ p >
335335< p > < strong > Inherits:</ strong >
336336< a href ="src/algorithms/clvr.sol//home/runner/work/async-swap/async-swap/docs/_build/v1.0.3/src/src/algorithms/BaseAlgorithm.sol/contract.BaseAlgorithm.html "> BaseAlgorithm</ a > </ p >
337337< p > < strong > Author:</ strong >
@@ -385,7 +385,7 @@ <h3 id="getvolatility-1"><a class="header" href="#getvolatility-1">getVolatility
385385< li > < a href ="src/interfaces/IRouter.sol/interface.IRouter.html "> IRouter</ a > </ li >
386386</ ul >
387387< div style ="break-before: page; page-break-before: always; "> </ div > < h1 id ="ialgorithm "> < a class ="header " href ="#ialgorithm "> IAlgorithm</ a > </ h1 >
388- < p > < a href ="https://github.com/asyncswap/async-swap/blob/80a13710026eab2501c44ee14ea1971c27c2d4b5 /src/interfaces/IAlgorithm.sol "> Git Source</ a > </ p >
388+ < p > < a href ="https://github.com/asyncswap/async-swap/blob/a69da46fa33b468a389fad7ce13dbdde29b7e361 /src/interfaces/IAlgorithm.sol "> Git Source</ a > </ p >
389389< p > < strong > Author:</ strong >
390390Async Labs</ p >
391391< p > This interface defines the functions for transaction ordering algorithms used in the Async Swap AMM hook.</ p >
@@ -422,7 +422,7 @@ <h3 id="getvolatility-2"><a class="header" href="#getvolatility-2">getVolatility
422422< pre > < code class ="language-solidity "> function getVolatility(AsyncOrder[] memory orders) external pure returns (uint256);
423423</ code > </ pre >
424424< div style ="break-before: page; page-break-before: always; "> </ div > < h1 id ="iasyncswapamm "> < a class ="header " href ="#iasyncswapamm "> IAsyncSwapAMM</ a > </ h1 >
425- < p > < a href ="https://github.com/asyncswap/async-swap/blob/80a13710026eab2501c44ee14ea1971c27c2d4b5 /src/interfaces/IAsyncSwapAMM.sol "> Git Source</ a > </ p >
425+ < p > < a href ="https://github.com/asyncswap/async-swap/blob/a69da46fa33b468a389fad7ce13dbdde29b7e361 /src/interfaces/IAsyncSwapAMM.sol "> Git Source</ a > </ p >
426426< p > < strong > Inherits:</ strong >
427427< a href ="src/interfaces/IAsyncSwapAMM.sol//home/runner/work/async-swap/async-swap/docs/_build/v1.0.3/src/src/interfaces/IAsyncSwapOrder.sol/interface.IAsyncSwapOrder.html "> IAsyncSwapOrder</ a > </ p >
428428< p > < strong > Author:</ strong >
@@ -436,7 +436,7 @@ <h3 id="executeorder"><a class="header" href="#executeorder">executeOrder</a></h
436436< p > < strong > Parameters</ strong > </ p >
437437< div class ="table-wrapper "> < table > < thead > < tr > < th > Name</ th > < th > Type</ th > < th > Description</ th > </ tr > </ thead > < tbody >
438438< tr > < td > < code > order</ code > </ td > < td > < code > AsyncOrder</ code > </ td > < td > The async order to be filled.</ td > </ tr >
439- < tr > < td > < code > userParams</ code > </ td > < td > < code > bytes</ code > </ td > < td > Additional data for the user .</ td > </ tr >
439+ < tr > < td > < code > userParams</ code > </ td > < td > < code > bytes</ code > </ td > < td > data containe adderss of the filler .</ td > </ tr >
440440</ tbody > </ table >
441441</ div >
442442< h3 id ="executeorders "> < a class ="header " href ="#executeorders "> executeOrders</ a > </ h3 >
@@ -466,7 +466,7 @@ <h3 id="userparams"><a class="header" href="#userparams">UserParams</a></h3>
466466< tr > < td > < code > executor</ code > </ td > < td > < code > address</ code > </ td > < td > </ td > </ tr >
467467</ tbody > </ table >
468468</ div > < div style ="break-before: page; page-break-before: always; "> </ div > < h1 id ="iasyncswaporder "> < a class ="header " href ="#iasyncswaporder "> IAsyncSwapOrder</ a > </ h1 >
469- < p > < a href ="https://github.com/asyncswap/async-swap/blob/80a13710026eab2501c44ee14ea1971c27c2d4b5 /src/interfaces/IAsyncSwapOrder.sol "> Git Source</ a > </ p >
469+ < p > < a href ="https://github.com/asyncswap/async-swap/blob/a69da46fa33b468a389fad7ce13dbdde29b7e361 /src/interfaces/IAsyncSwapOrder.sol "> Git Source</ a > </ p >
470470< p > < strong > Author:</ strong >
471471Async Labs</ p >
472472< p > This interface defines the functions for the Async Swap orders.</ p >
@@ -538,15 +538,15 @@ <h3 id="zerofillorder"><a class="header" href="#zerofillorder">ZeroFillOrder</a>
538538< pre > < code class ="language-solidity "> error ZeroFillOrder();
539539</ code > </ pre >
540540< div style ="break-before: page; page-break-before: always; "> </ div > < h1 id ="irouter "> < a class ="header " href ="#irouter "> IRouter</ a > </ h1 >
541- < p > < a href ="https://github.com/asyncswap/async-swap/blob/80a13710026eab2501c44ee14ea1971c27c2d4b5 /src/interfaces/IRouter.sol "> Git Source</ a > </ p >
541+ < p > < a href ="https://github.com/asyncswap/async-swap/blob/a69da46fa33b468a389fad7ce13dbdde29b7e361 /src/interfaces/IRouter.sol "> Git Source</ a > </ p >
542542< p > < strong > Author:</ strong >
543543Async Labs</ p >
544544< p > This interface defines the functions for the Router contract, which allows users to swap tokens and fill
545545orders using async orders.</ p >
546546< h2 id ="functions-5 "> < a class ="header " href ="#functions-5 "> Functions</ a > </ h2 >
547547< h3 id ="swap "> < a class ="header " href ="#swap "> swap</ a > </ h3 >
548548< p > Swaps tokens using an async order.</ p >
549- < pre > < code class ="language-solidity "> function swap(AsyncOrder calldata order, bytes calldata userData) external;
549+ < pre > < code class ="language-solidity "> function swap(AsyncOrder calldata order, bytes calldata userData) external payable ;
550550</ code > </ pre >
551551< p > < strong > Parameters</ strong > </ p >
552552< div class ="table-wrapper "> < table > < thead > < tr > < th > Name</ th > < th > Type</ th > < th > Description</ th > </ tr > </ thead > < tbody >
@@ -556,7 +556,7 @@ <h3 id="swap"><a class="header" href="#swap">swap</a></h3>
556556</ div >
557557< h3 id ="fillorder "> < a class ="header " href ="#fillorder "> fillOrder</ a > </ h3 >
558558< p > Fills an async order.</ p >
559- < pre > < code class ="language-solidity "> function fillOrder(AsyncOrder calldata order, bytes calldata userData) external;
559+ < pre > < code class ="language-solidity "> function fillOrder(AsyncOrder calldata order, bytes calldata userData) external payable ;
560560</ code > </ pre >
561561< p > < strong > Parameters</ strong > </ p >
562562< div class ="table-wrapper "> < table > < thead > < tr > < th > Name</ th > < th > Type</ th > < th > Description</ th > </ tr > </ thead > < tbody >
@@ -608,7 +608,7 @@ <h3 id="actiontype"><a class="header" href="#actiontype">ActionType</a></h3>
608608< li > < a href ="src/libraries/AsyncFiller.sol/library.AsyncFiller.html "> AsyncFiller</ a > </ li >
609609</ ul >
610610< div style ="break-before: page; page-break-before: always; "> </ div > < h1 id ="asyncfiller "> < a class ="header " href ="#asyncfiller "> AsyncFiller</ a > </ h1 >
611- < p > < a href ="https://github.com/asyncswap/async-swap/blob/80a13710026eab2501c44ee14ea1971c27c2d4b5 /src/libraries/AsyncFiller.sol "> Git Source</ a > </ p >
611+ < p > < a href ="https://github.com/asyncswap/async-swap/blob/a69da46fa33b468a389fad7ce13dbdde29b7e361 /src/libraries/AsyncFiller.sol "> Git Source</ a > </ p >
612612< p > < strong > Author:</ strong >
613613Async Labs</ p >
614614< p > This library provides functionality for filling async swap orders in the Uniswap V4 pool.</ p >
@@ -695,7 +695,7 @@ <h3 id="state"><a class="header" href="#state">State</a></h3>
695695< li > < a href ="src/types/AsyncOrder.sol/struct.AsyncOrder.html "> AsyncOrder</ a > </ li >
696696</ ul >
697697< div style ="break-before: page; page-break-before: always; "> </ div > < h1 id ="asyncorder "> < a class ="header " href ="#asyncorder "> AsyncOrder</ a > </ h1 >
698- < p > < a href ="https://github.com/asyncswap/async-swap/blob/80a13710026eab2501c44ee14ea1971c27c2d4b5 /src/types/AsyncOrder.sol "> Git Source</ a > </ p >
698+ < p > < a href ="https://github.com/asyncswap/async-swap/blob/a69da46fa33b468a389fad7ce13dbdde29b7e361 /src/types/AsyncOrder.sol "> Git Source</ a > </ p >
699699< p > Represents an async order for a swap in the Uniswap V4 pool.</ p >
700700< pre > < code class ="language-solidity "> struct AsyncOrder {
701701PoolKey key;
@@ -718,7 +718,7 @@ <h3 id="state"><a class="header" href="#state">State</a></h3>
718718< li > < a href ="src/utils/TransientStorage.sol/contract.TransientStorage.html "> TransientStorage</ a > </ li >
719719</ ul >
720720< div style ="break-before: page; page-break-before: always; "> </ div > < h1 id ="transientstorage "> < a class ="header " href ="#transientstorage "> TransientStorage</ a > </ h1 >
721- < p > < a href ="https://github.com/asyncswap/async-swap/blob/80a13710026eab2501c44ee14ea1971c27c2d4b5 /src/utils/TransientStorage.sol "> Git Source</ a > </ p >
721+ < p > < a href ="https://github.com/asyncswap/async-swap/blob/a69da46fa33b468a389fad7ce13dbdde29b7e361 /src/utils/TransientStorage.sol "> Git Source</ a > </ p >
722722< p > < strong > Author:</ strong >
723723Async Labs</ p >
724724< p > This contract provides functions to interact with the transient storage.</ p >
@@ -742,7 +742,7 @@ <h3 id="tstore"><a class="header" href="#tstore">tstore</a></h3>
742742< tr > < td > < code > value</ code > </ td > < td > < code > bytes32</ code > </ td > < td > The value to store in the transient storage.</ td > </ tr >
743743</ tbody > </ table >
744744</ div > < div style ="break-before: page; page-break-before: always; "> </ div > < h1 id ="asyncswap "> < a class ="header " href ="#asyncswap "> AsyncSwap</ a > </ h1 >
745- < p > < a href ="https://github.com/asyncswap/async-swap/blob/80a13710026eab2501c44ee14ea1971c27c2d4b5 /src/AsyncSwap.sol "> Git Source</ a > </ p >
745+ < p > < a href ="https://github.com/asyncswap/async-swap/blob/a69da46fa33b468a389fad7ce13dbdde29b7e361 /src/AsyncSwap.sol "> Git Source</ a > </ p >
746746< p > < strong > Inherits:</ strong >
747747BaseHook, < a href ="src/AsyncSwap.sol//home/runner/work/async-swap/async-swap/docs/_build/v1.0.3/src/src/interfaces/IAsyncSwapAMM.sol/interface.IAsyncSwapAMM.html "> IAsyncSwapAMM</ a > </ p >
748748< p > < strong > Author:</ strong >
@@ -808,12 +808,12 @@ <h3 id="executeorders-1"><a class="header" href="#executeorders-1">executeOrders
808808</ div >
809809< h3 id ="executeorder-2 "> < a class ="header " href ="#executeorder-2 "> executeOrder</ a > </ h3 >
810810< p > Fill an async order in an Async Swap AMM.</ p >
811- < pre > < code class ="language-solidity "> function executeOrder(AsyncOrder calldata order, bytes calldata) external;
811+ < pre > < code class ="language-solidity "> function executeOrder(AsyncOrder calldata order, bytes calldata fillerData ) external;
812812</ code > </ pre >
813813< p > < strong > Parameters</ strong > </ p >
814814< div class ="table-wrapper "> < table > < thead > < tr > < th > Name</ th > < th > Type</ th > < th > Description</ th > </ tr > </ thead > < tbody >
815815< tr > < td > < code > order</ code > </ td > < td > < code > AsyncOrder</ code > </ td > < td > The async order to be filled.</ td > </ tr >
816- < tr > < td > < code > <none> </ code > </ td > < td > < code > bytes</ code > </ td > < td > </ td > </ tr >
816+ < tr > < td > < code > fillerData </ code > </ td > < td > < code > bytes</ code > </ td > < td > </ td > </ tr >
817817</ tbody > </ table >
818818</ div >
819819< h3 id ="_beforeswap "> < a class ="header " href ="#_beforeswap "> _beforeSwap</ a > </ h3 >
@@ -854,17 +854,14 @@ <h3 id="unsupportedliquidity"><a class="header" href="#unsupportedliquidity">Uns
854854< p > Error thrown when liquidity is not supported in this hook.</ p >
855855< pre > < code class ="language-solidity "> error UnsupportedLiquidity();
856856</ code > </ pre >
857- < h3 id ="zerowithdrawal "> < a class ="header " href ="#zerowithdrawal "> ZeroWithdrawal</ a > </ h3 >
858- < pre > < code class ="language-solidity "> error ZeroWithdrawal();
859- </ code > </ pre >
860857< h3 id ="invalidwithdrawal "> < a class ="header " href ="#invalidwithdrawal "> InvalidWithdrawal</ a > </ h3 >
861858< pre > < code class ="language-solidity "> error InvalidWithdrawal();
862859</ code > </ pre >
863860< h3 id ="notapprovedexecutor "> < a class ="header " href ="#notapprovedexecutor "> NotApprovedExecutor</ a > </ h3 >
864861< pre > < code class ="language-solidity "> error NotApprovedExecutor();
865862</ code > </ pre >
866863< div style ="break-before: page; page-break-before: always; "> </ div > < h1 id ="router "> < a class ="header " href ="#router "> Router</ a > </ h1 >
867- < p > < a href ="https://github.com/asyncswap/async-swap/blob/80a13710026eab2501c44ee14ea1971c27c2d4b5 /src/router.sol "> Git Source</ a > </ p >
864+ < p > < a href ="https://github.com/asyncswap/async-swap/blob/a69da46fa33b468a389fad7ce13dbdde29b7e361 /src/router.sol "> Git Source</ a > </ p >
868865< p > < strong > Inherits:</ strong >
869866< a href ="src/router.sol//home/runner/work/async-swap/async-swap/docs/_build/v1.0.3/src/src/interfaces/IRouter.sol/interface.IRouter.html "> IRouter</ a > </ p >
870867< p > < strong > Author:</ strong >
@@ -912,7 +909,7 @@ <h3 id="_checkcallerispoolmanager"><a class="header" href="#_checkcallerispoolma
912909</ code > </ pre >
913910< h3 id ="swap-1 "> < a class ="header " href ="#swap-1 "> swap</ a > </ h3 >
914911< p > Swaps tokens using an async order.</ p >
915- < pre > < code class ="language-solidity "> function swap(AsyncOrder calldata order, bytes memory userData) external;
912+ < pre > < code class ="language-solidity "> function swap(AsyncOrder calldata order, bytes memory userData) external payable ;
916913</ code > </ pre >
917914< p > < strong > Parameters</ strong > </ p >
918915< div class ="table-wrapper "> < table > < thead > < tr > < th > Name</ th > < th > Type</ th > < th > Description</ th > </ tr > </ thead > < tbody >
@@ -922,7 +919,7 @@ <h3 id="swap-1"><a class="header" href="#swap-1">swap</a></h3>
922919</ div >
923920< h3 id ="fillorder-1 "> < a class ="header " href ="#fillorder-1 "> fillOrder</ a > </ h3 >
924921< p > Fills an async order.</ p >
925- < pre > < code class ="language-solidity "> function fillOrder(AsyncOrder calldata order, bytes calldata) external;
922+ < pre > < code class ="language-solidity "> function fillOrder(AsyncOrder calldata order, bytes calldata) external payable ;
926923</ code > </ pre >
927924< p > < strong > Parameters</ strong > </ p >
928925< div class ="table-wrapper "> < table > < thead > < tr > < th > Name</ th > < th > Type</ th > < th > Description</ th > </ tr > </ thead > < tbody >
0 commit comments