1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1525],{61525:(e,a,t)=>{t.d(a,{CZ:()=>w,An:()=>r,tg:()=>s});var i=t(24371),d=t(37811);let s=(0,i.v)(e=>({activeFixture:null,forceEnabled:!1,setFixture:a=>e({activeFixture:a}),setForceEnabled:a=>e({forceEnabled:a})})),r=()=>"1"===d.env.NEXT_PUBLIC_DEV_FIXTURES||s.getState().forceEnabled,n=e=>new Date(Date.now()+60*e*1e3).toISOString(),p=e=>new Date(Date.now()-60*e*1e3).toISOString(),o=e=>Date.now()-60*e*1e3,c={orderId:"DEV_ETH_XMR",status:"awaiting_deposit",depositAddress:"0x742d35Cc6634C0532925a3b844Bc454e4438f44e",depositChain:"ETH",depositChainId:1,depositToken:"0x0000000000000000000000000000000000000000",depositTokenSymbol:"ETH",depositTokenDecimals:18,depositAmount:"1000000000000000000",depositAmountUsd:"3500.00",toChainId:0,toToken:"XMR",toTokenSymbol:"XMR",toTokenDecimals:12,toAddress:"44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A",expectedOutput:"15000000000000",outputAmountUsd:"3500.00",expiresAt:n(30),isXmrOutput:!0},l={orderId:"DEV_XMR_USDC",status:"awaiting_deposit",depositAddress:"44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A",depositChain:"Monero",depositChainId:0,depositToken:"XMR",depositTokenSymbol:"XMR",depositTokenDecimals:12,depositAmount:"5000000000000",depositAmountUsd:"1200.00",toChainId:42161,toToken:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",toTokenSymbol:"USDC",toTokenDecimals:6,toAddress:"0x742d35Cc6634C0532925a3b844Bc454e4438f44e",expectedOutput:"1195000000",outputAmountUsd:"1195.00",expiresAt:n(60),isXmrInput:!0},u={eligible:!0,accepted:null,seedHash:"27d4d95ea89cf4a1b3e6f2c4d1a9b8e7f3c2d1a9b8e7f3c2d1a9b8e73b46232b",clientSeed:"20cb887bef86d784"},b=[{kind:"swap",name:"swap-form",label:"Form (blank)",group:"Token â XMR",step:"input",currentOrder:null},{kind:"swap",name:"swap-awaiting-deposit-eth",label:"Awaiting ETH deposit",group:"Token â XMR",step:"awaiting_deposit",currentOrder:{...c,status:"awaiting_deposit"},depositInfo:{address:c.depositAddress,amount:c.depositAmount,decimals:18,symbol:"ETH"}},{kind:"swap",name:"swap-deposit-detected",label:"Deposit detected (confirming)",group:"Token â XMR",step:"processing",currentOrder:{...c,status:"deposit_detected",currentStep:"detecting_deposit",depositTxHash:"0xaaaa1111bbbb2222cccc3333dddd4444eeee5555ffff6666aaaa7777bbbb8888",confirmations:3,requiredConfirmations:12}},{kind:"swap",name:"swap-lifi-swap",label:"LI.FI swap in progress",group:"Token â XMR",step:"processing",currentOrder:{...c,status:"executing_swap",currentStep:"lifi_swap",depositTxHash:"0xaaaa1111bbbb2222cccc3333dddd4444eeee5555ffff6666aaaa7777bbbb8888",confirmations:12,requiredConfirmations:12,depositLifiScanUrl:"https://scan.li.fi/tx/0xaaaa1111"}},{kind:"swap",name:"swap-hl-depositing",label:"Bridging USDC to Hyperliquid",group:"Token â XMR",step:"processing",currentOrder:{...c,status:"processing",currentStep:"depositing_hl",xmrOutputStep:"depositing_hl",depositTxHash:"0xaaaa1111",swapTxHash:"0xbbbb2222",lifiScanUrl:"https://scan.li.fi/tx/0xbbbb2222"}},{kind:"swap",name:"swap-hl-buying",label:"Buying XMR1 on Hyperliquid",group:"Token â XMR",step:"processing",currentOrder:{...c,status:"swap_pending",currentStep:"swapping",xmrOutputStep:"bridging_in",depositTxHash:"0xaaaa1111",swapTxHash:"0xbbbb2222",hlFills:[{time:o(1),side:"Buy",price:232.4,size:15.04,value:3495.3,fee:1.05,feeToken:"USDC"}],hlTradeUrl:"https://app.wagyu.xyz/trade?market=XMR1/USDC"}},{kind:"swap",name:"swap-bridge-order",label:"Withdrawing XMR1 â XMR",group:"Token â XMR",step:"processing",currentOrder:{...c,status:"swap_pending",currentStep:"withdrawing_xmr",xmrOutputStep:"xmr1_transfer",depositTxHash:"0xaaaa1111",swapTxHash:"0xbbbb2222"}},{kind:"swap",name:"swap-completed",label:"Completed",group:"Token â XMR",step:"completed",currentOrder:{...c,status:"completed",currentStep:"completed",xmrOutputStep:"completed",depositTxHash:"0xaaaa1111",swapTxHash:"0xbbbb2222",receivingTxHash:"b1c2d3e4f5a67890abcdef1234567890abcdef1234567890abcdef1234567890",actualOutput:"14850000000000",completedAt:p(1),hasReview:!1,hlFills:[{time:o(4),side:"Buy",price:232.1,size:5.02,value:1165.14,fee:.35,feeToken:"USDC"},{time:o(3.5),side:"Buy",price:232.5,size:4.98,value:1157.85,fee:.35,feeToken:"USDC"},{time:o(3),side:"Buy",price:232.8,size:5,value:1164,fee:.35,feeToken:"USDC"}],hlTradeUrl:"https://app.wagyu.xyz/trade?market=XMR1/USDC"}},{kind:"swap",name:"swap-completed-twap",label:"Completed (TWAP, 10 fills)",group:"Token â XMR",step:"completed",currentOrder:{...c,orderId:"DEV_TWAP_DONE",depositAmount:"25000000000000000000",depositAmountUsd:"87500.00",status:"completed",currentStep:"completed",xmrOutputStep:"completed",depositTxHash:"0xaaaa1111",swapTxHash:"0xbbbb2222",receivingTxHash:"b1c2d3e4f5a67890abcdef1234567890abcdef1234567890abcdef1234567890",actualOutput:"375000000000000",completedAt:p(1),hasReview:!1,hlFills:[{time:o(30),side:"Buy",price:232.1,size:37.5,value:8703.75,fee:2.61,feeToken:"USDC"},{time:o(27),side:"Buy",price:232.55,size:37.6,value:8743.88,fee:2.62,feeToken:"USDC"},{time:o(24),side:"Buy",price:232.9,size:37.5,value:8733.75,fee:2.62,feeToken:"USDC"},{time:o(21),side:"Buy",price:233.4,size:37.7,value:8799.18,fee:2.64,feeToken:"USDC"},{time:o(18),side:"Buy",price:233.8,size:37.6,value:8790.88,fee:2.64,feeToken:"USDC"},{time:o(15),side:"Buy",price:233.2,size:37.5,value:8745,fee:2.62,feeToken:"USDC"},{time:o(12),side:"Buy",price:232.8,size:37.8,value:8799.84,fee:2.64,feeToken:"USDC"},{time:o(9),side:"Buy",price:232.3,size:37.5,value:8711.25,fee:2.61,feeToken:"USDC"},{time:o(6),side:"Buy",price:232.6,size:37.7,value:8769.02,fee:2.63,feeToken:"USDC"},{time:o(3),side:"Buy",price:232.95,size:37.6,value:8758.92,fee:2.63,feeToken:"USDC"}],hlTradeUrl:"https://app.wagyu.xyz/trade?market=XMR1/USDC"}},{kind:"swap",name:"swap-failed",label:"Failed (refund pending)",group:"Token â XMR",step:"processing",currentOrder:{...c,status:"failed",errorMessage:"LI.FI route failed after 3 retries",depositTxHash:"0xaaaa1111"}},{kind:"swap",name:"swap-expired",label:"Expired",group:"Token â XMR",step:"expired",currentOrder:{...c,status:"expired",expiresAt:p(10)}},{kind:"swap",name:"swap-refunding",label:"Refunding",group:"Token â XMR",step:"refunding",currentOrder:{...c,status:"refunded",depositTxHash:"0xaaaa1111",refundTxHash:"0xd
1ddd4444",refundChainId:1}},{kind:"swap",name:"swap-refund-address",label:"Refund address needed",group:"Token â XMR",step:"refund_address",currentOrder:{...c,needsRefundAddress:!0,depositTxHash:"0xaaaa1111",wrongChainId:137}},{kind:"swap",name:"coinflip-prompt",label:"Coinflip â prompt",group:"Coinflip",step:"processing",currentOrder:{...c,status:"swap_pending",currentStep:"swapping",xmrOutputStep:"coinflip_pending",depositTxHash:"0xaaaa1111",swapTxHash:"0xbbbb2222",coinflip:{...u,accepted:null}}},{kind:"swap",name:"coinflip-won",label:"Coinflip â won",group:"Coinflip",step:"processing",currentOrder:{...c,status:"swap_pending",currentStep:"withdrawing_xmr",xmrOutputStep:"xmr1_transfer",depositTxHash:"0xaaaa1111",swapTxHash:"0xbbbb2222",coinflip:{...u,accepted:!0,won:!0,result:78432,serverSeed:"2d224edc7b9f83e5a1b6d8c4f2e9a7b3c5d8e1f4a6b9c2d5e8f1a4b7caa433a3a",resolvedAt:new Date().toISOString()}}},{kind:"swap",name:"coinflip-lost",label:"Coinflip â lost (picked cow)",group:"Coinflip",step:"completed",currentOrder:{...c,status:"completed",currentStep:"completed",xmrOutputStep:"completed",depositTxHash:"0xaaaa1111",swapTxHash:"0xbbbb2222",coinflip:{...u,accepted:!0,won:!1,result:10898,side:"cow",serverSeed:"2d224edc7b9f83e5a1b6d8c4f2e9a7b3c5d8e1f4a6b9c2d5e8f1a4b7caa433a3a",resolvedAt:new Date().toISOString(),finalMultiplier:0,finalWon:!1,rounds:[{round:1,serverSeed:"2d224edc7b9f83e5a1b6d8c4f2e9a7b3c5d8e1f4a6b9c2d5e8f1a4b7caa433a3a",serverSeedHash:"27d4d95ea89cf4a1b3e6f2c4d1a9b8e7f3c2d1a9b8e7f3c2d1a9b8e73b46232b",clientSeed:"20cb887bef86d784",side:"cow",result:10898,won:!1,resolvedAt:new Date().toISOString()}]}}},{kind:"swap",name:"coinflip-completed-won",label:"Coinflip â completed (won 2x)",group:"Coinflip",step:"completed",currentOrder:{...c,status:"completed",currentStep:"completed",xmrOutputStep:"completed",depositTxHash:"0xaaaa1111",swapTxHash:"0xbbbb2222",receivingTxHash:"cccc3333",actualOutput:"29700000000000",expectedOutput:"14850000000000",coinflip:{...u,accepted:!0,won:!0,result:78432,side:"cow",serverSeed:"2d224edc7b9f83e5a1b6d8c4f2e9a7b3c5d8e1f4a6b9c2d5e8f1a4b7caa433a3a",resolvedAt:new Date().toISOString(),finalMultiplier:2,finalWon:!0,rounds:[{round:1,serverSeed:"2d224edc7b9f83e5a1b6d8c4f2e9a7b3c5d8e1f4a6b9c2d5e8f1a4b7caa433a3a",serverSeedHash:"27d4d95ea89cf4a1b3e6f2c4d1a9b8e7f3c2d1a9b8e7f3c2d1a9b8e73b46232b",clientSeed:"20cb887bef86d784",side:"cow",result:78432,won:!0,resolvedAt:new Date().toISOString()}]}}},{kind:"swap",name:"coinflip-completed-chain",label:"Coinflip â completed (3-round chain, 8x)",group:"Coinflip",step:"completed",currentOrder:{...c,status:"completed",currentStep:"completed",xmrOutputStep:"completed",depositTxHash:"0xaaaa1111",swapTxHash:"0xbbbb2222",receivingTxHash:"cccc3333",actualOutput:"118800000000000",expectedOutput:"14850000000000",coinflip:{...u,accepted:!0,won:!0,result:91204,side:"cow",serverSeed:"aa11aa11aa11aa11aa11aa11aa11aa11aa11aa11aa11aa11aa11aa11aa11aa11",resolvedAt:new Date().toISOString(),finalMultiplier:8,finalWon:!0,rounds:[{round:1,serverSeed:"1111111111111111111111111111111111111111111111111111111111111111",serverSeedHash:"hash1hash1hash1hash1hash1hash1hash1hash1hash1hash1hash1hash1hash1",clientSeed:"clientseed01",side:"cow",result:65332,won:!0,resolvedAt:new Date().toISOString()},{round:2,serverSeed:"2222222222222222222222222222222222222222222222222222222222222222",serverSeedHash:"hash2hash2hash2hash2hash2hash2hash2hash2hash2hash2hash2hash2hash2",clientSeed:"clientseed02",side:"milk",result:14220,won:!0,resolvedAt:new Date().toISOString()},{round:3,serverSeed:"aa11aa11aa11aa11aa11aa11aa11aa11aa11aa11aa11aa11aa11aa11aa11aa11",serverSeedHash:"hash3hash3hash3hash3hash3hash3hash3hash3hash3hash3hash3hash3hash3",clientSeed:"clientseed03",side:"cow",result:91204,won:!0,resolvedAt:new Date().toISOString()}]}}},{kind:"swap",name:"coinflip-won-milk",label:"Coinflip â won (picked milk)",group:"Coinflip",step:"processing",currentOrder:{...c,status:"swap_pending",currentStep:"withdrawing_xmr",xmrOutputStep:"xmr1_transfer",depositTxHash:"0xaaaa1111",swapTxHash:"0xbbbb2222",coinflip:{...u,accepted:!0,won:!0,result:21337,side:"milk",serverSeed:"2d224edc7b9f83e5a1b6d8c4f2e9a7b3c5d8e1f4a6b9c2d5e8f1a4b7caa433a3a",resolvedAt:new Date().toISOString()}}},{kind:"swap",name:"coinflip-declined",label:"Coinflip â declined (normal payout)",group:"Coinflip",step:"processing",currentOrder:{...c,status:"swap_pending",currentStep:"withdrawing_xmr",xmrOutputStep:"xmr1_transfer",depositTxHash:"0xaaaa1111",swapTxHash:"0xbbbb2222",coinflip:{...u,accepted:!1}}},{kind:"swap",name:"swap-completed-many-fills",label:"Completed (heavy sell, 240 fills)",group:"Token â XMR",step:"completed",currentOrder:{...l,orderId:"DEV_HEAVY_SELL",depositAmount:"250000000000000",depositAmountUsd:"60000.00",status:"completed",currentStep:"completed",actualOutput:"59850000000",receivingTxHash:"0xffff9999eeee8888dddd7777cccc6666bbbb5555aaaa4444999933332222eeee",completedAt:p(3),hasReview:!1,hlFills:Array.from({length:240},(e,a)=>{let t=Math.abs(a-60),i=370+(t<20?-8*Math.exp(-Math.pow(t/7,2)):0)+(Math.sin(1.7*a)+Math.cos(.9*a))*.4,d=.8+(Math.sin(.3*a)+1)*.4;
1return{time:o(75-.3*a),side:"Sell",price:Math.round(100*i)/100,size:Math.round(100*d)/100,value:Math.round(i*d*100)/100,fee:Math.round(i*d*.3)/1e3,feeToken:"USDC"}}),hlTradeUrl:"https://app.wagyu.xyz/trade?market=XMR1/USDC"}},{kind:"swap",name:"swap-twap-active",label:"TWAP â mid-execution",group:"TWAP",step:"processing",currentOrder:{...c,orderId:"DEV_TWAP_01",depositAmount:"25000000000000000000",depositAmountUsd:"87500.00",status:"swap_pending",currentStep:"swapping",depositTxHash:"0xaaaa1111",twap:{enabled:!0,status:"running",filledPercent:40.0531914893617,chunksCompleted:4,chunksTotal:10,estimatedTimeRemainingMs:108e4,estimatedTimeRemaining:"18 min",startedAt:p(12),expectedCompleteAt:n(18)},hlFills:[{time:o(12),side:"Buy",price:232.1,size:37.5,value:8703.75,fee:2.61,feeToken:"USDC"},{time:o(9),side:"Buy",price:232.8,size:37.8,value:8799.84,fee:2.64,feeToken:"USDC"},{time:o(6),side:"Buy",price:232.4,size:37.6,value:8738.24,fee:2.62,feeToken:"USDC"},{time:o(3),side:"Buy",price:232.6,size:37.7,value:8769.02,fee:2.63,feeToken:"USDC"}],hlTradeUrl:"https://app.wagyu.xyz/trade?market=XMR1/USDC"}},{kind:"swap",name:"swap-in-awaiting-xmr",label:"Awaiting XMR deposit",group:"XMR â Token",step:"awaiting_deposit",currentOrder:{...l,status:"awaiting_deposit"},depositInfo:{address:l.depositAddress,amount:l.depositAmount,decimals:12,symbol:"XMR"}},{kind:"swap",name:"swap-in-deposit-detected",label:"XMR deposit detected",group:"XMR â Token",step:"processing",currentOrder:{...l,status:"deposit_detected",currentStep:"detecting_deposit",confirmations:5,requiredConfirmations:10}},{kind:"swap",name:"swap-in-selling",label:"Selling XMR1 on Hyperliquid",group:"XMR â Token",step:"processing",currentOrder:{...l,status:"processing",currentStep:"xmr1_sold"}},{kind:"swap",name:"swap-in-hl-withdraw",label:"Withdrawing USDC to Arbitrum",group:"XMR â Token",step:"processing",currentOrder:{...l,status:"processing",currentStep:"hl_withdraw"}},{kind:"swap",name:"swap-in-lifi",label:"LI.FI swap to destination token",group:"XMR â Token",step:"processing",currentOrder:{...l,status:"processing",currentStep:"lifi_swap_pending"}},{kind:"swap",name:"swap-in-completed",label:"XMR â USDC completed",group:"XMR â Token",step:"completed",currentOrder:{...l,status:"completed",currentStep:"completed",actualOutput:"1194500000",receivingTxHash:"0xffff9999eeee8888dddd7777cccc6666bbbb5555aaaa4444999933332222eeee",completedAt:p(2),hasReview:!1}}],f=e=>new Date(Date.now()+60*e*1e3).toISOString(),m="44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A",h="0x742d35Cc6634C0532925a3b844Bc454e4438f44e",w=[...b,{kind:"bridge",name:"bridge-deposit-form",label:"Deposit form (XMR â XMR1)",group:"Bridge â XMR â XMR1",step:"input",activeTab:"deposit"},{kind:"bridge",name:"bridge-deposit-waiting",label:"Awaiting XMR deposit",group:"Bridge â XMR â XMR1",step:"waiting",activeTab:"deposit",orderId:"dep_DEV001",depositAddress:m,expiresAt:f(30),destination:h,orderStatus:"Waiting for Monero deposit..."},{kind:"bridge",name:"bridge-deposit-confirming",label:"Deposit detected (confirming)",group:"Bridge â XMR â XMR1",step:"confirming",activeTab:"deposit",orderId:"dep_DEV001",depositAddress:m,expiresAt:f(30),destination:h,requiredConfirmations:10,orderStatus:"Deposit detected! 4/10 confirmations"},{kind:"bridge",name:"bridge-deposit-completed",label:"Deposit completed",group:"Bridge â XMR â XMR1",step:"completed",activeTab:"deposit",orderId:"dep_DEV001",depositAddress:m,destination:h,completedAmount:.495},{kind:"bridge",name:"bridge-deposit-expired",label:"Deposit expired",group:"Bridge â XMR â XMR1",step:"expired",activeTab:"deposit",orderId:"dep_DEV001",expiresAt:new Date(Date.now()-6e4).toISOString(),destination:h},{kind:"bridge",name:"bridge-deposit-failed",label:"Deposit failed",group:"Bridge â XMR â XMR1",step:"failed",activeTab:"deposit",orderId:"dep_DEV001",destination:h,failureReason:"Insufficient amount received"},{kind:"bridge",name:"bridge-withdraw-form",label:"Withdraw form (XMR1 â XMR)",group:"Bridge â XMR1 â XMR",step:"input",activeTab:"withdraw"},{kind:"bridge",name:"bridge-withdraw-waiting",label:"Awaiting XMR1 send",group:"Bridge â XMR1 â XMR",step:"waiting",activeTab:"withdraw",orderId:"wd_DEV002",depositAddress:h,expiresAt:f(30),destination:m,orderStatus:"Waiting for XMR1 deposit..."},{kind:"bridge",name:"bridge-withdraw-processing",label:"XMR1 received (sending XMR)",group:"Bridge â XMR1 â XMR",step:"confirming",activeTab:"withdraw",orderId:"wd_DEV002",depositAddress:h,destination:m,orderStatus:"XMR1 received! Processing withdrawal..."},{kind:"bridge",name:"bridge-withdraw-completed",label:"Withdraw completed",group:"Bridge â XMR1 â XMR",step:"completed",activeTab:"withdraw",orderId:"wd_DEV002",depositAddress:h,destination:m,completedAmount:.498},{kind:"bridge",name:"bridge-not-found",label:"Order not found",group:"Bridge â Edge cases",step:"not_found",activeTab:"deposit",orderId:"dep_BOGUS"}];Object.fromEntries(w.map(e=>[e.name,e]))}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.