Conflux 백서

Conflux

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 5쪽 중 3쪽

actions; estimated using equation (8) and defined in equation (9) β system required fraction of tokens that need to be put in bonded storage for occupying space I(d) interest income from bonded tokens for miners; defined in equation (10) p(0) price of CFX on day on main-net launch p(d) inflation adjusted price on dayd, defined in equation (12) and in reduced form in equation (13) G(d) number of coins outstanding on dayd; it is genesis plus interest tokens plus block reward tokens, described in equation (11) m(d) total revenue for miners on dayd, derived in equation (14) ¯m(d) total miner revenue averaged over 1 year g hypothetical daily growth rate of the CFX price so that after 3 years, the market value of all Conflux tokens is the same as the market value of all ETH at the beginning of 2020 23 B. Miner Block Rewards Miners receive a reward per block mined and the exact amount depends on where the block is in the chain relative to the pivot chain and its anti-cone. Notably, for the calibration presented, instead of presenting the exactper blockreward, we compute the aggregate daily block award amount. According to the technical specifications, there the network produces two new blocks per seconds, and thus60· 60· 24× 2 =:D× 2 new blocks per day. Assuming a constant mining rate, there areD· 730 blocks mined per year. As such, ifB denotes the number of newly minted tokens created as block reward to the miners, the system needs issue B·D· 730 new tokens annually as block rewards. Block rewards increase the monetary base and create inflation. In other words, by setting a block reward rate the system can directly determine the inflation rate created by newly minted blocks. This inflation is a transfer from coin holders to miners, and in setting the block rate Conflux can pivot how much wealth it redistributes during a given year. Specifically, Conflux’s objective is to set the block reward based on an annual inflation target rate ofrb∈ (0, 1). Therefore, for target valuerb, the block reward must solve B·D· 2· 365≡G·rb ⇔ B = Grb 730D. Note, in Conflux blocks are created continuously and may in fact be empty when there are no valid transactions. Overall, on any given dayd, total block rewards, denoted by b(d) are therefore b(d) = Grb 365. (1) 24 Figure 2 Adoption Rate for Ethereum and the fitted logistic function 0 .2 .4 .6 .8 1 01jan2016 01jan2017 01jan2018 01jan2019 01jan2020 usage rate of blocks fitted logistic function C. User Uptake User adoption of the network will determine the demand for transactions and com- putations, the fees paid by users, and the storage rent distributed to miners. We discuss these quantities in later subsections as here our objective is to develop a model concern- ing user adoption. A common feature of new technologies is that their adoption follows a S-shaped pattern with slowly increasing usage early on and then a sudden jump of activity. An example is the uptake of the Ethereum network, depicted in Figure 2, where we plot the average daily fraction of the gas limit that has been used; this graph is based on data 25 from https://etherscan.io/charts.7 As Conflux is a new technology, it is reasonable to expect that uptake of Conflux will also follow an S-shaped pattern provided the network is successful. Conflux and Ethereum have many similar features and we will therefore use Ethereum’s historical adoption data to estimate what we believe to be a reasonable uptake rate for Conflux. As a first step, we characterize the Ethereum’s user uptake rate in form of a paramet- ric functional. There are multiple ways to describe an S-shaped function (also known as a sigmoid curve), a standard one being logistic function which has the form: Y = ξ0 1 +e−ξ1·(X−X0), (2) In the equation above,Y is the uptake rate at timeX, ξ0 is the maximum value for uptake,ξ1 is the growth rate, andX0 is the time-value of when the curve reaches 50% of its supremum value (formally, the value of the horizontal axis at the sigmoid’s midpoint). Our estimation results are in Table II, Figure 2 also plots the fitted function. Blocks can theoretically be filled up to 100% of the gas limit, yet the estimate for ξ0 indicates that the Ethereum blockchain’s usage rate currently maxes out at 83%. There could be several explanations for this: one is that miners collude so to not include transactions that offer low transaction fees. Another is that the 83% usage rate is a steady-state, day-to-day “technological” upper bound of what miners can actually include taking account of validation and transaction submission latency. Finally, it is possible that once the network becomes congested, users no longer send new transactions 7A graph of daily transactions would have a similar shape. We note that there is an upper bound in transactions because the total amount of gas per block is limited. 26 Table II Logistic Curve-Fitting for Ethereum’s User Uptake Rate The table contains the results for the non-linear least squared regression of (2) using data for Ethereum’s user uptake rateY, measured as the fraction of the gas limit used per block and dayX. T-stats are in parentheses. *, **, *** indicate statistical significance of the coefficients at the 10%, 5%, and 1% levels. ξ0 ξ1 X0 Estimate 0.83*** 0.02*** 690.54*** (244.800) (30.809) (316.067) Observations 1,631 1,631 1,631 R-squared 0.978 0.978 0.978 to the chain because of the long delay; this would create an endogenous upper bound on demand (reflected in the size of the mempool) for transaction processing. Following https://bitinfocharts.com/ethereum/, transaction fees consistently account for less than 3% of miner revenue per block and it appears that miners are likely not too concerned about using the entire space in a block. We will henceforth use the estimations from Table II as our benchmark for modeling user uptakeu(d)∈ (0, 1). In other words, we assume (predict) that on dayd a fraction u(d) of Conflux’s total capacity is used. In the testnet, Conflux has a transaction throughput of 4,000 per second. As a day has86, 400 seconds, on dayd, there will be u(d)× 4, 000× 86, 400 many transactions. Using the results from Table II, we obtain: uETH(d) = 0.831 +e−0.017·(d−690). (3) Under this model, it will take 718 days until Conflux reaches a network capacity of 50% and 793 days (i.e., approximately two years) to reach capacity 70%. 27 Undoubtedly, the uptake of Conflux may vary from the model described above in terms of the time needed to reach a specific adoption rate. Ecosystem investments and dApp development may enable a faster uptake. Conflux’s smart contract platform is compatible with Solidity, one of the main programming languages for smart contracts on Ethereum. This interoperability implies that many current blockchain dApp devel- opers from the Ethereum community face a shallow adoption curve. In contract, when Ethereum was launched, there was a significantly smaller community of developers pro- ficient in Solidity. Hence, it is reasonable to expect a faster user uptake of Conflux comparing to Ethereum. In calibrating our model, we provide analysis under two different adjustments to suggested model. Firstly, we shift the adoption curve 180 days to the right, meaning that adoption is delayed by a quarter. In the second, we shift the adoption curve 180 days to the left, meaning that adoption is sped up by a quarter. Formally, this shift is an increase/decrease in parameterX0 to 870 and 510 calendar days, respectively, so that: ufast(d) = 0.831 +e−0.017·(d−510), (4) uslow(d) = 0.831 +e−0.017·(d−870). (5) Figure 3 illustrates the three different adoption rate models, labelled asfast (ufast(d)), Ethereum (uETH(d)), andslow (uslow(d)). At capacity, Conflux processes 4,000 transactions per second. With a long-run adop- tion rate ofu(d) = 80% , this amounts to an expected 3,200 tps utilization. With an uptake rate ofu(d), the average daily number of transactions is T (d) =u(d)· 4, 000D =u(d)· 345.6× 106. 28 Figure 3 The Three Calibrated Adoption Rates 0 .2 .4 .6 .8 01jan2016 01jan2017 01jan2018 01jan2019 01jan2020 Ethereum fitted 180 days faster fitted 180 days slower We note that we use data from Ethereum to estimate the fractional usage of the maximum capacity, and we expect that the actual update rate in Conflux will exceed the previously stated number. We justify this opinion as follows: Ethereum is arguably at capacity most of the time (see Figure 2 and its mem-pool of unsettled transactions is non-empty). Since Ethereum is at capacity, there is a limited incentive for developers to introduce new dApps, especially for enterprise-scale use-cases. Conflux’s higher through- put mitigates the concerns that the transactions do not get confirmed timely, and since Conflux is compatible with Solidity, developers face a flat learning curve. Together this should contribute to a fast adoption of Conflux. 29 D. User Fees Users pay for computational cycles, aka gas used. It is a common practice to de- nominate blockchain capacity by transactions per second, where a transaction refers to a simple transfer of the native token from one address to another. Such a transaction require a fixed amount of gas; e.g., on Ethereum, it is 21,000 gas. We therefore follow this convention and equate user fees with the fees that users pay for address-to-address transfers. We assume that users on average pay a transaction fee of valuef. Therefore, average daily fees, as a function ofday F(d), are calculates as follows: F (d) := f|{z} average daily fee × T (d)|{z} number of transactions on dayd =F·u(d)· 4, 000·D. (6) The table below presents examples for the annual fee income on the Conflux Network that “at capacity” usage rate provides to miners for different levels of the average feef. average per day annual $0.001 $276,480 $88,300,800 $0.005 $1,382,400 $441,504,000 $0.010 $2,764,800 $883,008,000 $0.020 $5,529,600 $1,766,016,000 $0.050 $13,824,000 $4,415,040,000 For Ethereum, at its current block reward and thoughput, total rewards are on the order of $2.3M daily or about $840M annually, including both the block rewards and the 30 user fees. As a result, user fees account for less than 3% of the rewards.8 In Conflux, with a similar block-usage rate, user fees would provide the same total fee income as the total revenue (fees plus block rewards) in Ethereum as long as user are willing to pay on average $0.01 per transaction. Even for a moderate willingness of users to pay fees, annual income can be substantial. In comparison, the median transaction fee on the Ethereum blockchain for January–February 2020 has been between $0.08 and $0.15 (source: ycharts.com). It is also of interest to compare these numbers to the fees in the traditional retail payment networks. For example, in credit card transactions, the different entities in- volved in a transaction, credit card companies such as Visa or Mastercard as well the the payment processing banks, currently charge between 1%-3% of the transaction value for retail transactions. Namely, any transaction value greater than $2.5 incurs a minimal fee of $0.05.9 On another payment platform, FinTech company Square charges a flat fee of 2.75% per transaction; in other platforms that charge a flat rate per transaction, users usually encounter a transaction fee of at least $0.15. E. Interest Payments to Users Conflux plans on paying users interest to whom their tokens are on hold. As we outlined in the preceding section, the issued tokens exist in two forms: liquid and illiquid. In the liquid form, they are “free,” and can be immediately transferred and used on the 8As most of the empirical analysis in this paper, these figures are based on the state of the Ethereum blockchain in early 2020. Over the second half of 2020, however, usage fee on Ethereum have skyrocketed as a result of the congestion of the chain, caused by a strong uptake in decentralized finance applications. Our view at this point in time is that this congestion is not a steady state but most likely a temporary phenomenon. We thus based our analysis on the more conservative assessment that we present here. 9This is different for debit card transactions. In the U.S., the Durbin Amendment of the Dodd-Frank Act restricts the interchange fees for debit transactions to 0.05% + $0.21; before this law came into effect by 2011, average fees were about $0.44. In addition to these fees, payment processors usually charge a markup in the range of $0.10-$0.20 plus a percentage of the transaction value. 31 Conflux chain. These liquid tokens receive no interest. This state is similar to money kept in a “chequing” or “current” account at a bank: in most western countries today such funds do not earn interest but they are available for immediate use. User can also designate their tokens as “stake”. In that case, they are locked, not available for immediate use, and therefore illiquid. Such staked tokens receive interest payments in the form of newly minted tokens. This interest per token accrues while the token is staked and it will be paid at the time when the user unlocks their token and converts it to the liquid form. The staking/locking and un-staking/unlocking pro- cess, however, takes time and consumes gas costs. It is analogous to money kept in a savings account: such funds receive interest payments but are usually not available for immediate use and/or may incur fees while releasing them. The technical details of staking/unstaking can be found in the technical white paper of the Conflux network. We present an analysis on interest payment in the following content. For the sake of simplicity, we assume that the locked genesis tokens are released at a constant rate daily over a 4-year period (they are released at quarterly intervals). LetG = 5, 000, 000, 000 be the amount of genesis tokens that are locked at main-net launch. To simplify the analysis, we assume that these are released at a constant rate ofn per day since the launch such thatn· 365· 4 = G.10 In other words: n≈ 343K tokens are released each day. Assume that users (including those who hold released genesis tokens) will lock/stake on average a fractionα of their tokens. Thenα·d·n tokens are eligible to receive interest payments on dayd, while the remaining(1−α)·dn tokens are liquid and available for transactions. For much of our analysis, we assume that users stake all their tokens, 10Most of these tokens are released at fixed, contracted intervals. 32 α = 1, so that they receive interest whenever possible and unstake only right before they want to use their tokens. Conflux pays a daily amount of accrued interestR per staked token in the form of newly minted tokens. Those tokens expand the monetary base and therefore lead to inflation. We also assume that Conflux will set a goal for the annual raterc such that over a year,G·rc newly minted tokens from interest payments are added to the monetary base. To simplify the exposition, we further assume here that the newly minted interest tokens are returned to miners as liquid tokens. Since interest is compounded per block creation during which the tokens are locked, for an annual equivalent rater one needs to find the value forR such that the total interest payments add up toG·rc tokens G·rc|{z} total annual interest = 365∑ d=1 R·α·d·n | {z } sum of individual interest payments ⇔ R = 8366· rcα. (7) F. Transactions vs. Computations In the description so far we treat transactions as a synonym of the usage of the underlying network. However, notably, a Turing-complete blockchain can do much more than process transactions. To understand this issue, consider Figure 4. The solid black line plots the daily transactions on the Ethereum blockchain. The gray line plots the fraction of Gas attributable to transactions in percentile.11 As the figure illustrates, over time plain vanilla token transactions account for a decreasing proportion of transactions. 11Formally, we derive this line as follows. We obtain frometherscan.io/chart the data series for daily transactions and daily Gas used. A simple transfer of ETH transaction requires 21,000 Gas, and we therefore obtain the non-transaction Gas amount by subtracting the number of transactions times 21,000 from the total gas. 33 Figure 4 Transactions vs. Computations 20 40 60 80 100 01jan2016 01jan2017 01jan2018 01jan2019 01jan2020 30−day moving average fraction of gas used for transactions quadratic fitted values As with user uptake, we use the Ethereum blockchain activities as a benchmark for the expected behavior on the Conflux network. Specifically, we run an OLS regression for a quadratic fit for the non-transaction rate: % non-transaction gas=α +β1·d +β2·d2 +ϵ, (8) whered is the number of days since main-net launch. The goal here is to measure the% non-transactional gasas a quantity∈ [0, 100]. Table III contains our estimation results. In additional to the raw rate, which is very noisy at the beginning of the sample, we use the 30-day moving average of the fraction of non-transactional gas used. The results are 34 Table III Quadratic Curve-Fitting for Ethereum’s Non-Transaction Gas Usage Rate The table contains the results for our non-linear least squared regression of (8) using data for Ethereum’s the fraction of daily non-transaction gas usage on Ethereum. MA refers to a 30-day moving average. T-stats are in parentheses. *, **, *** indicate statistical significance of the respective coefficients at the 10%, 5%, and 1% levels. % non-transactions MA(% non-transactions) β1 -0.04*** -0.04*** (-17.952) (-26.239) β2 0.00*** 0.00*** (5.598) (7.710) α 71.88*** 72.07*** (94.875) (141.995) Observations 1,623 1,623 R-squared 0.615 0.782 very similar. We note that the parameter estimated for the quadratic term,β2, is very small, around 7.05× 10−6, owing to the size of the associated variable. So far in this subsection, we have discussed the usage of gas for non-transaction pur- poses. In what follows, we need to determine the amount of interest that miners receive for storing smart contract code. We measure miner income against transactions because user fees are paid per transaction and a block has a fixed capacity in terms of number of transactions. A more intuitive approach would be to measure this quantity against gas usage. To keep the analysis coherent, we convert the fraction of non-transactional gas into hypothetical transactions and then we make the interest payments a function of these hypothetical transactions. Specifically, letγ(d) denote the fraction of gas us- age that is not attributable to remittance-like CFX transactions. Following Table III, 35 we obtain: γ(d) := 1− ( 72− 0.04·d + 7.05· 10−6·d2)/100 =−0.0000000007(d−2, 837)2+.85. (9) Therefore, when there areT (d) transactions on dayd, we say that(1−γ(d))·T (d) of these are simple coin transfers andγ(d)·T (d) involve smart contract executions that require data storage on the chain. G. Interest Payments to Miners When using the chain to store information (such as smart contract code), users have to put a certain number of tokens into bonded storage. These tokens earn interest, and the interest is paid to the miners (and not to those who put the tokens into storage). In calibrating the model, there is a possible scenario that a user buys storage (i.e., put tokens into bonded storage) but never executes the contract hereafter. To tackle this, we make the assumption that users make the decision of whether to keep tokens in bonded storage each day and, therefore, that the total transactions fully reflect the extent of interest payments. In other words, we account for only “new” bonding of tokens. As such, the calibration model likelyconservatively underestimatesthe interest income to miners. Conflux determines how many tokens users must put into bonded storage relative to the amount of space that the contract occupies. We assume that this amount is proportional to the gas usage of the contract or, as one may argue, the number of actual transactions since each of them requires gas. As such, f
프로젝트로 돌아가기