We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb48ae3 commit 23f97ceCopy full SHA for 23f97ce
crates/precompile-evm-swap/EvmSwap.sol
@@ -19,4 +19,14 @@ interface EvmSwap {
19
* @return success Whether or not the swap was successful.
20
*/
21
function swap(bytes32 nativeAddress) external payable returns (bool success);
22
+
23
+ /**
24
+ * Event emitted when a transfer has been performed.
25
+ * Selector: 69d31d1d87c1206beee49fbab11570a7f001121cf21fbb234d5b0a2473fa5c58
26
+ *
27
+ * @param from The EVM account id the tokens withdrawed from.
28
+ * @param to The Native account id the tokens deposited to.
29
+ * @param value The amount of tokens swapped.
30
+ */
31
+ event Swap(address indexed from, bytes32 indexed to, uint256 value);
32
}
0 commit comments