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

feat: Token Airdrop Transaction #2492

Merged
merged 33 commits into from
Sep 12, 2024
Merged

Commits on Sep 11, 2024

  1. feat: add Airdrop Transaction

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    674f824 View commit details
    Browse the repository at this point in the history
  2. test(wip): unit tests

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    bd5d5e3 View commit details
    Browse the repository at this point in the history
  3. fix: use interface for AccountAmount protobuf

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    46f8158 View commit details
    Browse the repository at this point in the history
  4. fix: remove circular dependancy

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    fb4d428 View commit details
    Browse the repository at this point in the history
  5. refactor: RenameTokenTransfer list to TokenTransfer

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    42b74d5 View commit details
    Browse the repository at this point in the history
  6. feat: rename token transfer and add expected decimals

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    d3febec View commit details
    Browse the repository at this point in the history
  7. refactor: remove redundant code

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    ae01f4b View commit details
    Browse the repository at this point in the history
  8. test: finished unit tests

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    f68acd2 View commit details
    Browse the repository at this point in the history
  9. fix: correct return type for amount

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    34673c9 View commit details
    Browse the repository at this point in the history
  10. fix: correct return for fromProtobuf

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    75cf548 View commit details
    Browse the repository at this point in the history
  11. feat: add missing methods

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    4c66eec View commit details
    Browse the repository at this point in the history
  12. refactor: use already implemented interfaces and classes

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    176d7b8 View commit details
    Browse the repository at this point in the history
  13. refactor: transfer transaction and airdrop transaction

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    af7a7df View commit details
    Browse the repository at this point in the history
  14. feat: add logid and execute

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    6de1176 View commit details
    Browse the repository at this point in the history
  15. feat: add integration tests

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    8cd5606 View commit details
    Browse the repository at this point in the history
  16. feat: add pending airdrop to rectord

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    f41a54d View commit details
    Browse the repository at this point in the history
  17. test: add nft transfers to all test cases

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    8b305af View commit details
    Browse the repository at this point in the history
  18. chore: remove unused files for airdrop

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    fd7b686 View commit details
    Browse the repository at this point in the history
  19. refactor: remove circular dependancy and unused import

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    43f6175 View commit details
    Browse the repository at this point in the history
  20. refactor: remove duplicated property

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    778b742 View commit details
    Browse the repository at this point in the history
  21. refactor: rename pendngairdroprecord

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    ec04f31 View commit details
    Browse the repository at this point in the history
  22. refactor: remove unused files

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    dda7ebc View commit details
    Browse the repository at this point in the history
  23. refactor: rename AirdropTokenTransaction

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    fc6ded6 View commit details
    Browse the repository at this point in the history
  24. test: add additional tests

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    76fe0e1 View commit details
    Browse the repository at this point in the history
  25. fix: rename file reference

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    e540dd1 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    df64cfc View commit details
    Browse the repository at this point in the history
  27. refactor: remove comment lines

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    72a0838 View commit details
    Browse the repository at this point in the history
  28. test: remove get receipt line because we call get record

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    e84809d View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    33d4a66 View commit details
    Browse the repository at this point in the history
  30. refactor: rename AbstractTokenTransfer

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    394ace8 View commit details
    Browse the repository at this point in the history
  31. feat: Token Claim and Cancel Transaction (#2499)

    * feat: add airdrop claim and cancel transactions
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * chore: update protobufs
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * feat: update commit messages
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * test: add unit tests for cancel and claim
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * wip(test): add integration tests for cancel and claim transactions
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * fix: claim used the wrong channel function
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * refactor: rename transaction name
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * refactor: remove claim references in airdropcancel integration test
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * test(fix): fix not working test for airdrop cancel and claim
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * fix: airdropcancel transaction should work on sender not receiver
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * feat: add token airdrop example
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * refactor: rename transactions to have the same name as java
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * refactor: remove redundant imports and empty lines
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * refactor: rename transaction tests  to have the same name as java sdk
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * docs: add licenses
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * fix: remove dead code from token cancel
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * refactor: consistency in constructor
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * refactor: change airdrop_supply_per_person naming
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * test: fix setting sender id
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    * refactor: specify what kind of tokens are airdropped
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    
    ---------
    
    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    f592ba8 View commit details
    Browse the repository at this point in the history
  32. fix(test): when empty id should be null

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    f6f5928 View commit details
    Browse the repository at this point in the history
  33. refactor: should return always in jsdoc

    Signed-off-by: Ivaylo Nikolov <[email protected]>
    ivaylonikolov7 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    0e6079f View commit details
    Browse the repository at this point in the history