public ContractCreationVO(TransactionReceiptVO transactionReceiptVO, string code, bool failedCreatingContract) { Transaction = transactionReceiptVO.Transaction; TransactionReceipt = transactionReceiptVO.TransactionReceipt; Block = transactionReceiptVO.Block; Code = code; FailedCreatingContract = failedCreatingContract; ContractAddress = TransactionReceipt.ContractAddress; }
public static bool IsForContractCreation(this TransactionReceiptVO receipt) { return(receipt.Transaction.IsForContractCreation(receipt.TransactionReceipt)); }