Merge pull request #7040 from AlphaWallet/refactoring-move-types-in-alphawalletcore-to-reduce-dependencies-issues-in-the-future

[Refactoring] Move types in AlphaWalletCore to reduce dependencies issues in the future
pull/7041/head
Hwee-Boon Yar 1 year ago committed by GitHub
commit 0df77946c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 0
      modules/AlphaWalletCore/AlphaWalletCore/Types/TokenInterfaceType.swift
  2. 0
      modules/AlphaWalletCore/AlphaWalletCore/Types/TokenType.swift
  3. 2
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Types/ImportedTypes.swift
  4. 2
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Types/eip155URLDecoder.swift
  5. 1
      modules/AlphaWalletTokenScript/AlphaWalletTokenScript/Models/Types/TokenScriptResolver.swift

@ -10,13 +10,13 @@ public typealias Currency = AlphaWalletCore.Currency
public typealias FungibleAmount = AlphaWalletCore.FungibleAmount
public typealias TokenId = AlphaWalletCore.TokenId
public typealias JsonRpcError = AlphaWalletCore.JsonRpcError
public typealias TokenType = AlphaWalletCore.TokenType
import AlphaWalletTokenScript
public typealias AssetInternalValue = AlphaWalletTokenScript.AssetInternalValue
public typealias AssetDefinitionStore = AlphaWalletTokenScript.AssetDefinitionStore
public typealias AttributeId = AlphaWalletTokenScript.AttributeId
public typealias TokenActionProvider = AlphaWalletTokenScript.TokenActionProvider
public typealias TokenType = AlphaWalletTokenScript.TokenType
public typealias TokenInstanceAction = AlphaWalletTokenScript.TokenInstanceAction
public typealias TokenScript = AlphaWalletTokenScript.TokenScript
public typealias TokenSelection = AlphaWalletTokenScript.TokenSelection

@ -6,7 +6,7 @@
//
import Foundation
import AlphaWalletTokenScript
import AlphaWalletCore
public struct Eip155URL {
let tokenType: TokenInterfaceType?

@ -2,6 +2,7 @@
import AlphaWalletAddress
import AlphaWalletAttestation
import AlphaWalletCore
public protocol TokenScriptResolver: AnyObject {
func xmlHandler(forContract contract: AlphaWallet.Address, tokenType: TokenType) -> XMLHandler

Loading…
Cancel
Save