Skip to content
THREATWIRE

Public reproduction file

src/test/2023-04/YearnFinance_exp.sol

Public reproduction file for dataset entry yearnFinance.

Code

Verbatim source from the public dataset at the pinned commit below. Licence header preserved. ThreatWire has not executed this code. It is shown for defensive research, as published in the public reference dataset. Check licences, verify the blob against the pinned commit, and do not run it against live contracts without your own review.

src/test/2023-04/YearnFinance_exp.sol526 lines in 1 sections
IIEarnAPRWithPool, IyToken, IAaveLendingPoolCoreV1, IbZxiUSDC, +1 morelines 1–525

Analysis

Dataset entry

Public Foundry test for “yearnFinance” (2023-04-13). Addresses, transactions and links below are taken from comments in the file itself. ThreatWire has not verified them on-chain and has not executed this file.

Related files

11 linked

Imports used by this file, other reproduction files from the same month or protocol in the dataset, and patterns for the same incident. Each opens in our reader with verbatim source.

Listed in the source file

Listed by the source dataset, not verified by ThreatWire

File record

Name
yearnFinance
Path
src/test/2023-04/YearnFinance_exp.sol
Repository
SunWeb3Sec/DeFiHackLabs (licence Apache-2.0)
Commit
7363f76db51f0fea97f8e659b20ee8bdc5fbca25
Blob
c8b5dec9d0469a5e82409b3be586e074e1d46d58
Language
Solidity
Size
526 lines
Date
2023-04-13
Licence
ThreatWire editorial text
Retrieved
2026-10-19

Provenance

Path src/test/2023-04/YearnFinance_exp.sol, commit 7363f76db51f0fea97f8e659b20ee8bdc5fbca25, blob c8b5dec9d0469a5e82409b3be586e074e1d46d58, retrieved 2026-10-19. Verbatim file via git show at the pinned commit; SPDX header preserved. ThreatWire has never executed this file. Reference: source file at the pinned commit.