axelar-gmp-sdk-solidity

Solidity API

ReentrancyGuard

This contract provides a mechanism to halt the execution of specific functions if a pause condition is activated.

ENTERED_SLOT

uint256 ENTERED_SLOT

NOT_ENTERED

uint256 NOT_ENTERED

ENTERED

uint256 ENTERED

noReEntrancy

modifier noReEntrancy()

A modifier that throws a ReEntrancy custom error if the contract is entered

This modifier should be used with functions that can be entered twice

_hasEntered

function _hasEntered() internal view returns (bool entered)

Check if the contract is already executing.

Return Values

Name Type Description
entered bool A boolean representing the entered status. True if already executing, false otherwise.

_setEntered

function _setEntered(uint256 entered) internal

Sets the entered status of the contract

Parameters

Name Type Description
entered uint256 A boolean representing the entered status. True if already executing, false otherwise.