Description
The official OP Docs
OptimismPortal
是一个桥接合约,它使得在你的L1和L2 OP Stack链之间发送消息成为可能。
OptimismPortal
可以被暂停,作为一种备用的安全机制,允许特定的 GUARDIAN
地址在必要时暂时停止存款和提款,以减轻安全问题。
如果一个OP Stack链不想使 OptimismPortal
合约可暂停,它可以指定一个诸如零的地址,而不必指定一个可用的 GUARDIAN
地址。
OptimismPortal
(opens new window) 有一个不可变的 GUARDIAN
地址。
该地址可以调用 pause
(opens new window) 和 unpause
(opens new window) 方法。
由设置脚本创建的 guardian 是管理员账户。 这对于测试来说已经足够了,但对于生产系统,您希望 guardian 是一个具有受信任的安全委员会的多签名账户。
GUARDIAN
变量是不可变的,但 OptimismPortal
合约位于一个代理后面,因此可以通过将 OptimismPortal
代理指向一个新的实现合约来修改 GUARDIAN
。
您可以使用L1 ProxyAdmin
(opens new window) 合约来完成这个操作。
This app can be installed on your PC or mobile device. This will allow this web app to look and behave like any other installed app. You will find it in your app lists and be able to pin it to your home screen, start menus or task bars. This installed web app will also be able to safely interact with other apps and your operating system.
The official OP Docs