Files
zeekay 0c2f028a8c Generate the Swift client, which this copy did not carry
The forge tree held the package scaffolding and none of the generated sources —
2,435 files of APIs, Models and Infrastructure, including BaseAPI, were simply
absent, so anything depending on this copy had a package that compiled to
nothing usable.

Generated from the current API document rather than reconciled with the other
copy: a client is a function of the spec, so regenerating answers "which history
wins" without anyone having to choose. .spec-lock records which document, so the
next reader can tell.
2026-08-23 10:04:41 -07:00

51 lines
1.7 KiB
Swift

//
// SafeProposal.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct SafeProposal: Sendable, Codable, ParameterConvertible, Hashable {
/** R is the r component of the MPC threshold signature over the Safe-tx hash. */
public var r: String?
/** S is the s component of that signature. */
public var s: String?
/** SafeAddress is the Safe contract this transaction is for. */
public var safeAddress: String?
/** SafeTxHash is the EIP-712 Safe transaction hash, bound to the Safe contract and the chain id — the value the owner approval signs. */
public var safeTxHash: String?
/** WalletID is the wallet whose Safe this is. */
public var walletId: String?
public init(r: String? = nil, s: String? = nil, safeAddress: String? = nil, safeTxHash: String? = nil, walletId: String? = nil) {
self.r = r
self.s = s
self.safeAddress = safeAddress
self.safeTxHash = safeTxHash
self.walletId = walletId
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case r
case s
case safeAddress
case safeTxHash
case walletId
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(r, forKey: .r)
try container.encodeIfPresent(s, forKey: .s)
try container.encodeIfPresent(safeAddress, forKey: .safeAddress)
try container.encodeIfPresent(safeTxHash, forKey: .safeTxHash)
try container.encodeIfPresent(walletId, forKey: .walletId)
}
}