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.
26 lines
604 B
26 lines
604 B
// Copyright SIX DAY LLC. All rights reserved.
|
|
|
|
import Foundation
|
|
import UIKit
|
|
|
|
class DepositCoordinator: Coordinator {
|
|
|
|
let navigationController: UINavigationController
|
|
let account: Account
|
|
var coordinators: [Coordinator] = []
|
|
|
|
init(
|
|
navigationController: UINavigationController,
|
|
account: Account
|
|
) {
|
|
self.navigationController = navigationController
|
|
self.account = account
|
|
}
|
|
|
|
func start() {
|
|
let widget = CoinbaseBuyWidget(
|
|
address: account.address.address
|
|
)
|
|
navigationController.openURL(widget.url)
|
|
}
|
|
}
|
|
|