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

[System Contract DApp] Add contract interacting features to TokenTransferContract contract #319

Closed
Tracked by #314
quiet-node opened this issue Aug 10, 2023 · 0 comments · Fixed by #384
Closed
Tracked by #314
Assignees
Labels
enhancement New feature or request P2 Tooling tooling
Milestone

Comments

@quiet-node
Copy link
Member

Problem

The TokenTransferContract contract requires a set of essential items to effectively support contract interactions. This issue aims to address this need by adding the following components:

  • APIs and Unit Tests: Develop APIs for the contract's methods and create corresponding unit tests to ensure their functionality.

  • UI Component: Implement an UI component that simplifies and enhances the contract interaction flows.

Solution

  • Develop APIs to interact with methods from TokenCreateCustom contract
  • Create unit tests to verify the accuracy of the contract's APIs.
  • Implement a UI component to streamline contract interactions.

Alternatives

No response

@quiet-node quiet-node added enhancement New feature or request P2 Tooling tooling labels Aug 10, 2023
@quiet-node quiet-node added this to the 0.5.0 milestone Aug 10, 2023
@quiet-node quiet-node self-assigned this Aug 10, 2023
@Nana-EC Nana-EC moved this to Sprint BackLog in Smart Contract Sprint Board Sep 5, 2023
quiet-node added a commit that referenced this issue Sep 7, 2023
* dapp-feat: added more interfaces which adhere to IHederaTokenService structs

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-feat: added a suites of API methods to interact with TokenTransfer contract

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-feat: added a suite of unit tests for TokenTransferContract's API methods

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: added handleContractResponse to CryptoTransfer API

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: updated TokenCreate APIs with new shared SmartContractExecutionResult interface

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: updated TokenManage APIs with new shared SmartContractExecutionResult interface

Signed-off-by: Logan Nguyen <[email protected]>

* app-update: updated TokenQuery APIs with new shared SmartContractExecutionResult interface

Signed-off-by: Logan Nguyen <[email protected]>

* app-update: updated TokenTransfer APIs with new shared SmartContractExecutionResult interface

Signed-off-by: Logan Nguyen <[email protected]>

---------

Signed-off-by: Logan Nguyen <[email protected]>
quiet-node added a commit that referenced this issue Sep 8, 2023
quiet-node added a commit that referenced this issue Sep 8, 2023
* dapp-feat: added TokenTransferContract to the main layout

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: added gasLimist to to transferCrypto API method

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-feat: added helper functions and form components for CryptoTransfer master component

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: updated util component for new CryptoTransfer API

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-feat: CryptoTransfer feature complete (#319)

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: added guard condition to hide `cryptoTransfer` method if the network !== "localnet"

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: added guard condition to hide `cryptoTransfer` method if the network !== "localnet"

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: updated TokenTransferContract's method tabs' names

Signed-off-by: Logan Nguyen <[email protected]>

---------

Signed-off-by: Logan Nguyen <[email protected]>
quiet-node added a commit that referenced this issue Sep 11, 2023
* dapp-update: added gasLimit to TransferSingleToken API

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: updated util component for TransferSingleToken

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-feat: finished TransferSingleToken feature

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: merged transferSignleToken and transferSignleTokenFrom into 1 API

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-feat: TransferSingleTokenFrom Feature complete (#318)

Signed-off-by: Logan Nguyen <[email protected]>

---------

Signed-off-by: Logan Nguyen <[email protected]>
quiet-node added a commit that referenced this issue Sep 11, 2023
@Nana-EC Nana-EC moved this from Sprint BackLog to In Review in Smart Contract Sprint Board Sep 11, 2023
quiet-node added a commit that referenced this issue Sep 13, 2023
* dapp-update: added gasLimit to transferTokensPublic and transferNonFungibleTokensPublic

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-feat: finished TransferMultiTokens feature (#319)

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: replaced NON_FUNGIBLE with NFT for consistency

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: added a reusable component for param fields

Signed-off-by: Logan Nguyen <[email protected]>

---------

Signed-off-by: Logan Nguyen <[email protected]>
@github-project-automation github-project-automation bot moved this from In Review to Done in Smart Contract Sprint Board Sep 13, 2023
mshakeg pushed a commit to mshakeg/hedera-smart-contracts that referenced this issue Oct 14, 2023
) (hashgraph#379)

* dapp-feat: added more interfaces which adhere to IHederaTokenService structs

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-feat: added a suites of API methods to interact with TokenTransfer contract

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-feat: added a suite of unit tests for TokenTransferContract's API methods

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: added handleContractResponse to CryptoTransfer API

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: updated TokenCreate APIs with new shared SmartContractExecutionResult interface

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: updated TokenManage APIs with new shared SmartContractExecutionResult interface

Signed-off-by: Logan Nguyen <[email protected]>

* app-update: updated TokenQuery APIs with new shared SmartContractExecutionResult interface

Signed-off-by: Logan Nguyen <[email protected]>

* app-update: updated TokenTransfer APIs with new shared SmartContractExecutionResult interface

Signed-off-by: Logan Nguyen <[email protected]>

---------

Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Mo Shaikjee <[email protected]>
mshakeg pushed a commit to mshakeg/hedera-smart-contracts that referenced this issue Oct 14, 2023
…#381)

* dapp-feat: added TokenTransferContract to the main layout

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: added gasLimist to to transferCrypto API method

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-feat: added helper functions and form components for CryptoTransfer master component

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: updated util component for new CryptoTransfer API

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-feat: CryptoTransfer feature complete (hashgraph#319)

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: added guard condition to hide `cryptoTransfer` method if the network !== "localnet"

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: added guard condition to hide `cryptoTransfer` method if the network !== "localnet"

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: updated TokenTransferContract's method tabs' names

Signed-off-by: Logan Nguyen <[email protected]>

---------

Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Mo Shaikjee <[email protected]>
mshakeg pushed a commit to mshakeg/hedera-smart-contracts that referenced this issue Oct 14, 2023
)

* dapp-update: added gasLimit to TransferSingleToken API

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: updated util component for TransferSingleToken

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-feat: finished TransferSingleToken feature

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: merged transferSignleToken and transferSignleTokenFrom into 1 API

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-feat: TransferSingleTokenFrom Feature complete (hashgraph#318)

Signed-off-by: Logan Nguyen <[email protected]>

---------

Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Mo Shaikjee <[email protected]>
mshakeg pushed a commit to mshakeg/hedera-smart-contracts that referenced this issue Oct 14, 2023
…graph#384)

* dapp-update: added gasLimit to transferTokensPublic and transferNonFungibleTokensPublic

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-feat: finished TransferMultiTokens feature (hashgraph#319)

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: replaced NON_FUNGIBLE with NFT for consistency

Signed-off-by: Logan Nguyen <[email protected]>

* dapp-update: added a reusable component for param fields

Signed-off-by: Logan Nguyen <[email protected]>

---------

Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Mo Shaikjee <[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 P2 Tooling tooling
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant