Skip to content

Latest commit

 

History

History
199 lines (169 loc) · 5.86 KB

ReentrancyMock.md

File metadata and controls

199 lines (169 loc) · 5.86 KB

ReentrancyMock.sol

View Source: contracts/mocks/ReentrancyMock.sol

↗ Extends: ReentrancyGuard

ReentrancyMock

Contract Members

Constants & Variables

uint256 public counter;

Functions

callback

function callback() external undefined nonReentrant 

Arguments

Name Type Description

countLocalRecursive

function countLocalRecursive(uint256 n) public undefined nonReentrant 

Arguments

Name Type Description
n uint256

countThisRecursive

function countThisRecursive(uint256 n) public undefined nonReentrant 

Arguments

Name Type Description
n uint256

countAndCall

function countAndCall(ReentrancyAttack attacker) public undefined nonReentrant 

Arguments

Name Type Description
attacker ReentrancyAttack

count

function count() private undefined

Arguments

Name Type Description

Contracts