Git Product home page Git Product logo

sire's People

Contributors

jujum4n avatar

Watchers

 avatar  avatar

sire's Issues

Update test suites

Tests also need to be modified slightly now that the mint function will behave differently.

Should not be much of a change but creating a test-plan and documenting all the cases and creating them needs to be re-done at this point with the new methodology for minting.

Remove Max ether cap and set contract to collect ether for 1 Month period

After discussion with Ben it might be a better idea to remove the Max ether cap, as more people might want to invest more/less than the pre-defined cap I set.

I am not opposed to this but after a specific period of time (1 Month) the ability to convert Ether to Sire will no longer exist and the max number of ether is what was collected and the max number of sire that exist will be <= to the amount traded during the ICO period.

Fix issues with the web-app

Its been a few weeks since I put this on testnet, and I noticed some issues with the web-app talking to the deployed code.

Unsure what the problem is at this point, will cross this bridge after I finish solidifying the updated function behavior for mint and clean up the contracts code.

Clean up wrapper functions

It should not be necessary to use wrapper functions to access the contracts state variables, I recall seeing some code that does this some further research might be necessary.

Reason this is important is it offloads some of the code in the contract, to the JS app, and the number of functions we need to validate and secure in the contract will drastically drop, this will cut out like 100 lines of code and comments.

Restructure minting function to mitigate against Ben's theoretical attack

After a lengthy Contract Audit with Ben C. this afternoon it was discovered the version of the contract I currently have contains a possible attack using the mint function with the same coins across multiple addresses over different time-spans.

I did have mitigation for this attack but removed it for some specific reasoning hence an unused variable containing block number to lock sends of sire for. It should be pretty straight forward to ensure this attack does not occur. But in order to fix this a number of aspects of the mint need to change. It does add some neat features with providing benefits to long holders etc.

Create 1 Time withdraw function to pay for costs

After talking with the team, even though I would rather be Altruistic and not take anything for the creation of the contracts currency.

Having some coins will help us grow Sire and get it and relic listed on exchanges. It will be used to pay for marketing of the coins benefit, and web-server/web-app development costs. If ether increases in value enough or more than expected ether is contributed during ICO period, an IOS mobile app could possibly be funded by this effort as well or a simple fireproof hard-wallet for long-term minters.

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.