One fundamental limitation of blockchain-based smart contracts is that they execute in a closed environment and only have access to the data and functionality that is either already on the blockchain or fed into the blockchain. Thus any interactions with the real world need to be mediated by a bridge service, which is called an oracle. As decentralized applications mature, oracles are playing an increasingly prominent role. With their evolution comes more attacks, necessitating a greater attention to the trust model of using oracles. In this SoK, we systemize the design alternatives for oracles, showcase attacks, and discuss attack mitigation strategies.
翻译:以链路为基础的智能合同的一个根本限制是,它们只能在封闭的环境中执行,并且只能获取已经存在于链路或进入链路的数据和功能。因此,与现实世界的任何互动都需要由桥梁服务(称为“神器 ” ) 来调解。随着分散应用的成熟,甲骨文正在发挥越来越显著的作用。随着它们的演变,它们会有更多的攻击,需要更多关注使用甲骨文的信任模式。在这个 SoK中,我们系统化了甲骨文的设计选择,展示了攻击,并讨论了减少攻击的战略。