IGatewayZEVMErrors
Git Source (opens in a new tab)
Interface for the errors used in the GatewayZEVM contract.
Errors
WithdrawalFailed
Error indicating a withdrawal failure.
error WithdrawalFailed();
InsufficientZRC20Amount
Error indicating an insufficient ZRC20 token amount.
error InsufficientZRC20Amount();
InsufficientZetaAmount
Error indicating an insufficient zeta amount.
error InsufficientZetaAmount();
ZRC20BurnFailed
Error indicating a failure to burn ZRC20 tokens.
error ZRC20BurnFailed();
ZRC20TransferFailed
Error indicating a failure to transfer ZRC20 tokens.
error ZRC20TransferFailed();
ZRC20DepositFailed
Error indicating a failure to deposit ZRC20 tokens.
error ZRC20DepositFailed();
GasFeeTransferFailed
Error indicating a failure to transfer gas fee.
error GasFeeTransferFailed();
CallerIsNotProtocol
Error indicating that the caller is not the protocol account.
error CallerIsNotProtocol();
InvalidTarget
Error indicating an invalid target address.
error InvalidTarget();
FailedZetaSent
Error indicating a failure to send ZETA tokens.
error FailedZetaSent();
OnlyWZETAOrProtocol
Error indicating that only WZETA or the protocol address can call the function.
error OnlyWZETAOrProtocol();
EmptyMessage
Error indicating call method received empty message as argument.
error EmptyMessage();
InsufficientGasLimit
Error indicating an insufficient gas limit.
error InsufficientGasLimit();