Git Product home page Git Product logo

smart_contract's People

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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smart_contract's Issues

License

Can u please attach license file?

Issue with paying for two times 75 Taas token (150Taas) with ethereum, only got 75 Taas

Look at the file attached. In the window "my transaction" and in the column "trade" one can see two transaction where 75 Taas were bought.
By mistake the two orders seems like they count as only 1 since i missed payout of 75 Taas.
By searching both transaction on deltabalances it seems like they are counted as one.
Take a look here at the Attach file:
screen shot 2018-01-13 at 23 05 46
Here is the address the transactions happened on:
https://etherscan.io/address/0x9f44280A09C0A1aF8ebf74f99020B4f797b1e040

This is the one for the 65 Taas:
https://etherscan.io/tx/0x691aaca9358ffc54293840b97fe1009d3fe4081867640ee5d1d8a67a8d6ee9a9

This is the one for the 75 Taas... seems like both transactions was registered twice at the same time so the EtherDelta exchange only payed out one transaction:
Here is the adress for both of them i get when i tried to follow the transaction history in "my transaction" window under the column "important" and "Transaction" in Etherdelta, as one can see it looks exactly the same:
https://etherscan.io/tx/0xdc628fcbcecb25e3f0c804900a547213bfc36672619f5f119e6d146879aeade9
https://etherscan.io/tx/0xdc628fcbcecb25e3f0c804900a547213bfc36672619f5f119e6d146879aeade9
https://deltabalances.github.io/tx.html#0xdc628fcbcecb25e3f0c804900a547213bfc36672619f5f119e6d146879aeade9

The next transaction under there is for transferring ethereum internal in EtherDelta in order to buy token Taas https://etherscan.io/tx/0xe05f50cc76bd0890792642e88fb39fd610111571cd9f05c3b0b9308d150588cd

Can anyone from the team contact me on mail? [email protected]
Have i lost 75 Taas ?, do i get Ethereum refunded ?...
Why does the 75 Taas seems lost when i bought them with little time in between the transaction ? Is there anyone i could get help from with this ?

Building the smart contract

Hello
I am looking for some advice If I can please.
When I build the smart contract node deploy.js -args it outputs the bytecode is this just for EtherDelta contract

in the folder https://github.com/etherdelta/etherdelta.github.io/tree/master/smart_contract
there are 3 different sections of bytecode do I need to replace all of these?

Im a bit confused to the process of getting the bytecode for;
token.sol.bytecode
reservetoken.sol.bytecode

Please can someone point me in the right direction I have it all setup but im sure im doing something wrong deploying the contract

Kind regards

Regarding ED Smart Contract

I love the ED source code and i must say a big kudos to the developers that created such a beautiful thing. Since it's open source, i wanted to be using it with some modifications when applicable. I am perfectly okay with the frontend and features, but the only major thing i wanted to change was the smart contract so that i can be able to change the fees, set the fees and also be able to receive the fees too and i know the only way to achieve that is by creating my own smart contract which i am willing to do.

Can anyone please help or guide me on how i can integrate my created smart contract with the ED frontend so that it replaces the default ED smart contract details with mine? Any help, direction or guidance will be greatly appreciated because i really need to be able to do that, or is it not possible? Thanks in advance to anyone who can help me out.

Avoid using `call`?

Hey,

Your smart contract generates a warning in Remix about using call here:

	function withdraw() {
		if (tokens[0][msg.sender] < amount) throw;
		tokens[0][msg.sender] = safeSub(tokens[0][msg.sender], amount);
		if (!msg.sender.call.value(amount)()) throw;
		Withdraw(0, msg.sender, amount, tokens[0][msg.sender]);
	}

Shouldn't this have been written like:

	function withdraw() {
		if (tokens[0][msg.sender] < amount) throw;
		tokens[0][msg.sender] = safeSub(tokens[0][msg.sender], amount);
		if (!msg.sender.send(amount)) throw;
		Withdraw(0, msg.sender, amount, tokens[0][msg.sender]);
	}

Thoughts?

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.