Build Information
Successful build of Web3swift, reference 3.3.0 (119d17
), with Swift 6.0 for macOS (SPM) on 28 Dec 2024 19:48:24 UTC.
Swift 6 data race errors: 68
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:78:23: warning: static property 'erc721ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | public static var erc20ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
77 |
78 | public static var erc721ABI = "[{\"constant\":true,\"inputs\":[{\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"_name\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_approved\",\"type\":\"address\"},{\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"_symbol\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_operator\",\"type\":\"address\"},{\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_approved\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_operator\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"}]"
| |- warning: static property 'erc721ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc721ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc721ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | // TODO: - Need to fix
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC721/Web3+ERC721.swift:73:114: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
71 | }()
72 |
73 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 | self.web3 = web3
75 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC721/Web3+ERC721.swift:95:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
93 | guard contract.contract.address != nil else { return }
94 |
95 | async let tokenIdPromise = contract.createReadOperation("tokenId")?.callContractMethod()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
96 |
97 | guard let tokenIdResult = try await tokenIdPromise else { return }
[307/312] Compiling web3swift Web3+ERC1376.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:73:23: warning: static property 'erc1376ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | /// TODO: - need to fix.
73 | public static var erc1376ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1376ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1376ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1376ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 | /// Precoded ERC20 contracts ABI. Output parameters are named for ease of use.
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1376/Web3+ERC1376.swift:79:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 | public let contract: Web3.Contract
78 |
79 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1376ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | self.web3 = web3
81 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3552:23: warning: static property 'erc1400ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3550 | /// TODO: - Need to add correct ABI for ERC1400
3551 | /// Precoded ERC1400 contracts ABI. Output parameters are named for ease of use.
3552 | public static var erc1400ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1400ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1400ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1400ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3553 |
3554 | /// TODO: - Need to add correct ABI for ERC1410
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1400/Web3+ERC1400.swift:76:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 | public let contract: Web3.Contract
75 |
76 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1400ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 | self.web3 = web3
78 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3556:23: warning: static property 'erc1410ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3554 | /// TODO: - Need to add correct ABI for ERC1410
3555 | /// Precoded ERC1410 contracts ABI. Output parameters are named for ease of use.
3556 | public static var erc1410ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1410ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1410ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1410ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3557 |
3558 | /// TODO: - Need to add correct ABI for ERC1594
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1410/Web3+ERC1410.swift:54:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 | public let contract: Web3.Contract
53 |
54 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1410ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | self.web3 = web3
56 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3560:23: warning: static property 'erc1594ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3558 | /// TODO: - Need to add correct ABI for ERC1594
3559 | /// Precoded ERC1594 contracts ABI. Output parameters are named for ease of use.
3560 | public static var erc1594ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1594ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1594ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1594ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3561 |
3562 | /// TODO: - Need to add correct ABI for ERC1644
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1594/Web3+ERC1594.swift:44:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | public let contract: Web3.Contract
43 |
44 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1594ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 | self.web3 = web3
46 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:1818:23: warning: static property 'erc1633ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1816 | /// TODO: - Make it right
1817 | /// Precoded ERC1633 contracts ABI. Output parameters are named for ease of use.
1818 | public static var erc1633ABI = """
| |- warning: static property 'erc1633ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1633ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1633ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1819 | [
1820 | {
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1633/Web3+ERC1633.swift:31:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | public let contract: Web3.Contract
30 |
31 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1633ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | self.web3 = web3
33 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3568:23: warning: static property 'erc1643ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3566 | /// TODO: - Need to add correct ABI for ERC1644
3567 | /// Precoded ERC1643 contracts ABI. Output parameters are named for ease of use.
3568 | public static var erc1643ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1643ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1643ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1643ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3569 |
3570 | public static var deedABI = """
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1643/Web3+ERC1643.swift:34:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | public let contract: Web3.Contract
33 |
34 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1643ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
35 | self.web3 = web3
36 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
[308/312] Compiling web3swift Web3+ERC1400.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:73:23: warning: static property 'erc1376ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | /// TODO: - need to fix.
73 | public static var erc1376ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1376ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1376ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1376ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 | /// Precoded ERC20 contracts ABI. Output parameters are named for ease of use.
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1376/Web3+ERC1376.swift:79:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 | public let contract: Web3.Contract
78 |
79 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1376ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | self.web3 = web3
81 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3552:23: warning: static property 'erc1400ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3550 | /// TODO: - Need to add correct ABI for ERC1400
3551 | /// Precoded ERC1400 contracts ABI. Output parameters are named for ease of use.
3552 | public static var erc1400ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1400ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1400ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1400ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3553 |
3554 | /// TODO: - Need to add correct ABI for ERC1410
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1400/Web3+ERC1400.swift:76:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 | public let contract: Web3.Contract
75 |
76 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1400ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 | self.web3 = web3
78 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3556:23: warning: static property 'erc1410ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3554 | /// TODO: - Need to add correct ABI for ERC1410
3555 | /// Precoded ERC1410 contracts ABI. Output parameters are named for ease of use.
3556 | public static var erc1410ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1410ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1410ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1410ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3557 |
3558 | /// TODO: - Need to add correct ABI for ERC1594
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1410/Web3+ERC1410.swift:54:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 | public let contract: Web3.Contract
53 |
54 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1410ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | self.web3 = web3
56 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3560:23: warning: static property 'erc1594ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3558 | /// TODO: - Need to add correct ABI for ERC1594
3559 | /// Precoded ERC1594 contracts ABI. Output parameters are named for ease of use.
3560 | public static var erc1594ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1594ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1594ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1594ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3561 |
3562 | /// TODO: - Need to add correct ABI for ERC1644
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1594/Web3+ERC1594.swift:44:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | public let contract: Web3.Contract
43 |
44 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1594ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 | self.web3 = web3
46 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:1818:23: warning: static property 'erc1633ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1816 | /// TODO: - Make it right
1817 | /// Precoded ERC1633 contracts ABI. Output parameters are named for ease of use.
1818 | public static var erc1633ABI = """
| |- warning: static property 'erc1633ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1633ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1633ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1819 | [
1820 | {
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1633/Web3+ERC1633.swift:31:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | public let contract: Web3.Contract
30 |
31 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1633ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | self.web3 = web3
33 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3568:23: warning: static property 'erc1643ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3566 | /// TODO: - Need to add correct ABI for ERC1644
3567 | /// Precoded ERC1643 contracts ABI. Output parameters are named for ease of use.
3568 | public static var erc1643ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1643ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1643ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1643ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3569 |
3570 | public static var deedABI = """
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1643/Web3+ERC1643.swift:34:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | public let contract: Web3.Contract
33 |
34 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1643ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
35 | self.web3 = web3
36 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
[309/312] Compiling web3swift Web3+ERC1410.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:73:23: warning: static property 'erc1376ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | /// TODO: - need to fix.
73 | public static var erc1376ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1376ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1376ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1376ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 | /// Precoded ERC20 contracts ABI. Output parameters are named for ease of use.
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1376/Web3+ERC1376.swift:79:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 | public let contract: Web3.Contract
78 |
79 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1376ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | self.web3 = web3
81 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3552:23: warning: static property 'erc1400ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3550 | /// TODO: - Need to add correct ABI for ERC1400
3551 | /// Precoded ERC1400 contracts ABI. Output parameters are named for ease of use.
3552 | public static var erc1400ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1400ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1400ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1400ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3553 |
3554 | /// TODO: - Need to add correct ABI for ERC1410
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1400/Web3+ERC1400.swift:76:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 | public let contract: Web3.Contract
75 |
76 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1400ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 | self.web3 = web3
78 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3556:23: warning: static property 'erc1410ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3554 | /// TODO: - Need to add correct ABI for ERC1410
3555 | /// Precoded ERC1410 contracts ABI. Output parameters are named for ease of use.
3556 | public static var erc1410ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1410ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1410ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1410ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3557 |
3558 | /// TODO: - Need to add correct ABI for ERC1594
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1410/Web3+ERC1410.swift:54:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 | public let contract: Web3.Contract
53 |
54 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1410ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | self.web3 = web3
56 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3560:23: warning: static property 'erc1594ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3558 | /// TODO: - Need to add correct ABI for ERC1594
3559 | /// Precoded ERC1594 contracts ABI. Output parameters are named for ease of use.
3560 | public static var erc1594ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1594ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1594ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1594ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3561 |
3562 | /// TODO: - Need to add correct ABI for ERC1644
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1594/Web3+ERC1594.swift:44:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | public let contract: Web3.Contract
43 |
44 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1594ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 | self.web3 = web3
46 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:1818:23: warning: static property 'erc1633ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1816 | /// TODO: - Make it right
1817 | /// Precoded ERC1633 contracts ABI. Output parameters are named for ease of use.
1818 | public static var erc1633ABI = """
| |- warning: static property 'erc1633ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1633ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1633ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1819 | [
1820 | {
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1633/Web3+ERC1633.swift:31:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | public let contract: Web3.Contract
30 |
31 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1633ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | self.web3 = web3
33 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3568:23: warning: static property 'erc1643ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3566 | /// TODO: - Need to add correct ABI for ERC1644
3567 | /// Precoded ERC1643 contracts ABI. Output parameters are named for ease of use.
3568 | public static var erc1643ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1643ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1643ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1643ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3569 |
3570 | public static var deedABI = """
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1643/Web3+ERC1643.swift:34:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | public let contract: Web3.Contract
33 |
34 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1643ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
35 | self.web3 = web3
36 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
[310/312] Compiling web3swift Web3+ERC1594.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:73:23: warning: static property 'erc1376ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | /// TODO: - need to fix.
73 | public static var erc1376ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1376ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1376ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1376ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 | /// Precoded ERC20 contracts ABI. Output parameters are named for ease of use.
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1376/Web3+ERC1376.swift:79:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 | public let contract: Web3.Contract
78 |
79 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1376ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | self.web3 = web3
81 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3552:23: warning: static property 'erc1400ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3550 | /// TODO: - Need to add correct ABI for ERC1400
3551 | /// Precoded ERC1400 contracts ABI. Output parameters are named for ease of use.
3552 | public static var erc1400ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1400ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1400ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1400ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3553 |
3554 | /// TODO: - Need to add correct ABI for ERC1410
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1400/Web3+ERC1400.swift:76:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 | public let contract: Web3.Contract
75 |
76 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1400ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 | self.web3 = web3
78 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3556:23: warning: static property 'erc1410ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3554 | /// TODO: - Need to add correct ABI for ERC1410
3555 | /// Precoded ERC1410 contracts ABI. Output parameters are named for ease of use.
3556 | public static var erc1410ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1410ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1410ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1410ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3557 |
3558 | /// TODO: - Need to add correct ABI for ERC1594
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1410/Web3+ERC1410.swift:54:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 | public let contract: Web3.Contract
53 |
54 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1410ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | self.web3 = web3
56 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3560:23: warning: static property 'erc1594ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3558 | /// TODO: - Need to add correct ABI for ERC1594
3559 | /// Precoded ERC1594 contracts ABI. Output parameters are named for ease of use.
3560 | public static var erc1594ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1594ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1594ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1594ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3561 |
3562 | /// TODO: - Need to add correct ABI for ERC1644
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1594/Web3+ERC1594.swift:44:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | public let contract: Web3.Contract
43 |
44 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1594ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 | self.web3 = web3
46 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:1818:23: warning: static property 'erc1633ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1816 | /// TODO: - Make it right
1817 | /// Precoded ERC1633 contracts ABI. Output parameters are named for ease of use.
1818 | public static var erc1633ABI = """
| |- warning: static property 'erc1633ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1633ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1633ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1819 | [
1820 | {
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1633/Web3+ERC1633.swift:31:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | public let contract: Web3.Contract
30 |
31 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1633ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | self.web3 = web3
33 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3568:23: warning: static property 'erc1643ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3566 | /// TODO: - Need to add correct ABI for ERC1644
3567 | /// Precoded ERC1643 contracts ABI. Output parameters are named for ease of use.
3568 | public static var erc1643ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1643ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1643ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1643ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3569 |
3570 | public static var deedABI = """
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1643/Web3+ERC1643.swift:34:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | public let contract: Web3.Contract
33 |
34 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1643ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
35 | self.web3 = web3
36 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
[311/312] Compiling web3swift Web3+ERC1633.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:73:23: warning: static property 'erc1376ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | /// TODO: - need to fix.
73 | public static var erc1376ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1376ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1376ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1376ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 | /// Precoded ERC20 contracts ABI. Output parameters are named for ease of use.
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1376/Web3+ERC1376.swift:79:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 | public let contract: Web3.Contract
78 |
79 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1376ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | self.web3 = web3
81 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3552:23: warning: static property 'erc1400ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3550 | /// TODO: - Need to add correct ABI for ERC1400
3551 | /// Precoded ERC1400 contracts ABI. Output parameters are named for ease of use.
3552 | public static var erc1400ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1400ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1400ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1400ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3553 |
3554 | /// TODO: - Need to add correct ABI for ERC1410
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1400/Web3+ERC1400.swift:76:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 | public let contract: Web3.Contract
75 |
76 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1400ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 | self.web3 = web3
78 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3556:23: warning: static property 'erc1410ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3554 | /// TODO: - Need to add correct ABI for ERC1410
3555 | /// Precoded ERC1410 contracts ABI. Output parameters are named for ease of use.
3556 | public static var erc1410ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1410ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1410ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1410ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3557 |
3558 | /// TODO: - Need to add correct ABI for ERC1594
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1410/Web3+ERC1410.swift:54:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 | public let contract: Web3.Contract
53 |
54 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1410ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | self.web3 = web3
56 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3560:23: warning: static property 'erc1594ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3558 | /// TODO: - Need to add correct ABI for ERC1594
3559 | /// Precoded ERC1594 contracts ABI. Output parameters are named for ease of use.
3560 | public static var erc1594ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1594ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1594ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1594ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3561 |
3562 | /// TODO: - Need to add correct ABI for ERC1644
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1594/Web3+ERC1594.swift:44:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | public let contract: Web3.Contract
43 |
44 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1594ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 | self.web3 = web3
46 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:1818:23: warning: static property 'erc1633ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1816 | /// TODO: - Make it right
1817 | /// Precoded ERC1633 contracts ABI. Output parameters are named for ease of use.
1818 | public static var erc1633ABI = """
| |- warning: static property 'erc1633ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1633ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1633ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1819 | [
1820 | {
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1633/Web3+ERC1633.swift:31:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | public let contract: Web3.Contract
30 |
31 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1633ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | self.web3 = web3
33 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3568:23: warning: static property 'erc1643ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3566 | /// TODO: - Need to add correct ABI for ERC1644
3567 | /// Precoded ERC1643 contracts ABI. Output parameters are named for ease of use.
3568 | public static var erc1643ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1643ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1643ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1643ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3569 |
3570 | public static var deedABI = """
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1643/Web3+ERC1643.swift:34:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | public let contract: Web3.Contract
33 |
34 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1643ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
35 | self.web3 = web3
36 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
[312/312] Compiling web3swift Web3+ERC1643.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:73:23: warning: static property 'erc1376ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | /// TODO: - need to fix.
73 | public static var erc1376ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1376ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1376ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1376ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 | /// Precoded ERC20 contracts ABI. Output parameters are named for ease of use.
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1376/Web3+ERC1376.swift:79:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 | public let contract: Web3.Contract
78 |
79 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1376ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | self.web3 = web3
81 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3552:23: warning: static property 'erc1400ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3550 | /// TODO: - Need to add correct ABI for ERC1400
3551 | /// Precoded ERC1400 contracts ABI. Output parameters are named for ease of use.
3552 | public static var erc1400ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1400ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1400ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1400ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3553 |
3554 | /// TODO: - Need to add correct ABI for ERC1410
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1400/Web3+ERC1400.swift:76:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 | public let contract: Web3.Contract
75 |
76 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1400ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 | self.web3 = web3
78 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3556:23: warning: static property 'erc1410ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3554 | /// TODO: - Need to add correct ABI for ERC1410
3555 | /// Precoded ERC1410 contracts ABI. Output parameters are named for ease of use.
3556 | public static var erc1410ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1410ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1410ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1410ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3557 |
3558 | /// TODO: - Need to add correct ABI for ERC1594
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1410/Web3+ERC1410.swift:54:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 | public let contract: Web3.Contract
53 |
54 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1410ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | self.web3 = web3
56 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3560:23: warning: static property 'erc1594ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3558 | /// TODO: - Need to add correct ABI for ERC1594
3559 | /// Precoded ERC1594 contracts ABI. Output parameters are named for ease of use.
3560 | public static var erc1594ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1594ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1594ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1594ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3561 |
3562 | /// TODO: - Need to add correct ABI for ERC1644
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1594/Web3+ERC1594.swift:44:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | public let contract: Web3.Contract
43 |
44 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1594ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 | self.web3 = web3
46 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:1818:23: warning: static property 'erc1633ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1816 | /// TODO: - Make it right
1817 | /// Precoded ERC1633 contracts ABI. Output parameters are named for ease of use.
1818 | public static var erc1633ABI = """
| |- warning: static property 'erc1633ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1633ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1633ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1819 | [
1820 | {
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1633/Web3+ERC1633.swift:31:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | public let contract: Web3.Contract
30 |
31 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1633ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | self.web3 = web3
33 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Web3/Web3+Utils.swift:3568:23: warning: static property 'erc1643ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3566 | /// TODO: - Need to add correct ABI for ERC1644
3567 | /// Precoded ERC1643 contracts ABI. Output parameters are named for ease of use.
3568 | public static var erc1643ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialAmount\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"}],\"type\":\"constructor\"},{\"payable\":false,\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},]"
| |- warning: static property 'erc1643ABI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'erc1643ABI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'erc1643ABI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3569 |
3570 | public static var deedABI = """
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC1643/Web3+ERC1643.swift:34:151: warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | public let contract: Web3.Contract
33 |
34 | public init(web3: Web3, provider: Web3Provider, address: EthereumAddress, abi: String = Web3.Utils.erc1643ABI, transaction: CodableTransaction = .emptyTransaction) {
| `- warning: reference to static property 'emptyTransaction' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
35 | self.web3 = web3
36 | self.provider = provider
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift:191:23: note: static property declared here
189 | }
190 |
191 | public static var emptyTransaction = CodableTransaction(to: EthereumAddress.contractDeploymentAddress())
| `- note: static property declared here
192 | }
193 |
Build complete! (45.04s)
Build complete.
{
"dependencies" : [
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "5.4.0",
"upper_bound" : "5.5.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BigInt.git"
},
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
},
{
"identity" : "secp256k1.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.10.0",
"upper_bound" : "0.11.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/GigaBitcoin/secp256k1.swift"
}
],
"manifest_display_name" : "Web3swift",
"name" : "Web3swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "web3swift",
"targets" : [
"web3swift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "web3swift",
"module_type" : "SwiftTarget",
"name" : "web3swift",
"path" : "Sources/web3swift",
"product_dependencies" : [
"BigInt",
"secp256k1"
],
"product_memberships" : [
"web3swift"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/browser.js",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/browser.min.js",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/wk.bridge.min.js",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Browser/Bridge.swift",
"EthereumAPICalls/Ethereum/IEth+Defaults.swift",
"EthereumAPICalls/Ethereum/IEth.swift",
"EthereumAPICalls/Personal/Personal+CreateAccount.swift",
"EthereumAPICalls/Personal/Personal+Sign.swift",
"EthereumAPICalls/Personal/Personal+UnlockAccount.swift",
"EthereumAPICalls/TxPool.swift",
"HookedFunctions/Web3+BrowserFunctions.swift",
"HookedFunctions/Web3+Wallet.swift",
"Operations/ReadOperation.swift",
"Operations/WriteOperation.swift",
"Tokens/ERC1155/Web3+ERC1155.swift",
"Tokens/ERC1376/Web3+ERC1376.swift",
"Tokens/ERC1400/Web3+ERC1400.swift",
"Tokens/ERC1410/Web3+ERC1410.swift",
"Tokens/ERC1594/Web3+ERC1594.swift",
"Tokens/ERC1633/Web3+ERC1633.swift",
"Tokens/ERC1643/Web3+ERC1643.swift",
"Tokens/ERC1644/Web3+ERC1644.swift",
"Tokens/ERC165/Web3+ERC165.swift",
"Tokens/ERC20/ERC20BaseProperties.swift",
"Tokens/ERC20/ERC20BasePropertiesProvider.swift",
"Tokens/ERC20/Web3+ERC20.swift",
"Tokens/ERC721/Web3+ERC721.swift",
"Tokens/ERC721x/Web3+ERC721x.swift",
"Tokens/ERC777/Web3+ERC777.swift",
"Tokens/ERC820/Web3+ERC820.swift",
"Tokens/ERC888/Web3+ERC888.swift",
"Tokens/ST20/Web3+ST20.swift",
"Tokens/ST20/Web3+SecurityToken.swift",
"Transaction/TransactionPollingTask.swift",
"Utils/EIP/EIP4361.swift",
"Utils/EIP/EIP67Code.swift",
"Utils/EIP/EIP681.swift",
"Utils/EIP/EIP712/EIP712.swift",
"Utils/EIP/EIP712/EIP712Parser.swift",
"Utils/ENS/ENS.swift",
"Utils/ENS/ENSBaseRegistrar.swift",
"Utils/ENS/ENSRegistry.swift",
"Utils/ENS/ENSResolver.swift",
"Utils/ENS/ENSReverseRegistrar.swift",
"Utils/ENS/ETHRegistrarController.swift",
"Utils/ENS/NameHash.swift",
"Utils/ENS/PublicKey.swift",
"Utils/Extensions/Data+Extension.swift",
"Utils/Extensions/String+Extension.swift",
"Web3/Web3+Constants.swift",
"Web3/Web3+Contract.swift",
"Web3/Web3+EIP1559.swift",
"Web3/Web3+EventParser.swift",
"Web3/Web3+Eventloop.swift",
"Web3/Web3+HttpProvider.swift",
"Web3/Web3+InfuraProviders.swift",
"Web3/Web3+Instance.swift",
"Web3/Web3+Personal.swift",
"Web3/Web3+Resolver.swift",
"Web3/Web3+Signing.swift",
"Web3/Web3+Utils.swift",
"Web3/Web3.swift"
],
"target_dependencies" : [
"Web3Core"
],
"type" : "library"
},
{
"c99name" : "remoteTests",
"module_type" : "SwiftTarget",
"name" : "remoteTests",
"path" : "Tests/web3swiftTests/remoteTests",
"sources" : [
"DecodeRemoteErrorTests.swift",
"EIP1559Tests.swift",
"ENSTests.swift",
"EtherscanTransactionCheckerTests.swift",
"EventFilterTests.swift",
"GasOracleTests.swift",
"InfuraTests.swift",
"PolicyResolverTests.swift",
"RemoteParsingTests.swift",
"TransactionPollingTaskRemoteTest.swift",
"Web3HttpProviderTests.swift"
],
"target_dependencies" : [
"web3swift"
],
"type" : "test"
},
{
"c99name" : "localTests",
"module_type" : "SwiftTarget",
"name" : "localTests",
"path" : "Tests/web3swiftTests/localTests",
"sources" : [
"ABIDecoderSliceTests.swift",
"ABIElementErrorDecodingTest.swift",
"ABIElementsTests.swift",
"ABIEncoderTest.swift",
"AdvancedABIv2Tests.swift",
"BIP32KeystoreTests.swift",
"BIP32MnemonicPhraseStringArrayTests.swift",
"BIP32MnemonicPhraseStringTests.swift",
"BIP39Tests.swift",
"BIP44Tests.swift",
"BasicLocalNodeTests.swift",
"DataConversionTests.swift",
"DecodeSolidityErrorType.swift",
"EIP1559BlockTests.swift",
"EIP4361Test.swift",
"EIP67Tests.swift",
"EIP681Tests.swift",
"EIP712TestData.swift",
"EIP712Tests.swift",
"EIP712TypedDataPayloadTests.swift",
"ERC20ClassTests.swift",
"ERC20Tests.swift",
"EthereumAddressTest.swift",
"EthereumContractTest.swift",
"EventTests.swift",
"EventloopTests.swift",
"HDversionTest.swift",
"KeystoresTests.swift",
"LocalTestCase.swift",
"Mocks.swift",
"NSRegularExpressionTest.swift",
"NumberFormattingUtilTests.swift",
"PersonalSignatureTests.swift",
"PromisesTests.swift",
"RLPTests.swift",
"ST20AndSecurityTokenTests.swift",
"String+ExtensionTests.swift.swift",
"StringBIP44Tests.swift",
"TestHelpers.swift",
"TransactionPollingTaskTest.swift",
"TransactionReceiptTests.swift",
"TransactionsTests.swift",
"UncategorizedTests.swift",
"UserCases.swift",
"UtilitiesTests.swift",
"Web3ErrorTests.swift"
],
"target_dependencies" : [
"web3swift"
],
"type" : "test"
},
{
"c99name" : "Web3Core",
"module_type" : "SwiftTarget",
"name" : "Web3Core",
"path" : "Sources/Web3Core",
"product_dependencies" : [
"BigInt",
"secp256k1",
"CryptoSwift"
],
"product_memberships" : [
"web3swift"
],
"sources" : [
"Contract/ContractProtocol.swift",
"Contract/EthereumContract.swift",
"EthereumABI/ABI.swift",
"EthereumABI/ABIDecoding.swift",
"EthereumABI/ABIElements.swift",
"EthereumABI/ABIEncoding.swift",
"EthereumABI/ABIError.swift",
"EthereumABI/ABIParameterTypes.swift",
"EthereumABI/ABIParsing.swift",
"EthereumABI/ABITypeParser.swift",
"EthereumABI/Sequence+ABIExtension.swift",
"EthereumAddress/EthereumAddress.swift",
"EthereumNetwork/Request/APIRequest+ComputedProperties.swift",
"EthereumNetwork/Request/APIRequest+Methods.swift",
"EthereumNetwork/Request/APIRequest+UtilityTypes.swift",
"EthereumNetwork/Request/APIRequest.swift",
"EthereumNetwork/RequestParameter/APIRequestParameterType.swift",
"EthereumNetwork/RequestParameter/RequestParameter+Encodable.swift",
"EthereumNetwork/RequestParameter/RequestParameter+RawRepresentable.swift",
"EthereumNetwork/RequestParameter/RequestParameter.swift",
"EthereumNetwork/Utility/Async+BackwardCapability.swift",
"EthereumNetwork/Utility/HexDecodable+Extensions.swift",
"EthereumNetwork/Utility/HexDecodableProtocols.swift",
"EthereumNetwork/Utility/IntegerInitableWithRadix.swift",
"KeystoreManager/AbstractKeystore.swift",
"KeystoreManager/BIP32HDNode.swift",
"KeystoreManager/BIP32Keystore.swift",
"KeystoreManager/BIP39+WordLists.swift",
"KeystoreManager/BIP39.swift",
"KeystoreManager/BIP44.swift",
"KeystoreManager/EthereumKeystoreV3.swift",
"KeystoreManager/EtherscanTransactionChecker.swift",
"KeystoreManager/IBAN.swift",
"KeystoreManager/KeystoreManager.swift",
"KeystoreManager/KeystoreParams.swift",
"KeystoreManager/PathAddressStorage.swift",
"KeystoreManager/PlainKeystore.swift",
"Oracle/GasOracle.swift",
"RLP/RLP.swift",
"Structure/Base58.swift",
"Structure/Block/Block.swift",
"Structure/Block/BlockNumber.swift",
"Structure/Event+Protocol.swift",
"Structure/EventLog/EventLog.swift",
"Structure/SECP256k1.swift",
"Structure/Transaction/TransactionDetails.swift",
"Structure/Transaction/TransactionInBlock.swift",
"Structure/Transaction/TransactionReceipt.swift",
"Structure/TxPool/TxPoolContent.swift",
"Structure/TxPool/TxPoolStatus.swift",
"Structure/Web3ProviderProtocol.swift",
"Transaction/CodableTransaction.swift",
"Transaction/Envelope/AbstractEnvelope.swift",
"Transaction/Envelope/EIP1559Envelope.swift",
"Transaction/Envelope/EIP2718Envelope.swift",
"Transaction/Envelope/EIP2930Envelope.swift",
"Transaction/Envelope/EnvelopeFactory.swift",
"Transaction/Envelope/LegacyEnvelope.swift",
"Transaction/Envelope/Protocols/EIP2930Compatible.swift",
"Transaction/EthereumBloomFilter.swift",
"Transaction/EventfilterParameters.swift",
"Transaction/Policies.swift",
"Transaction/TransactionMetadata.swift",
"Utility/Array+Extension.swift",
"Utility/BigUInt+Extension.swift",
"Utility/CryptoExtension.swift",
"Utility/Data+Extension.swift",
"Utility/Decodable+Extensions.swift",
"Utility/Dictionary+Extension.swift",
"Utility/Encodable+Extensions.swift",
"Utility/NSRegularExpression+Extension.swift",
"Utility/NativeTypesEncoding+Extension.swift",
"Utility/RIPEMD160+StackOveflow.swift",
"Utility/String+Extension.swift",
"Utility/Utilities.swift",
"Web3Error/Web3Error.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.