Skip to content

Commit e467aea

Browse files
chore: removed transactionOptions from ContractProtocol - it wasn't used;
1 parent cb7973a commit e467aea

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Sources/web3swift/Contract/ContractProtocol.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ import Core
1212

1313
public protocol ContractProtocol {
1414
var address: EthereumAddress? {get set}
15-
16-
/// Default options added to all ``EthereumTransaction`` objects created by this protocol.
17-
var transactionOptions: TransactionOptions? {get set}
18-
15+
1916
/// All ABI elements like: events, functions, constructors and errors.
2017
var abi: [ABI.Element] {get}
2118

Sources/web3swift/Contract/EthereumContract.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import Core
99

1010
public class EthereumContract: DefaultContractProtocol {
1111

12-
public var transactionOptions: TransactionOptions? = TransactionOptions.defaultOptions
1312
public var address: EthereumAddress? = nil
1413

1514
public let abi: [ABI.Element]

0 commit comments

Comments
 (0)