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

Refactor example token contracts #114

Merged
merged 13 commits into from
Oct 18, 2022
Merged

Conversation

georgi-l95
Copy link
Contributor

Description:
Refactor example contracts, so that each contract is responsible for one type of operations.
Apply those changes in the tests.

Related issue(s):

Fixes #109
Fixes #110
Fixes #111
Fixes #112

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@georgi-l95 georgi-l95 added enhancement New feature or request P1 Limechain Items for Limechain team labels Oct 17, 2022
@georgi-l95 georgi-l95 added this to the 0.3.0 milestone Oct 17, 2022
@georgi-l95 georgi-l95 self-assigned this Oct 17, 2022
@georgi-l95 georgi-l95 linked an issue Oct 17, 2022 that may be closed by this pull request
17 tasks
Signed-off-by: georgi-l95 <[email protected]>
@dimitrovmaksim
Copy link
Collaborator

Would any contracts here be affected by the changes in this PR #99 and the resolving of this issue #85?

@georgi-l95
Copy link
Contributor Author

Yes, all contracts here should be affected by changing everything from uint to int, but #99 have to be merged first, or address those changes there to the example contracts after this one is merged. I was waiting on #85 for discussion and resolving first in services maybe.

Signed-off-by: georgi-l95 <[email protected]>
x
Signed-off-by: georgi-l95 <[email protected]>
x
Signed-off-by: georgi-l95 <[email protected]>
Signed-off-by: georgi-l95 <[email protected]>
Copy link
Collaborator

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, appreciate the quick turn around.
Some items highlighted in comments

Signed-off-by: georgi-l95 <[email protected]>
Copy link
Collaborator

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@Nana-EC Nana-EC requested a review from shemnon October 17, 2022 22:49
@georgi-l95 georgi-l95 merged commit 7374d6e into main Oct 18, 2022
@georgi-l95 georgi-l95 deleted the 112-refactor-example-contract branch October 18, 2022 07:51
georg-getz pushed a commit to georg-getz/hedera-smart-contracts that referenced this pull request Dec 12, 2022
* TokenQueryContract.sol ready

Signed-off-by: georgi-l95 <[email protected]>

* add transferFrom and tranferFromNFT to HTS

Signed-off-by: georgi-l95 <[email protected]>

* TokenTransferContract.sol ready

Signed-off-by: georgi-l95 <[email protected]>

* TokenManagementContract.sol ready

Signed-off-by: georgi-l95 <[email protected]>

* TokenCreateContract.sol ready

Signed-off-by: georgi-l95 <[email protected]>

* delete TokenCreate.sol

Signed-off-by: georgi-l95 <[email protected]>

* fix tests

Signed-off-by: georgi-l95 <[email protected]>

* fixed empty lines

Signed-off-by: georgi-l95 <[email protected]>

* fix tests

Signed-off-by: georgi-l95 <[email protected]>

* x

Signed-off-by: georgi-l95 <[email protected]>

* x

Signed-off-by: georgi-l95 <[email protected]>

* fix test

Signed-off-by: georgi-l95 <[email protected]>

* address comments

Signed-off-by: georgi-l95 <[email protected]>

Signed-off-by: georgi-l95 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Limechain Items for Limechain team P1
Projects
None yet
3 participants