evm-contracts-tools 0.0.64 → 0.0.67

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.
Files changed (27) hide show
  1. package/README.md +13 -1
  2. package/dist/evm-contract-call/evm-contract-call.js +1 -1
  3. package/dist/evm-contract-deployment-abi/evm-contract-deployment-abi.js +1 -1
  4. package/dist/evm-contract-deployment-address/evm-contract-deployment-address.js +1 -1
  5. package/dist/evm-contract-deployment-bytecode/evm-contract-deployment-bytecode.js +1 -1
  6. package/dist/evm-contract-deployment-compiler-output/evm-contract-deployment-compiler-output.js +1 -1
  7. package/dist/evm-contract-deployment-networks/evm-contract-deployment-networks.js +1 -1
  8. package/dist/evm-contract-deployment-versions/evm-contract-deployment-versions.js +1 -1
  9. package/dist/evm-contract-deployments-dir/evm-contract-deployments-dir.js +1 -1
  10. package/dist/evm-contracts-tools/evm-contracts-tools.js +1 -1
  11. package/dist/libevm-contract-call/libevm-contract-call.js +1 -1
  12. package/dist/libevm-contract-deployment-abi/libevm-contract-deployment-abi.js +1 -1
  13. package/dist/libevm-contract-deployment-address/libevm-contract-deployment-address.js +1 -1
  14. package/dist/libevm-contract-deployment-bytecode/libevm-contract-deployment-bytecode.js +1 -1
  15. package/dist/libevm-contract-deployment-compiler-output/libevm-contract-deployment-compiler-output.js +1 -1
  16. package/dist/libevm-contract-deployment-networks/libevm-contract-deployment-networks.js +1 -1
  17. package/dist/libevm-contract-deployment-versions/libevm-contract-deployment-versions.js +1 -1
  18. package/dist/libevm-contract-deployments-dir/libevm-contract-deployments-dir.js +1 -1
  19. package/evm-contracts-tools +522 -0
  20. package/libevm-contract-call +158 -146
  21. package/libevm-contract-deployment +60 -12
  22. package/libevm-contract-deployment-abi +3 -0
  23. package/libevm-contract-deployment-address +1 -0
  24. package/libevm-contract-deployment-bytecode +1 -0
  25. package/libevm-contract-deployment-compiler-output +3 -0
  26. package/libevm-contract-deployment-networks +4 -62
  27. package/package.json +9 -9
