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: add approveToken function for erc20 sendMany #5842

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kamleshmugdiya
Copy link
Contributor

TICKET: COIN-2785

@kamleshmugdiya kamleshmugdiya force-pushed the COIN-2785 branch 2 times, most recently from b8051d2 to fbcf6a5 Compare April 3, 2025 06:16
@kamleshmugdiya kamleshmugdiya marked this pull request as ready for review April 4, 2025 13:33
@kamleshmugdiya kamleshmugdiya requested review from a team as code owners April 4, 2025 13:33
@@ -899,4 +899,5 @@ export interface IWallet {
fetchCrossChainUTXOs(params: FetchCrossChainUTXOsOptions): Promise<CrossChainUTXO[]>;
getChallengesForEcdsaSigning(): Promise<WalletEcdsaChallenges>;
getNftBalances(): Promise<NftBalance[]>;
approveToken(walletPassphrase: string, tokenName: string): Promise<any>;
Copy link
Contributor

Choose a reason for hiding this comment

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

There's no more strict return type we can use here other than any ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

using existing SubmitTransactionResponse.
also added test and an example script.

Copy link
Contributor

@margueriteblair margueriteblair left a comment

Choose a reason for hiding this comment

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

Test please

@kamleshmugdiya kamleshmugdiya force-pushed the COIN-2785 branch 4 times, most recently from f18b702 to 47e6e9c Compare April 10, 2025 14:06
@kamleshmugdiya kamleshmugdiya requested review from a team as code owners April 10, 2025 14:06
@kamleshmugdiya kamleshmugdiya force-pushed the COIN-2785 branch 5 times, most recently from 96398b1 to b98851f Compare April 10, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants