We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
withdraw_spl_token
Currently, in to withdraw SPL token from the gateway program, the user must provide correct from and to addresses otherwise the transfer will fail.
protocol-contracts-solana/programs/protocol-contracts-solana/src/lib.rs
Lines 165 to 175 in 21cfcad
Correct include the following conditions:
from
to
Unlike Ethereum ERC20, SPL token cannot be transferred to arbitrary accounts/addresses.
The text was updated successfully, but these errors were encountered:
@brewmaster012 would it be possible to provide some more details and assess if it is in scope for zeta-chain/node#2401?
Sorry, something went wrong.
Yeah I'm going to close this one. After evaluation this issue does not add additional check while introducing significant complexity.
brewmaster012
No branches or pull requests
Currently, in to withdraw SPL token from the gateway program,
the user must provide correct from and to addresses otherwise the transfer will fail.
protocol-contracts-solana/programs/protocol-contracts-solana/src/lib.rs
Lines 165 to 175 in 21cfcad
Correct include the following conditions:
from
andto
are both token accounts;from
andto
token accounts have the same mint account (they store the same SPL token)Unlike Ethereum ERC20, SPL token cannot be transferred to arbitrary accounts/addresses.
The text was updated successfully, but these errors were encountered: