关于 Uniswap V3 的计算
机制改变Uniswap V3 采用了集中流动性(Concentrated Liquidity)。用户可以为自己的流动性设置一个价格区间。超出这个价格区间或低于这个价格区间,所有代币将被转换成两者中不值钱的那个。这一步转化造成的损失是无常损失。一个价格区间中的最小间隔叫 Tick,为 0.01%。 符号Swap添加流动性相关阅读:Uniswap V3 白皮书编辑于昨天 14:30文章被以下专栏收录* Blockchian;unblock256.com
矿工可提取价值
日渐增多的 MEV 可能导致了高昂的 Gas Fee在*上一期*的周报中我们为大家介绍了 Gas Fee , Gas Fee 越高,交易就越可能被矿工打包。本期我们就来讨论一下这种打包机制所产生的问题,Miner-extractable Value(MEV)。 MEV 指的是矿工重新排序交易后可以获得的利润。在实际情况中, MEV 可能并不是矿工推动。有可能是我付出了一个很高的 Gas Fee ,希望矿工优先打包我的交易。 希望矿工优先打包交易的原因有以下几种:抢跑(Frontrunning)主流的 DEX 都支持滑点,也就是成交价格的区间,假设当前下单价格 100 块,滑点是 5%,这意味着成交价格会在 95 - 105 之间。 宽松的价格区间让套利者有机可乘。 假如一个套利者在内存池中(没有打包的交易都会在内存池中)看到一笔大额买单(币价即将上涨)。根据 AMM 的模型,只要有买单成交,代币价格就会上升。因此,套利者可以通过高额的 Gas Fee 或者贿赂矿工来插入一笔买单,抢在代币价格上涨之前完成买入。套利者的抢跑行为将导致后续的那一笔大额买单以以更高的价格成交。 其实在现...
流动性挖矿(Yield Farming)
⚠️ 以下为非投资建议 (No Financial Advise) 内容,流动性挖矿存在投资风险。概念流动性挖矿是 AMM 协议下的提供流动性的更进一步,它是通过锁定流动性来获取代币奖励。 如何获取收益*上期*我们讲到在 AMM 协议下,流动性提供者可以通过从交易手续费中获取一定收益。流动性挖矿与单纯的提供流动性(LP)略有不同,它是将组好的 LP,注入到资金池中(矿池),以获取额外的不同的代币支付奖励。用于奖励的代币大多为矿场的代币。以 BSC 上的 PancakeSwap 的 Farm 作为例子,这是一个 $BUSD - $BNB 矿池,在 Stake(质押、注入)前,我们需要先为 $BUSD - $BNB 交易对提供流动性以及 Approve(授权使用代币)。 LP 组好后,我们就可以将我们的 LP Stake 进矿池,开始挖矿。 一段时间后,我们可以获得 $CAKE (PancakeSwap 的平台代币)作为奖励,通过 Harvest(收成)我们就可以把 $CAKE 收入囊中。与此同时,我们的 $BUSD - $BNB 还在努力的工作,持续产出 $CAKE。 又过了一段...
关于 Uniswap V3 的计算
机制改变Uniswap V3 采用了集中流动性(Concentrated Liquidity)。用户可以为自己的流动性设置一个价格区间。超出这个价格区间或低于这个价格区间,所有代币将被转换成两者中不值钱的那个。这一步转化造成的损失是无常损失。一个价格区间中的最小间隔叫 Tick,为 0.01%。 符号Swap添加流动性相关阅读:Uniswap V3 白皮书编辑于昨天 14:30文章被以下专栏收录* Blockchian;unblock256.com
矿工可提取价值
日渐增多的 MEV 可能导致了高昂的 Gas Fee在*上一期*的周报中我们为大家介绍了 Gas Fee , Gas Fee 越高,交易就越可能被矿工打包。本期我们就来讨论一下这种打包机制所产生的问题,Miner-extractable Value(MEV)。 MEV 指的是矿工重新排序交易后可以获得的利润。在实际情况中, MEV 可能并不是矿工推动。有可能是我付出了一个很高的 Gas Fee ,希望矿工优先打包我的交易。 希望矿工优先打包交易的原因有以下几种:抢跑(Frontrunning)主流的 DEX 都支持滑点,也就是成交价格的区间,假设当前下单价格 100 块,滑点是 5%,这意味着成交价格会在 95 - 105 之间。 宽松的价格区间让套利者有机可乘。 假如一个套利者在内存池中(没有打包的交易都会在内存池中)看到一笔大额买单(币价即将上涨)。根据 AMM 的模型,只要有买单成交,代币价格就会上升。因此,套利者可以通过高额的 Gas Fee 或者贿赂矿工来插入一笔买单,抢在代币价格上涨之前完成买入。套利者的抢跑行为将导致后续的那一笔大额买单以以更高的价格成交。 其实在现...
流动性挖矿(Yield Farming)
⚠️ 以下为非投资建议 (No Financial Advise) 内容,流动性挖矿存在投资风险。概念流动性挖矿是 AMM 协议下的提供流动性的更进一步,它是通过锁定流动性来获取代币奖励。 如何获取收益*上期*我们讲到在 AMM 协议下,流动性提供者可以通过从交易手续费中获取一定收益。流动性挖矿与单纯的提供流动性(LP)略有不同,它是将组好的 LP,注入到资金池中(矿池),以获取额外的不同的代币支付奖励。用于奖励的代币大多为矿场的代币。以 BSC 上的 PancakeSwap 的 Farm 作为例子,这是一个 $BUSD - $BNB 矿池,在 Stake(质押、注入)前,我们需要先为 $BUSD - $BNB 交易对提供流动性以及 Approve(授权使用代币)。 LP 组好后,我们就可以将我们的 LP Stake 进矿池,开始挖矿。 一段时间后,我们可以获得 $CAKE (PancakeSwap 的平台代币)作为奖励,通过 Harvest(收成)我们就可以把 $CAKE 收入囊中。与此同时,我们的 $BUSD - $BNB 还在努力的工作,持续产出 $CAKE。 又过了一段...

Subscribe to un.Block

Subscribe to un.Block
Share Dialog
Share Dialog
<100 subscribers
<100 subscribers
We will introduce you to the latest blockchain technology or product updates for the hot spots this week. Help you quickly understand the blockchain ecology and technology trends😉.
Each blockchain is an individual and autonomous system that doesn’t rely on external information to produce and validate ‘Blocks’. In the beginning, the developers created their Decentralized Applications (DApp) on Ethereum using the so-called “smart contracts”. Each DApp can interact with other DApps.
With the growing demands, Ethereum gradually failed to meet those complicated requirements. Common problems were performance bottlenecks and Ethereum Virtual Machine (EVM) holding many defects (low efficiency, lacking standardized library, being difficult to debug, not supporting floating-point number, unmodifiable codebase……).
The developers then tried to customize a blockchain for their DApps. When these DApps were built on their own customized chains, communication became a problem. This means the autonomy characteristic of blockchain becomes the biggest obstacle. The problem of decentralizing safely and effectively has bothered the Cross-chain transmission of messages developers for a very long time.

IBC(inter-blockchain communication protocol)is a general cross-chain information transmission protocol introduced by Cosmos. While ensuring the autonomy of each chain and the speed of transaction processing, IBC makes information and assets across the chain more decentralized, safe, and convenient. More than 200 services and applications and more than $80 billion of investments have adopted IBC. IBC is like TCP/IP protocol of the blockchain world, making blockchain networks possible.
With the help of IBC, blockchains adopting various consensus mechanisms can communicate with each other, as long as their consensus mechanisms meet the so-called “Fast Finality”, where all transactions can be quickly packaged and cannot be revoked or changed.
Since bitcoin and Ethereum don’t fully meet the requirements from such “Fast Finality”, Cosmos customizes inter-blockchain solutions for them: two customized blockchains supporting “Fast Finality” and IBC track the status of bitcoin and Ethereum respectively. Since these two customized chains are compatible with IBC and hold the latest knowledge of bitcoin and Ethereum, now any chains can communicate with Ethereum and Bitcoin.
Next, let’s use an example to explain how IBC works. Suppose we have two blockchains using IBC, called Earth and Mars. We want to send a “Hello world” from Earth to Mars. We first need to run a so-called “Relayer” for the message delivery. The relayer continuously checks the state of the chain and creates a transaction on another chain that contains the corresponding message. In the case of using IBC, a lite client of Mars will run on Earth so that Earth can verify the status of Mars and ensure that the information transmitted by Relayer is effective and accurate. Similarly, Mars will run a client of Earth.
Same as TCP/IP, the two chains first will do a “handshake” for identity authentication to prepare for secure message transmission. We then only need to create the corresponding “Hello world” message on Earth, and Relayer will transmit it to Mars. IBC ensures the security of data transmission, which is followed by triggering onAck, onTimedout, as well as other events.

Notice that IBC is only responsible for secure data transmission. For data serialization, it needs to be processed by applications built on the blockchain.

IBC is a protocol that has been implemented in Cosmos-SDK. It may support Kepler, Substrate, Tendermint, Codechain in the future.
Cosmos is furthering the influence of Cosmos-SDK through IBC, but it is not the only player developing inter-blockchain and customized blockchain technologies. Polkadot is also the one who has its own solution. We will introduce you to the wonders of Polkadot if we have a chance.
💻 Website: unblock256.com
✈️ Telegram: un.Block Weekly
🕊️ Twitter: @unBlock256
📧 Email: unblocketh@gmail.com
🖌️ Graphics Design: Jenny
📙 Translator: Dylan
Special Thanks:
Reproduction of this article for non-commercial purposes is authorized under the CC BY-NC 4.0Copyright ©️un.Block 2021
We will introduce you to the latest blockchain technology or product updates for the hot spots this week. Help you quickly understand the blockchain ecology and technology trends😉.
Each blockchain is an individual and autonomous system that doesn’t rely on external information to produce and validate ‘Blocks’. In the beginning, the developers created their Decentralized Applications (DApp) on Ethereum using the so-called “smart contracts”. Each DApp can interact with other DApps.
With the growing demands, Ethereum gradually failed to meet those complicated requirements. Common problems were performance bottlenecks and Ethereum Virtual Machine (EVM) holding many defects (low efficiency, lacking standardized library, being difficult to debug, not supporting floating-point number, unmodifiable codebase……).
The developers then tried to customize a blockchain for their DApps. When these DApps were built on their own customized chains, communication became a problem. This means the autonomy characteristic of blockchain becomes the biggest obstacle. The problem of decentralizing safely and effectively has bothered the Cross-chain transmission of messages developers for a very long time.

IBC(inter-blockchain communication protocol)is a general cross-chain information transmission protocol introduced by Cosmos. While ensuring the autonomy of each chain and the speed of transaction processing, IBC makes information and assets across the chain more decentralized, safe, and convenient. More than 200 services and applications and more than $80 billion of investments have adopted IBC. IBC is like TCP/IP protocol of the blockchain world, making blockchain networks possible.
With the help of IBC, blockchains adopting various consensus mechanisms can communicate with each other, as long as their consensus mechanisms meet the so-called “Fast Finality”, where all transactions can be quickly packaged and cannot be revoked or changed.
Since bitcoin and Ethereum don’t fully meet the requirements from such “Fast Finality”, Cosmos customizes inter-blockchain solutions for them: two customized blockchains supporting “Fast Finality” and IBC track the status of bitcoin and Ethereum respectively. Since these two customized chains are compatible with IBC and hold the latest knowledge of bitcoin and Ethereum, now any chains can communicate with Ethereum and Bitcoin.
Next, let’s use an example to explain how IBC works. Suppose we have two blockchains using IBC, called Earth and Mars. We want to send a “Hello world” from Earth to Mars. We first need to run a so-called “Relayer” for the message delivery. The relayer continuously checks the state of the chain and creates a transaction on another chain that contains the corresponding message. In the case of using IBC, a lite client of Mars will run on Earth so that Earth can verify the status of Mars and ensure that the information transmitted by Relayer is effective and accurate. Similarly, Mars will run a client of Earth.
Same as TCP/IP, the two chains first will do a “handshake” for identity authentication to prepare for secure message transmission. We then only need to create the corresponding “Hello world” message on Earth, and Relayer will transmit it to Mars. IBC ensures the security of data transmission, which is followed by triggering onAck, onTimedout, as well as other events.

Notice that IBC is only responsible for secure data transmission. For data serialization, it needs to be processed by applications built on the blockchain.

IBC is a protocol that has been implemented in Cosmos-SDK. It may support Kepler, Substrate, Tendermint, Codechain in the future.
Cosmos is furthering the influence of Cosmos-SDK through IBC, but it is not the only player developing inter-blockchain and customized blockchain technologies. Polkadot is also the one who has its own solution. We will introduce you to the wonders of Polkadot if we have a chance.
💻 Website: unblock256.com
✈️ Telegram: un.Block Weekly
🕊️ Twitter: @unBlock256
📧 Email: unblocketh@gmail.com
🖌️ Graphics Design: Jenny
📙 Translator: Dylan
Special Thanks:
Reproduction of this article for non-commercial purposes is authorized under the CC BY-NC 4.0Copyright ©️un.Block 2021
No activity yet