Pinned Loading
-
Git squash alternatives
Git squash alternatives 1## Git Squash alternatives:
23* **git rebase -i HEAD~X** - this allows you to merge interactively several commits
4* then fixup OR pick OR reword AND push --force
5* **git reset --hard HEAD~X** - this rollbacks the index back to X commits (check git status before doing this. Commit first)
-
Decode Uniswap V3 multicall (web3.py)
Decode Uniswap V3 multicall (web3.py) 1w3 = web3.Web3(HTTPProvider("PUT HERE YOUR PROVIDER"))
2UNISWAP_V3_POSITIONS_NFT = "0xC36442b4a4522E871399CD717aBDD847Ab11FE88"
3# example of Ethereum transaction calling multicall on Uniswap v3 (Etherscan)
4tx = w3.eth.get_transaction(HexBytes("0xb835f4ab29be621eca1b2520a1e85d06b2e4fc03b84772e3fe05c220509e88b7"))
5abi = await get_abi(Chain.ETHEREUM, UNISWAP_V3_POSITIONS_NFT)
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.