diff --git a/.gitignore b/.gitignore index 3a2fd683..80631f96 100644 --- a/.gitignore +++ b/.gitignore @@ -1,73 +1,7 @@ -# Xcode -# -# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore - -## Build generated -build/ -DerivedData/ - -## Various settings -*.pbxuser -!default.pbxuser -*.mode1v3 -!default.mode1v3 -*.mode2v3 -!default.mode2v3 -*.perspectivev3 -!default.perspectivev3 -xcuserdata/ - -## Other -*.moved-aside -*.xccheckout -*.xcscmblueprint - -## Obj-C/Swift specific -*.hmap -*.ipa -*.dSYM.zip -*.dSYM - -## Playgrounds -timeline.xctimeline -playground.xcworkspace - -# Swift Package Manager -# -# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. -# Packages/ -# Package.pins -# Package.resolved -.build/ - -# CocoaPods -# -# We recommend against adding the Pods directory to your .gitignore. However -# you should judge for yourself, the pros and cons are mentioned at: -# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control -# -# Pods/ -# -# Add this line if you want to avoid checking in source code from the Xcode workspace -# *.xcworkspace - -# Carthage -# -# Add this line if you want to avoid checking in source code from Carthage dependencies. -# Carthage/Checkouts - -Carthage/Build - -# fastlane -# -# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the -# screenshots whenever they are needed. -# For more information about the recommended setup visit: -# https://docs.fastlane.tools/best-practices/source-control/#source-control - -fastlane/report.xml -fastlane/Preview.html -fastlane/screenshots/**/*.png -fastlane/test_output - +/Carthage +/.build +/Packages +xcuserdata +/Package.pins +/Package.resolved .DS_Store diff --git a/CHANGELOG.md b/CHANGELOG.md index d7539b8c..f422f779 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,7 +83,7 @@ - Signing identical transaction results in different raw tx [\#53](https://github.com/BANKEX/web3swift/issues/53) - I can not use my contract ? [\#43](https://github.com/BANKEX/web3swift/issues/43) -- Use of unresolved identifier 'EthereumAddress' [\#14](https://github.com/BANKEX/web3swift/issues/14) +- Use of unresolved identifier 'Address' [\#14](https://github.com/BANKEX/web3swift/issues/14) **Closed issues:** diff --git a/Cartfile b/Cartfile new file mode 100644 index 00000000..17516637 --- /dev/null +++ b/Cartfile @@ -0,0 +1,4 @@ +github "mxcl/PromiseKit" ~> 6.0 +github "attaswift/BigInt" ~> 3.1 +github "krzyzanowskim/CryptoSwift" +github "Boilertalk/secp256k1.swift" diff --git a/Cartfile.resolved b/Cartfile.resolved new file mode 100644 index 00000000..b2d65b48 --- /dev/null +++ b/Cartfile.resolved @@ -0,0 +1,5 @@ +github "Boilertalk/secp256k1.swift" "0.1.4" +github "attaswift/BigInt" "v3.1.0" +github "attaswift/SipHash" "v1.2.2" +github "krzyzanowskim/CryptoSwift" "0.13.0" +github "mxcl/PromiseKit" "6.5.2" diff --git a/Documentation/Classes.html b/Documentation/Classes.html new file mode 100644 index 00000000..9ec5131b --- /dev/null +++ b/Documentation/Classes.html @@ -0,0 +1,1667 @@ + + + + Classes Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Classes

+

The following classes are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + SolidityType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityType : Equatable, CustomStringConvertible
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityFunction + +
    +
    +
    +
    +
    +
    +

    Converts: + balanceOf(address) + transfer(address,address,uint256) + transfer(address, address, uint256) + transfer(address, address, uint256) + transfer (address, address, uint) + transfer ( address , address , uint256 ) +To: + function.name: String + function.types: [SolidityType]

    + +

    Mainthread-friendly +Performance: + transfer(uint256,address) // ~184k ops + transfer(uint256,address,address,bytes32,uint256[32]) // performance ~100k ops

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityFunction : CustomStringConvertible
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + BlockExplorer + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class BlockExplorer
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ERC20 + +
    +
    +
    +
    +
    +
    +

    Native implementation of ERC20 token

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class ERC20
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ERC721 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class ERC721
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ERC777 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class ERC777
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + EthURL + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class EthURL
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3 + +
    +
    +
    +
    +
    +
    +

    A web3 instance bound to provider. All further functionality is provided under web.*. namespaces.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Web3 : Web3OptionsInheritable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + HDNode + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class HDNode
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + Mnemonics + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Mnemonics
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + HDPath + +
    +
    +
    +
    +
    +
    +

    Can be used to check if HDPath is valid

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class HDPath : ExpressibleByStringLiteral
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+ +
+
+
    +
  • +
    + + + + _ObjCBigUInt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(BigUInt)
    +public final class _ObjCBigUInt : NSObject
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + _ObjCAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(Address)
    +public final class _ObjCAddress : NSObject
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + _ObjCKeystoreManager + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(KeystoreManager)
    +public final class _ObjCKeystoreManager : NSObject
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + _ObjCPlainKeystore + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(PlainKeystore)
    +public final class _ObjCPlainKeystore : NSObject
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + _ObjCweb3Eth + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(web3Eth)
    +public final class _ObjCweb3Eth : NSObject
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + _ObjCweb3 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(web3)
    +public final class _ObjCweb3 : NSObject
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + _ObjCWeb3 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(Web3)
    +public final class _ObjCWeb3 : NSObject
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class JsonRpcRequestDispatcher
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + DictionaryReader + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class DictionaryReader
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + TxPool + +
    +
    +
    +
    +
    +
    +

    Native realisation of txpool

    +
    +

    Important

    + Doesn’t works with Infura provider + +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class TxPool
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3Contract + +
    +
    +
    +
    +
    +
    +

    Web3 instance bound contract instance.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Web3Contract
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + InfuraProvider + +
    +
    +
    +
    +
    +
    +

    Custom Web3 HTTP provider of Infura nodes.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class InfuraProvider : Web3HttpProvider
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3DataResponse + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Web3DataResponse
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Web3Response + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Web3Response
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3Utils + +
    +
    +
    +
    +
    +
    +

    Namespaced Utils functions. Are not bound to particular web3 instance, so capitalization matters.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Web3Utils
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/BIP32Keystore.html b/Documentation/Classes/BIP32Keystore.html new file mode 100644 index 00000000..41ae624c --- /dev/null +++ b/Documentation/Classes/BIP32Keystore.html @@ -0,0 +1,1101 @@ + + + + BIP32Keystore Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

BIP32Keystore

+
+
+
public class BIP32Keystore : AbstractKeystore
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + addresses + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var addresses: [Address] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isHDKeystore + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isHDKeystore: Bool
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func UNSAFE_getPrivateKeyData(password: String, account: Address) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + keystoreParams + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var keystoreParams: KeystoreParamsBIP32?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + paths + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var paths: [String : Address]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + rootPrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var rootPrefix: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init?(_ jsonString: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ jsonData: Data)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init(mnemonics: Mnemonics, password: String = "BANKEXFOUNDATION", prefixPath: String = HDNode.defaultPathMetamaskPrefix) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(seed: Data, password: String = "BANKEXFOUNDATION", prefixPath: String = HDNode.defaultPathMetamaskPrefix) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func createNewChildAccount(password: String = "BANKEXFOUNDATION") throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func createNewAccount(parentNode: HDNode, password: String = "BANKEXFOUNDATION", aesMode: String = "aes-128-cbc") throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func createNewCustomChildAccount(password: String = "BANKEXFOUNDATION", path: String) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func regenerate(oldPassword: String, newPassword: String, dkLen _: Int = 32, N _: Int = 4096, R _: Int = 6, P _: Int = 1) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + serialize() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func serialize() throws -> Data?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func serializeRootNodeToString(password: String = "BANKEXFOUNDATION") throws -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/BlockExplorer.html b/Documentation/Classes/BlockExplorer.html new file mode 100644 index 00000000..23cc75fa --- /dev/null +++ b/Documentation/Classes/BlockExplorer.html @@ -0,0 +1,781 @@ + + + + BlockExplorer Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

BlockExplorer

+
+
+
public class BlockExplorer
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + urlStringList + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var urlStringList: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init()
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/DictionaryReader.html b/Documentation/Classes/DictionaryReader.html new file mode 100644 index 00000000..bc97470b --- /dev/null +++ b/Documentation/Classes/DictionaryReader.html @@ -0,0 +1,967 @@ + + + + DictionaryReader Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

DictionaryReader

