Functionalities:-
- User can create a Buy and a Sell Order for Buying or Selling ERC20 Tokens
- Bidder can make bids for the orderId
- Logging of all data with structures
- Trade Execution
- User chooses the bidder to trade with from the Bidders Array
- User provides the index of the bidder from the array
- User had placed a Buy order, user sent eth to contract; Bidder sent tokens to contract
- So, now send tokens to user and Eth to bidder
- Similarly for Sell Orders
Contracts are deployed on Rinkeby Network
-
JagguToken contract is deployed at (0x31108e66788363e65d329d8919409cd9aC051653) Etherscan link - https://rinkeby.etherscan.io/address/0x31108e66788363e65d329d8919409cd9aC051653
-
TradeOperations contract is deployed at (0xcaEE5208E288059371E75FaEcd8FD3339A6697Fd) Etherscan link - https://rinkeby.etherscan.io/address/0xcaEE5208E288059371E75FaEcd8FD3339A6697Fd