clober-dex / coupon-finance

Coupon Finance Solidity Contracts
Other
1 stars 0 forks source link

Refactor: change name OdosRepayAdpater => RepayAdapter #93

Closed JhChoy closed 11 months ago

JhChoy commented 1 year ago

Description

Currently, OdosRepayAdapter has any context of the Odos Protocol. It does not have to know the specific router's interface because the adapter communicates with the router like below:

    (bool success, bytes reason) = router.call(swapData);

Proposal

Change the contract name from OdosRepayAdapter to just RepayAdapter and the variable name from _odosRouter to _router.