You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
General design optimization (improving efficiency, cleanliness, or developer experience)
Describe the suggested feature and problem it solves.
In solidity, zero value is usually used to handle mint, burn and other scenarios. In many languages, zero value has a special meaning. Using zero value as native token will cause some ambiguity in the check. For example, we usually judge that the address passed in cannot be zero address. Maybe address(F) would be better?
Describe the desired implementation.
replace native token wrapper from address(0) to address(F).
Describe alternatives.
No response
Additional context.
No response
The text was updated successfully, but these errors were encountered:
Component
General design optimization (improving efficiency, cleanliness, or developer experience)
Describe the suggested feature and problem it solves.
In solidity, zero value is usually used to handle mint, burn and other scenarios. In many languages, zero value has a special meaning. Using zero value as native token will cause some ambiguity in the check. For example, we usually judge that the address passed in cannot be zero address. Maybe address(F) would be better?
Describe the desired implementation.
replace native token wrapper from address(0) to address(F).
Describe alternatives.
No response
Additional context.
No response
The text was updated successfully, but these errors were encountered: