Skip to content
/ ERC777 Public

An implementation of an ERC777 Token with: Send and Receive Hooks BulkSend, StaticSale, EtherlessTransfer Operators and a Full UI for BulkSend and StaticSale Operators

License

Notifications You must be signed in to change notification settings

IVIosab/ERC777

Repository files navigation


AOV Token

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact
  6. Acknowledgments

About The Project

An implementation of an ERC777 Token with:

  • Send and Receive Hooks
  • BulkSend, StaticSale, EtherlessTransfer Operators
  • Full UI for BulkSend and StaticSale Operators

ERC777 Token

A token that follows the ERC777 standard Implemented in AOV.sol with the help of Openzeppelin's ERC777 contract
The token has the name "Attack On Vapers" and symbol "AOV"
The token is initialized with a totalSupply of 10^10 tokens

Etherscan Contract Address

Send Hook

A simple send hook that is implemented in AOVSender.sol with the purpose of controling funds leaving one or more accounts by placing holder-defined rules around the transaction
The hook is called after the transaction's information has been validated and authorized but before the contract's holdings have been updated
Its job is to emit an event upon sending a transaction.

Recieve Hook

A simple recieve hook that is implemented in AOVRecipient.sol with the purpose of controling funds entering one or more accounts by placing holder-defined rules around the transaction
The hook is called after the contract's holdings have been updated
Its job is to emit an event upon recieving a transaction

Etherscan Contract Address

Etherless Transfer Operator

An operator that allows 0 ether transfer of tokens via a third party that has the signature authority Implemented in EtherlessTransfer.sol
The Signature Authority is obtained through getting a signed hash of the details of the transaction by the holder
It allows the third party to transfer tokens on behalf of the token holder where the third party is the one who pays for the transfer fees

Etherscan Contract Address

BulkSend Operator

An operator that allows sending tokens from a holder to multiple recipients Implemented in BulkSend.sol
The BulkSend allowes the holder to send either a single amount to each of the recipients or a distinct amount of tokens for each recipient

You can read more about BulkSend in its respective app README

Etherscan Contract Address

StaticSale Operator

An operator that allows Selling and Buying tokens Implemented in StaticPriceSeller.sol
The StaticSale allowes holders to register as Seller by setting their PricePerToken
It also allowes anyone to buy tokens from a holder with their respective prices

You can read more about StaticSale in its respective app README

Etherscan Contract Address

(back to top)

Built With

(back to top)

Getting Started

You can test the project via the deployed web apps for BulkSend and StaticSale operators.

  • Install the MetaMask browser extension.
  • Connect to the Rinkeby Testnet.
  • Get RinkebyETH through the Rinkeby Faucet
  • Go to the StaticSale web app to buy AOV tokens with RinkebyETH from the creator address

Now you are all set You have both RinkebyETH and AOV tokens and can start testing the tokens via

Usage

You can use the Bulksend and StaticSale web apps via the following links:

For more information on how to use the web apps, please refer to:

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Mosab Mohamed - @IVIosab - mosab.f.r@gmail.com

Project Link: https://github.com/IVIosab/ERC777

(back to top)

Acknowledgments

(back to top)

About

An implementation of an ERC777 Token with: Send and Receive Hooks BulkSend, StaticSale, EtherlessTransfer Operators and a Full UI for BulkSend and StaticSale Operators

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published