Skip to content

Commit ecf3b36

Browse files
committed
Hyperlane interchain gas payments
1 parent 1962e3a commit ecf3b36

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

components/modals/HyperlaneTransferModal.vue

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,27 @@ const handleNavigate = (target) => {
8989
</Flex>
9090
</Flex>
9191

92+
<Flex v-if="transfer.gas_payment?.amount" direction="column" gap="8" wide :class="$style.card">
93+
<Text size="12" weight="600" color="secondary">Interchain Gas Payments</Text>
94+
95+
<Flex align="center" gap="48">
96+
<Text size="12" weight="600" color="tertiary">Fee</Text>
97+
98+
<Text size="12" weight="600" color="primary" mono>
99+
{{ comma(transfer.gas_payment?.amount) }}
100+
<Text color="tertiary"> utia </Text>
101+
</Text>
102+
</Flex>
103+
104+
<Flex align="center" gap="14">
105+
<Text size="12" weight="600" color="tertiary">Gas Limit</Text>
106+
107+
<Text size="12" weight="600" color="primary" mono>
108+
{{ comma(transfer.gas_payment?.gas_amount) }}
109+
</Text>
110+
</Flex>
111+
</Flex>
112+
92113
<Flex wide direction="column" gap="16" :class="$style.card">
93114
<Text size="12" weight="600" color="secondary">Details</Text>
94115

@@ -144,15 +165,6 @@ const handleNavigate = (target) => {
144165
</Flex>
145166
</Flex>
146167

147-
<Flex v-if="transfer.gas_payment?.amount" align="center" justify="between">
148-
<Text size="12" weight="600" color="tertiary">Gas Used</Text>
149-
150-
<Text size="12" weight="600" color="primary" mono>
151-
{{ comma(transfer.gas_payment?.amount) }}
152-
<Text color="tertiary"> utia </Text>
153-
</Text>
154-
</Flex>
155-
156168
<Flex align="center" justify="between">
157169
<Text size="12" weight="600" color="tertiary">Mailbox</Text>
158170

0 commit comments

Comments
 (0)