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

AIRDROP_FROM_CONTRACT_17 #16278

Open
Tracked by #15596
stoyanov-st opened this issue Oct 30, 2024 · 0 comments
Open
Tracked by #15596

AIRDROP_FROM_CONTRACT_17 #16278

stoyanov-st opened this issue Oct 30, 2024 · 0 comments

Comments

@stoyanov-st
Copy link
Contributor

stoyanov-st commented Oct 30, 2024

Contract with allowance and not balance airdrops a token
Case 1:FT
Case 2: NFT

Alice is the token treasury account for FT A and gives Contract A allowance for 10 FT A.
Contract A has 0 balance and 10 allowance for FT A.
Contract A signs a tokenAirdropTransaction for 5 FT A to Carol.

Expected result: TokenAirdropTransaction is successful.
Contract A pays 1 association fee.
Contract A = 0 FT A balance and 5 FT A allowance.
Carol = 1 pending airdrop for 5 FT A.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant