Skip to content

Commit

Permalink
Add token id param
Browse files Browse the repository at this point in the history
  • Loading branch information
itsafuu committed Dec 3, 2024
1 parent de08205 commit 7a94eb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/GeniusSDK.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ GeniusMatrix GeniusSDKGetBlocks()
return matrix_from_buffer( blocks );
}

void GeniusSDKMintTokens( uint64_t amount, const char *transaction_hash, const char *chain_id )
void GeniusSDKMintTokens( uint64_t amount, const char *transaction_hash, const char *chain_id, const char *token_id )
{
GeniusNodeInstance->MintTokens( amount, transaction_hash, chain_id );
GeniusNodeInstance->MintTokens( amount, transaction_hash, chain_id, token_id );
}

GeniusAddress GeniusSDKGetAddress()
Expand Down
2 changes: 1 addition & 1 deletion src/GeniusSDK.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ GNUS_VISIBILITY_DEFAULT uint64_t GeniusSDKGetBalance();
GNUS_VISIBILITY_DEFAULT GeniusMatrix GeniusSDKGetTransactions();
GNUS_VISIBILITY_DEFAULT void GeniusSDKFreeTransactions( GeniusMatrix matrix );
GNUS_VISIBILITY_DEFAULT GeniusMatrix GeniusSDKGetBlocks();
GNUS_VISIBILITY_DEFAULT void GeniusSDKMintTokens( uint64_t amount, const char *transaction_hash, const char *chain_id );
GNUS_VISIBILITY_DEFAULT void GeniusSDKMintTokens( uint64_t amount, const char *transaction_hash, const char *chain_id, const char *token_id );
GNUS_VISIBILITY_DEFAULT GeniusAddress GeniusSDKGetAddress();
GNUS_VISIBILITY_DEFAULT bool GeniusSDKTransferTokens( uint64_t amount, GeniusAddress *dest );
GNUS_VISIBILITY_DEFAULT uint64_t GeniusSDKGetCost( const JsonData_t jsondata );
Expand Down

0 comments on commit 7a94eb3

Please sign in to comment.