evm-contracts-tools 0.0.83 → 0.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/evm-contract-call/evm-contract-call.js +1 -1
- package/dist/evm-contract-call/fs-worker.js +1 -1
- package/dist/evm-contract-deployment-abi/evm-contract-deployment-abi.js +1 -1
- package/dist/evm-contract-deployment-abi/fs-worker.js +1 -1
- package/dist/evm-contract-deployment-address/evm-contract-deployment-address.js +1 -1
- package/dist/evm-contract-deployment-address/fs-worker.js +1 -1
- package/dist/evm-contract-deployment-bytecode/evm-contract-deployment-bytecode.js +1 -1
- package/dist/evm-contract-deployment-bytecode/fs-worker.js +1 -1
- package/dist/evm-contract-deployment-compiler-output/evm-contract-deployment-compiler-output.js +1 -1
- package/dist/evm-contract-deployment-compiler-output/fs-worker.js +1 -1
- package/dist/evm-contract-deployment-deployment-networks +1 -1
- package/dist/evm-contract-deployment-networks/evm-contract-deployment-networks.js +1 -1
- package/dist/evm-contract-deployment-versions/evm-contract-deployment-versions.js +1 -1
- package/dist/evm-contract-deployment-versions/fs-worker.js +1 -1
- package/dist/evm-contract-deployments-dir/evm-contract-deployments-dir.js +1 -1
- package/dist/evm-contract-deployments-dir/fs-worker.js +1 -1
- package/dist/evm-contracts-tools/evm-contracts-tools.js +1 -1
- package/dist/evm-contracts-tools/fs-worker.js +1 -1
- package/dist/libevm-contract-call/fs-worker.js +1 -1
- package/dist/libevm-contract-call/libevm-contract-call.js +1 -1
- package/dist/libevm-contract-deployment-abi/fs-worker.js +1 -1
- package/dist/libevm-contract-deployment-abi/libevm-contract-deployment-abi.js +1 -1
- package/dist/libevm-contract-deployment-address/fs-worker.js +1 -1
- package/dist/libevm-contract-deployment-address/libevm-contract-deployment-address.js +1 -1
- package/dist/libevm-contract-deployment-bytecode/fs-worker.js +1 -1
- package/dist/libevm-contract-deployment-bytecode/libevm-contract-deployment-bytecode.js +1 -1
- package/dist/libevm-contract-deployment-compiler-output/fs-worker.js +1 -1
- package/dist/libevm-contract-deployment-compiler-output/libevm-contract-deployment-compiler-output.js +1 -1
- package/dist/libevm-contract-deployment-deployment-networks +1 -1
- package/dist/libevm-contract-deployment-networks/libevm-contract-deployment-networks.js +1 -1
- package/dist/libevm-contract-deployment-versions/fs-worker.js +1 -1
- package/dist/libevm-contract-deployment-versions/libevm-contract-deployment-versions.js +1 -1
- package/dist/libevm-contract-deployments-dir/fs-worker.js +1 -1
- package/dist/libevm-contract-deployments-dir/libevm-contract-deployments-dir.js +1 -1
- package/dist/libevm-contracts-tools +1 -1
- package/lib/contract-get +96 -0
- package/package.json +11 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={114(e,t,o){o.a(e,async(e,r)=>{try{o.d(t,{_evm_contract_deployment_bytecode:()=>
|
|
1
|
+
(()=>{"use strict";var e={114(e,t,o){o.a(e,async(e,r)=>{try{o.d(t,{_evm_contract_deployment_bytecode:()=>b});const n=await o.e(35).then(()=>o(35)),i=(n._basename,n._chmod,n._cp,n._dir_exists,n._echo2),c=n._file_exists,a=(n._file_read,n._from_bash_ass_array,n._homedir_get,n._json_read,n._lib_get,n._mkdir,n._msg_info),s=n._msg_error,l=(n._override_set,n._path_join),d=(n._pwd,n._require),p=((await d("evm-chains-info"))._evm_chains_info,await o.e(486).then(()=>o(486))),u=(p._contract_version_auto_detect,p._deployments_dir_auto_detect,p._network_check),f=(p._networks_all_auto_detect,p._target_app_auto_detect,p._user_deployments_check),h=p._user_defined_check,_=p._version_check,y=(await o.e(419).then(()=>o(419)))._evm_contract_deployments_dir,m=(await o.e(822).then(()=>o(822)))._evm_contract_deployment_networks;async function w(e,t,o,r,n,d,p,u){let f,h,y,m,w,b,g;const k=[r,n];for(b of(g=!1,m=!1,k)){if(h=!1,y=!1,b.length<1?(w=`Empty value network '${b}', skipping.`,a(w)):h=!0,h){g=!0,w=`Getting bytecode for network '${b}'.`,a(w);const r=[d,t,o,"",b,u,e,"",p];try{d=await _.apply(null,r)}catch(e){throw w="Error running '_version_check' with arguments:",s(w,0),i(r),i(e),e}w=`Checked version '${d}'.`,a(w),f=l([e,o,b,d,`${o}.bin`]),w=`Checking file '${f}'.`,a(w),c(f)?(m=!0,y=!0):(w=`Bytecode at path '${f}' not found.`,a(w))}if(y){w="File found, breaking loop.",a(w);break}}if(!m&&g)throw w=`No bytecode for network '${r}' deployment of contract '${o}' found at path '${e}'.`,s(w,0),w;const v=f;if(""==v||void 0===v||null==v)throw w=`No '${o}' version '${d}' contract deployment specified for network '${r}' for directory at path '${e}'.`,s(w,0),w;return w=`Got bytecode: '${v}'.`,a(w),v}async function b(e,t,o,r,n,c,l,d,p){let _,b,g,k,v,$,E,j,O,P;const x=[],A=[];l=h(l);const S=typeof p;if(g=!1,"undefined"===S?(P="Deployments directory undefined, getting.",a(P),g=!0):"string"===S&&p.length<1&&(P="Deployments directory not set, getting.",a(P),g=!0),g){const e=[r,l];try{p=await y.apply(null,e)}catch(e){throw P="Error while retrieving system deployments directory location for auto-detection.",s(P,0),s(e,0),e}}if("n"==l){if(""==r)throw P="A target application needs to be specified with option '-a' if not enabling user-defined deployments with '-u' and specifying a deployments directory path with '-d'.",s(P,0),P;if(O=await y(r,l),p!=O)throw P="To set a custom deployments directory path you need to enable the user-defined deployments switch with '-u'."+s(P,0),P}else{if("y"!=l)throw P=`The 'user-defined' switch argument can be 'y' or 'n', current value '${l}'.`,s(P,0),P;""!=r&&(j=await y(r,l)),p!=j?(P=`Using custom deployments directory path '${p}'.`,a(P)):f(r,p)}for(k of("y"==o&&(P="Selecting all networks.",a(P),e=await m(`${p}/${n}`,o)),e))k.length<1?(P="Empty network, skipping.",a(P)):(E="",v=[p,n,k,""],await u.apply(null,v),A.push([p,r,n,k,"",c,d,l]));for(k of t)k.length<1?(P="Empty network, skipping.",a(P)):($="",v=[p,n,"",k],await u.apply(null,v),A.push([p,r,n,"",k,c,d,l]));for(_ of A){try{b=await w.apply(null,_)}catch(e){throw P="Error running '_contract_bytecode_get' with parameters:",s(P,0),i(_),i(e),e}x.push(b)}return x}r()}catch(g){r(g)}},1)}};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.m=e,(()=>{const e=Symbol("webpack queues"),t=Symbol("webpack exports"),r=Symbol("webpack error"),n=e=>{e?.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))};o.a=(o,i,c)=>{let a;c&&((a=[]).d=-1);const s=new Set,l=o.exports;let d,p,u;const f=new Promise((e,t)=>{u=t,p=e});f[t]=l,f[e]=e=>(a&&e(a),s.forEach(e),f.catch(e=>{})),o.exports=f,i(o=>{let i;d=(o=>o.map(o=>{if(o&&"object"==typeof o){if(o[e])return o;if(o.then){const i=[];i.d=0,o.then(e=>{c[t]=e,n(i)},e=>{c[r]=e,n(i)});const c={};return c[e]=e=>e(i),c}}return{[e]:e=>{},[t]:o}}))(o);const c=()=>d.map(e=>{if(e[r])throw e[r];return e[t]}),l=new Promise(t=>{i=()=>t(c),i.r=0;const o=e=>e!==a&&!s.has(e)&&(s.add(e),e&&!e.d&&(i.r++,e.push(i)));d.forEach(t=>t[e](o))});return i.r?l:c()},e=>(e?u(f[r]=e):p(l),n(a))),a?.d<0&&(a.d=0)}})(),(()=>{const e=Object.getPrototypeOf;let t;o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}const i=Object.create(null);o.r(i);const c=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var a=2&n&&r;("object"==typeof a||"function"==typeof a)&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(e=>c[e]=()=>r[e]);return c.default=()=>r,o.d(i,c),i}})(),o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;r<t.length;){var n=t[r++],i=t[r++],c=i?{enumerable:!0,get:i}:{enumerable:!0,value:t[r++]};o.o(e,n)||Object.defineProperty(e,n,c)}else for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>e+".libevm-contract-deployment-bytecode.js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="evm-contracts-tools:";o.l=(r,n,i,c)=>{if(e[r])return void e[r].push(n);let a,s;if(void 0!==i){const e=document.getElementsByTagName("script");for(var l=0;l<e.length;l++){const o=e[l];if(o.getAttribute("src")==r||o.getAttribute("data-webpack")==t+i){a=o;break}}}a||(s=!0,a=document.createElement("script"),a.charset="utf-8",o.nc&&a.setAttribute("nonce",o.nc),a.setAttribute("data-webpack",t+i),a.src=r),e[r]=[n];const d=(t,o)=>{a.onerror=a.onload=null,clearTimeout(p);const n=e[r];if(delete e[r],a.parentNode?.removeChild(a),n?.forEach(e=>e(o)),t)return t(o)},p=setTimeout(d.bind(0,0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(0,a.onerror),a.onload=d.bind(0,a.onload),s&&document.head.appendChild(a)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:"Module"},__esModule:{value:!0}})},(()=>{let e;if("undefined"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName("script");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else"undefined"!=typeof importScripts&&(e=location+"");if(!e)throw new Error("Automatic publicPath is not supported in this browser");o.p=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/")})(),(()=>{const e={792:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const i=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=i);const c=new Error,a=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&("load"===r.type?"missing":r.type),o=r?.target?.src;c.message="Loading chunk "+t+" failed.\n("+e+": "+o+")",c.name="ChunkLoadError",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),a,"chunk-"+t,t)}};const t=(t,r)=>{let[n,i,c]=r;var a,s,l=0;if(n.some(t=>0!==e[t])){for(a in i)o.o(i,a)&&(o.m[a]=i[a]);c&&c(o)}for(t&&t(r);l<n.length;l++)s=n[l],o.o(e,s)&&e[s]&&e[s][0](),e[s]=0},r=Array.isArray(self.webpackChunkevm_contracts_tools)?self.webpackChunkevm_contracts_tools:self.webpackChunkevm_contracts_tools=[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),o(114)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={314(e,t,r){r.a(e,async(e,t)=>{try{(0,(await r.e(10).then(()=>r(10))).startSyncAgent)(),t()}catch(e){t(e)}},1)}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const
|
|
1
|
+
(()=>{"use strict";var e={314(e,t,r){r.a(e,async(e,t)=>{try{(0,(await r.e(10).then(()=>r(10))).startSyncAgent)(),t()}catch(e){t(e)}},1)}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const s=t[o]={exports:{}};return e[o](s,s.exports,r),s.exports}r.m=e,(()=>{const e=Symbol("webpack queues"),t=Symbol("webpack exports"),o=Symbol("webpack error"),n=e=>{e?.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))};r.a=(r,s,c)=>{let a;c&&((a=[]).d=-1);const i=new Set,l=r.exports;let u,p,d;const f=new Promise((e,t)=>{d=t,p=e});f[t]=l,f[e]=e=>(a&&e(a),i.forEach(e),f.catch(e=>{})),r.exports=f,s(r=>{let s;u=(r=>r.map(r=>{if(r&&"object"==typeof r){if(r[e])return r;if(r.then){const s=[];s.d=0,r.then(e=>{c[t]=e,n(s)},e=>{c[o]=e,n(s)});const c={};return c[e]=e=>e(s),c}}return{[e]:e=>{},[t]:r}}))(r);const c=()=>u.map(e=>{if(e[o])throw e[o];return e[t]}),l=new Promise(t=>{s=()=>t(c),s.r=0;const r=e=>e!==a&&!i.has(e)&&(i.add(e),e&&!e.d&&(s.r++,e.push(s)));u.forEach(t=>t[e](r))});return s.r?l:c()},e=>(e?d(f[o]=e):p(l),n(a))),a?.d<0&&(a.d=0)}})(),r.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var n=t[o++],s=t[o++],c=s?{enumerable:!0,get:s}:{enumerable:!0,value:t[o++]};r.o(e,n)||Object.defineProperty(e,n,c)}else for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>{const t=[];return r.f.j(e,t),Promise.all(t)},r.u=e=>e+".fs-worker.js",r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="evm-contracts-tools:";r.l=(o,n,s,c)=>{if(e[o])return void e[o].push(n);let a,i;if(void 0!==s){const e=document.getElementsByTagName("script");for(var l=0;l<e.length;l++){const r=e[l];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==t+s){a=r;break}}}a||(i=!0,a=document.createElement("script"),a.charset="utf-8",r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",t+s),a.src=o),e[o]=[n];const u=(t,r)=>{a.onerror=a.onload=null,clearTimeout(p);const n=e[o];if(delete e[o],a.parentNode?.removeChild(a),n?.forEach(e=>e(r)),t)return t(r)},p=setTimeout(u.bind(0,0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(0,a.onerror),a.onload=u.bind(0,a.onload),i&&document.head.appendChild(a)}})(),r.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:"Module"},__esModule:{value:!0}})},(()=>{let e;if("undefined"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName("script");let r=t.length;for(;r&&(!e||!/^https?:/.test(e));)e=t[--r].src}}else"undefined"!=typeof importScripts&&(e=location+"");if(!e)throw new Error("Automatic publicPath is not supported in this browser");r.p=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/")})(),(()=>{const e={792:0};r.f.j=(t,o)=>{let n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else{const s=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=s);const c=new Error,a=o=>{if(r.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=o&&("load"===o.type?"missing":o.type),r=o?.target?.src;c.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",c.name="ChunkLoadError",c.type=e,c.request=r,c.event=o,n[1](c)}};r.l(r.p+r.u(t),a,"chunk-"+t,t)}};const t=(t,o)=>{let[n,s,c]=o;var a,i,l=0;if(n.some(t=>0!==e[t])){for(a in s)r.o(s,a)&&(r.m[a]=s[a]);c&&c(r)}for(t&&t(o);l<n.length;l++)i=n[l],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0},o=Array.isArray(self.webpackChunkevm_contracts_tools)?self.webpackChunkevm_contracts_tools:self.webpackChunkevm_contracts_tools=[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),r(314)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var t={306(t,e,o){o.a(t,async(t,r)=>{try{o.d(e,{_evm_contract_deployment_compiler_output:()=>b});const n=await o.e(35).then(()=>o(35)),i=(n._basename,n._chmod,n._cp,n._dir_exists,n._echo2),c=n._file_exists,a=(n._file_read,n._from_bash_ass_array,n._get),s=(n._homedir_get,n._json_read,n._lib_get,n._mkdir,n._msg_info),l=n._msg_error,p=(n._override_set,n._path_join),u=(n._pwd,n._require),d=((await u("evm-chains-info"))._evm_chains_info,await o.e(486).then(()=>o(486))),f=(d._contract_version_auto_detect,d._deployments_dir_auto_detect,d._network_check),h=(d._networks_all_auto_detect,d._target_app_auto_detect,d._user_deployments_check),
|
|
1
|
+
(()=>{"use strict";var t={306(t,e,o){o.a(t,async(t,r)=>{try{o.d(e,{_evm_contract_deployment_compiler_output:()=>b});const n=await o.e(35).then(()=>o(35)),i=(n._basename,n._chmod,n._cp,n._dir_exists,n._echo2),c=n._file_exists,a=(n._file_read,n._from_bash_ass_array,n._get),s=(n._homedir_get,n._json_read,n._lib_get,n._mkdir,n._msg_info),l=n._msg_error,p=(n._override_set,n._path_join),u=(n._pwd,n._require),d=((await u("evm-chains-info"))._evm_chains_info,await o.e(486).then(()=>o(486))),f=(d._contract_version_auto_detect,d._deployments_dir_auto_detect,d._network_check),h=(d._networks_all_auto_detect,d._target_app_auto_detect,d._user_deployments_check),m=d._user_defined_check,_=d._version_check,y=(await o.e(419).then(()=>o(419)))._evm_contract_deployments_dir,w=(await o.e(822).then(()=>o(822)))._evm_contract_deployment_networks;async function g(t,e,o,r,n,u,d,f){let h,m,y,w,g,b,k;const v=[r,n];for(b of(k=!1,w=!1,v)){if(y=!1,h=!1,b.length<1?(g=`Empty value network '${b}', skipping.`,s(g)):y=!0,y){k=!0,g=`Getting compiler output for network '${b}'.`,s(g);const r=[u,e,o,"",b,f,t,"",d];try{u=await _.apply(null,r)}catch(t){throw g="Error running '_version_check' with arguments:",l(g,0),i(r),i(t),t}g=`Checked version '${u}'.`,s(g),m=p([t,o,b,u,`${o}.json`]),g=`Checking file '${m}'.`,s(g),c(m)?(w=!0,h=!0):(g=`Compiler output at path '${m}' not found.`,s(g))}if(h){g="File found, breaking loop.",s(g);break}}if(!w&&k){let e;g=`No network '${r}' deployment configuration (hardhat compiler output) for contract '${o}' found at path '${t}'.`,e=!1;const n=a("contract","abi"),i=a("contract","bytecode");throw"string"==typeof n&&"string"==typeof i&&0<n.length&&0<i.length&&(c(n)&&c(i)?e=!0:g=`Either contract abi '${n}' or contract bytecode '${i}' do not exist, so a missing compiler output will trigger an error.`),e?s(g):l(g,0),g}const $=m;if(""===$||null==$)throw g=`No '${o}' version '${u}' contract deployment compiler output for network '${r}' found at directory with path '${t}'.`,l(g,0),g;return g=`Got compiler output: '${$}'.`,s(g),$}async function b(t,e,o,r,n,c,a,p,u){let d,_,b,k,v,$,E,j,O,x;const P=[],A=[];a=m(a);const C=typeof u;if(b=!1,"undefined"===C?(x="Deployments directory undefined, getting.",s(x),b=!0):"string"===C&&u.length<1&&(x="Deployments directory not set, getting.",s(x),b=!0),b){const t=[r,a];try{u=await y.apply(null,t)}catch(t){throw x="Error while retrieving system deployments directory location for auto-detection.",l(x,0),l(t,0),t}}if("n"==a){if(""==r)throw x="A target application needs to be specified with option '-a' if not enabling user-defined deployments with '-u' and specifying a deployments directory path with '-d'.",l(x,0),x;if(O=await y(r,a),u!=O)throw x="To set a custom deployments directory path you need to enable the user-defined deployments switch with '-u'."+l(x,0),x}else{if("y"!=a)throw x=`The 'user-defined' switch argument can be 'y' or 'n', current value '${a}'.`,l(x,0),x;""!=r&&(j=await y(r,a)),u!=j?(x=`Using custom deployments directory path '${u}'.`,s(x)):h(r,u)}for(k of("y"==o&&(x="Selecting all networks.",s(x),t=await w(`${u}/${n}`,o)),t))k.length<1?(x="Empty network, skipping.",s(x)):(E="",v=[u,n,k,""],await f.apply(null,v),A.push([u,r,n,k,"",c,p,a]));for(k of e)k.length<1?(x="Empty network, skipping.",s(x)):($="",v=[u,n,"",k],await f.apply(null,v),A.push([u,r,n,"",k,c,p,a]));for(d of A){try{_=await g.apply(null,d)}catch(t){throw x="Error running '_contract_compiler_output_get' with parameters:",l(x,0),i(d),i(t),t}P.push(_)}return P}r()}catch(k){r(k)}},1)}};const e={};function o(r){const n=e[r];if(void 0!==n)return n.exports;const i=e[r]={exports:{}};return t[r](i,i.exports,o),i.exports}o.m=t,(()=>{const t=Symbol("webpack queues"),e=Symbol("webpack exports"),r=Symbol("webpack error"),n=t=>{t?.d<1&&(t.d=1,t.forEach(t=>t.r--),t.forEach(t=>t.r--?t.r++:t()))};o.a=(o,i,c)=>{let a;c&&((a=[]).d=-1);const s=new Set,l=o.exports;let p,u,d;const f=new Promise((t,e)=>{d=e,u=t});f[e]=l,f[t]=t=>(a&&t(a),s.forEach(t),f.catch(t=>{})),o.exports=f,i(o=>{let i;p=(o=>o.map(o=>{if(o&&"object"==typeof o){if(o[t])return o;if(o.then){const i=[];i.d=0,o.then(t=>{c[e]=t,n(i)},t=>{c[r]=t,n(i)});const c={};return c[t]=t=>t(i),c}}return{[t]:t=>{},[e]:o}}))(o);const c=()=>p.map(t=>{if(t[r])throw t[r];return t[e]}),l=new Promise(e=>{i=()=>e(c),i.r=0;const o=t=>t!==a&&!s.has(t)&&(s.add(t),t&&!t.d&&(i.r++,t.push(i)));p.forEach(e=>e[t](o))});return i.r?l:c()},t=>(t?d(f[r]=t):u(l),n(a))),a?.d<0&&(a.d=0)}})(),(()=>{const t=Object.getPrototypeOf;let e;o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}const i=Object.create(null);o.r(i);const c=Object.create(null);e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&r;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(t=>c[t]=()=>r[t]);return c.default=()=>r,o.d(i,c),i}})(),o.d=(t,e)=>{if(Array.isArray(e))for(var r=0;r<e.length;){var n=e[r++],i=e[r++],c=i?{enumerable:!0,get:i}:{enumerable:!0,value:e[r++]};o.o(t,n)||Object.defineProperty(t,n,c)}else for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.f={},o.e=t=>{const e=[];return o.f.j(t,e),Promise.all(e)},o.u=t=>t+".libevm-contract-deployment-compiler-output.js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{const t={},e="evm-contracts-tools:";o.l=(r,n,i,c)=>{if(t[r])return void t[r].push(n);let a,s;if(void 0!==i){const t=document.getElementsByTagName("script");for(var l=0;l<t.length;l++){const o=t[l];if(o.getAttribute("src")==r||o.getAttribute("data-webpack")==e+i){a=o;break}}}a||(s=!0,a=document.createElement("script"),a.charset="utf-8",o.nc&&a.setAttribute("nonce",o.nc),a.setAttribute("data-webpack",e+i),a.src=r),t[r]=[n];const p=(e,o)=>{a.onerror=a.onload=null,clearTimeout(u);const n=t[r];if(delete t[r],a.parentNode?.removeChild(a),n?.forEach(t=>t(o)),e)return e(o)},u=setTimeout(p.bind(0,0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(0,a.onerror),a.onload=p.bind(0,a.onload),s&&document.head.appendChild(a)}})(),o.r=t=>{Object.defineProperties(t,{[Symbol.toStringTag]:{value:"Module"},__esModule:{value:!0}})},(()=>{let t;if("undefined"!=typeof document){const e=document.currentScript;if((!e||/^script$/i.test(e.tagName))&&(t=e?.src,!t)){const e=document.getElementsByTagName("script");let o=e.length;for(;o&&(!t||!/^https?:/.test(t));)t=e[--o].src}}else"undefined"!=typeof importScripts&&(t=location+"");if(!t)throw new Error("Automatic publicPath is not supported in this browser");o.p=t.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/")})(),(()=>{const t={792:0};o.f.j=(e,r)=>{let n=o.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else{const i=new Promise((o,r)=>n=t[e]=[o,r]);r.push(n[2]=i);const c=new Error,a=r=>{if(o.o(t,e)&&(n=t[e],0!==n&&(t[e]=void 0),n)){const t=r&&("load"===r.type?"missing":r.type),o=r?.target?.src;c.message="Loading chunk "+e+" failed.\n("+t+": "+o+")",c.name="ChunkLoadError",c.type=t,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(e),a,"chunk-"+e,e)}};const e=(e,r)=>{let[n,i,c]=r;var a,s,l=0;if(n.some(e=>0!==t[e])){for(a in i)o.o(i,a)&&(o.m[a]=i[a]);c&&c(o)}for(e&&e(r);l<n.length;l++)s=n[l],o.o(t,s)&&t[s]&&t[s][0](),t[s]=0},r=Array.isArray(self.webpackChunkevm_contracts_tools)?self.webpackChunkevm_contracts_tools:self.webpackChunkevm_contracts_tools=[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})(),o(306)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={314(e,t,r){r.a(e,async(e,t)=>{try{(0,(await r.e(10).then(()=>r(10))).startSyncAgent)(),t()}catch(e){t(e)}},1)}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const
|
|
1
|
+
(()=>{"use strict";var e={314(e,t,r){r.a(e,async(e,t)=>{try{(0,(await r.e(10).then(()=>r(10))).startSyncAgent)(),t()}catch(e){t(e)}},1)}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const s=t[o]={exports:{}};return e[o](s,s.exports,r),s.exports}r.m=e,(()=>{const e=Symbol("webpack queues"),t=Symbol("webpack exports"),o=Symbol("webpack error"),n=e=>{e?.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))};r.a=(r,s,c)=>{let a;c&&((a=[]).d=-1);const i=new Set,l=r.exports;let u,p,d;const f=new Promise((e,t)=>{d=t,p=e});f[t]=l,f[e]=e=>(a&&e(a),i.forEach(e),f.catch(e=>{})),r.exports=f,s(r=>{let s;u=(r=>r.map(r=>{if(r&&"object"==typeof r){if(r[e])return r;if(r.then){const s=[];s.d=0,r.then(e=>{c[t]=e,n(s)},e=>{c[o]=e,n(s)});const c={};return c[e]=e=>e(s),c}}return{[e]:e=>{},[t]:r}}))(r);const c=()=>u.map(e=>{if(e[o])throw e[o];return e[t]}),l=new Promise(t=>{s=()=>t(c),s.r=0;const r=e=>e!==a&&!i.has(e)&&(i.add(e),e&&!e.d&&(s.r++,e.push(s)));u.forEach(t=>t[e](r))});return s.r?l:c()},e=>(e?d(f[o]=e):p(l),n(a))),a?.d<0&&(a.d=0)}})(),r.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var n=t[o++],s=t[o++],c=s?{enumerable:!0,get:s}:{enumerable:!0,value:t[o++]};r.o(e,n)||Object.defineProperty(e,n,c)}else for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>{const t=[];return r.f.j(e,t),Promise.all(t)},r.u=e=>e+".fs-worker.js",r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="evm-contracts-tools:";r.l=(o,n,s,c)=>{if(e[o])return void e[o].push(n);let a,i;if(void 0!==s){const e=document.getElementsByTagName("script");for(var l=0;l<e.length;l++){const r=e[l];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==t+s){a=r;break}}}a||(i=!0,a=document.createElement("script"),a.charset="utf-8",r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",t+s),a.src=o),e[o]=[n];const u=(t,r)=>{a.onerror=a.onload=null,clearTimeout(p);const n=e[o];if(delete e[o],a.parentNode?.removeChild(a),n?.forEach(e=>e(r)),t)return t(r)},p=setTimeout(u.bind(0,0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(0,a.onerror),a.onload=u.bind(0,a.onload),i&&document.head.appendChild(a)}})(),r.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:"Module"},__esModule:{value:!0}})},(()=>{let e;if("undefined"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName("script");let r=t.length;for(;r&&(!e||!/^https?:/.test(e));)e=t[--r].src}}else"undefined"!=typeof importScripts&&(e=location+"");if(!e)throw new Error("Automatic publicPath is not supported in this browser");r.p=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/")})(),(()=>{const e={792:0};r.f.j=(t,o)=>{let n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else{const s=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=s);const c=new Error,a=o=>{if(r.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=o&&("load"===o.type?"missing":o.type),r=o?.target?.src;c.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",c.name="ChunkLoadError",c.type=e,c.request=r,c.event=o,n[1](c)}};r.l(r.p+r.u(t),a,"chunk-"+t,t)}};const t=(t,o)=>{let[n,s,c]=o;var a,i,l=0;if(n.some(t=>0!==e[t])){for(a in s)r.o(s,a)&&(r.m[a]=s[a]);c&&c(r)}for(t&&t(o);l<n.length;l++)i=n[l],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0},o=Array.isArray(self.webpackChunkevm_contracts_tools)?self.webpackChunkevm_contracts_tools:self.webpackChunkevm_contracts_tools=[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),r(314)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={822(e,t,r){r.a(e,async(e,o)=>{try{r.d(t,{_evm_contract_deployment_networks:()=>p});const n=await r.e(35).then(()=>r(35)),c=n._dir_exists,s=(n._file_exists,n._homedir_get,n._json_read,n._lib_get,n._ls),i=n._msg_error,a=(n._msg_info,n._msg_warning),l=(n._path_join,n._require),u=n._stat;async function f(e){let t,r,o;const n=[],i=await s(e);for(t of i)o=`${e}/${t}`,r=c(o),r?n.push(t):(a(`There shouldn't be the file '${t}' into this directory.`),u(o));return n}async function p(e,t,r,o){return"object"==typeof e&&i("Deployment directory argument must be of type 'string'.",1),await f(e)}(await r.e(486).then(()=>r(486)))._network_check,(await r.e(419).then(()=>r(419)))._evm_contract_deployments_dir,(await l("evm-chains-info"))._evm_chains_info,o()}catch(d){o(d)}},1)}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const c=t[o]={exports:{}};return e[o](c,c.exports,r),c.exports}r.m=e,(()=>{const e=Symbol("webpack queues"),t=Symbol("webpack exports"),o=Symbol("webpack error"),n=e=>{e?.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))};r.a=(r,c,s)=>{let i;s&&((i=[]).d=-1);const a=new Set,l=r.exports;let u,f,p;const d=new Promise((e,t)=>{p=t,f=e});d[t]=l,d[e]=e=>(i&&e(i),a.forEach(e),d.catch(e=>{})),r.exports=d,c(r=>{let c;u=(r=>r.map(r=>{if(
|
|
1
|
+
(()=>{"use strict";var e={822(e,t,r){r.a(e,async(e,o)=>{try{r.d(t,{_evm_contract_deployment_networks:()=>p});const n=await r.e(35).then(()=>r(35)),c=n._dir_exists,s=(n._file_exists,n._homedir_get,n._json_read,n._lib_get,n._ls),i=n._msg_error,a=(n._msg_info,n._msg_warning),l=(n._path_join,n._require),u=n._stat;async function f(e){let t,r,o;const n=[],i=await s(e);for(t of i)o=`${e}/${t}`,r=c(o),r?n.push(t):(a(`There shouldn't be the file '${t}' into this directory.`),u(o));return n}async function p(e,t,r,o){return"object"==typeof e&&i("Deployment directory argument must be of type 'string'.",1),await f(e)}(await r.e(486).then(()=>r(486)))._network_check,(await r.e(419).then(()=>r(419)))._evm_contract_deployments_dir,(await l("evm-chains-info"))._evm_chains_info,o()}catch(d){o(d)}},1)}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const c=t[o]={exports:{}};return e[o](c,c.exports,r),c.exports}r.m=e,(()=>{const e=Symbol("webpack queues"),t=Symbol("webpack exports"),o=Symbol("webpack error"),n=e=>{e?.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))};r.a=(r,c,s)=>{let i;s&&((i=[]).d=-1);const a=new Set,l=r.exports;let u,f,p;const d=new Promise((e,t)=>{p=t,f=e});d[t]=l,d[e]=e=>(i&&e(i),a.forEach(e),d.catch(e=>{})),r.exports=d,c(r=>{let c;u=(r=>r.map(r=>{if(r&&"object"==typeof r){if(r[e])return r;if(r.then){const c=[];c.d=0,r.then(e=>{s[t]=e,n(c)},e=>{s[o]=e,n(c)});const s={};return s[e]=e=>e(c),s}}return{[e]:e=>{},[t]:r}}))(r);const s=()=>u.map(e=>{if(e[o])throw e[o];return e[t]}),l=new Promise(t=>{c=()=>t(s),c.r=0;const r=e=>e!==i&&!a.has(e)&&(a.add(e),e&&!e.d&&(c.r++,e.push(c)));u.forEach(t=>t[e](r))});return c.r?l:s()},e=>(e?p(d[o]=e):f(l),n(i))),i?.d<0&&(i.d=0)}})(),(()=>{const e=Object.getPrototypeOf;let t;r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}const c=Object.create(null);r.r(c);const s=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var i=2&n&&o;("object"==typeof i||"function"==typeof i)&&!~t.indexOf(i);i=e(i))Object.getOwnPropertyNames(i).forEach(e=>s[e]=()=>o[e]);return s.default=()=>o,r.d(c,s),c}})(),r.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var n=t[o++],c=t[o++],s=c?{enumerable:!0,get:c}:{enumerable:!0,value:t[o++]};r.o(e,n)||Object.defineProperty(e,n,s)}else for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>{const t=[];return r.f.j(e,t),Promise.all(t)},r.u=e=>e+".libevm-contract-deployment-networks.js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="evm-contracts-tools:";r.l=(o,n,c,s)=>{if(e[o])return void e[o].push(n);let i,a;if(void 0!==c){const e=document.getElementsByTagName("script");for(var l=0;l<e.length;l++){const r=e[l];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==t+c){i=r;break}}}i||(a=!0,i=document.createElement("script"),i.charset="utf-8",r.nc&&i.setAttribute("nonce",r.nc),i.setAttribute("data-webpack",t+c),i.src=o),e[o]=[n];const u=(t,r)=>{i.onerror=i.onload=null,clearTimeout(f);const n=e[o];if(delete e[o],i.parentNode?.removeChild(i),n?.forEach(e=>e(r)),t)return t(r)},f=setTimeout(u.bind(0,0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(0,i.onerror),i.onload=u.bind(0,i.onload),a&&document.head.appendChild(i)}})(),r.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:"Module"},__esModule:{value:!0}})},(()=>{let e;if("undefined"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName("script");let r=t.length;for(;r&&(!e||!/^https?:/.test(e));)e=t[--r].src}}else"undefined"!=typeof importScripts&&(e=location+"");if(!e)throw new Error("Automatic publicPath is not supported in this browser");r.p=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/")})(),(()=>{const e={792:0};r.f.j=(t,o)=>{let n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else{const c=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=c);const s=new Error,i=o=>{if(r.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=o&&("load"===o.type?"missing":o.type),r=o?.target?.src;s.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",s.name="ChunkLoadError",s.type=e,s.request=r,s.event=o,n[1](s)}};r.l(r.p+r.u(t),i,"chunk-"+t,t)}};const t=(t,o)=>{let[n,c,s]=o;var i,a,l=0;if(n.some(t=>0!==e[t])){for(i in c)r.o(c,i)&&(r.m[i]=c[i]);s&&s(r)}for(t&&t(o);l<n.length;l++)a=n[l],r.o(e,a)&&e[a]&&e[a][0](),e[a]=0},o=Array.isArray(self.webpackChunkevm_contracts_tools)?self.webpackChunkevm_contracts_tools:self.webpackChunkevm_contracts_tools=[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),r(822)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={314(e,t,r){r.a(e,async(e,t)=>{try{(0,(await r.e(10).then(()=>r(10))).startSyncAgent)(),t()}catch(e){t(e)}},1)}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const
|
|
1
|
+
(()=>{"use strict";var e={314(e,t,r){r.a(e,async(e,t)=>{try{(0,(await r.e(10).then(()=>r(10))).startSyncAgent)(),t()}catch(e){t(e)}},1)}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const s=t[o]={exports:{}};return e[o](s,s.exports,r),s.exports}r.m=e,(()=>{const e=Symbol("webpack queues"),t=Symbol("webpack exports"),o=Symbol("webpack error"),n=e=>{e?.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))};r.a=(r,s,c)=>{let a;c&&((a=[]).d=-1);const i=new Set,l=r.exports;let u,p,d;const f=new Promise((e,t)=>{d=t,p=e});f[t]=l,f[e]=e=>(a&&e(a),i.forEach(e),f.catch(e=>{})),r.exports=f,s(r=>{let s;u=(r=>r.map(r=>{if(r&&"object"==typeof r){if(r[e])return r;if(r.then){const s=[];s.d=0,r.then(e=>{c[t]=e,n(s)},e=>{c[o]=e,n(s)});const c={};return c[e]=e=>e(s),c}}return{[e]:e=>{},[t]:r}}))(r);const c=()=>u.map(e=>{if(e[o])throw e[o];return e[t]}),l=new Promise(t=>{s=()=>t(c),s.r=0;const r=e=>e!==a&&!i.has(e)&&(i.add(e),e&&!e.d&&(s.r++,e.push(s)));u.forEach(t=>t[e](r))});return s.r?l:c()},e=>(e?d(f[o]=e):p(l),n(a))),a?.d<0&&(a.d=0)}})(),r.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var n=t[o++],s=t[o++],c=s?{enumerable:!0,get:s}:{enumerable:!0,value:t[o++]};r.o(e,n)||Object.defineProperty(e,n,c)}else for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>{const t=[];return r.f.j(e,t),Promise.all(t)},r.u=e=>e+".fs-worker.js",r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="evm-contracts-tools:";r.l=(o,n,s,c)=>{if(e[o])return void e[o].push(n);let a,i;if(void 0!==s){const e=document.getElementsByTagName("script");for(var l=0;l<e.length;l++){const r=e[l];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==t+s){a=r;break}}}a||(i=!0,a=document.createElement("script"),a.charset="utf-8",r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",t+s),a.src=o),e[o]=[n];const u=(t,r)=>{a.onerror=a.onload=null,clearTimeout(p);const n=e[o];if(delete e[o],a.parentNode?.removeChild(a),n?.forEach(e=>e(r)),t)return t(r)},p=setTimeout(u.bind(0,0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(0,a.onerror),a.onload=u.bind(0,a.onload),i&&document.head.appendChild(a)}})(),r.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:"Module"},__esModule:{value:!0}})},(()=>{let e;if("undefined"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName("script");let r=t.length;for(;r&&(!e||!/^https?:/.test(e));)e=t[--r].src}}else"undefined"!=typeof importScripts&&(e=location+"");if(!e)throw new Error("Automatic publicPath is not supported in this browser");r.p=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/")})(),(()=>{const e={792:0};r.f.j=(t,o)=>{let n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else{const s=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=s);const c=new Error,a=o=>{if(r.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=o&&("load"===o.type?"missing":o.type),r=o?.target?.src;c.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",c.name="ChunkLoadError",c.type=e,c.request=r,c.event=o,n[1](c)}};r.l(r.p+r.u(t),a,"chunk-"+t,t)}};const t=(t,o)=>{let[n,s,c]=o;var a,i,l=0;if(n.some(t=>0!==e[t])){for(a in s)r.o(s,a)&&(r.m[a]=s[a]);c&&c(r)}for(t&&t(o);l<n.length;l++)i=n[l],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0},o=Array.isArray(self.webpackChunkevm_contracts_tools)?self.webpackChunkevm_contracts_tools:self.webpackChunkevm_contracts_tools=[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),r(314)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var
|
|
1
|
+
(()=>{"use strict";var e={724(e,t,o){o.a(e,async(e,r)=>{try{o.r(t),o.d(t,{_configuration_format_auto_detect:()=>f,_configuration_format_get:()=>l,_evm_contract_deployment_versions:()=>d});const n=await o.e(35).then(()=>o(35)),c=n._file_read,s=n._from_bash_ass_array,a=n._json_read,i=(n._msg_info,n._msg_error),u=await o.e(486).then(()=>o(486)),f=u._configuration_format_auto_detect,l=u._configuration_format_get;function d(e,t,o,r){let n,u,f;if(void 0!==r&&""!=r||(r="json"),"json"==r)n=a(e),u="contract-address";else{if("bash"!=r){const e=`Unknown configuration format '${r}'.`;throw i(e,0),e}n=s(c(e)),u="contract_address"}const l=n[u];return f=Object.keys(l),"y"==t&&(f=f.reverse()[0]),"y"==o&&(f=f.sort()[0]),f}r()}catch(p){r(p)}},1)}};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const c=t[r]={exports:{}};return e[r](c,c.exports,o),c.exports}o.m=e,(()=>{const e=Symbol("webpack queues"),t=Symbol("webpack exports"),r=Symbol("webpack error"),n=e=>{e?.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))};o.a=(o,c,s)=>{let a;s&&((a=[]).d=-1);const i=new Set,u=o.exports;let f,l,d;const p=new Promise((e,t)=>{d=t,l=e});p[t]=u,p[e]=e=>(a&&e(a),i.forEach(e),p.catch(e=>{})),o.exports=p,c(o=>{let c;f=(o=>o.map(o=>{if(o&&"object"==typeof o){if(o[e])return o;if(o.then){const c=[];c.d=0,o.then(e=>{s[t]=e,n(c)},e=>{s[r]=e,n(c)});const s={};return s[e]=e=>e(c),s}}return{[e]:e=>{},[t]:o}}))(o);const s=()=>f.map(e=>{if(e[r])throw e[r];return e[t]}),u=new Promise(t=>{c=()=>t(s),c.r=0;const o=e=>e!==a&&!i.has(e)&&(i.add(e),e&&!e.d&&(c.r++,e.push(c)));f.forEach(t=>t[e](o))});return c.r?u:s()},e=>(e?d(p[r]=e):l(u),n(a))),a?.d<0&&(a.d=0)}})(),(()=>{const e=Object.getPrototypeOf;let t;o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}const c=Object.create(null);o.r(c);const s=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var a=2&n&&r;("object"==typeof a||"function"==typeof a)&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>r[e]);return s.default=()=>r,o.d(c,s),c}})(),o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;r<t.length;){var n=t[r++],c=t[r++],s=c?{enumerable:!0,get:c}:{enumerable:!0,value:t[r++]};o.o(e,n)||Object.defineProperty(e,n,s)}else for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>e+".libevm-contract-deployment-versions.js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="evm-contracts-tools:";o.l=(r,n,c,s)=>{if(e[r])return void e[r].push(n);let a,i;if(void 0!==c){const e=document.getElementsByTagName("script");for(var u=0;u<e.length;u++){const o=e[u];if(o.getAttribute("src")==r||o.getAttribute("data-webpack")==t+c){a=o;break}}}a||(i=!0,a=document.createElement("script"),a.charset="utf-8",o.nc&&a.setAttribute("nonce",o.nc),a.setAttribute("data-webpack",t+c),a.src=r),e[r]=[n];const f=(t,o)=>{a.onerror=a.onload=null,clearTimeout(l);const n=e[r];if(delete e[r],a.parentNode?.removeChild(a),n?.forEach(e=>e(o)),t)return t(o)},l=setTimeout(f.bind(0,0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(0,a.onerror),a.onload=f.bind(0,a.onload),i&&document.head.appendChild(a)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:"Module"},__esModule:{value:!0}})},(()=>{let e;if("undefined"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName("script");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else"undefined"!=typeof importScripts&&(e=location+"");if(!e)throw new Error("Automatic publicPath is not supported in this browser");o.p=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/")})(),(()=>{const e={792:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const c=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=c);const s=new Error,a=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&("load"===r.type?"missing":r.type),o=r?.target?.src;s.message="Loading chunk "+t+" failed.\n("+e+": "+o+")",s.name="ChunkLoadError",s.type=e,s.request=o,s.event=r,n[1](s)}};o.l(o.p+o.u(t),a,"chunk-"+t,t)}};const t=(t,r)=>{let[n,c,s]=r;var a,i,u=0;if(n.some(t=>0!==e[t])){for(a in c)o.o(c,a)&&(o.m[a]=c[a]);s&&s(o)}for(t&&t(r);u<n.length;u++)i=n[u],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=Array.isArray(self.webpackChunkevm_contracts_tools)?self.webpackChunkevm_contracts_tools:self.webpackChunkevm_contracts_tools=[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),o(724)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={314(e,t,r){r.a(e,async(e,t)=>{try{(0,(await r.e(10).then(()=>r(10))).startSyncAgent)(),t()}catch(e){t(e)}},1)}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const
|
|
1
|
+
(()=>{"use strict";var e={314(e,t,r){r.a(e,async(e,t)=>{try{(0,(await r.e(10).then(()=>r(10))).startSyncAgent)(),t()}catch(e){t(e)}},1)}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const s=t[o]={exports:{}};return e[o](s,s.exports,r),s.exports}r.m=e,(()=>{const e=Symbol("webpack queues"),t=Symbol("webpack exports"),o=Symbol("webpack error"),n=e=>{e?.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))};r.a=(r,s,c)=>{let a;c&&((a=[]).d=-1);const i=new Set,l=r.exports;let u,p,d;const f=new Promise((e,t)=>{d=t,p=e});f[t]=l,f[e]=e=>(a&&e(a),i.forEach(e),f.catch(e=>{})),r.exports=f,s(r=>{let s;u=(r=>r.map(r=>{if(r&&"object"==typeof r){if(r[e])return r;if(r.then){const s=[];s.d=0,r.then(e=>{c[t]=e,n(s)},e=>{c[o]=e,n(s)});const c={};return c[e]=e=>e(s),c}}return{[e]:e=>{},[t]:r}}))(r);const c=()=>u.map(e=>{if(e[o])throw e[o];return e[t]}),l=new Promise(t=>{s=()=>t(c),s.r=0;const r=e=>e!==a&&!i.has(e)&&(i.add(e),e&&!e.d&&(s.r++,e.push(s)));u.forEach(t=>t[e](r))});return s.r?l:c()},e=>(e?d(f[o]=e):p(l),n(a))),a?.d<0&&(a.d=0)}})(),r.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var n=t[o++],s=t[o++],c=s?{enumerable:!0,get:s}:{enumerable:!0,value:t[o++]};r.o(e,n)||Object.defineProperty(e,n,c)}else for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>{const t=[];return r.f.j(e,t),Promise.all(t)},r.u=e=>e+".fs-worker.js",r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="evm-contracts-tools:";r.l=(o,n,s,c)=>{if(e[o])return void e[o].push(n);let a,i;if(void 0!==s){const e=document.getElementsByTagName("script");for(var l=0;l<e.length;l++){const r=e[l];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==t+s){a=r;break}}}a||(i=!0,a=document.createElement("script"),a.charset="utf-8",r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",t+s),a.src=o),e[o]=[n];const u=(t,r)=>{a.onerror=a.onload=null,clearTimeout(p);const n=e[o];if(delete e[o],a.parentNode?.removeChild(a),n?.forEach(e=>e(r)),t)return t(r)},p=setTimeout(u.bind(0,0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(0,a.onerror),a.onload=u.bind(0,a.onload),i&&document.head.appendChild(a)}})(),r.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:"Module"},__esModule:{value:!0}})},(()=>{let e;if("undefined"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName("script");let r=t.length;for(;r&&(!e||!/^https?:/.test(e));)e=t[--r].src}}else"undefined"!=typeof importScripts&&(e=location+"");if(!e)throw new Error("Automatic publicPath is not supported in this browser");r.p=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/")})(),(()=>{const e={792:0};r.f.j=(t,o)=>{let n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else{const s=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=s);const c=new Error,a=o=>{if(r.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=o&&("load"===o.type?"missing":o.type),r=o?.target?.src;c.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",c.name="ChunkLoadError",c.type=e,c.request=r,c.event=o,n[1](c)}};r.l(r.p+r.u(t),a,"chunk-"+t,t)}};const t=(t,o)=>{let[n,s,c]=o;var a,i,l=0;if(n.some(t=>0!==e[t])){for(a in s)r.o(s,a)&&(r.m[a]=s[a]);c&&c(r)}for(t&&t(o);l<n.length;l++)i=n[l],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0},o=Array.isArray(self.webpackChunkevm_contracts_tools)?self.webpackChunkevm_contracts_tools:self.webpackChunkevm_contracts_tools=[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),r(314)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={419(e,t,r){r.a(e,async(e,o)=>{try{r.d(t,{_evm_contract_deployments_dir:()=>
|
|
1
|
+
(()=>{"use strict";var e={419(e,t,r){r.a(e,async(e,o)=>{try{r.d(t,{_evm_contract_deployments_dir:()=>d});const n=await r.e(35).then(()=>r(35)),s=n._homedir_get,c=n._lib_get,i=(n._msg_info,n._msg_error),a=await r.e(486).then(()=>r(486)),u=a._app_check,l=a._user_level_check;async function f(e,t){let r;return e=u(e),void 0!==t&&""!=t||(t="system"),"system"==t?r=await c():"user"==t&&(r=`${s()}/.config`),`${r}/${e}/deployments`}async function d(e,t){let r,o,n;if(e=u(e,!1),"n"==(t=l(t)))r="system";else{if("y"!=t){const e="User level argument must be can be 'y' or 'n'.";throw i(e,0),e}r="user"}try{o=await f(e,r)}catch(e){throw n="Error running '_default_deployments_dir_get' with arguments:",i("Error running '_default_deployments_dir_get' with arguments:",0),e}return o}o()}catch(p){o(p)}},1)}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const s=t[o]={exports:{}};return e[o](s,s.exports,r),s.exports}r.m=e,(()=>{const e=Symbol("webpack queues"),t=Symbol("webpack exports"),o=Symbol("webpack error"),n=e=>{e?.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))};r.a=(r,s,c)=>{let i;c&&((i=[]).d=-1);const a=new Set,u=r.exports;let l,f,d;const p=new Promise((e,t)=>{d=t,f=e});p[t]=u,p[e]=e=>(i&&e(i),a.forEach(e),p.catch(e=>{})),r.exports=p,s(r=>{let s;l=(r=>r.map(r=>{if(r&&"object"==typeof r){if(r[e])return r;if(r.then){const s=[];s.d=0,r.then(e=>{c[t]=e,n(s)},e=>{c[o]=e,n(s)});const c={};return c[e]=e=>e(s),c}}return{[e]:e=>{},[t]:r}}))(r);const c=()=>l.map(e=>{if(e[o])throw e[o];return e[t]}),u=new Promise(t=>{s=()=>t(c),s.r=0;const r=e=>e!==i&&!a.has(e)&&(a.add(e),e&&!e.d&&(s.r++,e.push(s)));l.forEach(t=>t[e](r))});return s.r?u:c()},e=>(e?d(p[o]=e):f(u),n(i))),i?.d<0&&(i.d=0)}})(),(()=>{const e=Object.getPrototypeOf;let t;r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}const s=Object.create(null);r.r(s);const c=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var i=2&n&&o;("object"==typeof i||"function"==typeof i)&&!~t.indexOf(i);i=e(i))Object.getOwnPropertyNames(i).forEach(e=>c[e]=()=>o[e]);return c.default=()=>o,r.d(s,c),s}})(),r.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var n=t[o++],s=t[o++],c=s?{enumerable:!0,get:s}:{enumerable:!0,value:t[o++]};r.o(e,n)||Object.defineProperty(e,n,c)}else for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>{const t=[];return r.f.j(e,t),Promise.all(t)},r.u=e=>e+".libevm-contract-deployments-dir.js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="evm-contracts-tools:";r.l=(o,n,s,c)=>{if(e[o])return void e[o].push(n);let i,a;if(void 0!==s){const e=document.getElementsByTagName("script");for(var u=0;u<e.length;u++){const r=e[u];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==t+s){i=r;break}}}i||(a=!0,i=document.createElement("script"),i.charset="utf-8",r.nc&&i.setAttribute("nonce",r.nc),i.setAttribute("data-webpack",t+s),i.src=o),e[o]=[n];const l=(t,r)=>{i.onerror=i.onload=null,clearTimeout(f);const n=e[o];if(delete e[o],i.parentNode?.removeChild(i),n?.forEach(e=>e(r)),t)return t(r)},f=setTimeout(l.bind(0,0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(0,i.onerror),i.onload=l.bind(0,i.onload),a&&document.head.appendChild(i)}})(),r.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:"Module"},__esModule:{value:!0}})},(()=>{let e;if("undefined"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName("script");let r=t.length;for(;r&&(!e||!/^https?:/.test(e));)e=t[--r].src}}else"undefined"!=typeof importScripts&&(e=location+"");if(!e)throw new Error("Automatic publicPath is not supported in this browser");r.p=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/")})(),(()=>{const e={792:0};r.f.j=(t,o)=>{let n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else{const s=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=s);const c=new Error,i=o=>{if(r.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=o&&("load"===o.type?"missing":o.type),r=o?.target?.src;c.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",c.name="ChunkLoadError",c.type=e,c.request=r,c.event=o,n[1](c)}};r.l(r.p+r.u(t),i,"chunk-"+t,t)}};const t=(t,o)=>{let[n,s,c]=o;var i,a,u=0;if(n.some(t=>0!==e[t])){for(i in s)r.o(s,i)&&(r.m[i]=s[i]);c&&c(r)}for(t&&t(o);u<n.length;u++)a=n[u],r.o(e,a)&&e[a]&&e[a][0](),e[a]=0},o=Array.isArray(self.webpackChunkevm_contracts_tools)?self.webpackChunkevm_contracts_tools:self.webpackChunkevm_contracts_tools=[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),r(419)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={314(e,t,r){r.a(e,async(e,t)=>{try{(0,(await r.e(10).then(()=>r(10))).startSyncAgent)(),t()}catch(e){t(e)}},1)}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const
|
|
1
|
+
(()=>{"use strict";var e={314(e,t,r){r.a(e,async(e,t)=>{try{(0,(await r.e(10).then(()=>r(10))).startSyncAgent)(),t()}catch(e){t(e)}},1)}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const s=t[o]={exports:{}};return e[o](s,s.exports,r),s.exports}r.m=e,(()=>{const e=Symbol("webpack queues"),t=Symbol("webpack exports"),o=Symbol("webpack error"),n=e=>{e?.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))};r.a=(r,s,c)=>{let a;c&&((a=[]).d=-1);const i=new Set,l=r.exports;let u,p,d;const f=new Promise((e,t)=>{d=t,p=e});f[t]=l,f[e]=e=>(a&&e(a),i.forEach(e),f.catch(e=>{})),r.exports=f,s(r=>{let s;u=(r=>r.map(r=>{if(r&&"object"==typeof r){if(r[e])return r;if(r.then){const s=[];s.d=0,r.then(e=>{c[t]=e,n(s)},e=>{c[o]=e,n(s)});const c={};return c[e]=e=>e(s),c}}return{[e]:e=>{},[t]:r}}))(r);const c=()=>u.map(e=>{if(e[o])throw e[o];return e[t]}),l=new Promise(t=>{s=()=>t(c),s.r=0;const r=e=>e!==a&&!i.has(e)&&(i.add(e),e&&!e.d&&(s.r++,e.push(s)));u.forEach(t=>t[e](r))});return s.r?l:c()},e=>(e?d(f[o]=e):p(l),n(a))),a?.d<0&&(a.d=0)}})(),r.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var n=t[o++],s=t[o++],c=s?{enumerable:!0,get:s}:{enumerable:!0,value:t[o++]};r.o(e,n)||Object.defineProperty(e,n,c)}else for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>{const t=[];return r.f.j(e,t),Promise.all(t)},r.u=e=>e+".fs-worker.js",r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="evm-contracts-tools:";r.l=(o,n,s,c)=>{if(e[o])return void e[o].push(n);let a,i;if(void 0!==s){const e=document.getElementsByTagName("script");for(var l=0;l<e.length;l++){const r=e[l];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==t+s){a=r;break}}}a||(i=!0,a=document.createElement("script"),a.charset="utf-8",r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",t+s),a.src=o),e[o]=[n];const u=(t,r)=>{a.onerror=a.onload=null,clearTimeout(p);const n=e[o];if(delete e[o],a.parentNode?.removeChild(a),n?.forEach(e=>e(r)),t)return t(r)},p=setTimeout(u.bind(0,0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(0,a.onerror),a.onload=u.bind(0,a.onload),i&&document.head.appendChild(a)}})(),r.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:"Module"},__esModule:{value:!0}})},(()=>{let e;if("undefined"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName("script");let r=t.length;for(;r&&(!e||!/^https?:/.test(e));)e=t[--r].src}}else"undefined"!=typeof importScripts&&(e=location+"");if(!e)throw new Error("Automatic publicPath is not supported in this browser");r.p=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/")})(),(()=>{const e={792:0};r.f.j=(t,o)=>{let n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else{const s=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=s);const c=new Error,a=o=>{if(r.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=o&&("load"===o.type?"missing":o.type),r=o?.target?.src;c.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",c.name="ChunkLoadError",c.type=e,c.request=r,c.event=o,n[1](c)}};r.l(r.p+r.u(t),a,"chunk-"+t,t)}};const t=(t,o)=>{let[n,s,c]=o;var a,i,l=0;if(n.some(t=>0!==e[t])){for(a in s)r.o(s,a)&&(r.m[a]=s[a]);c&&c(r)}for(t&&t(o);l<n.length;l++)i=n[l],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0},o=Array.isArray(self.webpackChunkevm_contracts_tools)?self.webpackChunkevm_contracts_tools:self.webpackChunkevm_contracts_tools=[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),r(314)})();
|
package/lib/contract-get
CHANGED
|
@@ -449,6 +449,86 @@ async function
|
|
|
449
449
|
return _contract;
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
+
function
|
|
453
|
+
_api_key_path_check(
|
|
454
|
+
_api_key_path) {
|
|
455
|
+
let
|
|
456
|
+
_api_key_path_empty,
|
|
457
|
+
_msg;
|
|
458
|
+
_api_key_path_empty =
|
|
459
|
+
false;
|
|
460
|
+
const
|
|
461
|
+
_api_key_path_type =
|
|
462
|
+
typeof(
|
|
463
|
+
_api_key_path);
|
|
464
|
+
if ( _api_key_path_type === "undefined" ) {
|
|
465
|
+
_api_key_path_empty =
|
|
466
|
+
true;
|
|
467
|
+
}
|
|
468
|
+
else if ( _api_key_path_type === "string" ) {
|
|
469
|
+
if ( _api_key_path.length < 1 ) {
|
|
470
|
+
_api_key_path_empty =
|
|
471
|
+
true;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
else if ( _api_key_path_type === "number" ) {
|
|
475
|
+
_api_key_path =
|
|
476
|
+
String(
|
|
477
|
+
_api_key_path);
|
|
478
|
+
}
|
|
479
|
+
else if ( _api_key_path_type === "object" ) {
|
|
480
|
+
_api_key_path_keys =
|
|
481
|
+
Object.keys(
|
|
482
|
+
_api_key_path);
|
|
483
|
+
if ( _api_key_path_keys.length < 1 ) {
|
|
484
|
+
_api_key_path_empty =
|
|
485
|
+
true;
|
|
486
|
+
}
|
|
487
|
+
else {
|
|
488
|
+
_msg =
|
|
489
|
+
"RPC API key path variable " +
|
|
490
|
+
"has type 'object', but " +
|
|
491
|
+
"it should be a path string. " +
|
|
492
|
+
"Current value:";
|
|
493
|
+
_msg_error(
|
|
494
|
+
_msg,
|
|
495
|
+
0);
|
|
496
|
+
_echo2(
|
|
497
|
+
_api_key_path);
|
|
498
|
+
throw _msg;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
else {
|
|
502
|
+
_msg =
|
|
503
|
+
"RPC API key path variable " +
|
|
504
|
+
`has type '${_api_key_path_type}', but ` +
|
|
505
|
+
"it should be a path string.";
|
|
506
|
+
_msg_error(
|
|
507
|
+
_msg,
|
|
508
|
+
0);
|
|
509
|
+
throw _msg;
|
|
510
|
+
}
|
|
511
|
+
if ( _api_key_path_empty ) {
|
|
512
|
+
_api_key_path =
|
|
513
|
+
"";
|
|
514
|
+
}
|
|
515
|
+
if ( _api_key_path != "" ) {
|
|
516
|
+
if ( ! _file_exists(
|
|
517
|
+
_api_key_path) ) {
|
|
518
|
+
_msg =
|
|
519
|
+
"The API key file at location " +
|
|
520
|
+
`'${_api_key_path}' does not exist, `,
|
|
521
|
+
"setting an empty string instead.";
|
|
522
|
+
_msg_error(
|
|
523
|
+
_msg,
|
|
524
|
+
0);
|
|
525
|
+
_api_key_path =
|
|
526
|
+
"";
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
return _api_key_path;
|
|
530
|
+
}
|
|
531
|
+
|
|
452
532
|
async function
|
|
453
533
|
_contract_get(
|
|
454
534
|
_wallet_seed,
|
|
@@ -470,6 +550,22 @@ async function
|
|
|
470
550
|
_wallet_get_opts,
|
|
471
551
|
_wallet_path_list,
|
|
472
552
|
_wallet_path;
|
|
553
|
+
try {
|
|
554
|
+
_api_key =
|
|
555
|
+
_api_key_path_check(
|
|
556
|
+
_api_key_path);
|
|
557
|
+
}
|
|
558
|
+
catch(
|
|
559
|
+
_error) {
|
|
560
|
+
_msg =
|
|
561
|
+
"Error running '_api_key_path_check'.";
|
|
562
|
+
_msg_error(
|
|
563
|
+
_msg,
|
|
564
|
+
0);
|
|
565
|
+
_echo2(
|
|
566
|
+
_error);
|
|
567
|
+
throw _error;
|
|
568
|
+
}
|
|
473
569
|
if ( _api_key_path != "" ) {
|
|
474
570
|
_api_key =
|
|
475
571
|
_file_read(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{ "name": "evm-contracts-tools",
|
|
2
2
|
"version":
|
|
3
|
-
"0.0.
|
|
3
|
+
"0.0.85",
|
|
4
4
|
"description":
|
|
5
5
|
"JavaScript programs and libraries to enable seamless development of native computer applications designed to interact with Ethereum Virtual Machine-compatible networks.",
|
|
6
6
|
"funding": {
|
|
@@ -100,11 +100,11 @@
|
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"crash-js-webpack":
|
|
103
|
-
"^0.0.
|
|
103
|
+
"^0.0.89",
|
|
104
104
|
"brace-expansion":
|
|
105
105
|
"^5.0.9",
|
|
106
106
|
"eslint":
|
|
107
|
-
"^10.
|
|
107
|
+
"^10.14.0",
|
|
108
108
|
"@eslint/js":
|
|
109
109
|
"^10.0.1",
|
|
110
110
|
"fast-uri":
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"globals":
|
|
113
113
|
"^17.3.0",
|
|
114
114
|
"safely-serve":
|
|
115
|
-
"^0.0.
|
|
115
|
+
"^0.0.26",
|
|
116
116
|
"webpack":
|
|
117
117
|
"^5.109.2",
|
|
118
118
|
"webpack-cli":
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
},
|
|
121
121
|
"dependencies": {
|
|
122
122
|
"libcrash-js":
|
|
123
|
-
"npm:crash-js@^
|
|
123
|
+
"npm:crash-js@^1000000000000026.1000000000000001.1000000000000001",
|
|
124
124
|
"ethers":
|
|
125
125
|
"^6.13.2",
|
|
126
126
|
"evm-chains-info":
|
|
@@ -128,9 +128,9 @@
|
|
|
128
128
|
"evm-transactions-tools":
|
|
129
129
|
"^0.1.10000000000001",
|
|
130
130
|
"evm-wallet":
|
|
131
|
-
"npm:evm-wallet.js@^0.0.
|
|
131
|
+
"npm:evm-wallet.js@^0.0.104",
|
|
132
132
|
"libevm":
|
|
133
|
-
"^0.0.
|
|
133
|
+
"^0.0.56",
|
|
134
134
|
"ws":
|
|
135
135
|
"^8.21.0",
|
|
136
136
|
"yargs":
|
|
@@ -138,15 +138,15 @@
|
|
|
138
138
|
},
|
|
139
139
|
"overrides": {
|
|
140
140
|
"libcrash-js":
|
|
141
|
-
"npm:crash-js@^
|
|
141
|
+
"npm:crash-js@^1000000000000026.1000000000000001.1000000000000001",
|
|
142
142
|
"evm-contracts-tools":
|
|
143
143
|
"./evm-contracts-tools",
|
|
144
144
|
"evm-wallet":
|
|
145
|
-
"npm:evm-wallet.js@^0.0.
|
|
145
|
+
"npm:evm-wallet.js@^0.0.104",
|
|
146
146
|
"evm-wallet.js":
|
|
147
|
-
"npm:evm-wallet.js@^0.0.
|
|
147
|
+
"npm:evm-wallet.js@^0.0.104",
|
|
148
148
|
"libevm":
|
|
149
|
-
"^0.0.
|
|
149
|
+
"^0.0.56"
|
|
150
150
|
},
|
|
151
151
|
"type":
|
|
152
152
|
"module",
|