区块链:科普 | DeFi中的关键:智能合约是什么

资讯 2024-06-28 阅读:26 评论:0
现在我们的生活几乎离不开合同,往大说,工作是与公司签订的劳动合同,买房是与房产公司签订购房合同,买保险是与保险公司签订保险合同;往小了说,网购、定外卖、打车、买彩票都是与相关的服务提供公司签订了相应的合同。可以说,有...
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

现在我们的生活几乎离不开合同,往大说,工作是与公司签订的劳动合同,买房是与房产公司签订购房合同,买保险是与保险公司签订保险合同;往小了说,网购、定外卖、打车、买彩票都是与相关的服务提供公司签订了相应的合同。可以说,有人的地方就用合约。

Now our lives are almost non-contractual. Largely, work is a labor contract with a company, home purchase is a house purchase contract with a real estate company, insurance is an insurance contract with an insurance company. Smallly, Internet purchases, take-out orders, taxis, and lottery tickets are all contracts with the relevant service provider.

甚至我们与人打,也是一种合约,但如果一旦一方抵赖,那履行合约就会变得困难。如果有一种合约,事先确定了规则,一旦触发相关条款,合约将自动执行,无需人为干涉,也不用担心有人抵赖。是否存在这样的合约呢?还真有,这便是智能合约。

Even if we fight, it is a contract, but if one of the parties denies it, it becomes difficult to fulfil it. If there is a contract, the rules are established in advance, and once the relevant clause is triggered, the contract will be executed automatically, without human interference, and no one will have to deny it.

一.什么是智能合约

i. What's a smart contract

智能合约是上世纪90年代由密码学家尼克·萨博提出的理念,由于当时缺乏可信的执行环境,智能合约没有被应用和发展,直到以太坊的出现,才让智能合约得以“复活”。

Intelligent contracts, an idea proposed by the cryptographer Nick Saber in the 1990s, were not applied or developed until Etheria appeared, owing to the lack of a credible implementation environment.

国务院:推进科普与区块链技术深度融合:为贯彻落实党中央、国务院关于科普和科学素质建设的重要部署,依据《中华人民共和国科学技术进步法》、《中华人民共和国科学技术普及法》制定《全民科学素质行动规划纲要(2021-2035年)》,其中要求实施智慧科普建设工程。推进科普与区块链等技术深度融合,强化需求感知、用户分层、情景应用理念,推动传播方式、组织动员、运营服务等创新升级,加强“科普中国”建设,强化科普信息落地应用,与智慧教育、智慧城市、智慧社区等深度融合。(新华社)[2021/7/10 0:40:52]

State Council: Promotion of the deep integration of technology into the block chain: In order to implement the Party's central and State Council's important deployments on science and technology development, and in accordance with the Law of the People's Republic of China on the Advancement of Science and Technology and the Law of the People's Republic of China on the popularization of science and technology, the Outline Plan of Action for the Scientific Quality of the Nation (2021-2035) was drawn up, which called for the implementation of the project on the construction of the intelligent science chain. Promotion of the in-depth integration of technology such as science and technology from the block chain, the strengthening of demand perceptions, user hierarchies, the application of scenarios, the promotion of innovations such as dissemination methods, organizational mobilization, and operational services, the strengthening of the construction of the “Coptic China” and the enhancement of the application of science and technology-based information base, the deepening of the intellectual education, the intelligent city, the intelligent community, etc. (2021/7/10 0:40:52]

那智能合约到底是什么呢?简单来说智能合约就是用计算机语言取代了法律语言记录条款并由程序自动执行的合约。换句话说,智能合约就是传统合约的数字化版本,跑在区块链网络上,由程序自动执行。

In other words, a smart contract is a digital version of a traditional contract that runs on a block chain network and is automatically executed by the program.

动态 | 新浪财经:官媒针对区块链的报道从科普宣传转向打假监管:据新浪财经今日消息,“1025新政”满月,一个月间,官媒对区块链的态度风向已转。据11月初的一项统计,七家党媒在新政一周内发布了65篇直接相关报道,当时文章中的关键词是数据、产业、安全、创新等,大量文章偏向于科普区块链的概念以及应用介绍,提醒警惕虚拟货币炒作的仅有3篇。近期,官媒的批评焦点则纷纷指向借区块链之名进行的虚拟货币发行和炒作行为。据统计,新华网、人民网收录转载的,以打击虚拟货币或揭露假借区块链行为主题的文章,自10月25日到11月25日午间,共28篇;其中,11月19日至11月25日的一周内就高达15篇。这些文章主要围绕三个观点展开:厘清区块链和虚拟货币的关系,说明二者概念不等;打击伪“区块链”局,或是虚拟货币局揭露;提醒民众,区块链不能成为炒作的噱头,更不是行的招牌,需警惕此类活动,理性投资。[2019/11/26]

