Skip to main content
Contains a subset of the full ERC20 interface that is used in Ramses V3

Functions

balanceOf

Returns the balance of a token

Parameters:

Return Values:

transfer

Transfers the amount of token from the msg.sender to the recipient

Parameters:

Return Values:

allowance

Returns the current allowance given to a spender by an owner

Parameters:

Return Values:

approve

Sets the allowance of a spender from the msg.sender to the value amount

Parameters:

Return Values:

transferFrom

Transfers amount tokens from sender to recipient up to the allowance given to the msg.sender

Parameters:

Return Values:

Events

Transfer

Event emitted when tokens are transferred from one address to another, either via #transfer or #transferFrom.

Parameters:

Approval

Event emitted when the approval amount for the spender of a given owner’s tokens changes.

Parameters: