Table of Contents
An implementation of an ERC777 Token with:
- Send and Receive Hooks
- BulkSend, StaticSale, EtherlessTransfer Operators
- Full UI for BulkSend and StaticSale Operators
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
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.
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
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
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
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
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
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:
Distributed under the MIT License. See LICENSE.txt
for more information.
Mosab Mohamed - @IVIosab - mosab.f.r@gmail.com
Project Link: https://github.com/IVIosab/ERC777