View Source: contracts/mocks/SafeERC20Helper.sol
ERC20SucceedingMock
Constants & Variables
uint256 private _allowance;
uint256 private _allowance;
contract IERC20 private _failing;
contract IERC20 private _succeeding;
- transfer(address , uint256 )
- transferFrom(address , address , uint256 )
- approve(address , uint256 )
- allowance(address , address )
- transfer(address , uint256 )
- transferFrom(address , address , uint256 )
- approve(address , uint256 )
- setAllowance(uint256 allowance_)
- allowance(address , address )
- doFailingTransfer()
- doFailingTransferFrom()
- doFailingApprove()
- doFailingIncreaseAllowance()
- doFailingDecreaseAllowance()
- doSucceedingTransfer()
- doSucceedingTransferFrom()
- doSucceedingApprove(uint256 amount)
- doSucceedingIncreaseAllowance(uint256 amount)
- doSucceedingDecreaseAllowance(uint256 amount)
- setAllowance(uint256 allowance_)
- allowance()
function transfer(address , uint256 ) public undefined
returns(bool)
Arguments
Name | Type | Description |
---|---|---|
address | ||
uint256 |
function transferFrom(address , address , uint256 ) public undefined
returns(bool)
Arguments
Name | Type | Description |
---|---|---|
address | ||
address | ||
uint256 |
function approve(address , uint256 ) public undefined
returns(bool)
Arguments
Name | Type | Description |
---|---|---|
address | ||
uint256 |
function allowance(address , address ) public
returns(uint256)
Arguments
Name | Type | Description |
---|---|---|
address | ||
address |
function transfer(address , uint256 ) public undefined
returns(bool)
Arguments
Name | Type | Description |
---|---|---|
address | ||
uint256 |
function transferFrom(address , address , uint256 ) public undefined
returns(bool)
Arguments
Name | Type | Description |
---|---|---|
address | ||
address | ||
uint256 |
function approve(address , uint256 ) public undefined
returns(bool)
Arguments
Name | Type | Description |
---|---|---|
address | ||
uint256 |
function setAllowance(uint256 allowance_) public undefined
Arguments
Name | Type | Description |
---|---|---|
allowance_ | uint256 |
function allowance(address , address ) public
returns(uint256)
Arguments
Name | Type | Description |
---|---|---|
address | ||
address |
function doFailingTransfer() public undefined
Arguments
Name | Type | Description |
---|
function doFailingTransferFrom() public undefined
Arguments
Name | Type | Description |
---|
function doFailingApprove() public undefined
Arguments
Name | Type | Description |
---|
function doFailingIncreaseAllowance() public undefined
Arguments
Name | Type | Description |
---|
function doFailingDecreaseAllowance() public undefined
Arguments
Name | Type | Description |
---|
function doSucceedingTransfer() public undefined
Arguments
Name | Type | Description |
---|
function doSucceedingTransferFrom() public undefined
Arguments
Name | Type | Description |
---|
function doSucceedingApprove(uint256 amount) public undefined
Arguments
Name | Type | Description |
---|---|---|
amount | uint256 |
function doSucceedingIncreaseAllowance(uint256 amount) public undefined
Arguments
Name | Type | Description |
---|---|---|
amount | uint256 |
function doSucceedingDecreaseAllowance(uint256 amount) public undefined
Arguments
Name | Type | Description |
---|---|---|
amount | uint256 |
function setAllowance(uint256 allowance_) public undefined
Arguments
Name | Type | Description |
---|---|---|
allowance_ | uint256 |
function allowance() public
returns(uint256)
Arguments
Name | Type | Description |
---|
- Address
- AddressImpl
- AllowanceCrowdsale
- AllowanceCrowdsaleImpl
- Arrays
- ArraysImpl
- CappedCrowdsale
- CappedCrowdsaleImpl
- CapperRole
- CapperRoleMock
- ConditionalEscrow
- ConditionalEscrowMock
- Counter
- CounterImpl
- Crowdsale
- CrowdsaleMock
- ECDSA
- ECDSAMock
- ERC165
- ERC165Checker
- ERC165CheckerMock
- ERC165InterfacesSupported
- ERC165Mock
- ERC165NotSupported
- ERC20
- ERC20Burnable
- ERC20BurnableMock
- ERC20Capped
- ERC20Detailed
- ERC20DetailedMock
- ERC20FailingMock
- ERC20Migrator
- ERC20Mintable
- ERC20MintableMock
- ERC20Mock
- ERC20Pausable
- ERC20PausableMock
- ERC20SucceedingMock
- ERC20TokenMetadata
- ERC20WithMetadata
- ERC20WithMetadataMock
- ERC721
- ERC721Burnable
- ERC721Enumerable
- ERC721Full
- ERC721FullMock
- ERC721Holder
- ERC721Metadata
- ERC721MetadataMintable
- ERC721Mintable
- ERC721MintableBurnableImpl
- ERC721Mock
- ERC721Pausable
- ERC721PausableMock
- ERC721ReceiverMock
- Escrow
- EventEmitter
- FinalizableCrowdsale
- FinalizableCrowdsaleImpl
- IERC165
- IERC20
- IERC721
- IERC721Enumerable
- IERC721Full
- IERC721Metadata
- IERC721Receiver
- IncreasingPriceCrowdsale
- IncreasingPriceCrowdsaleImpl
- IndividuallyCappedCrowdsale
- IndividuallyCappedCrowdsaleImpl
- Math
- MathMock
- MerkleProof
- MerkleProofWrapper
- MintedCrowdsale
- MintedCrowdsaleImpl
- MinterRole
- MinterRoleMock
- Ownable
- OwnableMock
- Pausable
- PausableMock
- PauserRole
- PauserRoleMock
- PaymentSplitter
- PostDeliveryCrowdsale
- PostDeliveryCrowdsaleImpl
- PullPayment
- PullPaymentMock
- ReentrancyAttack
- ReentrancyGuard
- ReentrancyMock
- RefundableCrowdsale
- RefundableCrowdsaleImpl
- RefundEscrow
- Roles
- RolesMock
- SafeERC20
- SafeERC20Helper
- SafeMath
- SafeMathMock
- SampleCrowdsale
- SampleCrowdsaleToken
- Secondary
- SecondaryMock
- SignatureBouncer
- SignatureBouncerMock
- SignerRole
- SignerRoleMock
- SimpleToken
- SupportsInterfaceWithLookupMock
- TimedCrowdsale
- TimedCrowdsaleImpl
- TokenTimelock
- TokenVesting