Skip to content

Commit

Permalink
add back original event names for deposit
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Oct 17, 2024
1 parent 6bd0335 commit ac24365
Show file tree
Hide file tree
Showing 34 changed files with 94 additions and 94 deletions.
4 changes: 2 additions & 2 deletions v2/contracts/evm/interfaces/IGatewayEVM.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ interface IGatewayEVMEvents {
/// @param receiver The address of the receiver.
/// @param amount The amount of ETH or tokens deposited.
/// @param asset The address of the ERC20 token (zero address if ETH).
/// @param reserved Reserved for future use; previously used as `payload`.
/// @param payload The calldata passed with the deposit. No longer used. Kept to maintain compatibility.
/// @param revertOptions Revert options.
event Deposited(
address indexed sender,
address indexed receiver,
uint256 amount,
address asset,
bytes reserved,
bytes payload,
RevertOptions revertOptions
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ event Deposited(
address indexed receiver,
uint256 amount,
address asset,
bytes reserved,
bytes payload,
RevertOptions revertOptions
);
```
Expand All @@ -79,7 +79,7 @@ event Deposited(
|`receiver`|`address`|The address of the receiver.|
|`amount`|`uint256`|The amount of ETH or tokens deposited.|
|`asset`|`address`|The address of the ERC20 token (zero address if ETH).|
|`reserved`|`bytes`|Reserved for future use; previously used as `payload`.|
|`payload`|`bytes`|The calldata passed with the deposit. No longer used. Kept to maintain compatibility.|
|`revertOptions`|`RevertOptions`|Revert options.|

### DepositedAndCalled
Expand Down
2 changes: 1 addition & 1 deletion v2/pkg/erc20custody.sol/erc20custody.go

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions v2/pkg/erc20custody.t.sol/erc20custodytest.go

Large diffs are not rendered by default.

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions v2/pkg/gatewayevm.sol/gatewayevm.go

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions v2/pkg/gatewayevm.t.sol/gatewayevminboundtest.go

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions v2/pkg/gatewayevm.t.sol/gatewayevmtest.go

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions v2/pkg/gatewayevmupgradetest.sol/gatewayevmupgradetest.go

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions v2/pkg/gatewayevmzevm.t.sol/gatewayevmzevmtest.go

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions v2/pkg/igatewayevm.sol/igatewayevm.go

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions v2/pkg/igatewayevm.sol/igatewayevmevents.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ac24365

Please sign in to comment.