approve

This method is the ERC20 standard approve function.

Function

function approve(
    address _spender,
    uint _value
) external returns (bool);

Parameters

ParameterDescription

_spender

The spender of the tokens.

_value

The amount of tokens.

Return values

ValueDescription

bool _val

The boolean state of the execution.

Last updated