Ранее я уже упоминал о другой фишке из ˍˍfutureˍˍ , это оператор деления.
from __future__ import division
Суть проста. Раньше сложность типа данных результата поределялась типом самого сложного операнда.
Например:
int/int => int
int/float => float
В первом случае оба операнда int, значит и результат будет int. Во втором float более сложный тип, поэтому результат будет float.
Если нам требуется получить дробное значение при делении двух int то приходилось форсированно один из операндов конверировать в float.
12/float(5) => float
Но с новой "философией" это не требуется. В Python3 "floor division" заменили на "true division" а старый способ теперь работает через оператор "//".
>>> 3/2
1.5
>>> 3//2
1
То есть теперь деление int на int даёт float если результат не целое число.
В классах теперь доступны методы __floordiv__() и __truediv__() для определения поведения с этими операторами.
Данный переход описан в PEP238.
#pep#2to3#basic
🔥We are live! $CHICKSare now tradeable on #Raydium! 🔥
After working through the night on this we have finally gotten the LP live and working and you may now trade on Raydium using #Solana or USDC.
Token distribution update coming soon!
👉Buy link below:👇
https://raydium.io/swap/?from=11111111111111111111111111111111&to=cxxShYRVcepDudXhe7U62QHvw8uBJoKFifmzggGKVC2
📈Solana возглавил рейтинг блокчейнов по DEX-торгам
🔸Solana стал лидером по объемам торгов на децентрализованных биржах (DEX), обойдя крупные блокчейны. SOL также занял первое место по количеству активных адресов.
🔸 На фоне роста активности сети, после запуска NFT-коллекции Pudgy Penguins, в Solana было обработано 66,9 млн транзакций, что является рекордом.
🔸 Solana уступает блокчейнам Ethereum, Base и Tron по объему переводов стейблкоинов, но все же продолжает оставаться ключевой платформой для мемкоинов и NFT.
🔸DeFi-проекты, базирующиеся на Solana, аккумулировали активы на $9,189 млрд, а объем стейблкоинов составил $4,795 млрд.
🔸Raydium и Orca остаются основными децентрализованными биржами на Solana с объемом торгов $2,521 млрд и $880,87 млн соответственно.
#Solana#DEX#NFT#PudgyPenguins#Raydium#Orca#DeFi
АкадемияGarantex|Garantex Announcements|ВКонтакте|YouTube
USDE by
👍XBANKING — A Next-Generation Decentralized Stablecoin
XBANKING has launched USDE, a new stablecoin built specifically for DeFi, trading, and everyday payments. USDE blends stability, decentralization, and yield — offering 8% APR just for holding. Built on the
🤑 Solana blockchain.
💰USDE minting is now live ➡️app.xbanking.org
👍 1 USDE = 1 USD — always.
It’s backed 1:1 by liquid assets — USDT and USDC, with real-time reserves exceeding 101%.
🔎Why hold USDE?
✔️ Earn 8% APR simply by holding — the yield is built into the token.
✔️ No need to chase DeFi protocols or calculate risks — USDE starts earning immediately.
✔️ Use it like any other stablecoin: trade, add to liquidity pools, lend, or borrow.
✔️ 100%+ backed by USDT and USDC — no liquidation risks like with collateralized stablecoins.
✔️ Runs on Solana — fast, cheap, and user-friendly.
😀How does it work?
• Users deposit USDT or USDC into the XBANKING smart contract
• In return, they receive USDE at a 1:1 ratio
• The deposited stablecoins are allocated to DeFi strategies (liquidity pools, farming, etc.)
• The yield is distributed among all USDE holders
💼What you can do with USDE
✔️ Hold to earn 8% APR
✔️ Swap to USDT or USDC with zero fees
✔️ Trade on DEXs (available on Raydium)
✔️ Provide liquidity
✔️ Lend and borrow
🛡 What makes USDE stand out?
• Backed only by $USDT and $USDC
• Reserves exceed 100%
• 8% APR just for holding
• Minting and burning are controlled via smart contracts
• No liquidation mechanisms — unlike collateralized stablecoins
• Includes a token freeze function as an additional safeguard against phishing or exploits
📌Where to use USDE
— Mint: app.xbanking.org
— Smart contract: 8dt9fQhoRKuWCSAsYweG2UMF3rbcG9xzNCTWXXSmdmEi
— View on Solscan
— DEX: Raydium
USDE by XBANKING — a hybrid stablecoin designed for active DeFi use and long-term yield.
#USDE#Xbanking#Stablecoin#DeFi#Solana#Raydium#CryptoUX
Bitcoin Whales Buy the Dip!
Bitcoin whales are buying during the price dip. Circle CEO Jeremy Allaire advocates for U.S. regulation of stablecoins, insisting companies must register if offering dollar-backed stablecoins in the U.S. PayPal plans to integrate its stablecoin PYUSD into various products, aiming for global payments via Hyperwallet in 2025. Pump.fun is launching its own AMM and leaving Raydium.
Read more on Circle's stance here.
For PayPal's integration plans, click here.
Details about Pump.fun's move can be found here.
#Bitcoin#Stablecoin#Regulation#Circle#PayPal#PYUSD#DeFi#Crypto#AMM#Raydium#Finance#ConsumerProtection#Blockchain#Payments#MarketTrends#Investment#TechNews#VC
🚀 Introducing Solerium - The Future of DeFi! 🚀
🔥 Inspired by innovation and driven by community, Solerium aims to revolutionize the world of decentralized finance! 🌐
📅 Launch Date: Launched on April 28th at 2 pm UTC
✅ Liquidity Pool Burned
✅ 0% Transaction Tax
✅ Mint/Freeze Authority Revoked
✅ Stealth Launch
📨 Telegram: [Join Here] (https://t.me/solerium_io)
🐦 Twitter: [Follow Us] (https://twitter.com/Solerium_io)
🎵 TikTok: [Follow Us] (https://www.tiktok.com/@solerium_io)
🌐 Website: [Discover More] (https://solerium.io)
🔗 Contract: [View on SolScan] (https://solscan.io/token/H2fjXJsDJq2ghbXzcYJzQ73sWj6A26qZouLtx6wmrd6)
Staking Live: [Start Staking Now] (https://beta.raydium.io/liquidity/increase/?mode=stake&pool_id=84FV6dbSWAxWriRC631ccu9FVPCNf8UpKHEF614Sxqgw)
700,000 SOLE Distributed with Staking SOLE/SOL Liquidity
🚀 Purchase SOLE on #Raydium [here] (https://beta.raydium.io/swap/?inputMint=sol&outputMint=H2fjXJsDJq2ghbXzcYJzQ73sWj6A26qZouLtx6wmrd6) or #Jupiter [here] (https://jup.ag/swap/SOL-H2fjXJsDJq2ghbXzcYJzQ73sWj6A26qZouLtx6wmrd6)
Join Solerium today and be part of the DeFi revolution! 🚀💫
#Solerium#SOLE#DeFi#CryptoRevolution#Solana#SOL $SOLE $SOL #meme#memetoken#memecoin
Trump Meme Token Sparks Controversy
Discussions intensify over the safety and ethicality of the TRUMP meme token, which has surged to $70. Concerns arise from its tokenomics, where 80% is held by Trump-affiliated firms. The first unlock phase is just three months away. Crypto investor Scott Melker criticizes the project as a money grab. For more insights, check the full article here.
#TRUMP#Crypto#AI#Blockchain#Solana#DEX#MemeToken#Tokenomics#Investing#CryptoInvestor#Raydium#Moonshot#DeFi#GenerativeAI#Bittensor#AI16Z#Freysa#AIXBT#Eliza