Closed qizhou closed 2 weeks ago
Just to confirm, is it only required when IS_BACKED_BY_NATIVE
is true
?
Just to confirm, is it only required when
IS_BACKED_BY_NATIVE
istrue
?
Yes, the same as deposit()
. If not backed by native, then burnFrom()
would be used.
Should we close this issue?
Should we close this issue?
Yeah
We need
withdraw()
andbatchWithdrwa()
that burn the SGT and return the native token to owner/burner. It is the counter operation ofdeposit()
andbatchDeposit()
where deposit methods are used for airdrop. When such airdrop are expired (e.g., SGT are not used after 4 years), we may expire the SGT and withdraw the native token for other active users (as specified by our airdrop terms).