├── .gitignore ├── .gitmodules ├── 10_multiSign └── MultiSignWallet.sol ├── 11_wallet_connect ├── README.txt ├── package-lock.json ├── package.json ├── src │ ├── index.html │ └── index.ts ├── tsconfig.json └── webpack.config.js ├── 12_foundry_signature ├── .github │ └── workflows │ │ └── test.yml ├── .gitignore ├── README.md ├── foundry.toml ├── front-end │ ├── package-lock.json │ ├── package.json │ └── sign.js ├── src │ └── nft_market │ │ ├── IEIP2612.sol │ │ ├── IERC1363Receiver.sol │ │ ├── IERC20Bank.sol │ │ ├── IERC20Token.sol │ │ ├── INFTMarket.sol │ │ └── impl │ │ ├── CalvinERC20.sol │ │ ├── NFTCalvin.sol │ │ ├── NFTMarketCalvin.sol │ │ └── TokenBank.sol └── test │ ├── EIP2612Test.sol │ ├── depositSuccess.png │ ├── forgeTestSuccess.png │ └── permitBuySuccess.png ├── 13_viem_track_tnx ├── index.mjs ├── package-lock.json └── package.json ├── 14_permit2AndCreate2 ├── .github │ └── workflows │ │ └── test.yml ├── .gitignore ├── README.md ├── broadcast │ ├── Deploy.sol │ │ └── 11155111 │ │ │ ├── run-1730118052.json │ │ │ ├── run-1730124591.json │ │ │ ├── run-1730124655.json │ │ │ ├── run-1730124841.json │ │ │ ├── run-1730127382.json │ │ │ ├── run-1730131582.json │ │ │ ├── run-1730132944.json │ │ │ ├── run-1730183485.json │ │ │ ├── run-1730188883.json │ │ │ ├── run-1730207402.json │ │ │ ├── run-1730308841.json │ │ │ └── run-latest.json │ ├── DeployFactory.sol │ │ └── 11155111 │ │ │ ├── run-1730309039.json │ │ │ ├── run-1730882634.json │ │ │ ├── run-1730884782.json │ │ │ └── run-latest.json │ └── DeployMarket.sol │ │ └── 11155111 │ │ ├── run-1731053937.json │ │ └── run-latest.json ├── foundry.toml ├── package-lock.json ├── package.json ├── remappings.txt ├── script │ ├── Deploy.sol │ ├── DeployFactory.sol │ └── DeployMarket.sol ├── src │ ├── IEIP2612.sol │ ├── IERC1363Receiver.sol │ ├── IERC20Bank.sol │ ├── IERC20Token.sol │ ├── NFTMarketUpgrade │ │ ├── Market.sol │ │ ├── MarketV2.sol │ │ ├── NFT.sol │ │ ├── README.md │ │ └── Token.sol │ ├── cloneFactory │ │ ├── Erc20Factory.sol │ │ ├── Erc20FactoryV2.sol │ │ ├── Readme.md │ │ ├── Token.sol │ │ └── result.png │ └── impl │ │ ├── CalvinERC20.sol │ │ └── TokenBank.sol ├── test │ ├── testFactory.sol │ └── testMarket.sol └── viemtutorial │ ├── .eslintrc.json │ ├── README.md │ ├── app │ ├── abi.ts │ ├── abi_erc2612.ts │ ├── abi_permit2.ts │ ├── abi_tokenbank.ts │ ├── client.ts │ ├── deposit.tsx │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ ├── mintButton.tsx │ ├── page.tsx │ ├── sendButton.tsx │ └── walletButton.tsx │ ├── next-env.d.ts │ ├── next.config.js │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── public │ ├── RareskillsLogo.svg │ ├── next.svg │ ├── transaction1.svg │ └── vercel.svg │ ├── tailwind.config.js │ ├── tsconfig.json │ └── 执行结果.png ├── 15_data_collection ├── package-lock.json ├── package.json ├── src │ ├── index.html │ └── index.ts ├── tsconfig.json └── webpack.config.js ├── 16_theGraph ├── NFMARKET.abi ├── nft_market_eth_sepolia │ ├── .gitignore │ ├── abis │ │ └── NFTMarketV3.json │ ├── docker-compose.yml │ ├── networks.json │ ├── package-lock.json │ ├── package.json │ ├── schema.graphql │ ├── src │ │ └── nft-market-v-3.ts │ ├── subgraph.yaml │ ├── tests │ │ ├── nft-market-v-3-utils.ts │ │ └── nft-market-v-3.test.ts │ └── tsconfig.json ├── package.json └── readme.txt ├── 17_offchainSignList ├── contracts │ ├── .github │ │ └── workflows │ │ │ └── test.yml │ ├── .gitignore │ ├── README.md │ ├── foundry.toml │ ├── remappings.txt │ ├── src │ │ └── nft_market │ │ │ ├── IEIP2612.sol │ │ │ ├── IERC1363Receiver.sol │ │ │ ├── IERC20Token.sol │ │ │ ├── INFTMarket.sol │ │ │ └── impl │ │ │ ├── CalvinERC20.sol │ │ │ ├── NFTCalvin.sol │ │ │ └── NFTMarketCalvin.sol │ └── test │ │ ├── OfflineBuyTest.sol │ │ └── Snipaste_2024-11-04_15-57-49.png └── front │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package.json │ ├── public │ └── vite.svg │ ├── src │ ├── App.css │ ├── App.tsx │ ├── assets │ │ └── react.svg │ ├── index.css │ ├── main.tsx │ └── vite-env.d.ts │ ├── tsconfig.app.json │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── 18_IDOAndStake ├── .github │ └── workflows │ │ └── test.yml ├── .gitignore ├── README.md ├── foundry.toml ├── src │ ├── ESRNT.sol │ ├── IDO.sol │ ├── RNT.sol │ └── Stake.sol └── test │ ├── IDOTEST.png │ ├── IDOTest.sol │ ├── StakeTest.png │ └── StakeTest.sol ├── 19_storageSlot ├── contracts │ ├── .github │ │ └── workflows │ │ │ └── test.yml │ ├── .gitignore │ ├── README.md │ ├── foundry.toml │ ├── script │ │ ├── Counter.s.sol │ │ ├── Deploy.sol │ │ └── Deploy2.sol │ ├── src │ │ └── Counter.sol │ └── test │ │ └── Counter.t.sol └── front │ ├── package-lock.json │ ├── package.json │ └── src │ ├── paste.png │ └── readContract.mjs ├── 1_pow ├── pom.xml └── src │ └── main │ ├── java │ └── DayOne.java │ └── resources │ ├── pow-0000.png │ ├── pow-00000.png │ └── sign.png ├── 21_OptimizeGas ├── contracts │ ├── .github │ │ └── workflows │ │ │ └── test.yml │ ├── .gitignore │ ├── README.md │ ├── foundry.toml │ ├── script │ │ └── Counter.s.sol │ ├── src │ │ ├── aridropNFTMarket │ │ │ ├── AirdopMerkleNFTMarket.sol │ │ │ ├── NFT.sol │ │ │ ├── Readme.md │ │ │ └── Token.sol │ │ └── bank │ │ │ └── Bank.sol │ └── test │ │ ├── AirdopMerkleNFTMarketTest.sol │ │ └── BankTest.sol └── front │ └── merkleTree │ ├── index.ts │ ├── package-lock.json │ ├── package.json │ └── tsconfig.json ├── 22_automationExecute ├── .github │ └── workflows │ │ └── test.yml ├── .gitignore ├── README.md ├── broadcast │ └── DeployBank.sol │ │ └── 11155111 │ │ ├── run-1731317093.json │ │ └── run-latest.json ├── foundry.toml ├── script │ └── DeployBank.sol └── src │ └── Bank.sol ├── 23_uniswapV2AMM ├── .github │ └── workflows │ │ └── test.yml ├── .gitignore ├── README.md ├── foundry.toml ├── src │ ├── IDex.sol │ ├── MyDex.sol │ ├── README.md │ └── RNT.sol └── test │ └── MyDexTest.sol ├── 24_rate_algo ├── .github │ └── workflows │ │ └── test.yml ├── .gitignore ├── README.md ├── foundry.toml ├── src │ ├── IStaking.sol │ ├── IToken.sol │ ├── StakingPool.sol │ └── Token.sol └── test │ └── StakingPoolTest.sol ├── 25_dao ├── .github │ └── workflows │ │ └── test.yml ├── .gitignore ├── README.md ├── foundry.toml ├── remappings.txt ├── script │ └── Counter.s.sol ├── src │ ├── Bank.sol │ ├── Gov.sol │ ├── Token.sol │ └── VoteToken.sol └── test │ └── Counter.t.sol ├── 26_merkle_tree ├── package-lock.json ├── package.json └── src │ └── index.mjs ├── 27_erc1155 ├── .github │ └── workflows │ │ └── test.yml ├── .gitignore ├── README.md ├── foundry.toml └── src │ └── Counter.sol ├── 28_ai_agent └── README.md ├── 2_first_contract ├── resources │ ├── metamaskAccount.png │ ├── tnxHash.png │ └── url.txt └── src │ └── Counter.sol ├── 3_bank_basicGrammarPractice ├── resource │ └── url.txt └── src │ └── Bank.sol ├── 4_bigBank └── src │ ├── Admin.sol │ ├── Bank.sol │ ├── BigBank.sol │ └── IBank.sol ├── 5_tokenBank ├── IERC20Bank.sol ├── IERC20Token.sol └── impl │ ├── CalvinERC20.sol │ └── TokenBank.sol ├── 6_tokenBankV2 ├── IERC20Bank.sol ├── IERC20BankV2.sol ├── IERC20Token.sol └── impl │ ├── CalvinERC20.sol │ ├── TokenBank.sol │ └── TokenBankV2.sol ├── 7_erc721 ├── resources │ ├── metadata.json │ └── metadata2.json └── src │ └── code │ ├── IERC1363Receiver.sol │ ├── IERC20Token.sol │ ├── INFTMarket.sol │ └── impl │ ├── CalvinERC20.sol │ ├── NFTCalvin.sol │ └── NFTMarketCalvin.sol ├── 8_foundry_1 ├── .github │ └── workflows │ │ └── test.yml ├── README.md ├── foundry.toml ├── remappings.txt ├── script │ └── 3_deploy │ │ └── Deploy.sol ├── src │ ├── 1_bank │ │ └── Bank.sol │ ├── 2_nft_market │ │ ├── IERC1363Receiver.sol │ │ ├── IERC20Token.sol │ │ ├── INFTMarket.sol │ │ └── impl │ │ │ ├── CalvinERC20.sol │ │ │ ├── NFTCalvin.sol │ │ │ └── NFTMarketCalvin.sol │ └── 3_deploy │ │ └── MyToken.sol └── test │ ├── 1_bank │ └── BankTest.sol │ └── 2_nft_market │ ├── result.txt │ └── testNFTMarket.sol ├── 9_jsonRPC ├── package-lock.json ├── package.json └── src │ ├── bundle.mjs │ └── readNFT.mjs ├── README.md ├── questions.txt ├── thoughts ├── 1_RSA.drawio ├── 1_ethererumWorkflow.png ├── 2_blockChainRelData.png ├── 2_ethererumWorkflowAndBlockInfo.drawio ├── 3_evmStructure.png ├── 3_proxy.drawio ├── AMM.drawio ├── ERC20.drawio └── solidity.xmind └── web3j ├── pom.xml ├── src ├── main │ └── java │ │ └── org │ │ └── example │ │ └── App.java └── test │ └── java │ └── org │ └── example │ └── AppTest.java └── target └── classes └── org └── example └── App.class /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/.gitmodules -------------------------------------------------------------------------------- /10_multiSign/MultiSignWallet.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/10_multiSign/MultiSignWallet.sol -------------------------------------------------------------------------------- /11_wallet_connect/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/11_wallet_connect/README.txt -------------------------------------------------------------------------------- /11_wallet_connect/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/11_wallet_connect/package-lock.json -------------------------------------------------------------------------------- /11_wallet_connect/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/11_wallet_connect/package.json -------------------------------------------------------------------------------- /11_wallet_connect/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/11_wallet_connect/src/index.html -------------------------------------------------------------------------------- /11_wallet_connect/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/11_wallet_connect/src/index.ts -------------------------------------------------------------------------------- /11_wallet_connect/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/11_wallet_connect/tsconfig.json -------------------------------------------------------------------------------- /11_wallet_connect/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/11_wallet_connect/webpack.config.js -------------------------------------------------------------------------------- /12_foundry_signature/.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/.github/workflows/test.yml -------------------------------------------------------------------------------- /12_foundry_signature/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/.gitignore -------------------------------------------------------------------------------- /12_foundry_signature/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/README.md -------------------------------------------------------------------------------- /12_foundry_signature/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/foundry.toml -------------------------------------------------------------------------------- /12_foundry_signature/front-end/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/front-end/package-lock.json -------------------------------------------------------------------------------- /12_foundry_signature/front-end/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/front-end/package.json -------------------------------------------------------------------------------- /12_foundry_signature/front-end/sign.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/front-end/sign.js -------------------------------------------------------------------------------- /12_foundry_signature/src/nft_market/IEIP2612.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/src/nft_market/IEIP2612.sol -------------------------------------------------------------------------------- /12_foundry_signature/src/nft_market/IERC1363Receiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/src/nft_market/IERC1363Receiver.sol -------------------------------------------------------------------------------- /12_foundry_signature/src/nft_market/IERC20Bank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/src/nft_market/IERC20Bank.sol -------------------------------------------------------------------------------- /12_foundry_signature/src/nft_market/IERC20Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/src/nft_market/IERC20Token.sol -------------------------------------------------------------------------------- /12_foundry_signature/src/nft_market/INFTMarket.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/src/nft_market/INFTMarket.sol -------------------------------------------------------------------------------- /12_foundry_signature/src/nft_market/impl/CalvinERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/src/nft_market/impl/CalvinERC20.sol -------------------------------------------------------------------------------- /12_foundry_signature/src/nft_market/impl/NFTCalvin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/src/nft_market/impl/NFTCalvin.sol -------------------------------------------------------------------------------- /12_foundry_signature/src/nft_market/impl/NFTMarketCalvin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/src/nft_market/impl/NFTMarketCalvin.sol -------------------------------------------------------------------------------- /12_foundry_signature/src/nft_market/impl/TokenBank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/src/nft_market/impl/TokenBank.sol -------------------------------------------------------------------------------- /12_foundry_signature/test/EIP2612Test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/test/EIP2612Test.sol -------------------------------------------------------------------------------- /12_foundry_signature/test/depositSuccess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/test/depositSuccess.png -------------------------------------------------------------------------------- /12_foundry_signature/test/forgeTestSuccess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/test/forgeTestSuccess.png -------------------------------------------------------------------------------- /12_foundry_signature/test/permitBuySuccess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/12_foundry_signature/test/permitBuySuccess.png -------------------------------------------------------------------------------- /13_viem_track_tnx/index.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/13_viem_track_tnx/index.mjs -------------------------------------------------------------------------------- /13_viem_track_tnx/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/13_viem_track_tnx/package-lock.json -------------------------------------------------------------------------------- /13_viem_track_tnx/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/13_viem_track_tnx/package.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/.github/workflows/test.yml -------------------------------------------------------------------------------- /14_permit2AndCreate2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/.gitignore -------------------------------------------------------------------------------- /14_permit2AndCreate2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/README.md -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730118052.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730118052.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730124591.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730124591.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730124655.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730124655.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730124841.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730124841.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730127382.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730127382.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730131582.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730131582.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730132944.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730132944.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730183485.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730183485.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730188883.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730188883.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730207402.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730207402.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730308841.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-1730308841.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-latest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/Deploy.sol/11155111/run-latest.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/DeployFactory.sol/11155111/run-1730309039.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/DeployFactory.sol/11155111/run-1730309039.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/DeployFactory.sol/11155111/run-1730882634.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/DeployFactory.sol/11155111/run-1730882634.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/DeployFactory.sol/11155111/run-1730884782.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/DeployFactory.sol/11155111/run-1730884782.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/DeployFactory.sol/11155111/run-latest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/DeployFactory.sol/11155111/run-latest.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/DeployMarket.sol/11155111/run-1731053937.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/DeployMarket.sol/11155111/run-1731053937.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/broadcast/DeployMarket.sol/11155111/run-latest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/broadcast/DeployMarket.sol/11155111/run-latest.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/foundry.toml -------------------------------------------------------------------------------- /14_permit2AndCreate2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/package-lock.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/package.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/remappings.txt -------------------------------------------------------------------------------- /14_permit2AndCreate2/script/Deploy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/script/Deploy.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/script/DeployFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/script/DeployFactory.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/script/DeployMarket.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/script/DeployMarket.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/IEIP2612.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/IEIP2612.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/IERC1363Receiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/IERC1363Receiver.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/IERC20Bank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/IERC20Bank.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/IERC20Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/IERC20Token.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/NFTMarketUpgrade/Market.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/NFTMarketUpgrade/Market.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/NFTMarketUpgrade/MarketV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/NFTMarketUpgrade/MarketV2.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/NFTMarketUpgrade/NFT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/NFTMarketUpgrade/NFT.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/NFTMarketUpgrade/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/NFTMarketUpgrade/README.md -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/NFTMarketUpgrade/Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/NFTMarketUpgrade/Token.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/cloneFactory/Erc20Factory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/cloneFactory/Erc20Factory.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/cloneFactory/Erc20FactoryV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/cloneFactory/Erc20FactoryV2.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/cloneFactory/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/cloneFactory/Readme.md -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/cloneFactory/Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/cloneFactory/Token.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/cloneFactory/result.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/cloneFactory/result.png -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/impl/CalvinERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/impl/CalvinERC20.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/src/impl/TokenBank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/src/impl/TokenBank.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/test/testFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/test/testFactory.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/test/testMarket.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/test/testMarket.sol -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/README.md -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/app/abi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/app/abi.ts -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/app/abi_erc2612.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/app/abi_erc2612.ts -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/app/abi_permit2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/app/abi_permit2.ts -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/app/abi_tokenbank.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/app/abi_tokenbank.ts -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/app/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/app/client.ts -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/app/deposit.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/app/deposit.tsx -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/app/favicon.ico -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/app/globals.css -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/app/layout.tsx -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/app/mintButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/app/mintButton.tsx -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/app/page.tsx -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/app/sendButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/app/sendButton.tsx -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/app/walletButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/app/walletButton.tsx -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/next-env.d.ts -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/next.config.js -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/package-lock.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/package.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/postcss.config.js -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/public/RareskillsLogo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/public/RareskillsLogo.svg -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/public/next.svg -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/public/transaction1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/public/transaction1.svg -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/public/vercel.svg -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/tailwind.config.js -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/tsconfig.json -------------------------------------------------------------------------------- /14_permit2AndCreate2/viemtutorial/执行结果.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/14_permit2AndCreate2/viemtutorial/执行结果.png -------------------------------------------------------------------------------- /15_data_collection/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/15_data_collection/package-lock.json -------------------------------------------------------------------------------- /15_data_collection/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/15_data_collection/package.json -------------------------------------------------------------------------------- /15_data_collection/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/15_data_collection/src/index.html -------------------------------------------------------------------------------- /15_data_collection/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/15_data_collection/src/index.ts -------------------------------------------------------------------------------- /15_data_collection/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/15_data_collection/tsconfig.json -------------------------------------------------------------------------------- /15_data_collection/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/15_data_collection/webpack.config.js -------------------------------------------------------------------------------- /16_theGraph/NFMARKET.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/NFMARKET.abi -------------------------------------------------------------------------------- /16_theGraph/nft_market_eth_sepolia/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/nft_market_eth_sepolia/.gitignore -------------------------------------------------------------------------------- /16_theGraph/nft_market_eth_sepolia/abis/NFTMarketV3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/nft_market_eth_sepolia/abis/NFTMarketV3.json -------------------------------------------------------------------------------- /16_theGraph/nft_market_eth_sepolia/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/nft_market_eth_sepolia/docker-compose.yml -------------------------------------------------------------------------------- /16_theGraph/nft_market_eth_sepolia/networks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/nft_market_eth_sepolia/networks.json -------------------------------------------------------------------------------- /16_theGraph/nft_market_eth_sepolia/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/nft_market_eth_sepolia/package-lock.json -------------------------------------------------------------------------------- /16_theGraph/nft_market_eth_sepolia/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/nft_market_eth_sepolia/package.json -------------------------------------------------------------------------------- /16_theGraph/nft_market_eth_sepolia/schema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/nft_market_eth_sepolia/schema.graphql -------------------------------------------------------------------------------- /16_theGraph/nft_market_eth_sepolia/src/nft-market-v-3.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/nft_market_eth_sepolia/src/nft-market-v-3.ts -------------------------------------------------------------------------------- /16_theGraph/nft_market_eth_sepolia/subgraph.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/nft_market_eth_sepolia/subgraph.yaml -------------------------------------------------------------------------------- /16_theGraph/nft_market_eth_sepolia/tests/nft-market-v-3-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/nft_market_eth_sepolia/tests/nft-market-v-3-utils.ts -------------------------------------------------------------------------------- /16_theGraph/nft_market_eth_sepolia/tests/nft-market-v-3.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/nft_market_eth_sepolia/tests/nft-market-v-3.test.ts -------------------------------------------------------------------------------- /16_theGraph/nft_market_eth_sepolia/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/nft_market_eth_sepolia/tsconfig.json -------------------------------------------------------------------------------- /16_theGraph/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/package.json -------------------------------------------------------------------------------- /16_theGraph/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/16_theGraph/readme.txt -------------------------------------------------------------------------------- /17_offchainSignList/contracts/.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/contracts/.github/workflows/test.yml -------------------------------------------------------------------------------- /17_offchainSignList/contracts/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/contracts/.gitignore -------------------------------------------------------------------------------- /17_offchainSignList/contracts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/contracts/README.md -------------------------------------------------------------------------------- /17_offchainSignList/contracts/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/contracts/foundry.toml -------------------------------------------------------------------------------- /17_offchainSignList/contracts/remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/contracts/remappings.txt -------------------------------------------------------------------------------- /17_offchainSignList/contracts/src/nft_market/IEIP2612.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/contracts/src/nft_market/IEIP2612.sol -------------------------------------------------------------------------------- /17_offchainSignList/contracts/src/nft_market/IERC1363Receiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/contracts/src/nft_market/IERC1363Receiver.sol -------------------------------------------------------------------------------- /17_offchainSignList/contracts/src/nft_market/IERC20Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/contracts/src/nft_market/IERC20Token.sol -------------------------------------------------------------------------------- /17_offchainSignList/contracts/src/nft_market/INFTMarket.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/contracts/src/nft_market/INFTMarket.sol -------------------------------------------------------------------------------- /17_offchainSignList/contracts/src/nft_market/impl/CalvinERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/contracts/src/nft_market/impl/CalvinERC20.sol -------------------------------------------------------------------------------- /17_offchainSignList/contracts/src/nft_market/impl/NFTCalvin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/contracts/src/nft_market/impl/NFTCalvin.sol -------------------------------------------------------------------------------- /17_offchainSignList/contracts/src/nft_market/impl/NFTMarketCalvin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/contracts/src/nft_market/impl/NFTMarketCalvin.sol -------------------------------------------------------------------------------- /17_offchainSignList/contracts/test/OfflineBuyTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/contracts/test/OfflineBuyTest.sol -------------------------------------------------------------------------------- /17_offchainSignList/contracts/test/Snipaste_2024-11-04_15-57-49.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/contracts/test/Snipaste_2024-11-04_15-57-49.png -------------------------------------------------------------------------------- /17_offchainSignList/front/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/.gitignore -------------------------------------------------------------------------------- /17_offchainSignList/front/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/README.md -------------------------------------------------------------------------------- /17_offchainSignList/front/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/eslint.config.js -------------------------------------------------------------------------------- /17_offchainSignList/front/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/index.html -------------------------------------------------------------------------------- /17_offchainSignList/front/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/package.json -------------------------------------------------------------------------------- /17_offchainSignList/front/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/public/vite.svg -------------------------------------------------------------------------------- /17_offchainSignList/front/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/src/App.css -------------------------------------------------------------------------------- /17_offchainSignList/front/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/src/App.tsx -------------------------------------------------------------------------------- /17_offchainSignList/front/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/src/assets/react.svg -------------------------------------------------------------------------------- /17_offchainSignList/front/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/src/index.css -------------------------------------------------------------------------------- /17_offchainSignList/front/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/src/main.tsx -------------------------------------------------------------------------------- /17_offchainSignList/front/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /17_offchainSignList/front/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/tsconfig.app.json -------------------------------------------------------------------------------- /17_offchainSignList/front/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/tsconfig.json -------------------------------------------------------------------------------- /17_offchainSignList/front/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/tsconfig.node.json -------------------------------------------------------------------------------- /17_offchainSignList/front/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/vite.config.ts -------------------------------------------------------------------------------- /17_offchainSignList/front/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/17_offchainSignList/front/yarn.lock -------------------------------------------------------------------------------- /18_IDOAndStake/.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/18_IDOAndStake/.github/workflows/test.yml -------------------------------------------------------------------------------- /18_IDOAndStake/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/18_IDOAndStake/.gitignore -------------------------------------------------------------------------------- /18_IDOAndStake/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/18_IDOAndStake/README.md -------------------------------------------------------------------------------- /18_IDOAndStake/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/18_IDOAndStake/foundry.toml -------------------------------------------------------------------------------- /18_IDOAndStake/src/ESRNT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/18_IDOAndStake/src/ESRNT.sol -------------------------------------------------------------------------------- /18_IDOAndStake/src/IDO.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/18_IDOAndStake/src/IDO.sol -------------------------------------------------------------------------------- /18_IDOAndStake/src/RNT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/18_IDOAndStake/src/RNT.sol -------------------------------------------------------------------------------- /18_IDOAndStake/src/Stake.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/18_IDOAndStake/src/Stake.sol -------------------------------------------------------------------------------- /18_IDOAndStake/test/IDOTEST.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/18_IDOAndStake/test/IDOTEST.png -------------------------------------------------------------------------------- /18_IDOAndStake/test/IDOTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/18_IDOAndStake/test/IDOTest.sol -------------------------------------------------------------------------------- /18_IDOAndStake/test/StakeTest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/18_IDOAndStake/test/StakeTest.png -------------------------------------------------------------------------------- /18_IDOAndStake/test/StakeTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/18_IDOAndStake/test/StakeTest.sol -------------------------------------------------------------------------------- /19_storageSlot/contracts/.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/19_storageSlot/contracts/.github/workflows/test.yml -------------------------------------------------------------------------------- /19_storageSlot/contracts/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/19_storageSlot/contracts/.gitignore -------------------------------------------------------------------------------- /19_storageSlot/contracts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/19_storageSlot/contracts/README.md -------------------------------------------------------------------------------- /19_storageSlot/contracts/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/19_storageSlot/contracts/foundry.toml -------------------------------------------------------------------------------- /19_storageSlot/contracts/script/Counter.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/19_storageSlot/contracts/script/Counter.s.sol -------------------------------------------------------------------------------- /19_storageSlot/contracts/script/Deploy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/19_storageSlot/contracts/script/Deploy.sol -------------------------------------------------------------------------------- /19_storageSlot/contracts/script/Deploy2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/19_storageSlot/contracts/script/Deploy2.sol -------------------------------------------------------------------------------- /19_storageSlot/contracts/src/Counter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/19_storageSlot/contracts/src/Counter.sol -------------------------------------------------------------------------------- /19_storageSlot/contracts/test/Counter.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/19_storageSlot/contracts/test/Counter.t.sol -------------------------------------------------------------------------------- /19_storageSlot/front/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/19_storageSlot/front/package-lock.json -------------------------------------------------------------------------------- /19_storageSlot/front/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/19_storageSlot/front/package.json -------------------------------------------------------------------------------- /19_storageSlot/front/src/paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/19_storageSlot/front/src/paste.png -------------------------------------------------------------------------------- /19_storageSlot/front/src/readContract.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/19_storageSlot/front/src/readContract.mjs -------------------------------------------------------------------------------- /1_pow/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/1_pow/pom.xml -------------------------------------------------------------------------------- /1_pow/src/main/java/DayOne.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/1_pow/src/main/java/DayOne.java -------------------------------------------------------------------------------- /1_pow/src/main/resources/pow-0000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/1_pow/src/main/resources/pow-0000.png -------------------------------------------------------------------------------- /1_pow/src/main/resources/pow-00000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/1_pow/src/main/resources/pow-00000.png -------------------------------------------------------------------------------- /1_pow/src/main/resources/sign.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/1_pow/src/main/resources/sign.png -------------------------------------------------------------------------------- /21_OptimizeGas/contracts/.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/contracts/.github/workflows/test.yml -------------------------------------------------------------------------------- /21_OptimizeGas/contracts/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/contracts/.gitignore -------------------------------------------------------------------------------- /21_OptimizeGas/contracts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/contracts/README.md -------------------------------------------------------------------------------- /21_OptimizeGas/contracts/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/contracts/foundry.toml -------------------------------------------------------------------------------- /21_OptimizeGas/contracts/script/Counter.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/contracts/script/Counter.s.sol -------------------------------------------------------------------------------- /21_OptimizeGas/contracts/src/aridropNFTMarket/AirdopMerkleNFTMarket.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/contracts/src/aridropNFTMarket/AirdopMerkleNFTMarket.sol -------------------------------------------------------------------------------- /21_OptimizeGas/contracts/src/aridropNFTMarket/NFT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/contracts/src/aridropNFTMarket/NFT.sol -------------------------------------------------------------------------------- /21_OptimizeGas/contracts/src/aridropNFTMarket/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/contracts/src/aridropNFTMarket/Readme.md -------------------------------------------------------------------------------- /21_OptimizeGas/contracts/src/aridropNFTMarket/Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/contracts/src/aridropNFTMarket/Token.sol -------------------------------------------------------------------------------- /21_OptimizeGas/contracts/src/bank/Bank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/contracts/src/bank/Bank.sol -------------------------------------------------------------------------------- /21_OptimizeGas/contracts/test/AirdopMerkleNFTMarketTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/contracts/test/AirdopMerkleNFTMarketTest.sol -------------------------------------------------------------------------------- /21_OptimizeGas/contracts/test/BankTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/contracts/test/BankTest.sol -------------------------------------------------------------------------------- /21_OptimizeGas/front/merkleTree/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/front/merkleTree/index.ts -------------------------------------------------------------------------------- /21_OptimizeGas/front/merkleTree/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/front/merkleTree/package-lock.json -------------------------------------------------------------------------------- /21_OptimizeGas/front/merkleTree/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/front/merkleTree/package.json -------------------------------------------------------------------------------- /21_OptimizeGas/front/merkleTree/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/21_OptimizeGas/front/merkleTree/tsconfig.json -------------------------------------------------------------------------------- /22_automationExecute/.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/22_automationExecute/.github/workflows/test.yml -------------------------------------------------------------------------------- /22_automationExecute/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/22_automationExecute/.gitignore -------------------------------------------------------------------------------- /22_automationExecute/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/22_automationExecute/README.md -------------------------------------------------------------------------------- /22_automationExecute/broadcast/DeployBank.sol/11155111/run-1731317093.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/22_automationExecute/broadcast/DeployBank.sol/11155111/run-1731317093.json -------------------------------------------------------------------------------- /22_automationExecute/broadcast/DeployBank.sol/11155111/run-latest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/22_automationExecute/broadcast/DeployBank.sol/11155111/run-latest.json -------------------------------------------------------------------------------- /22_automationExecute/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/22_automationExecute/foundry.toml -------------------------------------------------------------------------------- /22_automationExecute/script/DeployBank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/22_automationExecute/script/DeployBank.sol -------------------------------------------------------------------------------- /22_automationExecute/src/Bank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/22_automationExecute/src/Bank.sol -------------------------------------------------------------------------------- /23_uniswapV2AMM/.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/23_uniswapV2AMM/.github/workflows/test.yml -------------------------------------------------------------------------------- /23_uniswapV2AMM/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/23_uniswapV2AMM/.gitignore -------------------------------------------------------------------------------- /23_uniswapV2AMM/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/23_uniswapV2AMM/README.md -------------------------------------------------------------------------------- /23_uniswapV2AMM/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/23_uniswapV2AMM/foundry.toml -------------------------------------------------------------------------------- /23_uniswapV2AMM/src/IDex.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/23_uniswapV2AMM/src/IDex.sol -------------------------------------------------------------------------------- /23_uniswapV2AMM/src/MyDex.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/23_uniswapV2AMM/src/MyDex.sol -------------------------------------------------------------------------------- /23_uniswapV2AMM/src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/23_uniswapV2AMM/src/README.md -------------------------------------------------------------------------------- /23_uniswapV2AMM/src/RNT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/23_uniswapV2AMM/src/RNT.sol -------------------------------------------------------------------------------- /23_uniswapV2AMM/test/MyDexTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/23_uniswapV2AMM/test/MyDexTest.sol -------------------------------------------------------------------------------- /24_rate_algo/.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/24_rate_algo/.github/workflows/test.yml -------------------------------------------------------------------------------- /24_rate_algo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/24_rate_algo/.gitignore -------------------------------------------------------------------------------- /24_rate_algo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/24_rate_algo/README.md -------------------------------------------------------------------------------- /24_rate_algo/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/24_rate_algo/foundry.toml -------------------------------------------------------------------------------- /24_rate_algo/src/IStaking.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/24_rate_algo/src/IStaking.sol -------------------------------------------------------------------------------- /24_rate_algo/src/IToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/24_rate_algo/src/IToken.sol -------------------------------------------------------------------------------- /24_rate_algo/src/StakingPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/24_rate_algo/src/StakingPool.sol -------------------------------------------------------------------------------- /24_rate_algo/src/Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/24_rate_algo/src/Token.sol -------------------------------------------------------------------------------- /24_rate_algo/test/StakingPoolTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/24_rate_algo/test/StakingPoolTest.sol -------------------------------------------------------------------------------- /25_dao/.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/25_dao/.github/workflows/test.yml -------------------------------------------------------------------------------- /25_dao/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/25_dao/.gitignore -------------------------------------------------------------------------------- /25_dao/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/25_dao/README.md -------------------------------------------------------------------------------- /25_dao/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/25_dao/foundry.toml -------------------------------------------------------------------------------- /25_dao/remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/25_dao/remappings.txt -------------------------------------------------------------------------------- /25_dao/script/Counter.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/25_dao/script/Counter.s.sol -------------------------------------------------------------------------------- /25_dao/src/Bank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/25_dao/src/Bank.sol -------------------------------------------------------------------------------- /25_dao/src/Gov.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/25_dao/src/Gov.sol -------------------------------------------------------------------------------- /25_dao/src/Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/25_dao/src/Token.sol -------------------------------------------------------------------------------- /25_dao/src/VoteToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/25_dao/src/VoteToken.sol -------------------------------------------------------------------------------- /25_dao/test/Counter.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/25_dao/test/Counter.t.sol -------------------------------------------------------------------------------- /26_merkle_tree/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/26_merkle_tree/package-lock.json -------------------------------------------------------------------------------- /26_merkle_tree/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/26_merkle_tree/package.json -------------------------------------------------------------------------------- /26_merkle_tree/src/index.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/26_merkle_tree/src/index.mjs -------------------------------------------------------------------------------- /27_erc1155/.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/27_erc1155/.github/workflows/test.yml -------------------------------------------------------------------------------- /27_erc1155/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/27_erc1155/.gitignore -------------------------------------------------------------------------------- /27_erc1155/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/27_erc1155/README.md -------------------------------------------------------------------------------- /27_erc1155/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/27_erc1155/foundry.toml -------------------------------------------------------------------------------- /27_erc1155/src/Counter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/27_erc1155/src/Counter.sol -------------------------------------------------------------------------------- /28_ai_agent/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/28_ai_agent/README.md -------------------------------------------------------------------------------- /2_first_contract/resources/metamaskAccount.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/2_first_contract/resources/metamaskAccount.png -------------------------------------------------------------------------------- /2_first_contract/resources/tnxHash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/2_first_contract/resources/tnxHash.png -------------------------------------------------------------------------------- /2_first_contract/resources/url.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/2_first_contract/resources/url.txt -------------------------------------------------------------------------------- /2_first_contract/src/Counter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/2_first_contract/src/Counter.sol -------------------------------------------------------------------------------- /3_bank_basicGrammarPractice/resource/url.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/3_bank_basicGrammarPractice/resource/url.txt -------------------------------------------------------------------------------- /3_bank_basicGrammarPractice/src/Bank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/3_bank_basicGrammarPractice/src/Bank.sol -------------------------------------------------------------------------------- /4_bigBank/src/Admin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/4_bigBank/src/Admin.sol -------------------------------------------------------------------------------- /4_bigBank/src/Bank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/4_bigBank/src/Bank.sol -------------------------------------------------------------------------------- /4_bigBank/src/BigBank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/4_bigBank/src/BigBank.sol -------------------------------------------------------------------------------- /4_bigBank/src/IBank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/4_bigBank/src/IBank.sol -------------------------------------------------------------------------------- /5_tokenBank/IERC20Bank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/5_tokenBank/IERC20Bank.sol -------------------------------------------------------------------------------- /5_tokenBank/IERC20Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/5_tokenBank/IERC20Token.sol -------------------------------------------------------------------------------- /5_tokenBank/impl/CalvinERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/5_tokenBank/impl/CalvinERC20.sol -------------------------------------------------------------------------------- /5_tokenBank/impl/TokenBank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/5_tokenBank/impl/TokenBank.sol -------------------------------------------------------------------------------- /6_tokenBankV2/IERC20Bank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/6_tokenBankV2/IERC20Bank.sol -------------------------------------------------------------------------------- /6_tokenBankV2/IERC20BankV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/6_tokenBankV2/IERC20BankV2.sol -------------------------------------------------------------------------------- /6_tokenBankV2/IERC20Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/6_tokenBankV2/IERC20Token.sol -------------------------------------------------------------------------------- /6_tokenBankV2/impl/CalvinERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/6_tokenBankV2/impl/CalvinERC20.sol -------------------------------------------------------------------------------- /6_tokenBankV2/impl/TokenBank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/6_tokenBankV2/impl/TokenBank.sol -------------------------------------------------------------------------------- /6_tokenBankV2/impl/TokenBankV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/6_tokenBankV2/impl/TokenBankV2.sol -------------------------------------------------------------------------------- /7_erc721/resources/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/7_erc721/resources/metadata.json -------------------------------------------------------------------------------- /7_erc721/resources/metadata2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/7_erc721/resources/metadata2.json -------------------------------------------------------------------------------- /7_erc721/src/code/IERC1363Receiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/7_erc721/src/code/IERC1363Receiver.sol -------------------------------------------------------------------------------- /7_erc721/src/code/IERC20Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/7_erc721/src/code/IERC20Token.sol -------------------------------------------------------------------------------- /7_erc721/src/code/INFTMarket.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/7_erc721/src/code/INFTMarket.sol -------------------------------------------------------------------------------- /7_erc721/src/code/impl/CalvinERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/7_erc721/src/code/impl/CalvinERC20.sol -------------------------------------------------------------------------------- /7_erc721/src/code/impl/NFTCalvin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/7_erc721/src/code/impl/NFTCalvin.sol -------------------------------------------------------------------------------- /7_erc721/src/code/impl/NFTMarketCalvin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/7_erc721/src/code/impl/NFTMarketCalvin.sol -------------------------------------------------------------------------------- /8_foundry_1/.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/.github/workflows/test.yml -------------------------------------------------------------------------------- /8_foundry_1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/README.md -------------------------------------------------------------------------------- /8_foundry_1/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/foundry.toml -------------------------------------------------------------------------------- /8_foundry_1/remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/remappings.txt -------------------------------------------------------------------------------- /8_foundry_1/script/3_deploy/Deploy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/script/3_deploy/Deploy.sol -------------------------------------------------------------------------------- /8_foundry_1/src/1_bank/Bank.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/src/1_bank/Bank.sol -------------------------------------------------------------------------------- /8_foundry_1/src/2_nft_market/IERC1363Receiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/src/2_nft_market/IERC1363Receiver.sol -------------------------------------------------------------------------------- /8_foundry_1/src/2_nft_market/IERC20Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/src/2_nft_market/IERC20Token.sol -------------------------------------------------------------------------------- /8_foundry_1/src/2_nft_market/INFTMarket.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/src/2_nft_market/INFTMarket.sol -------------------------------------------------------------------------------- /8_foundry_1/src/2_nft_market/impl/CalvinERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/src/2_nft_market/impl/CalvinERC20.sol -------------------------------------------------------------------------------- /8_foundry_1/src/2_nft_market/impl/NFTCalvin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/src/2_nft_market/impl/NFTCalvin.sol -------------------------------------------------------------------------------- /8_foundry_1/src/2_nft_market/impl/NFTMarketCalvin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/src/2_nft_market/impl/NFTMarketCalvin.sol -------------------------------------------------------------------------------- /8_foundry_1/src/3_deploy/MyToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/src/3_deploy/MyToken.sol -------------------------------------------------------------------------------- /8_foundry_1/test/1_bank/BankTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/test/1_bank/BankTest.sol -------------------------------------------------------------------------------- /8_foundry_1/test/2_nft_market/result.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/test/2_nft_market/result.txt -------------------------------------------------------------------------------- /8_foundry_1/test/2_nft_market/testNFTMarket.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/8_foundry_1/test/2_nft_market/testNFTMarket.sol -------------------------------------------------------------------------------- /9_jsonRPC/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/9_jsonRPC/package-lock.json -------------------------------------------------------------------------------- /9_jsonRPC/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/9_jsonRPC/package.json -------------------------------------------------------------------------------- /9_jsonRPC/src/bundle.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/9_jsonRPC/src/bundle.mjs -------------------------------------------------------------------------------- /9_jsonRPC/src/readNFT.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/9_jsonRPC/src/readNFT.mjs -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # BlockChainLearn 2 | about solidity -------------------------------------------------------------------------------- /questions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/questions.txt -------------------------------------------------------------------------------- /thoughts/1_RSA.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/thoughts/1_RSA.drawio -------------------------------------------------------------------------------- /thoughts/1_ethererumWorkflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/thoughts/1_ethererumWorkflow.png -------------------------------------------------------------------------------- /thoughts/2_blockChainRelData.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/thoughts/2_blockChainRelData.png -------------------------------------------------------------------------------- /thoughts/2_ethererumWorkflowAndBlockInfo.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/thoughts/2_ethererumWorkflowAndBlockInfo.drawio -------------------------------------------------------------------------------- /thoughts/3_evmStructure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/thoughts/3_evmStructure.png -------------------------------------------------------------------------------- /thoughts/3_proxy.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/thoughts/3_proxy.drawio -------------------------------------------------------------------------------- /thoughts/AMM.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/thoughts/AMM.drawio -------------------------------------------------------------------------------- /thoughts/ERC20.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/thoughts/ERC20.drawio -------------------------------------------------------------------------------- /thoughts/solidity.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/thoughts/solidity.xmind -------------------------------------------------------------------------------- /web3j/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/web3j/pom.xml -------------------------------------------------------------------------------- /web3j/src/main/java/org/example/App.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/web3j/src/main/java/org/example/App.java -------------------------------------------------------------------------------- /web3j/src/test/java/org/example/AppTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/web3j/src/test/java/org/example/AppTest.java -------------------------------------------------------------------------------- /web3j/target/classes/org/example/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zcy19980412/BlockChain/HEAD/web3j/target/classes/org/example/App.class --------------------------------------------------------------------------------