Skip to content
Request an audit

‹ Findings database

In glAVAX, should use .call instead of .transfer

Low/InfoGlacier audit·Three Sigma·Liquid staking·12th July, 20233S-GLACIER-L01

Description

The functions withdraw() and _claim() make transfers directly to the user using payable(user).transfer(amount). .transfer can only forward 2300 gas which means it can fail for some contracts and stop withdraws. .call should be used instead, for example user.call{value: amount}("").

Status

Currently being reviewed by the team.