Intelli TOken moved to old repos
This commit is contained in:
1 parent
287023f978
commit
c08e7b5430
153 files changed
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Nethereum.RPC.Eth.DTOs;
|
||||
using AdvancedAlgos.AlgoToken.Framework.Ethereum.Exceptions;
|
||||
|
||||
namespace AdvancedAlgos.AlgoToken.Framework.Ethereum.Extensions
|
||||
{
|
||||
public static class TransactionReceiptExtensions
|
||||
{
|
||||
public static void EnsureSucceededStatus(this TransactionReceipt transactionReceipt)
|
||||
{
|
||||
if (transactionReceipt.Status.Value != 1) TransactionRejectedException.Throw(transactionReceipt);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user