Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0e5c1a0
feat: leverage zapper add auction taker callback and Aave v3 flash loans
johnnyonline Mar 28, 2026
7d3aabe
feat: remove setDoHealthCheck(false) from LenderFactory
johnnyonline Mar 28, 2026
b9a452c
feat: add auction taker
johnnyonline Mar 29, 2026
0f8cf1c
chore: cleanup
johnnyonline Mar 29, 2026
8192814
chore: cleanup
johnnyonline Mar 29, 2026
2f48e39
chore: deployment
johnnyonline Mar 29, 2026
c2f6929
feat: use morpho as flash loan provider
johnnyonline Mar 30, 2026
19fc13a
chore: remove redundant comment
johnnyonline Mar 30, 2026
2c04c01
feat: add deploy parameter validation to factory
johnnyonline Apr 2, 2026
c7db341
docs: add slippage protection note to leverage zapper _swap
johnnyonline Apr 2, 2026
6b3d0c8
chore: remove unused borrow_token from DutchDesk InitializeParams
johnnyonline Apr 2, 2026
02b498b
fix: remove redundant _sync_total_debt call in _redeem
johnnyonline Apr 2, 2026
e7b3aa5
fix: prevent swap router from targeting Trove Manager in leverage zapper
johnnyonline Apr 2, 2026
6b4e0b3
chore: remove redundant trove_id != 0 check in liquidate_trove
johnnyonline Apr 2, 2026
98d8980
fix: prevent double-counting debt in upfront fee calculation during r…
johnnyonline Apr 2, 2026
ded618d
fix: reinsert trove in sorted list before updating storage in adjust_…
johnnyonline Apr 2, 2026
2d221ff
fix: expose is_existing_debt param in get_upfront_fee and fix prematu…
johnnyonline Apr 2, 2026
ecb6d2f
feat: replace trove ownership transfer with operator approval
johnnyonline Apr 3, 2026
418dbed
chore: fix tiny comment
johnnyonline Apr 3, 2026
dba08e9
chore: add tiny docs
johnnyonline Apr 3, 2026
2e56552
chore: forge fmt
johnnyonline Apr 3, 2026
547d078
feat: extract raw_call into stateless Swap Executor contract
johnnyonline Apr 3, 2026
24bc4fd
feat: feat: add registry check, router/auction taker whitelists, and …
johnnyonline Apr 4, 2026
c0fcab9
fix: correct minimum data length check in flash loan callback
johnnyonline Apr 7, 2026
e0ad71d
fix: block opening a trove with the Lender as owner
johnnyonline Apr 14, 2026
93b1e62
fix: enforce starting price buffers >= WAD in factory validation
johnnyonline Apr 14, 2026
02bc4d4
Merge pull request #13 from flexmeow/approve-operator
johnnyonline Apr 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions broadcast/Deploy.s.sol/1/run-1774795877952.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"transactions": [
{
"hash": "0xf52f6a73815495053346d5d0f0879fac17404b92cd3ab80913ca5eb37685e937",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xba5ed099633d3b313e4d5f7bdc1305d3c28ba5ed",
"function": "deployCreate2(bytes32,bytes)",
"arguments": [
"0xbefc77c3af16a9a70855401f32680620b146807237940aaf8e9d194f97233c0a",
"0x6103ba610011610000396103ba610000f35f3560e01c60026003820660011b6103b401601e395f51565b63f4f2557581186103ac576044361034176103b0576004358060a01c6103b0576040526040516383d8cfc0608052602060806004609c845afa61005d573d5f5f3e3d5ffd5b3d602081183d60201002188060800160a0116103b0576080518060a01c6103b05760c0525060c0905051606052604051631d7650cf60a052602060a0600460bc845afa6100ac573d5f5f3e3d5ffd5b3d602081183d60201002188060a00160c0116103b05760a0518060a01c6103b05760e0525060e090505160805260405163b8c50436610100526080602435610120527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61014052306101605280610180526040606060c05e604060a05260a08161012001606082825e8051806020830101601f825f03163682375050601f19601f825160200101169050905081015050602061010060e461011c5f855af1610176573d5f5f3e3d5ffd5b60203d106103b05761010050506060516370a0823160c0523060e052602060c0602460dc845afa6101a9573d5f5f3e3d5ffd5b60203d106103b05760c090505160a05260a051156102395760605163a9059cbb60c0523360e05260a05161010052602060c0604460dc5f855af16101ef573d5f5f3e3d5ffd5b3d61020657803b156103b05760016101205261022d565b3d602081183d60201002188060c00160e0116103b05760c0518060011c6103b05761012052505b610120905051156103b0575b005b63c92632b581186103ac5760a4361034176103b0576024358060a01c6103b0576040526084356004018035620186a081116103b0575060208135018082606037505060403662018720376040606051186103b05760605160800160c0116103b0576080518060a01c6103b057620187605260a0518060a01c6103b057620187805262018760805162018720526020810151620187405250620187405163ba0876526201876052604435620187805230620187a05230620187c05260206201876060646201877c5f855af1610311573d5f5f3e3d5ffd5b60203d106103b057620187605050620187205163095ea7b36201876052336201878052606435620187a05260206201876060446201877c5f855af1610358573d5f5f3e3d5ffd5b3d61037057803b156103b0576001620187c05261039e565b3d602081183d602010021880620187600162018780116103b05762018760518060011c6103b057620187c052505b620187c0905051156103b057005b5f5ffd5b5f80fd03ac0018023b85582044497807ac4bb883ce45ef4579cd6f2cfa2128d988bfc5e85ab7c7295eb431751903ba810600a1657679706572830004030036"
],
"transaction": {
"from": "0x000005281a2b04a182085d37cc9e6dd552795caa",
"to": "0xba5ed099633d3b313e4d5f7bdc1305d3c28ba5ed",
"gas": "0xb63e3",
"value": "0x0",
"input": "0x26307668befc77c3af16a9a70855401f32680620b146807237940aaf8e9d194f97233c0a000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000004016103ba610011610000396103ba610000f35f3560e01c60026003820660011b6103b401601e395f51565b63f4f2557581186103ac576044361034176103b0576004358060a01c6103b0576040526040516383d8cfc0608052602060806004609c845afa61005d573d5f5f3e3d5ffd5b3d602081183d60201002188060800160a0116103b0576080518060a01c6103b05760c0525060c0905051606052604051631d7650cf60a052602060a0600460bc845afa6100ac573d5f5f3e3d5ffd5b3d602081183d60201002188060a00160c0116103b05760a0518060a01c6103b05760e0525060e090505160805260405163b8c50436610100526080602435610120527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61014052306101605280610180526040606060c05e604060a05260a08161012001606082825e8051806020830101601f825f03163682375050601f19601f825160200101169050905081015050602061010060e461011c5f855af1610176573d5f5f3e3d5ffd5b60203d106103b05761010050506060516370a0823160c0523060e052602060c0602460dc845afa6101a9573d5f5f3e3d5ffd5b60203d106103b05760c090505160a05260a051156102395760605163a9059cbb60c0523360e05260a05161010052602060c0604460dc5f855af16101ef573d5f5f3e3d5ffd5b3d61020657803b156103b05760016101205261022d565b3d602081183d60201002188060c00160e0116103b05760c0518060011c6103b05761012052505b610120905051156103b0575b005b63c92632b581186103ac5760a4361034176103b0576024358060a01c6103b0576040526084356004018035620186a081116103b0575060208135018082606037505060403662018720376040606051186103b05760605160800160c0116103b0576080518060a01c6103b057620187605260a0518060a01c6103b057620187805262018760805162018720526020810151620187405250620187405163ba0876526201876052604435620187805230620187a05230620187c05260206201876060646201877c5f855af1610311573d5f5f3e3d5ffd5b60203d106103b057620187605050620187205163095ea7b36201876052336201878052606435620187a05260206201876060446201877c5f855af1610358573d5f5f3e3d5ffd5b3d61037057803b156103b0576001620187c05261039e565b3d602081183d602010021880620187600162018780116103b05762018760518060011c6103b057620187c052505b620187c0905051156103b057005b5f5ffd5b5f80fd03ac0018023b85582044497807ac4bb883ce45ef4579cd6f2cfa2128d988bfc5e85ab7c7295eb431751903ba810600a165767970657283000403003600000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x29",
"chainId": "0x1"
},
"additionalContracts": [
{
"transactionType": "CREATE2",
"contractName": "yv_auction_taker",
"address": "0x2447680186067b6ef959df69d4b1dc55ce543a9f",
"initCode": "0x6103ba610011610000396103ba610000f35f3560e01c60026003820660011b6103b401601e395f51565b63f4f2557581186103ac576044361034176103b0576004358060a01c6103b0576040526040516383d8cfc0608052602060806004609c845afa61005d573d5f5f3e3d5ffd5b3d602081183d60201002188060800160a0116103b0576080518060a01c6103b05760c0525060c0905051606052604051631d7650cf60a052602060a0600460bc845afa6100ac573d5f5f3e3d5ffd5b3d602081183d60201002188060a00160c0116103b05760a0518060a01c6103b05760e0525060e090505160805260405163b8c50436610100526080602435610120527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61014052306101605280610180526040606060c05e604060a05260a08161012001606082825e8051806020830101601f825f03163682375050601f19601f825160200101169050905081015050602061010060e461011c5f855af1610176573d5f5f3e3d5ffd5b60203d106103b05761010050506060516370a0823160c0523060e052602060c0602460dc845afa6101a9573d5f5f3e3d5ffd5b60203d106103b05760c090505160a05260a051156102395760605163a9059cbb60c0523360e05260a05161010052602060c0604460dc5f855af16101ef573d5f5f3e3d5ffd5b3d61020657803b156103b05760016101205261022d565b3d602081183d60201002188060c00160e0116103b05760c0518060011c6103b05761012052505b610120905051156103b0575b005b63c92632b581186103ac5760a4361034176103b0576024358060a01c6103b0576040526084356004018035620186a081116103b0575060208135018082606037505060403662018720376040606051186103b05760605160800160c0116103b0576080518060a01c6103b057620187605260a0518060a01c6103b057620187805262018760805162018720526020810151620187405250620187405163ba0876526201876052604435620187805230620187a05230620187c05260206201876060646201877c5f855af1610311573d5f5f3e3d5ffd5b60203d106103b057620187605050620187205163095ea7b36201876052336201878052606435620187a05260206201876060446201877c5f855af1610358573d5f5f3e3d5ffd5b3d61037057803b156103b0576001620187c05261039e565b3d602081183d602010021880620187600162018780116103b05762018760518060011c6103b057620187c052505b620187c0905051156103b057005b5f5ffd5b5f80fd03ac0018023b85582044497807ac4bb883ce45ef4579cd6f2cfa2128d988bfc5e85ab7c7295eb431751903ba810600a1657679706572830004030036"
}
],
"isFixedGasLimit": false
}
],
"receipts": [
{
"type": "0x2",
"status": "0x1",
"cumulativeGasUsed": "0x31f015f",
"logs": [
{
"address": "0xba5ed099633d3b313e4d5f7bdc1305d3c28ba5ed",
"topics": [
"0xb8fda7e00c6b06a2b54e58521bc5894fee35f1090e5a3bb6390bfe2b98b497f7",
"0x0000000000000000000000002447680186067b6ef959df69d4b1dc55ce543a9f",
"0xdce91b2f1d6c279f1fe8d67fcfa6989149da1a0e91c5c1b5e32f0a0394dcf9ee"
],
"data": "0x",
"blockHash": "0xa75992a87b07e68100dbe67908d908034d97dc7f2cfea08576bea8e382399f7a",
"blockNumber": "0x179de31",
"blockTimestamp": "0x69c93c5f",
"transactionHash": "0xf52f6a73815495053346d5d0f0879fac17404b92cd3ab80913ca5eb37685e937",
"transactionIndex": "0x20a",
"logIndex": "0x547",
"removed": false
}
],
"logsBloom": "0x00020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000020000000000000000000000000000000000000000000000000000000000000100000000000000400000000000000000000000080010000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000002000000000000000000000000000000000000040000000000000080000000000000000000000000000000000",
"transactionHash": "0xf52f6a73815495053346d5d0f0879fac17404b92cd3ab80913ca5eb37685e937",
"transactionIndex": "0x20a",
"blockHash": "0xa75992a87b07e68100dbe67908d908034d97dc7f2cfea08576bea8e382399f7a",
"blockNumber": "0x179de31",
"gasUsed": "0x40cc3",
"effectiveGasPrice": "0x572c1a2",
"blobGasUsed": "0x0",
"from": "0x000005281a2b04a182085d37cc9e6dd552795caa",
"to": "0xba5ed099633d3b313e4d5f7bdc1305d3c28ba5ed",
"contractAddress": null
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1774795877952,
"chain": 1,
"commit": "8192814"
}
Loading
Loading