@@ -1 +1 @@
1
- (()=>{"use strict";var t={1679(t,e,r){r.a(t,async(t,e)=>{try{const t=await r.e(35).then(()=>r(5035)),o=(t._dir_exists,t._dirname,t._echo,t._echo2,t._file_exists,t._get,t._global_get,t._homedir_get,t._json_read,t._lib_get,t._ls,t._msg_info,t._msg_error,t._override_set,t._path_join,t._range,t._require),n=(t._set,await r.e(486).then(()=>r(9486))),c=(n._contract_abi_auto_detect,n._contract_abi_check,n._contract_address_auto_detect,n._contract_address_check,n._contract_bytecode_auto_detect,n._contract_bytecode_check,n._contract_compiler_output_auto_detect,n._contract_compiler_output_check,n._default_artifact_path_get,n._deployments_dir_auto_detect,n._target_contract_auto_detect,n._target_contract_check,await r.e(204).then(()=>r(6204)));c._address_check,c._contract_call_static,c._contract_run,(await r.e(825).then(()=>r(2825)))._evm_contract_deployment_address,(await r.e(499).then(()=>r(5499)))._evm_contract_deployment_abi,(await r.e(114).then(()=>r(7114)))._evm_contract_deployment_bytecode,(await r.e(306).then(()=>r(8306)))._evm_contract_deployment_compiler_output,(await r.e(419).then(()=>r(1419)))._evm_contract_deployments_dir,(await o("ethereum-data"))._data_get,e()}catch(t){e(t)}},1)}};const e={};function r(o){const n=e[o];if(void 0!==n)return n.exports;const c=e[o]={exports:{}};return t[o](c,c.exports,r),c.exports}r.m=t,(()=>{const t=Symbol("webpack queues"),e=Symbol("webpack exports"),o=Symbol("webpack error"),n=t=>{t?.d<1&&(t.d=1,t.forEach(t=>t.r--),t.forEach(t=>t.r--?t.r++:t()))};r.a=(r,c,a)=>{let s;a&&((s=[]).d=-1);const i=new Set,_=r.exports;let l,u,d;const p=new Promise((t,e)=>{d=e,u=t});p[e]=_,p[t]=t=>(s&&t(s),i.forEach(t),p.catch(t=>{})),r.exports=p,c(r=>{let c;l=(r=>r.map(r=>{if(null!==r&&"object"==typeof r){if(r[t])return r;if(r.then){const c=[];c.d=0,r.then(t=>{a[e]=t,n(c)},t=>{a[o]=t,n(c)});const a={};return a[t]=t=>t(c),a}}const c={};return c[t]=t=>{},c[e]=r,c}))(r);const a=()=>l.map(t=>{if(t[o])throw t[o];return t[e]}),_=new Promise(e=>{c=()=>e(a),c.r=0;const r=t=>t!==s&&!i.has(t)&&(i.add(t),t&&!t.d&&(c.r++,t.push(c)));l.forEach(e=>e[t](r))});return c.r?_:a()},t=>(t?d(p[o]=t):u(_),n(s))),s?.d<0&&(s.d=0)}})(),(()=>{const t=Object.getPrototypeOf;let e;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 a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(t=>a[t]=()=>o[t]);return a.default=()=>o,r.d(c,a),c}})(),r.d=(t,e)=>{if(Array.isArray(e))for(var o=0;o<e.length;){var n=e[o++],c=e[o++],a=0===c?{enumerable:!0,value:e[o++]}:{enumerable:!0,get:c};r.o(t,n)||Object.defineProperty(t,n,a)}else for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.f={},r.e=t=>{const e=[];return r.f.j(t,e),Promise.all(e)},r.u=t=>t+".libevm-contract-call.js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{const t={},e="evm-contracts-tools:";r.l=(o,n,c,a)=>{if(t[o])return void t[o].push(n);let s,i;if(void 0!==c){const t=document.getElementsByTagName("script");for(var _=0;_<t.length;_++){const r=t[_];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==e+c){s=r;break}}}s||(i=!0,s=document.createElement("script"),s.charset="utf-8",r.nc&&s.setAttribute("nonce",r.nc),s.setAttribute("data-webpack",e+c),s.src=o),t[o]=[n];const l=(e,r)=>{s.onerror=s.onload=null,clearTimeout(u);const n=t[o];if(delete t[o],s.parentNode?.removeChild(s),n?.forEach(t=>t(r)),e)return e(r)},u=setTimeout(l.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=l.bind(null,s.onerror),s.onload=l.bind(null,s.onload),i&&document.head.appendChild(s)}})(),r.r=t=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{let t;r.g.importScripts&&(t=r.g.location+"");const e=r.g.document;if(!t&&e&&("SCRIPT"===e.currentScript?.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){const r=e.getElementsByTagName("script");if(r.length){let e=r.length-1;for(;e>-1&&(!t||!/^https?:/.test(t));)t=r[e--].src}}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),r.p=t})(),(()=>{const t={792:0};r.f.j=(e,o)=>{let n=r.o(t,e)?t[e]:void 0;if(0!==n)if(n)o.push(n[2]);else{const c=new Promise((r,o)=>n=t[e]=[r,o]);o.push(n[2]=c);const a=new Error,s=o=>{if(r.o(t,e)&&(n=t[e],0!==n&&(t[e]=void 0),n)){const t=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;a.message="Loading chunk "+e+" failed.\n("+t+": "+r+")",a.name="ChunkLoadError",a.type=t,a.request=r,a.event=o,n[1](a)}};r.l(r.p+r.u(e),s,"chunk-"+e,e)}};const e=(e,o)=>{let[n,c,a]=o;var s,i,_=0;if(n.some(e=>0!==t[e])){for(s in c)r.o(c,s)&&(r.m[s]=c[s]);a&&a(r)}for(e&&e(o);_<n.length;_++)i=n[_],r.o(t,i)&&t[i]&&t[i][0](),t[i]=0},o=self.webpackChunkevm_contracts_tools=self.webpackChunkevm_contracts_tools||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})(),r(1679)})();
1
+ (()=>{"use strict";var t={679(t,e,r){r.a(t,async(t,e)=>{try{const t=await r.e(35).then(()=>r(35)),o=(t._dir_exists,t._dirname,t._echo,t._echo2,t._file_exists,t._get,t._global_get,t._homedir_get,t._json_read,t._lib_get,t._ls,t._msg_info,t._msg_error,t._override_set,t._path_join,t._range,t._require),n=(t._set,await r.e(486).then(()=>r(486)));n._contract_abi_auto_detect,n._contract_abi_check,n._contract_address_auto_detect,n._contract_address_check,n._contract_bytecode_auto_detect,n._contract_bytecode_check,n._contract_compiler_output_auto_detect,n._contract_compiler_output_check,n._default_artifact_path_get,n._deployments_dir_auto_detect,n._target_contract_auto_detect,n._target_contract_check,n._target_networks_auto_detect,(await r.e(29).then(()=>r(29)))._address_check,(await r.e(292).then(()=>r(292)))._contract_run,(await r.e(727).then(()=>r(727)))._contract_call_static,(await r.e(825).then(()=>r(825)))._evm_contract_deployment_address,(await r.e(499).then(()=>r(499)))._evm_contract_deployment_abi,(await r.e(114).then(()=>r(114)))._evm_contract_deployment_bytecode,(await r.e(306).then(()=>r(306)))._evm_contract_deployment_compiler_output,(await r.e(419).then(()=>r(419)))._evm_contract_deployments_dir,(await o("ethereum-data"))._data_get,e()}catch(t){e(t)}},1)}};const e={};function r(o){const n=e[o];if(void 0!==n)return n.exports;const c=e[o]={exports:{}};return t[o](c,c.exports,r),c.exports}r.m=t,(()=>{const t=Symbol("webpack queues"),e=Symbol("webpack exports"),o=Symbol("webpack error"),n=t=>{t?.d<1&&(t.d=1,t.forEach(t=>t.r--),t.forEach(t=>t.r--?t.r++:t()))};r.a=(r,c,a)=>{let i;a&&((i=[]).d=-1);const s=new Set,_=r.exports;let l,u,d;const p=new Promise((t,e)=>{d=e,u=t});p[e]=_,p[t]=t=>(i&&t(i),s.forEach(t),p.catch(t=>{})),r.exports=p,c(r=>{let c;l=(r=>r.map(r=>{if(null!==r&&"object"==typeof r){if(r[t])return r;if(r.then){const c=[];c.d=0,r.then(t=>{a[e]=t,n(c)},t=>{a[o]=t,n(c)});const a={};return a[t]=t=>t(c),a}}const c={};return c[t]=t=>{},c[e]=r,c}))(r);const a=()=>l.map(t=>{if(t[o])throw t[o];return t[e]}),_=new Promise(e=>{c=()=>e(a),c.r=0;const r=t=>t!==i&&!s.has(t)&&(s.add(t),t&&!t.d&&(c.r++,t.push(c)));l.forEach(e=>e[t](r))});return c.r?_:a()},t=>(t?d(p[o]=t):u(_),n(i))),i?.d<0&&(i.d=0)}})(),(()=>{const t=Object.getPrototypeOf;let e;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 a={};e=e||[null,t({}),t([]),t(t)];for(var i=2&n&&o;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>o[t]);return a.default=()=>o,r.d(c,a),c}})(),r.d=(t,e)=>{if(Array.isArray(e))for(var o=0;o<e.length;){var n=e[o++],c=e[o++],a=0===c?{enumerable:!0,value:e[o++]}:{enumerable:!0,get:c};r.o(t,n)||Object.defineProperty(t,n,a)}else for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.f={},r.e=t=>{const e=[];return r.f.j(t,e),Promise.all(e)},r.u=t=>t+".libevm-contract-call.js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{const t={},e="evm-contracts-tools:";r.l=(o,n,c,a)=>{if(t[o])return void t[o].push(n);let i,s;if(void 0!==c){const t=document.getElementsByTagName("script");for(var _=0;_<t.length;_++){const r=t[_];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==e+c){i=r;break}}}i||(s=!0,i=document.createElement("script"),i.charset="utf-8",r.nc&&i.setAttribute("nonce",r.nc),i.setAttribute("data-webpack",e+c),i.src=o),t[o]=[n];const l=(e,r)=>{i.onerror=i.onload=null,clearTimeout(u);const n=t[o];if(delete t[o],i.parentNode?.removeChild(i),n?.forEach(t=>t(r)),e)return e(r)},u=setTimeout(l.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),s&&document.head.appendChild(i)}})(),r.r=t=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{let t;r.g.importScripts&&(t=r.g.location+"");const e=r.g.document;if(!t&&e&&("SCRIPT"===e.currentScript?.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){const r=e.getElementsByTagName("script");if(r.length){let e=r.length-1;for(;e>-1&&(!t||!/^https?:/.test(t));)t=r[e--].src}}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),r.p=t})(),(()=>{const t={792:0};r.f.j=(e,o)=>{let n=r.o(t,e)?t[e]:void 0;if(0!==n)if(n)o.push(n[2]);else{const c=new Promise((r,o)=>n=t[e]=[r,o]);o.push(n[2]=c);const a=new Error,i=o=>{if(r.o(t,e)&&(n=t[e],0!==n&&(t[e]=void 0),n)){const t=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;a.message="Loading chunk "+e+" failed.\n("+t+": "+r+")",a.name="ChunkLoadError",a.type=t,a.request=r,a.event=o,n[1](a)}};r.l(r.p+r.u(e),i,"chunk-"+e,e)}};const e=(e,o)=>{let[n,c,a]=o;var i,s,_=0;if(n.some(e=>0!==t[e])){for(i in c)r.o(c,i)&&(r.m[i]=c[i]);a&&a(r)}for(e&&e(o);_<n.length;_++)s=n[_],r.o(t,s)&&t[s]&&t[s][0](),t[s]=0},o=self.webpackChunkevm_contracts_tools=self.webpackChunkevm_contracts_tools||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})(),r(679)})();
@@ -1 +1 @@
1
- (()=>{"use strict";var e={5499(e,t,o){o.a(e,async(e,r)=>{try{o.d(t,{_evm_contract_deployment_abi:()=>g});const n=await o.e(35).then(()=>o(5035)),i=(n._basename,n._chmod,n._cp,n._dir_exists,n._echo2),a=n._file_exists,c=(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),p=(n._pwd,n._require),u=((await p("evm-chains-info"))._evm_chains_info,await o.e(486).then(()=>o(9486))),d=(u._contract_version_auto_detect,u._deployments_dir_auto_detect,u._network_check),f=(u._networks_all_auto_detect,u._target_app_auto_detect,u._user_deployments_check),h=u._user_defined_check,_=u._version_check,m=(await o.e(419).then(()=>o(1419)))._evm_contract_deployments_dir,y=(await o.e(822).then(()=>o(2822)))._evm_contract_deployment_networks;async function w(e,t,o,r,n,p,u,d){let f,h,m,y,w,g,b;const v=[r,n];for(g of(b=!1,y=!1,v)){if(h=!1,m=!1,g.length<1?(w=`Empty value network '${g}', skipping.`,c(w)):h=!0,h){b=!0,w=`Getting ABI for network '${g}'.`,c(w);const r=[p,t,o,"",g,d,e,"",u];try{p=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 '${p}'.`,c(w),f=l([e,o,g,p,`${o}.abi.json`]),w=`Checking file '${f}'.`,c(w),a(f)?(y=!0,m=!0):(w=`ABI at path '${f}' not found.`,c(w))}if(m){w="File found, breaking loop.",c(w);break}}if(!y&&b)throw w=`No ABI file for '${r}' deployment of contract '${o}' found at path '${e}'.`,s(w,0),w;const k=f;if(""===k||null==k)throw w=`No '${o}' version '${p}' contract deployment specified for network '${r}' for directory at path '${e}'.`,s(w,0),w;return w=`Got ABI: '${k}'.`,c(w),k}async function g(e,t,o,r,n,a,l,p,u){let _,g,b,v,k,$,j,E,P,A;const O=[],S=[];l=h(l);const x=typeof u;if(b=!1,"undefined"===x?(A="Deployments directory undefined, getting.",c(A),b=!0):"string"===x&&u.length<1&&(A="Deployments directory not set, getting.",c(A),b=!0),b){const e=[r,l];try{u=await m.apply(null,e)}catch(e){throw A="Error while retrieving system deployments directory location for auto-detection.",s(A,0),s(e,0),e}}if("n"==l){if(""==r)throw A="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(A,0),A;if(P=await m(r,l),u!=P)throw A="To set a custom deployments directory path you need to enable the user-defined deployments switch with '-u'."+s(A,0),A}else{if("y"!=l)throw A=`The 'user-defined' switch argument can be 'y' or 'n', current value '${l}'.`,s(A,0),A;""!=r&&(E=await m(r,l)),u!=E?(A=`Using custom deployments directory path '${u}'.`,c(A)):f(r,u)}for(v of("y"==o&&(A="Selecting all networks.",c(A),e=await y(`${u}/${n}`,o)),e))v.length<1?(A="Empty network, skipping.",c(A)):(j="",k=[u,n,v,""],await d.apply(null,k),S.push([u,r,n,v,"",a,p,l]));for(v of t)v.length<1?(A="Empty network, skipping.",c(A)):($="",k=[u,n,"",v],await d.apply(null,k),S.push([u,r,n,"",v,a,p,l]));for(_ of S){try{g=await w.apply(null,_)}catch(e){throw A="Error running '_contract_abi_get' with parameters:",s(A,0),i(_),i(e),e}O.push(g)}return O}r()}catch(b){r(b)}},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,a)=>{let c;a&&((c=[]).d=-1);const s=new Set,l=o.exports;let p,u,d;const f=new Promise((e,t)=>{d=t,u=e});f[t]=l,f[e]=e=>(c&&e(c),s.forEach(e),f.catch(e=>{})),o.exports=f,i(o=>{let i;p=(o=>o.map(o=>{if(null!==o&&"object"==typeof o){if(o[e])return o;if(o.then){const i=[];i.d=0,o.then(e=>{a[t]=e,n(i)},e=>{a[r]=e,n(i)});const a={};return a[e]=e=>e(i),a}}const i={};return i[e]=e=>{},i[t]=o,i}))(o);const a=()=>p.map(e=>{if(e[r])throw e[r];return e[t]}),l=new Promise(t=>{i=()=>t(a),i.r=0;const o=e=>e!==c&&!s.has(e)&&(s.add(e),e&&!e.d&&(i.r++,e.push(i)));p.forEach(t=>t[e](o))});return i.r?l:a()},e=>(e?d(f[r]=e):u(l),n(c))),c?.d<0&&(c.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 a={};t=t||[null,e({}),e([]),e(e)];for(var c=2&n&&r;("object"==typeof c||"function"==typeof c)&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach(e=>a[e]=()=>r[e]);return a.default=()=>r,o.d(i,a),i}})(),o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;r<t.length;){var n=t[r++],i=t[r++],a=0===i?{enumerable:!0,value:t[r++]}:{enumerable:!0,get:i};o.o(e,n)||Object.defineProperty(e,n,a)}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-abi.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,a)=>{if(e[r])return void e[r].push(n);let c,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){c=o;break}}}c||(s=!0,c=document.createElement("script"),c.charset="utf-8",o.nc&&c.setAttribute("nonce",o.nc),c.setAttribute("data-webpack",t+i),c.src=r),e[r]=[n];const p=(t,o)=>{c.onerror=c.onload=null,clearTimeout(u);const n=e[r];if(delete e[r],c.parentNode?.removeChild(c),n?.forEach(e=>e(o)),t)return t(o)},u=setTimeout(p.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),s&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{let e;o.g.importScripts&&(e=o.g.location+"");const t=o.g.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const o=t.getElementsByTagName("script");if(o.length){let t=o.length-1;for(;t>-1&&(!e||!/^https?:/.test(e));)e=o[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),o.p=e})(),(()=>{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 a=new Error,c=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&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+e+": "+o+")",a.name="ChunkLoadError",a.type=e,a.request=o,a.event=r,n[1](a)}};o.l(o.p+o.u(t),c,"chunk-"+t,t)}};const t=(t,r)=>{let[n,i,a]=r;var c,s,l=0;if(n.some(t=>0!==e[t])){for(c in i)o.o(i,c)&&(o.m[c]=i[c]);a&&a(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=self.webpackChunkevm_contracts_tools=self.webpackChunkevm_contracts_tools||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),o(5499)})();
1
+ (()=>{"use strict";var e={499(e,t,o){o.a(e,async(e,r)=>{try{o.d(t,{_evm_contract_deployment_abi:()=>g});const n=await o.e(35).then(()=>o(35)),i=(n._basename,n._chmod,n._cp,n._dir_exists,n._echo2),a=n._file_exists,c=(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),p=(n._pwd,n._require),u=((await p("evm-chains-info"))._evm_chains_info,await o.e(486).then(()=>o(486))),d=(u._contract_version_auto_detect,u._deployments_dir_auto_detect,u._network_check),f=(u._networks_all_auto_detect,u._target_app_auto_detect,u._user_deployments_check),h=u._user_defined_check,_=u._version_check,m=(await o.e(419).then(()=>o(419)))._evm_contract_deployments_dir,y=(await o.e(822).then(()=>o(822)))._evm_contract_deployment_networks;async function w(e,t,o,r,n,p,u,d){let f,h,m,y,w,g,b;const v=[r,n];for(g of(b=!1,y=!1,v)){if(h=!1,m=!1,g.length<1?(w=`Empty value network '${g}', skipping.`,c(w)):h=!0,h){b=!0,w=`Getting ABI for network '${g}'.`,c(w);const r=[p,t,o,"",g,d,e,"",u];try{p=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 '${p}'.`,c(w),f=l([e,o,g,p,`${o}.abi.json`]),w=`Checking file '${f}'.`,c(w),a(f)?(y=!0,m=!0):(w=`ABI at path '${f}' not found.`,c(w))}if(m){w="File found, breaking loop.",c(w);break}}if(!y&&b)throw w=`No ABI file for '${r}' deployment of contract '${o}' found at path '${e}'.`,s(w,0),w;const k=f;if(""===k||null==k)throw w=`No '${o}' version '${p}' contract deployment specified for network '${r}' for directory at path '${e}'.`,s(w,0),w;return w=`Got ABI: '${k}'.`,c(w),k}async function g(e,t,o,r,n,a,l,p,u){let _,g,b,v,k,$,j,E,P,A;const O=[],S=[];l=h(l);const x=typeof u;if(b=!1,"undefined"===x?(A="Deployments directory undefined, getting.",c(A),b=!0):"string"===x&&u.length<1&&(A="Deployments directory not set, getting.",c(A),b=!0),b){const e=[r,l];try{u=await m.apply(null,e)}catch(e){throw A="Error while retrieving system deployments directory location for auto-detection.",s(A,0),s(e,0),e}}if("n"==l){if(""==r)throw A="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(A,0),A;if(P=await m(r,l),u!=P)throw A="To set a custom deployments directory path you need to enable the user-defined deployments switch with '-u'."+s(A,0),A}else{if("y"!=l)throw A=`The 'user-defined' switch argument can be 'y' or 'n', current value '${l}'.`,s(A,0),A;""!=r&&(E=await m(r,l)),u!=E?(A=`Using custom deployments directory path '${u}'.`,c(A)):f(r,u)}for(v of("y"==o&&(A="Selecting all networks.",c(A),e=await y(`${u}/${n}`,o)),e))v.length<1?(A="Empty network, skipping.",c(A)):(j="",k=[u,n,v,""],await d.apply(null,k),S.push([u,r,n,v,"",a,p,l]));for(v of t)v.length<1?(A="Empty network, skipping.",c(A)):($="",k=[u,n,"",v],await d.apply(null,k),S.push([u,r,n,"",v,a,p,l]));for(_ of S){try{g=await w.apply(null,_)}catch(e){throw A="Error running '_contract_abi_get' with parameters:",s(A,0),i(_),i(e),e}O.push(g)}return O}r()}catch(b){r(b)}},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,a)=>{let c;a&&((c=[]).d=-1);const s=new Set,l=o.exports;let p,u,d;const f=new Promise((e,t)=>{d=t,u=e});f[t]=l,f[e]=e=>(c&&e(c),s.forEach(e),f.catch(e=>{})),o.exports=f,i(o=>{let i;p=(o=>o.map(o=>{if(null!==o&&"object"==typeof o){if(o[e])return o;if(o.then){const i=[];i.d=0,o.then(e=>{a[t]=e,n(i)},e=>{a[r]=e,n(i)});const a={};return a[e]=e=>e(i),a}}const i={};return i[e]=e=>{},i[t]=o,i}))(o);const a=()=>p.map(e=>{if(e[r])throw e[r];return e[t]}),l=new Promise(t=>{i=()=>t(a),i.r=0;const o=e=>e!==c&&!s.has(e)&&(s.add(e),e&&!e.d&&(i.r++,e.push(i)));p.forEach(t=>t[e](o))});return i.r?l:a()},e=>(e?d(f[r]=e):u(l),n(c))),c?.d<0&&(c.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 a={};t=t||[null,e({}),e([]),e(e)];for(var c=2&n&&r;("object"==typeof c||"function"==typeof c)&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach(e=>a[e]=()=>r[e]);return a.default=()=>r,o.d(i,a),i}})(),o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;r<t.length;){var n=t[r++],i=t[r++],a=0===i?{enumerable:!0,value:t[r++]}:{enumerable:!0,get:i};o.o(e,n)||Object.defineProperty(e,n,a)}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-abi.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,a)=>{if(e[r])return void e[r].push(n);let c,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){c=o;break}}}c||(s=!0,c=document.createElement("script"),c.charset="utf-8",o.nc&&c.setAttribute("nonce",o.nc),c.setAttribute("data-webpack",t+i),c.src=r),e[r]=[n];const p=(t,o)=>{c.onerror=c.onload=null,clearTimeout(u);const n=e[r];if(delete e[r],c.parentNode?.removeChild(c),n?.forEach(e=>e(o)),t)return t(o)},u=setTimeout(p.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),s&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{let e;o.g.importScripts&&(e=o.g.location+"");const t=o.g.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const o=t.getElementsByTagName("script");if(o.length){let t=o.length-1;for(;t>-1&&(!e||!/^https?:/.test(e));)e=o[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),o.p=e})(),(()=>{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 a=new Error,c=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&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+e+": "+o+")",a.name="ChunkLoadError",a.type=e,a.request=o,a.event=r,n[1](a)}};o.l(o.p+o.u(t),c,"chunk-"+t,t)}};const t=(t,r)=>{let[n,i,a]=r;var c,s,l=0;if(n.some(t=>0!==e[t])){for(c in i)o.o(i,c)&&(o.m[c]=i[c]);a&&a(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=self.webpackChunkevm_contracts_tools=self.webpackChunkevm_contracts_tools||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),o(499)})();
@@ -1 +1 @@
1
- (()=>{"use strict";var t={2825(t,e,r){r.a(t,async(t,o)=>{try{r.d(e,{_evm_contract_deployment_address:()=>v});const n=await r.e(35).then(()=>r(5035)),i=(n._basename,n._chmod,n._cp,n._dir_exists,n._echo),c=n._echo2,a=n._file_exists,s=n._file_read,l=n._from_bash_ass_array,d=n._global_get,f=(n._homedir_get,n._json_read),u=(n._lib_get,n._mkdir,n._msg_info),p=n._msg_error,h=(n._override_set,n._path_join),_=(n._pwd,n._require,await r.e(486).then(()=>r(9486))),m=(_._config_file_path_check,_._configuration_format_check),y=(_._contract_version_auto_detect,_._deployments_dir_auto_detect,_._network_check),w=(_._networks_all_auto_detect,_._target_app_auto_detect,_._user_deployments_check),g=(await r.e(822).then(()=>r(2822)))._evm_contract_deployment_networks;async function b(t,e,o,n,_,y){let w,g,b,v,k,$,j,E,P;const O=d().quiet;E="Reading address from configuration file.",u(E);const S=typeof _;if("bash"==(y=m(y)))g="sh";else{if("json"!=y)throw E=`Unknown configuration format ${y}'.`,p(E,0),E;g="json"}const x=[o,n];for(P of($=!1,x))if(b=h([t,e,P,`config.${g}`]),a(b)){$=!0;break}if(!$)throw E=`No network '${o}' deployment configuration for contract '${e}' found at path '${t}'.`,p(E,0),E;if("json"==y)w=f(b),j="contract-address";else{if("bash"!=y)throw E=`Unknown configuration format '${y}'.`,p(E,0),E;w=l(s(b)),j="contract_address"}if("undefined"===S||""==_){E="No version selected, retrieving.",u(E),k=await r.e(724).then(()=>r(4724));const t=k._evm_contract_deployment_versions;v=[b,"y","n",y];try{E="Running '_evm_contract_deployment_versions' with arguments:",u(E),"n"==O&&i(v),E=`Got contract version '${_=await t.apply(null,v)}'.`,u(E)}catch(t){throw E="Error while running '_evm_contract_deployment_versions' with arguments:",p(E,0),c(v),t}}const T=w[j][_],A=typeof T;if("undefined"===A||""==T)throw E=`No '${e}' version '${_}' contract deployment specified for network '${o}' for directory at path '${t}'.`,p(E,0),E;return"string"==A&&(E=`Got contract address '${T}'`,u(E)),T}async function v(t,e,o,n,i,a,s,l,f){let h,_,v,k,$,j,E,P,O,S;l=m(l);const x=d().quiet,T=(await r.e(419).then(()=>r(1419)))._evm_contract_deployments_dir,A=[],C=[],N=typeof f;if(void 0!==s&&""!==s||(k="User defined not specified, setting default (n).",u(k),s="n"),"undefined"===N||""===f)try{f=await T(n,s)}catch(t){throw k="Error while retrieving system deployments directory location for auto-detection.",p(k,0),p(t,0),t}if("n"==s){if(""===n)throw k="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'.",p(k,0),k;try{S=await T(n,s)}catch(t){throw k="Error while retrieving system deployments directory location.",p(k,0),p(t,0),t}if(f!=S)throw k="To set a custom deployments directory path you need to enable the user-defined deployments switch with '-u'."+p(k,0),k}else{if("y"!=s)throw k=`The 'user-defined' switch argument can be 'y' or 'n', current value '${s}'.`,p(k,0),{msg:k};if(""!=n)try{O=await T(n,s)}catch(t){throw k="Error while retrieving user deployments directory location.",p(k,0),p(t,0),t}f!=O?(k=`Using custom deployments directory path '${f}'.`,u(k)):w(n,f)}if("y"==o){k="Selecting all networks.",u(k);try{t=await g(`${f}/${i}`,o)}catch(t){throw k=`Error while retrieving networks for contract '${i}'.`,p(k,0),c(t),t}}for($ of(k=`Getting '${i}' contract address for libEVM app '${n}' for networks with RPCs '${t}' and chain ID '${e}', (user-defined contracts: '${s}'), by looking for configuration files of type '${l}'.`,u(k),t))P="",j=[f,i,$,""],await y.apply(null,j),C.push([f,i,$,"",a,l]);for($ of e)E="",j=[f,i,"",$],await y.apply(null,j),C.push([f,i,"",$,a,l]);for(_ of C){try{k="Running _contract_address_get with parameters:",u(k),"n"==x&&c(_),v=await b.apply(null,_)}catch(t){throw k="Error while running _contract_address_get with parameters:",p(k,0),c(_),c(t),k}A.push(v)}const q={};for(h of A)q[h]=1;return Object.keys(q)}o()}catch(k){o(k)}},1)}};const e={};function r(o){const n=e[o];if(void 0!==n)return n.exports;const i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.m=t,(()=>{const t=Symbol("webpack queues"),e=Symbol("webpack exports"),o=Symbol("webpack error"),n=t=>{t?.d<1&&(t.d=1,t.forEach(t=>t.r--),t.forEach(t=>t.r--?t.r++:t()))};r.a=(r,i,c)=>{let a;c&&((a=[]).d=-1);const s=new Set,l=r.exports;let d,f,u;const p=new Promise((t,e)=>{u=e,f=t});p[e]=l,p[t]=t=>(a&&t(a),s.forEach(t),p.catch(t=>{})),r.exports=p,i(r=>{let i;d=(r=>r.map(r=>{if(null!==r&&"object"==typeof r){if(r[t])return r;if(r.then){const i=[];i.d=0,r.then(t=>{c[e]=t,n(i)},t=>{c[o]=t,n(i)});const c={};return c[t]=t=>t(i),c}}const i={};return i[t]=t=>{},i[e]=r,i}))(r);const c=()=>d.map(t=>{if(t[o])throw t[o];return t[e]}),l=new Promise(e=>{i=()=>e(c),i.r=0;const r=t=>t!==a&&!s.has(t)&&(s.add(t),t&&!t.d&&(i.r++,t.push(i)));d.forEach(e=>e[t](r))});return i.r?l:c()},t=>(t?u(p[o]=t):f(l),n(a))),a?.d<0&&(a.d=0)}})(),(()=>{const t=Object.getPrototypeOf;let e;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 i=Object.create(null);r.r(i);const c={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&o;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(t=>c[t]=()=>o[t]);return c.default=()=>o,r.d(i,c),i}})(),r.d=(t,e)=>{if(Array.isArray(e))for(var o=0;o<e.length;){var n=e[o++],i=e[o++],c=0===i?{enumerable:!0,value:e[o++]}:{enumerable:!0,get:i};r.o(t,n)||Object.defineProperty(t,n,c)}else for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.f={},r.e=t=>{const e=[];return r.f.j(t,e),Promise.all(e)},r.u=t=>t+".libevm-contract-deployment-address.js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{const t={},e="evm-contracts-tools:";r.l=(o,n,i,c)=>{if(t[o])return void t[o].push(n);let a,s;if(void 0!==i){const t=document.getElementsByTagName("script");for(var l=0;l<t.length;l++){const r=t[l];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==e+i){a=r;break}}}a||(s=!0,a=document.createElement("script"),a.charset="utf-8",r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",e+i),a.src=o),t[o]=[n];const d=(e,r)=>{a.onerror=a.onload=null,clearTimeout(f);const n=t[o];if(delete t[o],a.parentNode?.removeChild(a),n?.forEach(t=>t(r)),e)return e(r)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),s&&document.head.appendChild(a)}})(),r.r=t=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{let t;r.g.importScripts&&(t=r.g.location+"");const e=r.g.document;if(!t&&e&&("SCRIPT"===e.currentScript?.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){const r=e.getElementsByTagName("script");if(r.length){let e=r.length-1;for(;e>-1&&(!t||!/^https?:/.test(t));)t=r[e--].src}}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),r.p=t})(),(()=>{const t={792:0};r.f.j=(e,o)=>{let n=r.o(t,e)?t[e]:void 0;if(0!==n)if(n)o.push(n[2]);else{const i=new Promise((r,o)=>n=t[e]=[r,o]);o.push(n[2]=i);const c=new Error,a=o=>{if(r.o(t,e)&&(n=t[e],0!==n&&(t[e]=void 0),n)){const t=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;c.message="Loading chunk "+e+" failed.\n("+t+": "+r+")",c.name="ChunkLoadError",c.type=t,c.request=r,c.event=o,n[1](c)}};r.l(r.p+r.u(e),a,"chunk-"+e,e)}};const e=(e,o)=>{let[n,i,c]=o;var a,s,l=0;if(n.some(e=>0!==t[e])){for(a in i)r.o(i,a)&&(r.m[a]=i[a]);c&&c(r)}for(e&&e(o);l<n.length;l++)s=n[l],r.o(t,s)&&t[s]&&t[s][0](),t[s]=0},o=self.webpackChunkevm_contracts_tools=self.webpackChunkevm_contracts_tools||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})(),r(2825)})();
1
+ (()=>{"use strict";var t={825(t,e,r){r.a(t,async(t,o)=>{try{r.d(e,{_evm_contract_deployment_address:()=>v});const n=await r.e(35).then(()=>r(35)),i=(n._basename,n._chmod,n._cp,n._dir_exists,n._echo),c=n._echo2,a=n._file_exists,s=n._file_read,l=n._from_bash_ass_array,d=n._global_get,f=(n._homedir_get,n._json_read),u=(n._lib_get,n._mkdir,n._msg_info),p=n._msg_error,h=(n._override_set,n._path_join),_=(n._pwd,n._require,await r.e(486).then(()=>r(486))),m=(_._config_file_path_check,_._configuration_format_check),y=(_._contract_version_auto_detect,_._deployments_dir_auto_detect,_._network_check),w=(_._networks_all_auto_detect,_._target_app_auto_detect,_._user_deployments_check),g=(await r.e(822).then(()=>r(822)))._evm_contract_deployment_networks;async function b(t,e,o,n,_,y){let w,g,b,v,k,$,j,E,P;const O=d().quiet;E="Reading address from configuration file.",u(E);const S=typeof _;if("bash"==(y=m(y)))g="sh";else{if("json"!=y)throw E=`Unknown configuration format ${y}'.`,p(E,0),E;g="json"}const x=[o,n];for(P of($=!1,x))if(b=h([t,e,P,`config.${g}`]),a(b)){$=!0;break}if(!$)throw E=`No network '${o}' deployment configuration for contract '${e}' found at path '${t}'.`,p(E,0),E;if("json"==y)w=f(b),j="contract-address";else{if("bash"!=y)throw E=`Unknown configuration format '${y}'.`,p(E,0),E;w=l(s(b)),j="contract_address"}if("undefined"===S||""==_){E="No version selected, retrieving.",u(E),k=await r.e(724).then(()=>r(724));const t=k._evm_contract_deployment_versions;v=[b,"y","n",y];try{E="Running '_evm_contract_deployment_versions' with arguments:",u(E),"n"==O&&i(v),E=`Got contract version '${_=await t.apply(null,v)}'.`,u(E)}catch(t){throw E="Error while running '_evm_contract_deployment_versions' with arguments:",p(E,0),c(v),t}}const T=w[j][_],A=typeof T;if("undefined"===A||""==T)throw E=`No '${e}' version '${_}' contract deployment specified for network '${o}' for directory at path '${t}'.`,p(E,0),E;return"string"==A&&(E=`Got contract address '${T}'`,u(E)),T}async function v(t,e,o,n,i,a,s,l,f){let h,_,v,k,$,j,E,P,O,S;l=m(l);const x=d().quiet,T=(await r.e(419).then(()=>r(419)))._evm_contract_deployments_dir,A=[],C=[],N=typeof f;if(void 0!==s&&""!==s||(k="User defined not specified, setting default (n).",u(k),s="n"),"undefined"===N||""===f)try{f=await T(n,s)}catch(t){throw k="Error while retrieving system deployments directory location for auto-detection.",p(k,0),p(t,0),t}if("n"==s){if(""===n)throw k="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'.",p(k,0),k;try{S=await T(n,s)}catch(t){throw k="Error while retrieving system deployments directory location.",p(k,0),p(t,0),t}if(f!=S)throw k="To set a custom deployments directory path you need to enable the user-defined deployments switch with '-u'."+p(k,0),k}else{if("y"!=s)throw k=`The 'user-defined' switch argument can be 'y' or 'n', current value '${s}'.`,p(k,0),{msg:k};if(""!=n)try{O=await T(n,s)}catch(t){throw k="Error while retrieving user deployments directory location.",p(k,0),p(t,0),t}f!=O?(k=`Using custom deployments directory path '${f}'.`,u(k)):w(n,f)}if("y"==o){k="Selecting all networks.",u(k);try{t=await g(`${f}/${i}`,o)}catch(t){throw k=`Error while retrieving networks for contract '${i}'.`,p(k,0),c(t),t}}for($ of(k=`Getting '${i}' contract address for libEVM app '${n}' for networks with RPCs '${t}' and chain ID '${e}', (user-defined contracts: '${s}'), by looking for configuration files of type '${l}'.`,u(k),t))P="",j=[f,i,$,""],await y.apply(null,j),C.push([f,i,$,"",a,l]);for($ of e)E="",j=[f,i,"",$],await y.apply(null,j),C.push([f,i,"",$,a,l]);for(_ of C){try{k="Running _contract_address_get with parameters:",u(k),"n"==x&&c(_),v=await b.apply(null,_)}catch(t){throw k="Error while running _contract_address_get with parameters:",p(k,0),c(_),c(t),k}A.push(v)}const q={};for(h of A)q[h]=1;return Object.keys(q)}o()}catch(k){o(k)}},1)}};const e={};function r(o){const n=e[o];if(void 0!==n)return n.exports;const i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.m=t,(()=>{const t=Symbol("webpack queues"),e=Symbol("webpack exports"),o=Symbol("webpack error"),n=t=>{t?.d<1&&(t.d=1,t.forEach(t=>t.r--),t.forEach(t=>t.r--?t.r++:t()))};r.a=(r,i,c)=>{let a;c&&((a=[]).d=-1);const s=new Set,l=r.exports;let d,f,u;const p=new Promise((t,e)=>{u=e,f=t});p[e]=l,p[t]=t=>(a&&t(a),s.forEach(t),p.catch(t=>{})),r.exports=p,i(r=>{let i;d=(r=>r.map(r=>{if(null!==r&&"object"==typeof r){if(r[t])return r;if(r.then){const i=[];i.d=0,r.then(t=>{c[e]=t,n(i)},t=>{c[o]=t,n(i)});const c={};return c[t]=t=>t(i),c}}const i={};return i[t]=t=>{},i[e]=r,i}))(r);const c=()=>d.map(t=>{if(t[o])throw t[o];return t[e]}),l=new Promise(e=>{i=()=>e(c),i.r=0;const r=t=>t!==a&&!s.has(t)&&(s.add(t),t&&!t.d&&(i.r++,t.push(i)));d.forEach(e=>e[t](r))});return i.r?l:c()},t=>(t?u(p[o]=t):f(l),n(a))),a?.d<0&&(a.d=0)}})(),(()=>{const t=Object.getPrototypeOf;let e;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 i=Object.create(null);r.r(i);const c={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&o;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(t=>c[t]=()=>o[t]);return c.default=()=>o,r.d(i,c),i}})(),r.d=(t,e)=>{if(Array.isArray(e))for(var o=0;o<e.length;){var n=e[o++],i=e[o++],c=0===i?{enumerable:!0,value:e[o++]}:{enumerable:!0,get:i};r.o(t,n)||Object.defineProperty(t,n,c)}else for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.f={},r.e=t=>{const e=[];return r.f.j(t,e),Promise.all(e)},r.u=t=>t+".libevm-contract-deployment-address.js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{const t={},e="evm-contracts-tools:";r.l=(o,n,i,c)=>{if(t[o])return void t[o].push(n);let a,s;if(void 0!==i){const t=document.getElementsByTagName("script");for(var l=0;l<t.length;l++){const r=t[l];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==e+i){a=r;break}}}a||(s=!0,a=document.createElement("script"),a.charset="utf-8",r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",e+i),a.src=o),t[o]=[n];const d=(e,r)=>{a.onerror=a.onload=null,clearTimeout(f);const n=t[o];if(delete t[o],a.parentNode?.removeChild(a),n?.forEach(t=>t(r)),e)return e(r)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),s&&document.head.appendChild(a)}})(),r.r=t=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{let t;r.g.importScripts&&(t=r.g.location+"");const e=r.g.document;if(!t&&e&&("SCRIPT"===e.currentScript?.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){const r=e.getElementsByTagName("script");if(r.length){let e=r.length-1;for(;e>-1&&(!t||!/^https?:/.test(t));)t=r[e--].src}}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),r.p=t})(),(()=>{const t={792:0};r.f.j=(e,o)=>{let n=r.o(t,e)?t[e]:void 0;if(0!==n)if(n)o.push(n[2]);else{const i=new Promise((r,o)=>n=t[e]=[r,o]);o.push(n[2]=i);const c=new Error,a=o=>{if(r.o(t,e)&&(n=t[e],0!==n&&(t[e]=void 0),n)){const t=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;c.message="Loading chunk "+e+" failed.\n("+t+": "+r+")",c.name="ChunkLoadError",c.type=t,c.request=r,c.event=o,n[1](c)}};r.l(r.p+r.u(e),a,"chunk-"+e,e)}};const e=(e,o)=>{let[n,i,c]=o;var a,s,l=0;if(n.some(e=>0!==t[e])){for(a in i)r.o(i,a)&&(r.m[a]=i[a]);c&&c(r)}for(e&&e(o);l<n.length;l++)s=n[l],r.o(t,s)&&t[s]&&t[s][0](),t[s]=0},o=self.webpackChunkevm_contracts_tools=self.webpackChunkevm_contracts_tools||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})(),r(825)})();
@@ -1 +1 @@
1
- (()=>{"use strict";var e={7114(e,t,o){o.a(e,async(e,r)=>{try{o.d(t,{_evm_contract_deployment_bytecode:()=>g});const n=await o.e(35).then(()=>o(5035)),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(9486))),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(1419)))._evm_contract_deployments_dir,m=(await o.e(822).then(()=>o(2822)))._evm_contract_deployment_networks;async function w(e,t,o,r,n,d,p,u){let f,h,y,m,w,g,b;const v=[r,n];for(g of(b=!1,m=!1,v)){if(h=!1,y=!1,g.length<1?(w=`Empty value network '${g}', skipping.`,a(w)):h=!0,h){b=!0,w=`Getting bytecode for network '${g}'.`,a(w);const r=[d,t,o,"",g,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,g,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&&b)throw w=`No bytecode for network '${r}' deployment of contract '${o}' found at path '${e}'.`,s(w,0),w;const k=f;if(""==k||void 0===k||null==k)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: '${k}'.`,a(w),k}async function g(e,t,o,r,n,c,l,d,p){let _,g,b,v,k,$,E,j,P,O;const S=[],x=[];l=h(l);const T=typeof p;if(b=!1,"undefined"===T?(O="Deployments directory undefined, getting.",a(O),b=!0):"string"===T&&p.length<1&&(O="Deployments directory not set, getting.",a(O),b=!0),b){const e=[r,l];try{p=await y.apply(null,e)}catch(e){throw O="Error while retrieving system deployments directory location for auto-detection.",s(O,0),s(e,0),e}}if("n"==l){if(""==r)throw O="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(O,0),O;if(P=await y(r,l),p!=P)throw O="To set a custom deployments directory path you need to enable the user-defined deployments switch with '-u'."+s(O,0),O}else{if("y"!=l)throw O=`The 'user-defined' switch argument can be 'y' or 'n', current value '${l}'.`,s(O,0),O;""!=r&&(j=await y(r,l)),p!=j?(O=`Using custom deployments directory path '${p}'.`,a(O)):f(r,p)}for(v of("y"==o&&(O="Selecting all networks.",a(O),e=await m(`${p}/${n}`,o)),e))v.length<1?(O="Empty network, skipping.",a(O)):(E="",k=[p,n,v,""],await u.apply(null,k),x.push([p,r,n,v,"",c,d,l]));for(v of t)v.length<1?(O="Empty network, skipping.",a(O)):($="",k=[p,n,"",v],await u.apply(null,k),x.push([p,r,n,"",v,c,d,l]));for(_ of x){try{g=await w.apply(null,_)}catch(e){throw O="Error running '_contract_bytecode_get' with parameters:",s(O,0),i(_),i(e),e}S.push(g)}return S}r()}catch(b){r(b)}},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(null!==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}}const i={};return i[e]=e=>{},i[t]=o,i}))(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={};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=0===i?{enumerable:!0,value:t[r++]}:{enumerable:!0,get:i};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(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),s&&document.head.appendChild(a)}})(),o.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{let e;o.g.importScripts&&(e=o.g.location+"");const t=o.g.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const o=t.getElementsByTagName("script");if(o.length){let t=o.length-1;for(;t>-1&&(!e||!/^https?:/.test(e));)e=o[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),o.p=e})(),(()=>{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&&r.target&&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=self.webpackChunkevm_contracts_tools=self.webpackChunkevm_contracts_tools||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),o(7114)})();
1
+ (()=>{"use strict";var e={114(e,t,o){o.a(e,async(e,r)=>{try{o.d(t,{_evm_contract_deployment_bytecode:()=>g});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,g,b;const v=[r,n];for(g of(b=!1,m=!1,v)){if(h=!1,y=!1,g.length<1?(w=`Empty value network '${g}', skipping.`,a(w)):h=!0,h){b=!0,w=`Getting bytecode for network '${g}'.`,a(w);const r=[d,t,o,"",g,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,g,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&&b)throw w=`No bytecode for network '${r}' deployment of contract '${o}' found at path '${e}'.`,s(w,0),w;const k=f;if(""==k||void 0===k||null==k)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: '${k}'.`,a(w),k}async function g(e,t,o,r,n,c,l,d,p){let _,g,b,v,k,$,E,j,P,O;const S=[],x=[];l=h(l);const T=typeof p;if(b=!1,"undefined"===T?(O="Deployments directory undefined, getting.",a(O),b=!0):"string"===T&&p.length<1&&(O="Deployments directory not set, getting.",a(O),b=!0),b){const e=[r,l];try{p=await y.apply(null,e)}catch(e){throw O="Error while retrieving system deployments directory location for auto-detection.",s(O,0),s(e,0),e}}if("n"==l){if(""==r)throw O="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(O,0),O;if(P=await y(r,l),p!=P)throw O="To set a custom deployments directory path you need to enable the user-defined deployments switch with '-u'."+s(O,0),O}else{if("y"!=l)throw O=`The 'user-defined' switch argument can be 'y' or 'n', current value '${l}'.`,s(O,0),O;""!=r&&(j=await y(r,l)),p!=j?(O=`Using custom deployments directory path '${p}'.`,a(O)):f(r,p)}for(v of("y"==o&&(O="Selecting all networks.",a(O),e=await m(`${p}/${n}`,o)),e))v.length<1?(O="Empty network, skipping.",a(O)):(E="",k=[p,n,v,""],await u.apply(null,k),x.push([p,r,n,v,"",c,d,l]));for(v of t)v.length<1?(O="Empty network, skipping.",a(O)):($="",k=[p,n,"",v],await u.apply(null,k),x.push([p,r,n,"",v,c,d,l]));for(_ of x){try{g=await w.apply(null,_)}catch(e){throw O="Error running '_contract_bytecode_get' with parameters:",s(O,0),i(_),i(e),e}S.push(g)}return S}r()}catch(b){r(b)}},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(null!==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}}const i={};return i[e]=e=>{},i[t]=o,i}))(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={};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=0===i?{enumerable:!0,value:t[r++]}:{enumerable:!0,get:i};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(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),s&&document.head.appendChild(a)}})(),o.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{let e;o.g.importScripts&&(e=o.g.location+"");const t=o.g.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const o=t.getElementsByTagName("script");if(o.length){let t=o.length-1;for(;t>-1&&(!e||!/^https?:/.test(e));)e=o[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),o.p=e})(),(()=>{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&&r.target&&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=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 t={8306(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(5035)),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(9486))),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),_=d._user_defined_check,m=d._version_check,y=(await o.e(419).then(()=>o(1419)))._evm_contract_deployments_dir,g=(await o.e(822).then(()=>o(2822)))._evm_contract_deployment_networks;async function w(t,e,o,r,n,u,d,f){let h,_,y,g,w,b,k;const v=[r,n];for(b of(k=!1,g=!1,v)){if(y=!1,h=!1,b.length<1?(w=`Empty value network '${b}', skipping.`,s(w)):y=!0,y){k=!0,w=`Getting compiler output for network '${b}'.`,s(w);const r=[u,e,o,"",b,f,t,"",d];try{u=await m.apply(null,r)}catch(t){throw w="Error running '_version_check' with arguments:",l(w,0),i(r),i(t),t}w=`Checked version '${u}'.`,s(w),_=p([t,o,b,u,`${o}.json`]),w=`Checking file '${_}'.`,s(w),c(_)?(g=!0,h=!0):(w=`Compiler output at path '${_}' not found.`,s(w))}if(h){w="File found, breaking loop.",s(w);break}}if(!g&&k){let e;w=`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:w=`Either contract abi '${n}' or contract bytecode '${i}' do not exist, so a missing compiler output will trigger an error.`),e?s(w):l(w,0),w}const $=_;if(""===$||null==$)throw w=`No '${o}' version '${u}' contract deployment compiler output for network '${r}' found at directory with path '${t}'.`,l(w,0),w;return w=`Got compiler output: '${$}'.`,s(w),$}async function b(t,e,o,r,n,c,a,p,u){let d,m,b,k,v,$,E,j,P,O;const x=[],S=[];a=_(a);const C=typeof u;if(b=!1,"undefined"===C?(O="Deployments directory undefined, getting.",s(O),b=!0):"string"===C&&u.length<1&&(O="Deployments directory not set, getting.",s(O),b=!0),b){const t=[r,a];try{u=await y.apply(null,t)}catch(t){throw O="Error while retrieving system deployments directory location for auto-detection.",l(O,0),l(t,0),t}}if("n"==a){if(""==r)throw O="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(O,0),O;if(P=await y(r,a),u!=P)throw O="To set a custom deployments directory path you need to enable the user-defined deployments switch with '-u'."+l(O,0),O}else{if("y"!=a)throw O=`The 'user-defined' switch argument can be 'y' or 'n', current value '${a}'.`,l(O,0),O;""!=r&&(j=await y(r,a)),u!=j?(O=`Using custom deployments directory path '${u}'.`,s(O)):h(r,u)}for(k of("y"==o&&(O="Selecting all networks.",s(O),t=await g(`${u}/${n}`,o)),t))k.length<1?(O="Empty network, skipping.",s(O)):(E="",v=[u,n,k,""],await f.apply(null,v),S.push([u,r,n,k,"",c,p,a]));for(k of e)k.length<1?(O="Empty network, skipping.",s(O)):($="",v=[u,n,"",k],await f.apply(null,v),S.push([u,r,n,"",k,c,p,a]));for(d of S){try{m=await w.apply(null,d)}catch(t){throw O="Error running '_contract_compiler_output_get' with parameters:",l(O,0),i(d),i(t),t}x.push(m)}return x}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(null!==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}}const i={};return i[t]=t=>{},i[e]=o,i}))(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={};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=0===i?{enumerable:!0,value:e[r++]}:{enumerable:!0,get:i};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(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),s&&document.head.appendChild(a)}})(),o.r=t=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{let t;o.g.importScripts&&(t=o.g.location+"");const e=o.g.document;if(!t&&e&&("SCRIPT"===e.currentScript?.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){const o=e.getElementsByTagName("script");if(o.length){let e=o.length-1;for(;e>-1&&(!t||!/^https?:/.test(t));)t=o[e--].src}}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),o.p=t})(),(()=>{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&&r.target&&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=self.webpackChunkevm_contracts_tools=self.webpackChunkevm_contracts_tools||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})(),o(8306)})();
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),_=d._user_defined_check,m=d._version_check,y=(await o.e(419).then(()=>o(419)))._evm_contract_deployments_dir,g=(await o.e(822).then(()=>o(822)))._evm_contract_deployment_networks;async function w(t,e,o,r,n,u,d,f){let h,_,y,g,w,b,k;const v=[r,n];for(b of(k=!1,g=!1,v)){if(y=!1,h=!1,b.length<1?(w=`Empty value network '${b}', skipping.`,s(w)):y=!0,y){k=!0,w=`Getting compiler output for network '${b}'.`,s(w);const r=[u,e,o,"",b,f,t,"",d];try{u=await m.apply(null,r)}catch(t){throw w="Error running '_version_check' with arguments:",l(w,0),i(r),i(t),t}w=`Checked version '${u}'.`,s(w),_=p([t,o,b,u,`${o}.json`]),w=`Checking file '${_}'.`,s(w),c(_)?(g=!0,h=!0):(w=`Compiler output at path '${_}' not found.`,s(w))}if(h){w="File found, breaking loop.",s(w);break}}if(!g&&k){let e;w=`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:w=`Either contract abi '${n}' or contract bytecode '${i}' do not exist, so a missing compiler output will trigger an error.`),e?s(w):l(w,0),w}const $=_;if(""===$||null==$)throw w=`No '${o}' version '${u}' contract deployment compiler output for network '${r}' found at directory with path '${t}'.`,l(w,0),w;return w=`Got compiler output: '${$}'.`,s(w),$}async function b(t,e,o,r,n,c,a,p,u){let d,m,b,k,v,$,E,j,P,O;const x=[],S=[];a=_(a);const C=typeof u;if(b=!1,"undefined"===C?(O="Deployments directory undefined, getting.",s(O),b=!0):"string"===C&&u.length<1&&(O="Deployments directory not set, getting.",s(O),b=!0),b){const t=[r,a];try{u=await y.apply(null,t)}catch(t){throw O="Error while retrieving system deployments directory location for auto-detection.",l(O,0),l(t,0),t}}if("n"==a){if(""==r)throw O="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(O,0),O;if(P=await y(r,a),u!=P)throw O="To set a custom deployments directory path you need to enable the user-defined deployments switch with '-u'."+l(O,0),O}else{if("y"!=a)throw O=`The 'user-defined' switch argument can be 'y' or 'n', current value '${a}'.`,l(O,0),O;""!=r&&(j=await y(r,a)),u!=j?(O=`Using custom deployments directory path '${u}'.`,s(O)):h(r,u)}for(k of("y"==o&&(O="Selecting all networks.",s(O),t=await g(`${u}/${n}`,o)),t))k.length<1?(O="Empty network, skipping.",s(O)):(E="",v=[u,n,k,""],await f.apply(null,v),S.push([u,r,n,k,"",c,p,a]));for(k of e)k.length<1?(O="Empty network, skipping.",s(O)):($="",v=[u,n,"",k],await f.apply(null,v),S.push([u,r,n,"",k,c,p,a]));for(d of S){try{m=await w.apply(null,d)}catch(t){throw O="Error running '_contract_compiler_output_get' with parameters:",l(O,0),i(d),i(t),t}x.push(m)}return x}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(null!==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}}const i={};return i[t]=t=>{},i[e]=o,i}))(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={};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=0===i?{enumerable:!0,value:e[r++]}:{enumerable:!0,get:i};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(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),s&&document.head.appendChild(a)}})(),o.r=t=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{let t;o.g.importScripts&&(t=o.g.location+"");const e=o.g.document;if(!t&&e&&("SCRIPT"===e.currentScript?.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){const o=e.getElementsByTagName("script");if(o.length){let e=o.length-1;for(;e>-1&&(!t||!/^https?:/.test(t));)t=o[e--].src}}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),o.p=t})(),(()=>{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&&r.target&&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=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={2822(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(5035)),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(9486)))._network_check,(await r.e(419).then(()=>r(1419)))._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(null!==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}}const c={};return c[e]=e=>{},c[t]=r,c}))(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={};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=0===c?{enumerable:!0,value:t[o++]}:{enumerable:!0,get:c};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(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),a&&document.head.appendChild(i)}})(),r.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{let e;r.g.importScripts&&(e=r.g.location+"");const t=r.g.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const r=t.getElementsByTagName("script");if(r.length){let t=r.length-1;for(;t>-1&&(!e||!/^https?:/.test(e));)e=r[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),r.p=e})(),(()=>{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&&o.target&&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=self.webpackChunkevm_contracts_tools=self.webpackChunkevm_contracts_tools||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),r(2822)})();
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(null!==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}}const c={};return c[e]=e=>{},c[t]=r,c}))(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={};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=0===c?{enumerable:!0,value:t[o++]}:{enumerable:!0,get:c};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(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),a&&document.head.appendChild(i)}})(),r.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{let e;r.g.importScripts&&(e=r.g.location+"");const t=r.g.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const r=t.getElementsByTagName("script");if(r.length){let t=r.length-1;for(;t>-1&&(!e||!/^https?:/.test(e));)e=r[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),r.p=e})(),(()=>{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&&o.target&&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=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 t={4724(t,e,r){r.a(t,async(t,o)=>{try{r.r(e),r.d(e,{_evm_contract_deployment_versions:()=>d});const n=await r.e(35).then(()=>r(5035)),c=n._file_read,s=n._from_bash_ass_array,a=n._json_read,i=(n._msg_info,n._msg_error),l=await r.e(486).then(()=>r(9486)),u=l._configuration_format_auto_detect,f=l._configuration_format_get;function d(t,e,r,o){let n,l,u;if(void 0!==o&&""!=o||(o="json"),"json"==o)n=a(t),l="contract-address";else{if("bash"!=o){const t=`Unknown configuration format '${o}'.`;throw i(t,0),t}n=s(c(t)),l="contract_address"}const f=n[l];return u=Object.keys(f),"y"==e&&(u=u.reverse()[0]),"y"==r&&(u=u.sort()[0]),u}r.d(e,["_configuration_format_auto_detect",0,u,"_configuration_format_get",0,f]),o()}catch(p){o(p)}},1)}};const e={};function r(o){const n=e[o];if(void 0!==n)return n.exports;const c=e[o]={exports:{}};return t[o](c,c.exports,r),c.exports}r.m=t,(()=>{const t=Symbol("webpack queues"),e=Symbol("webpack exports"),o=Symbol("webpack error"),n=t=>{t?.d<1&&(t.d=1,t.forEach(t=>t.r--),t.forEach(t=>t.r--?t.r++:t()))};r.a=(r,c,s)=>{let a;s&&((a=[]).d=-1);const i=new Set,l=r.exports;let u,f,d;const p=new Promise((t,e)=>{d=e,f=t});p[e]=l,p[t]=t=>(a&&t(a),i.forEach(t),p.catch(t=>{})),r.exports=p,c(r=>{let c;u=(r=>r.map(r=>{if(null!==r&&"object"==typeof r){if(r[t])return r;if(r.then){const c=[];c.d=0,r.then(t=>{s[e]=t,n(c)},t=>{s[o]=t,n(c)});const s={};return s[t]=t=>t(c),s}}const c={};return c[t]=t=>{},c[e]=r,c}))(r);const s=()=>u.map(t=>{if(t[o])throw t[o];return t[e]}),l=new Promise(e=>{c=()=>e(s),c.r=0;const r=t=>t!==a&&!i.has(t)&&(i.add(t),t&&!t.d&&(c.r++,t.push(c)));u.forEach(e=>e[t](r))});return c.r?l:s()},t=>(t?d(p[o]=t):f(l),n(a))),a?.d<0&&(a.d=0)}})(),(()=>{const t=Object.getPrototypeOf;let e;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={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&o;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(t=>s[t]=()=>o[t]);return s.default=()=>o,r.d(c,s),c}})(),r.d=(t,e)=>{if(Array.isArray(e))for(var o=0;o<e.length;){var n=e[o++],c=e[o++],s=0===c?{enumerable:!0,value:e[o++]}:{enumerable:!0,get:c};r.o(t,n)||Object.defineProperty(t,n,s)}else for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.f={},r.e=t=>{const e=[];return r.f.j(t,e),Promise.all(e)},r.u=t=>t+".libevm-contract-deployment-versions.js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{const t={},e="evm-contracts-tools:";r.l=(o,n,c,s)=>{if(t[o])return void t[o].push(n);let a,i;if(void 0!==c){const t=document.getElementsByTagName("script");for(var l=0;l<t.length;l++){const r=t[l];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==e+c){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",e+c),a.src=o),t[o]=[n];const u=(e,r)=>{a.onerror=a.onload=null,clearTimeout(f);const n=t[o];if(delete t[o],a.parentNode?.removeChild(a),n?.forEach(t=>t(r)),e)return e(r)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),i&&document.head.appendChild(a)}})(),r.r=t=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{let t;r.g.importScripts&&(t=r.g.location+"");const e=r.g.document;if(!t&&e&&("SCRIPT"===e.currentScript?.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){const r=e.getElementsByTagName("script");if(r.length){let e=r.length-1;for(;e>-1&&(!t||!/^https?:/.test(t));)t=r[e--].src}}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),r.p=t})(),(()=>{const t={792:0};r.f.j=(e,o)=>{let n=r.o(t,e)?t[e]:void 0;if(0!==n)if(n)o.push(n[2]);else{const c=new Promise((r,o)=>n=t[e]=[r,o]);o.push(n[2]=c);const s=new Error,a=o=>{if(r.o(t,e)&&(n=t[e],0!==n&&(t[e]=void 0),n)){const t=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;s.message="Loading chunk "+e+" failed.\n("+t+": "+r+")",s.name="ChunkLoadError",s.type=t,s.request=r,s.event=o,n[1](s)}};r.l(r.p+r.u(e),a,"chunk-"+e,e)}};const e=(e,o)=>{let[n,c,s]=o;var a,i,l=0;if(n.some(e=>0!==t[e])){for(a in c)r.o(c,a)&&(r.m[a]=c[a]);s&&s(r)}for(e&&e(o);l<n.length;l++)i=n[l],r.o(t,i)&&t[i]&&t[i][0](),t[i]=0},o=self.webpackChunkevm_contracts_tools=self.webpackChunkevm_contracts_tools||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})(),r(4724)})();
1
+ (()=>{"use strict";var t={724(t,e,r){r.a(t,async(t,o)=>{try{r.r(e),r.d(e,{_evm_contract_deployment_versions:()=>d});const n=await r.e(35).then(()=>r(35)),c=n._file_read,s=n._from_bash_ass_array,a=n._json_read,i=(n._msg_info,n._msg_error),l=await r.e(486).then(()=>r(486)),u=l._configuration_format_auto_detect,f=l._configuration_format_get;function d(t,e,r,o){let n,l,u;if(void 0!==o&&""!=o||(o="json"),"json"==o)n=a(t),l="contract-address";else{if("bash"!=o){const t=`Unknown configuration format '${o}'.`;throw i(t,0),t}n=s(c(t)),l="contract_address"}const f=n[l];return u=Object.keys(f),"y"==e&&(u=u.reverse()[0]),"y"==r&&(u=u.sort()[0]),u}r.d(e,["_configuration_format_auto_detect",0,u,"_configuration_format_get",0,f]),o()}catch(p){o(p)}},1)}};const e={};function r(o){const n=e[o];if(void 0!==n)return n.exports;const c=e[o]={exports:{}};return t[o](c,c.exports,r),c.exports}r.m=t,(()=>{const t=Symbol("webpack queues"),e=Symbol("webpack exports"),o=Symbol("webpack error"),n=t=>{t?.d<1&&(t.d=1,t.forEach(t=>t.r--),t.forEach(t=>t.r--?t.r++:t()))};r.a=(r,c,s)=>{let a;s&&((a=[]).d=-1);const i=new Set,l=r.exports;let u,f,d;const p=new Promise((t,e)=>{d=e,f=t});p[e]=l,p[t]=t=>(a&&t(a),i.forEach(t),p.catch(t=>{})),r.exports=p,c(r=>{let c;u=(r=>r.map(r=>{if(null!==r&&"object"==typeof r){if(r[t])return r;if(r.then){const c=[];c.d=0,r.then(t=>{s[e]=t,n(c)},t=>{s[o]=t,n(c)});const s={};return s[t]=t=>t(c),s}}const c={};return c[t]=t=>{},c[e]=r,c}))(r);const s=()=>u.map(t=>{if(t[o])throw t[o];return t[e]}),l=new Promise(e=>{c=()=>e(s),c.r=0;const r=t=>t!==a&&!i.has(t)&&(i.add(t),t&&!t.d&&(c.r++,t.push(c)));u.forEach(e=>e[t](r))});return c.r?l:s()},t=>(t?d(p[o]=t):f(l),n(a))),a?.d<0&&(a.d=0)}})(),(()=>{const t=Object.getPrototypeOf;let e;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={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&o;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(t=>s[t]=()=>o[t]);return s.default=()=>o,r.d(c,s),c}})(),r.d=(t,e)=>{if(Array.isArray(e))for(var o=0;o<e.length;){var n=e[o++],c=e[o++],s=0===c?{enumerable:!0,value:e[o++]}:{enumerable:!0,get:c};r.o(t,n)||Object.defineProperty(t,n,s)}else for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.f={},r.e=t=>{const e=[];return r.f.j(t,e),Promise.all(e)},r.u=t=>t+".libevm-contract-deployment-versions.js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{const t={},e="evm-contracts-tools:";r.l=(o,n,c,s)=>{if(t[o])return void t[o].push(n);let a,i;if(void 0!==c){const t=document.getElementsByTagName("script");for(var l=0;l<t.length;l++){const r=t[l];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==e+c){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",e+c),a.src=o),t[o]=[n];const u=(e,r)=>{a.onerror=a.onload=null,clearTimeout(f);const n=t[o];if(delete t[o],a.parentNode?.removeChild(a),n?.forEach(t=>t(r)),e)return e(r)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),i&&document.head.appendChild(a)}})(),r.r=t=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{let t;r.g.importScripts&&(t=r.g.location+"");const e=r.g.document;if(!t&&e&&("SCRIPT"===e.currentScript?.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){const r=e.getElementsByTagName("script");if(r.length){let e=r.length-1;for(;e>-1&&(!t||!/^https?:/.test(t));)t=r[e--].src}}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),r.p=t})(),(()=>{const t={792:0};r.f.j=(e,o)=>{let n=r.o(t,e)?t[e]:void 0;if(0!==n)if(n)o.push(n[2]);else{const c=new Promise((r,o)=>n=t[e]=[r,o]);o.push(n[2]=c);const s=new Error,a=o=>{if(r.o(t,e)&&(n=t[e],0!==n&&(t[e]=void 0),n)){const t=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;s.message="Loading chunk "+e+" failed.\n("+t+": "+r+")",s.name="ChunkLoadError",s.type=t,s.request=r,s.event=o,n[1](s)}};r.l(r.p+r.u(e),a,"chunk-"+e,e)}};const e=(e,o)=>{let[n,c,s]=o;var a,i,l=0;if(n.some(e=>0!==t[e])){for(a in c)r.o(c,a)&&(r.m[a]=c[a]);s&&s(r)}for(e&&e(o);l<n.length;l++)i=n[l],r.o(t,i)&&t[i]&&t[i][0](),t[i]=0},o=self.webpackChunkevm_contracts_tools=self.webpackChunkevm_contracts_tools||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})(),r(724)})();
@@ -1 +1 @@
1
- (()=>{"use strict";var e={1419(e,t,r){r.a(e,async(e,o)=>{try{r.d(t,{_evm_contract_deployments_dir:()=>p});const n=await r.e(35).then(()=>r(5035)),c=n._homedir_get,s=n._lib_get,i=(n._msg_info,n._msg_error),a=await r.e(486).then(()=>r(9486)),l=a._app_check,u=a._user_level_check;async function f(e,t){let r;return e=l(e),void 0!==t&&""!=t||(t="system"),"system"==t?r=await s():"user"==t&&(r=`${c()}/.config`),`${r}/${e}/deployments`}async function p(e,t){let r,o,n;if(e=l(e,!1),"n"==(t=u(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(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(null!==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}}const c={};return c[e]=e=>{},c[t]=r,c}))(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={};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=0===c?{enumerable:!0,value:t[o++]}:{enumerable:!0,get:c};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-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,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(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),a&&document.head.appendChild(i)}})(),r.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{let e;r.g.importScripts&&(e=r.g.location+"");const t=r.g.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const r=t.getElementsByTagName("script");if(r.length){let t=r.length-1;for(;t>-1&&(!e||!/^https?:/.test(e));)e=r[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),r.p=e})(),(()=>{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&&o.target&&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=self.webpackChunkevm_contracts_tools=self.webpackChunkevm_contracts_tools||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),r(1419)})();
1
+ (()=>{"use strict";var e={419(e,t,r){r.a(e,async(e,o)=>{try{r.d(t,{_evm_contract_deployments_dir:()=>p});const n=await r.e(35).then(()=>r(35)),c=n._homedir_get,s=n._lib_get,i=(n._msg_info,n._msg_error),a=await r.e(486).then(()=>r(486)),l=a._app_check,u=a._user_level_check;async function f(e,t){let r;return e=l(e),void 0!==t&&""!=t||(t="system"),"system"==t?r=await s():"user"==t&&(r=`${c()}/.config`),`${r}/${e}/deployments`}async function p(e,t){let r,o,n;if(e=l(e,!1),"n"==(t=u(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(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(null!==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}}const c={};return c[e]=e=>{},c[t]=r,c}))(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={};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=0===c?{enumerable:!0,value:t[o++]}:{enumerable:!0,get:c};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-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,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(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),a&&document.head.appendChild(i)}})(),r.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{let e;r.g.importScripts&&(e=r.g.location+"");const t=r.g.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const r=t.getElementsByTagName("script");if(r.length){let t=r.length-1;for(;t>-1&&(!e||!/^https?:/.test(e));)e=r[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),r.p=e})(),(()=>{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&&o.target&&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=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)})();