PolyTokenFaucet.sol
Last updated
Was this helpful?
Last updated
Was this helpful?
View Source:
PolyTokenFaucet
Constants & Variables
Events
Arguments
Name
Type
Description
Arguments
Name
Type
Description
_amount
uint256
_recipient
address
Sends _value
tokens to _to
from msg.sender
Returns
Whether the transfer was successful or not
Arguments
Name
Type
Description
_to
address
The address of the recipient
_value
uint256
The amount of token to be transferred
sends _value
tokens to _to
from _from
with the condition it is approved by _from
Returns
Whether the transfer was successful or not
Arguments
Name
Type
Description
_from
address
The address of the sender
_to
address
The address of the recipient
_value
uint256
The amount of token to be transferred
Returns the balance of a token holder
Returns
The balance
Arguments
Name
Type
Description
_owner
address
The address from which the balance will be retrieved
Used by msg.sender
to approve _spender
to spend _value
tokens
Returns
Whether the approval was successful or not
Arguments
Name
Type
Description
_spender
address
The address of the account able to transfer the tokens
_value
uint256
The amount of tokens to be approved for transfer
Returns
Amount of remaining tokens allowed to be spent
Arguments
Name
Type
Description
_owner
address
The address of the account owning tokens
_spender
address
The address of the account able to transfer the tokens
Arguments
Name
Type
Description
Increases the amount of tokens that an owner allowed to a spender. approve should be called when allowed[_spender] == 0. To increment allowed value, it is better to use this function to avoid 2 calls (and wait until the first transaction is mined) From MonolithDAO Token.sol
Arguments
Name
Type
Description
_spender
address
The address which will spend the funds.
_addedValue
uint256
The amount of tokens to increase the allowance by.
Decrease the amount of tokens that an owner allowed to a spender.
approve should be called when allowed[_spender] == 0. To decrement
allowed value, it is better to use this function to avoid 2 calls (and wait until
the first transaction is mined)
From MonolithDAO Token.sol
Arguments
Name
Type
Description
_spender
address
The address which will spend the funds.
_subtractedValue
uint256
The amount of tokens to decrease the allowance by.