1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[455,785],{1395:()=>{},4132:e=>{"use strict";e.exports=JSON.parse('{"devnet":{},"testnet":{"always_success":{"codeHash":"0x1491d5b5a141bb191cbb0db8caeb1e2c180d240b4af039f0fe286227f0c4d265","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x4324d796c2a0c4ec411c91da86910129f25869a050022eba5de9bbe54c0a3431","index":0},"depType":"code"}}]},"countdown":{"codeHash":"0xac48d42a1b4cae8ad2deef012b3d7e97fd3486904f19ba58c94c05f1b297c252","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xf26e549ad087137a078cebe3e82e6479fa125a81d32fc8acfb5faf0c207c184f","index":0},"depType":"code"}}]},"gomoku":{"codeHash":"0x9d0831659d6d16ef5674f491e1b7bfee48b05b1a17850bf800dd408c19fae0fe","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xe9d9b91a5153fd6b579bd2e1fd4cef352c9989e02ad640daee91cb717315b5ef","index":0},"depType":"code"}}]},"hello-world":{"codeHash":"0x262ae9e211eaf317e45ac3888d59be5811179ce7f2fb0a4686947458afb034bb","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xac2916858422e4b21914dfff35ee497705dd0617a6851f4be6208302599c9999","index":0},"depType":"code"}}]},"miner":{"codeHash":"0x9bc848d071e60276f982fb396090bc044707047ec3ff20c612a601aeaeeb8740","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xb45d30d5aeceb3dfc2b29952d29135c5f215bcb12566e14f44ae53b740408b9b","index":0},"depType":"code"}}]},"staking":{"codeHash":"0x52212e3cc9e1b1e5a42d56f44ed0859ce7970dcda23db0365ed44f370001dcd1","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x66f255108eafc2dd520a6709bc64878e0096713b62866c851ccd35839e241ca7","index":0},"depType":"code"}}]},"staking-extension":{"codeHash":"0xa2a0b1c11e188e1cf49519e93882e678861b9459b3706889149609336a45c211","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x3a0458db7f5a7db66d0d2a54483ab906dee6a4579b8627e318508d4a8ff15d16","index":0},"depType":"code"}}]},"time_lock":{"codeHash":"0x9c38dc819960ce70f3b46350a6695925a61b954df6715dc776817392c33c9e1c","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x597930dbbbfa9c3b2809d453361ec80a280a0a9abe0197957b0cef253e7185b3","index":0},"depType":"code"}}]},"vein":{"codeHash":"0x1b72288fd45a77f70a64d0cb722927d032f4416c63608eeaf3bd718ec4465655","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x89bf6e9ad7e859b4d8f152297723f0143342663623c6d6f9715694500aeabe9b","index":0},"depType":"code"}}]}},"mainnet":{}}')},4267:(e,a,c)=>{"use strict";function t(){let e="testnet";return e&&["devnet","testnet","mainnet"].includes(e)?e:"devnet"}c.d(a,{Ay:()=>s,DV:()=>o,Ik:()=>d,qT:()=>t});let s={version:"0.3.5",contractBinFolder:"../build/release",contractInfoFolder:"./offckb",networks:{devnet:{rpc_url:"http://127.0.0.1:9000",addressPrefix:"ckt",explorer_api_base:"https://testnet-api.explorer.nervos.org",explorer_web_base:"https://testnet.explorer.nervos.org"},testnet:{rpc_url:"https://testnet.ckb.dev/rpc",addressPrefix:"ckt",explorer_api_base:"https://testnet-api.nervosscan.com",explorer_web_base:"https://testnet.explorer.nervos.org"},mainnet:{rpc_url:"https://mainnet.ckb.dev/rpc",addressPrefix:"ckb",explorer_api_base:"https://api.explorer.nervos.org",explorer_web_base:"https://explorer.nervos.org"}},get currentNetwork(){return t()},get addressPrefix(){let e=t();return this.networks[e].addressPrefix},get rpcUrl(){let e=t();return this.networks[e].rpc_url},get explorerApiBase(){let e=t();return this.networks[e].explorer_api_base},get explorerWebBase(){let e=t();return this.networks[e].explorer_web_base},get systemScripts(){let e=t();return c(8463)[e]},get myScripts(){let e=t();return c(4132)[e]}},d="ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqvswq2x8n3yg4ed2gmu0kquncp7g2yuz2cxp9gz9",o="ckt1qq2fr4d459qmkxguhvxm3jhtrckpsrfypd90qw0slc5xyflscnfx2qgnnppf3"},4391:(e,a,c)=>{"use strict";c.d(a,{KD:()=>k,P8:()=>h,TN:()=>y,gJ:()=>g,nC:()=>T,n_:()=>H,qb:()=>_,s0:()=>m,zw:()=>i});var t=c(1009),s=c(4267),d=c(8160);let o=BigInt(1e8),l=BigInt(120)*o;function n(e,a){try{let c=JSON.stringify(a,(e,a)=>"bigint"==typeof a?a.toString():a,2);console.group("RawTransaction:".concat(e)),console.log(c),console.groupEnd()}catch(c){console.warn("RawTransaction:".concat(e," stringify failed"),c),console.log(a)}}function p(e){let a=BigInt(e>>>0).toString(16);return(a=a.padStart(8,"0")).match(/../g).reverse().join("")}function i(){var e;let a=null!=(e=s.Ay.myScripts.lottery)?e:s.Ay.myScripts.countdown;
1if(!a)throw Error("lottery script not found in offckb config");return{codeHash:a.codeHash,hashType:a.hashType,args:"0x"}}function f(e){let a=i(),c=function(e,a,c){let t=(e.startsWith("0x")?e.slice(2):e).padStart(64,"0"),s=p(a).slice(0,4),d=p(c).slice(0,4);return"0x".concat(t).concat(s).concat(d)}(e.platformLockHash,e.houseEdgeBp,e.confirmations);return{...a,args:c}}function r(){var e;let a=s.Ay.myScripts.always_success,c=null!=a?a:null==(e=s.Ay.systemScripts.always_success)?void 0:e.script;if(!c)throw Error("always_success script not found in offckb config");return{codeHash:c.codeHash,hashType:c.hashType,args:"0x"}}async function b(e){var a;let c=s.Ay.myScripts.always_success,t=null!=c?c:null==(a=s.Ay.systemScripts.always_success)?void 0:a.script;if(!t)throw Error("always_success script not found in offckb config");return e.getCellDeps(t.cellDeps)}async function u(e){var a;let c=null!=(a=s.Ay.myScripts.lottery)?a:s.Ay.myScripts.countdown;if(!c)throw Error("lottery script not found in offckb config");return e.getCellDeps(c.cellDeps)}function h(e){let a=e.startsWith("0x")?e.slice(2):e;if(82!==a.length)throw Error("invalid bet data length");let c=BigInt("0x"+a.slice(0,16).match(/../g).reverse().join(""));return{stakeShannons:c,guess:+("00"!==a.slice(16,18)),bettorLockHash:"0x"+a.slice(18,82)}}async function y(e,a,c){let s=e.client,[{hash:o},l,p]=await Promise.all([w(s),u(s),b(s)]),i=f(a),h=r(),y=BigInt(t.ccc.fixedPointFrom(c.stakeCkb)),x=await e.getRecommendedAddress(),m=(await t.ccc.Address.fromString(x,s)).script,_=(0,d.rc)(m),g=await D(s,m),k=function(e,a,c){let t=(c.startsWith("0x")?c.slice(2):c).padStart(64,"0"),s=(e&BigInt("0xffffffffffffffff")).toString(16).padStart(16,"0").match(/../g).reverse().join("")+(0===a?"00":"01")+t;return"0x".concat(s)}(y,c.guess,_),H=t.ccc.Transaction.from({cellDeps:[...l,...p,...g],headerDeps:[o],outputs:[{lock:h,type:i,capacity:y}],outputsData:[k]});return n("init:create_bet",H),await H.completeInputsByCapacity(e),n("afterInputs:create_bet",H),await H.completeFeeBy(e),n("final:create_bet",H),e.sendTransaction(H)}async function x(e,a){try{let e=s.Ay.rpcUrl,c=await fetch(e,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({id:1,jsonrpc:"2.0",method:"get_header",params:[a]})}),t=await c.json(),d=null==t?void 0:t.result;if(!d)return null;return{hash:d.hash,number:BigInt(d.number)}}catch(e){return null}}async function m(e,a){try{var c,t,d,o,l,n,p,i,f,r,b,u,h,y,m,_;let g=await e.getTransaction(a.outPoint.txHash),k=null!=(u=null!=(b=null!=(r=null!=(f=null!=(i=null==g||null==(c=g.txStatus)?void 0:c.blockHash)?i:null==g||null==(t=g.tx_status)?void 0:t.block_hash)?f:null==g?void 0:g.blockHash)?r:null==g||null==(d=g.transaction)?void 0:d.blockHash)?b:null==g||null==(l=g.transaction)||null==(o=l.txStatus)?void 0:o.blockHash)?u:null==g||null==(p=g.transaction)||null==(n=p.tx_status)?void 0:n.block_hash;if(!k)try{let c=s.Ay.rpcUrl,t=await fetch(c,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({id:1,jsonrpc:"2.0",method:"get_transaction",params:[a.outPoint.txHash]})}),d=await t.json(),o=null==d||null==(y=d.result)||null==(h=y.tx_status)?void 0:h.block_hash;if(!o)return null;let l=await x(e,o);return null!=(m=null==l?void 0:l.number)?m:null}catch(e){return null}let H=await x(e,k);return null!=(_=null==H?void 0:H.number)?_:null}catch(e){return null}}async function _(e,a,c){let{number:t}=await w(e),{guess:s}=h(a.outputData),d=await m(e,a);if(null==d)return null;let o=d+BigInt(c.confirmations);if(t<o)return null;let l=await e.getHeaderByNumber(o);if(!(null==l?void 0:l.hash))throw Error("ç®æ åºå头ä¸å¯ç¨");let n=parseInt(l.hash.slice(-1),16);return{win:0===s&&n<8||1===s&&n>=8,nibble:n,headerHash:l.hash,target:o}}async function g(e,a,c){let s=e.client,[{hash:o},l,p]=await Promise.all([w(s),u(s),b(s)]),i=(await t.ccc.Address.fromString(a.platformAddress,s)).script,h=f({platformLockHash:(0,d.rc)(i),houseEdgeBp:a.houseEdgeBp,confirmations:a.confirmations}),y=await e.getRecommendedAddress(),x=(await t.ccc.Address.fromString(y,s)).script,m=await D(s,x),_=BigInt(t.ccc.fixedPointFrom(c)),g=t.ccc.Transaction.from({cellDeps:[...l,...p,...m],headerDeps:[o],outputs:[{lock:r(),type:h,capacity:_}],outputsData:["0x01"]});return n("init:create_pot",g),await g.completeInputsByCapacity(e),n("afterInputs:create_pot",g),await g.completeFeeBy(e),n("final:create_pot",g),e.sendTransaction(g)}async function k(e,a,c,s,o){var p,i,y,x;let _=e.client,[{hash:g,number:k},T,v]=await Promise.all([w(_),u(_),b(_)]),S=await e.getRecommendedAddress(),P=(await t.ccc.Address.fromString(S,_)).script,B=(0,d.rc)(P),I=(await t.ccc.Address.fromString(a.platformAddress,_)).script,A=await D(_,P),L=await D(_,I),j=new Set,C=a.confirmations,F=a.houseEdgeBp,E=null!=(x=null!=(y=c[0])?y:s[0])?x:o,O=null==E||null==(i=E.cellOutput)||null==(p=i.type)?void 0:p.args;if(O){let e=function(e){let a=e.startsWith("0x")?e.slice(2):e,c="0x"+
1a.slice(0,64),t=a.slice(64,68),s=a.slice(68,72);return{platformLockHash:c,houseEdgeBp:Number(parseInt(t.match(/../g).reverse().join(""),16)),confirmations:Number(parseInt(s.match(/../g).reverse().join(""),16))}}(O);C=e.confirmations,F=e.houseEdgeBp;let a=(0,d.rc)(I);if(a.toLowerCase()!==e.platformLockHash.toLowerCase())throw Error("å¹³å°éä¸èæ¬åæ°ä¸ä¸è´: cfg ".concat(a," != args ").concat(e.platformLockHash))}let N=BigInt(0),U=BigInt(0),q=BigInt(0),G=[];for(let e of c){let a=h(e.outputData),c=await m(_,e);if(null==c)continue;let s=await _.getHeaderByNumber(c),d=c+BigInt(C);if(BigInt(k)<d)continue;let o=await _.getHeaderByNumber(d);if(!(null==o?void 0:o.hash))continue;let l=parseInt(o.hash.slice(-1),16);if((0===a.guess&&l<8||1===a.guess&&l>=8)&&a.bettorLockHash.toLowerCase()===B.toLowerCase()){(null==s?void 0:s.hash)&&j.add(s.hash),j.add(o.hash),N+=a.stakeShannons;let c=a.stakeShannons*BigInt(1e4-F)/BigInt(1e4),d=(a.stakeShannons*BigInt(F)+BigInt(9999))/BigInt(1e4);U+=c,q+=d,G.push(t.ccc.CellInput.from({previousOutput:e.outPoint}))}}let J=BigInt(0),K=BigInt(0),R=U,z=new Set,W=[...s].sort(()=>Math.random()-.5);for(let e of W){if(K>=R)break;let a=h(e.outputData),c=await m(_,e);if(null==c)continue;let s=await _.getHeaderByNumber(c),d=c+BigInt(C);if(BigInt(k)<d)continue;let o=await _.getHeaderByNumber(d);if(!(null==o?void 0:o.hash))continue;let l=parseInt(o.hash.slice(-1),16);if(!(0===a.guess&&l<8||1===a.guess&&l>=8)){let c="".concat(e.outPoint.txHash,":").concat(e.outPoint.index);z.add(c),(null==s?void 0:s.hash)&&j.add(s.hash),j.add(o.hash),K+=a.stakeShannons,G.push(t.ccc.CellInput.from({previousOutput:e.outPoint}))}}if(N===BigInt(0))throw Error("å½åè´¦æ·ææ 已确认ä¸ä¸å¥ç䏿³¨");if(K<U){let e=U-K;if(!o)throw Error("è¾å®¶ä¸è¶³ä»¥è¦çä¸å¥å©æ¶¦ï¼ä¸æ 奿± å¯ç¨");if((J=o.cellOutput.capacity)<e)throw Error("奿± ä¸è¾å®¶æ»é¢ä¸è¶³ä»¥è¦çä¸å¥å©æ¶¦");G.push(t.ccc.CellInput.from({previousOutput:o.outPoint}))}let M=J+K-U;if(M<l)for(let e of W){if(M>=l)break;let a="".concat(e.outPoint.txHash,":").concat(e.outPoint.index);if(z.has(a))continue;let c=h(e.outputData),s=await m(_,e);if(null==s)continue;let d=await _.getHeaderByNumber(s),o=s+BigInt(C);if(BigInt(k)<o)continue;let n=await _.getHeaderByNumber(o);if(!(null==n?void 0:n.hash))continue;let p=parseInt(n.hash.slice(-1),16);0===c.guess&&p<8||1===c.guess&&p>=8||(z.add(a),(null==d?void 0:d.hash)&&j.add(d.hash),j.add(n.hash),K+=c.stakeShannons,G.push(t.ccc.CellInput.from({previousOutput:e.outPoint})),M=J+K-U)}if(M<l)for(let e of(await H(_,{platformLockHash:(0,d.rc)(I),houseEdgeBp:F,confirmations:C},20)).pots){if(M>=l)break;o&&e.outPoint.txHash===o.outPoint.txHash&&e.outPoint.index===o.outPoint.index||(G.push(t.ccc.CellInput.from({previousOutput:e.outPoint})),J+=e.cellOutput.capacity,M=J+K-U)}if(M<l)throw Error("è¾å®¶ä¸å¥æ± ä¸è¶³ä»¥ç»´ææå°å¥æ± 容éï¼æ æ³ä½¿ç¨é±å
补足");let V=[],Q=[];V.push({lock:P,capacity:N+U}),Q.push("0x");{let e=M;if(o)V.push({lock:o.cellOutput.lock,type:o.cellOutput.type,capacity:e}),Q.push("0x01");else{let a=f({platformLockHash:(0,d.rc)(I),houseEdgeBp:F,confirmations:C}),c=r();V.push({lock:c,type:a,capacity:e}),Q.push("0x01")}}let X=Array.from(j);X.includes(g)||X.push(g);let Y=[...T,...v,...A,...L],Z=new Set,$=Y.filter(e=>{var a,c;let t="".concat(null==e||null==(a=e.outPoint)?void 0:a.txHash,":").concat(null==e||null==(c=e.outPoint)?void 0:c.index,":").concat(null==e?void 0:e.depType);return!Z.has(t)&&(Z.add(t),!0)}),ee=t.ccc.Transaction.from({cellDeps:$,headerDeps:X,inputs:G,outputs:V,outputsData:Q});
1n("init:settle",ee),console.info("SettleDebug",{winnersStake:N.toString(),payoutTotal:U.toString(),feeTotal:q.toString(),potIn:J.toString(),selectedLosersStake:K.toString(),headerDeps:X}),await ee.completeInputsByCapacity(e),n("afterInputs:settle",ee),await ee.completeFeeBy(e),n("final:settle",ee);let ea=await e.signTransaction(ee);return await e.client.sendTransaction(ea,"passthrough")}async function H(e,a){let c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:50,t=f(a),s=[],d=[],o=0;for await(let a of e.findCellsByType(t,!0,"desc",c)){let e=a.outputData;if(e&&e.length>=2&&"0x01"===e.slice(0,4).toLowerCase()?d.push(a):s.push(a),++o>=c)break}return{bets:s,pots:d}}async function T(e,a,c){let s=e.client,[{hash:d},o,l]=await Promise.all([w(s),u(s),b(s)]),p=(await t.ccc.Address.fromString(c,s)).script,i=await e.getRecommendedAddress(),f=(await t.ccc.Address.fromString(i,s)).script,r=await D(s,f),h=t.ccc.CellInput.from({previousOutput:a.outPoint}),y=t.ccc.Transaction.from({cellDeps:[...o,...l,...r],headerDeps:[d],inputs:[h],outputs:[{lock:p,capacity:a.cellOutput.capacity}],outputsData:["0x"]});return n("init:transfer_pot",y),await y.completeInputsByCapacity(e),n("afterInputs:transfer_pot",y),await y.completeFeeBy(e),n("final:transfer_pot",y),e.sendTransaction(y)}async function D(e,a){var c,d,o,l,n;let p=null!=(n=null==e?void 0:e.scripts)?n:{};for(let n of[null==(c=s.Ay.systemScripts.omnilock)?void 0:c.script,null==(d=s.Ay.systemScripts.secp256k1_blake160_sighash_all)?void 0:d.script,null==(o=s.Ay.systemScripts.secp256k1_blake160_multisig_all)?void 0:o.script,null==(l=s.Ay.systemScripts.anyone_can_pay)?void 0:l.script,p[t.KnownScript.OmniLock],p[t.KnownScript.Secp256k1Blake160],p[t.KnownScript.Secp256k1Multisig],p[t.KnownScript.AnyoneCanPay],p[t.KnownScript.JoyId]])if(n&&function(e,a){var c,t;return!!e&&!!a&&(null==(c=e.codeHash)?void 0:c.toLowerCase())===(null==(t=a.codeHash)?void 0:t.toLowerCase())&&e.hashType===a.hashType}(a,n))return e.getCellDeps(n.cellDeps);return[]}async function w(e){let a=await e.getTipHeader();return{hash:a.hash,number:BigInt(a.number)}}},7790:()=>{},8463:e=>{"use strict";e.exports=JSON.parse('{"devnet":{"secp256k1_blake160_sighash_all":{"name":"secp256k1_blake160_sighash_all","file":"Bundled(specs/cells/secp256k1_blake160_sighash_all)","script":{"codeHash":"0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x3adf8c8bf04842c83cdaa21072cd3c4f869e8f7448b68d9baa409f6dc09f09b6","index":0},"depType":"depGroup"}}]}},"dao":{"name":"dao","file":"Bundled(specs/cells/dao)","script":{"codeHash":"0x82d76d1b75fe2fd9a27dfbaa65a039221a380d76c926f378d3f81cf3e7e13f2e","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":2},"depType":"code"}}]}},"secp256k1_blake160_multisig_all":{"name":"secp256k1_blake160_multisig_all","file":"Bundled(specs/cells/secp256k1_blake160_multisig_all)","script":{"codeHash":"0x5c5069eb0857efc65e1bca0c07df34c31663b3622fd3876c876320fc9634e2a8","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x3adf8c8bf04842c83cdaa21072cd3c4f869e8f7448b68d9baa409f6dc09f09b6","index":1},"depType":"depGroup"}}]}},"sudt":{"name":"sudt","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/sudt)","script":{"codeHash":"0x6283a479a3cf5d4276cd93594de9f1827ab9b55c7b05b3d28e4c2e0a696cfefd","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":5},"depType":"code"}}]}},"xudt":{"name":"xudt","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/xudt)","script":{"codeHash":"0x1a1e4fef34f5982906f745b048fe7b1089647e82346074e0f32c2ece26cf6b1e","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":6},"depType":"code"}}]}},"omnilock":{"name":"omnilock","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/omnilock)","script":{"codeHash":"0x9c6933d977360f115a3e9cd5a2e0e475853681b80d775d93ad0f8969da343e56","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":7},"depType":"code"}},{"cellDep":{"outPoint":{"txHash":"0x3adf8c8bf04842c83cdaa21072cd3c4f869e8f7448b68d9baa409f6dc09f09b6","index":0},"depType":"depGroup"}}]}},"anyone_can_pay":{"name":"anyone_can_pay","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/anyone_can_pay)","script":{"codeHash":"0xe09352af0066f3162287763ce4ddba9af6bfaeab198dc7ab37f8c71c9e68bb5b","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":8},"depType":"code"}}]}},"always_success":{"name":"always_success","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/always_success)","script":{"codeHash":"0xbb4469004225b39e983929db71fe2253cba1d49a76223e9e1d212cdca1f79f28","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":9},"depType":"code"}}]}},"spore":{"name":"spore","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/spore/spore)","script":{"codeHash":"0x7e8bf78a62232caa2f5d47e691e8db1a90d05e93dc6828ad3cb935c01ec6d208","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":10},"depType":"code"}}]}},"spore_cluster":{"name":"spore_cluster","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/spore/spore_cluster)","script":{"codeHash":"0x7366a61534fa7c7e6225ecc0d828ea3b5366adec2b58206f2ee84995fe030075","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":11},"depType":"code"}}]}}
1,"spore_cluster_agent":{"name":"spore_cluster_agent","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/spore/spore_cluster_agent)","script":{"codeHash":"0xc986099b41d79ca1b2a56ce5874bcda8175440a17298ea5e2bbc3897736b8c21","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":12},"depType":"code"}}]}},"spore_cluster_proxy":{"name":"spore_cluster_proxy","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/spore/spore_cluster_proxy)","script":{"codeHash":"0xbe8b9ce3d05a32c4bb26fe71cd5fc1407ce91e3a8b9e8719be2ab072cef1454b","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":13},"depType":"code"}}]}},"spore_extension_lua":{"name":"spore_extension_lua","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/spore/spore_extension_lua)","script":{"codeHash":"0x94a9b875911ace20f1f0d063a26495d14e4b04e32fd218261bb747f34e71ae47","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":14},"depType":"code"}}]}},"ckb_js_vm":{"name":"ckb_js_vm","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/ckb_js_vm)","script":{"codeHash":"0xac4db0d0c028ba0d73dec9ee5e6a3c0c98fcdfca895402a3285d680e964dcb46","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":15},"depType":"code"}}]}},"nostr_lock":{"name":"nostr_lock","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/nostr_lock)","script":{"codeHash":"0x97bb42c154a4fda179e0cd891c94efd0ed5eb7fa5371135122ed58deb39d94b0","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":16},"depType":"code"}}]}},"secp256k1_keccak256_sighash_all":{"name":"secp256k1_keccak256_sighash_all","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/pw-lock/secp256k1_keccak256_sighash_all)","script":{"codeHash":"0xf3d9b5e8eff7bce00731be767a65f58cc5707c2b6ee8e732d56f383a47f77abd","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":17},"depType":"code"}}]}},"secp256k1_keccak256_sighash_all_acpl":{"name":"secp256k1_keccak256_sighash_all_acpl","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/pw-lock/secp256k1_keccak256_sighash_all_acpl)","script":{"codeHash":"0xf7c7fedcb0cbf549095f5b1ad6c267a141e96282b0f5308cad2d0af2901cfc48","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":18},"depType":"code"}}]}},"secp256k1_blake160_multisig_all_v2":{"name":"secp256k1_blake160_multisig_all_v2","file":"FileSystem(/Users/mac/Library/Application Support/offckb-nodejs/devnet/specs/secp256k1_blake160_multisig_all_v2)","script":{"codeHash":"0x36c971b8d41fbd94aabca77dc75e826729ac98447b46f91e00796155dddb0d29","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x6141d3dc3ccd8cbe4f0870676649778dd0f0422cf19735fcdebfa003fa980a40","index":19},"depType":"code"}}]}}},"testnet":{"secp256k1_blake160_sighash_all":{"name":"secp256k1_blake160_sighash_all","script":{"codeHash":"0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xf8de3bb47d055cdf460d93a2a6e1b05f7432f9777c8c474abf4eec1d4aee5d37","index":0},"depType":"depGroup"}}]}},"dao":{"name":"dao","script":{"codeHash":"0x82d76d1b75fe2fd9a27dfbaa65a039221a380d76c926f378d3f81cf3e7e13f2e","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x8f8c79eb6671709633fe6a46de93c0fedc9c1b8a6527a18d3983879542635c9f","index":2},"depType":"code"}}]}},"secp256k1_blake160_multisig_all":{"name":"secp256k1_blake160_multisig_all","script":{"codeHash":"0x5c5069eb0857efc65e1bca0c07df34c31663b3622fd3876c876320fc9634e2a8","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xf8de3bb47d055cdf460d93a2a6e1b05f7432f9777c8c474abf4eec1d4aee5d37","index":1},"depType":"depGroup"}}]}},"sudt":{"name":"sudt","script":{"codeHash":"0xc5e5dcf215925f7ef4dfaf5f4b4f105bc321c02776d6e7d52a1db3fcd9d011a4","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xe12877ebd2c3c364dc46c5c992bcfaf4fee33fa13eebdf82c591fc9825aab769","index":0},"depType":"code"}}]}},"xudt":{"name":"xudt","script":{"codeHash":"0x25c29dc317811a6f6f3985a7a9ebc4838bd388d19d0feeecf0bcd60f6c0975bb","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xbf6fb538763efec2a70a6a3dcb7242787087e1030c4e7d86585bc63a9d337f5f","index":0},"depType":"code"},"type":{"codeHash":"0x00000000000000000000000000000000000000000000000000545950455f4944","hashType":"type","args":"0x44ec8b96663e06cc94c8c468a4d46d7d9af69eaf418f6390c9f11bb763dda0ae"}}]}},"omnilock":{"name":"omnilock","script":{"codeHash":"0xf329effd1c475a2978453c8600e1eaf0bc2087ee093c3ee64cc96ec6847752cb","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xf8de3bb47d055cdf460d93a2a6e1b05f7432f9777c8c474abf4eec1d4aee5d37","index":0},"depType":"depGroup"}},{"cellDep":{"outPoint":{"txHash":"0xec18bf0d857c981c3d1f4e17999b9b90c484b303378e94de1a57b0872f5d4602","index":0},"depType":"code"},"type":{"codeHash":"0x00000000000000000000000000000000000000000000000000545950455f4944","hashType":"type","args":"0x761f51fc9cd6a504c32c6ae64b3746594d1af27629b427c5ccf6c9a725a89144"}}]}},"anyone_can_pay":{"name":"anyone_can_pay","script":{"codeHash":"0x3419a1c09eb2567f6552ee7a8ecffd64155cffe0f1796e6e61ec088d740c1356","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xec26b0f85ed839ece5f11c4c4e837ec359f5adc4420410f6453b1f6b60fb96a6","index":0},"depType":"depGroup"}}]}},"spore":{"name":"spore","script":{"codeHash":"0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d","hashType":"data","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x5e8d2a517d50fd4bb4d01737a7952a1f1d35c8afc77240695bb569cd7d9d5
1a1f","index":0},"depType":"code"}}]}},"spore_cluster":{"name":"spore_cluster","script":{"codeHash":"0x0bbe768b519d8ea7b96d58f1182eb7e6ef96c541fbd9526975077ee09f049058","hashType":"data","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xcebb174d6e300e26074aea2f5dbd7f694bb4fe3de52b6dfe205e54f90164510a","index":0},"depType":"code"}}]}},"spore_cluster_agent":{"name":"spore_cluster_agent","script":{"codeHash":"0x923e997654b2697ee3f77052cb884e98f28799a4270fd412c3edb8f3987ca622","hashType":"data","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x52210232292d10c51b48e72a2cea60d8f0a08c2680a97a8ee7ca0a39379f0036","index":0},"depType":"code"}}]}},"spore_cluster_proxy":{"name":"spore_cluster_proxy","script":{"codeHash":"0x4349889bda064adab8f49f7dd8810d217917f7df28e9b2a1df0b74442399670a","hashType":"data","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xc5a41d58155b11ecd87a5a49fdcb6e83bd6684d3b72b2f3686f081945461c156","index":0},"depType":"code"}}]}},"spore_extension_lua":{"name":"spore_extension_lua","script":{"codeHash":"0x5ff1a403458b436ea4b2ceb72f1fa70a6507968493315b646f5302661cb68e57","hashType":"data","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x9b2098e5b6f575b2fd34ffd0212bc1c96e1f9e86fcdb146511849c174dfe0d02","index":0},"depType":"code"}}]}}},"mainnet":{"secp256k1_blake160_sighash_all":{"name":"secp256k1_blake160_sighash_all","script":{"codeHash":"0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x71a7ba8fc96349fea0ed3a5c47992e3b4084b031a42264a018e0072e8172e46c","index":0},"depType":"depGroup"}}]}},"dao":{"name":"dao","script":{"codeHash":"0x82d76d1b75fe2fd9a27dfbaa65a039221a380d76c926f378d3f81cf3e7e13f2e","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xe2fb199810d49a4d8beec56718ba2593b665db9d52299a0f9e6e75416d73ff5c","index":2},"depType":"code"}}]}},"secp256k1_blake160_multisig_all":{"name":"secp256k1_blake160_multisig_all","script":{"codeHash":"0x5c5069eb0857efc65e1bca0c07df34c31663b3622fd3876c876320fc9634e2a8","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x71a7ba8fc96349fea0ed3a5c47992e3b4084b031a42264a018e0072e8172e46c","index":1},"depType":"depGroup"}}]}},"sudt":{"name":"sudt","script":{"codeHash":"0x5e7a36a77e68eecc013dfa2fe6a23f3b6c344b04005808694ae6dd45eea4cfd5","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xc7813f6a415144643970c2e88e0bb6ca6a8edc5dd7c1022746f628284a9936d5","index":0},"depType":"code"}}]}},"xudt":{"name":"xudt","script":{"codeHash":"0x50bd8d6680b8b9cf98b73f3c08faf8b2a21914311954118ad6609be6e78a1b95","hashType":"data1","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xc07844ce21b38e4b071dd0e1ee3b0e27afd8d7532491327f39b786343f558ab7","index":0},"depType":"code"}}]}},"omnilock":{"name":"omnilock","script":{"codeHash":"0x9b819793a64463aed77c615d6cb226eea5487ccfc0783043a587254cda2b6f26","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x71a7ba8fc96349fea0ed3a5c47992e3b4084b031a42264a018e0072e8172e46c","index":0},"depType":"depGroup"}},{"cellDep":{"outPoint":{"txHash":"0xc76edf469816aa22f416503c38d0b533d2a018e253e379f134c3985b3472c842","index":0},"depType":"code"},"type":{"codeHash":"0x00000000000000000000000000000000000000000000000000545950455f4944","hashType":"type","args":"0x855508fe0f0ca25b935b070452ecaee48f6c9f1d66cd15f046616b99e948236a"}}]}},"anyone_can_pay":{"name":"anyone_can_pay","script":{"codeHash":"0xd369597ff47f29fbc0d47d2e3775370d1250b85140c670e4718af712983a2354","hashType":"type","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x4153a2014952d7cac45f285ce9a7c5c0c0e1b21f2d378b82ac1433cb11c25c4d","index":0},"depType":"depGroup"}}]}},"spore":{"name":"spore","script":{"codeHash":"0x4a4dce1df3dffff7f8b2cd7dff7303df3b6150c9788cb75dcf6747247132b9f5","hashType":"data","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0x96b198fb5ddbd1eed57ed667068f1f1e55d07907b4c0dbd38675a69ea1b69824","index":0},"depType":"code"}}]}},"spore_cluster":{"name":"spore_cluster","script":{"codeHash":"0x7366a61534fa7c7e6225ecc0d828ea3b5366adec2b58206f2ee84995fe030075","hashType":"data","cellDeps":[{"cellDep":{"outPoint":{"txHash":"0xe464b7fb9311c5e2820e61c99afc615d6b98bdefbe318c34868c010cbd0dc938","index":0},"depType":"code"}}]}}}}')}}]);
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.