https://github.com/shunkakinoki/contracts
My Personal Contracts :notebook::whale::partly_sunny:
https://github.com/shunkakinoki/contracts
contracts eth solidity
Last synced: 4 months ago
JSON representation
My Personal Contracts :notebook::whale::partly_sunny:
- Host: GitHub
- URL: https://github.com/shunkakinoki/contracts
- Owner: shunkakinoki
- Archived: true
- Created: 2021-11-12T04:22:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-27T22:08:03.000Z (over 2 years ago)
- Last Synced: 2025-01-20T10:07:26.273Z (4 months ago)
- Topics: contracts, eth, solidity
- Language: Solidity
- Homepage:
- Size: 3.35 MB
- Stars: 27
- Watchers: 2
- Forks: 1
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
![]()
[](https://forthebadge.com)
[](https://forthebadge.com)
[](https://forthebadge.com)### Abstract
A repository containing of various contracts (my personal inspiration [m1guelpf](https://github.com/m1guelpf)'s [lil-web3](https://github.com/m1guelpf/lil-web3) to [Solidity by Example](https://solidity-by-example.org) to [Huff Language](https://github.com/huff-language/huffc)) with [Forge](https://github.com/foundry-rs/foundry) testing and [Natspec](https://docs.soliditylang.org/en/latest/natspec-format.html) comments.
This repository is specifically for my own learning purposes to understand EVM.
All rights reserved to the individual authors and licensing of the specific packages. I do not at all reserve the rights to the contracts that are not derived from my own work. (specified in the package licensing field and their sources)
### Contracts
- [x] [8BitArray](/contracts/8bitArray) - [Source](https://github.com/h00p30/8bitArray) from [h00p30](https://github.com/h00p30)
- [ ] [Aave](/contracts/Aave) - [Source](https://github.com/t4sk/defi-by-example) from [ts4k](https://github.com/t4sk)
- [ ] [AaveFlashloan](/contracts/AaveFlashLoan) - [Source](https://github.com/t4sk/defi-by-example) from [ts4k](https://github.com/t4sk)
- [x] [BatchRevealToken](/contracts/BatchRevealToken) - [Source](https://github.com/jameswenzel/batch-reveal-token) from [jameswenzel](https://github.com/jameswenzel)
- [x] [Box](/contracts/Box)
- [x] [BitsAndBytes](/contracts/BitsAndBytes)
- [x] [Create2](/contracts/Create2)
- [x] [Clones](/contracts/Clones)
- [x] [ClonesWithImmutableArgs](/contracts/ClonesWithImmutableArgs) - [Source](https://github.com/wighawag/clones-with-immutable-args) from [wighawag](https://github.com/wighawag)
- [ ] [CODE](/contracts/CODE) - [Source](https://github.com/Developer-DAO/code-claim-site) from by [DDAO](https://github.com/Developer-DAO)
- [x] [CodeForDAO](/contracts/CodeForDAO) - [Source](https://github.com/CodeforDAO/contracts) from [CodeforDAO](https://github.com/CodeforDAO)
- [ ] [CryptoCoven](/contracts/CryptoCoven) - [Source](https://github.com/crypto-coven/contracts) from [Crypto Coven](https://github)
- [x] [CryptoTestersNFT](/contracts/CryptoTestersNFT) - [Source](https://github.com/FredCoen/cryptotesters-merkle-whitelist-nft) from [FredCoen](https://github.com/FredCoen)
- [x] [EIP712](/contracts/EIP712) - [Source](https://github.com/kulkarohan/deposit) from [kulkarohan](https://github.com/kulkarohan)
- [x] [EIP4973](/contracts/EIP4973) - [Source](https://github.com/rugpullindex/ERC4973) from [rugpullindex](https://github.com/rugpullindex)
- [x] [Ethernaut](/contracts/Ethernaut) - [Source](https://github.com/abdulsamijay/ethernaut) from [abdulsamijay](https://github.com/abdulsamijay)
- [x] [EthernautBounty](/contracts/EthernautBounty) - [Source](https://github.com/tahos81/ethernaut-bounty) from [tahos81](https://github.com/tahos81)
- [x] [EVM](/contracts/EVM)
- [x] [Femplate](/contracts/Femplate) - [Source](https://github.com/abigger87/femplate) from [abigger87](https://github.com/abigger87)
- [x] [FutaSanBirthday](/contracts/FutaSanBirthday)
- [x] [GovernorMock](/contracts/GovernorMock) - [Source](https://github.dev/fracton-ventures/foundry-governance-example) from [fracton-ventures](https://github.dev/fracton-ventures)
- [x] [GovernorTimelockControlMock](/contracts/GovernorTimelockControlMock) - [Source](https://github.dev/fracton-ventures/foundry-governance-example) from [fracton-ventures](https://github.dev/fracton-ventures)
- [x] [Greeter](/contracts/Greeter)
- [x] [HackReentrancy](/contracts/HackReentrancy) - [Source](https://solidity-by-example.org/hacks/re-entrancy) from [t4sk](https://github.com/t4sk)
- [x] [HackPhishing](/contracts/HackPhishing) - [Source](https://solidity-by-example.org/hacks/phishing-with-tx-origin) from [t4sk](https://github.com/t4sk)
- [x] [HelloWorld](/contracts/HelloWorld)
- [ ] [HotChainSvg](/contracts/HotChainSvg)- [Source](https://github.com/w1nt3r-eth/hot-chain-svg) from [w1nt3r](https://github.com/w1nt3r-eth)
- [x] [HuffWETH](/contracts/HuffWETH) - [Source](https://github.com/Philogy/huff-weth) from [Philogy](https://github.com/Philogy)
- [ ] [KiyoSanBirthday](/contracts/KiyoSanBirthday)
- [x] [LilENS](/contracts/LilENS) - [Source](https://github.com/m1guelpf/lil-web3) from [m1guelpf](https://github.com/m1guelpf)
- [x] [LilFlashloan](/contracts/LilFlashloan) - [Source](https://github.com/m1guelpf/lil-web3) from [m1guelpf](https://github.com/m1guelpf)
- [x] [LilFractional](/contracts/LilFractional) - [Source](https://github.com/m1guelpf/lil-web3) from [m1guelpf](https://github.com/m1guelpf)
- [x] [LilJuicebox](/contracts/LilJuicebox) - [Source](https://github.com/m1guelpf/lil-web3) from [m1guelpf](https://github.com/m1guelpf)
- [x] [LilSuperfluid](/contracts/LilSuperfluid) - [Source](https://github.com/m1guelpf/lil-web3) from [m1guelpf](https://github.com/m1guelpf)
- [ ] [LlamaPay](/contracts/LlamaPay) - [Souce](https://github.com/LlamaPay/llamapay) from [LlamaPay](https://github.com/LlamaPay)
- [ ] [Loot](/contracts/Loot) - [Source](https://etherscan.io/address/0xff9c1b15b16263c61d017ee9f65c50e4ae0113d7#code) from [FredCoen](https://github.com/abdulsamijay)
- [ ] [MerkleAirdopStarter](/contracts/MerkleAirdopStarter) - [Source](https://github.com/Anish-Agnihotri/merkle-airdrop-starter) from [Anish](https://github.com/Anish-Agnihotri)
- [x] [MinimalProxy](/contracts/MinimalProxy) - [Source](https://github.com/fracton-ventures/foundry-minimal-proxy-patten) from [fracton-ventures](https://github.com/fracton-ventures)
- [ ] [MultiRaffle](/contracts/MultiRaffle) - [Source](https://github.com/Anish-Agnihotri/MultiRaffle) from [Anish](https://github.com/Anish-Agnihotri)
- [ ] [NFT](/contracts/NFT)
- [ ] [NFTTokenDrop](/contracts/NFTTokenDrop) - [Source](https://github.com/m1guelpf/nft-token-drop) from [m1guelpf](https://github.com/m1guelpf)
- [x] [NFTVanity](/contracts/NFTVanity) - [Source](https://github.com/RagePit/NFTVanity) from [RagePit](https://github.com/RagePit)
- [ ] [Nouns](/contracts/Nouns) - [Source](https://github.com/nounsDAO/nouns-monorepo) from [Nouns DAO](https://github.com/nounsDAO)
- [x] [OpenZeppelinNFT](/contracts/OpenZeppelinNFT) - [Source](https://github.com/FredCoen/nft-tutorial) from [FredCoen](https://github.com/FredCoen)
- [ ] [OKPC](/contracts/OKPC) - [Source](https://etherscan.io/token/0x7183209867489e1047f3a7c23ea1aed9c4e236e8#code) from [OKPC](https://okpc.app/)
- [ ] [OKPCFont](/contracts/OKPCFont) - [Source](https://etherscan.io/token/0xB1917264F00EC7dc0A058B51651EAd14759F0C09#code) from [OKPC](https://okpc.app/)
- [ ] [OKPCMetadata](/contracts/OKPCMetadata) - [Source](https://etherscan.io/token/0x38894d185689b8d83609f5b72fd379a753fd46be#code) from [OKPC](https://okpc.app/)
- [ ] [OKPCParts](/contracts/OKPC) - [Source](https://etherscan.io/token/0xd407890eD592d94390e6493f94DC784C5111f6Ee#code) from [OKPC](https://okpc.app/)
- [x] [OlympusDAO](/contracts/OlympusDAO) - [Source](https://github.com/OlympusDAO/olympus-contracts)
- [x] [Private](/contracts/Private)
- [x] [Renoun](/contracts/Renoun) - [Source](https://github.com/Jon-Becker/renoun) from [Jon Becker](https://github.com/Jon-Becker)
- [ ] [Shrine](/contracts/Shrine) - [Source](https://github.com/Astrodrop/shrine) from [Astrodrop](https://github.com/Astrodrop)
- [x] [SolmateNFT](/contracts/SolmateNFT) - [Source](https://github.com/FredCoen/nft-tutorial) from [FredCoen](https://github.com/FredCoen)
- [x] [ThePossessed](/contracts/ThePossessed) - [Source](https://etherscan.io/address/0x3a2096754df385553c4252e5a82dc862e64169bb#code) from [ThePossessedNFT](https://twitter.com/ThePossessedNFT)
- [x] [TransparentUpgradeableProxy](/contracts/TransparentUpgradeableProxy) - [Source](https://github.com/fracton-ventures/foundry-transparent-proxy-pattern) from [fracton-ventures](https://github.com/fracton-ventures)
- [ ] [TWiDAOs](/contracts/TWiDAOs)
- [x] [TsujiPoker](/contracts/TsujiPoker) - [Deployment](https://etherscan.io/address/0x2442f53979e9d0b990a7029e95cfdac6ad3a81df)
- [ ] [Upgadeable](/contracts/Upgadeable)
- [x] [UUPSUpgradeable](/contracts/UUPSUpgradeable) - [Source](https://github.com/fracton-ventures/foundry-UUPS-proxy-pattern) from [fracton-ventures](https://github.com/fracton-ventures)
- [ ] [ViewAndPure](/contracts/ViewAndPure)
- [ ] [WagumiCats](/contracts/WagumiCats) - [Source](https://github.com/wagumi/wagumi) from [Wagumi DAO](https://github.com/wagumi)
- [ ] [WagumiCatsV2](/contracts/WagumiCatsV2)
- [ ] [WagumiToken](/contracts/WagumiToken)
- [ ] [WatchfacesPFP](/contracts/WatchfacesPFP) - [Source](https://etherscan.io/address/0x1b57e04c02f9328bdd417fde6698b236b543c47f#code) from [Watchfaces World](https://www.watchfaces.world/)
- [ ] [WatchfacesSVGRenderer](/contracts/WatchfacesSVGRenderer) - [Source](https://etherscan.io/address/0x3aee59ca9cea21389d167112091ceace86747124#code) from [Watchfaces World](https://www.watchfaces.world/)
- [ ] [WatchfacesWorld](/contracts/WatchfacesWorld) - [Source](https://etherscan.io/address/0x8d3b078d9d9697a8624d4b32743b02d270334af1#code) from [Watchfaces](https://www.watchfaces.world/)
- [x] [WeirdERC20](/contracts/WeirdERC20) from [d-xo](https://github.com/d-xo/weird-erc20)
- [ ] [ZorbNFT](/contracts/ZorbNFT) - [Source](https://github.com/ourzora/zorb/tree/main/packages/zorb-contracts) from [Zora](https://github.com/ourzora)## Resources
### Gas Optimizations
- https://github.com/kadenzipfel/gas-optimizations
- https://github.com/ZeroEkkusu/re-golf-course### Reproductions
- https://github.com/SunWeb3Sec/DeFiHackLabs
### Security
- https://github.com/kadenzipfel/smart-contract-attack-vectors
- https://github.com/ConsenSys/smart-contract-best-practices
- https://github.com/iskdrews/awesome-solidity-gas-optimization
- https://github.com/0xsomnus/secure-smart-contract-design-principles