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
{{ message }}
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
tx.origin needs to be replaced by msg.sender, otherwise any contract you call can act on your behalf.
inline assembly should be used only in rare cases.
unclear semantics: now is alias for block.timestamp not current time; use of low level call, callcode, delegatecall should be avoided whenever possible; use transfer whenever failure of ether transfer should rollback the whole transaction.
beware of caller contracts: selfdestruct can block calling contracts unexpectedly.
invocation of local functions via this: never use this to call functions in the same contract, it only consumes more gas than normal call.
transferring Ether in a for/while/do-while loop should be avoided due to the block gas limit.