According to a report in early November, the seven-party medium published 65 directly related reports during the week of the New Deal, the key words of which were data, industry, security, innovation, etc., in which a large number of articles were directed towards the concept and application of the Coptic block chain, alerting the virtual currency campaign to only three. In recent times, the media focused their criticism on virtual currency distribution and advertising in the name of the lending block chain.

自动售货机、ATM取款机,在某种程度上都可以被理解为执行智能合约的机器,但这都不是真正意义上的智能合约。

Automatic vending machines and ATM teller machines can, to some extent, be understood as machines for the implementation of smart contracts, but these are not really smart contracts.

动态 | 央行官微旧文重发“再科普”:范一飞详解数字货币:据中国经济网消息,今日,央行官微公众号头条重新发布央行副行长范一飞在2018年1月25日题为《关于央行数字货币的几点考虑》的文章,对央行数字货币再次进行科普。同时,微信公众号第二条发布支付司副司长穆长春8月10日在第三届中国金融四十人伊春论坛上的演讲。近年来,各主要国家和地区央行及货币当局均在对发行央行数字货币开展研究,新加坡央行和瑞典央行等已经开始进行相关试验,人民银行也在组织进行积极探索和研究。[2019/8/21]

According to China’s economic network, the central bank official’s headline is today re-discussing the post of Vice-President of the central bank, Fan Yi, on January 25, 2018, entitled “Some considerations about central bank’s digital currency,” and re-discussing the central bank’s digital currency. At the same time, Mu Changchun, Deputy Director-General of the payment department released the second article, on August 10, at the third Ichun Forum, China’s finance 40 people. In recent years, central banks and monetary authorities in major countries and regions have been conducting research on the issuance of central bank’s digital currency, the Singapore Central Bank and the Swedish Central Bank, among others, have begun relevant experiments, and the People’s Bank has been actively exploring and researching.[20/19/8/21]

二.智能合约有哪些特点?

II. What are the characteristics of smart contracts?

与传统的合约相比,智能合约有三大特点:

Smart contracts have three main characteristics compared to traditional contracts:

金色财经独家分析 监管机构、媒体、业界提示风险 区块链科普道阻且长:新华社今日发文表示,近来“区块链”类案件频发,不法分子以“投资虚拟货币周期短、收益高、风险低”为借口,取用户信任并诱使其转账进行投资。无独有偶,同日消息,腾讯手机管家安全专家也提醒此类风险,并从技术上提出防建议。在美国,监管机构警示加密货币欺诈现象普遍承诺高收益而不披露潜在风险。金色财经独家分析,不法分子假借新技术之名进行,一方面是抓住民众趋利的心理,一方面反映出区块链科普的欠缺。区块链是新兴科技和底层技术并有改变社会生产关系的潜力,应该进行系统性的科普教育,当前,部分大学已经开始设置了区块链课程,但对于普通民众仍然有科普的需求,人们应该了解到系统和正确的知识,不仅要了解区块链的好,也要明确局限和弊端,以在高收益的诱惑下,保持清醒客观。[2018/4/11]

In the United States, regulators warn that encryption currency fraud is widely committed to high returns without disclosing potential risks. The Xinhua Society writes today that recent cases in the “block chain” category have been carried out under the guise of new technologies, and that illegal elements, on the one hand, have captured the popular spirit of profit, reflecting the lack of a regional chain of technology and bottom technologies, and have the potential to change social production relationships. There is a need for systematic science-based education. Currently, some universities have started to set up district-chain courses, but there is still a need for science-based knowledge for ordinary people. Systems and correct knowledge should be understood, not only in terms of the advantages of the chain, but also in terms of its limitations and disadvantages, in order to maintain a clear and objective incentive for high returns. [18]

1、合约内容公开透明智能合约部署在区块链上,其合约内容自然是公开透明的。

1. A contract for open and transparent content is deployed on the block chain, and its contents are naturally open and transparent.

2、合约内容不可篡改同样,因为部署在区块链上原因,智能合约的内容是无法被修改的。

2. The content of the contract cannot be altered in the same way, as the contents of the smart contract cannot be modified because they are deployed on the block chain.

3、永久运行运行在区块链上的智能合约,同样被区块链上网络节点共同维护,只要区块链在,智能合约就能永久的运行下去。有种“链在合约就在”的兄弟情义之感。

