Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/Web3Core/Structure/EventLog/EventLog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import BigInt
/// - `0x000000000000000000000000d5395c132c791a7f46fa8fc27f0ab6bacd824484]`
/// - `transactionHash = 0x9f7bb2633abb3192d35f65e50a96f9f7ca878fa2ee7bf5d3fca489c0c60dc79a;`
/// - `transactionIndex = 0x99;`
public struct EventLog: Decodable {
public struct EventLog: Decodable, Sendable {
public var address: EthereumAddress
public var blockHash: Data
public var blockNumber: BigUInt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Foundation
import BigInt

public struct TransactionReceipt {
public struct TransactionReceipt: Sendable {
public var transactionHash: Data
public var blockHash: Data
public var blockNumber: BigUInt
Expand All @@ -27,7 +27,7 @@ public struct TransactionReceipt {
}

extension TransactionReceipt {
public enum TXStatus {
public enum TXStatus: Sendable {
case ok
case failed
case notYetProcessed
Expand Down
2 changes: 1 addition & 1 deletion Sources/Web3Core/Transaction/EthereumBloomFilter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import CryptoSwift
/// Bloom filter can be calculated for any set of data. In case of Ethereum blockchain it could be a set of addresses, event topics etc.
///
/// A definition of [Bloom filter](https://en.wikipedia.org/wiki/Bloom_filter#:~:text=A%20Bloom%20filter%20is%20a,a%20member%20of%20a%20set.).
public struct EthereumBloomFilter {
public struct EthereumBloomFilter: Sendable {
static let mask = BigUInt(2047)
/// Bloom filter.
public var bytes = Data(repeatElement(UInt8(0), count: 256))
Expand Down
Loading