Closed MSghais closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
joyboy | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 20, 2024 10:16am |
joyboy-webapp | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 20, 2024 10:16am |
Hi @MSghais @maciejka is it possible to have an event for deposit transfers too? For this part:
if (!recipient.is_zero()) {
let erc20 = IERC20Dispatcher { contract_address: token_address };
erc20.transfer_from(get_caller_address(), recipient, amount);
return DepositResult::Transfer(recipient);
}
Hi @MSghais @maciejka is it possible to have an event for deposit transfers too? For this part:
if (!recipient.is_zero()) { let erc20 = IERC20Dispatcher { contract_address: token_address }; erc20.transfer_from(get_caller_address(), recipient, amount); return DepositResult::Transfer(recipient); }
You are right, added in the comments.
Add Events on Escrow for: