Contract Details
Tech Stack
Python 3.10+ web3.py pandas rich
Chains
Ethereum Arbitrum Base Optimism
Description
Export staking rewards as CSV for tax reporting in US and EU formats. Fetches reward events from on-chain data, calculates cost basis, and generates tax-ready reports compatible with major tax software.
Features
- ✓ On-chain reward event fetching
- ✓ US tax format (IRS Schedule D)
- ✓ EU tax format (FIFO/LIFO cost basis)
- ✓ Historical price lookups
- ✓ CSV/JSON export
- ✓ Multi-year support
- ✓ Compatible with TurboTax, Koinly, CoinTracker
- ✓ CLI interface with rich output
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /// @title Staking Tax Reporter /// @notice Export staking rewards as CSV for tax reporting (US/EU formats). contract StakingTaxReporter { address public immutable owner; uint256 public constant VERSION = 1; event Initialized(address indexed deployer); constructor() { owner = msg.sender; emit Initialized(msg.sender); } // ... full implementation in purchased package }