dmarket / dmarket-smartcontract Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I may be mistaken, but as far as I can see the first or second step sales are repeatable โ the first step times could easily be "reset" after the first set has ended, to create another "first phase sale".
https://github.com/suntechsoft/dmarket-smartcontract/blob/master/contracts/DMTokenContract.sol#L61
Not sure how this got overlooked, since all of the code in DMTokenContract.sol
seems to use starSecondStep
which I assume is an accidental typo?
https://github.com/suntechsoft/dmarket-smartcontract/blob/master/contracts/DMTokenContract.sol#L56
I can't find anything in the code that limits the total supply to 50,000,000
. The totalSupply
variable is set, but I can't find code enforcing it or keeping track of the remaining undistributed amount?
I also can't find code enforcing the following statement that's declared on your website:
"After the token sale is closed, 10% of the total token amount sold are issued and reserved for DMarket's core activities, and 5% is reserved for DMarket advisory board and partners."
Is allowing tokenReserve
to be a public function a security flaw โ otherwise unless I'm misunderstood anyone can call this function and add however much they please to their balance?
function tokenReserve(address _to, uint256 _value) returns (bool) {
balances[_to] = balances[_to].add(_value);
Transfer(msg.sender, _to, _value);
return true;
}
https://github.com/suntechsoft/dmarket-smartcontract/blob/master/contracts/DMTokenContract.sol#L134
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.