v2-core
revoke.cash
Our great sponsors
v2-core | revoke.cash | |
---|---|---|
16 | 2 | |
2,808 | 620 | |
2.7% | 2.1% | |
0.0 | 9.6 | |
about 1 month ago | 3 days ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
v2-core
-
Uniswap Deep Dive 1:
For source code, Uniswap V2 Core and Uniswap V2 Peripheral
- List of smart contracts to strengthen your Auditing skills
-
Forking Uniswap: how to edit LP fees??
Here is the Uniswap V2 on github: https://github.com/Uniswap/v2-core
-
The Depegging of UST
Eh, Curve pools and other invariant-based AMMs have some interesting properties outside traditional finance, bank runs, etc.
I'd read up on the Uniswap constant product invariant (xy=k) and consider reading the Uniswap v2 code (it's a pleasure to read) [0].
Then check out the StableSwap paper by Curve founder Michael Egorov [1]
Finally if you want a well-documented implementation to read in Solidity, check out Saddle [2]. Disclaimer, I helped write the first iteration.
[0] https://github.com/Uniswap/v2-core
-
Contract development and security for ERC20 related business
UniswapV2Pair.sol:https://github.com/Uniswap/v2-core/blob/master/contracts/UniswapV2Pair.sol
- Uniswap V2 Liquidity Pool ERC20 question
-
Error When Deploying Token Contract to TestNet?
Any of those above functions that have require statements could have triggered it. I guess that is why you suggested the "hardhats console log". I am not familiar with that and will get right on trying to get that to work. Sorry for slow response, it seems since your message I have went all up and down the entire uniswap code database that includes the router, pair, libraries, transferhelper, WETH, etc.... So I just had the most extensive crash course I have ever had. hahahaha... Thanks for pointing me in that direction. I have learned A LOT. Though I still haven't figured out why the error is happening so I will now try using the hardhats console log to debug it.
-
[ethers.js] UniswapV2Pair getReserves() function failing to resolve promise but can console log the return value?
The function comes from UniswapV2Pair.sol, shown here:
- [Uniswapv2] Overview
-
[Brownie] How can I import from config if a github repo has no releases?
For example Uniswap has 0 releases
revoke.cash
- Need to revoke permissions you give to any DEX or app? Use this tool
-
DO NOT USE PARASWAP
FWIW, I'd also revoke this contract spending approval, since you have a significant amount of USDC sitting on your wallet that could be moved by a malicious actor if that smart contract is exploited. I typically use Revoke.cash for this. It's also open source In the future, it's best practice to only approve the amount that you need, though I don't know if that's possible going through ledger live. MetaMask let's you edit the approval amount before you send the transaction, so that's typically what I do.
What are some alternatives?
uniswap-v2-periphery - 🎚 Peripheral smart contracts for interacting with Uniswap V2 [Moved to: https://github.com/Uniswap/v2-periphery]
token-allowance-checker - Control ERC20 token approvals
erc-1155 - Ethereum Semi Fungible Standard (ERC-1155)
erc20-balance - 💎 Get 2000+ ERC-20 token balances with JavaScript. Supports Node.js and Deno
pancake-swap-core - Core smart contracts
web3-react - A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps
v2-periphery - 🎚 Peripheral smart contracts for interacting with Uniswap V2
ethers.js - Complete Ethereum library and wallet implementation in JavaScript.
defi-dapps-solidity-smart-contracts - This is a Web 3 Smart Contract learning and teaching repo which will be used to teach students all across Pakistan.
human-standard-token-abi - A JSON ABI for the Ethereum ERC 20 Token Standard
hardhat - Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.