🦄 Solutions for smartcontract.engineer
- Hello World [solution]
- Value Types [solution]
- Function [solution]
- State Variables [solution]
- Local Variables [solution]
- Global Variables [solution]
- View and Pure Functions [solution]
- Counter [solution]
- Default Values [solution]
- Constants [solution]
- If and Else [solution]
- For and While Loops [solution]
- Error Handling [solution]
- Function Modifier [solution]
- Constructor [solution]
- Ownable [solution]
- Function Outputs and Destructuring Assignment [solution]
- Array [solution]
- Mapping [solution]
- Structs [solution]
- Enum [solution]
- Data Locations [solution]
- Simple Storage [solution]
- Todo List [solution]
- Iterable Mapping [solution]
- Array Shift [solution]
- Array Replace List [solution]
- Events [solution]
- Inheritance - Override [solution]
- Multiple Inheritance [solution]
- Calling Parent Constructors [solution]
- Calling Parent Functions [solution]
- Visibility [solution]
- Immutable [solution]
- Payable [solution]
- Fallback [solution]
- Sending Ether [solution]
- Ether Wallet [solution]
- Calling Other Contracts [solution]
- Interface [solution]
- Call [solution]
- DelegateCall [solution]
- New [solution]
- Library [solution]
- Hash Function [solution]
- Verifying Signature [solution]
- Access Control [solution]
- Deleting Contracts [solution]
- Piggy Bank [solution]
- ERC20 [solution]
- Multi Sig Wallet [solution]
- Re-Entrancy [solution]
- Seven Eth [solution]
- King of Eth [solution]
- Wallet Hijack [solution]
- Misaligned Storage [solution]
- Bypass Contract Size [solution]
- Multi Token Bank [solution]
- ETH Flash Loan [solution]
- ERC20 Flash Loan [solution]
- Function Selector [solution]
- Dutch Auction [solution]
- English Auction [solution]
- ERC721 [solution]
- Reentrancy Guard [solution]
- Multi Call [solution]
- Create2 [solution]
- Signature Replay Attack [solution]
- Hodl [solution]
- Crowd Fund [solution]
- Multi Delegatecall [solution]
- Function Selector Clash [solution]
- Time Lock [solution]
- Gas Golf [solution] [wintermute $160m meme]
- WETH [solution]
- WETH Bank Hack [solution]
- Vault [solution]
- Constant Sum AMM [solution]
- Constant Product AMM [solution]
- Staking Rewards [solution]
- Debug with Hardhat [solution]
- Bitwise Operators [solution]
- Most Significant Bit [solution]
- Discrete Staking Rewards [solution]
- Unchecked Math [solution]
- Simple Bytecode Contract [solution]
- Custom Error [solution]
- Fallback Input and Output [solution]
- Write to Any Slot [solution]
- Transparent Upgradeable Proxy [solution]
- Gasless Token Transfer [solution]
- ERC1155 [solution]
- Assembly Variable [solution]
- Assembly If [solution]
- Assembly Error [solution]
- Assembly Loop [solution]
- Assembly Math [solution]
- Assembly Binary Exponentiation [solution]
- Uniswap V2 Single Hop Swap [solution]
- Uniswap V2 Multi Hop Swap [solution]
- Uniswap V2 Add and Remove Liquidity [solution]
- Uniswap V2 Flash Swap [solution]
- Uniswap V3 Single Hop Swap [solution]
- Uniswap V3 Multi Hop Swap [solution]
- Chainlink Price Oracle [solution]
- DAI Proxy [solution]
- DAI Lock Collateral [solution]