Skip to content

Latest commit

 

History

History
421 lines (328 loc) · 10.3 KB

SafeERC20Helper.md

File metadata and controls

421 lines (328 loc) · 10.3 KB

SafeERC20Helper.sol

View Source: contracts/mocks/SafeERC20Helper.sol

SafeERC20Helper

Contract Members

Constants & Variables

uint256 private _allowance;
uint256 private _allowance;
contract IERC20 private _failing;
contract IERC20 private _succeeding;

Functions

transfer

function transfer(address , uint256 ) public undefined
returns(bool)

Arguments

Name Type Description
address
uint256

transferFrom

function transferFrom(address , address , uint256 ) public undefined
returns(bool)

Arguments

Name Type Description
address
address
uint256

approve

function approve(address , uint256 ) public undefined
returns(bool)

Arguments

Name Type Description
address
uint256

allowance

function allowance(address , address ) public
returns(uint256)

Arguments

Name Type Description
address
address

transfer

function transfer(address , uint256 ) public undefined
returns(bool)

Arguments

Name Type Description
address
uint256

transferFrom

function transferFrom(address , address , uint256 ) public undefined
returns(bool)

Arguments

Name Type Description
address
address
uint256

approve

function approve(address , uint256 ) public undefined
returns(bool)

Arguments

Name Type Description
address
uint256

setAllowance

function setAllowance(uint256 allowance_) public undefined

Arguments

Name Type Description
allowance_ uint256

allowance

function allowance(address , address ) public
returns(uint256)

Arguments

Name Type Description
address
address

doFailingTransfer

function doFailingTransfer() public undefined

Arguments

Name Type Description

doFailingTransferFrom

function doFailingTransferFrom() public undefined

Arguments

Name Type Description

doFailingApprove

function doFailingApprove() public undefined

Arguments

Name Type Description

doFailingIncreaseAllowance

function doFailingIncreaseAllowance() public undefined

Arguments

Name Type Description

doFailingDecreaseAllowance

function doFailingDecreaseAllowance() public undefined

Arguments

Name Type Description

doSucceedingTransfer

function doSucceedingTransfer() public undefined

Arguments

Name Type Description

doSucceedingTransferFrom

function doSucceedingTransferFrom() public undefined

Arguments

Name Type Description

doSucceedingApprove

function doSucceedingApprove(uint256 amount) public undefined

Arguments

Name Type Description
amount uint256

doSucceedingIncreaseAllowance

function doSucceedingIncreaseAllowance(uint256 amount) public undefined

Arguments

Name Type Description
amount uint256

doSucceedingDecreaseAllowance

function doSucceedingDecreaseAllowance(uint256 amount) public undefined

Arguments

Name Type Description
amount uint256

setAllowance

function setAllowance(uint256 allowance_) public undefined

Arguments

Name Type Description
allowance_ uint256

allowance

function allowance() public
returns(uint256)

Arguments

Name Type Description

Contracts