First things first, you need to install the cairo-lang package, preferably in a virtual env you can later use and upgrade. Currently only python 3.7 and 3.8 is supported
python3 -m venv ~/cairo_venv
source ~/cairo_venv/bin/activate
CRITICAL! Almost all USDC liquidity on the REKT/USDC uniswap pool can be stolen, due to an authorization issue with burnFrom()
on the REKT token.
Uniswap v2 pools get the prices for their swaps by comparing the relative amounts of each of the two tokens that they hold. If the pool holds very little of token A, and a lot of token B, then it only takes a little of token A to buy a lot of token B.
Currently REKT and USDC are fairly priced in the pool. If there were to suddenly be very little REKT in the pool, but the same amount of USDC, then very little REKT would be able to buy a lot of USDC.
π₯ Instead of sending Ether, use the withdrawal pattern
π₯ If you really need to send Ether, use a safe wrapper like OpenZeppelin's Address.sendValue(addr, amount)
π₯ If you really need to send Ether without dependencies, use (bool success, ) = addr.call{value: amount}("")
[ | |
{ | |
"name": "Priority: Critical", | |
"description": null, | |
"color": "b60205" | |
}, | |
{ | |
"name": "Priority: High", | |
"description": null, | |
"color": "d93f0b" |
This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).
Running this script should look the same in tmux as without.
curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh