Skip to content

Conversation

@MagicGordon
Copy link
Contributor

Add exchange_callback_post_ft_transfer_call_withdraw function to properly handle ft_transfer_call callback in client-echo feature.

Add exchange_callback_post_ft_transfer_call_withdraw function to properly handle ft_transfer_call callback in client-echo feature.
marco-sundsk and others added 2 commits January 10, 2026 10:09
- Add helper functions get_deposit and get_lostfound_token for testing
- Test lostfound behavior based on contract's free NEAR balance:
  - When free NEAR < 100: lostfound goes to owner's internal account
  - When free NEAR >= 100: lostfound goes to user's lostfound account
  - When user has internal account: lostfound goes to user's internal account
- Verify client-echo callback properly handles token returns in all scenarios
- Bump version to 1.9.18
- Rebuild release binary
@marco-sundsk marco-sundsk merged commit b444323 into main Jan 12, 2026
1 check 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.

3 participants