合约原理 可升级代理合约的示例。永远不要在生产中使用它。 这个例子展示了调用fallback时, delegatecall如何在被调用时使用和返回数据。 代码实现 // SPDX-License-Identifier: MIT pragma solidity ^0.8.13; contract Proxy { // 实现合约的地址 address public implementation; // 设置 地址 function setImplementat...
Markdown supported · ⌘↵ to post
No responses yet.