+
+
+
public class DictionaryReader
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + raw + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var raw: Any
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ data: Any)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + at(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func at(_ key: String) throws -> DictionaryReader
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dictionary(block:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func dictionary(block: (DictionaryReader, DictionaryReader) throws -> ()) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + array(block:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func array(block: (DictionaryReader) throws -> ()) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func address() throws -> Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string() throws -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + data() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func data() throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uint256() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func uint256() throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + int() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func int() throws -> Int
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/DictionaryReader/Error.html b/Documentation/Classes/DictionaryReader/Error.html new file mode 100644 index 00000000..66fb1104 --- /dev/null +++ b/Documentation/Classes/DictionaryReader/Error.html @@ -0,0 +1,723 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + notFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notFound
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + unconvertable + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case unconvertable
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/ERC20.html b/Documentation/Classes/ERC20.html new file mode 100644 index 00000000..7792234c --- /dev/null +++ b/Documentation/Classes/ERC20.html @@ -0,0 +1,1347 @@ + + + + ERC20 Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ERC20

+
+
+
public class ERC20
+ +
+
+

Native implementation of ERC20 token

+ +
+
+ +
+
+
+
    +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let address: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var options: Web3Options
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + password + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var password: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasPrice: ERC20GasPrice { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Native implementation of ERC20 token

    +
    +

    Important

    + NOT main thread friendly + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ address: Address)
    + +
    +
    +
    +

    Return Value

    +

    full information for all pending and queued transactions

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ address: Address, from: Address, password: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + name() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func name() throws -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + symbol() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func symbol() throws -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + totalSupply() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func totalSupply() throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + decimals() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func decimals() throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + balance(of:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func balance(of user: Address) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + naturalBalance(of:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func naturalBalance(of user: Address) throws -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + allowance(from:to:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func allowance(from owner: Address, to spender: EthereumTransaction) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transfer(to:amount:) + +
    +
    +
    +
    +
    +
    +

    transfers to user (amount)

    +
    +

    Important

    + Transaction | Requires password | Contract owner only. + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transfer(to user: Address, amount: BigUInt) throws -> TransactionSendingResult
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + user + + +
    +

    recepient address

    +
    +
    + + amount + + +
    +

    amount in wei to send. If you want to send 1 token (not 0.00000000001) use NaturalUnits(amount) instead

    +
    +
    +
    +
    +

    Return Value

    +

    TransactionSendingResult

    +
    +
    +
    +
  • +
  • +
    + + + + approve(to:amount:) + +
    +
    +
    +
    +
    +
    +

    approves user to take (amount) tokens from your account +NaturalUnits is user readable representaion of tokens (like 0.01 / 1.543634)

    +
    +

    Important

    + Transaction | Requires password + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func approve(to user: Address, amount: BigUInt) throws -> TransactionSendingResult
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + user + + +
    +

    recepient address

    +
    +
    + + amount + + +
    +

    amount in wei to send. If you want to send 1 token (not 0.00000000001) use NaturalUnits(amount) instead

    +
    +
    +
    +
    +

    Return Value

    +

    TransactionSendingResult

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    transfers from user1 to user2 +NaturalUnits is user readable representaion of tokens (like 0.01 / 1.543634)

    +
    +

    Important

    + Transaction | Requires password | Contract owner only. +ERC20(address, from: me).transfer(to: user, amount: NaturalUnits(0.1)) is not the same as +ERC20(address).transferFrom(owner: me, to: user, amount: NaturalUnits(0.1)) + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transferFrom(owner: Address, to: Address, amount: BigUInt) throws -> TransactionSendingResult
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + user + + +
    +

    recepient address

    +
    +
    + + amount + + +
    +

    amount in wei to send. If you want to send 1 token (not 0.00000000001) use NaturalUnits(amount) instead

    +
    +
    +
    +
    +

    Return Value

    +

    TransactionSendingResult

    +
    +
    +
    +
  • +
  • +
    + + + + transfer(to:amount:) + +
    +
    +
    +
    +
    +
    +

    transfers to user (amount) +NaturalUnits is user readable representaion of tokens (like 0.01 / 1.543634)

    +
    +

    Important

    + Transaction | Requires password | Contract owner only. + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transfer(to user: Address, amount: NaturalUnits) throws -> TransactionSendingResult
    + +
    +
    +
    +

    Return Value

    +

    TransactionSendingResult

    +
    +
    +
    +
  • +
  • +
    + + + + approve(to:amount:) + +
    +
    +
    +
    +
    +
    +

    approves user to take (amount) tokens from your account +NaturalUnits is user readable representaion of tokens (like 0.01 / 1.543634)

    +
    +

    Important

    + Transaction | Requires password + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func approve(to user: Address, amount: NaturalUnits) throws -> TransactionSendingResult
    + +
    +
    +
    +

    Return Value

    +

    TransactionSendingResult

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    transfers from user1 to user2 +NaturalUnits is user readable representaion of tokens (like 0.01 / 1.543634)

    +
    +

    Important

    + Transaction | Requires password | Contract owner only. +ERC20(address, from: me).transfer(to: user, amount: NaturalUnits(0.1)) is not the same as +ERC20(address).transferFrom(owner: me, to: user, amount: NaturalUnits(0.1)) + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transferFrom(owner: Address, to: Address, amount: NaturalUnits) throws -> TransactionSendingResult
    + +
    +
    +
    +

    Return Value

    +

    TransactionSendingResult

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/ERC721.html b/Documentation/Classes/ERC721.html new file mode 100644 index 00000000..72725a97 --- /dev/null +++ b/Documentation/Classes/ERC721.html @@ -0,0 +1,1047 @@ + + + + ERC721 Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ERC721

+
+
+
public class ERC721
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let address: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasPrice: ERC721GasPrice { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var options: Web3Options
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + password + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var password: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ address: Address)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ address: Address, from: Address, password: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + balance(of:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func balance(of user: Address) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + owner(of:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func owner(of token: BigUInt) throws -> Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + approve(to:token:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func approve(to user: Address, token: BigUInt) throws -> TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + approved(for:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func approved(for token: BigUInt) throws -> Address
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func setApproveForAll(operator: Address, approved: Bool) throws -> TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isApprovedForAll(owner: Address, operator: Address) throws -> Bool
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transfer(from: Address, to: Address, token: BigUInt) throws -> TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func safeTransfer(from: Address, to: Address, token: BigUInt) throws -> TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/ERC777.html b/Documentation/Classes/ERC777.html new file mode 100644 index 00000000..b847e9ae --- /dev/null +++ b/Documentation/Classes/ERC777.html @@ -0,0 +1,1128 @@ + + + + ERC777 Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ERC777

+
+
+
public class ERC777
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/EthURL.html b/Documentation/Classes/EthURL.html new file mode 100644 index 00000000..8517cb68 --- /dev/null +++ b/Documentation/Classes/EthURL.html @@ -0,0 +1,940 @@ + + + + EthURL Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EthURL

+
+
+
public class EthURL
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isPay + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isPay: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + targetAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var targetAddress: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chainId + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var chainId: BigInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + functionName + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var functionName: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parameters + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parameters: [String : String]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var string: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + url + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var url: URL { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(address:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(address: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(string:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(string: String) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/EthURL/Error.html b/Documentation/Classes/EthURL/Error.html new file mode 100644 index 00000000..ed6de8c3 --- /dev/null +++ b/Documentation/Classes/EthURL/Error.html @@ -0,0 +1,804 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + wrongScheme + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case wrongScheme
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addressCorrupted + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case addressCorrupted
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hostCorrupted + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case hostCorrupted
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + userCorrupted + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case userCorrupted
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + notURL + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notURL
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/EthereumKeystoreV3.html b/Documentation/Classes/EthereumKeystoreV3.html new file mode 100644 index 00000000..d0d29f4b --- /dev/null +++ b/Documentation/Classes/EthereumKeystoreV3.html @@ -0,0 +1,994 @@ + + + + EthereumKeystoreV3 Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EthereumKeystoreV3

+
+
+
public class EthereumKeystoreV3 : AbstractKeystore
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + getAddress() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getAddress() -> Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addresses + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var addresses: [Address] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isHDKeystore + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isHDKeystore: Bool
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    throws AbstractKeystoreError.invalidPasswordError +throws AbstractKeystoreError.invalidAccountError

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func UNSAFE_getPrivateKeyData(password: String, account: Address) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + keystoreParams + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var keystoreParams: KeystoreParamsV3?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init?(_ jsonString: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init?(_ jsonData: Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ keystoreParams: KeystoreParamsV3)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init? (password: String = "BANKEXFOUNDATION", aesMode: String = "aes-128-cbc") throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init? (privateKey: Data, password: String = "BANKEXFOUNDATION", aesMode: String = "aes-128-cbc") throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func regenerate(oldPassword: String, newPassword: String, dkLen _: Int = 32, N _: Int = 4096, R _: Int = 6, P _: Int = 1) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + serialize() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func serialize() throws -> Data?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/HDNode.html b/Documentation/Classes/HDNode.html new file mode 100644 index 00000000..ea7f8ffa --- /dev/null +++ b/Documentation/Classes/HDNode.html @@ -0,0 +1,1351 @@ + + + + HDNode Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HDNode

+
+
+
public class HDNode
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + HDversion + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct HDversion
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + path + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var path: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + privateKey + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var privateKey: Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + publicKey + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var publicKey: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chaincode + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var chaincode: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + depth + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var depth: UInt8
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parentFingerprint + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parentFingerprint: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + childNumber + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var childNumber: UInt32
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isHardened + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isHardened: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + index + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var index: UInt32 { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hasPrivate + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var hasPrivate: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init?(_ serializedString: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ data: Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(seed:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(seed: Data) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + defaultPath + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var defaultPath: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + defaultPathPrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var defaultPathPrefix: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + defaultPathMetamask + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var defaultPathMetamask: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var defaultPathMetamaskPrefix: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hardenedIndexPrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var hardenedIndexPrefix: UInt32
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/HDNode/DeriveError.html b/Documentation/Classes/HDNode/DeriveError.html new file mode 100644 index 00000000..8631b379 --- /dev/null +++ b/Documentation/Classes/HDNode/DeriveError.html @@ -0,0 +1,804 @@ + + + + DeriveError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

DeriveError

+
+
+
public enum DeriveError : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + providePrivateKey + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case providePrivateKey
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + indexIsTooBig + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case indexIsTooBig
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + depthIsTooBig + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case depthIsTooBig
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noHardenedDerivation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noHardenedDerivation
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case pathComponentsShouldBeConvertableToNumber
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/HDNode/Error.html b/Documentation/Classes/HDNode/Error.html new file mode 100644 index 00000000..56965929 --- /dev/null +++ b/Documentation/Classes/HDNode/Error.html @@ -0,0 +1,750 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + invalidSeedSize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidSeedSize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidEntropySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidEntropySize
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidPublicKeyPrefix
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/HDNode/HDversion.html b/Documentation/Classes/HDNode/HDversion.html new file mode 100644 index 00000000..58cbab69 --- /dev/null +++ b/Documentation/Classes/HDNode/HDversion.html @@ -0,0 +1,750 @@ + + + + HDversion Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HDversion

+
+
+
public struct HDversion
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + privatePrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var privatePrefix: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + publicPrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var publicPrefix: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/HDPath.html b/Documentation/Classes/HDPath.html new file mode 100644 index 00000000..3571ea9b --- /dev/null +++ b/Documentation/Classes/HDPath.html @@ -0,0 +1,1156 @@ + + + + HDPath Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HDPath

+
+
+
public class HDPath : ExpressibleByStringLiteral
+ +
+
+

Can be used to check if HDPath is valid

+ +
+
+ +
+
+
+
    +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var `default`: HDPath
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + defaultPrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var defaultPrefix: HDPath
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metamask + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var metamask: HDPath
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metamaskPrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var metamaskPrefix: HDPath
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hardenedIndexPrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var hardenedIndexPrefix: UInt32
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Component + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Component : CustomStringConvertible
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + m + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var m: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + components + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public private(set) var components: [Component]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parent + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parent: HDPath?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + StringLiteralType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias StringLiteralType = String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(stringLiteral:) + +
    +
    +
    +
    +
    +
    +

    unsafe init with string. this one will crash if something goes wrong

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public required init(stringLiteral value: StringLiteralType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(path:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(path: String) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(m:components:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(m: Bool = true, components: [Component])
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func append(index: UInt32, hardened: Bool)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func appending(index: UInt32, hardened: Bool) -> HDPath
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/HDPath/Component.html b/Documentation/Classes/HDPath/Component.html new file mode 100644 index 00000000..a5b47250 --- /dev/null +++ b/Documentation/Classes/HDPath/Component.html @@ -0,0 +1,749 @@ + + + + Component Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Component

+
+
+
public struct Component : CustomStringConvertible
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + index + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var index: UInt32
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isHardened + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isHardened: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/HDPath/Error.html b/Documentation/Classes/HDPath/Error.html new file mode 100644 index 00000000..3484bf20 --- /dev/null +++ b/Documentation/Classes/HDPath/Error.html @@ -0,0 +1,723 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + corrupted(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case corrupted(String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + localizedDescription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var localizedDescription: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/InfuraProvider.html b/Documentation/Classes/InfuraProvider.html new file mode 100644 index 00000000..b73309e7 --- /dev/null +++ b/Documentation/Classes/InfuraProvider.html @@ -0,0 +1,696 @@ + + + + InfuraProvider Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

InfuraProvider

+
+
+
public final class InfuraProvider : Web3HttpProvider
+ +
+
+

Custom Web3 HTTP provider of Infura nodes.

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/JsonRpcRequestDispatcher.html b/Documentation/Classes/JsonRpcRequestDispatcher.html new file mode 100644 index 00000000..b67a1a7a --- /dev/null +++ b/Documentation/Classes/JsonRpcRequestDispatcher.html @@ -0,0 +1,778 @@ + + + + JsonRpcRequestDispatcher Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcRequestDispatcher

+
+
+
public class JsonRpcRequestDispatcher
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + MAX_WAIT_TIME + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var MAX_WAIT_TIME: TimeInterval
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + policy + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var policy: DispatchPolicy
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + queue + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var queue: DispatchQueue
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DispatchPolicy + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum DispatchPolicy
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/JsonRpcRequestDispatcher/DispatchPolicy.html b/Documentation/Classes/JsonRpcRequestDispatcher/DispatchPolicy.html new file mode 100644 index 00000000..21b89688 --- /dev/null +++ b/Documentation/Classes/JsonRpcRequestDispatcher/DispatchPolicy.html @@ -0,0 +1,723 @@ + + + + DispatchPolicy Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

DispatchPolicy

+
+
+
public enum DispatchPolicy
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Batch(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case Batch(Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + NoBatching + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case NoBatching
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/KeystoreManager.html b/Documentation/Classes/KeystoreManager.html new file mode 100644 index 00000000..d1cbf8ca --- /dev/null +++ b/Documentation/Classes/KeystoreManager.html @@ -0,0 +1,1047 @@ + + + + KeystoreManager Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

KeystoreManager

+
+
+
public class KeystoreManager : AbstractKeystore
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + isHDKeystore + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isHDKeystore: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addresses + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var addresses: [Address] { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func UNSAFE_getPrivateKeyData(password: String, account: Address) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + all + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var all: [KeystoreManager]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var `default`: KeystoreManager? { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func managerForPath(_ path: String, scanForHDwallets: Bool = false, suffix: String? = nil) -> KeystoreManager?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + path + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var path: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + walletForAddress(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func walletForAddress(_ address: Address) -> AbstractKeystore?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + keystores + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var keystores: [EthereumKeystoreV3] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bip32keystores + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var bip32keystores: [BIP32Keystore] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + plainKeystores + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var plainKeystores: [PlainKeystore] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ keystores: [EthereumKeystoreV3])
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ keystores: [BIP32Keystore])
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ keystores: [PlainKeystore])
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Mnemonics.html b/Documentation/Classes/Mnemonics.html new file mode 100644 index 00000000..aabc7474 --- /dev/null +++ b/Documentation/Classes/Mnemonics.html @@ -0,0 +1,1000 @@ + + + + Mnemonics Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Mnemonics

+
+
+
public class Mnemonics
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EntropyError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum EntropyError : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let string: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + language + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let language: BIP39Language
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + entropy + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var entropy: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + password + +
    +
    +
    +
    +
    +
    +

    Mnemonics password affects on privateKey generation +WARNING: User cannot use mnemonics generated with password in metamask or some other services that doesn’t support mnemonics password +With different password you will generate different address

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var password: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + seed(from:password:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func seed(from mnemonics: String, password: String) -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:language:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ string: String, language: BIP39Language = .english) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(entropySize: EntropySize = .b256, language: BIP39Language = .english)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(entropy: Data, language: BIP39Language = .english) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + seed() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func seed() -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Mnemonics/EntropyError.html b/Documentation/Classes/Mnemonics/EntropyError.html new file mode 100644 index 00000000..c9582018 --- /dev/null +++ b/Documentation/Classes/Mnemonics/EntropyError.html @@ -0,0 +1,804 @@ + + + + EntropyError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EntropyError

+
+
+
public enum EntropyError : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + notEnoughtWords + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notEnoughtWords
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidNumberOfWords + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidNumberOfWords
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + wordNotFound(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case wordNotFound(String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidOrderOfWords + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidOrderOfWords
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + checksumFailed(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case checksumFailed(String, String)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Mnemonics/Error.html b/Documentation/Classes/Mnemonics/Error.html new file mode 100644 index 00000000..d0de0fdb --- /dev/null +++ b/Documentation/Classes/Mnemonics/Error.html @@ -0,0 +1,696 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + invalidEntropySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidEntropySize
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/PlainKeystore.html b/Documentation/Classes/PlainKeystore.html new file mode 100644 index 00000000..82df23b4 --- /dev/null +++ b/Documentation/Classes/PlainKeystore.html @@ -0,0 +1,804 @@ + + + + PlainKeystore Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

PlainKeystore

+
+
+
public class PlainKeystore : AbstractKeystore
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + addresses + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var addresses: [Address]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isHDKeystore + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isHDKeystore: Bool
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func UNSAFE_getPrivateKeyData(password _: String = "", account _: Address) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(privateKey:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init(privateKey: String) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(privateKey:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(privateKey: Data) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityFunction.html b/Documentation/Classes/SolidityFunction.html new file mode 100644 index 00000000..27c776b0 --- /dev/null +++ b/Documentation/Classes/SolidityFunction.html @@ -0,0 +1,926 @@ + + + + SolidityFunction Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityFunction

+
+
+
public class SolidityFunction : CustomStringConvertible
+ +
+
+

Converts: + balanceOf(address) + transfer(address,address,uint256) + transfer(address, address, uint256) + transfer(address, address, uint256) + transfer (address, address, uint) + transfer ( address , address , uint256 ) +To: + function.name: String + function.types: [SolidityType]

+ +

Mainthread-friendly +Performance: + transfer(uint256,address) // ~184k ops + transfer(uint256,address,address,bytes32,uint256[32]) // performance ~100k ops

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + name + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let name: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + types + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let types: [SolidityType]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + function + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let function: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public lazy var hash: Data { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(function:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(function: String) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(_ arguments: SolidityDataRepresentable...) -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(_ arguments: [SolidityDataRepresentable]) -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityFunction/Error.html b/Documentation/Classes/SolidityFunction/Error.html new file mode 100644 index 00000000..48033b6d --- /dev/null +++ b/Documentation/Classes/SolidityFunction/Error.html @@ -0,0 +1,723 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + corrupted + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case corrupted
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + emptyFunctionName + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case emptyFunctionName
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityType.html b/Documentation/Classes/SolidityType.html new file mode 100644 index 00000000..aa6957d9 --- /dev/null +++ b/Documentation/Classes/SolidityType.html @@ -0,0 +1,1331 @@ + + + + SolidityType Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityType

+
+
+
public class SolidityType : Equatable, CustomStringConvertible
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + isStatic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isStatic: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isArray + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isArray: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isTuple + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isTuple: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + arraySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var arraySize: ArraySize { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtype + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subtype: SolidityType? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + memoryUsage + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var memoryUsage: Int { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var `default`: Data { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isSupported + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isSupported: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ==(_:_:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func == (lhs: SolidityType, rhs: SolidityType) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityUInt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityUInt : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityInt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityInt : SolidityUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityAddress : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityFunctionType + +
    +
    +
    +
    +
    +
    +

    Unsupported

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityFunctionType : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityBool + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityBool : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityBytes + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityBytes : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityStaticArray + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityStaticArray : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityDynamicBytes + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityDynamicBytes : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityString + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityString : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityDynamicArray + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityDynamicArray : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityTuple + +
    +
    +
    +
    +
    +
    +

    Unsupported

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityTuple : SolidityType
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + scan(type:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func scan(type string: String) throws -> SolidityType
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityType/Error.html b/Documentation/Classes/SolidityType/Error.html new file mode 100644 index 00000000..f15b633e --- /dev/null +++ b/Documentation/Classes/SolidityType/Error.html @@ -0,0 +1,696 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + corrupted + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case corrupted
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityType/SolidityAddress.html b/Documentation/Classes/SolidityType/SolidityAddress.html new file mode 100644 index 00000000..3edadd20 --- /dev/null +++ b/Documentation/Classes/SolidityType/SolidityAddress.html @@ -0,0 +1,696 @@ + + + + SolidityAddress Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityAddress

+
+
+
public class SolidityAddress : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityType/SolidityBool.html b/Documentation/Classes/SolidityType/SolidityBool.html new file mode 100644 index 00000000..842063ba --- /dev/null +++ b/Documentation/Classes/SolidityType/SolidityBool.html @@ -0,0 +1,696 @@ + + + + SolidityBool Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityBool

+
+
+
public class SolidityBool : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityType/SolidityBytes.html b/Documentation/Classes/SolidityType/SolidityBytes.html new file mode 100644 index 00000000..cadd9d82 --- /dev/null +++ b/Documentation/Classes/SolidityType/SolidityBytes.html @@ -0,0 +1,723 @@ + + + + SolidityBytes Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityBytes

+
+
+
public class SolidityBytes : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityType/SolidityDynamicArray.html b/Documentation/Classes/SolidityType/SolidityDynamicArray.html new file mode 100644 index 00000000..8bd80cfe --- /dev/null +++ b/Documentation/Classes/SolidityType/SolidityDynamicArray.html @@ -0,0 +1,858 @@ + + + + SolidityDynamicArray Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityDynamicArray

+
+
+
public class SolidityDynamicArray : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + memoryUsage + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var memoryUsage: Int { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isStatic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isStatic: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isArray + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isArray: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtype + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var subtype: SolidityType? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + arraySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var arraySize: ArraySize { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityType/SolidityDynamicBytes.html b/Documentation/Classes/SolidityType/SolidityDynamicBytes.html new file mode 100644 index 00000000..983b491e --- /dev/null +++ b/Documentation/Classes/SolidityType/SolidityDynamicBytes.html @@ -0,0 +1,750 @@ + + + + SolidityDynamicBytes Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityDynamicBytes

+
+
+
public class SolidityDynamicBytes : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + memoryUsage + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var memoryUsage: Int { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isStatic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isStatic: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityType/SolidityFunctionType.html b/Documentation/Classes/SolidityType/SolidityFunctionType.html new file mode 100644 index 00000000..40599d40 --- /dev/null +++ b/Documentation/Classes/SolidityType/SolidityFunctionType.html @@ -0,0 +1,723 @@ + + + + SolidityFunctionType Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityFunctionType

+
+
+
public class SolidityFunctionType : SolidityType
+ +
+
+

Unsupported

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isSupported + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isSupported: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityType/SolidityInt.html b/Documentation/Classes/SolidityType/SolidityInt.html new file mode 100644 index 00000000..5a7aa07d --- /dev/null +++ b/Documentation/Classes/SolidityType/SolidityInt.html @@ -0,0 +1,696 @@ + + + + SolidityInt Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityInt

+
+
+
public class SolidityInt : SolidityUInt
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityType/SolidityStaticArray.html b/Documentation/Classes/SolidityType/SolidityStaticArray.html new file mode 100644 index 00000000..b5a8f04c --- /dev/null +++ b/Documentation/Classes/SolidityType/SolidityStaticArray.html @@ -0,0 +1,858 @@ + + + + SolidityStaticArray Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityStaticArray

+
+
+
public class SolidityStaticArray : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isStatic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isStatic: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isArray + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isArray: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtype + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var subtype: SolidityType? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + arraySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var arraySize: ArraySize { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + memoryUsage + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var memoryUsage: Int { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityType/SolidityString.html b/Documentation/Classes/SolidityType/SolidityString.html new file mode 100644 index 00000000..d8677a38 --- /dev/null +++ b/Documentation/Classes/SolidityType/SolidityString.html @@ -0,0 +1,750 @@ + + + + SolidityString Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityString

+
+
+
public class SolidityString : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isStatic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isStatic: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + memoryUsage + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var memoryUsage: Int { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityType/SolidityTuple.html b/Documentation/Classes/SolidityType/SolidityTuple.html new file mode 100644 index 00000000..8fdd74c8 --- /dev/null +++ b/Documentation/Classes/SolidityType/SolidityTuple.html @@ -0,0 +1,831 @@ + + + + SolidityTuple Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityTuple

+
+
+
public class SolidityTuple : SolidityType
+ +
+
+

Unsupported

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isStatic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isStatic: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isTuple + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isTuple: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isSupported + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isSupported: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + memoryUsage + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var memoryUsage: Int { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/SolidityType/SolidityUInt.html b/Documentation/Classes/SolidityType/SolidityUInt.html new file mode 100644 index 00000000..28088c29 --- /dev/null +++ b/Documentation/Classes/SolidityType/SolidityUInt.html @@ -0,0 +1,723 @@ + + + + SolidityUInt Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityUInt

+
+
+
public class SolidityUInt : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/TxPool.html b/Documentation/Classes/TxPool.html new file mode 100644 index 00000000..e37308a3 --- /dev/null +++ b/Documentation/Classes/TxPool.html @@ -0,0 +1,862 @@ + + + + TxPool Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TxPool

+
+
+
public class TxPool
+ +
+
+

Native realisation of txpool

+
+

Important

+ Doesn’t works with Infura provider + +
+ +
+
+ +
+
+
+
    +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +
    +

    Important

    + Doesn’t works with Infura provider + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var `default`: TxPool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(web3:) + +
    +
    +
    +
    +
    +
    +
    +

    Important

    + Doesn’t works with Infura provider + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(web3: Web3)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + status() + +
    +
    +
    +
    +
    +
    +
    +

    Important

    + Doesn’t works with Infura provider | main thread friendly + +
    +
    +

    Throws

    + DictionaryReader.Error if server has different response than expected | +Web3Error.nodeError for node error | +Any URLSession.dataTask Error + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func status() -> Promise<TxPoolStatus>
    + +
    +
    +
    +

    Return Value

    +

    number of pending and queued transactions

    +
    +
    +
    +
  • +
  • +
    + + + + inspect() + +
    +
    +
    +
    +
    +
    +
    +

    Important

    + Doesn’t works with Infura provider | main thread friendly + +
    +
    +

    Throws

    + DictionaryReader.Error if server has different response than expected | +Web3Error.nodeError for node error | +Any URLSession.dataTask Error + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func inspect() -> Promise<TxPoolInspect>
    + +
    +
    +
    +

    Return Value

    +

    main information about pending and queued transactions

    +
    +
    +
    +
  • +
  • +
    + + + + content() + +
    +
    +
    +
    +
    +
    +
    +

    Important

    + Doesn’t works with Infura provider | main thread friendly + +
    +
    +

    Throws

    + DictionaryReader.Error if server has different response than expected | +Web3Error.nodeError for node error | +Any URLSession.dataTask Error + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func content() -> Promise<TxPoolContent>
    + +
    +
    +
    +

    Return Value

    +

    full information for all pending and queued transactions

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3.html b/Documentation/Classes/Web3.html new file mode 100644 index 00000000..6b7fc8f1 --- /dev/null +++ b/Documentation/Classes/Web3.html @@ -0,0 +1,1534 @@ + + + + Web3 Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3

+
+
+
public class Web3 : Web3OptionsInheritable
+ +
+
+

A web3 instance bound to provider. All further functionality is provided under web.*. namespaces.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var `default`: Web3
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + provider + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var provider: Web3Provider
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var options: Web3Options
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + defaultBlock + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var defaultBlock: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + requestDispatcher + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var requestDispatcher: JsonRpcRequestDispatcher
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + txpool + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var txpool: TxPool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dispatch(_:) + +
    +
    +
    +
    +
    +
    +

    Add a provider request to the dispatch queue.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func dispatch(_ request: JsonRpcRequest) -> Promise<JsonRpcResponse>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Raw initializer using a Web3Provider protocol object, dispatch queue and request dispatcher.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(provider prov: Web3Provider, queue _: OperationQueue? = nil, requestDispatcher: JsonRpcRequestDispatcher? = nil)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Keystore manager can be bound to Web3 instance. If some manager is bound all further account related functions, such +as account listing, transaction signing, etc. are done locally using private keys and accounts found in a manager.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func addKeystoreManager(_ manager: KeystoreManager?)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + eth + +
    +
    +
    +
    +
    +
    +

    Public web3.eth.* namespace.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public lazy var eth: Web3.Eth { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Eth + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Eth : Web3OptionsInheritable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + personal + +
    +
    +
    +
    +
    +
    +

    Public web3.personal.* namespace.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public lazy var personal: Web3.Personal { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Personal + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Personal : Web3OptionsInheritable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + wallet + +
    +
    +
    +
    +
    +
    +

    Public web3.wallet.* namespace.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public lazy var wallet: Web3.Web3Wallet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Web3Wallet + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Web3Wallet
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + browserFunctions + +
    +
    +
    +
    +
    +
    +

    Public web3.browserFunctions.* namespace.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public lazy var browserFunctions: Web3.BrowserFunctions { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BrowserFunctions + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class BrowserFunctions : Web3OptionsInheritable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Units + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    typealias Units = Web3Units
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Utils + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    typealias Utils = Web3Utils
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + new(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func new(_ providerURL: URL) -> Web3?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialized Web3 instance bound to Infura’s mainnet provider.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @available(*, deprecated: 2.0, message: "use Web3(infura: .mainnet, accessToken: String?﹚")
    +static func InfuraMainnetWeb3(accessToken: String? = nil) -> Web3
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialized Web3 instance bound to Infura’s rinkeby provider.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @available(*, deprecated: 2.0, message: "use Web3(infura: .rinkeby, accessToken: String?﹚")
    +static func InfuraRinkebyWeb3(accessToken: String? = nil) -> Web3
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialized Web3 instance bound to Infura’s ropsten provider.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @available(*, deprecated: 2.0, message: "use Web3(infura: .ropsten, accessToken: String?﹚")
    +static func InfuraRopstenWeb3(accessToken: String? = nil) -> Web3
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + EIP67Code + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EIP67Code
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EIP67CodeGenerator + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EIP67CodeGenerator
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EIP67CodeParser + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EIP67CodeParser
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + contract(_:at:) + +
    +
    +
    +
    +
    +
    +

    The contract instance. Initialized in runtime from ABI string (that is a JSON array). In addition an existing contract address can be supplied to provide the default to address in all the following requests. ABI version is 2 by default and should not be changed.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func contract(_ abiString: String, at: Address? = nil) throws -> Web3Contract
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + local(port:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func local(port: Int = 8545) throws -> Web3
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(infura:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    convenience init(infura networkId: NetworkId)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    convenience init(infura networkId: NetworkId, accessToken: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(url:) + +
    +
    +
    +
    +
    +
    +

    Initialized provider-bound Web3 instance using a provider’s URL. Under the hood it performs a synchronous call to get +the Network ID for EIP155 purposes

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    convenience init?(url: URL)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3/BrowserFunctions.html b/Documentation/Classes/Web3/BrowserFunctions.html new file mode 100644 index 00000000..0f3ba80a --- /dev/null +++ b/Documentation/Classes/Web3/BrowserFunctions.html @@ -0,0 +1,1160 @@ + + + + BrowserFunctions Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

BrowserFunctions

+
+
+
public class BrowserFunctions : Web3OptionsInheritable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
    +
  • +
    + + + + getAccounts() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getAccounts() -> [String]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getCoinbase() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getCoinbase() -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func personalSign(_ personalMessage: String, account: String, password: String = "BANKEXFOUNDATION") -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sign(_ personalMessage: String, account: String, password: String = "BANKEXFOUNDATION") -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sign(_ personalMessage: Data, account: String, password: String = "BANKEXFOUNDATION") -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func personalECRecover(_ personalMessage: String, signature: String) throws -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func personalECRecover(_ personalMessage: Data, signature: Data) throws -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sendTransaction(_ json: [String: Any], password: String = "BANKEXFOUNDATION") throws -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sendTransaction(_ transaction: EthereumTransaction, options: Web3Options, password: String = "BANKEXFOUNDATION") throws -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + estimateGas(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func estimateGas(_ json: [String : Any]) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func estimateGas(_ transaction: EthereumTransaction, options: Web3Options) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func prepareTxForApproval(_ json: [String : Any]) throws -> (transaction: EthereumTransaction, options: Web3Options)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransactionError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TransactionError : Error
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func prepareTxForApproval(_ trans: EthereumTransaction, options opts: Web3Options) throws -> (transaction: EthereumTransaction, options: Web3Options)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func signTransaction(_ json: [String: Any], password: String = "BANKEXFOUNDATION") throws -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func signTransaction(_ trans: EthereumTransaction, options: Web3Options, password: String = "BANKEXFOUNDATION") throws -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3/BrowserFunctions/TransactionError.html b/Documentation/Classes/Web3/BrowserFunctions/TransactionError.html new file mode 100644 index 00000000..e050cde9 --- /dev/null +++ b/Documentation/Classes/Web3/BrowserFunctions/TransactionError.html @@ -0,0 +1,777 @@ + + + + TransactionError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionError

+
+
+
public enum TransactionError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + optionsFromNotFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case optionsFromNotFound
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case keystoreManagerNotFound
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case privateKeyNotFound(forAddress: Address)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotEncodeTransaction
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3/EIP67Code.html b/Documentation/Classes/Web3/EIP67Code.html new file mode 100644 index 00000000..7ba2357a --- /dev/null +++ b/Documentation/Classes/Web3/EIP67Code.html @@ -0,0 +1,914 @@ + + + + EIP67Code Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EIP67Code

+
+
+
public struct EIP67Code
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var address: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasLimit + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasLimit: BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + amount + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var amount: BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + data + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var data: Web3.EIP67Code.DataType?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum DataType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Function + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Function
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(address:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(address: Address)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toString() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func toString() -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toImage(scale:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func toImage(scale: Double = 1.0) -> CIImage
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3/EIP67Code/DataType.html b/Documentation/Classes/Web3/EIP67Code/DataType.html new file mode 100644 index 00000000..f3ccb55c --- /dev/null +++ b/Documentation/Classes/Web3/EIP67Code/DataType.html @@ -0,0 +1,723 @@ + + + + DataType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

DataType

+
+
+
public enum DataType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + data(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case data(Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + function(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case function(Function)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3/EIP67Code/Function.html b/Documentation/Classes/Web3/EIP67Code/Function.html new file mode 100644 index 00000000..8ce11495 --- /dev/null +++ b/Documentation/Classes/Web3/EIP67Code/Function.html @@ -0,0 +1,750 @@ + + + + Function Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Function

+
+
+
public struct Function
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var method: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parameters + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parameters: [(ABIv2.Element.ParameterType, AnyObject)]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toString() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func toString() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3/EIP67CodeGenerator.html b/Documentation/Classes/Web3/EIP67CodeGenerator.html new file mode 100644 index 00000000..eeb48a3b --- /dev/null +++ b/Documentation/Classes/Web3/EIP67CodeGenerator.html @@ -0,0 +1,696 @@ + + + + EIP67CodeGenerator Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EIP67CodeGenerator

+
+
+
public struct EIP67CodeGenerator
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func createImage(from: EIP67Code, scale: Double = 1.0) -> CIImage
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3/EIP67CodeParser.html b/Documentation/Classes/Web3/EIP67CodeParser.html new file mode 100644 index 00000000..641f2cb2 --- /dev/null +++ b/Documentation/Classes/Web3/EIP67CodeParser.html @@ -0,0 +1,723 @@ + + + + EIP67CodeParser Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EIP67CodeParser

+
+
+
public struct EIP67CodeParser
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + parse(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func parse(_ data: Data) -> EIP67Code?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parse(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func parse(_ string: String) -> EIP67Code?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3/Eth.html b/Documentation/Classes/Web3/Eth.html new file mode 100644 index 00000000..9c0c2923 --- /dev/null +++ b/Documentation/Classes/Web3/Eth.html @@ -0,0 +1,1617 @@ + + + + Eth Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Eth

+
+
+
public class Eth : Web3OptionsInheritable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
    +
  • +
    + + + + getAccountsPromise() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getAccountsPromise() -> Promise<[Address]>
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBalancePromise(address: Address, onBlock: String = "latest") -> Promise<BigUInt>
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBlockNumberPromise() -> Promise<BigUInt>
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + getGasPricePromise() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getGasPricePromise() -> Promise<BigUInt>
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+ +
+
+ +
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Send an EthereumTransaction object to the network. Transaction is either signed locally if there is a KeystoreManager +object bound to the web3 instance, or sent unsigned to the node. For local signing the password is required.

    + +

    options object can override the to, gasPrice, gasLimit and value parameters is pre-formed transaction. +from field in options is mandatory for both local and remote signing.

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sendTransaction(_ transaction: EthereumTransaction, options: Web3Options, password: String = "BANKEXFOUNDATION") throws -> TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Send raw Ethereum transaction data to the network.

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sendRawTransaction(_ transaction: Data) throws -> TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Send raw Ethereum transaction data to the network by first serializing the EthereumTransaction object.

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sendRawTransaction(_ transaction: EthereumTransaction) throws -> TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns a total number of transactions sent by the particular Ethereum address.

    + +

    onBlock field determines if value is returned based on the state of a blockchain on the latest mined block (latest) +or the expected state after all the transactions in memory pool are applied (pending).

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getTransactionCount(address: Address, onBlock: String = "latest") throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns a balance of particular Ethereum address in Wei units (1 ETH = 10^18 Wei).

    + +

    onString field determines if value is returned based on the state of a blockchain on the latest mined block (latest) +or the expected state after all the transactions in memory pool are applied (pending).

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBalance(address: Address, onBlock: String = "latest") throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getBlockNumber() + +
    +
    +
    +
    +
    +
    +

    Returns a block number of the last mined block that Ethereum node knows about.

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBlockNumber() throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getGasPrice() + +
    +
    +
    +
    +
    +
    +

    Returns a current gas price in the units of Wei. The node has internal algorithms for averaging over the last few blocks.

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getGasPrice() throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns transaction details for particular transaction hash. Details indicate position of the transaction in a particular block, +as well as original transaction details such as value, gas limit, gas price, etc.

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getTransactionDetails(_ txhash: Data) throws -> TransactionDetails
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns transaction details for particular transaction hash. Details indicate position of the transaction in a particular block, +as well as original transaction details such as value, gas limit, gas price, etc.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getTransactionDetails(_ txhash: String) throws -> TransactionDetails
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns transaction receipt for particular transaction hash. Receipt indicate what has happened when the transaction +was included in block, so it contains logs and status, such as succesful or failed transaction.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getTransactionReceipt(_ txhash: Data) throws -> TransactionReceipt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns transaction receipt for particular transaction hash. Receipt indicate what has happened when the transaction +was included in block, so it contains logs and status, such as succesful or failed transaction.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getTransactionReceipt(_ txhash: String) throws -> TransactionReceipt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Estimates a minimal amount of gas required to run a transaction. To do it the Ethereum node tries to run it and counts +how much gas it consumes for computations. Setting the transaction gas limit lower than the estimate will most likely +result in a failing transaction.

    + +

    onString field determines if value is returned based on the state of a blockchain on the latest mined block (latest) +or the expected state after all the transactions in memory pool are applied (pending).

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure. +Error can also indicate that transaction is invalid in the current state, so formally it’s gas limit is infinite. +An example of such transaction can be sending an amount of ETH that is larger than the current account balance.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func estimateGas(_ transaction: EthereumTransaction, options: Web3Options?, onBlock: String = "latest") throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getAccounts() + +
    +
    +
    +
    +
    +
    +

    Get a list of Ethereum accounts that a node knows about. +If one has attached a Keystore Manager to the web3 object it returns accounts known to the keystore.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getAccounts() throws -> [Address]
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get information about the particular block in Ethereum network. If fullTransactions parameter is set to true +this call fill do a virtual join and fetch not just transaction hashes from this block, +but full decoded EthereumTransaction objects.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBlockByHash(_ hash: String, fullTransactions: Bool = false) throws -> Block
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get information about the particular block in Ethereum network. If fullTransactions parameter is set to true +this call fill do a virtual join and fetch not just transaction hashes from this block, +but full decoded EthereumTransaction objects.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBlockByHash(_ hash: Data, fullTransactions: Bool = false) throws -> Block
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get information about the particular block in Ethereum network. If fullTransactions parameter is set to true +this call fill do a virtual join and fetch not just transaction hashes from this block, +but full decoded EthereumTransaction objects.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBlockByNumber(_ number: UInt64, fullTransactions: Bool = false) throws -> Block
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get information about the particular block in Ethereum network. If fullTransactions parameter is set to true +this call fill do a virtual join and fetch not just transaction hashes from this block, +but full decoded EthereumTransaction objects.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBlockByNumber(_ number: BigUInt, fullTransactions: Bool = false) throws -> Block
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get information about the particular block in Ethereum network. If fullTransactions parameter is set to true +this call fill do a virtual join and fetch not just transaction hashes from this block, +but full decoded EthereumTransaction objects.

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBlockByNumber(_ block: String, fullTransactions: Bool = false) throws -> Block
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Convenience wrapper to send Ethereum to another address. Internally it creates a virtual contract and encodes all the options and data.

    + +
      +
    • to: Address to send funds to
    • +
    • amount: BigUInt indicating the amount in wei
    • +
    • extraData: Additional data to attach to the transaction
    • +
    • options: Web3Options to override the default gas price, gas limit. Value field of the options is ignored and the amount parameter is used instead

    • +
    • TransactionIntermediate object

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sendETH(to: Address, amount: BigUInt, extraData: Data = Data(), options: Web3Options? = nil) throws -> TransactionIntermediate
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3/Personal.html b/Documentation/Classes/Web3/Personal.html new file mode 100644 index 00000000..cfbe9cd2 --- /dev/null +++ b/Documentation/Classes/Web3/Personal.html @@ -0,0 +1,881 @@ + + + + Personal Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Personal

+
+
+
public class Personal : Web3OptionsInheritable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Locally or remotely sign a message (arbitrary data) with the private key. To avoid potential signing of a transaction the message is first prepended by a special header and then hashed.

    +
  • message: Message Data
  • +
  • from: Use a private key that corresponds to this account
  • +
  • password: Password for account if signing locally

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func signPersonalMessage(message: Data, from: Address, password: String = "BANKEXFOUNDATION") throws -> Data
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Unlock an account on the remote node to be able to send transactions and sign messages.

    +
  • account: Address of the account to unlock
  • +
  • password: Password to use for the account
  • +
  • seconds: Time inteval before automatic account lock by Ethereum node

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous. Does nothing if private keys are stored locally.

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func unlockAccount(account: Address, password _: String = "BANKEXFOUNDATION", seconds _: UInt64 = 300) throws -> Bool
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Recovers a signer of some message. Message is first prepended by special prefix (check the signPersonalMessage method description) and then hashed.

    + +
      +
    • personalMessage: Message Data
    • +
    • signature: Serialized signature, 65 bytes

    • +
    • Result object

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func ecrecover(personalMessage: Data, signature: Data) throws -> Address
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Recovers a signer of some hash. Checking what is under this hash is on behalf of the user.

    + +
      +
    • hash: Signed hash
    • +
    • signature: Serialized signature, 65 bytes

    • +
    • Result object

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func ecrecover(hash: Data, signature: Data) throws -> Address
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3/Web3Wallet.html b/Documentation/Classes/Web3/Web3Wallet.html new file mode 100644 index 00000000..2c56a093 --- /dev/null +++ b/Documentation/Classes/Web3/Web3Wallet.html @@ -0,0 +1,839 @@ + + + + Web3Wallet Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Wallet

+
+
+
public class Web3Wallet
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
    +
  • +
    + + + + getAccounts() + +
    +
    +
    +
    +
    +
    +

    throws Web3WalletError.attachadKeystoreNotFound

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getAccounts() throws -> [Address]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getCoinbase() + +
    +
    +
    +
    +
    +
    +

    throws Web3WalletError.attachadKeystoreNotFound +throws Web3WalletError.noAccounts

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getCoinbase() throws -> Address
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    throws Web3WalletError.attachadKeystoreNotFound +throws AbstractKeystoreError +throws Error

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func signTX(transaction: inout EthereumTransaction, account: Address, password: String = "BANKEXFOUNDATION") throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    throws Web3WalletError.attachadKeystoreNotFound +throws

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func signPersonalMessage(_ personalMessage: String, account: Address, password: String = "BANKEXFOUNDATION") throws -> Data
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    throws SECP256K1Error

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func signPersonalMessage(_ personalMessage: Data, account: Address, password: String = "BANKEXFOUNDATION") throws -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3Contract.html b/Documentation/Classes/Web3Contract.html new file mode 100644 index 00000000..8db080c5 --- /dev/null +++ b/Documentation/Classes/Web3Contract.html @@ -0,0 +1,1036 @@ + + + + Web3Contract Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Contract

+
+
+
public class Web3Contract
+ +
+
+

Web3 instance bound contract instance.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var options: Web3Options
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialize the bound contract instance by supplying the Web3 provider bound object, ABI, Ethereum address and some default +options for further function calls. By default the contract inherits options from the web3 object. Additionally supplied options +do override inherited ones.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(web3 web3Instance: Web3, abiString: String, at: Address? = nil, options: Web3Options? = nil) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Deploys a constact instance using the previously provided (at initialization) ABI, some bytecode, constructor parameters and options. +If extraData is supplied it is appended to encoded bytecode and constructor parameters.

    + +

    Returns a Transaction intermediate object.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func deploy(bytecode: Data, args: Any..., extraData: Data = Data(), options: Web3Options?) throws -> TransactionIntermediate
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func deploy(bytecode: Data, parameters: [Any], extraData: Data = Data(), options: Web3Options?) throws -> TransactionIntermediate
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Creates and object responsible for calling a particular function of the contract. If method name is not found in ABI - returns nil. +If extraData is supplied it is appended to encoded function parameters. Can be usefull if one wants to call +the function not listed in ABI. Parameters should be an array corresponding to the list of parameters of the function. +Elements of parameters can be other arrays or instances of String, Data, BigInt, BigUInt, Int or Address.

    + +

    Returns a Transaction intermediate object.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func method(_ name: String = "fallback", args: Any..., extraData: Data = Data(), options: Web3Options?) throws -> TransactionIntermediate
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func method(_ method: String = "fallback", parameters: [Any], extraData: Data = Data(), options: Web3Options?) throws -> TransactionIntermediate
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parseEvent(_:) + +
    +
    +
    +
    +
    +
    +

    Parses an EventLog object by using a description from the contract’s ABI.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func parseEvent(_ eventLog: EventLog) -> (eventName: String?, eventData: [String : Any]?)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Creates an EventParserProtocol compliant object to use it for parsing particular block or transaction for events.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func createEventParser(_ eventName: String, filter: EventFilter?) -> EventParserProtocol?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + EventParser + +
    +
    +
    +
    +
    +
    +

    An event parser to fetch events produced by smart-contract related transactions. Should not be constructed manually, but rather by calling the corresponding function on the Web3Contract object.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EventParser : EventParserProtocol
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Fetches events by doing a lookup on indexed parameters of the event. Smart-contract developer can make some of event values indexed for such fast queries.

    +
  • eventName: Event name, should be present in ABI interface of the contract
  • +
  • filter: EventFilter object setting the block limits for query
  • +
  • joinWithReceipts: Bool indicating whether TransactionReceipt should be fetched separately for every matched transaction

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getIndexedEvents(eventName: String?, filter: EventFilter, joinWithReceipts: Bool = false) throws -> [EventParserResultProtocol]
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
    +
    +
    +
    +

    TransactionIntermediate is an almost-ready transaction or a smart-contract function call. It bears all the required information +to call the smart-contract and decode the returned information, or estimate gas required for transaction, or send a transaciton +to the blockchain.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class TransactionIntermediate
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3Contract/EventParser.html b/Documentation/Classes/Web3Contract/EventParser.html new file mode 100644 index 00000000..cf8dc105 --- /dev/null +++ b/Documentation/Classes/Web3Contract/EventParser.html @@ -0,0 +1,1041 @@ + + + + EventParser Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventParser

+
+
+
public struct EventParser : EventParserProtocol
+ +
+
+

An event parser to fetch events produced by smart-contract related transactions. Should not be constructed manually, but rather by calling the corresponding function on the Web3Contract object.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + contract + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var contract: ContractProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + eventName + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var eventName: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + filter + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var filter: EventFilter?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init? (web3 web3Instance: Web3, eventName: String, contract: ContractProtocol, filter: EventFilter? = nil)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Parses the block for events matching the EventParser settings.

    +
  • blockNumber: Ethereum network block number

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func parseBlockByNumber(_ blockNumber: UInt64) throws -> [EventParserResultProtocol]
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • +
    + + + + parseBlock(_:) + +
    +
    +
    +
    +
    +
    +

    Parses the block for events matching the EventParser settings.

    +
  • block: Native web3swift block object

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func parseBlock(_ block: Block) throws -> [EventParserResultProtocol]
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Parses the transaction for events matching the EventParser settings.

    +
  • hash: Transaction hash

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func parseTransactionByHash(_ hash: Data) throws -> [EventParserResultProtocol]
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • +
    + + + + parseTransaction(_:) + +
    +
    +
    +
    +
    +
    +

    Parses the transaction for events matching the EventParser settings.

    +
  • transaction: web3swift native EthereumTransaction object

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func parseTransaction(_ transaction: EthereumTransaction) throws -> [EventParserResultProtocol]
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3Contract/TransactionIntermediate.html b/Documentation/Classes/Web3Contract/TransactionIntermediate.html new file mode 100644 index 00000000..8da7d3df --- /dev/null +++ b/Documentation/Classes/Web3Contract/TransactionIntermediate.html @@ -0,0 +1,965 @@ + + + + TransactionIntermediate Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionIntermediate

+
+
+
public class TransactionIntermediate
+ +
+
+

TransactionIntermediate is an almost-ready transaction or a smart-contract function call. It bears all the required information +to call the smart-contract and decode the returned information, or estimate gas required for transaction, or send a transaciton +to the blockchain.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + transaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transaction: EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contract + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var contract: ContractProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var method: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var options: Web3Options
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(transaction: EthereumTransaction, web3 web3Instance: Web3, contract: ContractProtocol, method: String, options: Web3Options)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Send a prepared transaction to the blockchain. Internally checks the nonce for a sending account, assigns it, get a gas estimate and signs a transaction either locally or on the remote node.

    +
  • password: Password for a private key if transaction is signed locally
  • +
  • options: Web3Options to override the previously assigned gas price, gas limit and value.
  • +
  • onBlock: String field determines if nonce value and the gas estimate are based on the state of a blockchain on the latest mined block (latest) or the expected state after all the transactions in memory pool are applied (pending). Using pending allows to send transactions one after another without waiting for inclusion of the previous one in some block.

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @discardableResult
    +public func send(password: String = "BANKEXFOUNDATION", options: Web3Options? = nil, onBlock: String = "pending") throws -> TransactionSendingResult
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Calls a function of the smart-contract and parses the returned data to native objects.

    +
  • options: Web3Options to override the previously assigned gas price, gas limit and value.
  • +
  • onBlock: String field determines if nonce value and the gas estimate are based on the state of a blockchain on the latest mined block (latest) or the expected state after all the transactions in memory pool are applied (pending). Using pending allows to send transactions one after another without waiting for inclusion of the previous one in some block.

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @discardableResult
    +public func call(options: Web3Options?, onBlock: String = "latest") throws -> Web3Response
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Estimates gas required to execute the transaction. Setting a gas limit lower than the estimate will most likely result in a failed transaction. If this call returns an error it can also indicate that transaction is invalid as itself.

    +
  • options: Web3Options to override the previously assigned gas price, gas limit and value.
  • +
  • onBlock: String field determines if nonce value and the gas estimate are based on the state of a blockchain on the latest mined block (latest) or the expected state after all the transactions in memory pool are applied (pending). Using pending allows to send transactions one after another without waiting for inclusion of the previous one in some block.

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func estimateGas(options: Web3Options?, onBlock: String = "latest") throws -> BigUInt
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Assembles (but does not sign!) a transaction by fetching the nonce value and applying provided options.

    +
  • options: Web3Options to override the previously assigned gas price, gas limit and value.
  • +
  • onBlock: String field determines if nonce value and the gas estimate are based on the state of a blockchain on the latest mined block (latest) or the expected state after all the transactions in memory pool are applied (pending). Using pending allows to send transactions one after another without waiting for inclusion of the previous one in some block.

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func assemble(options: Web3Options? = nil, onBlock: String = "pending") throws -> EthereumTransaction
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3DataResponse.html b/Documentation/Classes/Web3DataResponse.html new file mode 100644 index 00000000..72a86cb5 --- /dev/null +++ b/Documentation/Classes/Web3DataResponse.html @@ -0,0 +1,1294 @@ + + + + Web3DataResponse Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3DataResponse

+
+
+
public class Web3DataResponse
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + data + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let data: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + position + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var position: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + headerSize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var headerSize: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ data: Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uint256() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func uint256() throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func address() throws -> Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bool() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func bool() throws -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string() throws -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + header(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func header(_ size: Int) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + skip(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func skip(_ count: Int) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + next(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func next(_ size: Int) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointer(block:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func pointer<T>(block: () throws -> T) throws -> T
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + uint8() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func uint8() throws -> UInt8
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uint16() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func uint16() throws -> UInt16
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uint32() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func uint32() throws -> UInt32
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uint64() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func uint64() throws -> UInt64
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uint() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func uint() throws -> Int64
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + int8() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func int8() throws -> Int8
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + int16() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func int16() throws -> Int16
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + int32() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func int32() throws -> Int32
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + int64() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func int64() throws -> Int64
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + int() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func int() throws -> Int64
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + intCount() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func intCount() throws -> Int
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3HttpProvider.html b/Documentation/Classes/Web3HttpProvider.html new file mode 100644 index 00000000..7ee43d58 --- /dev/null +++ b/Documentation/Classes/Web3HttpProvider.html @@ -0,0 +1,835 @@ + + + + Web3HttpProvider Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3HttpProvider

+
+
+
public class Web3HttpProvider : Web3Provider
+ +
+
+

The default http provider.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + url + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var url: URL
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + network + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var network: NetworkId?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var attachedKeystoreManager: KeystoreManager?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + session + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var session: URLSession
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ httpProviderURL: URL, network net: NetworkId? = nil, keystoreManager manager: KeystoreManager? = nil)
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3Response.html b/Documentation/Classes/Web3Response.html new file mode 100644 index 00000000..a68a6e17 --- /dev/null +++ b/Documentation/Classes/Web3Response.html @@ -0,0 +1,864 @@ + + + + Web3Response Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Response

+
+
+
public class Web3Response
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + position + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var position: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscript(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public subscript(key: String) -> Any? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscript(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public subscript(index: Int) -> Any? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uint256() + +
    +
    +
    +
    +
    +
    +

    Returns next response argument as BigUInt (like self[n] as? BigUInt; n += 1) +throws Web3ResponseError.notFound if there is no value at self[n] +throws Web3ResponseError.wrongType if it cannot cast self[n] to BigUInt

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func uint256() throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address() + +
    +
    +
    +
    +
    +
    +

    Returns next response argument as Address (like self[n] as? Address; n += 1) +throws Web3ResponseError.notFound if there is no value at self[n] +throws Web3ResponseError.wrongType if it cannot cast self[n] to Address

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func address() throws -> Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string() + +
    +
    +
    +
    +
    +
    +

    Returns next response argument as String (like self[n] as? String; n += 1) +throws Web3ResponseError.notFound if there is no value at self[n] +throws Web3ResponseError.wrongType if it cannot cast self[n] to String

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string() throws -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + next() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func next() throws -> Any
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/Web3Utils.html b/Documentation/Classes/Web3Utils.html new file mode 100644 index 00000000..274de9a4 --- /dev/null +++ b/Documentation/Classes/Web3Utils.html @@ -0,0 +1,1158 @@ + + + + Web3Utils Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Utils

+
+
+
public class Web3Utils
+ +
+
+

Namespaced Utils functions. Are not bound to particular web3 instance, so capitalization matters.

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Calculate address of deployed contract deterministically based on the address of the deploying Ethereum address +and the nonce of this address

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func calcualteContractAddress(from: Address, nonce: BigUInt) -> Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + coldWalletABI + +
    +
    +
    +
    +
    +
    +

    Precoded cold wallet (private key controlled) address. Basically - only a payable fallback function.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var coldWalletABI: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + erc20ABI + +
    +
    +
    +
    +
    +
    +

    Precoded ERC20 contracts ABI. Output parameters are named for ease of use.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var erc20ABI: String
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Convert the private key (32 bytes of Data) to compressed (33 bytes) or non-compressed (65 bytes) public key.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func privateToPublic(_ privateKey: Data, compressed: Bool = false) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Convert a public key to the corresponding Address. Accepts public keys in compressed (33 bytes), non-compressed (65 bytes) +or raw concat(X,Y) (64 bytes) format.

    + +

    Returns 20 bytes of address data.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func publicToAddressData(_ publicKey: Data) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + publicToAddress(_:) + +
    +
    +
    +
    +
    +
    +

    Convert a public key to the corresponding Address. Accepts public keys in compressed (33 bytes), non-compressed (65 bytes) +or raw concat(X,Y) (64 bytes) format.

    + +

    Returns the Address object.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func publicToAddress(_ publicKey: Data) throws -> Address
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Convert a public key to the corresponding Address. Accepts public keys in compressed (33 bytes), non-compressed (65 bytes) +or raw concat(X,Y) (64 bytes) format.

    + +

    Returns a 0x prefixed hex string.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func publicToAddressString(_ publicKey: Data) throws -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Converts address data (20 bytes) to the 0x prefixed hex string. Does not perform checksumming.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func addressDataToString(_ addressData: Data) throws -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Hashes a personal message by first padding it with the \u{19}Ethereum Signed Message:\n string and message length string. +Should be used if some arbitrary information should be hashed and signed to prevent signing an Ethereum transaction +by accident. +throws Web3UtilsError.cannotConvertDataToAscii

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func hashPersonalMessage(_ personalMessage: Data) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Parse a user-supplied string using the number of decimals for particular Ethereum unit. +If input is non-numeric or precision is not sufficient - returns nil. +Allowed decimal separators are ., ,.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func parseToBigUInt(_ amount: String, units: Web3Units = .eth) -> BigUInt?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Parse a user-supplied string using the number of decimals. +If input is non-numeric or precision is not sufficient - returns nil. +Allowed decimal separators are ., ,.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func parseToBigUInt(_ amount: String, decimals: Int = 18) -> BigUInt?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Recover the Ethereum address from recoverable secp256k1 signature. Message is first hashed using the personal hash protocol. +BE WARNED - changing a message will result in different Ethereum address, but not in error.

    + +

    Input parameters should be hex Strings.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func personalECRecover(_ personalMessage: String, signature: String) throws -> Address
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Recover the Ethereum address from recoverable secp256k1 signature. Message is first hashed using the personal hash protocol. +BE WARNED - changing a message will result in different Ethereum address, but not in error.

    + +

    Input parameters should be Data objects.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func personalECRecover(_ personalMessage: Data, signature: Data) throws -> Address
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Recover the Ethereum address from recoverable secp256k1 signature. +Takes a hash of some message. What message is hashed should be checked by user separately.

    + +

    Input parameters should be Data objects.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func hashECRecover(hash: Data, signature: Data) throws -> Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + keccak256(_:) + +
    +
    +
    +
    +
    +
    +

    returns Ethereum variant of sha3 (keccak256) of data. Returns nil is data is empty

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func keccak256(_ data: Data) -> Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + sha3(_:) + +
    +
    +
    +
    +
    +
    +

    returns Ethereum variant of sha3 (keccak256) of data. Returns nil is data is empty

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func sha3(_ data: Data) -> Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + sha256(_:) + +
    +
    +
    +
    +
    +
    +

    returns sha256 of data. Returns nil is data is empty

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func sha256(_ data: Data) -> Data?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/_ObjCAddress.html b/Documentation/Classes/_ObjCAddress.html new file mode 100644 index 00000000..36613c17 --- /dev/null +++ b/Documentation/Classes/_ObjCAddress.html @@ -0,0 +1,751 @@ + + + + _ObjCAddress Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

_ObjCAddress

+
+
+
@objc(Address)
+public final class _ObjCAddress : NSObject
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(address:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(address: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(address:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(address: Data)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var contractDeploymentAddress: _ObjCAddress { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/_ObjCBigUInt.html b/Documentation/Classes/_ObjCBigUInt.html new file mode 100644 index 00000000..9f9b45fc --- /dev/null +++ b/Documentation/Classes/_ObjCBigUInt.html @@ -0,0 +1,751 @@ + + + + _ObjCBigUInt Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

_ObjCBigUInt

+
+
+
@objc(BigUInt)
+public final class _ObjCBigUInt : NSObject
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(value:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(value: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(value:radix:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(value: String, radix: Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toString(radix:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func toString(radix: Int = 10) -> NSString
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/_ObjCEthereumAddress.html b/Documentation/Classes/_ObjCEthereumAddress.html new file mode 100644 index 00000000..8c4e8f08 --- /dev/null +++ b/Documentation/Classes/_ObjCEthereumAddress.html @@ -0,0 +1,748 @@ + + + + _ObjCEthereumAddress Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

_ObjCEthereumAddress

+
+
+
@objc(EthereumAddress)
+public final class _ObjCEthereumAddress : NSObject
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(address:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(address: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(address:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(address: Data)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var contractDeploymentAddress: _ObjCEthereumAddress { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/_ObjCweb3.html b/Documentation/Classes/_ObjCweb3.html new file mode 100644 index 00000000..dae4d4b0 --- /dev/null +++ b/Documentation/Classes/_ObjCweb3.html @@ -0,0 +1,751 @@ + + + + _ObjCWeb3 Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

_ObjCWeb3

+
+
+
@objc(Web3)
+public final class _ObjCWeb3 : NSObject
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + InfuraMainnetWeb3() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func InfuraMainnetWeb3() -> _ObjCweb3
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InfuraRinkebyWeb3() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func InfuraRinkebyWeb3() -> _ObjCweb3
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + new(providerURL:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func new(providerURL: NSURL) -> _ObjCweb3
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Classes/_ObjCweb3Eth.html b/Documentation/Classes/_ObjCweb3Eth.html new file mode 100644 index 00000000..6df52936 --- /dev/null +++ b/Documentation/Classes/_ObjCweb3Eth.html @@ -0,0 +1,697 @@ + + + + _ObjCweb3Eth Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

_ObjCweb3Eth

+
+
+
@objc(web3Eth)
+public final class _ObjCweb3Eth : NSObject
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums.html b/Documentation/Enums.html new file mode 100644 index 00000000..a37871eb --- /dev/null +++ b/Documentation/Enums.html @@ -0,0 +1,1306 @@ + + + + Enumerations Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Enumerations

+

The following enumerations are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + AbiError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum AbiError : Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ArraySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ArraySize
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + + +

enums

+
+
+
    +
  • +
    + + + + TransactionType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TransactionType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransactionStatus + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TransactionStatus
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ListId + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ListId : String
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + DataError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum DataError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + SECP256K1Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum SECP256K1Error : Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SECP256DataError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum SECP256DataError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3WalletError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Web3WalletError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + AbstractKeystoreError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum AbstractKeystoreError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + BIP39Language + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum BIP39Language
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EntropySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum EntropySize : Int
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + AddressError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum AddressError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TransactionSignerError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TransactionInBlockError : Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransactionInBlock + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TransactionInBlock : Decodable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3ResponseError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Web3ResponseError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3Units + +
    +
    +
    +
    +
    +
    +

    Various units used in Ethereum ecosystem

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Web3Units
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Web3UtilsError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Web3UtilsError : Error
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum PublicKeyToAddressError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Web3Error : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/AbiError.html b/Documentation/Enums/AbiError.html new file mode 100644 index 00000000..7fc9f570 --- /dev/null +++ b/Documentation/Enums/AbiError.html @@ -0,0 +1,696 @@ + + + + AbiError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AbiError

+
+
+
public enum AbiError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + unsupportedType + +
    +
    +
    +
    +
    +
    +

    Unsupported types: function, tuple

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case unsupportedType
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/AbstractKeystoreError.html b/Documentation/Enums/AbstractKeystoreError.html new file mode 100644 index 00000000..5202f4dd --- /dev/null +++ b/Documentation/Enums/AbstractKeystoreError.html @@ -0,0 +1,831 @@ + + + + AbstractKeystoreError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AbstractKeystoreError

+
+
+
public enum AbstractKeystoreError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + noEntropyError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noEntropyError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + keyDerivationError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case keyDerivationError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + aesError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case aesError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidAccountError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidAccountError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidPasswordError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidPasswordError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encryptionError(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case encryptionError(String)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/AddressError.html b/Documentation/Enums/AddressError.html new file mode 100644 index 00000000..2591e4ab --- /dev/null +++ b/Documentation/Enums/AddressError.html @@ -0,0 +1,696 @@ + + + + AddressError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AddressError

+
+
+
public enum AddressError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + invalidAddress(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidAddress(String)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/ArraySize.html b/Documentation/Enums/ArraySize.html new file mode 100644 index 00000000..9c6adda0 --- /dev/null +++ b/Documentation/Enums/ArraySize.html @@ -0,0 +1,750 @@ + + + + ArraySize Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ArraySize

+
+
+
public enum ArraySize
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + static(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case `static`(Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dynamic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case dynamic
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + notArray + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notArray
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/BIP39Language.html b/Documentation/Enums/BIP39Language.html new file mode 100644 index 00000000..ed4a94cb --- /dev/null +++ b/Documentation/Enums/BIP39Language.html @@ -0,0 +1,885 @@ + + + + BIP39Language Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

BIP39Language

+
+
+
public enum BIP39Language
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + english + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case english
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chinese_simplified + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case chinese_simplified
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chinese_traditional + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case chinese_traditional
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + japanese + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case japanese
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + korean + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case korean
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + french + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case french
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + italian + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case italian
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + spanish + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case spanish
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/DataError.html b/Documentation/Enums/DataError.html new file mode 100644 index 00000000..932c9eef --- /dev/null +++ b/Documentation/Enums/DataError.html @@ -0,0 +1,723 @@ + + + + DataError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

DataError

+
+
+
public enum DataError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case hexStringCorrupted(String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + localizedDescription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var localizedDescription: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/EntropySize.html b/Documentation/Enums/EntropySize.html new file mode 100644 index 00000000..38368129 --- /dev/null +++ b/Documentation/Enums/EntropySize.html @@ -0,0 +1,804 @@ + + + + EntropySize Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EntropySize

+
+
+
public enum EntropySize : Int
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + b128 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case b128 = 128
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + b160 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case b160 = 160
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + b192 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case b192 = 192
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + b224 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case b224 = 224
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + b256 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case b256 = 256
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/ListId.html b/Documentation/Enums/ListId.html new file mode 100644 index 00000000..ae3cc769 --- /dev/null +++ b/Documentation/Enums/ListId.html @@ -0,0 +1,723 @@ + + + + ListId Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ListId

+
+
+
public enum ListId : String
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + listOfETH + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case listOfETH
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + listOfTokens + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case listOfTokens
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/PublicKeyToAddressError.html b/Documentation/Enums/PublicKeyToAddressError.html new file mode 100644 index 00000000..6cd7e5a8 --- /dev/null +++ b/Documentation/Enums/PublicKeyToAddressError.html @@ -0,0 +1,723 @@ + + + + PublicKeyToAddressError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

PublicKeyToAddressError

+
+
+
public enum PublicKeyToAddressError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + shouldStartWith4 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case shouldStartWith4
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidPublicKeySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidPublicKeySize
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/SECP256DataError.html b/Documentation/Enums/SECP256DataError.html new file mode 100644 index 00000000..099bc945 --- /dev/null +++ b/Documentation/Enums/SECP256DataError.html @@ -0,0 +1,939 @@ + + + + SECP256DataError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SECP256DataError

+
+
+
public enum SECP256DataError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotRecoverPublicKey
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotExtractPublicKeyFromPrivateKey
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotMakeRecoverableSignature
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + cannotParseSignature + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotParseSignature
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + cannotParsePublicKey + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotParsePublicKey
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotSerializePublicKey
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotCombinePublicKeys
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotSerializeSignature
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + signatureCorrupted + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case signatureCorrupted
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidMarshalSignatureSize
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/SECP256K1Error.html b/Documentation/Enums/SECP256K1Error.html new file mode 100644 index 00000000..3e439c1c --- /dev/null +++ b/Documentation/Enums/SECP256K1Error.html @@ -0,0 +1,858 @@ + + + + SECP256K1Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SECP256K1Error

+
+
+
public enum SECP256K1Error : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + signingFailed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case signingFailed
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidPrivateKey + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidPrivateKey
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidHashSize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidHashSize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidPrivateKeySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidPrivateKeySize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidSignatureSize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidSignatureSize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidPublicKeySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidPublicKeySize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + localizedDescription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var localizedDescription: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/TransactionInBlock.html b/Documentation/Enums/TransactionInBlock.html new file mode 100644 index 00000000..f9a4b21f --- /dev/null +++ b/Documentation/Enums/TransactionInBlock.html @@ -0,0 +1,803 @@ + + + + TransactionInBlock Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionInBlock

+
+
+
public enum TransactionInBlock : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + hash(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case hash(Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transaction(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transaction(EthereumTransaction)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + null + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case null
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ data: Any) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/TransactionInBlockError.html b/Documentation/Enums/TransactionInBlockError.html new file mode 100644 index 00000000..57a30fe8 --- /dev/null +++ b/Documentation/Enums/TransactionInBlockError.html @@ -0,0 +1,696 @@ + + + + TransactionInBlockError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionInBlockError

+
+
+
public enum TransactionInBlockError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + corrupted + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case corrupted
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/TransactionSignerError.html b/Documentation/Enums/TransactionSignerError.html new file mode 100644 index 00000000..36334946 --- /dev/null +++ b/Documentation/Enums/TransactionSignerError.html @@ -0,0 +1,696 @@ + + + + TransactionSignerError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionSignerError

+
+
+
public enum TransactionSignerError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + signatureError(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case signatureError(String)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/TransactionStatus.html b/Documentation/Enums/TransactionStatus.html new file mode 100644 index 00000000..bd975719 --- /dev/null +++ b/Documentation/Enums/TransactionStatus.html @@ -0,0 +1,723 @@ + + + + TransactionStatus Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionStatus

+
+
+
public enum TransactionStatus
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + failed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case failed
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + succeeded + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case succeeded
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/TransactionType.html b/Documentation/Enums/TransactionType.html new file mode 100644 index 00000000..fa1a151e --- /dev/null +++ b/Documentation/Enums/TransactionType.html @@ -0,0 +1,804 @@ + + + + TransactionType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionType

+
+
+
public enum TransactionType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + tx + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case tx
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + call + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case call
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + create + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case create
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + suicide + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case suicide
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + token + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case token
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/Web3Error.html b/Documentation/Enums/Web3Error.html new file mode 100644 index 00000000..5a2da9ce --- /dev/null +++ b/Documentation/Enums/Web3Error.html @@ -0,0 +1,939 @@ + + + + Web3Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Error

+
+
+
public enum Web3Error : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transactionSerializationError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + connectionError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case connectionError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case dataError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + walletError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case walletError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + inputError(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case inputError(String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + nodeError(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case nodeError(String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + processingError(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case processingError(String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + keystoreError(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case keystoreError(AbstractKeystoreError)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + generalError(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case generalError(Error)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + unknownError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case unknownError
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/Web3ResponseError.html b/Documentation/Enums/Web3ResponseError.html new file mode 100644 index 00000000..34d17a83 --- /dev/null +++ b/Documentation/Enums/Web3ResponseError.html @@ -0,0 +1,750 @@ + + + + Web3ResponseError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3ResponseError

+
+
+
public enum Web3ResponseError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + notFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notFound
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + wrongType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case wrongType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + overflows + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case overflows
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/Web3Units.html b/Documentation/Enums/Web3Units.html new file mode 100644 index 00000000..47865e21 --- /dev/null +++ b/Documentation/Enums/Web3Units.html @@ -0,0 +1,858 @@ + + + + Web3Units Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Units

+
+
+
public enum Web3Units
+ +
+
+

Various units used in Ethereum ecosystem

+ +
+
+ +
+
+
+
    +
  • +
    + + + + eth + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case eth
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + wei + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case wei
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Kwei + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case Kwei
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Mwei + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case Mwei
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Gwei + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case Gwei
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Microether + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case Microether
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Finney + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case Finney
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/Web3UtilsError.html b/Documentation/Enums/Web3UtilsError.html new file mode 100644 index 00000000..d30f3bb3 --- /dev/null +++ b/Documentation/Enums/Web3UtilsError.html @@ -0,0 +1,750 @@ + + + + Web3UtilsError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3UtilsError

+
+
+
public enum Web3UtilsError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotConvertDataToAscii
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidSignatureLength
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + localizedDescription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var localizedDescription: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Enums/Web3WalletError.html b/Documentation/Enums/Web3WalletError.html new file mode 100644 index 00000000..f5fa9ce2 --- /dev/null +++ b/Documentation/Enums/Web3WalletError.html @@ -0,0 +1,723 @@ + + + + Web3WalletError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3WalletError

+
+
+
public enum Web3WalletError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case attachadKeystoreNotFound
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noAccounts + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noAccounts
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Extensions.html b/Documentation/Extensions.html new file mode 100644 index 00000000..a8b12f02 --- /dev/null +++ b/Documentation/Extensions.html @@ -0,0 +1,996 @@ + + + + Extensions Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Extensions

+

The following extensions are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + BinaryInteger + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Data + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + String + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Array + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct Array<Element> : _DestructorSafeContainer
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + UInt8 + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct UInt8 : FixedWidthInteger, UnsignedInteger
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Range + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct Range<Bound> where Bound : Comparable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Int + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct Int : FixedWidthInteger, SignedInteger
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + UInt32 + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct UInt32 : FixedWidthInteger, UnsignedInteger
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Dictionary + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct Dictionary<Key, Value> where Key : Hashable
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/Extensions/Array.html b/Documentation/Extensions/Array.html new file mode 100644 index 00000000..61720789 --- /dev/null +++ b/Documentation/Extensions/Array.html @@ -0,0 +1,784 @@ + + + + Array Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Array

+
+
+
struct Array<Element> : _DestructorSafeContainer
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + solidityData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var solidityData: Data { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + split(intoChunksOf:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func split(intoChunksOf chunkSize: Int) -> [[Element]]
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + base58EncodedString + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var base58EncodedString: String { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var base58CheckEncodedString: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Extensions/BigInt.html b/Documentation/Extensions/BigInt.html new file mode 100644 index 00000000..bad35080 --- /dev/null +++ b/Documentation/Extensions/BigInt.html @@ -0,0 +1,922 @@ + + + + BigInt Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

BigInt

+ +
+
+ +
+
+
+
    +
  • +
    + + + + isEqualTo(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isEqualTo(_ other: AnyObject) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + eventFilterEncoded() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func eventFilterEncoded() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + toTwosComplement() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func toTwosComplement() -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + abiEncode(bits:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func abiEncode(bits: UInt64) -> Data!
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func fromTwosComplement(data: Data) -> BigInt
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + StringOptions + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias StringOptions = BigUInt.StringOptions
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string() + +
    +
    +
    +
    +
    +
    +

    Returns .description to not confuse

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string() -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Formats a BigInt object to String. The supplied number is first divided into integer and decimal part based on units, +then limit the decimal part to decimals symbols and uses a decimalSeparator as a separator. +Fallbacks to scientific format if higher precision is required. +default: decimals: 18, decimalSeparator: ., options: .stripZeroes

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string(unitDecimals: Int, decimals: Int = 18, decimalSeparator: String = ".", options: StringOptions = .default) -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Formats a BigInt object to String. The supplied number is first divided into integer and decimal part based on units, +then limit the decimal part to decimals symbols and uses a decimalSeparator as a separator. +default: decimals: 18, decimalSeparator: ., options: .stripZeroes

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string(units: Web3Units, decimals: Int = 18, decimalSeparator: String = ".", options: StringOptions = .default) -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Extensions/BigUInt.html b/Documentation/Extensions/BigUInt.html new file mode 100644 index 00000000..70b9c6fe --- /dev/null +++ b/Documentation/Extensions/BigUInt.html @@ -0,0 +1,896 @@ + + + + BigUInt Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

BigUInt

+ +
+
+ +
+
+
+
    +
  • +
    + + + + isEqualTo(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isEqualTo(_ other: AnyObject) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + eventFilterEncoded() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func eventFilterEncoded() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + abiEncode(bits:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func abiEncode(bits: UInt64) -> Data?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + init(_:units:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ string: String, units: Web3Units)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:decimals:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ string: String, decimals: Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + StringOptions + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct StringOptions : OptionSet
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Formats a BigUInt object to String. The supplied number is first divided into integer and decimal part based on toUnits, +then limit the decimal part to decimals symbols and uses a decimalSeparator as a separator. +default: decimals: 18, decimalSeparator: ., options: .stripZeroes

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string(units: Web3Units, decimals: Int = 18, decimalSeparator: String = ".", options: StringOptions = .default) -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Formats a BigUInt object to String. The supplied number is first divided into integer and decimal part based on toUnits, +then limit the decimal part to decimals symbols and uses a decimalSeparator as a separator. +Fallbacks to scientific format if higher precision is required. +default: decimals: 18, decimalSeparator: ., options: .stripZeroes

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string(unitDecimals: Int, decimals: Int = 18, decimalSeparator: String = ".", options: StringOptions = .default) -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Extensions/BigUInt/StringOptions.html b/Documentation/Extensions/BigUInt/StringOptions.html new file mode 100644 index 00000000..92fbad87 --- /dev/null +++ b/Documentation/Extensions/BigUInt/StringOptions.html @@ -0,0 +1,802 @@ + + + + StringOptions Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

StringOptions

+
+
+
public struct StringOptions : OptionSet
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + rawValue + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let rawValue: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(rawValue:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(rawValue: Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fallbackToScientific + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let fallbackToScientific: <<error type>>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + stripZeroes + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let stripZeroes: <<error type>>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let `default`: StringOptions
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Extensions/BinaryInteger.html b/Documentation/Extensions/BinaryInteger.html new file mode 100644 index 00000000..d47f2687 --- /dev/null +++ b/Documentation/Extensions/BinaryInteger.html @@ -0,0 +1,695 @@ + + + + BinaryInteger Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

BinaryInteger

+
+
+
protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + solidityData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var solidityData: Data { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Extensions/Data.html b/Documentation/Extensions/Data.html new file mode 100644 index 00000000..f3e463ec --- /dev/null +++ b/Documentation/Extensions/Data.html @@ -0,0 +1,1143 @@ + + + + Data Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Data

+
+
+
struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + solidityData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var solidityData: Data { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isSolidityBinaryType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isSolidityBinaryType: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + isEqualTo(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isEqualTo(_ other: AnyObject) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + eventFilterEncoded() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func eventFilterEncoded() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + init(fromArray:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    init<T>(fromArray values: [T])
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toArray(type:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func toArray<T>(type _: T.Type) -> [T]
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func constantTimeComparisonTo(_ other: Data?) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + zero(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func zero(_ data: inout Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + random(length:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func random(length: Int) -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hex + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var hex: String { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func hex(separateEvery: Int, separator: String = " ") -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fromHex(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func fromHex(_ hex: String) -> Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var string: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + keccak256() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func keccak256() -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bitsInRange(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func bitsInRange(_ startingBit: Int, _ length: Int) -> UInt64
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func setLengthLeft(_ toBytes: UInt64, isNegative: Bool = false) -> Data?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func setLengthRight(_ toBytes: UInt64, isNegative: Bool = false) -> Data?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Extensions/Dictionary.html b/Documentation/Extensions/Dictionary.html new file mode 100644 index 00000000..48f242e4 --- /dev/null +++ b/Documentation/Extensions/Dictionary.html @@ -0,0 +1,695 @@ + + + + Dictionary Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Dictionary

+
+
+
struct Dictionary<Key, Value> where Key : Hashable
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + at(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func at(_ key: String) throws -> DictionaryReader
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Extensions/Int.html b/Documentation/Extensions/Int.html new file mode 100644 index 00000000..3fc0f916 --- /dev/null +++ b/Documentation/Extensions/Int.html @@ -0,0 +1,720 @@ + + + + Int Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Int

+
+
+
struct Int : FixedWidthInteger, SignedInteger
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + makeIterator() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func makeIterator() -> Range<Int>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Iterator + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias Iterator = Range<Int>
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Extensions/Range.html b/Documentation/Extensions/Range.html new file mode 100644 index 00000000..62e946e7 --- /dev/null +++ b/Documentation/Extensions/Range.html @@ -0,0 +1,694 @@ + + + + Range Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Range

+
+
+
struct Range<Bound> where Bound : Comparable
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + next() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public mutating func next() -> Bound?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Extensions/String.html b/Documentation/Extensions/String.html new file mode 100644 index 00000000..df988816 --- /dev/null +++ b/Documentation/Extensions/String.html @@ -0,0 +1,1012 @@ + + + + String Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

String

+
+
+
struct String
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + solidityData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var solidityData: Data { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isSolidityBinaryType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isSolidityBinaryType: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + isEqualTo(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isEqualTo(_ other: AnyObject) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + eventFilterEncoded() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func eventFilterEncoded() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + base58EncodedString + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var base58EncodedString: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + base58DecodedData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var base58DecodedData: Data? { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var base58CheckDecodedData: Data? { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var base58CheckDecodedBytes: [UInt8]? { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + keccak256() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func keccak256() -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + isContractAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var isContractAddress: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var isAddress: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var contractAddress: Address { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Extensions/TransactionIntermediate.html b/Documentation/Extensions/TransactionIntermediate.html new file mode 100644 index 00000000..0e8bdbd8 --- /dev/null +++ b/Documentation/Extensions/TransactionIntermediate.html @@ -0,0 +1,777 @@ + + + + TransactionIntermediate Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionIntermediate

+ +

Undocumented

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/Extensions/UInt32.html b/Documentation/Extensions/UInt32.html new file mode 100644 index 00000000..d86de110 --- /dev/null +++ b/Documentation/Extensions/UInt32.html @@ -0,0 +1,695 @@ + + + + UInt32 Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UInt32

+
+
+
struct UInt32 : FixedWidthInteger, UnsignedInteger
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + serialize32() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func serialize32() -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Extensions/UInt8.html b/Documentation/Extensions/UInt8.html new file mode 100644 index 00000000..be956c44 --- /dev/null +++ b/Documentation/Extensions/UInt8.html @@ -0,0 +1,695 @@ + + + + UInt8 Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UInt8

+
+
+
struct UInt8 : FixedWidthInteger, UnsignedInteger
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + hex + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var hex: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Functions.html b/Documentation/Functions.html new file mode 100644 index 00000000..406dab13 --- /dev/null +++ b/Documentation/Functions.html @@ -0,0 +1,690 @@ + + + + Functions Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Functions

+

The following functions are available globally.

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func scrypt(password: String, salt: Data, length: Int, N: Int, R: Int, P: Int) -> Data?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Protocols.html b/Documentation/Protocols.html new file mode 100644 index 00000000..42efa673 --- /dev/null +++ b/Documentation/Protocols.html @@ -0,0 +1,962 @@ + + + + Protocols Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Protocols

+

The following protocols are available globally.

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol SolidityDataRepresentable
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + AbstractKeystore + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol AbstractKeystore
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3Provider + +
    +
    +
    +
    +
    +
    +

    Providers abstraction for custom providers (websockets, other custom private key managers). At the moment should not be used.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol Web3Provider
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol Web3OptionsInheritable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Protocol for generic Ethereum event parsing results

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol EventParserResultProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EventParserProtocol + +
    +
    +
    +
    +
    +
    +

    Protocol for generic Ethereum event parser

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol EventParserProtocol
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Protocols/AbstractKeystore.html b/Documentation/Protocols/AbstractKeystore.html new file mode 100644 index 00000000..aa350863 --- /dev/null +++ b/Documentation/Protocols/AbstractKeystore.html @@ -0,0 +1,750 @@ + + + + AbstractKeystore Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AbstractKeystore

+
+
+
public protocol AbstractKeystore
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + addresses + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var addresses: [Address] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isHDKeystore + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var isHDKeystore: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func UNSAFE_getPrivateKeyData(password: String, account: Address) throws -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Protocols/ContractProtocol.html b/Documentation/Protocols/ContractProtocol.html new file mode 100644 index 00000000..5a724352 --- /dev/null +++ b/Documentation/Protocols/ContractProtocol.html @@ -0,0 +1,993 @@ + + + + ContractProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ContractProtocol

+
+
+
public protocol ContractProtocol
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var address: Address? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var options: Web3Options { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + allMethods + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var allMethods: [String] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + allEvents + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var allEvents: [String] { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func deploy(bytecode: Data, parameters: [Any], extraData: Data, options: Web3Options?) throws -> EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func method(_ method: String, parameters: [Any], extraData: Data, options: Web3Options?) throws -> EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:at:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    init(_ abiString: String, at address: Address?) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func decodeReturnData(_ method: String, data: Data) -> [String : Any]?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func decodeInputData(_ method: String, data: Data) -> [String : Any]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + decodeInputData(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func decodeInputData(_ data: Data) -> [String : Any]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parseEvent(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func parseEvent(_ eventLog: EventLog) -> (eventName: String?, eventData: [String : Any]?)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func testBloomForEventPrecence(eventName: String, bloom: EthereumBloomFilter) -> Bool?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Protocols/EventFilterComparable.html b/Documentation/Protocols/EventFilterComparable.html new file mode 100644 index 00000000..779588a1 --- /dev/null +++ b/Documentation/Protocols/EventFilterComparable.html @@ -0,0 +1,696 @@ + + + + EventFilterComparable Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventFilterComparable

+
+
+
public protocol EventFilterComparable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + isEqualTo(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func isEqualTo(_ other: AnyObject) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Protocols/EventFilterEncodable.html b/Documentation/Protocols/EventFilterEncodable.html new file mode 100644 index 00000000..add529b1 --- /dev/null +++ b/Documentation/Protocols/EventFilterEncodable.html @@ -0,0 +1,696 @@ + + + + EventFilterEncodable Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventFilterEncodable

+
+
+
public protocol EventFilterEncodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + eventFilterEncoded() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func eventFilterEncoded() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Protocols/EventParserProtocol.html b/Documentation/Protocols/EventParserProtocol.html new file mode 100644 index 00000000..2cc7623c --- /dev/null +++ b/Documentation/Protocols/EventParserProtocol.html @@ -0,0 +1,885 @@ + + + + EventParserProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventParserProtocol

+
+
+
public protocol EventParserProtocol
+ +
+
+

Protocol for generic Ethereum event parser

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/Protocols/EventParserResultProtocol.html b/Documentation/Protocols/EventParserResultProtocol.html new file mode 100644 index 00000000..cce6e1fb --- /dev/null +++ b/Documentation/Protocols/EventParserResultProtocol.html @@ -0,0 +1,804 @@ + + + + EventParserResultProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventParserResultProtocol

+
+
+
public protocol EventParserResultProtocol
+ +
+
+

Protocol for generic Ethereum event parsing results

+ +
+
+ +
+
+
+
    +
  • +
    + + + + eventName + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var eventName: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + decodedResult + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var decodedResult: [String : Any] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var contractAddress: Address { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionReceipt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var transactionReceipt: TransactionReceipt? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + eventLog + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var eventLog: EventLog? { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Protocols/SolidityDataRepresentable.html b/Documentation/Protocols/SolidityDataRepresentable.html new file mode 100644 index 00000000..de1faa58 --- /dev/null +++ b/Documentation/Protocols/SolidityDataRepresentable.html @@ -0,0 +1,731 @@ + + + + SolidityDataRepresentable Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityDataRepresentable

+
+
+
public protocol SolidityDataRepresentable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + solidityData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var solidityData: Data { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isSolidityBinaryType + + + Default implementation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +

    Default Implementation

    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var isSolidityBinaryType: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Protocols/Web3OptionsInheritable.html b/Documentation/Protocols/Web3OptionsInheritable.html new file mode 100644 index 00000000..f14ca7c2 --- /dev/null +++ b/Documentation/Protocols/Web3OptionsInheritable.html @@ -0,0 +1,696 @@ + + + + Web3OptionsInheritable Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3OptionsInheritable

+
+
+
public protocol Web3OptionsInheritable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var options: Web3Options { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Protocols/Web3Provider.html b/Documentation/Protocols/Web3Provider.html new file mode 100644 index 00000000..3cd16bbe --- /dev/null +++ b/Documentation/Protocols/Web3Provider.html @@ -0,0 +1,804 @@ + + + + Web3Provider Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Provider

+
+
+
public protocol Web3Provider
+ +
+
+

Providers abstraction for custom providers (websockets, other custom private key managers). At the moment should not be used.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + sendAsync(_:queue:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func sendAsync(_ request: JsonRpcRequest, queue: DispatchQueue) -> Promise<JsonRpcResponse>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + network + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var network: NetworkId? { get set }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var attachedKeystoreManager: KeystoreManager? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + url + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var url: URL { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + session + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var session: URLSession { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs.html b/Documentation/Structs.html new file mode 100644 index 00000000..29098e2f --- /dev/null +++ b/Documentation/Structs.html @@ -0,0 +1,2229 @@ + + + + Structures Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Structures

+

The following structures are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + ABIv2 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ABIv2
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ABIv2Decoder + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ABIv2Decoder
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ABIv2Encoder + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ABIv2Encoder
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ABIv2TypeParser + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ABIv2TypeParser
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Address : Equatable
    + +
    +
    +
    +
    +
  • +
+
+
+ +
    +
  • +
    + + + + Response + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Response : Decodable
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TransactionHistoryRecord : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Token + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Token : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Head + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Head : Decodable
    + +
    +
    +
    +
    +
  • +
+
+
+ +
    +
  • +
    + + + + Body + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Body : Codable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InternalParam + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InternalParam : Codable
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + EventFilter + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EventFilter
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ERC20GasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ERC20GasPrice
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ERC721GasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ERC721GasPrice
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + SECP256K1 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct SECP256K1
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + RIPEMD160 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RIPEMD160
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + NaturalUnits + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct NaturalUnits
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + KeystoreParamsBIP32 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct KeystoreParamsBIP32 : Decodable, Encodable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ICAP + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ICAP
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + IBAN + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct IBAN
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + KdfParamsV3 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct KdfParamsV3 : Decodable, Encodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CipherParamsV3 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct CipherParamsV3 : Decodable, Encodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CryptoParamsV3 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct CryptoParamsV3 : Decodable, Encodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + KeystoreParamsV3 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct KeystoreParamsV3 : Decodable, Encodable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3Options + +
    +
    +
    +
    +
    +
    +

    Options for sending or calling a particular Ethereum transaction

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Web3Options
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + BIP39 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct BIP39
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + EthereumBloomFilter + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EthereumBloomFilter
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + EthereumTransaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EthereumTransaction : CustomStringConvertible
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3Signer + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Web3Signer
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + TxPoolStatus + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TxPoolStatus
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TxPoolInspect + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TxPoolInspect
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InspectedTransaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InspectedTransaction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TxPoolContent + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TxPoolContent
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TxPoolTransaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TxPoolTransaction
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Counter + +
    +
    +
    +
    +
    +
    +

    Global counter object to enumerate JSON RPC requests.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Counter
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JsonRpcRequest + +
    +
    +
    +
    +
    +
    +

    JSON RPC request structure for serialization and deserialization purposes.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct JsonRpcRequest : Encodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JsonRpcRequestBatch + +
    +
    +
    +
    +
    +
    +

    JSON RPC batch request structure for serialization and deserialization purposes.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct JsonRpcRequestBatch : Encodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JsonRpcResponse + +
    +
    +
    +
    +
    +
    +

    JSON RPC response structure for serialization and deserialization purposes.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct JsonRpcResponse : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JsonRpcResponseBatch + +
    +
    +
    +
    +
    +
    +

    JSON RPC batch response structure for serialization and deserialization purposes.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct JsonRpcResponseBatch : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransactionParameters + +
    +
    +
    +
    +
    +
    +

    Transaction parameters JSON structure for interaction with Ethereum node.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TransactionParameters : Codable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EventFilterParameters + +
    +
    +
    +
    +
    +
    +

    Event filter parameters JSON structure for interaction with Ethereum node.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EventFilterParameters : Codable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JsonRpcParams + +
    +
    +
    +
    +
    +
    +

    Raw JSON RCP 2.0 internal flattening wrapper.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct JsonRpcParams : Encodable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + JsonRpcMethod + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct JsonRpcMethod : Encodable, Equatable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JsonRpcRequestFabric + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct JsonRpcRequestFabric
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + NetworkId + +
    +
    +
    +
    +
    +
    +

    Enum for the most-used Ethereum networks. Network ID is crucial for EIP155 support

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct NetworkId : RawRepresentable, CustomStringConvertible, ExpressibleByIntegerLiteral
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + TransactionDetails + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TransactionDetails : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransactionReceipt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TransactionReceipt : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EventLog + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EventLog : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Block + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Block : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EventParserResult + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EventParserResult : EventParserResultProtocol
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ABIv2.html b/Documentation/Structs/ABIv2.html new file mode 100644 index 00000000..7c7e2bef --- /dev/null +++ b/Documentation/Structs/ABIv2.html @@ -0,0 +1,811 @@ + + + + ABIv2 Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ABIv2

+
+
+
public struct ABIv2
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Input + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Input : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Output + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Output : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Record + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Record : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Element + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Element
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ParsingError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ParsingError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ABIv2/Element.html b/Documentation/Structs/ABIv2/Element.html new file mode 100644 index 00000000..f1bc358b --- /dev/null +++ b/Documentation/Structs/ABIv2/Element.html @@ -0,0 +1,974 @@ + + + + Element Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Element

+
+
+
public enum Element
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + ArraySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ArraySize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + function(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case function(Function)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + constructor(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case constructor(Constructor)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fallback(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case fallback(Fallback)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + event(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case event(Event)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InOut + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InOut
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Function + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Function
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Constructor + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Constructor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Fallback + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Fallback
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Event + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Event
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ParameterType + +
    +
    +
    +
    +
    +
    +

    Specifies the type that parameters in a contract have.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ParameterType : ABIv2ElementPropertiesProtocol
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ABIv2/Element/ArraySize.html b/Documentation/Structs/ABIv2/Element/ArraySize.html new file mode 100644 index 00000000..1ee20eae --- /dev/null +++ b/Documentation/Structs/ABIv2/Element/ArraySize.html @@ -0,0 +1,750 @@ + + + + ArraySize Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ArraySize

+
+
+
public enum ArraySize
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + staticSize(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case staticSize(UInt64)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dynamicSize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case dynamicSize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + notArray + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notArray
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ABIv2/Element/Event.html b/Documentation/Structs/ABIv2/Element/Event.html new file mode 100644 index 00000000..b4ed934d --- /dev/null +++ b/Documentation/Structs/ABIv2/Element/Event.html @@ -0,0 +1,730 @@ + + + + Event Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Event

+
+
+
public struct Event
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
    +
  • +
    + + + + signature + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var signature: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var topic: Data { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ABIv2/Element/Function.html b/Documentation/Structs/ABIv2/Element/Function.html new file mode 100644 index 00000000..94c8e0ef --- /dev/null +++ b/Documentation/Structs/ABIv2/Element/Function.html @@ -0,0 +1,750 @@ + + + + Function Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Function

+
+
+
public struct Function
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + signature + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var signature: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + methodString + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var methodString: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + methodEncoding + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var methodEncoding: Data { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ABIv2/Element/ParameterType.html b/Documentation/Structs/ABIv2/Element/ParameterType.html new file mode 100644 index 00000000..3de395ff --- /dev/null +++ b/Documentation/Structs/ABIv2/Element/ParameterType.html @@ -0,0 +1,1045 @@ + + + + ParameterType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ParameterType

+
+
+
public enum ParameterType : ABIv2ElementPropertiesProtocol
+ +
+
+

Specifies the type that parameters in a contract have.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + uint(bits:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case uint(bits: UInt64)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + int(bits:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case int(bits: UInt64)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + function + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case function
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bool + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bytes(length:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bytes(length: UInt64)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + array(type:length:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    indirect case array(type: ParameterType, length: UInt64)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dynamicBytes + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case dynamicBytes
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case string
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + tuple(types:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    indirect case tuple(types: [ParameterType])
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ==(_:_:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func == (lhs: ABIv2.Element.ParameterType, rhs: ABIv2.Element.ParameterType) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+ +
    +
  • +
    + + + + abiRepresentation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var abiRepresentation: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+ +
    +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ABIv2/ParsingError.html b/Documentation/Structs/ABIv2/ParsingError.html new file mode 100644 index 00000000..2e9e1639 --- /dev/null +++ b/Documentation/Structs/ABIv2/ParsingError.html @@ -0,0 +1,912 @@ + + + + ParsingError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ParsingError

+
+
+
public enum ParsingError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + invalidJsonFile + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidJsonFile
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + elementTypeInvalid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case elementTypeInvalid
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + elementNameInvalid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case elementNameInvalid
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + functionInputInvalid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case functionInputInvalid
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + functionOutputInvalid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case functionOutputInvalid
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + eventInputInvalid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case eventInputInvalid
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parameterTypeInvalid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case parameterTypeInvalid
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parameterTypeNotFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case parameterTypeNotFound
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + abiInvalid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case abiInvalid
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ABIv2/Record.html b/Documentation/Structs/ABIv2/Record.html new file mode 100644 index 00000000..3605ab5d --- /dev/null +++ b/Documentation/Structs/ABIv2/Record.html @@ -0,0 +1,696 @@ + + + + Record Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Record

+
+
+
public struct Record : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + parse() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func parse() throws -> ABIv2.Element
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ABIv2Decoder.html b/Documentation/Structs/ABIv2Decoder.html new file mode 100644 index 00000000..57974e5f --- /dev/null +++ b/Documentation/Structs/ABIv2Decoder.html @@ -0,0 +1,777 @@ + + + + ABIv2Decoder Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ABIv2Decoder

+
+
+
public struct ABIv2Decoder
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + decode(types:data:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func decode(types: [ABIv2.Element.InOut], data: Data) -> [AnyObject]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + decode(types:data:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func decode(types: [ABIv2.Element.ParameterType], data: Data) -> [AnyObject]?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func decodeSignleType(type: ABIv2.Element.ParameterType, data: Data, pointer: UInt64 = 0) -> (value: AnyObject?, bytesConsumed: UInt64?)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func decodeLog(event: ABIv2.Element.Event, eventLog: EventLog) -> [String : Any]?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ABIv2Encoder.html b/Documentation/Structs/ABIv2Encoder.html new file mode 100644 index 00000000..f45dfafc --- /dev/null +++ b/Documentation/Structs/ABIv2Encoder.html @@ -0,0 +1,831 @@ + + + + ABIv2Encoder Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ABIv2Encoder

+
+
+
public struct ABIv2Encoder
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + convertToBigUInt(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func convertToBigUInt(_ value: AnyObject) -> BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + convertToBigInt(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func convertToBigInt(_ value: AnyObject) -> BigInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + convertToData(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func convertToData(_ value: AnyObject) -> Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(types:values:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func encode(types: [ABIv2.Element.InOut], values: [AnyObject]) -> Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(types:values:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func encode(types: [ABIv2.Element.ParameterType], values: [AnyObject]) -> Data?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func encodeSingleType(type: ABIv2.Element.ParameterType, value: AnyObject) -> Data?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ABIv2TypeParser.html b/Documentation/Structs/ABIv2TypeParser.html new file mode 100644 index 00000000..c6e90ed3 --- /dev/null +++ b/Documentation/Structs/ABIv2TypeParser.html @@ -0,0 +1,750 @@ + + + + ABIv2TypeParser Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ABIv2TypeParser

+
+
+
public struct ABIv2TypeParser
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + parseTypeString(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func parseTypeString(_ string: String) throws -> ABIv2.Element.ParameterType
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func recursiveParseType(_ string: String) -> (type: ABIv2.Element.ParameterType?, tail: String?)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func recursiveParseArray(baseType: ABIv2.Element.ParameterType, string: String) -> (type: ABIv2.Element.ParameterType?, tail: String?)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/Address.html b/Documentation/Structs/Address.html new file mode 100644 index 00000000..be095497 --- /dev/null +++ b/Documentation/Structs/Address.html @@ -0,0 +1,1313 @@ + + + + Address Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Address

+
+
+
public struct Address : Equatable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + AddressType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum AddressType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + type + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var type: Address.AddressType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ==(_:_:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func == (lhs: Address, rhs: Address) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addressData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var addressData: Data { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var address: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toChecksumAddress(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func toChecksumAddress(_ addr: String) -> String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:type:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ addressString: String, type: AddressType = .normal)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:type:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ addressData: Data, type: AddressType = .normal)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + check() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func check() throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractDeployment + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var contractDeployment: Address { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + solidityData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var solidityData: Data { get }
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + isEqualTo(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isEqualTo(_ other: AnyObject) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + eventFilterEncoded() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func eventFilterEncoded() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + StringLiteralType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias StringLiteralType = String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(stringLiteral:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(stringLiteral value: StringLiteralType)
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(to:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(to encoder: Encoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/Address/AddressType.html b/Documentation/Structs/Address/AddressType.html new file mode 100644 index 00000000..fd31090c --- /dev/null +++ b/Documentation/Structs/Address/AddressType.html @@ -0,0 +1,723 @@ + + + + AddressType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AddressType

+
+
+
public enum AddressType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + normal + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case normal
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractDeployment + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case contractDeployment
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/Block.html b/Documentation/Structs/Block.html new file mode 100644 index 00000000..2ed425cf --- /dev/null +++ b/Documentation/Structs/Block.html @@ -0,0 +1,1208 @@ + + + + Block Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Block

+
+
+
public struct Block : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + number + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var number: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var hash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parentHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parentHash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + nonce + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var nonce: Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + sha3Uncles + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var sha3Uncles: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + logsBloom + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var logsBloom: EthereumBloomFilter?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionsRoot + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactionsRoot: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + stateRoot + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var stateRoot: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + receiptsRoot + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var receiptsRoot: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + miner + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var miner: Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + difficulty + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var difficulty: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + totalDifficulty + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var totalDifficulty: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var extraData: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + size + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var size: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasLimit + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasLimit: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasUsed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasUsed: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + timestamp + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var timestamp: Date
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactions + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactions: [TransactionInBlock]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uncles + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var uncles: [Data]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ContractV2.html b/Documentation/Structs/ContractV2.html new file mode 100644 index 00000000..aaa22d47 --- /dev/null +++ b/Documentation/Structs/ContractV2.html @@ -0,0 +1,1238 @@ + + + + ContractV2 Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ContractV2

+
+
+
public struct ContractV2 : ContractProtocol
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + allEvents + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var allEvents: [String] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + allMethods + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var allMethods: [String] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EventFilter + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EventFilter
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var address: Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + methods + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var methods: [String : ABIv2.Element] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + constructor + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var constructor: ABIv2.Element? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + events + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var events: [String : ABIv2.Element.Event] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var options: Web3Options
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:at:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ abiString: String, at address: Address? = nil) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(abi:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(abi: [ABIv2.Element])
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(abi:at:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(abi: [ABIv2.Element], at: Address)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + MethodError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum MethodError : Error
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func deploy(bytecode: Data, args: Any..., extraData: Data = Data(), options: Web3Options?) throws -> EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func deploy(bytecode: Data, parameters: [Any], extraData: Data = Data(), options: Web3Options?) throws -> EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func method(_ name: String, args: Any..., extraData: Data = Data(), options: Web3Options?) throws -> EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func method(_ method: String, parameters: [Any], extraData: Data = Data(), options: Web3Options?) throws -> EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parseEvent(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func parseEvent(_ eventLog: EventLog) -> (eventName: String?, eventData: [String : Any]?)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func testBloomForEventPrecence(eventName: String, bloom: EthereumBloomFilter) -> Bool?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func decodeReturnData(_ method: String, data: Data) -> [String : Any]?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func decodeInputData(_ method: String, data: Data) -> [String : Any]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + decodeInputData(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func decodeInputData(_ data: Data) -> [String : Any]?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ContractV2/EventFilter.html b/Documentation/Structs/ContractV2/EventFilter.html new file mode 100644 index 00000000..beadcdea --- /dev/null +++ b/Documentation/Structs/ContractV2/EventFilter.html @@ -0,0 +1,723 @@ + + + + EventFilter Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventFilter

+
+
+
public struct EventFilter
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + parameterName + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parameterName: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parameterValues + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parameterValues: [AnyObject]
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ContractV2/MethodError.html b/Documentation/Structs/ContractV2/MethodError.html new file mode 100644 index 00000000..387fb08e --- /dev/null +++ b/Documentation/Structs/ContractV2/MethodError.html @@ -0,0 +1,831 @@ + + + + MethodError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

MethodError

+
+
+
public enum MethodError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + noAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noAddress
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noGasLimit + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noGasLimit
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noGasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noGasPrice
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noConstructor + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noConstructor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + notFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notFound
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotEncodeDataWithGivenParameters
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/Counter.html b/Documentation/Structs/Counter.html new file mode 100644 index 00000000..4a8915ec --- /dev/null +++ b/Documentation/Structs/Counter.html @@ -0,0 +1,750 @@ + + + + Counter Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Counter

+
+
+
public struct Counter
+ +
+
+

Global counter object to enumerate JSON RPC requests.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + counter + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var counter: UInt64
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lockQueue + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var lockQueue: DispatchQueue
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + increment() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func increment() -> UInt64
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ERC20GasPrice.html b/Documentation/Structs/ERC20GasPrice.html new file mode 100644 index 00000000..77cbff43 --- /dev/null +++ b/Documentation/Structs/ERC20GasPrice.html @@ -0,0 +1,750 @@ + + + + ERC20GasPrice Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ERC20GasPrice

+
+
+
public struct ERC20GasPrice
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + transfer(to:amount:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transfer(to user: Address, amount: BigUInt) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + approve(to:amount:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func approve(to user: Address, amount: BigUInt) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transferFrom(owner: Address, to: Address, amount: BigUInt) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ERC721GasPrice.html b/Documentation/Structs/ERC721GasPrice.html new file mode 100644 index 00000000..703b9388 --- /dev/null +++ b/Documentation/Structs/ERC721GasPrice.html @@ -0,0 +1,777 @@ + + + + ERC721GasPrice Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ERC721GasPrice

+
+
+
public struct ERC721GasPrice
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + approve(to:token:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func approve(to user: Address, token: BigUInt) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func setApproveForAll(operator: Address, approved: Bool) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transfer(from: Address, to: Address, token: BigUInt) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func safeTransfer(from: Address, to: Address, token: BigUInt) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/EthereumAddress.html b/Documentation/Structs/EthereumAddress.html new file mode 100644 index 00000000..3385b3de --- /dev/null +++ b/Documentation/Structs/EthereumAddress.html @@ -0,0 +1,1310 @@ + + + + EthereumAddress Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EthereumAddress

+
+
+
public struct EthereumAddress : Equatable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + AddressType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum AddressType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + type + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var type: EthereumAddress.AddressType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ==(_:_:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func == (lhs: EthereumAddress, rhs: EthereumAddress) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addressData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var addressData: Data { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var address: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toChecksumAddress(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func toChecksumAddress(_ addr: String) -> String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:type:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ addressString: String, type: AddressType = .normal)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:type:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ addressData: Data, type: AddressType = .normal)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + check() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func check() throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractDeployment + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var contractDeployment: EthereumAddress { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + solidityData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var solidityData: Data { get }
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + isEqualTo(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isEqualTo(_ other: AnyObject) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + eventFilterEncoded() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func eventFilterEncoded() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + StringLiteralType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias StringLiteralType = String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(stringLiteral:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(stringLiteral value: StringLiteralType)
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(to:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(to encoder: Encoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/EthereumAddress/AddressType.html b/Documentation/Structs/EthereumAddress/AddressType.html new file mode 100644 index 00000000..b68d60bc --- /dev/null +++ b/Documentation/Structs/EthereumAddress/AddressType.html @@ -0,0 +1,720 @@ + + + + AddressType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AddressType

+
+
+
public enum AddressType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + normal + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case normal
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractDeployment + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case contractDeployment
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/EthereumBloomFilter.html b/Documentation/Structs/EthereumBloomFilter.html new file mode 100644 index 00000000..5c641417 --- /dev/null +++ b/Documentation/Structs/EthereumBloomFilter.html @@ -0,0 +1,1024 @@ + + + + EthereumBloomFilter Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EthereumBloomFilter

+
+
+
public struct EthereumBloomFilter
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + bytes + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var bytes: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ biguint: BigUInt)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ data: Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + asBigUInt() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func asBigUInt() -> BigUInt
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + createBloom(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func createBloom(_ receipts: [TransactionReceipt]) -> EthereumBloomFilter?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + test(topic:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func test(topic: Data) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + test(topic:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func test(topic: BigUInt) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bloomLookup(_:topic:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func bloomLookup(_ bloom: EthereumBloomFilter, topic: Data) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bloomLookup(_:topic:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func bloomLookup(_ bloom: EthereumBloomFilter, topic: BigUInt) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + add(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public mutating func add(_ biguint: BigUInt) -> <<error type>>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + add(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public mutating func add(_ data: Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lookup(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func lookup(_ topic: Data) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/EthereumTransaction.html b/Documentation/Structs/EthereumTransaction.html new file mode 100644 index 00000000..ef79d5fe --- /dev/null +++ b/Documentation/Structs/EthereumTransaction.html @@ -0,0 +1,1400 @@ + + + + EthereumTransaction Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EthereumTransaction

+
+
+
public struct EthereumTransaction : CustomStringConvertible
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + nonce + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var nonce: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasPrice: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasLimit + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasLimit: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + to + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var to: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + data + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var data: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + v + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var v: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + r + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var r: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + s + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var s: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + inferedChainID + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var inferedChainID: NetworkId? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + intrinsicChainID + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var intrinsicChainID: BigUInt? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UNSAFE_setChainID(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public mutating func UNSAFE_setChainID(_ chainID: NetworkId?)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var hash: Data? { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(gasPrice: BigUInt, gasLimit: BigUInt, to: Address, value: BigUInt, data: Data)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(to: Address, data: Data, options: Web3Options)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(nonce: BigUInt, gasPrice: BigUInt, gasLimit: BigUInt, to: Address, value: BigUInt, data: Data, v: BigUInt, r: BigUInt, s: BigUInt)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + mergedWithOptions(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func mergedWithOptions(_ options: Web3Options) -> EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + sender + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var sender: Address? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + recoverPublicKey() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func recoverPublicKey() -> Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + txhash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var txhash: String? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + txid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var txid: String? { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(forSignature: Bool = false, chainId: NetworkId? = nil) -> Data?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encodeAsDictionary(from: Address? = nil) -> TransactionParameters?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func hashForSignature(chainID: NetworkId? = nil) -> Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fromRaw(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func fromRaw(_ raw: Data) -> EthereumTransaction?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/EventFilter.html b/Documentation/Structs/EventFilter.html new file mode 100644 index 00000000..7118bf9f --- /dev/null +++ b/Documentation/Structs/EventFilter.html @@ -0,0 +1,888 @@ + + + + EventFilter Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventFilter

+
+
+
public struct EventFilter
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Block + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Block
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(fromBlock: Block?, toBlock: Block?,
    +            addresses: [Address]? = nil,
    +            parameterFilters: [[EventFilterable]?]? = nil)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fromBlock + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var fromBlock: EventFilter.Block?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toBlock + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var toBlock: EventFilter.Block?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addresses + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var addresses: [Address]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parameterFilters + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parameterFilters: [[EventFilterable]?]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + rpcPreEncode() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func rpcPreEncode() -> EventFilterParameters
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/EventFilter/Block.html b/Documentation/Structs/EventFilter/Block.html new file mode 100644 index 00000000..981c49db --- /dev/null +++ b/Documentation/Structs/EventFilter/Block.html @@ -0,0 +1,750 @@ + + + + Block Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Block

+
+
+
public enum Block
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + latest + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case latest
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pending + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case pending
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockNumber(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case blockNumber(UInt64)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/EventFilterParameters.html b/Documentation/Structs/EventFilterParameters.html new file mode 100644 index 00000000..3d4b9d2d --- /dev/null +++ b/Documentation/Structs/EventFilterParameters.html @@ -0,0 +1,777 @@ + + + + EventFilterParameters Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventFilterParameters

+
+
+
public struct EventFilterParameters : Codable
+ +
+
+

Event filter parameters JSON structure for interaction with Ethereum node.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + fromBlock + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var fromBlock: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toBlock + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var toBlock: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topics + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var topics: [[String?]?]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var address: [String?]?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/EventLog.html b/Documentation/Structs/EventLog.html new file mode 100644 index 00000000..eb32cb67 --- /dev/null +++ b/Documentation/Structs/EventLog.html @@ -0,0 +1,938 @@ + + + + EventLog Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventLog

+
+
+
public struct EventLog : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var address: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var blockHash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockNumber + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var blockNumber: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + data + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var data: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + logIndex + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var logIndex: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + removed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var removed: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topics + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var topics: [Data]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactionHash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionIndex + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactionIndex: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/EventParserResult.html b/Documentation/Structs/EventParserResult.html new file mode 100644 index 00000000..46d71db2 --- /dev/null +++ b/Documentation/Structs/EventParserResult.html @@ -0,0 +1,831 @@ + + + + EventParserResult Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventParserResult

+
+
+
public struct EventParserResult : EventParserResultProtocol
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + eventName + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var eventName: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionReceipt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactionReceipt: TransactionReceipt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var contractAddress: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + decodedResult + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var decodedResult: [String : Any]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + eventLog + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var eventLog: EventLog?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(eventName: String, transactionReceipt: TransactionReceipt?, contractAddress: Address, decodedResult: [String : Any])
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/IBAN.html b/Documentation/Structs/IBAN.html new file mode 100644 index 00000000..7542f1a4 --- /dev/null +++ b/Documentation/Structs/IBAN.html @@ -0,0 +1,993 @@ + + + + IBAN Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

IBAN

+
+
+
public struct IBAN
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + iban + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var iban: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isDirect + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isDirect: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isIndirect + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isIndirect: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + checksum + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var checksum: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + asset + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var asset: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + institution + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var institution: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + client + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var client: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toAddress() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func toAddress() -> Address?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func isValidIBANaddress(_ iban: String, noValidityCheck: Bool = false) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ ibanString: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + check(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func check(_ address: Address) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ address: Address)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/ICAP.html b/Documentation/Structs/ICAP.html new file mode 100644 index 00000000..b37b91a2 --- /dev/null +++ b/Documentation/Structs/ICAP.html @@ -0,0 +1,750 @@ + + + + ICAP Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ICAP

+
+
+
public struct ICAP
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + asset + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var asset: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + institution + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var institution: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + client + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var client: String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/InspectedTransaction.html b/Documentation/Structs/InspectedTransaction.html new file mode 100644 index 00000000..d1d83ec4 --- /dev/null +++ b/Documentation/Structs/InspectedTransaction.html @@ -0,0 +1,831 @@ + + + + InspectedTransaction Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

InspectedTransaction

+
+
+
public struct InspectedTransaction
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + from + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let from: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + nonce + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let nonce: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + to + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let to: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let value: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasLimit + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let gasLimit: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let gasPrice: BigUInt
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/JsonRpcMethod.html b/Documentation/Structs/JsonRpcMethod.html new file mode 100644 index 00000000..5f5eb030 --- /dev/null +++ b/Documentation/Structs/JsonRpcMethod.html @@ -0,0 +1,1344 @@ + + + + JsonRpcMethod Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcMethod

+
+
+
public struct JsonRpcMethod : Encodable, Equatable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + api + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var api: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parameters + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parameters: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(api:parameters:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(api: String, parameters: Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let gasPrice: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockNumber + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let blockNumber: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getNetwork + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getNetwork: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + sendRawTransaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let sendRawTransaction: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + sendTransaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let sendTransaction: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + estimateGas + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let estimateGas: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + call + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let call: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getTransactionCount + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getTransactionCount: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getBalance + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getBalance: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getCode + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getCode: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getStorageAt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getStorageAt: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getTransactionByHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getTransactionByHash: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getTransactionReceipt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getTransactionReceipt: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getAccounts + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getAccounts: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getBlockByHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getBlockByHash: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getBlockByNumber + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getBlockByNumber: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + personalSign + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let personalSign: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + unlockAccount + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let unlockAccount: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getLogs + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getLogs: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + txPoolStatus + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let txPoolStatus: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + txPoolInspect + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let txPoolInspect: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + txPoolContent + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let txPoolContent: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/JsonRpcParams.html b/Documentation/Structs/JsonRpcParams.html new file mode 100644 index 00000000..30d77722 --- /dev/null +++ b/Documentation/Structs/JsonRpcParams.html @@ -0,0 +1,722 @@ + + + + JsonRpcParams Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcParams

+
+
+
public struct JsonRpcParams : Encodable
+ +
+
+

Raw JSON RCP 2.0 internal flattening wrapper.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + params + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var params: [Any]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(to:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(to encoder: Encoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/JsonRpcRequest.html b/Documentation/Structs/JsonRpcRequest.html new file mode 100644 index 00000000..359a6179 --- /dev/null +++ b/Documentation/Structs/JsonRpcRequest.html @@ -0,0 +1,749 @@ + + + + JsonRpcRequest Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcRequest

+
+
+
public struct JsonRpcRequest : Encodable
+ +
+
+

JSON RPC request structure for serialization and deserialization purposes.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(method:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(method: JsonRpcMethod)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(to:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(to encoder: Encoder) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/JsonRpcRequestBatch.html b/Documentation/Structs/JsonRpcRequestBatch.html new file mode 100644 index 00000000..a061c5e3 --- /dev/null +++ b/Documentation/Structs/JsonRpcRequestBatch.html @@ -0,0 +1,695 @@ + + + + JsonRpcRequestBatch Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcRequestBatch

+
+
+
public struct JsonRpcRequestBatch : Encodable
+ +
+
+

JSON RPC batch request structure for serialization and deserialization purposes.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + encode(to:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(to encoder: Encoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/JsonRpcRequestFabric.html b/Documentation/Structs/JsonRpcRequestFabric.html new file mode 100644 index 00000000..870989e5 --- /dev/null +++ b/Documentation/Structs/JsonRpcRequestFabric.html @@ -0,0 +1,696 @@ + + + + JsonRpcRequestFabric Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcRequestFabric

+
+
+
public struct JsonRpcRequestFabric
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/JsonRpcResponse.html b/Documentation/Structs/JsonRpcResponse.html new file mode 100644 index 00000000..93ba6f6a --- /dev/null +++ b/Documentation/Structs/JsonRpcResponse.html @@ -0,0 +1,941 @@ + + + + JsonRpcResponse Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcResponse

+
+
+
public struct JsonRpcResponse : Decodable
+ +
+
+

JSON RPC response structure for serialization and deserialization purposes.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var id: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + jsonrpc + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var jsonrpc: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + result + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var result: Any?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var error: JsonRpcResponse.ErrorMessage?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + message + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var message: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + response() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func response() throws -> DictionaryReader
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(id: Int, jsonrpc: String, result: Any?, error: ErrorMessage?)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ErrorMessage + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ErrorMessage : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getValue() + +
    +
    +
    +
    +
    +
    +

    Get the JSON RCP reponse value by deserializing it into some native class.

    + +

    Returns nil if serialization fails

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getValue<T>() -> T?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/JsonRpcResponse/ErrorMessage.html b/Documentation/Structs/JsonRpcResponse/ErrorMessage.html new file mode 100644 index 00000000..eba3741a --- /dev/null +++ b/Documentation/Structs/JsonRpcResponse/ErrorMessage.html @@ -0,0 +1,723 @@ + + + + ErrorMessage Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ErrorMessage

+
+
+
public struct ErrorMessage : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + code + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var code: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + message + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var message: String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/JsonRpcResponseBatch.html b/Documentation/Structs/JsonRpcResponseBatch.html new file mode 100644 index 00000000..6450238b --- /dev/null +++ b/Documentation/Structs/JsonRpcResponseBatch.html @@ -0,0 +1,695 @@ + + + + JsonRpcResponseBatch Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcResponseBatch

+
+
+
public struct JsonRpcResponseBatch : Decodable
+ +
+
+

JSON RPC batch response structure for serialization and deserialization purposes.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/KeystoreParamsBIP32.html b/Documentation/Structs/KeystoreParamsBIP32.html new file mode 100644 index 00000000..00f432b6 --- /dev/null +++ b/Documentation/Structs/KeystoreParamsBIP32.html @@ -0,0 +1,696 @@ + + + + KeystoreParamsBIP32 Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

KeystoreParamsBIP32

+
+
+
public struct KeystoreParamsBIP32 : Decodable, Encodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/KeystoreParamsV3.html b/Documentation/Structs/KeystoreParamsV3.html new file mode 100644 index 00000000..3c0c98a0 --- /dev/null +++ b/Documentation/Structs/KeystoreParamsV3.html @@ -0,0 +1,696 @@ + + + + KeystoreParamsV3 Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

KeystoreParamsV3

+
+
+
public struct KeystoreParamsV3 : Decodable, Encodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/NaturalUnits.html b/Documentation/Structs/NaturalUnits.html new file mode 100644 index 00000000..a83d03fd --- /dev/null +++ b/Documentation/Structs/NaturalUnits.html @@ -0,0 +1,805 @@ + + + + NaturalUnits Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

NaturalUnits

+
+
+
public struct NaturalUnits
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let string: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ string: String) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ int: Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + number(with:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func number(with decimals: Int) -> BigUInt
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/NaturalUnits/Error.html b/Documentation/Structs/NaturalUnits/Error.html new file mode 100644 index 00000000..b6cce3a3 --- /dev/null +++ b/Documentation/Structs/NaturalUnits/Error.html @@ -0,0 +1,723 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + cannotConvert(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotConvert(String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + localizedDescription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var localizedDescription: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/NetworkId.html b/Documentation/Structs/NetworkId.html new file mode 100644 index 00000000..75b0c84b --- /dev/null +++ b/Documentation/Structs/NetworkId.html @@ -0,0 +1,1264 @@ + + + + NetworkId Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

NetworkId

+
+
+
public struct NetworkId : RawRepresentable, CustomStringConvertible, ExpressibleByIntegerLiteral
+ +
+
+

Enum for the most-used Ethereum networks. Network ID is crucial for EIP155 support

+ +
+
+ +
+
+
+
    +
  • +
    + + + + IntegerLiteralType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias IntegerLiteralType = Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + rawValue + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var rawValue: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(rawValue:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(rawValue: BigUInt)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ rawValue: BigUInt)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ rawValue: Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(integerLiteral:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(integerLiteral value: Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + all + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var all: [NetworkId] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var `default`: NetworkId
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + mainnet + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var mainnet: NetworkId { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ropsten + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var ropsten: NetworkId { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + rinkeby + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var rinkeby: NetworkId { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + kovan + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var kovan: NetworkId { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Magnitude + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias Magnitude = RawValue.Magnitude
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + magnitude + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var magnitude: RawValue.Magnitude { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(exactly:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?<T>(exactly source: T) where T : BinaryInteger
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + *(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func * (lhs: NetworkId, rhs: NetworkId) -> NetworkId
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + *=(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func *= (lhs: inout NetworkId, rhs: NetworkId)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + +(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func + (lhs: NetworkId, rhs: NetworkId) -> NetworkId
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + +=(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func += (lhs: inout NetworkId, rhs: NetworkId)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + -(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func - (lhs: NetworkId, rhs: NetworkId) -> NetworkId
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + -=(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func -= (lhs: inout NetworkId, rhs: NetworkId)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/RIPEMD160.html b/Documentation/Structs/RIPEMD160.html new file mode 100644 index 00000000..530220aa --- /dev/null +++ b/Documentation/Structs/RIPEMD160.html @@ -0,0 +1,893 @@ + + + + RIPEMD160 Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

RIPEMD160

+
+
+
public struct RIPEMD160
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + update(data:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public mutating func update(data: Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + finalize() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public mutating func finalize() -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + hash(message:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func hash(message: Data) -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hash(message:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func hash(message: String) -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + hmac(key:message:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func hmac(key: Data, message: Data) -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hmac(key:message:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func hmac(key: Data, message: String) -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hmac(key:message:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func hmac(key: String, message: String) -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/SECP256K1.html b/Documentation/Structs/SECP256K1.html new file mode 100644 index 00000000..6f788ebb --- /dev/null +++ b/Documentation/Structs/SECP256K1.html @@ -0,0 +1,696 @@ + + + + SECP256K1 Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SECP256K1

+
+
+
public struct SECP256K1
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + UnmarshaledSignature + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct UnmarshaledSignature
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/Token.html b/Documentation/Structs/Token.html new file mode 100644 index 00000000..3b2a26f5 --- /dev/null +++ b/Documentation/Structs/Token.html @@ -0,0 +1,803 @@ + + + + Token Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Token

+
+
+
public struct Token : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let address: Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + name + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let name: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + symbol + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let symbol: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + decimal + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let decimal: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/TransactionDetails.html b/Documentation/Structs/TransactionDetails.html new file mode 100644 index 00000000..16858f81 --- /dev/null +++ b/Documentation/Structs/TransactionDetails.html @@ -0,0 +1,830 @@ + + + + TransactionDetails Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionDetails

+
+
+
public struct TransactionDetails : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + blockHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var blockHash: Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockNumber + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var blockNumber: BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionIndex + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactionIndex: BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transaction: EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ json: [String : Any]) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/TransactionHistoryRecord.html b/Documentation/Structs/TransactionHistoryRecord.html new file mode 100644 index 00000000..b92cbadb --- /dev/null +++ b/Documentation/Structs/TransactionHistoryRecord.html @@ -0,0 +1,1127 @@ + + + + TransactionHistoryRecord Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionHistoryRecord

+
+
+
public struct TransactionHistoryRecord : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let hash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + block + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let block: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addressFrom + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let addressFrom: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addressTo + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let addressTo: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isoTime + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let isoTime: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + type + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let type: TransactionType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + status + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let status: TransactionStatus
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let error: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isContract + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let isContract: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isInner + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let isInner: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let value: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + token + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let token: Token
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + txFee + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let txFee: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasUsed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let gasUsed: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasCost + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let gasCost: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/TransactionParameters.html b/Documentation/Structs/TransactionParameters.html new file mode 100644 index 00000000..0d7c5e96 --- /dev/null +++ b/Documentation/Structs/TransactionParameters.html @@ -0,0 +1,858 @@ + + + + TransactionParameters Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionParameters

+
+
+
public struct TransactionParameters : Codable
+ +
+
+

Transaction parameters JSON structure for interaction with Ethereum node.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + data + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var data: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + from + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var from: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gas + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gas: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasPrice: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + to + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var to: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:to:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from _from: String?, to _to: String?)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/TransactionReceipt.html b/Documentation/Structs/TransactionReceipt.html new file mode 100644 index 00000000..726205dd --- /dev/null +++ b/Documentation/Structs/TransactionReceipt.html @@ -0,0 +1,1020 @@ + + + + TransactionReceipt Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionReceipt

+
+
+
public struct TransactionReceipt : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + transactionHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactionHash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var blockHash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockNumber + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var blockNumber: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionIndex + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactionIndex: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var contractAddress: Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + cumulativeGasUsed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var cumulativeGasUsed: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasUsed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasUsed: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + logs + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var logs: [EventLog]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + status + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var status: TXStatus
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + logsBloom + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var logsBloom: EthereumBloomFilter?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TXStatus + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TXStatus
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(transactionHash: Data, blockHash: Data, blockNumber: BigUInt, transactionIndex: BigUInt, contractAddress: Address?, cumulativeGasUsed: BigUInt, gasUsed: BigUInt, logs: [EventLog], status: TXStatus, logsBloom: EthereumBloomFilter?)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/TransactionReceipt/TXStatus.html b/Documentation/Structs/TransactionReceipt/TXStatus.html new file mode 100644 index 00000000..81137135 --- /dev/null +++ b/Documentation/Structs/TransactionReceipt/TXStatus.html @@ -0,0 +1,750 @@ + + + + TXStatus Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TXStatus

+
+
+
public enum TXStatus
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + ok + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case ok
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + failed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case failed
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + notYetProcessed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notYetProcessed
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/TransactionSendingResult.html b/Documentation/Structs/TransactionSendingResult.html new file mode 100644 index 00000000..738e3815 --- /dev/null +++ b/Documentation/Structs/TransactionSendingResult.html @@ -0,0 +1,723 @@ + + + + TransactionSendingResult Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionSendingResult

+
+
+
public struct TransactionSendingResult
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + transaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transaction: EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var hash: String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/TxPoolContent.html b/Documentation/Structs/TxPoolContent.html new file mode 100644 index 00000000..014b3c68 --- /dev/null +++ b/Documentation/Structs/TxPoolContent.html @@ -0,0 +1,723 @@ + + + + TxPoolContent Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TxPoolContent

+
+
+
public struct TxPoolContent
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + pending + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let pending: [TxPoolTransaction]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + queued + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let queued: [TxPoolTransaction]
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/TxPoolInspect.html b/Documentation/Structs/TxPoolInspect.html new file mode 100644 index 00000000..a0f848b7 --- /dev/null +++ b/Documentation/Structs/TxPoolInspect.html @@ -0,0 +1,723 @@ + + + + TxPoolInspect Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TxPoolInspect

+
+
+
public struct TxPoolInspect
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + pending + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let pending: [InspectedTransaction]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + queued + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let queued: [InspectedTransaction]
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/TxPoolStatus.html b/Documentation/Structs/TxPoolStatus.html new file mode 100644 index 00000000..fe692c6a --- /dev/null +++ b/Documentation/Structs/TxPoolStatus.html @@ -0,0 +1,723 @@ + + + + TxPoolStatus Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TxPoolStatus

+
+
+
public struct TxPoolStatus
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + pending + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pending: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + queued + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var queued: Int
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/TxPoolTransaction.html b/Documentation/Structs/TxPoolTransaction.html new file mode 100644 index 00000000..89b26000 --- /dev/null +++ b/Documentation/Structs/TxPoolTransaction.html @@ -0,0 +1,1020 @@ + + + + TxPoolTransaction Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TxPoolTransaction

+
+
+
public struct TxPoolTransaction
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + from + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let from: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + nonce + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let nonce: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + to + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let to: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let value: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasLimit + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let gasLimit: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let gasPrice: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + input + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let input: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let hash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + v + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let v: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + r + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let r: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + s + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let s: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let blockHash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionIndex + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let transactionIndex: BigUInt
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/Web3Options.html b/Documentation/Structs/Web3Options.html new file mode 100644 index 00000000..e3cd79ec --- /dev/null +++ b/Documentation/Structs/Web3Options.html @@ -0,0 +1,1014 @@ + + + + Web3Options Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Options

+
+
+
public struct Web3Options
+ +
+
+

Options for sending or calling a particular Ethereum transaction

+ +
+
+ +
+
+
+
    +
  • +
    + + + + to + +
    +
    +
    +
    +
    +
    +

    Sets the transaction destination. It can either be a contract address or a private key controlled wallet address.

    + +

    Usually should never be nil.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var to: Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + from + +
    +
    +
    +
    +
    +
    +

    Sets from what account a transaction should be sent. Used only internally as the sender of Ethereum transaction +is determined purely from the transaction signature. Indicates to the Ethereum node or to the local keystore what private key +should be used to sign a transaction.

    + +

    Can be nil if one reads the information from the blockchain.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var from: Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasLimit + +
    +
    +
    +
    +
    +
    +

    Sets the gas limit for a transaction.

    + +

    If set to nil it’s usually determined automatically.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasLimit: BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Sets the gas price for a transaction.

    + +

    If set to nil it’s usually determined automatically.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasPrice: BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Sets the value (amount of Wei) sent along the transaction.

    + +

    If set to nil it’s equal to zero

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +

    Default options filler. Sets gas limit, gas price and value to zeroes.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var `default`: Web3Options { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ json: [String : Any]) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    merges two sets of options along with a gas estimate to try to guess the final gas limit value required by user.

    + +

    Please refer to the source code for a logic.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func smartMergeGasLimit(originalOptions: Web3Options?, extraOptions: Web3Options?, gasEstimate: BigUInt) -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func smartMergeGasPrice(originalOptions: Web3Options?, extraOptions: Web3Options?, priceEstimate: BigUInt) -> BigUInt
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + defaultOptions() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func defaultOptions() -> Web3Options
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/Web3Signer.html b/Documentation/Structs/Web3Signer.html new file mode 100644 index 00000000..7023f770 --- /dev/null +++ b/Documentation/Structs/Web3Signer.html @@ -0,0 +1,808 @@ + + + + Web3Signer Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Signer

+
+
+
public struct Web3Signer
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/Web3Signer/EIP155Signer.html b/Documentation/Structs/Web3Signer/EIP155Signer.html new file mode 100644 index 00000000..4e5cbd40 --- /dev/null +++ b/Documentation/Structs/Web3Signer/EIP155Signer.html @@ -0,0 +1,724 @@ + + + + EIP155Signer Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EIP155Signer

+
+
+
public struct EIP155Signer
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func sign(transaction: inout EthereumTransaction, privateKey: Data, useExtraEntropy: Bool = false) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/Web3Signer/EIP155Signer/Error.html b/Documentation/Structs/Web3Signer/EIP155Signer/Error.html new file mode 100644 index 00000000..f4320908 --- /dev/null +++ b/Documentation/Structs/Web3Signer/EIP155Signer/Error.html @@ -0,0 +1,750 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + chainIdNotFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case chainIdNotFound
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hashNotFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case hashNotFound
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case recoveredPublicKeyCorrupted
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/Web3Signer/FallbackSigner.html b/Documentation/Structs/Web3Signer/FallbackSigner.html new file mode 100644 index 00000000..3a19062c --- /dev/null +++ b/Documentation/Structs/Web3Signer/FallbackSigner.html @@ -0,0 +1,724 @@ + + + + FallbackSigner Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

FallbackSigner

+
+
+
public struct FallbackSigner
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func sign(transaction: inout EthereumTransaction, privateKey: Data, useExtraEntropy _: Bool = false) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Structs/Web3Signer/FallbackSigner/Error.html b/Documentation/Structs/Web3Signer/FallbackSigner/Error.html new file mode 100644 index 00000000..d02465b6 --- /dev/null +++ b/Documentation/Structs/Web3Signer/FallbackSigner/Error.html @@ -0,0 +1,750 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + chainIdNotFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case chainIdNotFound
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hashNotFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case hashNotFound
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case recoveredPublicKeyCorrupted
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/Typealiases.html b/Documentation/Typealiases.html new file mode 100644 index 00000000..86b12373 --- /dev/null +++ b/Documentation/Typealiases.html @@ -0,0 +1,865 @@ + + + + Type Aliases Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Type Aliases

+

The following type aliases are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + JSONRPCrequest + +
    +
    +
    +
    +
    +
    +

    TIP +To quickly fix all renamed functions you can do:

    + +
      +
    1. (cmd + ‘) to jump to next issue
    2. +
    3. (ctrl + alt + cmd + f) to fix all issues in current file
    4. +
    5. repeat +web3swift 2.0 changes
    6. +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @available(*, deprecated: 2.0, renamed: "JsonRpcRequest")
    +public typealias JSONRPCrequest = JsonRpcRequest
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JSONRPCparams + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias JSONRPCparams = JsonRpcParams
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JSONRPCRequestFabric + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias JSONRPCRequestFabric = JsonRpcRequestFabric
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JSONRPCresponse + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias JSONRPCresponse = JsonRpcResponse
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JSONRPCresponseBatch + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias JSONRPCresponseBatch = JsonRpcResponseBatch
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EthereumAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias EthereumAddress = Address
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias TransactionIntermediate = Web3Contract.TransactionIntermediate
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/badge.svg b/Documentation/badge.svg new file mode 100644 index 00000000..7263c411 --- /dev/null +++ b/Documentation/badge.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + documentation + + + documentation + + + 15% + + + 15% + + + diff --git a/Documentation/css/highlight.css b/Documentation/css/highlight.css new file mode 100644 index 00000000..d0db0e13 --- /dev/null +++ b/Documentation/css/highlight.css @@ -0,0 +1,200 @@ +/* Credit to https://gist.github.com/wataru420/2048287 */ +.highlight { + /* Comment */ + /* Error */ + /* Keyword */ + /* Operator */ + /* Comment.Multiline */ + /* Comment.Preproc */ + /* Comment.Single */ + /* Comment.Special */ + /* Generic.Deleted */ + /* Generic.Deleted.Specific */ + /* Generic.Emph */ + /* Generic.Error */ + /* Generic.Heading */ + /* Generic.Inserted */ + /* Generic.Inserted.Specific */ + /* Generic.Output */ + /* Generic.Prompt */ + /* Generic.Strong */ + /* Generic.Subheading */ + /* Generic.Traceback */ + /* Keyword.Constant */ + /* Keyword.Declaration */ + /* Keyword.Pseudo */ + /* Keyword.Reserved */ + /* Keyword.Type */ + /* Literal.Number */ + /* Literal.String */ + /* Name.Attribute */ + /* Name.Builtin */ + /* Name.Class */ + /* Name.Constant */ + /* Name.Entity */ + /* Name.Exception */ + /* Name.Function */ + /* Name.Namespace */ + /* Name.Tag */ + /* Name.Variable */ + /* Operator.Word */ + /* Text.Whitespace */ + /* Literal.Number.Float */ + /* Literal.Number.Hex */ + /* Literal.Number.Integer */ + /* Literal.Number.Oct */ + /* Literal.String.Backtick */ + /* Literal.String.Char */ + /* Literal.String.Doc */ + /* Literal.String.Double */ + /* Literal.String.Escape */ + /* Literal.String.Heredoc */ + /* Literal.String.Interpol */ + /* Literal.String.Other */ + /* Literal.String.Regex */ + /* Literal.String.Single */ + /* Literal.String.Symbol */ + /* Name.Builtin.Pseudo */ + /* Name.Variable.Class */ + /* Name.Variable.Global */ + /* Name.Variable.Instance */ + /* Literal.Number.Integer.Long */ } + .highlight .c { + color: #999988; + font-style: italic; } + .highlight .err { + color: #a61717; + background-color: #e3d2d2; } + .highlight .k { + color: #000000; + font-weight: bold; } + .highlight .o { + color: #000000; + font-weight: bold; } + .highlight .cm { + color: #999988; + font-style: italic; } + .highlight .cp { + color: #999999; + font-weight: bold; } + .highlight .c1 { + color: #999988; + font-style: italic; } + .highlight .cs { + color: #999999; + font-weight: bold; + font-style: italic; } + .highlight .gd { + color: #000000; + background-color: #ffdddd; } + .highlight .gd .x { + color: #000000; + background-color: #ffaaaa; } + .highlight .ge { + color: #000000; + font-style: italic; } + .highlight .gr { + color: #aa0000; } + .highlight .gh { + color: #999999; } + .highlight .gi { + color: #000000; + background-color: #ddffdd; } + .highlight .gi .x { + color: #000000; + background-color: #aaffaa; } + .highlight .go { + color: #888888; } + .highlight .gp { + color: #555555; } + .highlight .gs { + font-weight: bold; } + .highlight .gu { + color: #aaaaaa; } + .highlight .gt { + color: #aa0000; } + .highlight .kc { + color: #000000; + font-weight: bold; } + .highlight .kd { + color: #000000; + font-weight: bold; } + .highlight .kp { + color: #000000; + font-weight: bold; } + .highlight .kr { + color: #000000; + font-weight: bold; } + .highlight .kt { + color: #445588; } + .highlight .m { + color: #009999; } + .highlight .s { + color: #d14; } + .highlight .na { + color: #008080; } + .highlight .nb { + color: #0086B3; } + .highlight .nc { + color: #445588; + font-weight: bold; } + .highlight .no { + color: #008080; } + .highlight .ni { + color: #800080; } + .highlight .ne { + color: #990000; + font-weight: bold; } + .highlight .nf { + color: #990000; } + .highlight .nn { + color: #555555; } + .highlight .nt { + color: #000080; } + .highlight .nv { + color: #008080; } + .highlight .ow { + color: #000000; + font-weight: bold; } + .highlight .w { + color: #bbbbbb; } + .highlight .mf { + color: #009999; } + .highlight .mh { + color: #009999; } + .highlight .mi { + color: #009999; } + .highlight .mo { + color: #009999; } + .highlight .sb { + color: #d14; } + .highlight .sc { + color: #d14; } + .highlight .sd { + color: #d14; } + .highlight .s2 { + color: #d14; } + .highlight .se { + color: #d14; } + .highlight .sh { + color: #d14; } + .highlight .si { + color: #d14; } + .highlight .sx { + color: #d14; } + .highlight .sr { + color: #009926; } + .highlight .s1 { + color: #d14; } + .highlight .ss { + color: #990073; } + .highlight .bp { + color: #999999; } + .highlight .vc { + color: #008080; } + .highlight .vg { + color: #008080; } + .highlight .vi { + color: #008080; } + .highlight .il { + color: #009999; } diff --git a/Documentation/css/jazzy.css b/Documentation/css/jazzy.css new file mode 100644 index 00000000..c83db5bf --- /dev/null +++ b/Documentation/css/jazzy.css @@ -0,0 +1,368 @@ +*, *:before, *:after { + box-sizing: inherit; } + +body { + margin: 0; + background: #fff; + color: #333; + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + letter-spacing: .2px; + -webkit-font-smoothing: antialiased; + box-sizing: border-box; } + +h1 { + font-size: 2rem; + font-weight: 700; + margin: 1.275em 0 0.6em; } + +h2 { + font-size: 1.75rem; + font-weight: 700; + margin: 1.275em 0 0.3em; } + +h3 { + font-size: 1.5rem; + font-weight: 700; + margin: 1em 0 0.3em; } + +h4 { + font-size: 1.25rem; + font-weight: 700; + margin: 1.275em 0 0.85em; } + +h5 { + font-size: 1rem; + font-weight: 700; + margin: 1.275em 0 0.85em; } + +h6 { + font-size: 1rem; + font-weight: 700; + margin: 1.275em 0 0.85em; + color: #777; } + +p { + margin: 0 0 1em; } + +ul, ol { + padding: 0 0 0 2em; + margin: 0 0 0.85em; } + +blockquote { + margin: 0 0 0.85em; + padding: 0 15px; + color: #858585; + border-left: 4px solid #e5e5e5; } + +img { + max-width: 100%; } + +a { + color: #4183c4; + text-decoration: none; } + a:hover, a:focus { + outline: 0; + text-decoration: underline; } + +table { + background: #fff; + width: 100%; + border-collapse: collapse; + border-spacing: 0; + overflow: auto; + margin: 0 0 0.85em; } + +tr:nth-child(2n) { + background-color: #fbfbfb; } + +th, td { + padding: 6px 13px; + border: 1px solid #ddd; } + +pre { + margin: 0 0 1.275em; + padding: .85em 1em; + overflow: auto; + background: #f7f7f7; + font-size: .85em; + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } + +code { + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } + +p > code, li > code { + background: #f7f7f7; + padding: .2em; } + p > code:before, p > code:after, li > code:before, li > code:after { + letter-spacing: -.2em; + content: "\00a0"; } + +pre code { + padding: 0; + white-space: pre; } + +.content-wrapper { + display: flex; + flex-direction: column; } + @media (min-width: 768px) { + .content-wrapper { + flex-direction: row; } } + +.header { + display: flex; + padding: 8px; + font-size: 0.875em; + background: #444; + color: #999; } + +.header-col { + margin: 0; + padding: 0 8px; } + +.header-col--primary { + flex: 1; } + +.header-link { + color: #fff; } + +.header-icon { + padding-right: 6px; + vertical-align: -4px; + height: 16px; } + +.breadcrumbs { + font-size: 0.875em; + padding: 8px 16px; + margin: 0; + background: #fbfbfb; + border-bottom: 1px solid #ddd; } + +.carat { + height: 10px; + margin: 0 5px; } + +.navigation { + order: 2; } + @media (min-width: 768px) { + .navigation { + order: 1; + width: 25%; + max-width: 300px; + padding-bottom: 64px; + overflow: hidden; + word-wrap: normal; + background: #fbfbfb; + border-right: 1px solid #ddd; } } + +.nav-groups { + list-style-type: none; + padding-left: 0; } + +.nav-group-name { + border-bottom: 1px solid #ddd; + padding: 8px 0 8px 16px; } + +.nav-group-name-link { + color: #333; } + +.nav-group-tasks { + margin: 8px 0; + padding: 0 0 0 8px; } + +.nav-group-task { + font-size: 1em; + list-style-type: none; + white-space: nowrap; } + +.nav-group-task-link { + color: #808080; } + +.main-content { + order: 1; } + @media (min-width: 768px) { + .main-content { + order: 2; + flex: 1; + padding-bottom: 60px; } } + +.section { + padding: 0 32px; + border-bottom: 1px solid #ddd; } + +.section-content { + max-width: 834px; + margin: 0 auto; + padding: 16px 0; } + +.section-name { + color: #666; + display: block; } + +.declaration .highlight { + overflow-x: initial; + padding: 8px 0; + margin: 0; + background-color: transparent; + border: none; } + +.task-group-section { + border-top: 1px solid #ddd; } + +.task-group { + padding-top: 0px; } + +.task-name-container a[name]:before { + content: ""; + display: block; } + +.item-container { + padding: 0; } + +.item { + padding-top: 8px; + width: 100%; + list-style-type: none; } + .item a[name]:before { + content: ""; + display: block; } + .item .token { + padding-left: 3px; + margin-left: 0px; + font-size: 1rem; } + .item .declaration-note { + font-size: .85em; + color: #808080; + font-style: italic; } + +.pointer-container { + border-bottom: 1px solid #ddd; + left: -23px; + padding-bottom: 13px; + position: relative; + width: 110%; } + +.pointer { + left: 21px; + top: 7px; + display: block; + position: absolute; + width: 12px; + height: 12px; + border-left: 1px solid #ddd; + border-top: 1px solid #ddd; + background: #fff; + transform: rotate(45deg); } + +.height-container { + display: none; + position: relative; + width: 100%; + overflow: hidden; } + .height-container .section { + background: #fff; + border: 1px solid #ddd; + border-top-width: 0; + padding-top: 10px; + padding-bottom: 5px; + padding: 8px 16px; } + +.aside, .language { + padding: 6px 12px; + margin: 12px 0; + border-left: 5px solid #dddddd; + overflow-y: hidden; } + .aside .aside-title, .language .aside-title { + font-size: 9px; + letter-spacing: 2px; + text-transform: uppercase; + padding-bottom: 0; + margin: 0; + color: #aaa; + -webkit-user-select: none; } + .aside p:last-child, .language p:last-child { + margin-bottom: 0; } + +.language { + border-left: 5px solid #cde9f4; } + .language .aside-title { + color: #4183c4; } + +.aside-warning { + border-left: 5px solid #ff6666; } + .aside-warning .aside-title { + color: #ff0000; } + +.graybox { + border-collapse: collapse; + width: 100%; } + .graybox p { + margin: 0; + word-break: break-word; + min-width: 50px; } + .graybox td { + border: 1px solid #ddd; + padding: 5px 25px 5px 10px; + vertical-align: middle; } + .graybox tr td:first-of-type { + text-align: right; + padding: 7px; + vertical-align: top; + word-break: normal; + width: 40px; } + +.slightly-smaller { + font-size: 0.9em; } + +.footer { + padding: 8px 16px; + background: #444; + color: #ddd; + font-size: 0.8em; } + .footer p { + margin: 8px 0; } + .footer a { + color: #fff; } + +html.dash .header, html.dash .breadcrumbs, html.dash .navigation { + display: none; } +html.dash .height-container { + display: block; } + +form[role=search] input { + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 24px; + padding: 0 10px; + margin: 0; + border: none; + border-radius: 1em; } + .loading form[role=search] input { + background: white url(../img/spinner.gif) center right 4px no-repeat; } +form[role=search] .tt-menu { + margin: 0; + min-width: 300px; + background: #fbfbfb; + color: #333; + border: 1px solid #ddd; } +form[role=search] .tt-highlight { + font-weight: bold; } +form[role=search] .tt-suggestion { + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + padding: 0 8px; } + form[role=search] .tt-suggestion span { + display: table-cell; + white-space: nowrap; } + form[role=search] .tt-suggestion .doc-parent-name { + width: 100%; + text-align: right; + font-weight: normal; + font-size: 0.9em; + padding-left: 16px; } +form[role=search] .tt-suggestion:hover, +form[role=search] .tt-suggestion.tt-cursor { + cursor: pointer; + background-color: #4183c4; + color: #fff; } +form[role=search] .tt-suggestion:hover .doc-parent-name, +form[role=search] .tt-suggestion.tt-cursor .doc-parent-name { + color: #fff; } diff --git a/Documentation/docsets/web3swift.docset/Contents/Info.plist b/Documentation/docsets/web3swift.docset/Contents/Info.plist new file mode 100644 index 00000000..e0c6c23d --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleIdentifier + com.jazzy.web3swift + CFBundleName + web3swift + DocSetPlatformFamily + web3swift + isDashDocset + + dashIndexFilePath + index.html + isJavaScriptEnabled + + DashDocSetFamily + dashtoc + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes.html new file mode 100644 index 00000000..9ec5131b --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes.html @@ -0,0 +1,1667 @@ + + + + Classes Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Classes

+

The following classes are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + SolidityType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityType : Equatable, CustomStringConvertible
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityFunction + +
    +
    +
    +
    +
    +
    +

    Converts: + balanceOf(address) + transfer(address,address,uint256) + transfer(address, address, uint256) + transfer(address, address, uint256) + transfer (address, address, uint) + transfer ( address , address , uint256 ) +To: + function.name: String + function.types: [SolidityType]

    + +

    Mainthread-friendly +Performance: + transfer(uint256,address) // ~184k ops + transfer(uint256,address,address,bytes32,uint256[32]) // performance ~100k ops

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityFunction : CustomStringConvertible
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + BlockExplorer + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class BlockExplorer
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ERC20 + +
    +
    +
    +
    +
    +
    +

    Native implementation of ERC20 token

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class ERC20
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ERC721 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class ERC721
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ERC777 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class ERC777
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + EthURL + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class EthURL
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3 + +
    +
    +
    +
    +
    +
    +

    A web3 instance bound to provider. All further functionality is provided under web.*. namespaces.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Web3 : Web3OptionsInheritable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + HDNode + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class HDNode
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + Mnemonics + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Mnemonics
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + HDPath + +
    +
    +
    +
    +
    +
    +

    Can be used to check if HDPath is valid

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class HDPath : ExpressibleByStringLiteral
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+ +
+
+
    +
  • +
    + + + + _ObjCBigUInt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(BigUInt)
    +public final class _ObjCBigUInt : NSObject
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + _ObjCAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(Address)
    +public final class _ObjCAddress : NSObject
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + _ObjCKeystoreManager + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(KeystoreManager)
    +public final class _ObjCKeystoreManager : NSObject
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + _ObjCPlainKeystore + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(PlainKeystore)
    +public final class _ObjCPlainKeystore : NSObject
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + _ObjCweb3Eth + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(web3Eth)
    +public final class _ObjCweb3Eth : NSObject
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + _ObjCweb3 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(web3)
    +public final class _ObjCweb3 : NSObject
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + _ObjCWeb3 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(Web3)
    +public final class _ObjCWeb3 : NSObject
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class JsonRpcRequestDispatcher
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + DictionaryReader + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class DictionaryReader
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + TxPool + +
    +
    +
    +
    +
    +
    +

    Native realisation of txpool

    +
    +

    Important

    + Doesn’t works with Infura provider + +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class TxPool
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3Contract + +
    +
    +
    +
    +
    +
    +

    Web3 instance bound contract instance.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Web3Contract
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + InfuraProvider + +
    +
    +
    +
    +
    +
    +

    Custom Web3 HTTP provider of Infura nodes.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class InfuraProvider : Web3HttpProvider
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3DataResponse + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Web3DataResponse
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Web3Response + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Web3Response
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3Utils + +
    +
    +
    +
    +
    +
    +

    Namespaced Utils functions. Are not bound to particular web3 instance, so capitalization matters.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Web3Utils
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/BIP32Keystore.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/BIP32Keystore.html new file mode 100644 index 00000000..41ae624c --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/BIP32Keystore.html @@ -0,0 +1,1101 @@ + + + + BIP32Keystore Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

BIP32Keystore

+
+
+
public class BIP32Keystore : AbstractKeystore
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + addresses + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var addresses: [Address] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isHDKeystore + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isHDKeystore: Bool
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func UNSAFE_getPrivateKeyData(password: String, account: Address) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + keystoreParams + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var keystoreParams: KeystoreParamsBIP32?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + paths + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var paths: [String : Address]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + rootPrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var rootPrefix: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init?(_ jsonString: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ jsonData: Data)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init(mnemonics: Mnemonics, password: String = "BANKEXFOUNDATION", prefixPath: String = HDNode.defaultPathMetamaskPrefix) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(seed: Data, password: String = "BANKEXFOUNDATION", prefixPath: String = HDNode.defaultPathMetamaskPrefix) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func createNewChildAccount(password: String = "BANKEXFOUNDATION") throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func createNewAccount(parentNode: HDNode, password: String = "BANKEXFOUNDATION", aesMode: String = "aes-128-cbc") throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func createNewCustomChildAccount(password: String = "BANKEXFOUNDATION", path: String) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func regenerate(oldPassword: String, newPassword: String, dkLen _: Int = 32, N _: Int = 4096, R _: Int = 6, P _: Int = 1) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + serialize() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func serialize() throws -> Data?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func serializeRootNodeToString(password: String = "BANKEXFOUNDATION") throws -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/BlockExplorer.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/BlockExplorer.html new file mode 100644 index 00000000..23cc75fa --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/BlockExplorer.html @@ -0,0 +1,781 @@ + + + + BlockExplorer Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

BlockExplorer

+
+
+
public class BlockExplorer
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + urlStringList + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var urlStringList: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init()
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/DictionaryReader.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/DictionaryReader.html new file mode 100644 index 00000000..bc97470b --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/DictionaryReader.html @@ -0,0 +1,967 @@ + + + + DictionaryReader Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

DictionaryReader

+
+
+
public class DictionaryReader
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + raw + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var raw: Any
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ data: Any)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + at(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func at(_ key: String) throws -> DictionaryReader
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dictionary(block:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func dictionary(block: (DictionaryReader, DictionaryReader) throws -> ()) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + array(block:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func array(block: (DictionaryReader) throws -> ()) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func address() throws -> Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string() throws -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + data() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func data() throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uint256() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func uint256() throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + int() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func int() throws -> Int
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/DictionaryReader/Error.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/DictionaryReader/Error.html new file mode 100644 index 00000000..66fb1104 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/DictionaryReader/Error.html @@ -0,0 +1,723 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + notFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notFound
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + unconvertable + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case unconvertable
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/ERC20.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/ERC20.html new file mode 100644 index 00000000..7792234c --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/ERC20.html @@ -0,0 +1,1347 @@ + + + + ERC20 Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ERC20

+
+
+
public class ERC20
+ +
+
+

Native implementation of ERC20 token

+ +
+
+ +
+
+
+
    +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let address: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var options: Web3Options
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + password + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var password: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasPrice: ERC20GasPrice { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Native implementation of ERC20 token

    +
    +

    Important

    + NOT main thread friendly + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ address: Address)
    + +
    +
    +
    +

    Return Value

    +

    full information for all pending and queued transactions

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ address: Address, from: Address, password: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + name() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func name() throws -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + symbol() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func symbol() throws -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + totalSupply() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func totalSupply() throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + decimals() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func decimals() throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + balance(of:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func balance(of user: Address) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + naturalBalance(of:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func naturalBalance(of user: Address) throws -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + allowance(from:to:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func allowance(from owner: Address, to spender: EthereumTransaction) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transfer(to:amount:) + +
    +
    +
    +
    +
    +
    +

    transfers to user (amount)

    +
    +

    Important

    + Transaction | Requires password | Contract owner only. + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transfer(to user: Address, amount: BigUInt) throws -> TransactionSendingResult
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + user + + +
    +

    recepient address

    +
    +
    + + amount + + +
    +

    amount in wei to send. If you want to send 1 token (not 0.00000000001) use NaturalUnits(amount) instead

    +
    +
    +
    +
    +

    Return Value

    +

    TransactionSendingResult

    +
    +
    +
    +
  • +
  • +
    + + + + approve(to:amount:) + +
    +
    +
    +
    +
    +
    +

    approves user to take (amount) tokens from your account +NaturalUnits is user readable representaion of tokens (like 0.01 / 1.543634)

    +
    +

    Important

    + Transaction | Requires password + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func approve(to user: Address, amount: BigUInt) throws -> TransactionSendingResult
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + user + + +
    +

    recepient address

    +
    +
    + + amount + + +
    +

    amount in wei to send. If you want to send 1 token (not 0.00000000001) use NaturalUnits(amount) instead

    +
    +
    +
    +
    +

    Return Value

    +

    TransactionSendingResult

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    transfers from user1 to user2 +NaturalUnits is user readable representaion of tokens (like 0.01 / 1.543634)

    +
    +

    Important

    + Transaction | Requires password | Contract owner only. +ERC20(address, from: me).transfer(to: user, amount: NaturalUnits(0.1)) is not the same as +ERC20(address).transferFrom(owner: me, to: user, amount: NaturalUnits(0.1)) + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transferFrom(owner: Address, to: Address, amount: BigUInt) throws -> TransactionSendingResult
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + user + + +
    +

    recepient address

    +
    +
    + + amount + + +
    +

    amount in wei to send. If you want to send 1 token (not 0.00000000001) use NaturalUnits(amount) instead

    +
    +
    +
    +
    +

    Return Value

    +

    TransactionSendingResult

    +
    +
    +
    +
  • +
  • +
    + + + + transfer(to:amount:) + +
    +
    +
    +
    +
    +
    +

    transfers to user (amount) +NaturalUnits is user readable representaion of tokens (like 0.01 / 1.543634)

    +
    +

    Important

    + Transaction | Requires password | Contract owner only. + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transfer(to user: Address, amount: NaturalUnits) throws -> TransactionSendingResult
    + +
    +
    +
    +

    Return Value

    +

    TransactionSendingResult

    +
    +
    +
    +
  • +
  • +
    + + + + approve(to:amount:) + +
    +
    +
    +
    +
    +
    +

    approves user to take (amount) tokens from your account +NaturalUnits is user readable representaion of tokens (like 0.01 / 1.543634)

    +
    +

    Important

    + Transaction | Requires password + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func approve(to user: Address, amount: NaturalUnits) throws -> TransactionSendingResult
    + +
    +
    +
    +

    Return Value

    +

    TransactionSendingResult

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    transfers from user1 to user2 +NaturalUnits is user readable representaion of tokens (like 0.01 / 1.543634)

    +
    +

    Important

    + Transaction | Requires password | Contract owner only. +ERC20(address, from: me).transfer(to: user, amount: NaturalUnits(0.1)) is not the same as +ERC20(address).transferFrom(owner: me, to: user, amount: NaturalUnits(0.1)) + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transferFrom(owner: Address, to: Address, amount: NaturalUnits) throws -> TransactionSendingResult
    + +
    +
    +
    +

    Return Value

    +

    TransactionSendingResult

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/ERC721.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/ERC721.html new file mode 100644 index 00000000..72725a97 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/ERC721.html @@ -0,0 +1,1047 @@ + + + + ERC721 Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ERC721

+
+
+
public class ERC721
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let address: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasPrice: ERC721GasPrice { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var options: Web3Options
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + password + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var password: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ address: Address)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ address: Address, from: Address, password: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + balance(of:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func balance(of user: Address) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + owner(of:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func owner(of token: BigUInt) throws -> Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + approve(to:token:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func approve(to user: Address, token: BigUInt) throws -> TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + approved(for:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func approved(for token: BigUInt) throws -> Address
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func setApproveForAll(operator: Address, approved: Bool) throws -> TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isApprovedForAll(owner: Address, operator: Address) throws -> Bool
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transfer(from: Address, to: Address, token: BigUInt) throws -> TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func safeTransfer(from: Address, to: Address, token: BigUInt) throws -> TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/ERC777.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/ERC777.html new file mode 100644 index 00000000..b847e9ae --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/ERC777.html @@ -0,0 +1,1128 @@ + + + + ERC777 Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ERC777

+
+
+
public class ERC777
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/EthURL.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/EthURL.html new file mode 100644 index 00000000..8517cb68 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/EthURL.html @@ -0,0 +1,940 @@ + + + + EthURL Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EthURL

+
+
+
public class EthURL
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isPay + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isPay: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + targetAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var targetAddress: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chainId + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var chainId: BigInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + functionName + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var functionName: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parameters + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parameters: [String : String]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var string: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + url + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var url: URL { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(address:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(address: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(string:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(string: String) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/EthURL/Error.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/EthURL/Error.html new file mode 100644 index 00000000..ed6de8c3 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/EthURL/Error.html @@ -0,0 +1,804 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + wrongScheme + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case wrongScheme
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addressCorrupted + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case addressCorrupted
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hostCorrupted + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case hostCorrupted
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + userCorrupted + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case userCorrupted
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + notURL + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notURL
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/EthereumKeystoreV3.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/EthereumKeystoreV3.html new file mode 100644 index 00000000..d0d29f4b --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/EthereumKeystoreV3.html @@ -0,0 +1,994 @@ + + + + EthereumKeystoreV3 Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EthereumKeystoreV3

+
+
+
public class EthereumKeystoreV3 : AbstractKeystore
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + getAddress() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getAddress() -> Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addresses + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var addresses: [Address] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isHDKeystore + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isHDKeystore: Bool
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    throws AbstractKeystoreError.invalidPasswordError +throws AbstractKeystoreError.invalidAccountError

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func UNSAFE_getPrivateKeyData(password: String, account: Address) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + keystoreParams + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var keystoreParams: KeystoreParamsV3?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init?(_ jsonString: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init?(_ jsonData: Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ keystoreParams: KeystoreParamsV3)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init? (password: String = "BANKEXFOUNDATION", aesMode: String = "aes-128-cbc") throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init? (privateKey: Data, password: String = "BANKEXFOUNDATION", aesMode: String = "aes-128-cbc") throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func regenerate(oldPassword: String, newPassword: String, dkLen _: Int = 32, N _: Int = 4096, R _: Int = 6, P _: Int = 1) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + serialize() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func serialize() throws -> Data?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDNode.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDNode.html new file mode 100644 index 00000000..ea7f8ffa --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDNode.html @@ -0,0 +1,1351 @@ + + + + HDNode Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HDNode

+
+
+
public class HDNode
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + HDversion + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct HDversion
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + path + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var path: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + privateKey + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var privateKey: Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + publicKey + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var publicKey: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chaincode + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var chaincode: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + depth + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var depth: UInt8
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parentFingerprint + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parentFingerprint: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + childNumber + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var childNumber: UInt32
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isHardened + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isHardened: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + index + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var index: UInt32 { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hasPrivate + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var hasPrivate: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init?(_ serializedString: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ data: Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(seed:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(seed: Data) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + defaultPath + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var defaultPath: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + defaultPathPrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var defaultPathPrefix: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + defaultPathMetamask + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var defaultPathMetamask: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var defaultPathMetamaskPrefix: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hardenedIndexPrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var hardenedIndexPrefix: UInt32
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDNode/DeriveError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDNode/DeriveError.html new file mode 100644 index 00000000..8631b379 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDNode/DeriveError.html @@ -0,0 +1,804 @@ + + + + DeriveError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

DeriveError

+
+
+
public enum DeriveError : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + providePrivateKey + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case providePrivateKey
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + indexIsTooBig + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case indexIsTooBig
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + depthIsTooBig + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case depthIsTooBig
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noHardenedDerivation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noHardenedDerivation
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case pathComponentsShouldBeConvertableToNumber
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDNode/Error.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDNode/Error.html new file mode 100644 index 00000000..56965929 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDNode/Error.html @@ -0,0 +1,750 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + invalidSeedSize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidSeedSize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidEntropySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidEntropySize
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidPublicKeyPrefix
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDNode/HDversion.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDNode/HDversion.html new file mode 100644 index 00000000..58cbab69 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDNode/HDversion.html @@ -0,0 +1,750 @@ + + + + HDversion Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HDversion

+
+
+
public struct HDversion
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + privatePrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var privatePrefix: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + publicPrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var publicPrefix: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDPath.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDPath.html new file mode 100644 index 00000000..3571ea9b --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDPath.html @@ -0,0 +1,1156 @@ + + + + HDPath Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HDPath

+
+
+
public class HDPath : ExpressibleByStringLiteral
+ +
+
+

Can be used to check if HDPath is valid

+ +
+
+ +
+
+
+
    +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var `default`: HDPath
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + defaultPrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var defaultPrefix: HDPath
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metamask + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var metamask: HDPath
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metamaskPrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var metamaskPrefix: HDPath
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hardenedIndexPrefix + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var hardenedIndexPrefix: UInt32
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Component + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Component : CustomStringConvertible
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + m + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var m: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + components + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public private(set) var components: [Component]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parent + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parent: HDPath?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + StringLiteralType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias StringLiteralType = String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(stringLiteral:) + +
    +
    +
    +
    +
    +
    +

    unsafe init with string. this one will crash if something goes wrong

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public required init(stringLiteral value: StringLiteralType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(path:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(path: String) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(m:components:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(m: Bool = true, components: [Component])
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func append(index: UInt32, hardened: Bool)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func appending(index: UInt32, hardened: Bool) -> HDPath
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDPath/Component.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDPath/Component.html new file mode 100644 index 00000000..a5b47250 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDPath/Component.html @@ -0,0 +1,749 @@ + + + + Component Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Component

+
+
+
public struct Component : CustomStringConvertible
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + index + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var index: UInt32
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isHardened + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isHardened: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDPath/Error.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDPath/Error.html new file mode 100644 index 00000000..3484bf20 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/HDPath/Error.html @@ -0,0 +1,723 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + corrupted(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case corrupted(String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + localizedDescription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var localizedDescription: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/InfuraProvider.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/InfuraProvider.html new file mode 100644 index 00000000..b73309e7 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/InfuraProvider.html @@ -0,0 +1,696 @@ + + + + InfuraProvider Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

InfuraProvider

+
+
+
public final class InfuraProvider : Web3HttpProvider
+ +
+
+

Custom Web3 HTTP provider of Infura nodes.

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/JsonRpcRequestDispatcher.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/JsonRpcRequestDispatcher.html new file mode 100644 index 00000000..b67a1a7a --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/JsonRpcRequestDispatcher.html @@ -0,0 +1,778 @@ + + + + JsonRpcRequestDispatcher Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcRequestDispatcher

+
+
+
public class JsonRpcRequestDispatcher
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + MAX_WAIT_TIME + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var MAX_WAIT_TIME: TimeInterval
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + policy + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var policy: DispatchPolicy
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + queue + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var queue: DispatchQueue
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DispatchPolicy + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum DispatchPolicy
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/JsonRpcRequestDispatcher/DispatchPolicy.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/JsonRpcRequestDispatcher/DispatchPolicy.html new file mode 100644 index 00000000..21b89688 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/JsonRpcRequestDispatcher/DispatchPolicy.html @@ -0,0 +1,723 @@ + + + + DispatchPolicy Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

DispatchPolicy

+
+
+
public enum DispatchPolicy
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Batch(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case Batch(Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + NoBatching + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case NoBatching
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/KeystoreManager.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/KeystoreManager.html new file mode 100644 index 00000000..d1cbf8ca --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/KeystoreManager.html @@ -0,0 +1,1047 @@ + + + + KeystoreManager Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

KeystoreManager

+
+
+
public class KeystoreManager : AbstractKeystore
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + isHDKeystore + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isHDKeystore: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addresses + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var addresses: [Address] { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func UNSAFE_getPrivateKeyData(password: String, account: Address) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + all + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var all: [KeystoreManager]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var `default`: KeystoreManager? { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func managerForPath(_ path: String, scanForHDwallets: Bool = false, suffix: String? = nil) -> KeystoreManager?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + path + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var path: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + walletForAddress(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func walletForAddress(_ address: Address) -> AbstractKeystore?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + keystores + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var keystores: [EthereumKeystoreV3] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bip32keystores + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var bip32keystores: [BIP32Keystore] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + plainKeystores + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var plainKeystores: [PlainKeystore] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ keystores: [EthereumKeystoreV3])
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ keystores: [BIP32Keystore])
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ keystores: [PlainKeystore])
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Mnemonics.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Mnemonics.html new file mode 100644 index 00000000..aabc7474 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Mnemonics.html @@ -0,0 +1,1000 @@ + + + + Mnemonics Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Mnemonics

+
+
+
public class Mnemonics
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EntropyError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum EntropyError : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let string: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + language + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let language: BIP39Language
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + entropy + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var entropy: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + password + +
    +
    +
    +
    +
    +
    +

    Mnemonics password affects on privateKey generation +WARNING: User cannot use mnemonics generated with password in metamask or some other services that doesn’t support mnemonics password +With different password you will generate different address

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var password: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + seed(from:password:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func seed(from mnemonics: String, password: String) -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:language:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ string: String, language: BIP39Language = .english) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(entropySize: EntropySize = .b256, language: BIP39Language = .english)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(entropy: Data, language: BIP39Language = .english) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + seed() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func seed() -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Mnemonics/EntropyError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Mnemonics/EntropyError.html new file mode 100644 index 00000000..c9582018 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Mnemonics/EntropyError.html @@ -0,0 +1,804 @@ + + + + EntropyError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EntropyError

+
+
+
public enum EntropyError : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + notEnoughtWords + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notEnoughtWords
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidNumberOfWords + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidNumberOfWords
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + wordNotFound(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case wordNotFound(String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidOrderOfWords + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidOrderOfWords
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + checksumFailed(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case checksumFailed(String, String)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Mnemonics/Error.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Mnemonics/Error.html new file mode 100644 index 00000000..d0de0fdb --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Mnemonics/Error.html @@ -0,0 +1,696 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + invalidEntropySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidEntropySize
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/PlainKeystore.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/PlainKeystore.html new file mode 100644 index 00000000..82df23b4 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/PlainKeystore.html @@ -0,0 +1,804 @@ + + + + PlainKeystore Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

PlainKeystore

+
+
+
public class PlainKeystore : AbstractKeystore
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + addresses + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var addresses: [Address]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isHDKeystore + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isHDKeystore: Bool
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func UNSAFE_getPrivateKeyData(password _: String = "", account _: Address) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(privateKey:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init(privateKey: String) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(privateKey:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(privateKey: Data) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityFunction.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityFunction.html new file mode 100644 index 00000000..27c776b0 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityFunction.html @@ -0,0 +1,926 @@ + + + + SolidityFunction Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityFunction

+
+
+
public class SolidityFunction : CustomStringConvertible
+ +
+
+

Converts: + balanceOf(address) + transfer(address,address,uint256) + transfer(address, address, uint256) + transfer(address, address, uint256) + transfer (address, address, uint) + transfer ( address , address , uint256 ) +To: + function.name: String + function.types: [SolidityType]

+ +

Mainthread-friendly +Performance: + transfer(uint256,address) // ~184k ops + transfer(uint256,address,address,bytes32,uint256[32]) // performance ~100k ops

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + name + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let name: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + types + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let types: [SolidityType]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + function + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let function: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public lazy var hash: Data { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(function:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(function: String) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(_ arguments: SolidityDataRepresentable...) -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(_ arguments: [SolidityDataRepresentable]) -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityFunction/Error.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityFunction/Error.html new file mode 100644 index 00000000..48033b6d --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityFunction/Error.html @@ -0,0 +1,723 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + corrupted + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case corrupted
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + emptyFunctionName + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case emptyFunctionName
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType.html new file mode 100644 index 00000000..aa6957d9 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType.html @@ -0,0 +1,1331 @@ + + + + SolidityType Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityType

+
+
+
public class SolidityType : Equatable, CustomStringConvertible
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + isStatic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isStatic: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isArray + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isArray: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isTuple + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isTuple: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + arraySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var arraySize: ArraySize { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtype + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subtype: SolidityType? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + memoryUsage + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var memoryUsage: Int { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var `default`: Data { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isSupported + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isSupported: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ==(_:_:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func == (lhs: SolidityType, rhs: SolidityType) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityUInt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityUInt : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityInt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityInt : SolidityUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityAddress : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityFunctionType + +
    +
    +
    +
    +
    +
    +

    Unsupported

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityFunctionType : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityBool + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityBool : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityBytes + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityBytes : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityStaticArray + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityStaticArray : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityDynamicBytes + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityDynamicBytes : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityString + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityString : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityDynamicArray + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityDynamicArray : SolidityType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SolidityTuple + +
    +
    +
    +
    +
    +
    +

    Unsupported

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class SolidityTuple : SolidityType
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + scan(type:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func scan(type string: String) throws -> SolidityType
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/Error.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/Error.html new file mode 100644 index 00000000..f15b633e --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/Error.html @@ -0,0 +1,696 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + corrupted + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case corrupted
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityAddress.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityAddress.html new file mode 100644 index 00000000..3edadd20 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityAddress.html @@ -0,0 +1,696 @@ + + + + SolidityAddress Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityAddress

+
+
+
public class SolidityAddress : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityBool.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityBool.html new file mode 100644 index 00000000..842063ba --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityBool.html @@ -0,0 +1,696 @@ + + + + SolidityBool Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityBool

+
+
+
public class SolidityBool : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityBytes.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityBytes.html new file mode 100644 index 00000000..cadd9d82 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityBytes.html @@ -0,0 +1,723 @@ + + + + SolidityBytes Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityBytes

+
+
+
public class SolidityBytes : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityDynamicArray.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityDynamicArray.html new file mode 100644 index 00000000..8bd80cfe --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityDynamicArray.html @@ -0,0 +1,858 @@ + + + + SolidityDynamicArray Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityDynamicArray

+
+
+
public class SolidityDynamicArray : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + memoryUsage + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var memoryUsage: Int { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isStatic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isStatic: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isArray + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isArray: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtype + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var subtype: SolidityType? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + arraySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var arraySize: ArraySize { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityDynamicBytes.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityDynamicBytes.html new file mode 100644 index 00000000..983b491e --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityDynamicBytes.html @@ -0,0 +1,750 @@ + + + + SolidityDynamicBytes Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityDynamicBytes

+
+
+
public class SolidityDynamicBytes : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + memoryUsage + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var memoryUsage: Int { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isStatic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isStatic: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityFunctionType.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityFunctionType.html new file mode 100644 index 00000000..40599d40 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityFunctionType.html @@ -0,0 +1,723 @@ + + + + SolidityFunctionType Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityFunctionType

+
+
+
public class SolidityFunctionType : SolidityType
+ +
+
+

Unsupported

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isSupported + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isSupported: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityInt.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityInt.html new file mode 100644 index 00000000..5a7aa07d --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityInt.html @@ -0,0 +1,696 @@ + + + + SolidityInt Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityInt

+
+
+
public class SolidityInt : SolidityUInt
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityStaticArray.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityStaticArray.html new file mode 100644 index 00000000..b5a8f04c --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityStaticArray.html @@ -0,0 +1,858 @@ + + + + SolidityStaticArray Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityStaticArray

+
+
+
public class SolidityStaticArray : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isStatic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isStatic: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isArray + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isArray: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtype + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var subtype: SolidityType? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + arraySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var arraySize: ArraySize { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + memoryUsage + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var memoryUsage: Int { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityString.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityString.html new file mode 100644 index 00000000..d8677a38 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityString.html @@ -0,0 +1,750 @@ + + + + SolidityString Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityString

+
+
+
public class SolidityString : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isStatic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isStatic: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + memoryUsage + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var memoryUsage: Int { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityTuple.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityTuple.html new file mode 100644 index 00000000..8fdd74c8 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityTuple.html @@ -0,0 +1,831 @@ + + + + SolidityTuple Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityTuple

+
+
+
public class SolidityTuple : SolidityType
+ +
+
+

Unsupported

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isStatic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isStatic: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isTuple + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isTuple: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isSupported + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isSupported: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + memoryUsage + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var memoryUsage: Int { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityUInt.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityUInt.html new file mode 100644 index 00000000..28088c29 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/SolidityType/SolidityUInt.html @@ -0,0 +1,723 @@ + + + + SolidityUInt Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityUInt

+
+
+
public class SolidityUInt : SolidityType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/TxPool.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/TxPool.html new file mode 100644 index 00000000..e37308a3 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/TxPool.html @@ -0,0 +1,862 @@ + + + + TxPool Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TxPool

+
+
+
public class TxPool
+ +
+
+

Native realisation of txpool

+
+

Important

+ Doesn’t works with Infura provider + +
+ +
+
+ +
+
+
+
    +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +
    +

    Important

    + Doesn’t works with Infura provider + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var `default`: TxPool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(web3:) + +
    +
    +
    +
    +
    +
    +
    +

    Important

    + Doesn’t works with Infura provider + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(web3: Web3)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + status() + +
    +
    +
    +
    +
    +
    +
    +

    Important

    + Doesn’t works with Infura provider | main thread friendly + +
    +
    +

    Throws

    + DictionaryReader.Error if server has different response than expected | +Web3Error.nodeError for node error | +Any URLSession.dataTask Error + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func status() -> Promise<TxPoolStatus>
    + +
    +
    +
    +

    Return Value

    +

    number of pending and queued transactions

    +
    +
    +
    +
  • +
  • +
    + + + + inspect() + +
    +
    +
    +
    +
    +
    +
    +

    Important

    + Doesn’t works with Infura provider | main thread friendly + +
    +
    +

    Throws

    + DictionaryReader.Error if server has different response than expected | +Web3Error.nodeError for node error | +Any URLSession.dataTask Error + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func inspect() -> Promise<TxPoolInspect>
    + +
    +
    +
    +

    Return Value

    +

    main information about pending and queued transactions

    +
    +
    +
    +
  • +
  • +
    + + + + content() + +
    +
    +
    +
    +
    +
    +
    +

    Important

    + Doesn’t works with Infura provider | main thread friendly + +
    +
    +

    Throws

    + DictionaryReader.Error if server has different response than expected | +Web3Error.nodeError for node error | +Any URLSession.dataTask Error + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func content() -> Promise<TxPoolContent>
    + +
    +
    +
    +

    Return Value

    +

    full information for all pending and queued transactions

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3.html new file mode 100644 index 00000000..6b7fc8f1 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3.html @@ -0,0 +1,1534 @@ + + + + Web3 Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3

+
+
+
public class Web3 : Web3OptionsInheritable
+ +
+
+

A web3 instance bound to provider. All further functionality is provided under web.*. namespaces.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var `default`: Web3
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + provider + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var provider: Web3Provider
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var options: Web3Options
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + defaultBlock + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var defaultBlock: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + requestDispatcher + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var requestDispatcher: JsonRpcRequestDispatcher
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + txpool + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var txpool: TxPool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dispatch(_:) + +
    +
    +
    +
    +
    +
    +

    Add a provider request to the dispatch queue.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func dispatch(_ request: JsonRpcRequest) -> Promise<JsonRpcResponse>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Raw initializer using a Web3Provider protocol object, dispatch queue and request dispatcher.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(provider prov: Web3Provider, queue _: OperationQueue? = nil, requestDispatcher: JsonRpcRequestDispatcher? = nil)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Keystore manager can be bound to Web3 instance. If some manager is bound all further account related functions, such +as account listing, transaction signing, etc. are done locally using private keys and accounts found in a manager.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func addKeystoreManager(_ manager: KeystoreManager?)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + eth + +
    +
    +
    +
    +
    +
    +

    Public web3.eth.* namespace.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public lazy var eth: Web3.Eth { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Eth + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Eth : Web3OptionsInheritable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + personal + +
    +
    +
    +
    +
    +
    +

    Public web3.personal.* namespace.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public lazy var personal: Web3.Personal { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Personal + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Personal : Web3OptionsInheritable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + wallet + +
    +
    +
    +
    +
    +
    +

    Public web3.wallet.* namespace.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public lazy var wallet: Web3.Web3Wallet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Web3Wallet + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class Web3Wallet
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + browserFunctions + +
    +
    +
    +
    +
    +
    +

    Public web3.browserFunctions.* namespace.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public lazy var browserFunctions: Web3.BrowserFunctions { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BrowserFunctions + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class BrowserFunctions : Web3OptionsInheritable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Units + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    typealias Units = Web3Units
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Utils + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    typealias Utils = Web3Utils
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + new(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func new(_ providerURL: URL) -> Web3?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialized Web3 instance bound to Infura’s mainnet provider.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @available(*, deprecated: 2.0, message: "use Web3(infura: .mainnet, accessToken: String?﹚")
    +static func InfuraMainnetWeb3(accessToken: String? = nil) -> Web3
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialized Web3 instance bound to Infura’s rinkeby provider.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @available(*, deprecated: 2.0, message: "use Web3(infura: .rinkeby, accessToken: String?﹚")
    +static func InfuraRinkebyWeb3(accessToken: String? = nil) -> Web3
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialized Web3 instance bound to Infura’s ropsten provider.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @available(*, deprecated: 2.0, message: "use Web3(infura: .ropsten, accessToken: String?﹚")
    +static func InfuraRopstenWeb3(accessToken: String? = nil) -> Web3
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + EIP67Code + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EIP67Code
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EIP67CodeGenerator + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EIP67CodeGenerator
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EIP67CodeParser + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EIP67CodeParser
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + contract(_:at:) + +
    +
    +
    +
    +
    +
    +

    The contract instance. Initialized in runtime from ABI string (that is a JSON array). In addition an existing contract address can be supplied to provide the default to address in all the following requests. ABI version is 2 by default and should not be changed.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func contract(_ abiString: String, at: Address? = nil) throws -> Web3Contract
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + local(port:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func local(port: Int = 8545) throws -> Web3
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(infura:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    convenience init(infura networkId: NetworkId)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    convenience init(infura networkId: NetworkId, accessToken: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(url:) + +
    +
    +
    +
    +
    +
    +

    Initialized provider-bound Web3 instance using a provider’s URL. Under the hood it performs a synchronous call to get +the Network ID for EIP155 purposes

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    convenience init?(url: URL)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/BrowserFunctions.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/BrowserFunctions.html new file mode 100644 index 00000000..0f3ba80a --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/BrowserFunctions.html @@ -0,0 +1,1160 @@ + + + + BrowserFunctions Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

BrowserFunctions

+
+
+
public class BrowserFunctions : Web3OptionsInheritable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
    +
  • +
    + + + + getAccounts() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getAccounts() -> [String]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getCoinbase() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getCoinbase() -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func personalSign(_ personalMessage: String, account: String, password: String = "BANKEXFOUNDATION") -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sign(_ personalMessage: String, account: String, password: String = "BANKEXFOUNDATION") -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sign(_ personalMessage: Data, account: String, password: String = "BANKEXFOUNDATION") -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func personalECRecover(_ personalMessage: String, signature: String) throws -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func personalECRecover(_ personalMessage: Data, signature: Data) throws -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sendTransaction(_ json: [String: Any], password: String = "BANKEXFOUNDATION") throws -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sendTransaction(_ transaction: EthereumTransaction, options: Web3Options, password: String = "BANKEXFOUNDATION") throws -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + estimateGas(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func estimateGas(_ json: [String : Any]) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func estimateGas(_ transaction: EthereumTransaction, options: Web3Options) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func prepareTxForApproval(_ json: [String : Any]) throws -> (transaction: EthereumTransaction, options: Web3Options)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransactionError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TransactionError : Error
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func prepareTxForApproval(_ trans: EthereumTransaction, options opts: Web3Options) throws -> (transaction: EthereumTransaction, options: Web3Options)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func signTransaction(_ json: [String: Any], password: String = "BANKEXFOUNDATION") throws -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func signTransaction(_ trans: EthereumTransaction, options: Web3Options, password: String = "BANKEXFOUNDATION") throws -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/BrowserFunctions/TransactionError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/BrowserFunctions/TransactionError.html new file mode 100644 index 00000000..e050cde9 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/BrowserFunctions/TransactionError.html @@ -0,0 +1,777 @@ + + + + TransactionError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionError

+
+
+
public enum TransactionError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + optionsFromNotFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case optionsFromNotFound
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case keystoreManagerNotFound
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case privateKeyNotFound(forAddress: Address)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotEncodeTransaction
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67Code.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67Code.html new file mode 100644 index 00000000..7ba2357a --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67Code.html @@ -0,0 +1,914 @@ + + + + EIP67Code Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EIP67Code

+
+
+
public struct EIP67Code
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var address: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasLimit + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasLimit: BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + amount + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var amount: BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + data + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var data: Web3.EIP67Code.DataType?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum DataType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Function + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Function
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(address:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(address: Address)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toString() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func toString() -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toImage(scale:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func toImage(scale: Double = 1.0) -> CIImage
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67Code/DataType.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67Code/DataType.html new file mode 100644 index 00000000..f3ccb55c --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67Code/DataType.html @@ -0,0 +1,723 @@ + + + + DataType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

DataType

+
+
+
public enum DataType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + data(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case data(Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + function(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case function(Function)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67Code/Function.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67Code/Function.html new file mode 100644 index 00000000..8ce11495 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67Code/Function.html @@ -0,0 +1,750 @@ + + + + Function Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Function

+
+
+
public struct Function
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var method: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parameters + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parameters: [(ABIv2.Element.ParameterType, AnyObject)]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toString() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func toString() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67CodeGenerator.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67CodeGenerator.html new file mode 100644 index 00000000..eeb48a3b --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67CodeGenerator.html @@ -0,0 +1,696 @@ + + + + EIP67CodeGenerator Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EIP67CodeGenerator

+
+
+
public struct EIP67CodeGenerator
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func createImage(from: EIP67Code, scale: Double = 1.0) -> CIImage
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67CodeParser.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67CodeParser.html new file mode 100644 index 00000000..641f2cb2 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/EIP67CodeParser.html @@ -0,0 +1,723 @@ + + + + EIP67CodeParser Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EIP67CodeParser

+
+
+
public struct EIP67CodeParser
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + parse(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func parse(_ data: Data) -> EIP67Code?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parse(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func parse(_ string: String) -> EIP67Code?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/Eth.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/Eth.html new file mode 100644 index 00000000..9c0c2923 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/Eth.html @@ -0,0 +1,1617 @@ + + + + Eth Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Eth

+
+
+
public class Eth : Web3OptionsInheritable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
    +
  • +
    + + + + getAccountsPromise() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getAccountsPromise() -> Promise<[Address]>
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBalancePromise(address: Address, onBlock: String = "latest") -> Promise<BigUInt>
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBlockNumberPromise() -> Promise<BigUInt>
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + getGasPricePromise() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getGasPricePromise() -> Promise<BigUInt>
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+ +
+
+ +
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Send an EthereumTransaction object to the network. Transaction is either signed locally if there is a KeystoreManager +object bound to the web3 instance, or sent unsigned to the node. For local signing the password is required.

    + +

    options object can override the to, gasPrice, gasLimit and value parameters is pre-formed transaction. +from field in options is mandatory for both local and remote signing.

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sendTransaction(_ transaction: EthereumTransaction, options: Web3Options, password: String = "BANKEXFOUNDATION") throws -> TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Send raw Ethereum transaction data to the network.

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sendRawTransaction(_ transaction: Data) throws -> TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Send raw Ethereum transaction data to the network by first serializing the EthereumTransaction object.

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sendRawTransaction(_ transaction: EthereumTransaction) throws -> TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns a total number of transactions sent by the particular Ethereum address.

    + +

    onBlock field determines if value is returned based on the state of a blockchain on the latest mined block (latest) +or the expected state after all the transactions in memory pool are applied (pending).

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getTransactionCount(address: Address, onBlock: String = "latest") throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns a balance of particular Ethereum address in Wei units (1 ETH = 10^18 Wei).

    + +

    onString field determines if value is returned based on the state of a blockchain on the latest mined block (latest) +or the expected state after all the transactions in memory pool are applied (pending).

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBalance(address: Address, onBlock: String = "latest") throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getBlockNumber() + +
    +
    +
    +
    +
    +
    +

    Returns a block number of the last mined block that Ethereum node knows about.

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBlockNumber() throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getGasPrice() + +
    +
    +
    +
    +
    +
    +

    Returns a current gas price in the units of Wei. The node has internal algorithms for averaging over the last few blocks.

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getGasPrice() throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns transaction details for particular transaction hash. Details indicate position of the transaction in a particular block, +as well as original transaction details such as value, gas limit, gas price, etc.

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getTransactionDetails(_ txhash: Data) throws -> TransactionDetails
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns transaction details for particular transaction hash. Details indicate position of the transaction in a particular block, +as well as original transaction details such as value, gas limit, gas price, etc.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getTransactionDetails(_ txhash: String) throws -> TransactionDetails
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns transaction receipt for particular transaction hash. Receipt indicate what has happened when the transaction +was included in block, so it contains logs and status, such as succesful or failed transaction.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getTransactionReceipt(_ txhash: Data) throws -> TransactionReceipt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns transaction receipt for particular transaction hash. Receipt indicate what has happened when the transaction +was included in block, so it contains logs and status, such as succesful or failed transaction.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getTransactionReceipt(_ txhash: String) throws -> TransactionReceipt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Estimates a minimal amount of gas required to run a transaction. To do it the Ethereum node tries to run it and counts +how much gas it consumes for computations. Setting the transaction gas limit lower than the estimate will most likely +result in a failing transaction.

    + +

    onString field determines if value is returned based on the state of a blockchain on the latest mined block (latest) +or the expected state after all the transactions in memory pool are applied (pending).

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure. +Error can also indicate that transaction is invalid in the current state, so formally it’s gas limit is infinite. +An example of such transaction can be sending an amount of ETH that is larger than the current account balance.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func estimateGas(_ transaction: EthereumTransaction, options: Web3Options?, onBlock: String = "latest") throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getAccounts() + +
    +
    +
    +
    +
    +
    +

    Get a list of Ethereum accounts that a node knows about. +If one has attached a Keystore Manager to the web3 object it returns accounts known to the keystore.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getAccounts() throws -> [Address]
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get information about the particular block in Ethereum network. If fullTransactions parameter is set to true +this call fill do a virtual join and fetch not just transaction hashes from this block, +but full decoded EthereumTransaction objects.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBlockByHash(_ hash: String, fullTransactions: Bool = false) throws -> Block
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get information about the particular block in Ethereum network. If fullTransactions parameter is set to true +this call fill do a virtual join and fetch not just transaction hashes from this block, +but full decoded EthereumTransaction objects.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBlockByHash(_ hash: Data, fullTransactions: Bool = false) throws -> Block
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get information about the particular block in Ethereum network. If fullTransactions parameter is set to true +this call fill do a virtual join and fetch not just transaction hashes from this block, +but full decoded EthereumTransaction objects.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBlockByNumber(_ number: UInt64, fullTransactions: Bool = false) throws -> Block
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get information about the particular block in Ethereum network. If fullTransactions parameter is set to true +this call fill do a virtual join and fetch not just transaction hashes from this block, +but full decoded EthereumTransaction objects.

    + +

    This function is synchronous!

    + +

    Returns the Result object that indicates either success of failure.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBlockByNumber(_ number: BigUInt, fullTransactions: Bool = false) throws -> Block
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get information about the particular block in Ethereum network. If fullTransactions parameter is set to true +this call fill do a virtual join and fetch not just transaction hashes from this block, +but full decoded EthereumTransaction objects.

    + +

    This function is synchronous!

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getBlockByNumber(_ block: String, fullTransactions: Bool = false) throws -> Block
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Convenience wrapper to send Ethereum to another address. Internally it creates a virtual contract and encodes all the options and data.

    + +
      +
    • to: Address to send funds to
    • +
    • amount: BigUInt indicating the amount in wei
    • +
    • extraData: Additional data to attach to the transaction
    • +
    • options: Web3Options to override the default gas price, gas limit. Value field of the options is ignored and the amount parameter is used instead

    • +
    • TransactionIntermediate object

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func sendETH(to: Address, amount: BigUInt, extraData: Data = Data(), options: Web3Options? = nil) throws -> TransactionIntermediate
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/Personal.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/Personal.html new file mode 100644 index 00000000..cfbe9cd2 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/Personal.html @@ -0,0 +1,881 @@ + + + + Personal Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Personal

+
+
+
public class Personal : Web3OptionsInheritable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Locally or remotely sign a message (arbitrary data) with the private key. To avoid potential signing of a transaction the message is first prepended by a special header and then hashed.

    +
  • message: Message Data
  • +
  • from: Use a private key that corresponds to this account
  • +
  • password: Password for account if signing locally

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func signPersonalMessage(message: Data, from: Address, password: String = "BANKEXFOUNDATION") throws -> Data
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Unlock an account on the remote node to be able to send transactions and sign messages.

    +
  • account: Address of the account to unlock
  • +
  • password: Password to use for the account
  • +
  • seconds: Time inteval before automatic account lock by Ethereum node

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous. Does nothing if private keys are stored locally.

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func unlockAccount(account: Address, password _: String = "BANKEXFOUNDATION", seconds _: UInt64 = 300) throws -> Bool
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Recovers a signer of some message. Message is first prepended by special prefix (check the signPersonalMessage method description) and then hashed.

    + +
      +
    • personalMessage: Message Data
    • +
    • signature: Serialized signature, 65 bytes

    • +
    • Result object

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func ecrecover(personalMessage: Data, signature: Data) throws -> Address
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Recovers a signer of some hash. Checking what is under this hash is on behalf of the user.

    + +
      +
    • hash: Signed hash
    • +
    • signature: Serialized signature, 65 bytes

    • +
    • Result object

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func ecrecover(hash: Data, signature: Data) throws -> Address
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/Web3Wallet.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/Web3Wallet.html new file mode 100644 index 00000000..2c56a093 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3/Web3Wallet.html @@ -0,0 +1,839 @@ + + + + Web3Wallet Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Wallet

+
+
+
public class Web3Wallet
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
    +
  • +
    + + + + getAccounts() + +
    +
    +
    +
    +
    +
    +

    throws Web3WalletError.attachadKeystoreNotFound

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getAccounts() throws -> [Address]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getCoinbase() + +
    +
    +
    +
    +
    +
    +

    throws Web3WalletError.attachadKeystoreNotFound +throws Web3WalletError.noAccounts

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getCoinbase() throws -> Address
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    throws Web3WalletError.attachadKeystoreNotFound +throws AbstractKeystoreError +throws Error

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func signTX(transaction: inout EthereumTransaction, account: Address, password: String = "BANKEXFOUNDATION") throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    throws Web3WalletError.attachadKeystoreNotFound +throws

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func signPersonalMessage(_ personalMessage: String, account: Address, password: String = "BANKEXFOUNDATION") throws -> Data
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    throws SECP256K1Error

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func signPersonalMessage(_ personalMessage: Data, account: Address, password: String = "BANKEXFOUNDATION") throws -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Contract.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Contract.html new file mode 100644 index 00000000..8db080c5 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Contract.html @@ -0,0 +1,1036 @@ + + + + Web3Contract Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Contract

+
+
+
public class Web3Contract
+ +
+
+

Web3 instance bound contract instance.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var options: Web3Options
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialize the bound contract instance by supplying the Web3 provider bound object, ABI, Ethereum address and some default +options for further function calls. By default the contract inherits options from the web3 object. Additionally supplied options +do override inherited ones.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(web3 web3Instance: Web3, abiString: String, at: Address? = nil, options: Web3Options? = nil) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Deploys a constact instance using the previously provided (at initialization) ABI, some bytecode, constructor parameters and options. +If extraData is supplied it is appended to encoded bytecode and constructor parameters.

    + +

    Returns a Transaction intermediate object.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func deploy(bytecode: Data, args: Any..., extraData: Data = Data(), options: Web3Options?) throws -> TransactionIntermediate
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func deploy(bytecode: Data, parameters: [Any], extraData: Data = Data(), options: Web3Options?) throws -> TransactionIntermediate
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Creates and object responsible for calling a particular function of the contract. If method name is not found in ABI - returns nil. +If extraData is supplied it is appended to encoded function parameters. Can be usefull if one wants to call +the function not listed in ABI. Parameters should be an array corresponding to the list of parameters of the function. +Elements of parameters can be other arrays or instances of String, Data, BigInt, BigUInt, Int or Address.

    + +

    Returns a Transaction intermediate object.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func method(_ name: String = "fallback", args: Any..., extraData: Data = Data(), options: Web3Options?) throws -> TransactionIntermediate
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func method(_ method: String = "fallback", parameters: [Any], extraData: Data = Data(), options: Web3Options?) throws -> TransactionIntermediate
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parseEvent(_:) + +
    +
    +
    +
    +
    +
    +

    Parses an EventLog object by using a description from the contract’s ABI.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func parseEvent(_ eventLog: EventLog) -> (eventName: String?, eventData: [String : Any]?)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Creates an EventParserProtocol compliant object to use it for parsing particular block or transaction for events.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func createEventParser(_ eventName: String, filter: EventFilter?) -> EventParserProtocol?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + EventParser + +
    +
    +
    +
    +
    +
    +

    An event parser to fetch events produced by smart-contract related transactions. Should not be constructed manually, but rather by calling the corresponding function on the Web3Contract object.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EventParser : EventParserProtocol
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Fetches events by doing a lookup on indexed parameters of the event. Smart-contract developer can make some of event values indexed for such fast queries.

    +
  • eventName: Event name, should be present in ABI interface of the contract
  • +
  • filter: EventFilter object setting the block limits for query
  • +
  • joinWithReceipts: Bool indicating whether TransactionReceipt should be fetched separately for every matched transaction

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getIndexedEvents(eventName: String?, filter: EventFilter, joinWithReceipts: Bool = false) throws -> [EventParserResultProtocol]
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
    +
    +
    +
    +

    TransactionIntermediate is an almost-ready transaction or a smart-contract function call. It bears all the required information +to call the smart-contract and decode the returned information, or estimate gas required for transaction, or send a transaciton +to the blockchain.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class TransactionIntermediate
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Contract/EventParser.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Contract/EventParser.html new file mode 100644 index 00000000..cf8dc105 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Contract/EventParser.html @@ -0,0 +1,1041 @@ + + + + EventParser Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventParser

+
+
+
public struct EventParser : EventParserProtocol
+ +
+
+

An event parser to fetch events produced by smart-contract related transactions. Should not be constructed manually, but rather by calling the corresponding function on the Web3Contract object.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + contract + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var contract: ContractProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + eventName + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var eventName: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + filter + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var filter: EventFilter?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init? (web3 web3Instance: Web3, eventName: String, contract: ContractProtocol, filter: EventFilter? = nil)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Parses the block for events matching the EventParser settings.

    +
  • blockNumber: Ethereum network block number

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func parseBlockByNumber(_ blockNumber: UInt64) throws -> [EventParserResultProtocol]
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • +
    + + + + parseBlock(_:) + +
    +
    +
    +
    +
    +
    +

    Parses the block for events matching the EventParser settings.

    +
  • block: Native web3swift block object

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func parseBlock(_ block: Block) throws -> [EventParserResultProtocol]
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Parses the transaction for events matching the EventParser settings.

    +
  • hash: Transaction hash

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func parseTransactionByHash(_ hash: Data) throws -> [EventParserResultProtocol]
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • +
    + + + + parseTransaction(_:) + +
    +
    +
    +
    +
    +
    +

    Parses the transaction for events matching the EventParser settings.

    +
  • transaction: web3swift native EthereumTransaction object

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func parseTransaction(_ transaction: EthereumTransaction) throws -> [EventParserResultProtocol]
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Contract/TransactionIntermediate.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Contract/TransactionIntermediate.html new file mode 100644 index 00000000..8da7d3df --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Contract/TransactionIntermediate.html @@ -0,0 +1,965 @@ + + + + TransactionIntermediate Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionIntermediate

+
+
+
public class TransactionIntermediate
+ +
+
+

TransactionIntermediate is an almost-ready transaction or a smart-contract function call. It bears all the required information +to call the smart-contract and decode the returned information, or estimate gas required for transaction, or send a transaciton +to the blockchain.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + transaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transaction: EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contract + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var contract: ContractProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var method: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var options: Web3Options
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(transaction: EthereumTransaction, web3 web3Instance: Web3, contract: ContractProtocol, method: String, options: Web3Options)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Send a prepared transaction to the blockchain. Internally checks the nonce for a sending account, assigns it, get a gas estimate and signs a transaction either locally or on the remote node.

    +
  • password: Password for a private key if transaction is signed locally
  • +
  • options: Web3Options to override the previously assigned gas price, gas limit and value.
  • +
  • onBlock: String field determines if nonce value and the gas estimate are based on the state of a blockchain on the latest mined block (latest) or the expected state after all the transactions in memory pool are applied (pending). Using pending allows to send transactions one after another without waiting for inclusion of the previous one in some block.

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @discardableResult
    +public func send(password: String = "BANKEXFOUNDATION", options: Web3Options? = nil, onBlock: String = "pending") throws -> TransactionSendingResult
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Calls a function of the smart-contract and parses the returned data to native objects.

    +
  • options: Web3Options to override the previously assigned gas price, gas limit and value.
  • +
  • onBlock: String field determines if nonce value and the gas estimate are based on the state of a blockchain on the latest mined block (latest) or the expected state after all the transactions in memory pool are applied (pending). Using pending allows to send transactions one after another without waiting for inclusion of the previous one in some block.

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @discardableResult
    +public func call(options: Web3Options?, onBlock: String = "latest") throws -> Web3Response
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Estimates gas required to execute the transaction. Setting a gas limit lower than the estimate will most likely result in a failed transaction. If this call returns an error it can also indicate that transaction is invalid as itself.

    +
  • options: Web3Options to override the previously assigned gas price, gas limit and value.
  • +
  • onBlock: String field determines if nonce value and the gas estimate are based on the state of a blockchain on the latest mined block (latest) or the expected state after all the transactions in memory pool are applied (pending). Using pending allows to send transactions one after another without waiting for inclusion of the previous one in some block.

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func estimateGas(options: Web3Options?, onBlock: String = "latest") throws -> BigUInt
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Assembles (but does not sign!) a transaction by fetching the nonce value and applying provided options.

    +
  • options: Web3Options to override the previously assigned gas price, gas limit and value.
  • +
  • onBlock: String field determines if nonce value and the gas estimate are based on the state of a blockchain on the latest mined block (latest) or the expected state after all the transactions in memory pool are applied (pending). Using pending allows to send transactions one after another without waiting for inclusion of the previous one in some block.

  • +
  • Result object

  • +
    +

    Important

    +

    This call is synchronous

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func assemble(options: Web3Options? = nil, onBlock: String = "pending") throws -> EthereumTransaction
    + +
    +
    +
    +

    Return Value

    +

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3DataResponse.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3DataResponse.html new file mode 100644 index 00000000..72a86cb5 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3DataResponse.html @@ -0,0 +1,1294 @@ + + + + Web3DataResponse Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3DataResponse

+
+
+
public class Web3DataResponse
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + data + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let data: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + position + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var position: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + headerSize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var headerSize: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ data: Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uint256() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func uint256() throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func address() throws -> Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bool() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func bool() throws -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string() throws -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + header(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func header(_ size: Int) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + skip(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func skip(_ count: Int) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + next(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func next(_ size: Int) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointer(block:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func pointer<T>(block: () throws -> T) throws -> T
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + uint8() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func uint8() throws -> UInt8
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uint16() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func uint16() throws -> UInt16
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uint32() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func uint32() throws -> UInt32
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uint64() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func uint64() throws -> UInt64
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uint() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func uint() throws -> Int64
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + int8() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func int8() throws -> Int8
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + int16() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func int16() throws -> Int16
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + int32() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func int32() throws -> Int32
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + int64() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func int64() throws -> Int64
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + int() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func int() throws -> Int64
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + intCount() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func intCount() throws -> Int
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3HttpProvider.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3HttpProvider.html new file mode 100644 index 00000000..7ee43d58 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3HttpProvider.html @@ -0,0 +1,835 @@ + + + + Web3HttpProvider Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3HttpProvider

+
+
+
public class Web3HttpProvider : Web3Provider
+ +
+
+

The default http provider.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + url + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var url: URL
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + network + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var network: NetworkId?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var attachedKeystoreManager: KeystoreManager?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + session + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var session: URLSession
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ httpProviderURL: URL, network net: NetworkId? = nil, keystoreManager manager: KeystoreManager? = nil)
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Response.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Response.html new file mode 100644 index 00000000..a68a6e17 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Response.html @@ -0,0 +1,864 @@ + + + + Web3Response Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Response

+
+
+
public class Web3Response
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + position + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var position: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscript(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public subscript(key: String) -> Any? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscript(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public subscript(index: Int) -> Any? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uint256() + +
    +
    +
    +
    +
    +
    +

    Returns next response argument as BigUInt (like self[n] as? BigUInt; n += 1) +throws Web3ResponseError.notFound if there is no value at self[n] +throws Web3ResponseError.wrongType if it cannot cast self[n] to BigUInt

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func uint256() throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address() + +
    +
    +
    +
    +
    +
    +

    Returns next response argument as Address (like self[n] as? Address; n += 1) +throws Web3ResponseError.notFound if there is no value at self[n] +throws Web3ResponseError.wrongType if it cannot cast self[n] to Address

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func address() throws -> Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string() + +
    +
    +
    +
    +
    +
    +

    Returns next response argument as String (like self[n] as? String; n += 1) +throws Web3ResponseError.notFound if there is no value at self[n] +throws Web3ResponseError.wrongType if it cannot cast self[n] to String

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string() throws -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + next() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func next() throws -> Any
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Utils.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Utils.html new file mode 100644 index 00000000..274de9a4 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/Web3Utils.html @@ -0,0 +1,1158 @@ + + + + Web3Utils Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Utils

+
+
+
public class Web3Utils
+ +
+
+

Namespaced Utils functions. Are not bound to particular web3 instance, so capitalization matters.

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Calculate address of deployed contract deterministically based on the address of the deploying Ethereum address +and the nonce of this address

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func calcualteContractAddress(from: Address, nonce: BigUInt) -> Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + coldWalletABI + +
    +
    +
    +
    +
    +
    +

    Precoded cold wallet (private key controlled) address. Basically - only a payable fallback function.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var coldWalletABI: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + erc20ABI + +
    +
    +
    +
    +
    +
    +

    Precoded ERC20 contracts ABI. Output parameters are named for ease of use.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var erc20ABI: String
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Convert the private key (32 bytes of Data) to compressed (33 bytes) or non-compressed (65 bytes) public key.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func privateToPublic(_ privateKey: Data, compressed: Bool = false) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Convert a public key to the corresponding Address. Accepts public keys in compressed (33 bytes), non-compressed (65 bytes) +or raw concat(X,Y) (64 bytes) format.

    + +

    Returns 20 bytes of address data.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func publicToAddressData(_ publicKey: Data) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + publicToAddress(_:) + +
    +
    +
    +
    +
    +
    +

    Convert a public key to the corresponding Address. Accepts public keys in compressed (33 bytes), non-compressed (65 bytes) +or raw concat(X,Y) (64 bytes) format.

    + +

    Returns the Address object.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func publicToAddress(_ publicKey: Data) throws -> Address
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Convert a public key to the corresponding Address. Accepts public keys in compressed (33 bytes), non-compressed (65 bytes) +or raw concat(X,Y) (64 bytes) format.

    + +

    Returns a 0x prefixed hex string.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func publicToAddressString(_ publicKey: Data) throws -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Converts address data (20 bytes) to the 0x prefixed hex string. Does not perform checksumming.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func addressDataToString(_ addressData: Data) throws -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Hashes a personal message by first padding it with the \u{19}Ethereum Signed Message:\n string and message length string. +Should be used if some arbitrary information should be hashed and signed to prevent signing an Ethereum transaction +by accident. +throws Web3UtilsError.cannotConvertDataToAscii

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func hashPersonalMessage(_ personalMessage: Data) throws -> Data
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Parse a user-supplied string using the number of decimals for particular Ethereum unit. +If input is non-numeric or precision is not sufficient - returns nil. +Allowed decimal separators are ., ,.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func parseToBigUInt(_ amount: String, units: Web3Units = .eth) -> BigUInt?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Parse a user-supplied string using the number of decimals. +If input is non-numeric or precision is not sufficient - returns nil. +Allowed decimal separators are ., ,.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func parseToBigUInt(_ amount: String, decimals: Int = 18) -> BigUInt?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Recover the Ethereum address from recoverable secp256k1 signature. Message is first hashed using the personal hash protocol. +BE WARNED - changing a message will result in different Ethereum address, but not in error.

    + +

    Input parameters should be hex Strings.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func personalECRecover(_ personalMessage: String, signature: String) throws -> Address
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Recover the Ethereum address from recoverable secp256k1 signature. Message is first hashed using the personal hash protocol. +BE WARNED - changing a message will result in different Ethereum address, but not in error.

    + +

    Input parameters should be Data objects.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func personalECRecover(_ personalMessage: Data, signature: Data) throws -> Address
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Recover the Ethereum address from recoverable secp256k1 signature. +Takes a hash of some message. What message is hashed should be checked by user separately.

    + +

    Input parameters should be Data objects.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func hashECRecover(hash: Data, signature: Data) throws -> Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + keccak256(_:) + +
    +
    +
    +
    +
    +
    +

    returns Ethereum variant of sha3 (keccak256) of data. Returns nil is data is empty

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func keccak256(_ data: Data) -> Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + sha3(_:) + +
    +
    +
    +
    +
    +
    +

    returns Ethereum variant of sha3 (keccak256) of data. Returns nil is data is empty

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func sha3(_ data: Data) -> Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + sha256(_:) + +
    +
    +
    +
    +
    +
    +

    returns sha256 of data. Returns nil is data is empty

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func sha256(_ data: Data) -> Data?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCAddress.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCAddress.html new file mode 100644 index 00000000..36613c17 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCAddress.html @@ -0,0 +1,751 @@ + + + + _ObjCAddress Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

_ObjCAddress

+
+
+
@objc(Address)
+public final class _ObjCAddress : NSObject
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(address:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(address: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(address:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(address: Data)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var contractDeploymentAddress: _ObjCAddress { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCBigUInt.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCBigUInt.html new file mode 100644 index 00000000..9f9b45fc --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCBigUInt.html @@ -0,0 +1,751 @@ + + + + _ObjCBigUInt Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

_ObjCBigUInt

+
+
+
@objc(BigUInt)
+public final class _ObjCBigUInt : NSObject
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(value:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(value: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(value:radix:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(value: String, radix: Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toString(radix:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func toString(radix: Int = 10) -> NSString
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCEthereumAddress.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCEthereumAddress.html new file mode 100644 index 00000000..8c4e8f08 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCEthereumAddress.html @@ -0,0 +1,748 @@ + + + + _ObjCEthereumAddress Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

_ObjCEthereumAddress

+
+
+
@objc(EthereumAddress)
+public final class _ObjCEthereumAddress : NSObject
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(address:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(address: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(address:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(address: Data)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var contractDeploymentAddress: _ObjCEthereumAddress { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCweb3.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCweb3.html new file mode 100644 index 00000000..dae4d4b0 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCweb3.html @@ -0,0 +1,751 @@ + + + + _ObjCWeb3 Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

_ObjCWeb3

+
+
+
@objc(Web3)
+public final class _ObjCWeb3 : NSObject
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + InfuraMainnetWeb3() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func InfuraMainnetWeb3() -> _ObjCweb3
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InfuraRinkebyWeb3() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func InfuraRinkebyWeb3() -> _ObjCweb3
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + new(providerURL:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func new(providerURL: NSURL) -> _ObjCweb3
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCweb3Eth.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCweb3Eth.html new file mode 100644 index 00000000..6df52936 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Classes/_ObjCweb3Eth.html @@ -0,0 +1,697 @@ + + + + _ObjCweb3Eth Class Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

_ObjCweb3Eth

+
+
+
@objc(web3Eth)
+public final class _ObjCweb3Eth : NSObject
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums.html new file mode 100644 index 00000000..a37871eb --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums.html @@ -0,0 +1,1306 @@ + + + + Enumerations Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Enumerations

+

The following enumerations are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + AbiError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum AbiError : Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ArraySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ArraySize
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + + +

enums

+
+
+
    +
  • +
    + + + + TransactionType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TransactionType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransactionStatus + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TransactionStatus
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ListId + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ListId : String
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + DataError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum DataError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + SECP256K1Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum SECP256K1Error : Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SECP256DataError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum SECP256DataError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3WalletError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Web3WalletError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + AbstractKeystoreError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum AbstractKeystoreError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + BIP39Language + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum BIP39Language
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EntropySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum EntropySize : Int
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + AddressError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum AddressError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TransactionSignerError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TransactionInBlockError : Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransactionInBlock + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TransactionInBlock : Decodable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3ResponseError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Web3ResponseError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3Units + +
    +
    +
    +
    +
    +
    +

    Various units used in Ethereum ecosystem

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Web3Units
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Web3UtilsError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Web3UtilsError : Error
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum PublicKeyToAddressError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Web3Error : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/AbiError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/AbiError.html new file mode 100644 index 00000000..7fc9f570 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/AbiError.html @@ -0,0 +1,696 @@ + + + + AbiError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AbiError

+
+
+
public enum AbiError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + unsupportedType + +
    +
    +
    +
    +
    +
    +

    Unsupported types: function, tuple

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case unsupportedType
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/AbstractKeystoreError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/AbstractKeystoreError.html new file mode 100644 index 00000000..5202f4dd --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/AbstractKeystoreError.html @@ -0,0 +1,831 @@ + + + + AbstractKeystoreError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AbstractKeystoreError

+
+
+
public enum AbstractKeystoreError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + noEntropyError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noEntropyError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + keyDerivationError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case keyDerivationError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + aesError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case aesError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidAccountError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidAccountError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidPasswordError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidPasswordError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encryptionError(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case encryptionError(String)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/AddressError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/AddressError.html new file mode 100644 index 00000000..2591e4ab --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/AddressError.html @@ -0,0 +1,696 @@ + + + + AddressError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AddressError

+
+
+
public enum AddressError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + invalidAddress(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidAddress(String)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/ArraySize.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/ArraySize.html new file mode 100644 index 00000000..9c6adda0 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/ArraySize.html @@ -0,0 +1,750 @@ + + + + ArraySize Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ArraySize

+
+
+
public enum ArraySize
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + static(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case `static`(Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dynamic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case dynamic
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + notArray + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notArray
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/BIP39Language.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/BIP39Language.html new file mode 100644 index 00000000..ed4a94cb --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/BIP39Language.html @@ -0,0 +1,885 @@ + + + + BIP39Language Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

BIP39Language

+
+
+
public enum BIP39Language
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + english + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case english
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chinese_simplified + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case chinese_simplified
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chinese_traditional + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case chinese_traditional
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + japanese + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case japanese
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + korean + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case korean
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + french + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case french
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + italian + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case italian
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + spanish + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case spanish
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/DataError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/DataError.html new file mode 100644 index 00000000..932c9eef --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/DataError.html @@ -0,0 +1,723 @@ + + + + DataError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

DataError

+
+
+
public enum DataError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case hexStringCorrupted(String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + localizedDescription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var localizedDescription: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/EntropySize.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/EntropySize.html new file mode 100644 index 00000000..38368129 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/EntropySize.html @@ -0,0 +1,804 @@ + + + + EntropySize Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EntropySize

+
+
+
public enum EntropySize : Int
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + b128 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case b128 = 128
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + b160 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case b160 = 160
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + b192 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case b192 = 192
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + b224 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case b224 = 224
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + b256 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case b256 = 256
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/ListId.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/ListId.html new file mode 100644 index 00000000..ae3cc769 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/ListId.html @@ -0,0 +1,723 @@ + + + + ListId Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ListId

+
+
+
public enum ListId : String
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + listOfETH + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case listOfETH
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + listOfTokens + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case listOfTokens
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/PublicKeyToAddressError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/PublicKeyToAddressError.html new file mode 100644 index 00000000..6cd7e5a8 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/PublicKeyToAddressError.html @@ -0,0 +1,723 @@ + + + + PublicKeyToAddressError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

PublicKeyToAddressError

+
+
+
public enum PublicKeyToAddressError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + shouldStartWith4 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case shouldStartWith4
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidPublicKeySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidPublicKeySize
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/SECP256DataError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/SECP256DataError.html new file mode 100644 index 00000000..099bc945 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/SECP256DataError.html @@ -0,0 +1,939 @@ + + + + SECP256DataError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SECP256DataError

+
+
+
public enum SECP256DataError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotRecoverPublicKey
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotExtractPublicKeyFromPrivateKey
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotMakeRecoverableSignature
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + cannotParseSignature + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotParseSignature
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + cannotParsePublicKey + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotParsePublicKey
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotSerializePublicKey
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotCombinePublicKeys
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotSerializeSignature
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + signatureCorrupted + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case signatureCorrupted
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidMarshalSignatureSize
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/SECP256K1Error.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/SECP256K1Error.html new file mode 100644 index 00000000..3e439c1c --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/SECP256K1Error.html @@ -0,0 +1,858 @@ + + + + SECP256K1Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SECP256K1Error

+
+
+
public enum SECP256K1Error : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + signingFailed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case signingFailed
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidPrivateKey + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidPrivateKey
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidHashSize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidHashSize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidPrivateKeySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidPrivateKeySize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidSignatureSize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidSignatureSize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + invalidPublicKeySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidPublicKeySize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + localizedDescription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var localizedDescription: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionInBlock.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionInBlock.html new file mode 100644 index 00000000..f9a4b21f --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionInBlock.html @@ -0,0 +1,803 @@ + + + + TransactionInBlock Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionInBlock

+
+
+
public enum TransactionInBlock : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + hash(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case hash(Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transaction(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transaction(EthereumTransaction)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + null + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case null
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ data: Any) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionInBlockError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionInBlockError.html new file mode 100644 index 00000000..57a30fe8 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionInBlockError.html @@ -0,0 +1,696 @@ + + + + TransactionInBlockError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionInBlockError

+
+
+
public enum TransactionInBlockError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + corrupted + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case corrupted
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionSignerError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionSignerError.html new file mode 100644 index 00000000..36334946 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionSignerError.html @@ -0,0 +1,696 @@ + + + + TransactionSignerError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionSignerError

+
+
+
public enum TransactionSignerError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + signatureError(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case signatureError(String)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionStatus.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionStatus.html new file mode 100644 index 00000000..bd975719 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionStatus.html @@ -0,0 +1,723 @@ + + + + TransactionStatus Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionStatus

+
+
+
public enum TransactionStatus
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + failed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case failed
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + succeeded + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case succeeded
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionType.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionType.html new file mode 100644 index 00000000..fa1a151e --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/TransactionType.html @@ -0,0 +1,804 @@ + + + + TransactionType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionType

+
+
+
public enum TransactionType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + tx + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case tx
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + call + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case call
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + create + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case create
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + suicide + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case suicide
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + token + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case token
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3Error.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3Error.html new file mode 100644 index 00000000..5a2da9ce --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3Error.html @@ -0,0 +1,939 @@ + + + + Web3Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Error

+
+
+
public enum Web3Error : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transactionSerializationError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + connectionError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case connectionError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case dataError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + walletError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case walletError
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + inputError(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case inputError(String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + nodeError(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case nodeError(String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + processingError(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case processingError(String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + keystoreError(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case keystoreError(AbstractKeystoreError)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + generalError(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case generalError(Error)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + unknownError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case unknownError
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3ResponseError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3ResponseError.html new file mode 100644 index 00000000..34d17a83 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3ResponseError.html @@ -0,0 +1,750 @@ + + + + Web3ResponseError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3ResponseError

+
+
+
public enum Web3ResponseError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + notFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notFound
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + wrongType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case wrongType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + overflows + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case overflows
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3Units.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3Units.html new file mode 100644 index 00000000..47865e21 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3Units.html @@ -0,0 +1,858 @@ + + + + Web3Units Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Units

+
+
+
public enum Web3Units
+ +
+
+

Various units used in Ethereum ecosystem

+ +
+
+ +
+
+
+
    +
  • +
    + + + + eth + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case eth
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + wei + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case wei
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Kwei + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case Kwei
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Mwei + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case Mwei
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Gwei + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case Gwei
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Microether + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case Microether
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Finney + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case Finney
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3UtilsError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3UtilsError.html new file mode 100644 index 00000000..d30f3bb3 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3UtilsError.html @@ -0,0 +1,750 @@ + + + + Web3UtilsError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3UtilsError

+
+
+
public enum Web3UtilsError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotConvertDataToAscii
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidSignatureLength
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + localizedDescription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var localizedDescription: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3WalletError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3WalletError.html new file mode 100644 index 00000000..f5fa9ce2 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Enums/Web3WalletError.html @@ -0,0 +1,723 @@ + + + + Web3WalletError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3WalletError

+
+
+
public enum Web3WalletError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case attachadKeystoreNotFound
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noAccounts + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noAccounts
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions.html new file mode 100644 index 00000000..a8b12f02 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions.html @@ -0,0 +1,996 @@ + + + + Extensions Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Extensions

+

The following extensions are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + BinaryInteger + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Data + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + String + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Array + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct Array<Element> : _DestructorSafeContainer
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + UInt8 + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct UInt8 : FixedWidthInteger, UnsignedInteger
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Range + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct Range<Bound> where Bound : Comparable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Int + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct Int : FixedWidthInteger, SignedInteger
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + UInt32 + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct UInt32 : FixedWidthInteger, UnsignedInteger
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Dictionary + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct Dictionary<Key, Value> where Key : Hashable
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Array.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Array.html new file mode 100644 index 00000000..61720789 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Array.html @@ -0,0 +1,784 @@ + + + + Array Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Array

+
+
+
struct Array<Element> : _DestructorSafeContainer
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + solidityData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var solidityData: Data { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + split(intoChunksOf:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func split(intoChunksOf chunkSize: Int) -> [[Element]]
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + base58EncodedString + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var base58EncodedString: String { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var base58CheckEncodedString: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/BigInt.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/BigInt.html new file mode 100644 index 00000000..bad35080 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/BigInt.html @@ -0,0 +1,922 @@ + + + + BigInt Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

BigInt

+ +
+
+ +
+
+
+
    +
  • +
    + + + + isEqualTo(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isEqualTo(_ other: AnyObject) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + eventFilterEncoded() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func eventFilterEncoded() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + toTwosComplement() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func toTwosComplement() -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + abiEncode(bits:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func abiEncode(bits: UInt64) -> Data!
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func fromTwosComplement(data: Data) -> BigInt
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + StringOptions + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias StringOptions = BigUInt.StringOptions
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string() + +
    +
    +
    +
    +
    +
    +

    Returns .description to not confuse

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string() -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Formats a BigInt object to String. The supplied number is first divided into integer and decimal part based on units, +then limit the decimal part to decimals symbols and uses a decimalSeparator as a separator. +Fallbacks to scientific format if higher precision is required. +default: decimals: 18, decimalSeparator: ., options: .stripZeroes

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string(unitDecimals: Int, decimals: Int = 18, decimalSeparator: String = ".", options: StringOptions = .default) -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Formats a BigInt object to String. The supplied number is first divided into integer and decimal part based on units, +then limit the decimal part to decimals symbols and uses a decimalSeparator as a separator. +default: decimals: 18, decimalSeparator: ., options: .stripZeroes

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string(units: Web3Units, decimals: Int = 18, decimalSeparator: String = ".", options: StringOptions = .default) -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/BigUInt.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/BigUInt.html new file mode 100644 index 00000000..70b9c6fe --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/BigUInt.html @@ -0,0 +1,896 @@ + + + + BigUInt Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

BigUInt

+ +
+
+ +
+
+
+
    +
  • +
    + + + + isEqualTo(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isEqualTo(_ other: AnyObject) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + eventFilterEncoded() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func eventFilterEncoded() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + abiEncode(bits:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func abiEncode(bits: UInt64) -> Data?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + init(_:units:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ string: String, units: Web3Units)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:decimals:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ string: String, decimals: Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + StringOptions + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct StringOptions : OptionSet
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Formats a BigUInt object to String. The supplied number is first divided into integer and decimal part based on toUnits, +then limit the decimal part to decimals symbols and uses a decimalSeparator as a separator. +default: decimals: 18, decimalSeparator: ., options: .stripZeroes

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string(units: Web3Units, decimals: Int = 18, decimalSeparator: String = ".", options: StringOptions = .default) -> String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Formats a BigUInt object to String. The supplied number is first divided into integer and decimal part based on toUnits, +then limit the decimal part to decimals symbols and uses a decimalSeparator as a separator. +Fallbacks to scientific format if higher precision is required. +default: decimals: 18, decimalSeparator: ., options: .stripZeroes

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func string(unitDecimals: Int, decimals: Int = 18, decimalSeparator: String = ".", options: StringOptions = .default) -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/BigUInt/StringOptions.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/BigUInt/StringOptions.html new file mode 100644 index 00000000..92fbad87 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/BigUInt/StringOptions.html @@ -0,0 +1,802 @@ + + + + StringOptions Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

StringOptions

+
+
+
public struct StringOptions : OptionSet
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + rawValue + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let rawValue: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(rawValue:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(rawValue: Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fallbackToScientific + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let fallbackToScientific: <<error type>>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + stripZeroes + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let stripZeroes: <<error type>>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let `default`: StringOptions
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/BinaryInteger.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/BinaryInteger.html new file mode 100644 index 00000000..d47f2687 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/BinaryInteger.html @@ -0,0 +1,695 @@ + + + + BinaryInteger Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

BinaryInteger

+
+
+
protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + solidityData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var solidityData: Data { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Data.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Data.html new file mode 100644 index 00000000..f3e463ec --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Data.html @@ -0,0 +1,1143 @@ + + + + Data Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Data

+
+
+
struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + solidityData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var solidityData: Data { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isSolidityBinaryType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isSolidityBinaryType: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + isEqualTo(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isEqualTo(_ other: AnyObject) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + eventFilterEncoded() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func eventFilterEncoded() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + init(fromArray:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    init<T>(fromArray values: [T])
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toArray(type:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func toArray<T>(type _: T.Type) -> [T]
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func constantTimeComparisonTo(_ other: Data?) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + zero(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func zero(_ data: inout Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + random(length:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func random(length: Int) -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hex + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var hex: String { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func hex(separateEvery: Int, separator: String = " ") -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fromHex(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func fromHex(_ hex: String) -> Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var string: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + keccak256() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func keccak256() -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bitsInRange(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func bitsInRange(_ startingBit: Int, _ length: Int) -> UInt64
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func setLengthLeft(_ toBytes: UInt64, isNegative: Bool = false) -> Data?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func setLengthRight(_ toBytes: UInt64, isNegative: Bool = false) -> Data?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Dictionary.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Dictionary.html new file mode 100644 index 00000000..48f242e4 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Dictionary.html @@ -0,0 +1,695 @@ + + + + Dictionary Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Dictionary

+
+
+
struct Dictionary<Key, Value> where Key : Hashable
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + at(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func at(_ key: String) throws -> DictionaryReader
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Int.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Int.html new file mode 100644 index 00000000..3fc0f916 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Int.html @@ -0,0 +1,720 @@ + + + + Int Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Int

+
+
+
struct Int : FixedWidthInteger, SignedInteger
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + makeIterator() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func makeIterator() -> Range<Int>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Iterator + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias Iterator = Range<Int>
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Range.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Range.html new file mode 100644 index 00000000..62e946e7 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/Range.html @@ -0,0 +1,694 @@ + + + + Range Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Range

+
+
+
struct Range<Bound> where Bound : Comparable
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + next() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public mutating func next() -> Bound?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/String.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/String.html new file mode 100644 index 00000000..df988816 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/String.html @@ -0,0 +1,1012 @@ + + + + String Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

String

+
+
+
struct String
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + solidityData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var solidityData: Data { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isSolidityBinaryType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isSolidityBinaryType: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + isEqualTo(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isEqualTo(_ other: AnyObject) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + eventFilterEncoded() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func eventFilterEncoded() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + base58EncodedString + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var base58EncodedString: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + base58DecodedData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var base58DecodedData: Data? { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var base58CheckDecodedData: Data? { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var base58CheckDecodedBytes: [UInt8]? { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + keccak256() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func keccak256() -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + isContractAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var isContractAddress: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var isAddress: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var contractAddress: Address { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/TransactionIntermediate.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/TransactionIntermediate.html new file mode 100644 index 00000000..0e8bdbd8 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/TransactionIntermediate.html @@ -0,0 +1,777 @@ + + + + TransactionIntermediate Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionIntermediate

+ +

Undocumented

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/UInt32.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/UInt32.html new file mode 100644 index 00000000..d86de110 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/UInt32.html @@ -0,0 +1,695 @@ + + + + UInt32 Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UInt32

+
+
+
struct UInt32 : FixedWidthInteger, UnsignedInteger
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + serialize32() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func serialize32() -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/UInt8.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/UInt8.html new file mode 100644 index 00000000..be956c44 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Extensions/UInt8.html @@ -0,0 +1,695 @@ + + + + UInt8 Extension Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UInt8

+
+
+
struct UInt8 : FixedWidthInteger, UnsignedInteger
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + hex + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var hex: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Functions.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Functions.html new file mode 100644 index 00000000..406dab13 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Functions.html @@ -0,0 +1,690 @@ + + + + Functions Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Functions

+

The following functions are available globally.

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func scrypt(password: String, salt: Data, length: Int, N: Int, R: Int, P: Int) -> Data?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols.html new file mode 100644 index 00000000..42efa673 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols.html @@ -0,0 +1,962 @@ + + + + Protocols Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Protocols

+

The following protocols are available globally.

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol SolidityDataRepresentable
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + AbstractKeystore + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol AbstractKeystore
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3Provider + +
    +
    +
    +
    +
    +
    +

    Providers abstraction for custom providers (websockets, other custom private key managers). At the moment should not be used.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol Web3Provider
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol Web3OptionsInheritable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Protocol for generic Ethereum event parsing results

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol EventParserResultProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EventParserProtocol + +
    +
    +
    +
    +
    +
    +

    Protocol for generic Ethereum event parser

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol EventParserProtocol
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/AbstractKeystore.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/AbstractKeystore.html new file mode 100644 index 00000000..aa350863 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/AbstractKeystore.html @@ -0,0 +1,750 @@ + + + + AbstractKeystore Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AbstractKeystore

+
+
+
public protocol AbstractKeystore
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + addresses + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var addresses: [Address] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isHDKeystore + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var isHDKeystore: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func UNSAFE_getPrivateKeyData(password: String, account: Address) throws -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/ContractProtocol.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/ContractProtocol.html new file mode 100644 index 00000000..5a724352 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/ContractProtocol.html @@ -0,0 +1,993 @@ + + + + ContractProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ContractProtocol

+
+
+
public protocol ContractProtocol
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var address: Address? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var options: Web3Options { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + allMethods + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var allMethods: [String] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + allEvents + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var allEvents: [String] { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func deploy(bytecode: Data, parameters: [Any], extraData: Data, options: Web3Options?) throws -> EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func method(_ method: String, parameters: [Any], extraData: Data, options: Web3Options?) throws -> EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:at:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    init(_ abiString: String, at address: Address?) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func decodeReturnData(_ method: String, data: Data) -> [String : Any]?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func decodeInputData(_ method: String, data: Data) -> [String : Any]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + decodeInputData(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func decodeInputData(_ data: Data) -> [String : Any]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parseEvent(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func parseEvent(_ eventLog: EventLog) -> (eventName: String?, eventData: [String : Any]?)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func testBloomForEventPrecence(eventName: String, bloom: EthereumBloomFilter) -> Bool?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/EventFilterComparable.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/EventFilterComparable.html new file mode 100644 index 00000000..779588a1 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/EventFilterComparable.html @@ -0,0 +1,696 @@ + + + + EventFilterComparable Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventFilterComparable

+
+
+
public protocol EventFilterComparable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + isEqualTo(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func isEqualTo(_ other: AnyObject) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/EventFilterEncodable.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/EventFilterEncodable.html new file mode 100644 index 00000000..add529b1 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/EventFilterEncodable.html @@ -0,0 +1,696 @@ + + + + EventFilterEncodable Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventFilterEncodable

+
+
+
public protocol EventFilterEncodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + eventFilterEncoded() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func eventFilterEncoded() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/EventParserProtocol.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/EventParserProtocol.html new file mode 100644 index 00000000..2cc7623c --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/EventParserProtocol.html @@ -0,0 +1,885 @@ + + + + EventParserProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventParserProtocol

+
+
+
public protocol EventParserProtocol
+ +
+
+

Protocol for generic Ethereum event parser

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/EventParserResultProtocol.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/EventParserResultProtocol.html new file mode 100644 index 00000000..cce6e1fb --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/EventParserResultProtocol.html @@ -0,0 +1,804 @@ + + + + EventParserResultProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventParserResultProtocol

+
+
+
public protocol EventParserResultProtocol
+ +
+
+

Protocol for generic Ethereum event parsing results

+ +
+
+ +
+
+
+
    +
  • +
    + + + + eventName + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var eventName: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + decodedResult + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var decodedResult: [String : Any] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var contractAddress: Address { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionReceipt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var transactionReceipt: TransactionReceipt? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + eventLog + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var eventLog: EventLog? { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/SolidityDataRepresentable.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/SolidityDataRepresentable.html new file mode 100644 index 00000000..de1faa58 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/SolidityDataRepresentable.html @@ -0,0 +1,731 @@ + + + + SolidityDataRepresentable Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SolidityDataRepresentable

+
+
+
public protocol SolidityDataRepresentable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + solidityData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var solidityData: Data { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isSolidityBinaryType + + + Default implementation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +

    Default Implementation

    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var isSolidityBinaryType: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/Web3OptionsInheritable.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/Web3OptionsInheritable.html new file mode 100644 index 00000000..f14ca7c2 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/Web3OptionsInheritable.html @@ -0,0 +1,696 @@ + + + + Web3OptionsInheritable Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3OptionsInheritable

+
+
+
public protocol Web3OptionsInheritable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var options: Web3Options { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/Web3Provider.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/Web3Provider.html new file mode 100644 index 00000000..3cd16bbe --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Protocols/Web3Provider.html @@ -0,0 +1,804 @@ + + + + Web3Provider Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Provider

+
+
+
public protocol Web3Provider
+ +
+
+

Providers abstraction for custom providers (websockets, other custom private key managers). At the moment should not be used.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + sendAsync(_:queue:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func sendAsync(_ request: JsonRpcRequest, queue: DispatchQueue) -> Promise<JsonRpcResponse>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + network + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var network: NetworkId? { get set }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var attachedKeystoreManager: KeystoreManager? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + url + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var url: URL { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + session + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var session: URLSession { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs.html new file mode 100644 index 00000000..29098e2f --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs.html @@ -0,0 +1,2229 @@ + + + + Structures Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Structures

+

The following structures are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + ABIv2 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ABIv2
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ABIv2Decoder + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ABIv2Decoder
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ABIv2Encoder + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ABIv2Encoder
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ABIv2TypeParser + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ABIv2TypeParser
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Address : Equatable
    + +
    +
    +
    +
    +
  • +
+
+
+ +
    +
  • +
    + + + + Response + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Response : Decodable
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TransactionHistoryRecord : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Token + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Token : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Head + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Head : Decodable
    + +
    +
    +
    +
    +
  • +
+
+
+ +
    +
  • +
    + + + + Body + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Body : Codable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InternalParam + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InternalParam : Codable
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + EventFilter + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EventFilter
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ERC20GasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ERC20GasPrice
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ERC721GasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ERC721GasPrice
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + SECP256K1 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct SECP256K1
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + RIPEMD160 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RIPEMD160
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + NaturalUnits + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct NaturalUnits
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + KeystoreParamsBIP32 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct KeystoreParamsBIP32 : Decodable, Encodable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ICAP + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ICAP
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + IBAN + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct IBAN
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + KdfParamsV3 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct KdfParamsV3 : Decodable, Encodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CipherParamsV3 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct CipherParamsV3 : Decodable, Encodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CryptoParamsV3 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct CryptoParamsV3 : Decodable, Encodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + KeystoreParamsV3 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct KeystoreParamsV3 : Decodable, Encodable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3Options + +
    +
    +
    +
    +
    +
    +

    Options for sending or calling a particular Ethereum transaction

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Web3Options
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + BIP39 + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct BIP39
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + EthereumBloomFilter + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EthereumBloomFilter
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + EthereumTransaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EthereumTransaction : CustomStringConvertible
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Web3Signer + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Web3Signer
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + TxPoolStatus + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TxPoolStatus
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TxPoolInspect + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TxPoolInspect
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InspectedTransaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InspectedTransaction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TxPoolContent + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TxPoolContent
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TxPoolTransaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TxPoolTransaction
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Counter + +
    +
    +
    +
    +
    +
    +

    Global counter object to enumerate JSON RPC requests.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Counter
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JsonRpcRequest + +
    +
    +
    +
    +
    +
    +

    JSON RPC request structure for serialization and deserialization purposes.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct JsonRpcRequest : Encodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JsonRpcRequestBatch + +
    +
    +
    +
    +
    +
    +

    JSON RPC batch request structure for serialization and deserialization purposes.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct JsonRpcRequestBatch : Encodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JsonRpcResponse + +
    +
    +
    +
    +
    +
    +

    JSON RPC response structure for serialization and deserialization purposes.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct JsonRpcResponse : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JsonRpcResponseBatch + +
    +
    +
    +
    +
    +
    +

    JSON RPC batch response structure for serialization and deserialization purposes.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct JsonRpcResponseBatch : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransactionParameters + +
    +
    +
    +
    +
    +
    +

    Transaction parameters JSON structure for interaction with Ethereum node.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TransactionParameters : Codable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EventFilterParameters + +
    +
    +
    +
    +
    +
    +

    Event filter parameters JSON structure for interaction with Ethereum node.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EventFilterParameters : Codable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JsonRpcParams + +
    +
    +
    +
    +
    +
    +

    Raw JSON RCP 2.0 internal flattening wrapper.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct JsonRpcParams : Encodable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + JsonRpcMethod + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct JsonRpcMethod : Encodable, Equatable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JsonRpcRequestFabric + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct JsonRpcRequestFabric
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + NetworkId + +
    +
    +
    +
    +
    +
    +

    Enum for the most-used Ethereum networks. Network ID is crucial for EIP155 support

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct NetworkId : RawRepresentable, CustomStringConvertible, ExpressibleByIntegerLiteral
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + TransactionDetails + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TransactionDetails : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransactionReceipt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TransactionReceipt : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EventLog + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EventLog : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Block + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Block : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EventParserResult + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EventParserResult : EventParserResultProtocol
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TransactionSendingResult
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2.html new file mode 100644 index 00000000..7c7e2bef --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2.html @@ -0,0 +1,811 @@ + + + + ABIv2 Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ABIv2

+
+
+
public struct ABIv2
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Input + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Input : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Output + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Output : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Record + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Record : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Element + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Element
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ParsingError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ParsingError : Error
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element.html new file mode 100644 index 00000000..f1bc358b --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element.html @@ -0,0 +1,974 @@ + + + + Element Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Element

+
+
+
public enum Element
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + ArraySize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ArraySize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + function(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case function(Function)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + constructor(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case constructor(Constructor)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fallback(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case fallback(Fallback)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + event(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case event(Event)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InOut + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InOut
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Function + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Function
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Constructor + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Constructor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Fallback + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Fallback
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Event + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Event
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ParameterType + +
    +
    +
    +
    +
    +
    +

    Specifies the type that parameters in a contract have.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ParameterType : ABIv2ElementPropertiesProtocol
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element/ArraySize.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element/ArraySize.html new file mode 100644 index 00000000..1ee20eae --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element/ArraySize.html @@ -0,0 +1,750 @@ + + + + ArraySize Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ArraySize

+
+
+
public enum ArraySize
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + staticSize(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case staticSize(UInt64)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dynamicSize + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case dynamicSize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + notArray + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notArray
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element/Event.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element/Event.html new file mode 100644 index 00000000..b4ed934d --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element/Event.html @@ -0,0 +1,730 @@ + + + + Event Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Event

+
+
+
public struct Event
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
    +
  • +
    + + + + signature + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var signature: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topic + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var topic: Data { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element/Function.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element/Function.html new file mode 100644 index 00000000..94c8e0ef --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element/Function.html @@ -0,0 +1,750 @@ + + + + Function Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Function

+
+
+
public struct Function
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + signature + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var signature: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + methodString + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var methodString: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + methodEncoding + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var methodEncoding: Data { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element/ParameterType.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element/ParameterType.html new file mode 100644 index 00000000..3de395ff --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Element/ParameterType.html @@ -0,0 +1,1045 @@ + + + + ParameterType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ParameterType

+
+
+
public enum ParameterType : ABIv2ElementPropertiesProtocol
+ +
+
+

Specifies the type that parameters in a contract have.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + uint(bits:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case uint(bits: UInt64)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + int(bits:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case int(bits: UInt64)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + function + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case function
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bool + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bytes(length:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bytes(length: UInt64)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + array(type:length:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    indirect case array(type: ParameterType, length: UInt64)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dynamicBytes + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case dynamicBytes
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case string
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + tuple(types:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    indirect case tuple(types: [ParameterType])
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + ==(_:_:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func == (lhs: ABIv2.Element.ParameterType, rhs: ABIv2.Element.ParameterType) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+ +
    +
  • +
    + + + + abiRepresentation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var abiRepresentation: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+ +
    +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/ParsingError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/ParsingError.html new file mode 100644 index 00000000..2e9e1639 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/ParsingError.html @@ -0,0 +1,912 @@ + + + + ParsingError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ParsingError

+
+
+
public enum ParsingError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + invalidJsonFile + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case invalidJsonFile
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + elementTypeInvalid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case elementTypeInvalid
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + elementNameInvalid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case elementNameInvalid
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + functionInputInvalid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case functionInputInvalid
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + functionOutputInvalid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case functionOutputInvalid
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + eventInputInvalid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case eventInputInvalid
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parameterTypeInvalid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case parameterTypeInvalid
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parameterTypeNotFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case parameterTypeNotFound
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + abiInvalid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case abiInvalid
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Record.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Record.html new file mode 100644 index 00000000..3605ab5d --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2/Record.html @@ -0,0 +1,696 @@ + + + + Record Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Record

+
+
+
public struct Record : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + parse() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func parse() throws -> ABIv2.Element
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2Decoder.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2Decoder.html new file mode 100644 index 00000000..57974e5f --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2Decoder.html @@ -0,0 +1,777 @@ + + + + ABIv2Decoder Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ABIv2Decoder

+
+
+
public struct ABIv2Decoder
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + decode(types:data:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func decode(types: [ABIv2.Element.InOut], data: Data) -> [AnyObject]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + decode(types:data:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func decode(types: [ABIv2.Element.ParameterType], data: Data) -> [AnyObject]?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func decodeSignleType(type: ABIv2.Element.ParameterType, data: Data, pointer: UInt64 = 0) -> (value: AnyObject?, bytesConsumed: UInt64?)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func decodeLog(event: ABIv2.Element.Event, eventLog: EventLog) -> [String : Any]?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2Encoder.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2Encoder.html new file mode 100644 index 00000000..f45dfafc --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2Encoder.html @@ -0,0 +1,831 @@ + + + + ABIv2Encoder Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ABIv2Encoder

+
+
+
public struct ABIv2Encoder
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + convertToBigUInt(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func convertToBigUInt(_ value: AnyObject) -> BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + convertToBigInt(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func convertToBigInt(_ value: AnyObject) -> BigInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + convertToData(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func convertToData(_ value: AnyObject) -> Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(types:values:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func encode(types: [ABIv2.Element.InOut], values: [AnyObject]) -> Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(types:values:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func encode(types: [ABIv2.Element.ParameterType], values: [AnyObject]) -> Data?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func encodeSingleType(type: ABIv2.Element.ParameterType, value: AnyObject) -> Data?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2TypeParser.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2TypeParser.html new file mode 100644 index 00000000..c6e90ed3 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ABIv2TypeParser.html @@ -0,0 +1,750 @@ + + + + ABIv2TypeParser Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ABIv2TypeParser

+
+
+
public struct ABIv2TypeParser
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + parseTypeString(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func parseTypeString(_ string: String) throws -> ABIv2.Element.ParameterType
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func recursiveParseType(_ string: String) -> (type: ABIv2.Element.ParameterType?, tail: String?)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func recursiveParseArray(baseType: ABIv2.Element.ParameterType, string: String) -> (type: ABIv2.Element.ParameterType?, tail: String?)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Address.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Address.html new file mode 100644 index 00000000..be095497 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Address.html @@ -0,0 +1,1313 @@ + + + + Address Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Address

+
+
+
public struct Address : Equatable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + AddressType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum AddressType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + type + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var type: Address.AddressType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ==(_:_:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func == (lhs: Address, rhs: Address) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addressData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var addressData: Data { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var address: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toChecksumAddress(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func toChecksumAddress(_ addr: String) -> String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:type:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ addressString: String, type: AddressType = .normal)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:type:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ addressData: Data, type: AddressType = .normal)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + check() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func check() throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractDeployment + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var contractDeployment: Address { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + solidityData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var solidityData: Data { get }
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + isEqualTo(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isEqualTo(_ other: AnyObject) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + eventFilterEncoded() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func eventFilterEncoded() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + StringLiteralType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias StringLiteralType = String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(stringLiteral:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(stringLiteral value: StringLiteralType)
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(to:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(to encoder: Encoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Address/AddressType.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Address/AddressType.html new file mode 100644 index 00000000..fd31090c --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Address/AddressType.html @@ -0,0 +1,723 @@ + + + + AddressType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AddressType

+
+
+
public enum AddressType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + normal + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case normal
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractDeployment + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case contractDeployment
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Block.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Block.html new file mode 100644 index 00000000..2ed425cf --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Block.html @@ -0,0 +1,1208 @@ + + + + Block Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Block

+
+
+
public struct Block : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + number + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var number: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var hash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parentHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parentHash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + nonce + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var nonce: Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + sha3Uncles + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var sha3Uncles: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + logsBloom + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var logsBloom: EthereumBloomFilter?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionsRoot + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactionsRoot: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + stateRoot + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var stateRoot: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + receiptsRoot + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var receiptsRoot: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + miner + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var miner: Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + difficulty + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var difficulty: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + totalDifficulty + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var totalDifficulty: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var extraData: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + size + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var size: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasLimit + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasLimit: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasUsed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasUsed: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + timestamp + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var timestamp: Date
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactions + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactions: [TransactionInBlock]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + uncles + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var uncles: [Data]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ContractV2.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ContractV2.html new file mode 100644 index 00000000..aaa22d47 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ContractV2.html @@ -0,0 +1,1238 @@ + + + + ContractV2 Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ContractV2

+
+
+
public struct ContractV2 : ContractProtocol
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + allEvents + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var allEvents: [String] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + allMethods + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var allMethods: [String] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EventFilter + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct EventFilter
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var address: Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + methods + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var methods: [String : ABIv2.Element] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + constructor + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var constructor: ABIv2.Element? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + events + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var events: [String : ABIv2.Element.Event] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + options + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var options: Web3Options
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:at:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ abiString: String, at address: Address? = nil) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(abi:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(abi: [ABIv2.Element])
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(abi:at:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(abi: [ABIv2.Element], at: Address)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + MethodError + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum MethodError : Error
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func deploy(bytecode: Data, args: Any..., extraData: Data = Data(), options: Web3Options?) throws -> EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func deploy(bytecode: Data, parameters: [Any], extraData: Data = Data(), options: Web3Options?) throws -> EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func method(_ name: String, args: Any..., extraData: Data = Data(), options: Web3Options?) throws -> EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func method(_ method: String, parameters: [Any], extraData: Data = Data(), options: Web3Options?) throws -> EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parseEvent(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func parseEvent(_ eventLog: EventLog) -> (eventName: String?, eventData: [String : Any]?)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func testBloomForEventPrecence(eventName: String, bloom: EthereumBloomFilter) -> Bool?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func decodeReturnData(_ method: String, data: Data) -> [String : Any]?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func decodeInputData(_ method: String, data: Data) -> [String : Any]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + decodeInputData(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func decodeInputData(_ data: Data) -> [String : Any]?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ContractV2/EventFilter.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ContractV2/EventFilter.html new file mode 100644 index 00000000..beadcdea --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ContractV2/EventFilter.html @@ -0,0 +1,723 @@ + + + + EventFilter Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventFilter

+
+
+
public struct EventFilter
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + parameterName + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parameterName: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parameterValues + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parameterValues: [AnyObject]
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ContractV2/MethodError.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ContractV2/MethodError.html new file mode 100644 index 00000000..387fb08e --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ContractV2/MethodError.html @@ -0,0 +1,831 @@ + + + + MethodError Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

MethodError

+
+
+
public enum MethodError : Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + noAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noAddress
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noGasLimit + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noGasLimit
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noGasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noGasPrice
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noConstructor + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noConstructor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + notFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notFound
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotEncodeDataWithGivenParameters
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Counter.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Counter.html new file mode 100644 index 00000000..4a8915ec --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Counter.html @@ -0,0 +1,750 @@ + + + + Counter Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Counter

+
+
+
public struct Counter
+ +
+
+

Global counter object to enumerate JSON RPC requests.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + counter + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var counter: UInt64
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lockQueue + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var lockQueue: DispatchQueue
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + increment() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func increment() -> UInt64
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ERC20GasPrice.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ERC20GasPrice.html new file mode 100644 index 00000000..77cbff43 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ERC20GasPrice.html @@ -0,0 +1,750 @@ + + + + ERC20GasPrice Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ERC20GasPrice

+
+
+
public struct ERC20GasPrice
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + transfer(to:amount:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transfer(to user: Address, amount: BigUInt) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + approve(to:amount:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func approve(to user: Address, amount: BigUInt) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transferFrom(owner: Address, to: Address, amount: BigUInt) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ERC721GasPrice.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ERC721GasPrice.html new file mode 100644 index 00000000..703b9388 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ERC721GasPrice.html @@ -0,0 +1,777 @@ + + + + ERC721GasPrice Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ERC721GasPrice

+
+
+
public struct ERC721GasPrice
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + approve(to:token:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func approve(to user: Address, token: BigUInt) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func setApproveForAll(operator: Address, approved: Bool) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transfer(from: Address, to: Address, token: BigUInt) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func safeTransfer(from: Address, to: Address, token: BigUInt) throws -> BigUInt
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EthereumAddress.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EthereumAddress.html new file mode 100644 index 00000000..3385b3de --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EthereumAddress.html @@ -0,0 +1,1310 @@ + + + + EthereumAddress Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EthereumAddress

+
+
+
public struct EthereumAddress : Equatable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + AddressType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum AddressType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + type + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var type: EthereumAddress.AddressType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ==(_:_:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func == (lhs: EthereumAddress, rhs: EthereumAddress) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addressData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var addressData: Data { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var address: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toChecksumAddress(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func toChecksumAddress(_ addr: String) -> String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:type:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ addressString: String, type: AddressType = .normal)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:type:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ addressData: Data, type: AddressType = .normal)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + check() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func check() throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractDeployment + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var contractDeployment: EthereumAddress { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + solidityData + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var solidityData: Data { get }
    + +
    +
    +
    +
    +
  • +
+
+
+ +
+
+
    +
  • +
    + + + + isEqualTo(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isEqualTo(_ other: AnyObject) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + eventFilterEncoded() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func eventFilterEncoded() -> String?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + StringLiteralType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias StringLiteralType = String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(stringLiteral:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(stringLiteral value: StringLiteralType)
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(to:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(to encoder: Encoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EthereumAddress/AddressType.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EthereumAddress/AddressType.html new file mode 100644 index 00000000..b68d60bc --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EthereumAddress/AddressType.html @@ -0,0 +1,720 @@ + + + + AddressType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AddressType

+
+
+
public enum AddressType
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + normal + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case normal
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractDeployment + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case contractDeployment
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EthereumBloomFilter.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EthereumBloomFilter.html new file mode 100644 index 00000000..5c641417 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EthereumBloomFilter.html @@ -0,0 +1,1024 @@ + + + + EthereumBloomFilter Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EthereumBloomFilter

+
+
+
public struct EthereumBloomFilter
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + bytes + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var bytes: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ biguint: BigUInt)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ data: Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + asBigUInt() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func asBigUInt() -> BigUInt
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + createBloom(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func createBloom(_ receipts: [TransactionReceipt]) -> EthereumBloomFilter?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + test(topic:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func test(topic: Data) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + test(topic:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func test(topic: BigUInt) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bloomLookup(_:topic:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func bloomLookup(_ bloom: EthereumBloomFilter, topic: Data) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bloomLookup(_:topic:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func bloomLookup(_ bloom: EthereumBloomFilter, topic: BigUInt) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + add(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public mutating func add(_ biguint: BigUInt) -> <<error type>>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + add(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public mutating func add(_ data: Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lookup(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func lookup(_ topic: Data) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EthereumTransaction.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EthereumTransaction.html new file mode 100644 index 00000000..ef79d5fe --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EthereumTransaction.html @@ -0,0 +1,1400 @@ + + + + EthereumTransaction Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EthereumTransaction

+
+
+
public struct EthereumTransaction : CustomStringConvertible
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + nonce + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var nonce: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasPrice: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasLimit + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasLimit: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + to + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var to: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + data + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var data: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + v + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var v: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + r + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var r: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + s + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var s: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + inferedChainID + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var inferedChainID: NetworkId? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + intrinsicChainID + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var intrinsicChainID: BigUInt? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UNSAFE_setChainID(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public mutating func UNSAFE_setChainID(_ chainID: NetworkId?)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var hash: Data? { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(gasPrice: BigUInt, gasLimit: BigUInt, to: Address, value: BigUInt, data: Data)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(to: Address, data: Data, options: Web3Options)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(nonce: BigUInt, gasPrice: BigUInt, gasLimit: BigUInt, to: Address, value: BigUInt, data: Data, v: BigUInt, r: BigUInt, s: BigUInt)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + mergedWithOptions(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func mergedWithOptions(_ options: Web3Options) -> EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + sender + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var sender: Address? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + recoverPublicKey() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func recoverPublicKey() -> Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + txhash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var txhash: String? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + txid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var txid: String? { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(forSignature: Bool = false, chainId: NetworkId? = nil) -> Data?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encodeAsDictionary(from: Address? = nil) -> TransactionParameters?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func hashForSignature(chainID: NetworkId? = nil) -> Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fromRaw(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func fromRaw(_ raw: Data) -> EthereumTransaction?
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventFilter.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventFilter.html new file mode 100644 index 00000000..7118bf9f --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventFilter.html @@ -0,0 +1,888 @@ + + + + EventFilter Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventFilter

+
+
+
public struct EventFilter
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Block + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Block
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(fromBlock: Block?, toBlock: Block?,
    +            addresses: [Address]? = nil,
    +            parameterFilters: [[EventFilterable]?]? = nil)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fromBlock + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var fromBlock: EventFilter.Block?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toBlock + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var toBlock: EventFilter.Block?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addresses + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var addresses: [Address]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parameterFilters + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parameterFilters: [[EventFilterable]?]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + rpcPreEncode() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func rpcPreEncode() -> EventFilterParameters
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventFilter/Block.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventFilter/Block.html new file mode 100644 index 00000000..981c49db --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventFilter/Block.html @@ -0,0 +1,750 @@ + + + + Block Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Block

+
+
+
public enum Block
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + latest + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case latest
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pending + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case pending
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockNumber(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case blockNumber(UInt64)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventFilterParameters.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventFilterParameters.html new file mode 100644 index 00000000..3d4b9d2d --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventFilterParameters.html @@ -0,0 +1,777 @@ + + + + EventFilterParameters Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventFilterParameters

+
+
+
public struct EventFilterParameters : Codable
+ +
+
+

Event filter parameters JSON structure for interaction with Ethereum node.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + fromBlock + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var fromBlock: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toBlock + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var toBlock: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topics + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var topics: [[String?]?]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var address: [String?]?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventLog.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventLog.html new file mode 100644 index 00000000..eb32cb67 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventLog.html @@ -0,0 +1,938 @@ + + + + EventLog Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventLog

+
+
+
public struct EventLog : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var address: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var blockHash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockNumber + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var blockNumber: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + data + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var data: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + logIndex + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var logIndex: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + removed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var removed: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topics + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var topics: [Data]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactionHash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionIndex + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactionIndex: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventParserResult.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventParserResult.html new file mode 100644 index 00000000..46d71db2 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/EventParserResult.html @@ -0,0 +1,831 @@ + + + + EventParserResult Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EventParserResult

+
+
+
public struct EventParserResult : EventParserResultProtocol
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + eventName + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var eventName: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionReceipt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactionReceipt: TransactionReceipt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var contractAddress: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + decodedResult + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var decodedResult: [String : Any]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + eventLog + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var eventLog: EventLog?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(eventName: String, transactionReceipt: TransactionReceipt?, contractAddress: Address, decodedResult: [String : Any])
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/IBAN.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/IBAN.html new file mode 100644 index 00000000..7542f1a4 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/IBAN.html @@ -0,0 +1,993 @@ + + + + IBAN Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

IBAN

+
+
+
public struct IBAN
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + iban + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var iban: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isDirect + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isDirect: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isIndirect + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isIndirect: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + checksum + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var checksum: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + asset + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var asset: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + institution + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var institution: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + client + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var client: String { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + toAddress() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func toAddress() -> Address?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func isValidIBANaddress(_ iban: String, noValidityCheck: Bool = false) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?(_ ibanString: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + check(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func check(_ address: Address) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ address: Address)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ICAP.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ICAP.html new file mode 100644 index 00000000..b37b91a2 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/ICAP.html @@ -0,0 +1,750 @@ + + + + ICAP Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ICAP

+
+
+
public struct ICAP
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + asset + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var asset: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + institution + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var institution: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + client + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var client: String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/InspectedTransaction.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/InspectedTransaction.html new file mode 100644 index 00000000..d1d83ec4 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/InspectedTransaction.html @@ -0,0 +1,831 @@ + + + + InspectedTransaction Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

InspectedTransaction

+
+
+
public struct InspectedTransaction
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + from + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let from: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + nonce + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let nonce: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + to + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let to: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let value: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasLimit + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let gasLimit: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let gasPrice: BigUInt
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcMethod.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcMethod.html new file mode 100644 index 00000000..5f5eb030 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcMethod.html @@ -0,0 +1,1344 @@ + + + + JsonRpcMethod Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcMethod

+
+
+
public struct JsonRpcMethod : Encodable, Equatable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + api + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var api: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + parameters + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var parameters: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(api:parameters:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(api: String, parameters: Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let gasPrice: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockNumber + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let blockNumber: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getNetwork + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getNetwork: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + sendRawTransaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let sendRawTransaction: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + sendTransaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let sendTransaction: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + estimateGas + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let estimateGas: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + call + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let call: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getTransactionCount + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getTransactionCount: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getBalance + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getBalance: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getCode + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getCode: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getStorageAt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getStorageAt: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getTransactionByHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getTransactionByHash: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getTransactionReceipt + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getTransactionReceipt: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getAccounts + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getAccounts: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getBlockByHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getBlockByHash: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getBlockByNumber + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getBlockByNumber: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + personalSign + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let personalSign: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + unlockAccount + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let unlockAccount: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getLogs + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let getLogs: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + txPoolStatus + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let txPoolStatus: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + txPoolInspect + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let txPoolInspect: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + txPoolContent + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let txPoolContent: JsonRpcMethod
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcParams.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcParams.html new file mode 100644 index 00000000..30d77722 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcParams.html @@ -0,0 +1,722 @@ + + + + JsonRpcParams Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcParams

+
+
+
public struct JsonRpcParams : Encodable
+ +
+
+

Raw JSON RCP 2.0 internal flattening wrapper.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + params + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var params: [Any]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(to:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(to encoder: Encoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcRequest.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcRequest.html new file mode 100644 index 00000000..359a6179 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcRequest.html @@ -0,0 +1,749 @@ + + + + JsonRpcRequest Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcRequest

+
+
+
public struct JsonRpcRequest : Encodable
+ +
+
+

JSON RPC request structure for serialization and deserialization purposes.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(method:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(method: JsonRpcMethod)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + encode(to:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(to encoder: Encoder) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isValid + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isValid: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcRequestBatch.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcRequestBatch.html new file mode 100644 index 00000000..a061c5e3 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcRequestBatch.html @@ -0,0 +1,695 @@ + + + + JsonRpcRequestBatch Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcRequestBatch

+
+
+
public struct JsonRpcRequestBatch : Encodable
+ +
+
+

JSON RPC batch request structure for serialization and deserialization purposes.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + encode(to:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func encode(to encoder: Encoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcRequestFabric.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcRequestFabric.html new file mode 100644 index 00000000..870989e5 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcRequestFabric.html @@ -0,0 +1,696 @@ + + + + JsonRpcRequestFabric Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcRequestFabric

+
+
+
public struct JsonRpcRequestFabric
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcResponse.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcResponse.html new file mode 100644 index 00000000..93ba6f6a --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcResponse.html @@ -0,0 +1,941 @@ + + + + JsonRpcResponse Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcResponse

+
+
+
public struct JsonRpcResponse : Decodable
+ +
+
+

JSON RPC response structure for serialization and deserialization purposes.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var id: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + jsonrpc + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var jsonrpc: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + result + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var result: Any?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var error: JsonRpcResponse.ErrorMessage?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + message + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var message: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + response() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func response() throws -> DictionaryReader
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(id: Int, jsonrpc: String, result: Any?, error: ErrorMessage?)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ErrorMessage + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ErrorMessage : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getValue() + +
    +
    +
    +
    +
    +
    +

    Get the JSON RCP reponse value by deserializing it into some native class.

    + +

    Returns nil if serialization fails

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getValue<T>() -> T?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcResponse/ErrorMessage.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcResponse/ErrorMessage.html new file mode 100644 index 00000000..eba3741a --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcResponse/ErrorMessage.html @@ -0,0 +1,723 @@ + + + + ErrorMessage Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ErrorMessage

+
+
+
public struct ErrorMessage : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + code + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var code: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + message + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var message: String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcResponseBatch.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcResponseBatch.html new file mode 100644 index 00000000..6450238b --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/JsonRpcResponseBatch.html @@ -0,0 +1,695 @@ + + + + JsonRpcResponseBatch Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

JsonRpcResponseBatch

+
+
+
public struct JsonRpcResponseBatch : Decodable
+ +
+
+

JSON RPC batch response structure for serialization and deserialization purposes.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/KeystoreParamsBIP32.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/KeystoreParamsBIP32.html new file mode 100644 index 00000000..00f432b6 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/KeystoreParamsBIP32.html @@ -0,0 +1,696 @@ + + + + KeystoreParamsBIP32 Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

KeystoreParamsBIP32

+
+
+
public struct KeystoreParamsBIP32 : Decodable, Encodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/KeystoreParamsV3.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/KeystoreParamsV3.html new file mode 100644 index 00000000..3c0c98a0 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/KeystoreParamsV3.html @@ -0,0 +1,696 @@ + + + + KeystoreParamsV3 Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

KeystoreParamsV3

+
+
+
public struct KeystoreParamsV3 : Decodable, Encodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/NaturalUnits.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/NaturalUnits.html new file mode 100644 index 00000000..a83d03fd --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/NaturalUnits.html @@ -0,0 +1,805 @@ + + + + NaturalUnits Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

NaturalUnits

+
+
+
public struct NaturalUnits
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + string + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let string: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ string: String) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ int: Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + number(with:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func number(with decimals: Int) -> BigUInt
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/NaturalUnits/Error.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/NaturalUnits/Error.html new file mode 100644 index 00000000..b6cce3a3 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/NaturalUnits/Error.html @@ -0,0 +1,723 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + cannotConvert(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cannotConvert(String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + localizedDescription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var localizedDescription: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/NetworkId.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/NetworkId.html new file mode 100644 index 00000000..75b0c84b --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/NetworkId.html @@ -0,0 +1,1264 @@ + + + + NetworkId Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

NetworkId

+
+
+
public struct NetworkId : RawRepresentable, CustomStringConvertible, ExpressibleByIntegerLiteral
+ +
+
+

Enum for the most-used Ethereum networks. Network ID is crucial for EIP155 support

+ +
+
+ +
+
+
+
    +
  • +
    + + + + IntegerLiteralType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias IntegerLiteralType = Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + rawValue + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var rawValue: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(rawValue:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(rawValue: BigUInt)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ rawValue: BigUInt)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ rawValue: Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(integerLiteral:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(integerLiteral value: Int)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + all + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var all: [NetworkId] { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var `default`: NetworkId
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + mainnet + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var mainnet: NetworkId { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ropsten + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var ropsten: NetworkId { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + rinkeby + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var rinkeby: NetworkId { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + kovan + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var kovan: NetworkId { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + Magnitude + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias Magnitude = RawValue.Magnitude
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + magnitude + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var magnitude: RawValue.Magnitude { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(exactly:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init?<T>(exactly source: T) where T : BinaryInteger
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + *(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func * (lhs: NetworkId, rhs: NetworkId) -> NetworkId
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + *=(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func *= (lhs: inout NetworkId, rhs: NetworkId)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + +(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func + (lhs: NetworkId, rhs: NetworkId) -> NetworkId
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + +=(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func += (lhs: inout NetworkId, rhs: NetworkId)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + -(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func - (lhs: NetworkId, rhs: NetworkId) -> NetworkId
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + -=(_:_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func -= (lhs: inout NetworkId, rhs: NetworkId)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/RIPEMD160.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/RIPEMD160.html new file mode 100644 index 00000000..530220aa --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/RIPEMD160.html @@ -0,0 +1,893 @@ + + + + RIPEMD160 Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

RIPEMD160

+
+
+
public struct RIPEMD160
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + update(data:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public mutating func update(data: Data)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + finalize() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public mutating func finalize() -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + hash(message:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func hash(message: Data) -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hash(message:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func hash(message: String) -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + hmac(key:message:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func hmac(key: Data, message: Data) -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hmac(key:message:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func hmac(key: Data, message: String) -> Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hmac(key:message:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func hmac(key: String, message: String) -> Data
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/SECP256K1.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/SECP256K1.html new file mode 100644 index 00000000..6f788ebb --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/SECP256K1.html @@ -0,0 +1,696 @@ + + + + SECP256K1 Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SECP256K1

+
+
+
public struct SECP256K1
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + UnmarshaledSignature + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct UnmarshaledSignature
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Token.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Token.html new file mode 100644 index 00000000..3b2a26f5 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Token.html @@ -0,0 +1,803 @@ + + + + Token Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Token

+
+
+
public struct Token : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + address + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let address: Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + name + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let name: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + symbol + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let symbol: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + decimal + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let decimal: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionDetails.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionDetails.html new file mode 100644 index 00000000..16858f81 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionDetails.html @@ -0,0 +1,830 @@ + + + + TransactionDetails Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionDetails

+
+
+
public struct TransactionDetails : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + blockHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var blockHash: Data?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockNumber + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var blockNumber: BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionIndex + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactionIndex: BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transaction: EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ json: [String : Any]) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionHistoryRecord.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionHistoryRecord.html new file mode 100644 index 00000000..b92cbadb --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionHistoryRecord.html @@ -0,0 +1,1127 @@ + + + + TransactionHistoryRecord Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionHistoryRecord

+
+
+
public struct TransactionHistoryRecord : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let hash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + block + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let block: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addressFrom + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let addressFrom: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addressTo + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let addressTo: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isoTime + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let isoTime: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + type + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let type: TransactionType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + status + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let status: TransactionStatus
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let error: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isContract + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let isContract: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isInner + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let isInner: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let value: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + token + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let token: Token
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + txFee + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let txFee: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasUsed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let gasUsed: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasCost + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let gasCost: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionParameters.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionParameters.html new file mode 100644 index 00000000..0d7c5e96 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionParameters.html @@ -0,0 +1,858 @@ + + + + TransactionParameters Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionParameters

+
+
+
public struct TransactionParameters : Codable
+ +
+
+

Transaction parameters JSON structure for interaction with Ethereum node.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + data + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var data: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + from + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var from: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gas + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gas: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasPrice: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + to + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var to: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:to:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from _from: String?, to _to: String?)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionReceipt.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionReceipt.html new file mode 100644 index 00000000..726205dd --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionReceipt.html @@ -0,0 +1,1020 @@ + + + + TransactionReceipt Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionReceipt

+
+
+
public struct TransactionReceipt : Decodable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + transactionHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactionHash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var blockHash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockNumber + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var blockNumber: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionIndex + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transactionIndex: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + contractAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var contractAddress: Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + cumulativeGasUsed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var cumulativeGasUsed: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasUsed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasUsed: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + logs + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var logs: [EventLog]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + status + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var status: TXStatus
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + logsBloom + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var logsBloom: EthereumBloomFilter?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TXStatus + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TXStatus
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(transactionHash: Data, blockHash: Data, blockNumber: BigUInt, transactionIndex: BigUInt, contractAddress: Address?, cumulativeGasUsed: BigUInt, gasUsed: BigUInt, logs: [EventLog], status: TXStatus, logsBloom: EthereumBloomFilter?)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionReceipt/TXStatus.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionReceipt/TXStatus.html new file mode 100644 index 00000000..81137135 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionReceipt/TXStatus.html @@ -0,0 +1,750 @@ + + + + TXStatus Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TXStatus

+
+
+
public enum TXStatus
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + ok + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case ok
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + failed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case failed
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + notYetProcessed + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case notYetProcessed
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionSendingResult.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionSendingResult.html new file mode 100644 index 00000000..738e3815 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TransactionSendingResult.html @@ -0,0 +1,723 @@ + + + + TransactionSendingResult Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransactionSendingResult

+
+
+
public struct TransactionSendingResult
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + transaction + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var transaction: EthereumTransaction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var hash: String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TxPoolContent.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TxPoolContent.html new file mode 100644 index 00000000..014b3c68 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TxPoolContent.html @@ -0,0 +1,723 @@ + + + + TxPoolContent Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TxPoolContent

+
+
+
public struct TxPoolContent
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + pending + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let pending: [TxPoolTransaction]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + queued + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let queued: [TxPoolTransaction]
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TxPoolInspect.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TxPoolInspect.html new file mode 100644 index 00000000..a0f848b7 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TxPoolInspect.html @@ -0,0 +1,723 @@ + + + + TxPoolInspect Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TxPoolInspect

+
+
+
public struct TxPoolInspect
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + pending + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let pending: [InspectedTransaction]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + queued + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let queued: [InspectedTransaction]
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TxPoolStatus.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TxPoolStatus.html new file mode 100644 index 00000000..fe692c6a --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TxPoolStatus.html @@ -0,0 +1,723 @@ + + + + TxPoolStatus Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TxPoolStatus

+
+
+
public struct TxPoolStatus
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + pending + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pending: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + queued + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var queued: Int
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TxPoolTransaction.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TxPoolTransaction.html new file mode 100644 index 00000000..89b26000 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/TxPoolTransaction.html @@ -0,0 +1,1020 @@ + + + + TxPoolTransaction Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TxPoolTransaction

+
+
+
public struct TxPoolTransaction
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + from + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let from: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + nonce + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let nonce: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + to + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let to: Address
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let value: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasLimit + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let gasLimit: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let gasPrice: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + input + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let input: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let hash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + v + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let v: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + r + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let r: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + s + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let s: BigUInt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + blockHash + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let blockHash: Data
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transactionIndex + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let transactionIndex: BigUInt
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Options.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Options.html new file mode 100644 index 00000000..e3cd79ec --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Options.html @@ -0,0 +1,1014 @@ + + + + Web3Options Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Options

+
+
+
public struct Web3Options
+ +
+
+

Options for sending or calling a particular Ethereum transaction

+ +
+
+ +
+
+
+
    +
  • +
    + + + + to + +
    +
    +
    +
    +
    +
    +

    Sets the transaction destination. It can either be a contract address or a private key controlled wallet address.

    + +

    Usually should never be nil.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var to: Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + from + +
    +
    +
    +
    +
    +
    +

    Sets from what account a transaction should be sent. Used only internally as the sender of Ethereum transaction +is determined purely from the transaction signature. Indicates to the Ethereum node or to the local keystore what private key +should be used to sign a transaction.

    + +

    Can be nil if one reads the information from the blockchain.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var from: Address?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasLimit + +
    +
    +
    +
    +
    +
    +

    Sets the gas limit for a transaction.

    + +

    If set to nil it’s usually determined automatically.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasLimit: BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gasPrice + +
    +
    +
    +
    +
    +
    +

    Sets the gas price for a transaction.

    + +

    If set to nil it’s usually determined automatically.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var gasPrice: BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Sets the value (amount of Wei) sent along the transaction.

    + +

    If set to nil it’s equal to zero

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: BigUInt?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + default + +
    +
    +
    +
    +
    +
    +

    Default options filler. Sets gas limit, gas price and value to zeroes.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var `default`: Web3Options { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(_ json: [String : Any]) throws
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    merges two sets of options along with a gas estimate to try to guess the final gas limit value required by user.

    + +

    Please refer to the source code for a logic.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func smartMergeGasLimit(originalOptions: Web3Options?, extraOptions: Web3Options?, gasEstimate: BigUInt) -> BigUInt
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func smartMergeGasPrice(originalOptions: Web3Options?, extraOptions: Web3Options?, priceEstimate: BigUInt) -> BigUInt
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + defaultOptions() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func defaultOptions() -> Web3Options
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(from decoder: Decoder) throws
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer.html new file mode 100644 index 00000000..7023f770 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer.html @@ -0,0 +1,808 @@ + + + + Web3Signer Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Web3Signer

+
+
+
public struct Web3Signer
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer/EIP155Signer.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer/EIP155Signer.html new file mode 100644 index 00000000..4e5cbd40 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer/EIP155Signer.html @@ -0,0 +1,724 @@ + + + + EIP155Signer Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EIP155Signer

+
+
+
public struct EIP155Signer
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func sign(transaction: inout EthereumTransaction, privateKey: Data, useExtraEntropy: Bool = false) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer/EIP155Signer/Error.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer/EIP155Signer/Error.html new file mode 100644 index 00000000..f4320908 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer/EIP155Signer/Error.html @@ -0,0 +1,750 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + chainIdNotFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case chainIdNotFound
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hashNotFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case hashNotFound
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case recoveredPublicKeyCorrupted
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer/FallbackSigner.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer/FallbackSigner.html new file mode 100644 index 00000000..3a19062c --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer/FallbackSigner.html @@ -0,0 +1,724 @@ + + + + FallbackSigner Structure Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

FallbackSigner

+
+
+
public struct FallbackSigner
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func sign(transaction: inout EthereumTransaction, privateKey: Data, useExtraEntropy _: Bool = false) throws
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Error + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Error : Swift.Error
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer/FallbackSigner/Error.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer/FallbackSigner/Error.html new file mode 100644 index 00000000..d02465b6 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Structs/Web3Signer/FallbackSigner/Error.html @@ -0,0 +1,750 @@ + + + + Error Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Error

+
+
+
public enum Error : Swift.Error
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + chainIdNotFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case chainIdNotFound
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hashNotFound + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case hashNotFound
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case recoveredPublicKeyCorrupted
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Typealiases.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Typealiases.html new file mode 100644 index 00000000..86b12373 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/Typealiases.html @@ -0,0 +1,865 @@ + + + + Type Aliases Reference + + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Type Aliases

+

The following type aliases are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + JSONRPCrequest + +
    +
    +
    +
    +
    +
    +

    TIP +To quickly fix all renamed functions you can do:

    + +
      +
    1. (cmd + ‘) to jump to next issue
    2. +
    3. (ctrl + alt + cmd + f) to fix all issues in current file
    4. +
    5. repeat +web3swift 2.0 changes
    6. +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @available(*, deprecated: 2.0, renamed: "JsonRpcRequest")
    +public typealias JSONRPCrequest = JsonRpcRequest
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JSONRPCparams + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias JSONRPCparams = JsonRpcParams
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JSONRPCRequestFabric + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias JSONRPCRequestFabric = JsonRpcRequestFabric
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JSONRPCresponse + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias JSONRPCresponse = JsonRpcResponse
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + JSONRPCresponseBatch + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias JSONRPCresponseBatch = JsonRpcResponseBatch
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + EthereumAddress + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias EthereumAddress = Address
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias TransactionIntermediate = Web3Contract.TransactionIntermediate
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/badge.svg b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/badge.svg new file mode 100644 index 00000000..7263c411 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/badge.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + documentation + + + documentation + + + 15% + + + 15% + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/css/highlight.css b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/css/highlight.css new file mode 100644 index 00000000..d0db0e13 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/css/highlight.css @@ -0,0 +1,200 @@ +/* Credit to https://gist.github.com/wataru420/2048287 */ +.highlight { + /* Comment */ + /* Error */ + /* Keyword */ + /* Operator */ + /* Comment.Multiline */ + /* Comment.Preproc */ + /* Comment.Single */ + /* Comment.Special */ + /* Generic.Deleted */ + /* Generic.Deleted.Specific */ + /* Generic.Emph */ + /* Generic.Error */ + /* Generic.Heading */ + /* Generic.Inserted */ + /* Generic.Inserted.Specific */ + /* Generic.Output */ + /* Generic.Prompt */ + /* Generic.Strong */ + /* Generic.Subheading */ + /* Generic.Traceback */ + /* Keyword.Constant */ + /* Keyword.Declaration */ + /* Keyword.Pseudo */ + /* Keyword.Reserved */ + /* Keyword.Type */ + /* Literal.Number */ + /* Literal.String */ + /* Name.Attribute */ + /* Name.Builtin */ + /* Name.Class */ + /* Name.Constant */ + /* Name.Entity */ + /* Name.Exception */ + /* Name.Function */ + /* Name.Namespace */ + /* Name.Tag */ + /* Name.Variable */ + /* Operator.Word */ + /* Text.Whitespace */ + /* Literal.Number.Float */ + /* Literal.Number.Hex */ + /* Literal.Number.Integer */ + /* Literal.Number.Oct */ + /* Literal.String.Backtick */ + /* Literal.String.Char */ + /* Literal.String.Doc */ + /* Literal.String.Double */ + /* Literal.String.Escape */ + /* Literal.String.Heredoc */ + /* Literal.String.Interpol */ + /* Literal.String.Other */ + /* Literal.String.Regex */ + /* Literal.String.Single */ + /* Literal.String.Symbol */ + /* Name.Builtin.Pseudo */ + /* Name.Variable.Class */ + /* Name.Variable.Global */ + /* Name.Variable.Instance */ + /* Literal.Number.Integer.Long */ } + .highlight .c { + color: #999988; + font-style: italic; } + .highlight .err { + color: #a61717; + background-color: #e3d2d2; } + .highlight .k { + color: #000000; + font-weight: bold; } + .highlight .o { + color: #000000; + font-weight: bold; } + .highlight .cm { + color: #999988; + font-style: italic; } + .highlight .cp { + color: #999999; + font-weight: bold; } + .highlight .c1 { + color: #999988; + font-style: italic; } + .highlight .cs { + color: #999999; + font-weight: bold; + font-style: italic; } + .highlight .gd { + color: #000000; + background-color: #ffdddd; } + .highlight .gd .x { + color: #000000; + background-color: #ffaaaa; } + .highlight .ge { + color: #000000; + font-style: italic; } + .highlight .gr { + color: #aa0000; } + .highlight .gh { + color: #999999; } + .highlight .gi { + color: #000000; + background-color: #ddffdd; } + .highlight .gi .x { + color: #000000; + background-color: #aaffaa; } + .highlight .go { + color: #888888; } + .highlight .gp { + color: #555555; } + .highlight .gs { + font-weight: bold; } + .highlight .gu { + color: #aaaaaa; } + .highlight .gt { + color: #aa0000; } + .highlight .kc { + color: #000000; + font-weight: bold; } + .highlight .kd { + color: #000000; + font-weight: bold; } + .highlight .kp { + color: #000000; + font-weight: bold; } + .highlight .kr { + color: #000000; + font-weight: bold; } + .highlight .kt { + color: #445588; } + .highlight .m { + color: #009999; } + .highlight .s { + color: #d14; } + .highlight .na { + color: #008080; } + .highlight .nb { + color: #0086B3; } + .highlight .nc { + color: #445588; + font-weight: bold; } + .highlight .no { + color: #008080; } + .highlight .ni { + color: #800080; } + .highlight .ne { + color: #990000; + font-weight: bold; } + .highlight .nf { + color: #990000; } + .highlight .nn { + color: #555555; } + .highlight .nt { + color: #000080; } + .highlight .nv { + color: #008080; } + .highlight .ow { + color: #000000; + font-weight: bold; } + .highlight .w { + color: #bbbbbb; } + .highlight .mf { + color: #009999; } + .highlight .mh { + color: #009999; } + .highlight .mi { + color: #009999; } + .highlight .mo { + color: #009999; } + .highlight .sb { + color: #d14; } + .highlight .sc { + color: #d14; } + .highlight .sd { + color: #d14; } + .highlight .s2 { + color: #d14; } + .highlight .se { + color: #d14; } + .highlight .sh { + color: #d14; } + .highlight .si { + color: #d14; } + .highlight .sx { + color: #d14; } + .highlight .sr { + color: #009926; } + .highlight .s1 { + color: #d14; } + .highlight .ss { + color: #990073; } + .highlight .bp { + color: #999999; } + .highlight .vc { + color: #008080; } + .highlight .vg { + color: #008080; } + .highlight .vi { + color: #008080; } + .highlight .il { + color: #009999; } diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/css/jazzy.css b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/css/jazzy.css new file mode 100644 index 00000000..c83db5bf --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/css/jazzy.css @@ -0,0 +1,368 @@ +*, *:before, *:after { + box-sizing: inherit; } + +body { + margin: 0; + background: #fff; + color: #333; + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + letter-spacing: .2px; + -webkit-font-smoothing: antialiased; + box-sizing: border-box; } + +h1 { + font-size: 2rem; + font-weight: 700; + margin: 1.275em 0 0.6em; } + +h2 { + font-size: 1.75rem; + font-weight: 700; + margin: 1.275em 0 0.3em; } + +h3 { + font-size: 1.5rem; + font-weight: 700; + margin: 1em 0 0.3em; } + +h4 { + font-size: 1.25rem; + font-weight: 700; + margin: 1.275em 0 0.85em; } + +h5 { + font-size: 1rem; + font-weight: 700; + margin: 1.275em 0 0.85em; } + +h6 { + font-size: 1rem; + font-weight: 700; + margin: 1.275em 0 0.85em; + color: #777; } + +p { + margin: 0 0 1em; } + +ul, ol { + padding: 0 0 0 2em; + margin: 0 0 0.85em; } + +blockquote { + margin: 0 0 0.85em; + padding: 0 15px; + color: #858585; + border-left: 4px solid #e5e5e5; } + +img { + max-width: 100%; } + +a { + color: #4183c4; + text-decoration: none; } + a:hover, a:focus { + outline: 0; + text-decoration: underline; } + +table { + background: #fff; + width: 100%; + border-collapse: collapse; + border-spacing: 0; + overflow: auto; + margin: 0 0 0.85em; } + +tr:nth-child(2n) { + background-color: #fbfbfb; } + +th, td { + padding: 6px 13px; + border: 1px solid #ddd; } + +pre { + margin: 0 0 1.275em; + padding: .85em 1em; + overflow: auto; + background: #f7f7f7; + font-size: .85em; + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } + +code { + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } + +p > code, li > code { + background: #f7f7f7; + padding: .2em; } + p > code:before, p > code:after, li > code:before, li > code:after { + letter-spacing: -.2em; + content: "\00a0"; } + +pre code { + padding: 0; + white-space: pre; } + +.content-wrapper { + display: flex; + flex-direction: column; } + @media (min-width: 768px) { + .content-wrapper { + flex-direction: row; } } + +.header { + display: flex; + padding: 8px; + font-size: 0.875em; + background: #444; + color: #999; } + +.header-col { + margin: 0; + padding: 0 8px; } + +.header-col--primary { + flex: 1; } + +.header-link { + color: #fff; } + +.header-icon { + padding-right: 6px; + vertical-align: -4px; + height: 16px; } + +.breadcrumbs { + font-size: 0.875em; + padding: 8px 16px; + margin: 0; + background: #fbfbfb; + border-bottom: 1px solid #ddd; } + +.carat { + height: 10px; + margin: 0 5px; } + +.navigation { + order: 2; } + @media (min-width: 768px) { + .navigation { + order: 1; + width: 25%; + max-width: 300px; + padding-bottom: 64px; + overflow: hidden; + word-wrap: normal; + background: #fbfbfb; + border-right: 1px solid #ddd; } } + +.nav-groups { + list-style-type: none; + padding-left: 0; } + +.nav-group-name { + border-bottom: 1px solid #ddd; + padding: 8px 0 8px 16px; } + +.nav-group-name-link { + color: #333; } + +.nav-group-tasks { + margin: 8px 0; + padding: 0 0 0 8px; } + +.nav-group-task { + font-size: 1em; + list-style-type: none; + white-space: nowrap; } + +.nav-group-task-link { + color: #808080; } + +.main-content { + order: 1; } + @media (min-width: 768px) { + .main-content { + order: 2; + flex: 1; + padding-bottom: 60px; } } + +.section { + padding: 0 32px; + border-bottom: 1px solid #ddd; } + +.section-content { + max-width: 834px; + margin: 0 auto; + padding: 16px 0; } + +.section-name { + color: #666; + display: block; } + +.declaration .highlight { + overflow-x: initial; + padding: 8px 0; + margin: 0; + background-color: transparent; + border: none; } + +.task-group-section { + border-top: 1px solid #ddd; } + +.task-group { + padding-top: 0px; } + +.task-name-container a[name]:before { + content: ""; + display: block; } + +.item-container { + padding: 0; } + +.item { + padding-top: 8px; + width: 100%; + list-style-type: none; } + .item a[name]:before { + content: ""; + display: block; } + .item .token { + padding-left: 3px; + margin-left: 0px; + font-size: 1rem; } + .item .declaration-note { + font-size: .85em; + color: #808080; + font-style: italic; } + +.pointer-container { + border-bottom: 1px solid #ddd; + left: -23px; + padding-bottom: 13px; + position: relative; + width: 110%; } + +.pointer { + left: 21px; + top: 7px; + display: block; + position: absolute; + width: 12px; + height: 12px; + border-left: 1px solid #ddd; + border-top: 1px solid #ddd; + background: #fff; + transform: rotate(45deg); } + +.height-container { + display: none; + position: relative; + width: 100%; + overflow: hidden; } + .height-container .section { + background: #fff; + border: 1px solid #ddd; + border-top-width: 0; + padding-top: 10px; + padding-bottom: 5px; + padding: 8px 16px; } + +.aside, .language { + padding: 6px 12px; + margin: 12px 0; + border-left: 5px solid #dddddd; + overflow-y: hidden; } + .aside .aside-title, .language .aside-title { + font-size: 9px; + letter-spacing: 2px; + text-transform: uppercase; + padding-bottom: 0; + margin: 0; + color: #aaa; + -webkit-user-select: none; } + .aside p:last-child, .language p:last-child { + margin-bottom: 0; } + +.language { + border-left: 5px solid #cde9f4; } + .language .aside-title { + color: #4183c4; } + +.aside-warning { + border-left: 5px solid #ff6666; } + .aside-warning .aside-title { + color: #ff0000; } + +.graybox { + border-collapse: collapse; + width: 100%; } + .graybox p { + margin: 0; + word-break: break-word; + min-width: 50px; } + .graybox td { + border: 1px solid #ddd; + padding: 5px 25px 5px 10px; + vertical-align: middle; } + .graybox tr td:first-of-type { + text-align: right; + padding: 7px; + vertical-align: top; + word-break: normal; + width: 40px; } + +.slightly-smaller { + font-size: 0.9em; } + +.footer { + padding: 8px 16px; + background: #444; + color: #ddd; + font-size: 0.8em; } + .footer p { + margin: 8px 0; } + .footer a { + color: #fff; } + +html.dash .header, html.dash .breadcrumbs, html.dash .navigation { + display: none; } +html.dash .height-container { + display: block; } + +form[role=search] input { + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 24px; + padding: 0 10px; + margin: 0; + border: none; + border-radius: 1em; } + .loading form[role=search] input { + background: white url(../img/spinner.gif) center right 4px no-repeat; } +form[role=search] .tt-menu { + margin: 0; + min-width: 300px; + background: #fbfbfb; + color: #333; + border: 1px solid #ddd; } +form[role=search] .tt-highlight { + font-weight: bold; } +form[role=search] .tt-suggestion { + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + padding: 0 8px; } + form[role=search] .tt-suggestion span { + display: table-cell; + white-space: nowrap; } + form[role=search] .tt-suggestion .doc-parent-name { + width: 100%; + text-align: right; + font-weight: normal; + font-size: 0.9em; + padding-left: 16px; } +form[role=search] .tt-suggestion:hover, +form[role=search] .tt-suggestion.tt-cursor { + cursor: pointer; + background-color: #4183c4; + color: #fff; } +form[role=search] .tt-suggestion:hover .doc-parent-name, +form[role=search] .tt-suggestion.tt-cursor .doc-parent-name { + color: #fff; } diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/img/carat.png b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/img/carat.png new file mode 100755 index 00000000..29d2f7fd Binary files /dev/null and b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/img/carat.png differ diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/img/dash.png b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/img/dash.png new file mode 100755 index 00000000..6f694c7a Binary files /dev/null and b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/img/dash.png differ diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/img/gh.png b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/img/gh.png new file mode 100755 index 00000000..628da97c Binary files /dev/null and b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/img/gh.png differ diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/img/spinner.gif b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/img/spinner.gif new file mode 100644 index 00000000..e3038d0a Binary files /dev/null and b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/img/spinner.gif differ diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/index.html b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/index.html new file mode 100644 index 00000000..86be9023 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/index.html @@ -0,0 +1,876 @@ + + + + web3swift Reference + + + + + + + + + + + + + + + +
+

+ + web3swift Docs + + (15% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+ +

We just released web3swift 2.0 check it out

+ +

bkx-foundation-github-swift

+ +

+ +Swift 4.2 + + +Platforms iOS | macOS + + +Compatible + +

+ +

+ +Support + + +Stackoverflow + + +Join Discord + +

+

web3swift

+ +
    +
  • Swift implementation of web3.js functionality :zap:
  • +
  • Interaction with remote node via JSON RPC :thought_balloon:
  • +
  • Smart-contract ABI parsing :book:
  • +
  • ABI deconding (V2 is supported with return of structures from public functions. Part of 0.4.22 Solidity compiler)
  • +
  • RLP encoding
  • +
  • Interactions (read/write to Smart contracts) :arrows_counterclockwise:
  • +
  • Local keystore management (geth compatible)
  • +
  • Literally following the standards:
  • +
  • BIP32 HD Wallets: Deterministic Wallet
  • +
  • BIP39 (Seed phrases)
  • +
  • BIP44 (Key generation prefixes)
  • +
  • EIP-155 (Replay attacks protection) enforced!
  • +
+

Requirements

+ +

Web3swift requires Swift 4.2 and deploys to macOS 10.10, iOS 9, watchOS 2 and tvOS 9 and linux.

+ +

Don’t forget to set the iOS version in a Podfile, otherwise you get an error if the deployment target is less than the latest SDK.

+

Installation

+ +
    +
  • Swift Package Manager: +Although the Package Manager is still in its infancy, web3swift provides full support for it. +Add this to the dependency section of your Package.swift manifest:

    +
    .package(url: "https://github.com/BANKEX/web3swift.git", from: "2.0.0")
    +
  • +
  • CocoaPods: Put this in your Podfile:

    +
    pod 'web3swift', :git => 'https://github.com/bankex/web3swift.git', '~> 2.0'
    +
  • +
  • Carthage: Put this in your Cartfile:

    +
    github "BANKEX/web3swift" ~> 2.0
    +
  • +
+

Check this out

+ +
    +
  • Private key and transaction were created directly on an iOS device and sent directly to Infura node
  • +
  • Native API
  • +
  • Security (as cool as a hard wallet! Right out-of-the-box! :box: )
  • +
  • No unnecessary dependencies
  • +
  • Possibility to work with all existing smart contracts
  • +
  • Referencing the newest features introduced in Solidity
  • +
+

Design decisions

+ +
    +
  • Not every JSON RPC function is exposed yet, priority is given to the ones required for mobile devices
  • +
  • Functionality was focused on serializing and signing transactions locally on the device to send raw transactions to Ethereum network
  • +
  • Requirements for password input on every transaction are indeed a design decision. Interface designers can save user passwords with the user’s consent
  • +
  • Public function for private key export is exposed for user convenience, but marked as UNSAFE_ :) Normal workflow takes care of EIP155 compatibility and proper clearing of private key data from memory
  • +
+

Here it is

+ +

https://rinkeby.etherscan.io/tx/0xc6eca60ecac004a1501a4323a10edb7fa4cd1a0896675f6b51704c84dedad056

+
Transaction
+Nonce: 35
+Gas price: 5000000000
+Gas limit: 21000
+To: 0x6394b37Cf80A7358b38068f0CA4760ad49983a1B
+Value: 1000000000000000
+Data: 0x
+v: 43
+r: 73059897783840535708732471549376620878882680550447969052675399628060606060727
+s: 12280625377431973240236065453692843538037349746280474092545114784968542260859
+Intrinsic chainID: Optional(4)
+Infered chainID: Optional(4)
+sender: Optional(web3swift.Address(_address: "0x855adf524273c14b7260a188af0ae30e82e91959"))
+
+
+["id": 1514485925, "result": 0xc6eca60ecac004a1501a4323a10edb7fa4cd1a0896675f6b51704c84dedad056, "jsonrpc": 2.0]
+On Rinkeby TXid = 0xc6eca60ecac004a1501a4323a10edb7fa4cd1a0896675f6b51704c84dedad056
+
+

Example

+ +

You can try it yourself by running the example project:

+ +
    +
  • Clone the repo
  • +
  • cd Example/web3swiftExample
  • +
  • run pod install from the Example/web3swiftExample directory.
  • +
+

- open ./web3swiftExample.xcworkspace

+

Communication

+ + +

Features

+ +
    +
  • [x] Create Account
  • +
  • [x] Import Account
  • +
  • [x] Sign transactions
  • +
  • [x] Send transactions, call functions of smart-contracts, estimate gas costs
  • +
  • [x] Serialize and deserialize transactions and results to native Swift types
  • +
  • [x] Convenience functions for chain state: block number, gas price
  • +
  • [x] Check transaction results and get receipt
  • +
  • [x] Parse event logs for transaction
  • +
  • [x] Manage user’s private keys through encrypted keystore abstractions
  • +
  • [x] Batched requests in concurrent mode, checks balances of 580 tokens (from the latest MyEtherWallet repo) over 3 seconds
  • +
+

Usage

+ +

Here’s a few use cases of our library

+

Initializing Ethereum address

+
let coldWalletAddress = "0x6394b37Cf80A7358b38068f0CA4760ad49983a1B"
+let constractAddress = "0x45245bc59219eeaaf6cd3f382e078a461ff9de7b"
+
+ +

Ethereum addresses are checksum checked if they are not lowercased and always length checked

+

Setting options

+
var options = Web3Options.default
+// public var to: Address? = nil - to what address transaction is aimed
+// public var from: Address? = nil - form what address it should be sent (either signed locally or on the node)
+// public var gasLimit: BigUInt? = BigUInt(90000) - default gas limit
+// public var gasPrice: BigUInt? = BigUInt(5000000000) - default gas price, quite small
+// public var value: BigUInt? = BigUInt(0) - amount of WEI sent along the transaction
+options.gasPrice = gasPrice
+options.gasLimit = gasLimit
+options.from = "0xE6877A4d8806e9A9F12eB2e8561EA6c1db19978d"
+
+

Getting ETH balance

+
let address: Address = "0xE6877A4d8806e9A9F12eB2e8561EA6c1db19978d"
+let web3Main = Web3(infura: .mainnet)
+let balance: BigUInt = try web3Main.eth.getBalance(address)
+
+

Getting gas price

+
let web3Main = Web3(infura: .mainnet)
+let gasPrice: BigUInt = try web3Main.eth.getGasPrice()
+
+

Getting ERC20 token balance

+
let contractAddress: Address = "0x45245bc59219eeaaf6cd3f382e078a461ff9de7b" // BKX token on Ethereum mainnet
+let balance = try ERC20(contractAddress).balance(of: "0x6394b37Cf80A7358b38068f0CA4760ad49983a1B")
+print("BKX token balance = " + String(bal))
+
+

Sending ETH

+
let mnemonics = Mnemonics()
+let keystore = try BIP32Keystore(mnemonics: mnemonics)
+let keystoreManager = KeystoreManager([keystore])
+let web3Rinkeby = Web3(infura: .rinkeby)
+web3Rinkeby.addKeystoreManager(keystoreManager) // attach a keystore if you want to sign locally. Otherwise unsigned request will be sent to remote node
+var options = Web3Options.default
+options.from = keystore.addresses.first! // specify from what address you want to send it
+let intermediateSend = try web3Rinkeby.contract(Web3Utils.coldWalletABI, at: coldWalletAddress).method(options: options) // an address with a private key attached in not different from any other address, just has very simple ABI
+let sendResultBip32 = try intermediateSend.send(password: "BANKEXFOUNDATION")
+
+

Sending ERC20

+
let web3 = Web3(infura: .rinkeby)
+let erc20 = ERC20("0xa407dd0cbc9f9d20cdbd557686625e586c85b20a", from: yourAddress)
+let result = try erc20.transfer(to: "0x6394b37Cf80A7358b38068f0CA4760ad49983a1B", amount: NaturalUnits("0.0001"))
+}
+
+

Global plans

+ +
    +
  • Full reference web3js functionality
  • +
  • Light Ethereum subprotocol (LES) integration
  • +
+

Apps using this library

+ +

If you’ve used this project in a live app, please let us know!

+ +
+

If you are using web3swift in your app or know of an app that uses it, please add it to this list.*

+
+

Special thanks to

+ +
    +
  • Gnosis team and their library Bivrost-swift for inspiration for the ABI decoding approach
  • +
  • Trust iOS Wallet for the collaboration and discussion of the initial idea
  • +
  • Official Ethereum and Solidity docs, everything was written from ground truth standards
  • +
+

Contribution

+ +

For the latest version, please check develop branch.

+ +

Changes made to this branch will be merged into the master branch at some point.

+ + +

Appreciation

+ +

When using this pod, references to this repo, BANKEX and BANKEX Foundation are appreciated.

+

License

+ +

web3swift is available under the Apache License 2.0 license. See the LICENSE file for more info.

+ +
+
+ + +
+
+ + + + diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/js/jazzy.js b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/js/jazzy.js new file mode 100755 index 00000000..009c80d3 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/js/jazzy.js @@ -0,0 +1,43 @@ +window.jazzy = {'docset': false} +if (typeof window.dash != 'undefined') { + document.documentElement.className += ' dash' + window.jazzy.docset = true +} +if (navigator.userAgent.match(/xcode/i)) { + document.documentElement.className += ' xcode' + window.jazzy.docset = true +} + +// On doc load, toggle the URL hash discussion if present +$(document).ready(function() { + if (!window.jazzy.docset) { + var linkToHash = $('a[href="' + window.location.hash +'"]'); + linkToHash.trigger("click"); + } +}); + +// On token click, toggle its discussion and animate token.marginLeft +$(".token").click(function(event) { + if (window.jazzy.docset) { + return; + } + var link = $(this); + var animationDuration = 300; + $content = link.parent().parent().next(); + $content.slideToggle(animationDuration); + + // Keeps the document from jumping to the hash. + var href = $(this).attr('href'); + if (history.pushState) { + history.pushState({}, '', href); + } else { + location.hash = href; + } + event.preventDefault(); +}); + +// Dumb down quotes within code blocks that delimit strings instead of quotations +// https://github.com/realm/jazzy/issues/714 +$("code q").replaceWith(function () { + return ["\"", $(this).contents(), "\""]; +}); diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/js/jazzy.search.js b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/js/jazzy.search.js new file mode 100644 index 00000000..54be83cf --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/js/jazzy.search.js @@ -0,0 +1,62 @@ +$(function(){ + var searchIndex = lunr(function() { + this.ref('url'); + this.field('name'); + }); + + var $typeahead = $('[data-typeahead]'); + var $form = $typeahead.parents('form'); + var searchURL = $form.attr('action'); + + function displayTemplate(result) { + return result.name; + } + + function suggestionTemplate(result) { + var t = '
'; + t += '' + result.name + ''; + if (result.parent_name) { + t += '' + result.parent_name + ''; + } + t += '
'; + return t; + } + + $typeahead.one('focus', function() { + $form.addClass('loading'); + + $.getJSON(searchURL).then(function(searchData) { + $.each(searchData, function (url, doc) { + searchIndex.add({url: url, name: doc.name}); + }); + + $typeahead.typeahead( + { + highlight: true, + minLength: 3 + }, + { + limit: 10, + display: displayTemplate, + templates: { suggestion: suggestionTemplate }, + source: function(query, sync) { + var results = searchIndex.search(query).map(function(result) { + var doc = searchData[result.ref]; + doc.url = result.ref; + return doc; + }); + sync(results); + } + } + ); + $form.removeClass('loading'); + $typeahead.trigger('focus'); + }); + }); + + var baseURL = searchURL.slice(0, -"search.json".length); + + $typeahead.on('typeahead:select', function(e, result) { + window.location = baseURL + result.url; + }); +}); diff --git a/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/js/jquery.min.js b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/js/jquery.min.js new file mode 100755 index 00000000..ab28a247 --- /dev/null +++ b/Documentation/docsets/web3swift.docset/Contents/Resources/Documents/js/jquery.min.js @@ -0,0 +1,4 @@ +/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.1",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="
",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h; +if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML="
a",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/\s*$/g,rb={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:k.htmlSerialize?[0,"",""]:[1,"X
","
"]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?""!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("