Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
build
node_modules
.DS_Store
package-lock.json
.env
.idea
39 changes: 37 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,43 @@
# AMN Token

This repository holds the source code of the ERC20 Amon Token (AMN) Ethereum smart contract.
Source code for Amon Token (AMN) Ethereum smart contract.

Dependencies

## Description
This token respects the ERC20 and ERC223 standards.

### Dependencies
- Truffle
- OpenZeppelin
- Solidity

### Implemented methods

- `transfer(address to, uint value[, bytes data])` *(needs `tokenFallback` method on `to` if it is a contract)*
- `totalSupply()`
- `balanceOf(address owner)`
- `transferFrom(address from, address to, uint256 value[, bytes data])` *(needs `tokenFallback` method on `to` if it is a contract)*
- `approve(address spender, uint256 value)`
- `allowance(address owner, address spender)`
- `increaseApproval(address spender, uint addedValue)`
- `decreaseApproval(address spender, uint subtractedValue)`

### Contract inheritances

- DetailedERC20:
`name`, `symbol`, `decimals`

- BasicToken
`transfer`, `totalSupply`, `balanceOf`

- StandardToken:
`transferFrom`, `approve`, `allowance`, `increaseApproval`, `decreaseApproval`, BasicToken

- ERC223BasicToken:
`transfer`, BasicToken

- ERC223StandardToken:
`transferFrom`, ERC223BasicToken, StandardToken

- AMNToken:
DetailedERC20, ERC223StandardToken
Loading