@@ -102,3 +102,170 @@ export const zetaChainCCTX: ZetaChainCCTXResponse = {
102102 } ,
103103 ] ,
104104} ;
105+
106+ export const zetaChainCCTXFailed : ZetaChainCCTXResponse = {
107+ creator : 'zeta18pksjzclks34qkqyaahf2rakss80mnusju77cm' ,
108+ index : '0x004d60b58cbbead6ddc0a100e17b88484f72e4f47b10c4b560a41cadd3315c4c' ,
109+ zeta_fees : '0' ,
110+ // eslint-disable-next-line max-len
111+ relayed_message : '00000000000000000000000000000000000000000000000000000000000000400000000000000000000000006b513b40ebc0b4d7b197730476ed3324346f28220000000000000000000000000000000000000000000000000000000000000014dcbfa87533a478743b3f507e76170ea6f26fa69a000000000000000000000000' ,
112+ cctx_status_reduced : 'FAILED' ,
113+ token_symbol : 'UPKRW.SEPOLIA' ,
114+ token_name : 'ZetaChain ZRC20 UPKRW on Sepolia' ,
115+ zrc20_contract_address : '0xA614Aebf7924A3Eb4D066aDCA5595E4980407f1d' ,
116+ icon_url : null ,
117+ decimals : 6 ,
118+ cctx_status : {
119+ status : 'REVERTED' ,
120+ status_message : '' ,
121+ // eslint-disable-next-line max-len
122+ error_message : '{"type":"contract_call_error","message":"contract call failed when calling EVM with data","error":"execution reverted: ret 0x: evm transaction execution failed","method":"depositAndCall0","contract":"0x6c533f7fE93fAE114d0954697069Df33C9B74fD7","args":"[{[220 191 168 117 51 164 120 116 59 63 80 126 118 23 14 166 242 111 166 154] 0xDCbFA87533A478743B3f507e76170eA6F26FA69a 43113} 0xE8d7796535F1cd63F0fe8D631E68eACe6839869B 10000000 0xDCbFA87533A478743B3f507e76170eA6F26FA69a [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 64 0 0 0 0 0 0 0 0 0 0 0 0 107 81 59 64 235 192 180 215 177 151 115 4 118 237 51 36 52 111 40 34 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20 220 191 168 117 51 164 120 116 59 63 80 126 118 23 14 166 242 111 166 154 0 0 0 0 0 0 0 0 0 0 0 0]]"}' ,
123+ last_update_timestamp : '1756174106' ,
124+ is_abort_refunded : false ,
125+ created_timestamp : '1756173994' ,
126+ error_message_revert : '' ,
127+ error_message_abort : '' ,
128+ status_reduced : 'FAILED' ,
129+ } ,
130+ inbound_params : {
131+ sender : '0xDCbFA87533A478743B3f507e76170eA6F26FA69a' ,
132+ sender_chain_id : 43113 ,
133+ tx_origin : '0xDCbFA87533A478743B3f507e76170eA6F26FA69a' ,
134+ coin_type : 'ERC20' ,
135+ asset : '0x6B513B40eBc0B4D7B197730476ed3324346F2822' ,
136+ amount : '10000000' ,
137+ observed_hash : '0x8ecc5913b637b2756258e8155e2b22dc5afa820698163c1627d372e187e6e65b' ,
138+ observed_external_height : '45237981' ,
139+ ballot_index : '0x004d60b58cbbead6ddc0a100e17b88484f72e4f47b10c4b560a41cadd3315c4c' ,
140+ finalized_zeta_height : '12324831' ,
141+ tx_finalization_status : 'EXECUTED' ,
142+ is_cross_chain_call : true ,
143+ status : 'SUCCESS' ,
144+ confirmation_mode : 'SAFE' ,
145+ } ,
146+ outbound_params : [
147+ {
148+ receiver : '0xDCbFA87533A478743B3f507e76170eA6F26FA69a' ,
149+ receiver_chain_id : 7001 ,
150+ coin_type : 'ERC20' ,
151+ amount : '0' ,
152+ tss_nonce : '0' ,
153+ gas_limit : '0' ,
154+ gas_price : '' ,
155+ gas_priority_fee : '' ,
156+ hash : '0x3c426a57742fb55338fbb79318298cc18ca1778ba83196993548921badbe40bb' ,
157+ ballot_index : '' ,
158+ observed_external_height : '12324831' ,
159+ gas_used : '0' ,
160+ effective_gas_price : '0' ,
161+ effective_gas_limit : '0' ,
162+ tss_pubkey : 'zetapub1addwnpepq28c57cvcs0a2htsem5zxr6qnlvq9mzhmm76z3jncsnzz32rclangr2g35p' ,
163+ tx_finalization_status : 'EXECUTED' ,
164+ call_options : {
165+ gas_limit : '1500000' ,
166+ is_arbitrary_call : false ,
167+ } ,
168+ confirmation_mode : 'SAFE' ,
169+ } ,
170+ {
171+ receiver : '0xDCbFA87533A478743B3f507e76170eA6F26FA69a' ,
172+ receiver_chain_id : 43113 ,
173+ coin_type : 'ERC20' ,
174+ amount : '9999999' ,
175+ tss_nonce : '842' ,
176+ gas_limit : '0' ,
177+ gas_price : '2' ,
178+ gas_priority_fee : '0' ,
179+ hash : '0xa17a2ecf87ac2527f49751d487ef20cb44de8965a6bc3817cd188705744a2041' ,
180+ ballot_index : '' ,
181+ observed_external_height : '0' ,
182+ gas_used : '61955' ,
183+ effective_gas_price : '2' ,
184+ effective_gas_limit : '100000' ,
185+ tss_pubkey : 'zetapub1addwnpepq28c57cvcs0a2htsem5zxr6qnlvq9mzhmm76z3jncsnzz32rclangr2g35p' ,
186+ tx_finalization_status : 'EXECUTED' ,
187+ call_options : {
188+ gas_limit : '21000' ,
189+ is_arbitrary_call : false ,
190+ } ,
191+ confirmation_mode : 'SAFE' ,
192+ } ,
193+ ] ,
194+ protocol_contract_version : 'V2' ,
195+ revert_options : {
196+ revert_address : '0x0000000000000000000000000000000000000000' ,
197+ call_on_revert : false ,
198+ abort_address : '0x0000000000000000000000000000000000000000' ,
199+ revert_message : '' ,
200+ revert_gas_limit : '0' ,
201+ } ,
202+ related_cctxs : [
203+ {
204+ index : '0x004d60b58cbbead6ddc0a100e17b88484f72e4f47b10c4b560a41cadd3315c4c' ,
205+ depth : 0 ,
206+ source_chain_id : 43113 ,
207+ status : 'REVERTED' ,
208+ status_reduced : 'FAILED' ,
209+ inbound_amount : '10000000' ,
210+ inbound_coin_type : 'ERC20' ,
211+ outbound_params : [
212+ {
213+ amount : '0' ,
214+ chain_id : 7001 ,
215+ coin_type : 'ERC20' ,
216+ gas_used : '0' ,
217+ } ,
218+ {
219+ amount : '9999999' ,
220+ chain_id : 43113 ,
221+ coin_type : 'ERC20' ,
222+ gas_used : '61955' ,
223+ } ,
224+ ] ,
225+ token_symbol : 'UPKRW.SEPOLIA' ,
226+ token_name : 'ZetaChain ZRC20 UPKRW on Sepolia' ,
227+ token_decimals : 6 ,
228+ token_zrc20_contract_address : '0xA614Aebf7924A3Eb4D066aDCA5595E4980407f1d' ,
229+ token_icon_url : null ,
230+ created_timestamp : '1756173994' ,
231+ } ,
232+ ] ,
233+ } ;
234+
235+ export const zetaChainCCTXPending : ZetaChainCCTXResponse = {
236+ ...zetaChainCCTX ,
237+ index : '0x5f5f7410d7dfefe6173cc11efa47221e85587d3831c69108121198e0b2a86661' ,
238+ cctx_status_reduced : 'PENDING' ,
239+ cctx_status : {
240+ ...zetaChainCCTX . cctx_status ,
241+ status : 'PENDING_INBOUND' ,
242+ status_message : 'Waiting for inbound confirmation' ,
243+ status_reduced : 'PENDING' ,
244+ } ,
245+ outbound_params : [ ] ,
246+ } ;
247+
248+ export const zetaChainCCTXList = {
249+ items : [
250+ zetaChainCCTXItem ,
251+ {
252+ ...zetaChainCCTXItem ,
253+ index : '0x2d2e7410d7dfefe6173cc11efa47221e85587d3831c69108121198e0b2a86658' ,
254+ status : 'OUTBOUND_MINED' as const ,
255+ status_reduced : 'SUCCESS' as const ,
256+ amount : '500000000000000000' ,
257+ sender_address : '0x1234567890123456789012345678901234567890' ,
258+ receiver_address : '0xabcdefabcdefabcdefabcdefabcdefabcdefabcd' ,
259+ } ,
260+ {
261+ ...zetaChainCCTXItem ,
262+ index : '0x3f3f7410d7dfefe6173cc11efa47221e85587d3831c69108121198e0b2a86659' ,
263+ status : 'PENDING_INBOUND' as const ,
264+ status_reduced : 'PENDING' as const ,
265+ amount : '750000000000000000' ,
266+ sender_address : '0xabcdefabcdefabcdefabcdefabcdefabcdefabcd' ,
267+ receiver_address : '0x9876543210987654321098765432109876543210' ,
268+ } ,
269+ ] ,
270+ next_page_params : { page_index : 1 , offset : 50 , direction : 'DESC' as const } ,
271+ } ;
0 commit comments