Skip to content

Commit

Permalink
Merge branch 'master' into feat/license-cleanup-imports
Browse files Browse the repository at this point in the history
  • Loading branch information
justingreenberg authored Nov 20, 2023
2 parents 6ec069e + 66e489b commit f27bb5e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .gas-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ TestLenderEnforcer:testLERevertInvalidLoanTerms() (gas: 81062)
TestLenderEnforcer:testLEValidLoanTerms() (gas: 72055)
TestLenderEnforcer:testLEValidLoanTermsAnyBorrower() (gas: 72098)
TestLenderEnforcer:testLEValidLoanTermsWithAdditionalTransfers() (gas: 73410)
TestLoanCombinations:testLoan20For721SimpleInterestDutchFixedRepay() (gas: 587267)
TestLoanCombinations:testLoan20for20SimpleInterestDutchFixedRepay() (gas: 594458)
TestLoanCombinations:testLoan721for20SimpleInterestDutchFixedRepay() (gas: 585466)
TestLoanCombinations:testLoanAstariaSettlementRepay() (gas: 575371)
TestNewLoan:testBuyNowPayLater() (gas: 2869906)
TestNewLoan:testInvalidSenderBNPL() (gas: 1613720)
TestNewLoan:testInvalidUserDataHashBNPL() (gas: 1616299)
TestLoanCombinations:testLoan20For721SimpleInterestDutchFixedRepay() (gas: 587270)
TestLoanCombinations:testLoan20for20SimpleInterestDutchFixedRepay() (gas: 594461)
TestLoanCombinations:testLoan721for20SimpleInterestDutchFixedRepay() (gas: 585469)
TestLoanCombinations:testLoanAstariaSettlementRepay() (gas: 575374)
TestNewLoan:testBuyNowPayLater() (gas: 2869309)
TestNewLoan:testInvalidSenderBNPL() (gas: 1613120)
TestNewLoan:testInvalidUserDataHashBNPL() (gas: 1615699)
TestNewLoan:testNewLoanAs1271ProxyAccountSender() (gas: 861457)
TestNewLoan:testNewLoanAs1271ProxyAccountThirdPartyFiller() (gas: 871142)
TestNewLoan:testNewLoanERC721CollateralDefaultTerms2() (gas: 424962)
Expand Down
4 changes: 2 additions & 2 deletions src/BNPLHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ contract BNPLHelper is IFlashLoanRecipient {
transfers[i] = AdditionalTransfer({
itemType: ItemType.ERC20,
identifier: 0,
token: tokens[0],
token: tokens[i],
from: execution.borrower,
to: vault,
amount: amounts[0] + feeAmounts[0]
amount: amounts[i] + feeAmounts[i]
});
unchecked {
++i;
Expand Down

0 comments on commit f27bb5e

Please sign in to comment.