币圈的朋友对“智能合约”这个词一定不会陌生,但是在数字货币交易平台上,智能合约所起到的作用是什么呢?作为币友,透过智能合约,能够看清交易所的哪些本质呢?
A friend of the currency circle must not be unfamiliar with the term “intelligent contracts” but what role does smart contracts play in digital money trading platforms? As a friend of currency, what is the nature of the exchange?
什么是智能合约?
What's a smart contract?
智能合约(smart-contract)实际上就是运行在以太坊网络中的一段代码。其最大的特点就是:自动执行、一旦部署就不可更改。智能合约这一特点,确保了写在合约里的全部功能,都能够按照逻辑执行。在以太坊部署智能合约之后,就意味着拥有了一段永不消失、自动执行的程度,随时能够与网络合约进行交互。
Smart-contract is actually a code running in the Etheria network. Its greatest feature is that it is self-executed, unalterable once deployed. Smart contracts are a feature that ensures that all functions written in the contract can be carried out logically. After Etheria deploys the smart contract, it means having a degree of never-lost, self-execution and being able to interact with the network contract at any time.
帮助降低信任成本
helps reduce trust costs
智能合约一旦执行不可更改的特点,使其有潜力成为未来社会信任的基石。
Smart contracts, once implemented, offer them the potential to become the cornerstone of future social trust.
智能合约之所以有如此强大的力量,道理很简单,双方当事人有毁约的可能,第三方中介机构有跑路的风险,但是智能合约,只会遵照规定,执行双方事先确定好命令。
The strength of smart contracts is simple to say that the parties have the potential to break them, that third-party intermediaries run the risk of running, but that smart contracts only comply with the requirements for the execution of pre-determined orders by both parties.
目前,当事双方的信任往往建立在第三方基础上,支付宝就是很好的例子。试想如果智能合约得到更广泛的普及,双方信任不需要支付宝作为担保,成本也会随之降低。
At present, trust between the parties tends to be based on third parties, and payment of treasures is a good example. Imagine that, if intelligent contracts become more widely available, trust on both sides will not be required to pay the treasure as security, and costs will be reduced accordingly.
智能合约与数字货币交易平台
Smart Contract and Digital Currency Exchange Platform
传统的数字资产交易平台模式中,交易所主要提供两种服务:信息中介和信用中介。
In the traditional digital asset trading platform model, exchanges provide two main types of services: information intermediation and credit intermediation.
而数字资产交易所利用区块链技术,则结合技术研发,实现数字资产便捷交易。
Digital asset exchanges, using block chain technology, combine technology development to make digital assets easily traded.
在以区块链和智能合约为基础的数字资产交易平台上,因为几乎所有信息都留存在区块链上,交易所信息中介的角色会弱化,而区块链智能合约本身擅长解决信任问题,因此交易所在区块链的业务系统中,更多是提供交易场所、支持服务,并引导交易发生。
On the digital asset trading platform, which is based on block chains and smart contracts, since almost all information is retained on block chains, the role of exchange information intermediaries is weakened, and block chain smart contracts are themselves good at resolving trust issues, so the exchange is more likely to provide a place for trading, support services and lead transactions in the sector chain business system.
利用智能合约,平台能够做到利益自动分配和正常结算,并保证平台体系按照智能合约规定正常运转,切不被篡改。各大交易平台会将分红比例、平台币分配机制、项目机制写入智能合约中,从而保证用户合理利益。举例来说,99.top交易所标榜不参与任何形式ICO,未免空口无凭,但是99.top在智能合约中对这一点进行了体现,则能够实现用户对平台不参与ICO的承诺。
Using smart contracts, the platform is able to achieve automatic benefit allocation and regular settlement, and to ensure that the platform system functions properly and is not tampered with as required by smart contracts. Large trading platforms include red scale, platform currency allocation mechanisms, and project mechanisms in smart contracts, thereby safeguarding the legitimate interests of users. For example, the 99.top Exchange label does not participate in any form of ICO, but 99.top reflects this in smart contracts and fulfils the user’s commitment to the platform’s non-participation in ICO.
智能合约的安全性
Security of Smart Contract
不可修改和自动执行是智能合约的降低信任成本的基石,当然智能合约也是一把双刃剑。和传统软件发现漏洞可以立即修补升级不同,如果智能合约在部署之后发现了开发时没有考虑到的漏洞,那么是无法立即更新代码的。
Non-reformability and automatic enforcement are the cornerstones of smart contracts that reduce trust costs. Smart contracts are, of course, a double-edged sword.
当然,现在的以太坊开发社区已经为开发者提供了完善的代码安全验证工具,帮助开发者在合约部署钱发现一些明显漏洞,但是智能合约的安全性依然不可忽略,一旦出现安全问题,后果严重性可想而知。
Of course, the current ETA development community has provided developers with well-developed code security validation tools to help developers detect some obvious gaps in contract deployment funds, but the security of smart contracts remains to be ignored, and the consequences of security problems can be expected to be severe.
此前,黑客利用以太坊ERC-20智能合约中,BatchOverFlow漏洞中的数据溢出的漏洞,攻击了美链BEC的智能合约,成功地向两个地址转出了巨量的BEC代币。SMT再爆漏洞,货币pro和OKex都相继停止了SMT交易。
Previously, hackers attacked the US chain of BEC intelligence contracts, using the leaks of data in the Etherworld ERC-20 smart contracts, and successfully transferred a large number of BEC tokens to both addresses. SMT re-explosive leaks, currency pro and OKex successively stopped SMT transactions.
智能合约在数字货币交易平台的应用可以说是一次试水,由于智能合约本身的特点,未来智能合约必然会应用到更多领域当中,届时第三方中介被颠覆将不再是神话。
The use of smart contracts in digital money trading platforms can be described as a test water, and because of the characteristics of smart contracts themselves, future smart contracts are bound to be applied in more areas, when third-party intermediaries are no longer myths.
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论