3. A smart contract that runs on the block chain permanently is also maintained by a network node on the block chain, and the smart contract lasts forever as long as the block chain is there. There is a sense of brotherhood that the chain is in the contract.

有区块链三大特点加持的智能合约,与传统的合约相比主要有如下优势:

Smart contracts with three main features of the block chain have the following main advantages in relation to traditional contracts:

1、去信任。

1, to trust.

由于智能合约是基于区块链的,合约内容公开透明、且不可篡改。代码即法律,交易者基于对代码的信任,可以在不信任环境下安心、安全地进行交易。

Since smart contracts are block-based, their content is open, transparent, and not subject to tampering. Codes, i.e. laws, allow traders to deal safely and securely in an environment of mistrust, based on trust in the code.

2、经济、高效

2, economic, efficient

相比传统合约经常会因为对合约条款理解的分歧,造成纠纷;智能合约通过计算语言很好避免了分歧,几乎不会造成纠纷,达成共识的成本很低。在智能合约上,仲裁结果出来,立即执行生效。因此相比传统合约,智能合约有经济、高效的优势。

More often than not, disputes arise as a result of differences in the understanding of the terms of the contract; smart contracts avoid differences by calculating them in a way that hardly creates disputes, and the cost of reaching consensus is low. In the case of smart contracts, the outcome of arbitration is immediate and effective. Smart contracts therefore have an economic and efficient advantage over traditional contracts.

3、无需第三方仲裁

3, no need for third-party arbitration

假设熊大和熊二打,明天是否会下雨,谁输了的一方就需要给对方100元。如果输的人抵赖,赢了的人就得不到奖励。为此,去找第三方仲裁机构,低效且费时费力。但如果约写在智能合约上,在达成约之时,各自把100元打入智能合约地址,智能合约根据最终的结果,自动执行,赢的一方拿走所有的奖励。可见,智能合约就无需第三方仲裁。

If it rains tomorrow, the loser needs $100. If the loser denies it, the winner is not rewarded. To that end, it is inefficient and time-consuming to go to a third-party arbitration body.

三.智能合约真的智能吗?

III. Are smart contracts really smart?

上面讲的都是智能合约的优点,那智能合约真的是智能且没有缺点的吗?其实不然,智能合约也有它的缺点。

It's all about the virtues of a smart contract. Is it really smart and not flawed? No, smart contracts have their flaws.

如上文所述,智能合约不可篡改的属性,很容易建立起信任。但同时也有不好的一面,如果智能合约存在漏洞,黑客可以利用智能合约的漏洞,为自己牟利。

As noted above, the immutable attributes of intellectual contracts can easily build trust. But there is also a bad side to intellectual contracts that hackers can exploit for their own benefit if they are flawed.

举个简单的例子,一台自动售货机,本来售价是5块的饮料,由于疏忽,写成了5毛钱,管理员发现之后,可以立刻改正。但如果这台售货机调用的是区块链上的智能合约,那么这个错误将无法修改,直到里面饮料卖完。

To give a simple example, a vending machine, originally worth $5 for drinks, was inadvertently written into 50 cents, and the administrator can correct it as soon as he discovers it. If the vending machine calls for smart contracts on the block chain, the error will not be corrected until the drink inside is sold out.

另一方面,智能合约本身无法获取外部的信息,涉及到需要外部信息才能裁决合约,需要对其写入相关信息,它才能作出裁决。比如熊大和熊二打明天是否下雨的例子,智能合约本身是不知道第二天是否下雨了没,需要通过其他信息源为它提供信息,比如中央气象台数据,哟了这个信息之后,智能合约才能做出裁决。

On the other hand, smart contracts themselves do not have access to external information, which involves the need for external information in order to adjudicate contracts, and the need to write them in order for them to be judged. For example, smart contracts themselves do not know if it will rain tomorrow, and require information from other sources, such as central meteorological data, before smart contracts can be decided.

从上面两点看,智能合约既不完美也不智能。

From the top two, smart contracts are neither perfect nor smart.

四.小结

iv. Summing up

综上所述,关于智能合约,我们知道:

On the basis of the above, with regard to intellectual contracts, we know:

智能合约是用计算机语言取代了法律语言记录条款、由程序自动执行的合约。部署在区块上的它,也具备了区块链的数据公开透明、不可篡改、永久运行的特点。

A smart contract replaces a legal language recording clause, which is automatically executed by a program, in a computer language.

与传统的合约相比,智能合约有去信任、安全、高效、无需第三方仲裁的优点。但智能合约并不完美,而且也不智能或者说它的智能程度很低。

Smart contracts have the advantage of trusting, being safe, efficient, and not requiring third-party arbitration, compared to traditional contracts. But smart contracts are not perfect, and are not intelligent, or they are less intelligent.

文章中提到智能合约的执行无需第三方机构裁决,同时又提到,当执行条件涉及到外部信息时,智能合约无法感知,需要对智能合约输入相关的信息,才能触发智能合约去执行裁决。你觉得这两个说法矛盾吗?欢迎到留言区分享你的观点。

The article mentions that the enforcement of smart contracts does not require a decision by a third-party agency, but also that, when the enforcement conditions involve external information, a smart contract cannot be perceived and requires the entry of relevant information in order to trigger an intelligent contract to enforce the award. Do you find these two claims contradictory?

作者|晏文春

by Ying Wengchun

标签:区块链数字货币以太坊ATM魔兽币是有使用区块链技术吗数字货币平台案例以太坊硬币可以卖钱么ATM价格

Label: digital currency:

美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址
文字格式和图片示例

注册有任何问题请添加 微信:MVIP619 拉你进入群

弹窗与图片大小一致 文章转载注明

分享:

扫一扫在手机阅读、分享本文

发表评论
平台列表
美化布局示例

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
热门文章
  • DDO在新加坡上市真假,欧意交易所能交易数字期权吗?

    DDO在新加坡上市真假,欧意交易所能交易数字期权吗?
    然而,对于DDO在新加坡的列名是否真实存在争议。 据报道,有人质疑DDO的数字选项是否真的上市,其背景是否经过了彻底调查。 首先,有报告说,DDO数字选项清单仅仅是一种宣传手段,没有找到DDO交易的平台,这就对DDO的真正清单提出了疑问。 其次,一些媒体调查了DDO数字选项的背景。 报告显示DDO数字选项发行人声称其数字选项是国家赞助的,但实际上,根据中国人民银行,虚拟货币相关业务是非法金融活动。 此外,DDO数字选项在视频号码等平台上广为传播,吸引了许多信徒的注意,然...
  • Griffin Gaming Partners计划为其第三支基金筹集5亿美元

    Griffin Gaming Partners计划为其第三支基金筹集5亿美元
    Pitchbook引用的6月8日《快链头条新闻》作为监管文件, 指出游戏风险投资公司Griffin赌博伙伴计划为其第三个旗舰基金筹集5亿美元, 比第二个基金少33%。 2021年,格里芬赌博伙伴从Web3游戏开发者Forte获得A回合资金1.85亿美元,并于2022年筹集了第二个旗舰基金,金额达7.5亿美元,此时风险资本家对Web3和加密游戏的热情达到顶峰。...
  • 比过山车还狠!比特币价格再次暴跌

    比过山车还狠!比特币价格再次暴跌
      上周日,比特币的价格创造了3000美元的历史新高,随后就开始各种高台跳水了。Last Sunday, the price of Bitcoin created a record high of $3,000, and then began to dive on all the high platforms.   据外媒报道,本周一,比特币价格一度下跌到2526.4美元,最高跌幅高达14.5%,这创造了2015年1月以来最大跌幅。According to external...
  • 加密货币之王重回王位:比特币飙升至 71,000 美元,还能再涨多少?

    加密货币之王重回王位:比特币飙升至 71,000 美元,还能再涨多少?
    比特币是市场上最大的加密货币,它再次打破了重要的7万美元门槛。 在短短的四舍五入(67,000美元到69,000美元之间)之后,价格在这一水平上遇到了强烈的抵制。 然而,势头的不断增强表明,比特币可能形成一个超过70 000美元的板块,为重新测试下一个抵抗阵地71 300美元和3月份可能攀升到历史最高点73 700美元铺平了道路。 问题仍然是:比特币能否维持预期的上升趋势并继续大幅上升?    分析家预计比特币价格将上升到74,400美元。 加密货币分析师Ali M...
  • 几张图看懂区块链技术到底是什么?https://www.cnblogs.com/behindman/p/8873191.html

    几张图看懂区块链技术到底是什么?https://www.cnblogs.com/behindman/p/8873191.html
    “区块链”的概念可以说是异常火爆,好像互联网金融峰会上没人谈一谈区块链技术就out了,BAT以及各大银行还有什么金融机构都在开始自己的区块链研究工作,就连IBM最近也成立了自己的区块链研究实验室,但其实区块链到底是什么?大家或许并不清楚,停留在雾里看花的状态。从今天开始,就让我们一起走进区块链,揭开区块链的神秘面纱吧!The concept of a block chain can be described as an unusually hot one, as if no...
标签列表