-
Notifications
You must be signed in to change notification settings - Fork 293
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
base: master
Are you sure you want to change the base?
Conversation
b8051d2
to
fbcf6a5
Compare
fbcf6a5
to
af0762e
Compare
@@ -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>; |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test please
f18b702
to
47e6e9c
Compare
47e6e9c
to
88d8f0e
Compare
96398b1
to
b98851f
Compare
b98851f
to
6c5f1db
Compare
TICKET: COIN-2785