PYRToken
Source:Verified
Write (7)
Read (10)

Write Functions

Write functions are called by submitting a transaction from a wallet. You can click on any function below to view more details, past transactions, and have the agent help prepare, simulate, and execute transactions.
View details for approve
approve
The `approve` function in the ERC20 contract allows a token holder to grant a specified amount of tokens to a spender, enabling the spender to transfer tokens on behalf of the holder.
View details for decreaseAllowance
decreaseAllowance
The `decreaseAllowance` function in the ERC20 contract allows a token holder to reduce the allowance granted to a specified spender.
View details for increaseAllowance
increaseAllowance
The `increaseAllowance` function in the ERC20 contract allows a token holder to increase the allowance granted to a specified spender.
View details for renounceOwnership
renounceOwnership
The `renounceOwnership` function in the `Ownable` contract allows the current owner to relinquish their ownership of the contract.
View details for transfer
transfer
The `transfer` function in the `ERC20` contract facilitates the transfer of tokens from the caller to a specified recipient.
View details for transferFrom
transferFrom
The `transferFrom` function in the ERC20 contract allows a designated spender to transfer tokens from one account (the sender) to another (the recipient) on behalf of the sender.
View details for transferOwnership
transferOwnership
The `transferOwnership` function in the `Ownable` contract allows the current owner to transfer ownership of the contract to a new address.

Read Functions

Read functions are functions that return data from onchain when called, and do not require submitting a transaction (but can still be called during one). You can click on any function below to view more details, past transactions, and simulate read calls.
View details for allowance
allowance
The `allowance` function in the ERC20 contract retrieves the amount of tokens that an owner has allowed a spender to use on their behalf.
View details for balanceOf
balanceOf
The `balanceOf` function in the `ERC20` contract retrieves the balance of a specified account.
View details for blacklist
blacklist
The `blacklist` function in the `PYRToken` contract is a view function that retrieves the address of the `BlackListETH` contract.
View details for decimals
decimals
The `decimals` function in the `PYRToken` contract is a view function that returns the number of decimal places used by the token.
View details for isOwner
isOwner
The `isOwner` function in the `Ownable` contract checks if the caller of the function is the current owner of the contract.
View details for name
name
The `name` function in the `PYRToken` contract is a view function that returns the name of the token.
View details for owner
owner
The `owner` function in the `Ownable` contract retrieves the address of the current owner of the contract.
View details for symbol
symbol
The `symbol` function in the `PYRToken` contract is a view function that returns the symbol of the token.
View details for totalSupply
totalSupply
The `totalSupply` function in the `ERC20` contract is a view function that returns the total supply of tokens in circulation.
View details for totalTokensAmount
totalTokensAmount
The `totalTokensAmount` function in the `PYRToken` contract is a view function that retrieves the total amount of tokens available in the contract.