Skip to content

Commit

Permalink
fix typo 合同 -> 合约
Browse files Browse the repository at this point in the history
  • Loading branch information
AmazingAng committed Jun 3, 2023
1 parent 26896ad commit e0d0708
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 23_Delegatecall/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ abi.encodeWithSignature("函数签名", 逗号分隔的具体参数)

1. 代理合约(`Proxy Contract`):将智能合约的存储合约和逻辑合约分开:代理合约(`Proxy Contract`)存储所有相关的变量,并且保存逻辑合约的地址;所有函数存在逻辑合约(`Logic Contract`)里,通过`delegatecall`执行。当升级时,只需要将代理合约指向新的逻辑合约即可。

2. EIP-2535 Diamonds(钻石):钻石是一个支持构建可在生产中扩展的模块化智能合约系统的标准。钻石是具有多个实施合同的代理合同。 更多信息请查看:[钻石标准简介](https://eip2535diamonds.substack.com/p/introduction-to-the-diamond-standard)
2. EIP-2535 Diamonds(钻石):钻石是一个支持构建可在生产中扩展的模块化智能合约系统的标准。钻石是具有多个实施合约的代理合约。 更多信息请查看:[钻石标准简介](https://eip2535diamonds.substack.com/p/introduction-to-the-diamond-standard)

## `delegatecall`例子
调用结构:你(`A`)通过合约`B`调用目标合约`C`
Expand Down
2 changes: 1 addition & 1 deletion Topics/Translation/DiveEVM2017/DiveEVM2017-Part5.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ solc --bin --asm c.sol

打开 Etherscan,您应该看到该交易的输入数据是 Solidity 编译器生成的字节码。

在处理此交易时,EVM 会将输入数据作为代码执行。*Voila*合同诞生了
在处理此交易时,EVM 会将输入数据作为代码执行。*Voila*合约诞生了

## What The Bytecode Is Doing

Expand Down

0 comments on commit e0d0708

Please sign in to comment.