Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TradableKitty piece #171

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Commits on Feb 12, 2024

  1. Enhanced Kitty piece with 'name' field, extended FreeKittyConstraintC…

    …hecker, and introduced TradableKitty for minting, property updates, and buying in the blockchain.
    
    Overall Summary:
    
    1. Enhanced the Kitty piece by adding a 'name' field to the KittyData structure.
    2. Extended FreeKittyConstraintChecker to support Mint and Breed functionalities.
    3. Introduced a new TradableKitty piece with minting, property updating, and buying capabilities.
    
    Details:
    KittyData Enhancement:
    The KittyData structure now includes a 'name' field, allowing for the storage and retrieval of kitty names.
    
    FreeKittyConstraintChecker Extension in kitties piece :
    FreeKittyConstraintChecker has been expanded to support both existing Breed functionality and the newly added Mint functionality.
    
    Introduction of new piece TradableKitty:
    A new piece, TradableKitty, has been introduced.
    Functionalities include minting kitties, updating properties (name, price, availability for sale), and enabling buy operations.
    
    Integration with Existing Pieces:
    TradableKitty seamlessly integrates with both existing kitties and the Money piece, leveraging their functionalities.
    NadigerAmit committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    b522b1b View commit details
    Browse the repository at this point in the history
  2. Updated PKG nam and added better description for tradable_kitties car…

    …go.toml
    
    Updated PKG nam and added better description for tradable_kitties cargo.toml
    NadigerAmit committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    2e0885d View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. toml sort

    JoshOrndorff committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    80d2e99 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Implement the design change

    Implement design change and addressed all the review comments.
    Mainly:
    1. Now kitties can updated to tradable kitties and vice versa based on listForSale and DelistFromsale constraint checkers.
    2. Support multiple inputs and outputs
    3. Remove the is_avilabel_for_sale from tradable kitty
    4. Add listForSale , DelistFromSale and Update name and updatePrice for tradable kitty
    5. Add Update name for kitty piece.
    NadigerAmit committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    5461173 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eea8241 View commit details
    Browse the repository at this point in the history
  3. Submit the fmt fix

    submitted the fmt fix
    cargo fmt --all
    NadigerAmit committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    1f5855b View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. Implement in-order requirement between input and output for multi inp…

    …ut txns
    
    Implemented below :
    1. Removed the out-of-order b/w input & output for Implemented the in-order for below :
    1. ListKittyForSale
    2. DelistKittyForSale
    3. UpdateName
    4.UpdatePrice
    
    For Breed operation, only 1 tradable kitty can be traded at the same time in the same txn.
    NadigerAmit committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    4d4501b View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Code improvement

    Code Improvement
    NadigerAmit committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    32be05f View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Implement the review comments

    Implement review comments :
    Main  updates :
    1. Price of kitty of mage mandatory.
    2. DNA duplicate checks removed.
    3. Documentation is revisited.
    4. Test cases are updated.
    NadigerAmit committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    7b0a12e View commit details
    Browse the repository at this point in the history
  2. Fix clippy issues

    Fixed clippy issues
    NadigerAmit committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    389576b View commit details
    Browse the repository at this point in the history
  3. improve Kitties documentation

    muraca committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    c77120b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d57f9b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Review comments fix

    Fixed review comments from  Matteo Muraca
    NadigerAmit committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    db5748d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    02aaf78 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

  1. web service implementation

    Web service implementation
    NadigerAmit committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    9c4f903 View commit details
    Browse the repository at this point in the history
  2. Revert "web service implementation"

    This reverts commit 9c4f903.
    NadigerAmit committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    9e2c908 View commit details
    Browse the repository at this point in the history