blockchainethereumblockchain-walleterc20erc721walletxdaidappdecentralizederc1155erc875iosswifttokens
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
657 B
25 lines
657 B
// Copyright SIX DAY LLC. All rights reserved.
|
|
|
|
import Foundation
|
|
@testable import Trust
|
|
import BigInt
|
|
|
|
extension UnconfirmedTransaction {
|
|
static func make(
|
|
transferType: TransferType = .ether(destination: .none),
|
|
value: BigInt = BigInt(1),
|
|
address: Address = .make(),
|
|
account: Account = .make(),
|
|
chainID: Int = 1,
|
|
data: Data = Data()
|
|
) -> UnconfirmedTransaction {
|
|
return UnconfirmedTransaction(
|
|
transferType: transferType,
|
|
value: value,
|
|
address: address,
|
|
account: account,
|
|
chainID: chainID,
|
|
data: data
|
|
)
|
|
}
|
|
}
|
|
|