/// <summary>
 /// Removes the token address from the list of tokens in the player prefs and the TradableAssetManager.
 /// </summary>
 /// <param name="tokenAddress"> The contract address of the token to remove. </param>
 public void RemoveToken(string tokenAddress)
 {
     if (tokens.Remove(tokenAddress = tokenAddress.ToLower()))
     {
         OnTokenRemoved?.Invoke(tokenAddress);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Deletes a wallet from the list of WalletInfo.
 /// </summary>
 /// <param name="walletInfo"> The WalletInfo object to delete. </param>
 public void DeleteWalletInfo(WalletInfo walletInfo)
 {
     wallets.Remove(walletInfo);
 }