Coder Social home page Coder Social logo

pre-token's Introduction

PRE Token

Presearch ERC-20 Token. Deployed on the Ethereum Mainnet at
Token Address: 0xEC213F83defB583af3A000B1c0ada660b1902A0F

Overview

This is the source code for the PRE Token, which powers the Presearch platform at https://presearch.org.

The smart contract provides a secure and upgradeable token, which will ultimately enable fully decentralized governance over all utility of the token during phase III of the project. To learn more about Presearch, our plans, and the role of the PRE token, please see our Vision Paper: https://presearch.io/vision.pdf

Audit

The PRE Token smart contract was audited by PeckShield from October 8 - 12, 2020 (based on commit 97d6946). PeckShield checked all aspects related to the ERC20 standard compatibility and other known ERC20 pitfalls/vulnerabilities, and no issues were found in these areas. Peckshield also examined other areas such as coding practices and business logic. Overall, PeckShield reported one (optional) informational recommendation and one additional (also optional) recommendation regarding compiler version settings.

Presearch implemented both of the optional Peckshield recommendations on October 16, 2020 (commit 6e94b7f) prior to deploying the token smart contract on October 17, 2020 to the Ethereum Mainnet.

The final audit report reflecting the token deployment was completed on October 31, 2020 and can be found in the audit folder: PRE Token Smart Contract Audit Report.

Setup

  1. run npm install
  2. run truffle compile

Generate PRE Token Source Code for Verification

run truffle-flattener contracts/PRETokenV3.sol > build/source/PRETokenV3.sol

Generate Proxy Source Code for Verification (Used for Upgrades)

run truffle-flattener node_modules/@openzeppelin/upgrades/contracts/upgradeability/AdminUpgradeabilityProxy.sol > build/source/AdminUpgradabilityProxy.sol && truffle-flattener node_modules/@openzeppelin/upgrades/contracts/upgradeability/ProxyAdmin.sol > build/source/ProxyAdmin.sol

Local Testing

  1. run truffle compile --all
  2. Start a local blockchain (such as Ganache) on port 8545
  3. run truffle migrate

Interacting with the Deployed Token

  1. run truffle console
  2. run let pre = await PREToken.deployed()
  3. run any contract functions on the pre object:
    • pre.transfer(addresses[1], 100)
    • pre.transferBatch([addresses[2],addresses[3]],[2000, 300000])
    • pre.totalSupply()
    • ...

pre-token's People

Contributors

robbiecalvert avatar treygrainger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pre-token's Issues

Presearch withdrawal

i have 1700 Presearch token but i am not able to withdraw it could you please make me withdraw it beacaue Eid Adaz is around the corner i have to but goat for sacrifice

Have a good day

Salman Mohsin
Regards

I am not able to withdraw

i have 1700 token in my account but i am not able to withdraw any money from that account

Could you please solve my issue

Have a nice day

Salman mohsin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.