From 3cf325dd57022819790ad4eb6474a6698aa0ca3b Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Mon, 9 Dec 2024 15:20:26 +0300 Subject: [PATCH 1/3] Gateway page improvements --- src/pages/developers/evm/gateway.mdx | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/pages/developers/evm/gateway.mdx b/src/pages/developers/evm/gateway.mdx index 0e90a150..19f19c05 100644 --- a/src/pages/developers/evm/gateway.mdx +++ b/src/pages/developers/evm/gateway.mdx @@ -1,6 +1,14 @@ Gateway is an interface that serves as a unified entry point for interactions between contracts on connected chains and universal apps on ZetaChain. + + ## Gateway on Connected Chains The gateway on connected chains (like Ethereum, Solana and Bitcoin) facilitates @@ -28,13 +36,18 @@ Gateway supports the following features: data passing) to a universal app - making a contract call (with arbitrary data passing) to a universal app -These features may vary depending on each specific connected chain. For example, -deposits from Bitcoin can only be made in native gas token (BTC). And deposits -from Solana can be made in SOL and (soon) SPL tokens. +[These features may vary](/developers/chains/functionality) depending on each +specific connected chain. For example, deposits from Bitcoin can only be made in +native gas token (BTC). And deposits from Solana can be made in SOL and (soon) +SPL tokens. Currently, only one asset can be deposited at a time to a universal app. Support for multi-asset deposits will be added in the future updates to the protocol. +Learn more about Gateway functionality on connected chains: +[EVM](/developers/chains/evm), [Solana](/developers/chains/solana), +[Bitcoin](/developers/chains/bitcoin). + ## Gateway on ZetaChain Gateway on ZetaChain facilitates outgoing transactions: calls and token @@ -50,3 +63,5 @@ Gateway supports the following features: Currently, only one asset can be withdrawn at a time from a universal app. Support for multi-asset withdrawals will be added in the future updates to the protocol. + +Learn more about [ZetaChain Gateway](/developers/chains/zetachain). From 7c51a66ca440db29b08ed1f4dae5542f82e2f9b9 Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Thu, 12 Dec 2024 16:19:50 +0300 Subject: [PATCH 2/3] revert handling --- src/pages/developers/evm/gateway.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pages/developers/evm/gateway.mdx b/src/pages/developers/evm/gateway.mdx index 19f19c05..e1cf1ada 100644 --- a/src/pages/developers/evm/gateway.mdx +++ b/src/pages/developers/evm/gateway.mdx @@ -65,3 +65,11 @@ Support for multi-asset withdrawals will be added in the future updates to the protocol. Learn more about [ZetaChain Gateway](/developers/chains/zetachain). + +## Revert Handling + +The Gateway supports handling reverts during cross-chain operations with +flexible refund mechanisms. If a Gateway call fails on the destination chain, +refunds can either be issued by calling a specified contract on the source chain +or sent directly to an externally owned account (EOA) without invoking any +contract. From 4552342f4d0e7b0a8da519e16c6e959d01339e6c Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Mon, 16 Dec 2024 18:07:42 +0300 Subject: [PATCH 3/3] update diagram --- src/pages/developers/evm/gateway.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/developers/evm/gateway.mdx b/src/pages/developers/evm/gateway.mdx index e1cf1ada..f7185856 100644 --- a/src/pages/developers/evm/gateway.mdx +++ b/src/pages/developers/evm/gateway.mdx @@ -5,7 +5,7 @@ between contracts on connected chains and universal apps on ZetaChain. style={{ border: "1px solid rgba(0,0,0,.1)", marginTop: "2rem", borderRadius: "0.5rem" }} width="800" height="450" - src="https://embed.figma.com/design/gE9v64xRNz36t0NKgOLQji/Untitled?node-id=0-141&embed-host=share" + src="https://embed.figma.com/design/mYXNTORUuvGVaQ01SF7h9Y/Untitled?node-id=0-1&embed-host=share" allowfullscreen >