Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Or 1387 titan canyon support on approve #69

Conversation

nguyenzung
Copy link
Member

@nguyenzung nguyenzung commented Feb 15, 2024

  • Support onApprove for TON
  • How to test: deposit TON to account and "cd packages/tokamak/sdk && npx hardhat approve-deposit-ton --amount 35 --network devnetL1"

Thank you for your support @Zena-park
Thank you everyone!

metered(_gasLimit)
{
// Lock token in this contract
if (_value > 0) {
IERC20(nativeTokenAddress).safeTransferFrom(msg.sender, address(this), _value);
IERC20(nativeTokenAddress).safeTransferFrom(_sender, address(this), _value);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

Copy link
Member

@steven94kr steven94kr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much, Brave!
😍

@nguyenzung nguyenzung merged commit 3ea16e8 into OR-1257-Update-smart-contracts-for-deposit-TON-in-L1 Feb 16, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants