Files
5c1fc90eec gh-2932 Execute tx via relayer (#2986)
* gh-2932 Add relay clock icon

* gh-2932 Disable owner cleanup for security v2

* gh-2932 Add payment method selection cell

* gh-2932 Add label cell

* gh-2932 Adjust review execution cell structure

* gh-2932 Add tx payment method enum

* gh-2932 Get remaining relays and show payment method

* gh-2936 Adjust background

* gh-2932 Adjust validation

* gh-2932 Fix background

* gh-2932 Refactor

* gh-2932 Add payment method selection vc

* gh-2932 Relay transaction

* gh-2932 Adjust relay info banner

* gh-2932 Adjust banner and payment method cell

* gh-2932 Rearrange payment info cells

* gh-2932 WIP: payment method selection dialog

* gh-2932 Fetch remaining relays on tx details screen

* gh-2932 Add one signature and log response

* gh-2932 Add all signatures. Log taskId

* gh-2932 Switch payment method to EOA when remaining relays exhausted

* gh-2932 Fixes:
- Autoselection of EOA if no remaininf relayer txs left
- Sign EOA executed txs
- Execute via EOA if no relayer executions left

* gh-2932 Remove labelcell

* gh-2932 Remove cruft and move stuff around

* gh-2932 Added remaining tracking events. But not emitting them, yet

* gh-2932 separator -> background & cruft removed

* gh-2932 Remove more cruft

* gh-2932 formatting

* gh-2932 Everything leads to insufficient balancex

---------

Co-authored-by: Dirk Jäckel <[email protected]>
2023-03-28 22:59:06 +02:00

106 lines
9.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_12" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="RelayInfoBanner" customModule="Multisig" customModuleProvider="target">
<connections>
<outlet property="bannerButton" destination="jK4-zS-tbP" id="Nq7-og-T5I"/>
<outlet property="closeButton" destination="EIs-6m-8yT" id="Ahc-Ud-Tcq"/>
<outlet property="messageLabel" destination="Vt4-lZ-nze" id="Up2-fa-nik"/>
<outlet property="titleLabel" destination="eW2-IY-db5" id="3Wa-d1-qAd"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clipsSubviews="YES" contentMode="scaleToFill" id="iN0-l3-epB">
<rect key="frame" x="0.0" y="0.0" width="475" height="111"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="bkg-claiming-banner" translatesAutoresizingMaskIntoConstraints="NO" id="zjf-jW-TM6">
<rect key="frame" x="0.0" y="0.0" width="475" height="111"/>
</imageView>
<stackView opaque="NO" contentMode="scaleToFill" spacing="16" translatesAutoresizingMaskIntoConstraints="NO" id="Jy3-6B-dCe">
<rect key="frame" x="16" y="16" width="405" height="79"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="top" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ico-relayer-gas" translatesAutoresizingMaskIntoConstraints="NO" id="SMQ-hg-tRf">
<rect key="frame" x="0.0" y="0.0" width="32" height="79"/>
<constraints>
<constraint firstAttribute="width" constant="32" id="7EG-ww-lpW"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="58" id="mWu-d8-aRT"/>
</constraints>
</imageView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="24" baselineRelativeArrangement="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Et2-ua-lwH">
<rect key="frame" x="48" y="0.0" width="357" height="79"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="749" text="Gas fees sponsored by Gnosis Chain" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eW2-IY-db5">
<rect key="frame" x="0.0" y="0.0" width="357" height="14"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="252" text="Transact without paying gas. 5 free transactions per hour courtesy of Gnosis Chain" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Vt4-lZ-nze">
<rect key="frame" x="0.0" y="18" width="357" height="61"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jK4-zS-tbP" userLabel="Banner Button">
<rect key="frame" x="0.0" y="0.0" width="475" height="111"/>
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
<connections>
<action selector="didTapBanner:" destination="-1" eventType="touchUpInside" id="hAp-Ub-eX2"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="EIs-6m-8yT">
<rect key="frame" x="429" y="16" width="30" height="30"/>
<constraints>
<constraint firstAttribute="width" constant="30" id="6qf-C6-9w2"/>
<constraint firstAttribute="height" constant="30" id="U2g-99-RcZ"/>
</constraints>
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
<state key="normal" image="ico-close"/>
<connections>
<action selector="didTapClose:" destination="-1" eventType="touchUpInside" id="ONJ-ae-Yl4"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="zjf-jW-TM6" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="6GQ-2D-6si"/>
<constraint firstAttribute="trailing" secondItem="EIs-6m-8yT" secondAttribute="trailing" constant="16" id="6WX-Cz-N1i"/>
<constraint firstItem="jK4-zS-tbP" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="JB6-GF-mcN"/>
<constraint firstAttribute="bottom" secondItem="Jy3-6B-dCe" secondAttribute="bottom" constant="16" id="KqV-Uh-roo"/>
<constraint firstAttribute="trailing" secondItem="zjf-jW-TM6" secondAttribute="trailing" id="MVC-gi-l0n"/>
<constraint firstItem="EIs-6m-8yT" firstAttribute="leading" secondItem="Et2-ua-lwH" secondAttribute="trailing" constant="8" id="OvU-7n-mxa"/>
<constraint firstAttribute="bottom" secondItem="jK4-zS-tbP" secondAttribute="bottom" id="Rvt-Ie-R47"/>
<constraint firstItem="jK4-zS-tbP" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="YZg-Wu-eX7"/>
<constraint firstAttribute="trailing" secondItem="jK4-zS-tbP" secondAttribute="trailing" id="bSf-Oy-q1T"/>
<constraint firstItem="zjf-jW-TM6" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="cTI-mz-QTG"/>
<constraint firstItem="Jy3-6B-dCe" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="16" id="cac-u1-H47"/>
<constraint firstItem="Jy3-6B-dCe" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="16" id="eNa-Ua-cD4"/>
<constraint firstAttribute="bottom" secondItem="zjf-jW-TM6" secondAttribute="bottom" id="riv-0O-6cZ"/>
<constraint firstItem="EIs-6m-8yT" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="16" id="vKQ-yC-Z5H"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="191.6030534351145" y="-134.1549295774648"/>
</view>
</objects>
<resources>
<image name="bkg-claiming-banner" width="343" height="100"/>
<image name="ico-close" width="24" height="24"/>
<image name="ico-relayer-gas" width="32" height="32"/>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
</document>