codedamn

Ecommerce Contract

Created by Kshitij about a year ago

0

No description provided

3 Comments

    1

    why hare we not create event?

    @rohanrouth0615

    ROHAN ROUTH

    @rohanrouth0615

    1

    Why haven't you used the selfdestruct function in the final smart contract ? In your final smart contract though the destroy function returns the full amount to the manager but the products information is still in the product array cause u didn't use the selfdestruct function.

    0

    When I am calling buy function getting error "revert The transaction has been reverted to the initial state. Note: The called function should be payable if you send value and the value you send should be less than your current balance. Debug the transaction to get more information."

    @imprem

    Premchand

    @imprem

Your comment