New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@unlock-protocol/paywall

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unlock-protocol/paywall - npm Package Compare versions

Comparing version 0.7.1 to 0.8.1

7

dist/index.d.ts

@@ -55,3 +55,3 @@ import Postmate from 'postmate';

/**
* Loads the checkout modal!
* Loads the checkout modal. Returns a Promise that resolves when the modal is closed.
* @param config

@@ -62,3 +62,6 @@ * @param unlockUrl

setPaywallConfig: (config: PaywallConfigType) => void;
shakeHands: (unlockAppUrl: string, eventHandler?: ((name: string, data?: any) => void) | undefined) => Promise<void>;
/********************
* Internal methods
********************/
shakeHands: (unlockAppUrl: string, eventHandler?: (name: string, data?: any) => void) => Promise<void>;
sendOrBuffer: (method: string, args: any) => void;

@@ -65,0 +68,0 @@ handleTransactionInfoEvent: ({ hash, lock, ...rest }: TransactionInfo) => Promise<void>;

(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".unlock-protocol-checkout{display:none;position:fixed;top:0;left:0;width:100%;height:100vh;border:0;z-index:-2147483647}.unlock-protocol-checkout.show{display:block;z-index:2147483647}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
(function(u,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("postmate")):typeof define=="function"&&define.amd?define(["exports","postmate"],b):(u=typeof globalThis<"u"?globalThis:u||self,b(u["@unlock-protocol/paywall"]={},u.Postmate))})(this,function(u,b){"use strict";const m=(e,s)=>{let t;e===f.status&&m("unlockProtocol",s.state);try{t=new window.CustomEvent(e,{detail:s})}catch{t=window.document.createEvent("customevent"),t.initCustomEvent(e,!0,!0,s)}window.dispatchEvent(t)},f={status:"unlockProtocol.status",authenticated:"unlockProtocol.authenticated",transactionSent:"unlockProtocol.transactionSent",metadata:"unlockProtocol.metadata",closeModal:"unlockProtocol.closeModal"},re=e=>{const s={},t={writable:!1,configurable:!1,enumerable:!1},o=Object.keys(e).map(r=>({[r]:{value:e[r],...t}}));Object.defineProperties(s,Object.assign({},...o)),(Object.freeze||Object)(s);try{Object.defineProperties(window,{unlockProtocol:{value:s,...t}})}catch{console.warn("WARNING: unlockProtocol already defined, cannot re-define it")}},w=(e,s)=>{const t={...e};return t.autoconnect&&(t.useDelegatedProvider=!!s),t.useDelegatedProvider||(t.useDelegatedProvider=!!s),t};function H(){let e;try{e=window.localStorage;const s="__storage_test__";return e.setItem(s,s),e.removeItem(s),!0}catch(s){return s instanceof DOMException&&(s.code===22||s.code===1014||s.name==="QuotaExceededError"||s.name==="NS_ERROR_DOM_QUOTA_REACHED")&&e&&e.length!==0}}function ne(e,s){H()&&localStorage.setItem(e,JSON.stringify(s))}function ce(e){if(H()){const s=localStorage.getItem(e)||!1;return s?JSON.parse(s):void 0}}const ie=async(e,s,t)=>{const o={method:"eth_call",params:[{to:s,data:`0x6d8ea5b4000000000000000000000000${t.substring(2)}`},"latest"],id:31337,jsonrpc:"2.0"};try{const a=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)});if(!a)return 0;const{result:r}=await a.json();return parseInt(r,16)===1}catch(a){return console.error(`Error fetching hasValidKey for ${t} on ${s}: ${a}`),!1}},de=async(e,s,t)=>{const o=[];return s?.locks?(await Promise.all(Object.entries(s.locks).map(async([a])=>{const r=s.locks[a].network||s.network,{provider:n}=t[r];await ie(n,a,e)&&o.push(a)})),o):[]};function le(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var P={exports:{}},h=typeof Reflect=="object"?Reflect:null,$=h&&typeof h.apply=="function"?h.apply:function(s,t,o){return Function.prototype.apply.call(s,t,o)},k;h&&typeof h.ownKeys=="function"?k=h.ownKeys:Object.getOwnPropertySymbols?k=function(s){return Object.getOwnPropertyNames(s).concat(Object.getOwnPropertySymbols(s))}:k=function(s){return Object.getOwnPropertyNames(s)};function ue(e){console&&console.warn&&console.warn(e)}var I=Number.isNaN||function(s){return s!==s};function c(){c.init.call(this)}P.exports=c,P.exports.once=he,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var N=10;function B(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return N},set:function(e){if(typeof e!="number"||e<0||I(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");N=e}}),c.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(s){if(typeof s!="number"||s<0||I(s))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+s+".");return this._maxListeners=s,this};function R(e){return e._maxListeners===void 0?c.defaultMaxListeners:e._maxListeners}c.prototype.getMaxListeners=function(){return R(this)},c.prototype.emit=function(s){for(var t=[],o=1;o<arguments.length;o++)t.push(arguments[o]);var a=s==="error",r=this._events;if(r!==void 0)a=a&&r.error===void 0;else if(!a)return!1;if(a){var n;if(t.length>0&&(n=t[0]),n instanceof Error)throw n;var i=new Error("Unhandled error."+(n?" ("+n.message+")":""));throw i.context=n,i}var p=r[s];if(p===void 0)return!1;if(typeof p=="function")$(p,this,t);else for(var ae=p.length,Je=q(p,ae),o=0;o<ae;++o)$(Je[o],this,t);return!0};function W(e,s,t,o){var a,r,n;if(B(t),r=e._events,r===void 0?(r=e._events=Object.create(null),e._eventsCount=0):(r.newListener!==void 0&&(e.emit("newListener",s,t.listener?t.listener:t),r=e._events),n=r[s]),n===void 0)n=r[s]=t,++e._eventsCount;else if(typeof n=="function"?n=r[s]=o?[t,n]:[n,t]:o?n.unshift(t):n.push(t),a=R(e),a>0&&n.length>a&&!n.warned){n.warned=!0;var i=new Error("Possible EventEmitter memory leak detected. "+n.length+" "+String(s)+" listeners added. Use emitter.setMaxListeners() to increase limit");i.name="MaxListenersExceededWarning",i.emitter=e,i.type=s,i.count=n.length,ue(i)}return e}c.prototype.addListener=function(s,t){return W(this,s,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(s,t){return W(this,s,t,!0)};function pe(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function V(e,s,t){var o={fired:!1,wrapFn:void 0,target:e,type:s,listener:t},a=pe.bind(o);return a.listener=t,o.wrapFn=a,a}c.prototype.once=function(s,t){return B(t),this.on(s,V(this,s,t)),this},c.prototype.prependOnceListener=function(s,t){return B(t),this.prependListener(s,V(this,s,t)),this},c.prototype.removeListener=function(s,t){var o,a,r,n,i;if(B(t),a=this._events,a===void 0)return this;if(o=a[s],o===void 0)return this;if(o===t||o.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete a[s],a.removeListener&&this.emit("removeListener",s,o.listener||t));else if(typeof o!="function"){for(r=-1,n=o.length-1;n>=0;n--)if(o[n]===t||o[n].listener===t){i=o[n].listener,r=n;break}if(r<0)return this;r===0?o.shift():me(o,r),o.length===1&&(a[s]=o[0]),a.removeListener!==void 0&&this.emit("removeListener",s,i||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(s){var t,o,a;if(o=this._events,o===void 0)return this;if(o.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):o[s]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete o[s]),this;if(arguments.length===0){var r=Object.keys(o),n;for(a=0;a<r.length;++a)n=r[a],n!=="removeListener"&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=o[s],typeof t=="function")this.removeListener(s,t);else if(t!==void 0)for(a=t.length-1;a>=0;a--)this.removeListener(s,t[a]);return this};function j(e,s,t){var o=e._events;if(o===void 0)return[];var a=o[s];return a===void 0?[]:typeof a=="function"?t?[a.listener||a]:[a]:t?fe(a):q(a,a.length)}c.prototype.listeners=function(s){return j(this,s,!0)},c.prototype.rawListeners=function(s){return j(this,s,!1)},c.listenerCount=function(e,s){return typeof e.listenerCount=="function"?e.listenerCount(s):z.call(e,s)},c.prototype.listenerCount=z;function z(e){var s=this._events;if(s!==void 0){var t=s[e];if(typeof t=="function")return 1;if(t!==void 0)return t.length}return 0}c.prototype.eventNames=function(){return this._eventsCount>0?k(this._events):[]};function q(e,s){for(var t=new Array(s),o=0;o<s;++o)t[o]=e[o];return t}function me(e,s){for(;s+1<e.length;s++)e[s]=e[s+1];e.pop()}function fe(e){for(var s=new Array(e.length),t=0;t<s.length;++t)s[t]=e[t].listener||e[t];return s}function he(e,s){return new Promise(function(t,o){function a(n){e.removeListener(s,r),o(n)}function r(){typeof e.removeListener=="function"&&e.removeListener("error",a),t([].slice.call(arguments))}G(e,s,r,{once:!0}),s!=="error"&&be(e,a,{once:!0})})}function be(e,s,t){typeof e.on=="function"&&G(e,"error",s,t)}function G(e,s,t,o){if(typeof e.on=="function")o.once?e.once(s,t):e.on(s,t);else if(typeof e.addEventListener=="function")e.addEventListener(s,function a(r){o.once&&e.removeEventListener(s,a),t(r)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var Ce=P.exports;const De=le(Ce),Ae=()=>{if(typeof window<"u"){const e=window;if(e&&e.ethereum)return e.ethereum;if(e&&e.web3)return e.web3.currentProvider}},Ee=async e=>{if(!e)throw new Error("Fatal: no web3 provider found.");return e.enable?await e.enable():null},K={resolveMethodCall:"handleMethodCallEvent",resolveOnEvent:"handleOnEventCallEvent"};class ye extends De.EventEmitter{constructor(s,t,o){super(),this.isMetamask=!0,this.#e={},this.#s={},this.paywall=s,this.unlockUrl=t,this.config=o}#e;#s;async connect(){this.paywall.iframe?this.paywall.showIframe():await this.paywall.shakeHands(this.unlockUrl),this.paywall.sendOrBuffer("authenticate",this.config),this.paywall.child.on(T.resolveOnEventCall,s=>this.#s?.[s]?.()),this.paywall.child.on(T.resolveMethodCall,s=>{const{id:t}=s,o=this.#e[t];o&&(delete this.#e[t],o(s.error,s.response))})}async#t(s){return new Promise((t,o)=>{this.#e[s.id]=(a,r)=>{a?o(a):t(r)},this.paywall.sendOrBuffer(K.resolveMethodCall,s)})}async request(s){return s.id||(s.id=window.crypto.randomUUID()),s.method==="eth_requestAccounts"?(await this.connect(),this.#t(s)):await this.#t(s)}on(s,t){return this.#s[s]=t,this.paywall.sendOrBuffer(K.resolveOnEvent,{event:s}),this}}let X="https://paywall.unlock-protocol.com";const ke=e=>{try{return new URL(e)}catch{return null}};if(typeof window<"u"){const e=document?.currentScript?.getAttribute("src");if(e){const s=ke(e);s&&["paywall.unlock-protocol.com","staging-paywall.unlock-protocol.com"].includes(s.hostname)&&(X=s.toString())}}const Be=new URL(X);function Fe(e){let s;return e.match("staging-paywall.unlock-protocol.com")?s="https://staging-app.unlock-protocol.com":e.match("paywall.unlock-protocol.com")?s="https://app.unlock-protocol.com":s="http://localhost:3000",{unlockAppUrl:s}}const{unlockAppUrl:ve}=Fe(Be.toString()),J="unlock-protocol-checkout";var T=(e=>(e.userInfo="checkout.userInfo",e.closeModal="checkout.closeModal",e.transactionInfo="checkout.transactionInfo",e.metadata="checkout.metadata",e.methodCall="checkout.methodCall",e.onEvent="checkout.onEvent",e.enable="checkout.enable",e.resolveMethodCall="checkout.resolveMethodCall",e.resolveOnEventCall="checkout.resolveOnEventCall",e))(T||{});let O;class Y{constructor(s){this.childCallBuffer=[],this.connect=async t=>{this.provider=t||Ae()},this.getProvider=(t="https://app.unlock-protocol.com",o={clientId:window.location.origin.toString()})=>(this.provider||(this.provider=new ye(this,t,o)),this.provider),this.loadCheckoutModal=async(t,o)=>new Promise(async a=>{const r={},n=(i,p)=>{if(i=="checkout.userInfo"&&(r.userAddress=p.address),i=="checkout.transactionInfo"&&(r.transactionInfo=p),i==="checkout.closeModal")return a(r)};this.iframe?this.showIframe():await this.shakeHands(o||ve,n),this.setPaywallConfig(t||this.paywallConfig)}),this.setPaywallConfig=t=>{this.provider&&!this.provider.isPaywallProvider&&(t.autoconnect=!0),this.paywallConfig=w(t,this.provider),this.loadCache(),this.paywallConfig=w(t,this.provider),this.checkKeysAndLock(),this.sendOrBuffer("setConfig",w(t||this.paywallConfig,this.provider))},this.shakeHands=async(t,o)=>{O||(O=await new b({url:`${t}/checkout`,classListArray:[J]})),this.child=O,this.iframe=document.getElementsByClassName(J)[0],this.showIframe(),this.child.on("checkout.closeModal",()=>{this.hideIframe(),typeof o=="function"&&o("checkout.closeModal")}),this.child.on("checkout.userInfo",a=>{this.handleUserInfoEvent(a),typeof o=="function"&&o("checkout.userInfo",a)}),this.child.on("checkout.methodCall",a=>{this.handleMethodCallEvent(a),typeof o=="function"&&o("checkout.methodCall",a)}),this.child.on("checkout.onEvent",a=>{this.handleOnEventEvent(a),typeof o=="function"&&o("checkout.onEvent",a)}),this.child.on("checkout.enable",a=>{this.handleEnable(),typeof o=="function"&&o("checkout.enable",a)}),this.child.on("checkout.metadata",a=>{this.handleMetadataEvent(a),typeof o=="function"&&o("checkout.metadata",a)}),this.child.on("checkout.transactionInfo",a=>{this.handleTransactionInfoEvent(a),typeof o=="function"&&o("checkout.transactionInfo",a)}),this.childCallBuffer.forEach(a=>this.child.call(...a))},this.sendOrBuffer=(t,o)=>{this.child?this.child.call(t,o):this.childCallBuffer.push([t,o])},this.handleTransactionInfoEvent=async({hash:t,lock:o,...a})=>{m(f.transactionSent,{hash:t,lock:o,...a}),!this.paywallConfig?.pessimistic&&t&&o&&this.unlockPage([o])},this.handleUserInfoEvent=async t=>{this.userAccountAddress=t.address,m(f.authenticated,t),this.cacheUserInfo(t),this.checkKeysAndLock()},this.handleMethodCallEvent=async({method:t,params:o,id:a})=>{const r=this.provider;if(r.request)return r.request({method:t,params:o,id:a}).then(n=>{this.child.call("resolveMethodCall",{id:a,error:null,response:n})}).catch(n=>{this.child.call("resolveMethodCall",{id:a,error:n,response:null})});r.sendAsync?r.sendAsync({method:t,params:o,id:a},(n,i)=>{this.child.call("resolveMethodCall",{id:a,error:n,response:i})}):console.error("unknown method to call provider! Please make sure you use and EIP1193 provider!",{provider:r})},this.handleOnEventEvent=async t=>{this.provider.on(t,()=>{this.child.call("resolveOnEvent",t)})},this.handleEnable=async()=>{const t=await Ee(this.provider);this.child.call("resolveOnEnable",t)},this.showIframe=()=>{this.iframe.classList.add("show")},this.hideIframe=()=>{m(f.closeModal,{}),this.iframe.classList.remove("show")},this.getUserAccountAddress=()=>this.userAccountAddress,this.getState=()=>this.lockStatus,this.cacheUserInfo=async t=>{ne("userInfo",t)},this.loadCache=async()=>{const t=ce("userInfo");if(!t)return this.lockPage();this.userAccountAddress=t.address,this.checkKeysAndLock()},this.lockPage=()=>{this.lockStatus="locked",m(f.status,{state:this.lockStatus})},this.unlockPage=(t=[])=>{this.lockStatus="unlocked",m(f.status,{locks:t,state:this.lockStatus})},this.networkConfigs=s}async handleMetadataEvent(s){m(f.metadata,s)}async checkKeysAndLock(){if(!this.userAccountAddress)return;this.lockStatus=void 0;const s=await de(this.userAccountAddress,this.paywallConfig,this.networkConfigs);return s.length?this.unlockPage(s):this.lockPage()}}var xe=Object.create,S=Object.defineProperty,ge=Object.getOwnPropertyDescriptor,Q=Object.getOwnPropertyNames,we=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Z=(e,s)=>function(){return s||(0,e[Q(e)[0]])((s={exports:{}}).exports,s),s.exports},Te=(e,s)=>{for(var t in s)S(e,t,{get:s[t],enumerable:!0})},Oe=(e,s,t,o)=>{if(s&&typeof s=="object"||typeof s=="function")for(let a of Q(s))!Pe.call(e,a)&&a!==t&&S(e,a,{get:()=>s[a],enumerable:!(o=ge(s,a))||o.enumerable});return e},d=(e,s,t)=>(t=e!=null?xe(we(e)):{},Oe(s||!e||!e.__esModule?S(t,"default",{value:e,enumerable:!0}):t,e)),Se=Z({"../types/dist/types/unlockTypes.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.KeyStatus=e.HooksName=e.HookType=e.TransactionStatus=e.TransactionType=void 0;var s;(function(r){r.LOCK_CREATION="LOCK_CREATION",r.KEY_PURCHASE="KEY_PURCHASE",r.WITHDRAWAL="WITHDRAWAL",r.UPDATE_KEY_PRICE="UPDATE_KEY_PRICE"})(s||(e.TransactionType=s={}));var t;(function(r){r.SUBMITTED="submitted",r.PENDING="pending",r.MINED="mined",r.STALE="stale",r.FAILED="failed",r.NONE=""})(t||(e.TransactionStatus=t={}));var o;(function(r){r.CUSTOM_CONTRACT="CUSTOM_CONTRACT",r.PASSWORD="PASSWORD",r.PROMOCODE="PROMOCODE",r.PROMO_CODE_CAPPED="PROMO_CODE_CAPPED",r.CAPTCHA="CAPTCHA",r.GUILD="GUILD"})(o||(e.HookType=o={})),e.HooksName=["onKeyPurchaseHook","onKeyCancelHook","onValidKeyHook","onTokenURIHook","onKeyTransferHook","onKeyExtendHook","onKeyGrantHook"];var a;(function(r){r.NONE="none",r.CONFIRMING="confirming",r.CONFIRMED="confirmed",r.EXPIRED="expired",r.VALID="valid",r.SUBMITTED="submitted",r.PENDING="pending",r.FAILED="failed"})(a||(e.KeyStatus=a={}))}}),l=Z({"../types/dist/index.js"(e){var s=e&&e.__createBinding||(Object.create?function(o,a,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(a,r);(!i||("get"in i?!a.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return a[r]}}),Object.defineProperty(o,n,i)}:function(o,a,r,n){n===void 0&&(n=r),o[n]=a[r]}),t=e&&e.__exportStar||function(o,a){for(var r in o)r!=="default"&&!Object.prototype.hasOwnProperty.call(a,r)&&s(a,o,r)};Object.defineProperty(e,"__esModule",{value:!0}),t(Se(),e)}}),_={};Te(_,{arbitrum:()=>We,avalanche:()=>Ve,base:()=>je,bsc:()=>He,celo:()=>Re,gnosis:()=>Me,goerli:()=>Ne,linea:()=>ze,localhost:()=>_e,mainnet:()=>Ue,mumbai:()=>Ie,optimism:()=>$e,polygon:()=>Le,scroll:()=>Ke,sepolia:()=>qe,zkevm:()=>Ge,zksync:()=>Xe});var _e={chain:"localhost",description:"Localhost network.",featured:!1,fullySubsidizedGas:!0,id:31337,isTestNetwork:!0,name:"localhost",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"ETH",symbol:"ETH"},provider:"http://127.0.0.1:8545",publicLockVersionToDeploy:13,publicProvider:"http://127.0.0.1:8545",subgraph:{endpoint:"http://localhost:8000/subgraphs/name/unlock-protocol/unlock"}},U=d(l()),Ue={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"ethereum",description:"The original and most secure EVM network. Gas fees are expensive on this network.",explorer:{name:"Etherscan",urls:{address:e=>`https://etherscan.io/address/${e}`,base:"https://etherscan.io/",token:(e,s)=>`https://etherscan.com/token/${e}?a=${s}`,transaction:e=>`https://etherscan.io/tx/${e}`}},featured:!0,governanceBridge:{connext:"0x8898B472C54c31894e3B9bb83cEA802a5d0e63C6",domainId:6648936},hooks:{onKeyPurchaseHook:[{address:"0x936Ed3E71b5990bC9A94074835D08C6ca7bbFad0",id:U.HookType.PASSWORD,name:"Password required"},{address:"0xaF96721f8ffc136e4C170446E68Dc6744B6Ee4f4",id:U.HookType.CAPTCHA,name:"Captcha"},{address:"0x1d8DD27432cC0aCB93B93c4486F46b67E2208359",id:U.HookType.GUILD,name:"Guild"}]},id:1,isTestNetwork:!1,keyManagerAddress:"0x9A1f43090307034DBFBE2ba20320Ce815ff046D4",maxFreeClaimCost:1,multisig:"0x9168EABE624e9515f3836bA1716EC1DDd4C461D4",name:"Ethereum",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"Ether",symbol:"ETH",wrapped:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"},opensea:{collectionUrl:e=>`https://opensea.io/assets/${e}`,profileUrl:e=>`https://opensea.io/${e}`,tokenUrl:(e,s)=>`https://opensea.io/assets/${e}/${s}`},previousDeploys:[{startBlock:7120795,unlockAddress:"0x3d5409CcE1d45233dE1D4eBDEe74b8E004abDD13"}],provider:"https://rpc.unlock-protocol.com/1",publicLockVersionToDeploy:13,publicProvider:"https://cloudflare-eth.com/v1/mainnet",startBlock:16989e3,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-mainnet/version/latest",studioName:"unlock-protocol-mainnet"},swapPurchaser:"0x02415541c7F4c976722493181cFdb0b46E1c94fb",tokens:[{address:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",decimals:18,featured:!0,name:"Wrapped Ether",symbol:"WETH"},{address:"0x6B175474E89094C44Da98b954EedeAC495271d0F",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI"},{address:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",decimals:6,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0",decimals:18,name:"Matic Token",symbol:"MATIC"},{address:"0xdAC17F958D2ee523a2206206994597C13D831ec7",decimals:6,name:"Tether USD",symbol:"USDT"},{address:"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",decimals:8,featured:!0,name:"Wrapped BTC",symbol:"WBTC"},{address:"0x0D8775F648430679A709E98d2b0Cb6250d2887EF",decimals:18,name:"Basic Attention Token",symbol:"BAT"},{address:"0xd7C1EB0fe4A30d3B2a846C04aa6300888f087A5F",decimals:18,name:"POINTS",symbol:"POINTS"},{address:"0x58b6A8A3302369DAEc383334672404Ee733aB239",decimals:18,name:"Livepeer Token",symbol:"LPT"},{address:"0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE",decimals:18,name:"SHIBA INU",symbol:"SHIB"},{address:"0x514910771AF9Ca656af840dff83E8264EcF986CA",decimals:18,name:"ChainLink Token",symbol:"LINK"},{address:"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",decimals:18,name:"Uniswap",symbol:"UNI"},{address:"0xB8c77482e45F1F44dE1745F52C74426C631bDD52",decimals:18,name:"BNB",symbol:"BNB"}],uniswapV3:{factoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",oracle:"0x951A807b523cF6e178e0ab80fBd2C9B035521931",positionManager:"0xC36442b4a4522E871399CD717aBDD847Ab11FE88",quoterAddress:"0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6",subgraph:"https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v3",universalRouterAddress:"0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B"},unlockAddress:"0xe79B93f8E22676774F2A8dAd469175ebd00029FA",unlockDaoToken:{address:"0x90DE74265a416e1393A450752175AED98fe11517"},url:"https://ethereum.org/en/"},F=d(l()),Me={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"xdai",description:"Gnosis Chain is one of the first Ethereum sidechains and has stayed true to its values.",explorer:{name:"Blockscout",urls:{address:e=>`https://gnosisscan.io/address/${e}/transactions`,base:"https://gnosisscan.io/",token:(e,s)=>`https://gnosisscan.io/token/${e}?a=${s}`,transaction:e=>`https://gnosisscan.io/tx/${e}`}},faucet:"https://gnosisfaucet.com/",featured:!0,governanceBridge:{connext:"0x5bB83e95f63217CDa6aE3D181BA580Ef377D2109",domainId:6778479,modules:{connextMod:"0xdFB9328cF62e3525D355581dE88AeAa330879D12",delayMod:"0x6E74DC46EbF2cDB75B72Ab1dCAe3C98c7E9d28a1"}},hooks:{onKeyPurchaseHook:[{address:"0x927D68eAE936Ec0111f01Fc4Ddd9cC57DB3f0Af2",id:F.HookType.PASSWORD,name:"Password required"},{address:"0xFb0657eAE55A4dd3E2317C9eCB311bA5Ecc62C9C",id:F.HookType.CAPTCHA,name:"Captcha"},{address:"0xe20738d9798B5B5801aEEFDB81d80Fcce3a3Aa95",id:F.HookType.GUILD,name:"Guild"},{address:"0x5ff4d5733Cc2b0A069cFF409eCEad3C5C71Ee346",id:F.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"}]},id:100,isTestNetwork:!1,keyManagerAddress:"0xBa81C9379AC1221BF8C100800dD0B0b0b048ba14",maxFreeClaimCost:100,multisig:"0xfAC611a5b5a578628C28F77cEBDDB8C6159Ae79D",name:"Gnosis Chain",nativeCurrency:{coinbase:"DAI",coingecko:"xdai",decimals:18,name:"xDAI",symbol:"xDAI"},previousDeploys:[{startBlock:14521200,unlockAddress:"0x14bb3586Ce2946E71B95Fe00Fc73dd30ed830863"}],provider:"https://rpc.unlock-protocol.com/100",publicLockVersionToDeploy:13,publicProvider:"https://rpc.gnosischain.com",startBlock:19338700,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-gnosis/version/latest",networkName:"gnosis",studioName:"unlock-protocol-gnosis"},tokens:[{address:"0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83",decimals:6,featured:!0,name:"USD//C on xDai",symbol:"USDC"},{address:"0x4ECaBa5870353805a9F068101A40E0f32ed605C6",decimals:6,featured:!0,name:"Tether USD on xDai",symbol:"USDT"}],unlockAddress:"0x1bc53f4303c711cc693F6Ec3477B83703DcB317f",unlockDaoToken:{address:"0x8C84142c4a716a16a89d0e61707164d6107A9811",mainnetBridge:"0x41a4ee2855A7Dc328524babB07d7f505B201133e"},url:"https://www.gnosis.io/"},C=d(l()),Le={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"polygon",description:"Polygon is a side-chain to build and scale your projects on Ethereum, the world's largest blockchain ecosystem.",explorer:{name:"Polygonscan",urls:{address:e=>`https://polygonscan.com/address/${e}`,base:"https://polygonscan.com/",token:(e,s)=>`https://polygonscan.com/token/${e}?a=${s}`,transaction:e=>`https://polygonscan.com/tx/${e}`}},featured:!0,governanceBridge:{connext:"0x11984dc4465481512eb5b777E44061C158CF2259",domainId:1886350457,modules:{connextMod:"0xa8E0FD3D023B1A253eF52B6169851Ee95eF257bE",delayMod:"0x31B8bB0BC5ffEe8e476202e9D97b0b8c31aA767d"}},hooks:{onKeyPurchaseHook:[{address:"0x9F4AE507d7E91Ab37CF35f792940fE079bd4E24d",id:C.HookType.PASSWORD,name:"Password required"},{address:"0x64bDe27046F915e2BAb6339Ce4f737E34474344d",id:C.HookType.CAPTCHA,name:"Captcha"},{address:"0xBfF080aB4600554c1e8c390d2e070CF423767B64",id:C.HookType.GUILD,name:"Guild"},{address:"0x93E160838c529873cB7565106bBb79a3226FE07A",id:C.HookType.PROMOCODE,name:"Discount code"},{address:"0xa10a55EF6E41dE1267cA8A98010B58a7b6B21418",id:C.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"}]},id:137,isTestNetwork:!1,keyManagerAddress:"0x7111a1aDfbED501beaAd556Bba7cB6dCa3296aa9",maxFreeClaimCost:100,multisig:"0x479f3830fbd715342868BA95E438609BCe443DFB",name:"Polygon",nativeCurrency:{coingecko:"matic-network",decimals:18,name:"Matic",symbol:"MATIC",wrapped:"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"},opensea:{collectionUrl:e=>`https://opensea.io/assets/matic/${e}`,tokenUrl:(e,s)=>`https://opensea.io/assets/matic/${e}/${s}`},previousDeploys:[{startBlock:15714206,unlockAddress:"0x14bb3586Ce2946E71B95Fe00Fc73dd30ed830863"}],provider:"https://rpc.unlock-protocol.com/137",publicLockVersionToDeploy:13,publicProvider:"https://polygon-rpc.com/",startBlock:21986688,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-polygon/version/latest",networkName:"matic",studioName:"unlock-protocol-polygon"},swapPurchaser:"0x33aC9CAE1Cd9CBB191116607f564F7381d81BAD9",tokens:[{address:"0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",decimals:18,featured:!0,name:"Wrapped Ether",symbol:"WETH"},{address:"0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063",decimals:18,featured:!0,name:"(PoS) Dai Stablecoin",symbol:"DAI"},{address:"0xc2132D05D31c914a87C6611C10748AEb04B58e8F",decimals:6,featured:!0,name:"(PoS) Tether USD",symbol:"USDT"},{address:"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",decimals:6,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6",decimals:8,featured:!0,name:"(PoS) Wrapped BTC",symbol:"WBTC"},{address:"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",decimals:6,name:"USD Coin (PoS)",symbol:"USDC"},{address:"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",decimals:18,name:"Wrapped Matic",symbol:"WMATIC"},{address:"0xE06Bd4F5aAc8D0aA337D13eC88dB6defC6eAEefE",decimals:18,name:"PlanetIX",symbol:"IXT"}],uniswapV3:{factoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",oracle:"0xE77c7F14e8EB9925ca418bF80c0a81a5B9C87683",positionManager:"0xC36442b4a4522E871399CD717aBDD847Ab11FE88",quoterAddress:"0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6",universalRouterAddress:"0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5"},universalCard:{cardPurchaserAddress:"0xAB355a589CFbBA7a21b91E5B6063bF822dCc0016",stripeDestinationCurrency:"usdc",stripeDestinationNetwork:"polygon"},unlockAddress:"0xE8E5cd156f89F7bdB267EabD5C43Af3d5AF2A78f",unlockDaoToken:{address:"0xf7E78d9C4c74df889A83C8C8d6D05BF70fF75876",mainnetBridge:"0x40ec5B33f54e0E8A33A975908C5BA1c14e5BbbDf"},url:"https://polygon.technology/"},v=d(l()),He={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"bsc",description:"The best-performing EVM compatible layer 1. Fully compatible tooling for EVM with up to 35 times of capacity.",explorer:{name:"BscScan",urls:{address:e=>`https://bscscan.com/address/${e}`,base:"https://bscscan.com/",token:(e,s)=>`https://bscscan.com/token/${e}?a=${s}`,transaction:e=>`https://bscscan.com/tx/${e}`}},featured:!1,governanceBridge:{connext:"0xCd401c10afa37d641d2F594852DA94C700e4F2CE",domainId:6450786,modules:{connextMod:"0x36b34e10295cCE69B652eEB5a8046041074515Da",delayMod:"0xcf07c951C44731f82E548286C7ebeC576149a49e"}},hooks:{onKeyPurchaseHook:[{address:"0x338b1f296217485bf4df6CE9f93ab4C73F72b57D",id:v.HookType.PASSWORD,name:"Password required"},{address:"0x80E085D7591C61153D876b5171dc25756a7A3254",id:v.HookType.CAPTCHA,name:"Captcha"},{address:"0xF6963D3c395A7914De77f771C2fC44b47B8379AC",id:v.HookType.GUILD,name:"Guild"},{address:"0x1Bc951F8ed90F6c135F01Fe62CA348F4c3F43D00",id:v.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"}]},id:56,isTestNetwork:!1,keyManagerAddress:"0x34EbEc0AE80A2d078DE5489f0f5cAa4d3aaEA355",maxFreeClaimCost:1,multisig:"0x373D7cbc4F2700719DEa237500c7a154310B0F9B",name:"BNB Chain",nativeCurrency:{coingecko:"binancecoin",decimals:18,name:"BNB",symbol:"BNB",wrapped:"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"},opensea:{collectionUrl:e=>`https://opensea.io/assets/bsc/${e}`,tokenUrl:(e,s)=>`https://opensea.io/assets/bsc/${e}/${s}`},previousDeploys:[{startBlock:12396e3,unlockAddress:"0x99b1348a9129ac49c6de7F11245773dE2f51fB0c"}],provider:"https://rpc.unlock-protocol.com/56",publicLockVersionToDeploy:13,publicProvider:"https://bsc-dataseed.binance.org/",startBlock:13079e3,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-bsc/version/latest",studioName:"unlock-protocol-bsc"},swapPurchaser:"0xc9F29DdBD4D828cFb2EB491E9d48013a9c0E3C89",tokens:[{address:"0x2170Ed0880ac9A755fd29B2688956BD959F933F8",decimals:18,featured:!0,name:"Ethereum Token",symbol:"ETH"},{address:"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",decimals:18,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0x55d398326f99059fF775485246999027B3197955",decimals:18,featured:!0,name:"Tether USD",symbol:"USDT"},{address:"0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3",decimals:18,featured:!0,name:"Dai Token",symbol:"DAI"},{address:"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",decimals:18,name:"Wrapped BNB",symbol:"WBNB"}],uniswapV3:{factoryAddress:"0xdB1d10011AD0Ff90774D0C6Bb92e5C5c8b4461F7",positionManager:"0x7b8A01B39D58278b5DE7e48c8449c9f4F5170613",universalRouterAddress:"0x5Dc88340E1c5c6366864Ee415d6034cadd1A9897"},unlockAddress:"0xeC83410DbC48C7797D2f2AFe624881674c65c856",url:"https://www.bnbchain.org/en"},D=d(l()),$e={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"optimism",description:"Optimism is a Layer 2 Optimistic Rollup network designed to utilize the strong security guarantees of Ethereum while reducing its cost and latency.",explorer:{name:"Etherscan",urls:{address:e=>`https://optimistic.etherscan.io/address/${e}`,base:"https://optimistic.etherscan.io/",token:(e,s)=>`https://optimistic.etherscan.io/token/${e}?a=${s}`,transaction:e=>`https://optimistic.etherscan.io/tx/${e}`}},featured:!0,governanceBridge:{connext:"0x8f7492DE823025b4CfaAB1D34c58963F2af5DEDA",domainId:1869640809,modules:{connextMod:"0xF241F12506fb6Bf1909c6bC176A199166414007a",delayMod:"0xA8BB5AF09B599794136B14B112e137FAf83Acf1f"}},hooks:{onKeyPurchaseHook:[{address:"0x34EbEc0AE80A2d078DE5489f0f5cAa4d3aaEA355",id:D.HookType.PASSWORD,name:"Password required"},{address:"0xF6a9138b4ebEd2AcF651Cbd40B45584B4c625e87",id:D.HookType.CAPTCHA,name:"Captcha"},{address:"0x1402D55BF0D6566ca8F569041000a8015b608632",id:D.HookType.GUILD,name:"Guild"},{address:"0x8e0B46ec3B95c81355175693dA0083b00fCc1326",id:D.HookType.PROMOCODE,name:"Discount code"},{address:"0xD4385fd4A79B6636828eC8BC6795766a797E9CF5",id:D.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"}]},id:10,isTestNetwork:!1,keyManagerAddress:"0x8c5D54B2CAA4C2D08B0DDF82a1e6D2641779B8EC",maxFreeClaimCost:100,multisig:"0x6E78b4447e34e751EC181DCBed63633aA753e145",name:"Optimism",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"Ether",symbol:"ETH",wrapped:"0x4200000000000000000000000000000000000006"},opensea:{collectionUrl:e=>`https://opensea.io/assets/optimism/${e}`,tokenUrl:(e,s)=>`https://opensea.io/assets/optimism/${e}/${s}`},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/10",publicLockVersionToDeploy:13,publicProvider:"https://mainnet.optimism.io",startBlock:302400,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-optimism/version/latest",studioName:"unlock-protocol-optimism"},swapPurchaser:"0x72381052e4F7765A00a403891420BF75876c75bB",tokens:[{address:"0x7F5c764cBc14f9669B88837ca1490cCa17c31607",decimals:6,name:"USD Coin",symbol:"USDC"},{address:"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",decimals:6,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",decimals:6,featured:!0,name:"Tether USD",symbol:"USDT"},{address:"0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI"},{address:"0xdC6fF44d5d932Cbd77B52E5612Ba0529DC6226F1",decimals:18,name:"Worldcoin",symbol:"WLD"},{address:"0x4200000000000000000000000000000000000042",decimals:18,name:"Optimism",symbol:"OP"},{address:"0x4200000000000000000000000000000000000006",decimals:18,name:"Wrapped Ether",symbol:"WETH"},{address:"0x68f180fcCe6836688e9084f035309E29Bf0A2095",decimals:8,name:"Wrapped BTC",symbol:"WBTC"}],uniswapV3:{factoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",oracle:"0x1FF7e338d5E582138C46044dc238543Ce555C963",positionManager:"0xC36442b4a4522E871399CD717aBDD847Ab11FE88",quoterAddress:"0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6",universalRouterAddress:"0xb555edF5dcF85f42cEeF1f3630a52A108E55A654"},unlockAddress:"0x99b1348a9129ac49c6de7F11245773dE2f51fB0c",url:"https://www.optimism.io/"},ee=d(l()),Ie={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"mumbai",description:"Polygon test network. Do not use for production.",explorer:{name:"PolygonScan (Mumbai)",urls:{address:e=>`https://mumbai.polygonscan.com/address/${e}`,base:"https://mumbai.polygonscan.com/",token:(e,s)=>`https://mumbai.polygonscan.com/token/${e}?a=${s}`,transaction:e=>`https://mumbai.polygonscan.com/tx/${e}`}},faucet:"https://faucet.polygon.technology/",featured:!1,fullySubsidizedGas:!0,governanceBridge:{connext:"0x2334937846Ab2A3FCE747b32587e1A1A2f6EEC5a",domainId:9991},hooks:{onKeyPurchaseHook:[{address:"0x34EbEc0AE80A2d078DE5489f0f5cAa4d3aaEA355",id:ee.HookType.PASSWORD,name:"Password required"},{address:"0xdd753E08BB09F22593537f29100F0eD98AfA57FA",id:ee.HookType.CAPTCHA,name:"Captcha"}]},id:80001,isTestNetwork:!0,keyManagerAddress:"0x8c5D54B2CAA4C2D08B0DDF82a1e6D2641779B8EC",maxFreeClaimCost:500,multisig:"0x12E37A8880801E1e5290c815a894d322ac591607",name:"Mumbai (Polygon)",nativeCurrency:{coingecko:"matic-network",decimals:18,name:"MATIC",symbol:"MATIC",wrapped:"0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889"},opensea:{collectionUrl:e=>`https://testnets.opensea.io/assets/mumbai/${e}`,tokenUrl:(e,s)=>`https://testnets.opensea.io/assets/mumbai/${e}/${s}`},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/80001",publicLockVersionToDeploy:13,publicProvider:"https://matic-mumbai.chainstacklabs.com",startBlock:26584912,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-mumbai/version/latest",studioName:"unlock-protocol-mumbai"},swapPurchaser:"0x302E9D970A657B42c1C124C69f3a1c1575CB4AD3",tokens:[{address:"0x0FA8781a83E46826621b3BC094Ea2A0212e71B23",decimals:6,featured:!0,mainnetAddress:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",name:"USD Coin (PoS)",symbol:"USDC"},{address:"0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa",decimals:18,featured:!0,mainnetAddress:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",name:"Wrapped Ether",symbol:"WETH"},{address:"0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889",decimals:18,featured:!0,mainnetAddress:"0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0",name:"Wrapped Matic",symbol:"WMATIC"},{address:"0xcB1e72786A6eb3b44C2a2429e317c8a2462CFeb1",decimals:18,featured:!0,mainnetAddress:"0x6B175474E89094C44Da98b954EedeAC495271d0F",name:"Dai Stablecoin",symbol:"DAI"}],uniswapV3:{factoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",oracle:"0x5108412Dd50A6ea79d2F13D5d1A23FDD9bF532db",quoterAddress:"0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6",universalRouterAddress:"0x4648a43B2C14Da09FdF82B161150d3F634f40491"},unlockAddress:"0x1FF7e338d5E582138C46044dc238543Ce555C963",unlockOwner:"0xdc230F9A08918FaA5ae48B8E13647789A8B6dD46",url:"https://mumbai.polygonscan.com/"},A=d(l()),Ne={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"goerli",description:"Main Ethereum test network. Do not use for production.",explorer:{name:"Goerli",urls:{address:e=>`https://goerli.etherscan.io/address/${e}`,base:"https://goerli.etherscan.io/",token:(e,s)=>`https://goerli.etherscan.io/token/${e}?a=${s}`,transaction:e=>`https://goerli.etherscan.io/tx/${e}`}},faucet:"https://goerlifaucet.com/",featured:!0,fullySubsidizedGas:!0,governanceBridge:{connext:"0xFCa08024A6D4bCc87275b1E4A1E22B71fAD7f649",domainId:1735353714,modules:{connextMod:"0xce58DB94DE48A8a9Ea47cBe4376F19724D154DF2",delayMod:"0x46FdC1d73486E20406D1C6dAcDD22b6599AEA32d"}},hooks:{onKeyPurchaseHook:[{address:"0xCa837900f7DaB40787b608b6738d1B730f1d2759",id:A.HookType.PASSWORD,name:"Password required"},{address:"0xDF2A7C8be199C0e9e825750586be7F331F30dC29",id:A.HookType.CAPTCHA,name:"Captcha"},{address:"0x1AC9271D271b8E50537CAd54b330424C52A84822",id:A.HookType.GUILD,name:"Guild"},{address:"0x850c015A6A88756a59Dc025fca988494fF90DBB7",id:A.HookType.PROMOCODE,name:"Discount code"},{address:"0x6d1571813c8fEB24856594d23b323234B1adEfE1",id:A.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"}]},id:5,isTestNetwork:!0,keyManagerAddress:"0xc328aE7fc36f975BE120aaa99f2d96C3E732e5b6",maxFreeClaimCost:1e5,multisig:"0x95C06469e557d8645966077891B4aeDe8D55A755",name:"Goerli",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"ETH",symbol:"ETH",wrapped:"0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6"},opensea:{collectionUrl:e=>`https://testnets.opensea.io/assets/goerli/${e}`,tokenUrl:(e,s)=>`https://testnets.opensea.io/assets/goerli/${e}/${s}`},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/5",publicLockVersionToDeploy:13,publicProvider:"https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",startBlock:7179039,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-goerli/version/latest",studioName:"unlock-protocol-goerli"},swapPurchaser:"0x49aD0039B30De002d4C27A6E8Fc026c7e23d083C",tokens:[{address:"0x07865c6E87B9F70255377e024ace6630C1Eaa37F",decimals:6,featured:!0,mainnetAddress:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",name:"USD Coin",symbol:"USDC"},{address:"0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",decimals:18,featured:!0,mainnetAddress:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",name:"Wrapped Ether",symbol:"WETH"},{address:"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",decimals:18,featured:!0,mainnetAddress:"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",name:"Uniswap",symbol:"UNI"}],uniswapV3:{factoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",oracle:"0x25197CaCDE16500032EF4B35d60c6f7aEd4a38a5",positionManager:"0xC36442b4a4522E871399CD717aBDD847Ab11FE88",universalRouterAddress:"0x4648a43B2C14Da09FdF82B161150d3F634f40491"},universalCard:{cardPurchaserAddress:"0x061Bfda0446c5f71Da760BC31371CB95808f5d82",stripeDestinationCurrency:"usdc",stripeDestinationNetwork:"ethereum"},unlockAddress:"0x627118a4fB747016911e5cDA82e2E77C531e8206",unlockOwner:"0x6E74DC46EbF2cDB75B72Ab1dCAe3C98c7E9d28a1",url:"https://goerli.net/"},M=d(l()),Re={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"celo",description:"Celo is the carbon-negative, mobile-first, EVM-compatible blockchain ecosystem leading a thriving new digital economy for all.",explorer:{name:"Celoscan",urls:{address:e=>`https://celoscan.io/address/${e}`,base:"https://celoscan.io/",token:(e,s)=>`https://celoscan.io/token/${e}?a=${s}`,transaction:e=>`https://celoscan.io/tx/${e}`}},featured:!1,hooks:{onKeyPurchaseHook:[{address:"0x1Bc951F8ed90F6c135F01Fe62CA348F4c3F43D00",id:M.HookType.CAPTCHA,name:"Captcha"},{address:"0xdd753E08BB09F22593537f29100F0eD98AfA57FA",id:M.HookType.GUILD,name:"Guild"},{address:"0x55C7336ea96BABb0bEabD676C07880aa8b76584a",id:M.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"}]},id:42220,isTestNetwork:!1,keyManagerAddress:"0xF6963D3c395A7914De77f771C2fC44b47B8379AC",maxFreeClaimCost:1,multisig:"0xc293E2da9E558bD8B1DFfC4a7b174729fAb2e4E8",name:"Celo",nativeCurrency:{coingecko:"celo",decimals:18,name:"CELO",symbol:"CELO"},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/42220",publicLockVersionToDeploy:13,publicProvider:"https://forno.celo.org",startBlock:13994123,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-celo/version/latest",studioName:"unlock-protocol-celo"},swapPurchaser:"0x42F5c7839Bf00FAea6ca09517E96E82e7364384D",tokens:[{address:"0xef4229c8c3250C675F21BCefa42f58EfbfF6002a",decimals:6,featured:!0,mainnetAddress:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",name:"USD Coin",symbol:"USDC"},{address:"0xE4fE50cdD716522A56204352f00AA110F731932d",decimals:18,featured:!0,mainnetAddress:"0x6B175474E89094C44Da98b954EedeAC495271d0F",name:"Dai Stablecoin",symbol:"DAI"}],uniswapV3:{factoryAddress:"0xAfE208a311B21f13EF87E33A90049fC17A7acDEc",oracle:"0x5108412Dd50A6ea79d2F13D5d1A23FDD9bF532db",quoterAddress:"0x82825d0554fA07f7FC52Ab63c961F330fdEFa8E8",universalRouterAddress:"0xC73d61d192FB994157168Fb56730FdEc64C9Cb8F"},unlockAddress:"0x1FF7e338d5E582138C46044dc238543Ce555C963",url:"https://celo.org"},x=d(l()),We={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"arbitrum",description:"Arbitrum One is a Layer 2 (L2) chain running on top of Ethereum Mainnet that enables high-throughput, low cost smart contracts operations.",explorer:{name:"Arbitrum",urls:{address:e=>`https://arbiscan.io/address/${e}`,base:"https://arbiscan.io/",token:(e,s)=>`https://arbiscan.io/token/${e}?a=${s}`,transaction:e=>`https://arbiscan.io/tx/${e}`}},featured:!0,governanceBridge:{connext:"0xEE9deC2712cCE65174B561151701Bf54b99C24C8",domainId:1634886255,modules:{connextMod:"0x4A553635774b3d6fB6273A83b5B49577dF450227",delayMod:"0xF241F12506fb6Bf1909c6bC176A199166414007a"}},hooks:{onKeyPurchaseHook:[{address:"0xd0b14797b9D08493392865647384974470202A78",id:x.HookType.PASSWORD,name:"Password required"},{address:"0xD925Ac2887Ba4372849F0fd64217A6749552bb21",id:x.HookType.CAPTCHA,name:"Captcha"},{address:"0x06538095ae3B5123e440D9991377B85C3BC6E6FF",id:x.HookType.GUILD,name:"Guild"},{address:"0x1A9E2E085bF4E4fE5eE45C682a3Af26d55FA1431",id:x.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"}]},id:42161,isTestNetwork:!1,keyManagerAddress:"0x520294E736167303efa038205D4391b58261BC9c",maxFreeClaimCost:100,multisig:"0x310e9f9E3918a71dB8230cFCF32a083c7D9536d0",name:"Arbitrum",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"ETH",symbol:"ETH",wrapped:"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"},opensea:{collectionUrl:e=>`https://opensea.io/assets/arbitrum/${e}`,tokenUrl:(e,s)=>`https://opensea.io/assets/arbitrum/${e}/${s}`},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/42161",publicLockVersionToDeploy:13,publicProvider:"https://arb1.arbitrum.io/rpc",startBlock:17429533,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-arbitrum/version/latest",networkName:"arbitrum-one",studioName:"unlock-protocol-arbitrum"},swapPurchaser:"0x0C33884Ab3eE799E7628FA3fCF20B81997745a72",tokens:[{address:"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",decimals:18,featured:!0,name:"Wrapped Ether",symbol:"WETH"},{address:"0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8",decimals:6,name:"USD Coin (Arb1)",symbol:"USDC"},{address:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",decimals:6,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",decimals:6,featured:!0,name:"Tether USD",symbol:"USDT"},{address:"0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI"},{address:"0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f",decimals:8,featured:!0,name:"Wrapped BTC",symbol:"WBTC"},{address:"0x912CE59144191C1204E64559FE8253a0e49E6548",decimals:18,name:"Arbitrum",symbol:"ARB"}],uniswapV3:{factoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",oracle:"0x821d830a7b9902F83359Bf3Ac727B04b10FD461d",positionManager:"0xC36442b4a4522E871399CD717aBDD847Ab11FE88",quoterAddress:"0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6",universalRouterAddress:"0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5"},unlockAddress:"0x1FF7e338d5E582138C46044dc238543Ce555C963",url:"https://arbitrum.io/"},L=d(l()),Ve={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"avax",description:"Avalanche is an open, programmable smart contracts platform for decentralized applications.",explorer:{name:"Snowtrace (Avalanche)",urls:{address:e=>`https://snowtrace.io/address/${e}`,base:"https://snowtrace.io/",token:(e,s)=>`https://snowtrace.io/token/${e}?a=${s}`,transaction:e=>`https://snowtrace.io/tx/${e}`}},featured:!1,hooks:{onKeyPurchaseHook:[{address:"0x2499D94880B30fA505543550ac8a1e24cfFeFe78",id:L.HookType.CAPTCHA,name:"Captcha"},{address:"0x58D86Dc056c442867485941FeBeA8D3bB4657eAC",id:L.HookType.PASSWORD,name:"Password required"},{address:"0x520294E736167303efa038205D4391b58261BC9c",id:L.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"}]},id:43114,isTestNetwork:!1,keyManagerAddress:"0x8e0B46ec3B95c81355175693dA0083b00fCc1326",maxFreeClaimCost:1,multisig:"0xEc7777C51327917fd2170c62873272ea168120Cb",name:"Avalanche (C-Chain)",nativeCurrency:{coingecko:"avalanche-2",decimals:18,name:"AVAX",symbol:"AVAX"},opensea:{collectionUrl:e=>`https://opensea.io/assets/avalanche/${e}`,tokenUrl:(e,s)=>`https://opensea.io/assets/avalanche/${e}/${s}`},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/43114",publicLockVersionToDeploy:13,publicProvider:"https://api.avax.network/ext/bc/C/rpc",startBlock:17188332,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-avalanche/version/latest",studioName:"unlock-protocol-avalanche"},tokens:[{address:"0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB",decimals:18,featured:!0,name:"Wrapped Ether",symbol:"WETH.e"},{address:"0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664",decimals:6,name:"USD Coin",symbol:"USDC.e"},{address:"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",decimals:6,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0xc7198437980c041c805A1EDcbA50c1Ce5db95118",decimals:6,featured:!0,name:"Tether USD",symbol:"USDT.e"},{address:"0xd586E7F844cEa2F87f50152665BCbc2C279D8d70",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI.e"},{address:"0x50b7545627a5162F82A992c33b87aDc75187B218",decimals:8,featured:!0,name:"Wrapped BTC",symbol:"WBTC.e"}],unlockAddress:"0x70cBE5F72dD85aA634d07d2227a421144Af734b3",url:"https://www.avalabs.org/"},g=d(l()),je={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"base",description:"Base is a secure, low-cost, builder-friendly Ethereum L2 built to bring the next billion users onchain. ",explorer:{name:"Basescan",urls:{address:e=>`https://basescan.org/address/${e}`,base:"https://basescan.org/",token:(e,s)=>`https://basescan.org/token/${e}?a=${s}`,transaction:e=>`https://basescan.org/tx/${e}`}},featured:!0,fullySubsidizedGas:!1,hooks:{onKeyPurchaseHook:[{address:"0x7455DdA870f8421b7C1920Efb84DFF7398c6A73E",id:g.HookType.PASSWORD,name:"Password required"},{address:"0x8c573E1A64D7C6726B3b2E119206e9FD1f5Bc0a0",id:g.HookType.PROMOCODE,name:"Discount code"},{address:"0xC2227b9fc792a5933E64FE9F782fdeDDaf49951b",id:g.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"},{address:"0x87AaA7498Daf5Bb0DB03806fB5389b260E8aCe92",id:g.HookType.GUILD,name:"Guild"}]},id:8453,isTestNetwork:!1,keyManagerAddress:"0xD26c05a33349a6DeD02DD9360e1ef303d1246fb6",maxFreeClaimCost:100,multisig:"0x8149FeaFa41DD1ee3CA62299b9c67e9ac12FA340",name:"Base",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"ETH",symbol:"ETH",wrapped:"0x4200000000000000000000000000000000000006"},opensea:{collectionUrl:e=>`https://opensea.io/assets/base/${e}`,tokenUrl:(e,s)=>`https://opensea.io/assets/base/${e}/${s}`},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/8453",publicLockVersionToDeploy:13,publicProvider:"https://mainnet.base.org",startBlock:175e4,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-base/version/latest",networkName:"base",studioName:"unlock-protocol-base"},swapPurchaser:"0x70B3c9Dd9788570FAAb24B92c3a57d99f8186Cc7",tokens:[{address:"0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI"},{address:"0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA",decimals:6,name:"USD Base Coin",symbol:"USDbC"},{address:"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",decimals:6,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0x4200000000000000000000000000000000000006",decimals:18,name:"Wrapped Ether",symbol:"WETH"}],uniswapV3:{factoryAddress:"0x33128a8fC17869897dcE68Ed026d694621f6FDfD",positionManager:"0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",universalRouterAddress:"0x198EF79F1F515F02dFE9e3115eD9fC07183f02fC"},unlockAddress:"0xd0b14797b9D08493392865647384974470202A78",url:"https://base.org/"},E=d(l()),ze={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"linea",description:"Linea a Layer 2 zk-Rollup EVM-compatible chain powered by ConsenSys.",explorer:{name:"Linea",urls:{address:e=>`https://lineascan.build/address/${e}`,base:"https://lineascan.build/",token:(e,s)=>`https://lineascan.build/token/${e}?a=${s}`,transaction:e=>`https://lineascan.build/tx/${e}`}},featured:!1,hooks:{onKeyPurchaseHook:[{address:"0x6878Ae3c863f6Ebd27B47C02F6B32aAC8B0BA07E",id:E.HookType.PASSWORD,name:"Password required"},{address:"0x8c5D54B2CAA4C2D08B0DDF82a1e6D2641779B8EC",id:E.HookType.CAPTCHA,name:"Captcha"},{address:"0xaE8F3F0826A39122401ED634f0a5C19549331432",id:E.HookType.GUILD,name:"Guild"},{address:"0xCD9C9b40D757b56359e19563203D3bc64089638d",id:E.HookType.PROMOCODE,name:"Discount code"},{address:"0x4Bf912519549DF750002814a2DcE7184b3971F06",id:E.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"}]},id:59144,isTestNetwork:!1,keyManagerAddress:"0x338b1f296217485bf4df6CE9f93ab4C73F72b57D",maxFreeClaimCost:10,name:"Linea",nativeCurrency:{coingecko:"linea-eth",decimals:18,name:"Linea Ether",symbol:"ETH"},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/59144",publicLockVersionToDeploy:13,publicProvider:"https://rpc.linea.build/",startBlock:560908,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-linea/version/latest",studioName:"unlock-protocol-linea"},tokens:[{address:"0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",decimals:18,featured:!0,name:"Wrapped Ether",symbol:"WETH"},{address:"0x4AF15ec2A0BD43Db75dd04E62FAA3B8EF36b00d5",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI"},{address:"0xA219439258ca9da29E9Cc4cE5596924745e12B93",decimals:6,featured:!0,name:"Tether USD",symbol:"USDT"},{address:"0x176211869cA2b568f2A7D4EE941E073a821EE1ff",decimals:6,featured:!0,name:"USDC",symbol:"USDC"},{address:"0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4",decimals:8,featured:!0,name:"Wrapped BTC",symbol:"WBTC"}],unlockAddress:"0x70B3c9Dd9788570FAAb24B92c3a57d99f8186Cc7",url:"https://linea.build/"},y=d(l()),qe={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"sepolia",description:"Sepolia is the primary testnet recommended by the Ethereum community for dapp development.",explorer:{name:"Sepolia Etherscan",urls:{address:e=>`https://sepolia.etherscan.io/address/${e}`,base:"https://sepolia.etherscan.io/",token:(e,s)=>`https://sepolia.etherscan.io/token/${e}?a=${s}`,transaction:e=>`https://sepolia.etherscan.io/tx/${e}`}},featured:!0,fullySubsidizedGas:!0,hooks:{onKeyPurchaseHook:[{address:"0x34EbEc0AE80A2d078DE5489f0f5cAa4d3aaEA355",id:y.HookType.PASSWORD,name:"Password required"},{address:"0xd0b14797b9D08493392865647384974470202A78",id:y.HookType.CAPTCHA,name:"Captcha"},{address:"0x6878Ae3c863f6Ebd27B47C02F6B32aAC8B0BA07E",id:y.HookType.GUILD,name:"Guild"},{address:"0x639143cbf90F27eA5Ce4b3A7D869d4D7878009A5",id:y.HookType.PROMOCODE,name:"Discount code"},{address:"0x0aC1a84AcaB08b630714d59dA74576D7274E68d5",id:y.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"}]},id:11155111,isTestNetwork:!0,keyManagerAddress:"0x338b1f296217485bf4df6CE9f93ab4C73F72b57D",maxFreeClaimCost:1e3,multisig:"0x95fE514fe7F60722AFF0FD009ebeE4Ba2013924c",name:"Sepolia",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"ETH",symbol:"ETH"},opensea:{collectionUrl:e=>`https://testnets.opensea.io/assets/sepolia/${e}`,tokenUrl:(e,s)=>`https://testnets.opensea.io/assets/sepolia/${e}/${s}`},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/11155111",publicLockVersionToDeploy:13,publicProvider:"https://rpc2.sepolia.org/",startBlock:4381710,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-sepolia/version/latest",networkName:"sepolia",studioName:"unlock-protocol-sepolia"},tokens:[{address:"0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",decimals:18,featured:!0,mainnetAddress:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",name:"Wrapped Ether",symbol:"WETH"},{address:"0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",decimals:6,featured:!0,name:"USDC",symbol:"USDC"}],uniswapV3:{factoryAddress:"0xB7f907f7A9eBC822a80BD25E224be42Ce0A698A0",positionManager:"0x1238536071E1c677A632429e3655c799b22cDA52",universalRouterAddress:"0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD"},unlockAddress:"0x36b34e10295cCE69B652eEB5a8046041074515Da",unlockDaoToken:{address:"0x447B1492C5038203f1927eB2a374F5Fcdc25999d"},url:"https://github.com/eth-clients/sepolia"},Ge={chain:"zkevm",description:"Polygon zkEVM is a Layer 2 network of the Ethereum Virtual Machine (EVM), a zero-knowledge (ZK) rollup scaling solution.",explorer:{name:"zkEVM (Polygonscan)",urls:{address:e=>`https://zkevm.polygonscan.com/address/${e}`,base:"https://zkevm.polygonscan.com/",token:(e,s)=>`https://zkevm.polygonscan.com/token/${e}?a=${s}`,transaction:e=>`https://zkevm.polygonscan.com/tx/${e}`}},featured:!1,id:1101,isTestNetwork:!1,maxFreeClaimCost:1,multisig:"0xD62EF39c54d9100B17c8fA3C2D15e0262338AED0",name:"zkEVM (Polygon)",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH",wrapped:"0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9"},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/1101",publicLockVersionToDeploy:14,publicProvider:"https://polygon-zkevm.drpc.org",startBlock:0,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-zkevm/version/latest",networkName:"polygon-zkevm",studioName:"unlock-protocol-zkevm"},tokens:[{address:"0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9",decimals:18,featured:!0,name:"Wrapped Ether",symbol:"WETH9"},{address:"0x37eAA0eF3549a5Bb7D431be78a3D99BD360d19e5",decimals:6,name:"USD Coin",symbol:"USDC"},{address:"0x1E4a5963aBFD975d8c9021ce480b42188849D41d",decimals:6,featured:!0,name:"Tether USD",symbol:"USDT"},{address:"0x744C5860ba161b5316F7E80D9Ec415e2727e5bD5",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI"},{address:"0xEA034fb02eB1808C2cc3adbC15f447B93CbE08e1",decimals:8,featured:!0,name:"Wrapped BTC",symbol:"WBTC"}],unlockAddress:"0x259813B665C8f6074391028ef782e27B65840d89",url:"https://polygon.technology/polygon-zkevm"},Ke={chain:"scroll",description:"Scroll seamlessly extends Ethereum’s capabilities through zero knowledge tech and EVM compatibility. The L2 network built by Ethereum devs for Ethereum devs.",explorer:{name:"Scrollscan",urls:{address:e=>`https://scrollscan.com/address/${e}`,base:"https://scrollscan.com/",token:(e,s)=>`https://etherscan.com/token/${e}?a=${s}`,transaction:e=>`https://scrollscan.com/tx/${e}`}},featured:!1,id:534352,isTestNetwork:!1,maxFreeClaimCost:100,multisig:"0x0feE9413A626a05a08AcB0E0e5D6A483e6A0a172",name:"Scroll",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"Ether",symbol:"ETH",wrapped:"0x5300000000000000000000000000000000000004"},provider:"https://rpc.unlock-protocol.com/534352",publicLockVersionToDeploy:14,publicProvider:"https://rpc.scroll.io",startBlock:2937779,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-scroll/version/latest",studioName:"unlock-protocol-scroll"},tokens:[{address:"0x5300000000000000000000000000000000000004",decimals:18,featured:!0,name:"Wrapped Ether",symbol:"WETH"},{address:"0xcA77eB3fEFe3725Dc33bccB54eDEFc3D9f764f97",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI"},{address:"0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4",decimals:6,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df",decimals:6,name:"Tether USD",symbol:"USDT"},{address:"0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1",decimals:8,featured:!0,name:"Wrapped BTC",symbol:"WBTC"}],unlockAddress:"0x259813B665C8f6074391028ef782e27B65840d89",url:"https://scroll.io"},Xe={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"zksync",description:"zkSync is a Layer-2 protocol that scales Ethereum with cutting-edge ZK tech. Our mission is not only to merely increase Ethereum's throughput, but to fully preserve its foundational values – freedom, self-sovereignty, decentralization – at scale.",explorer:{name:"zkSync Era Block Explorer",urls:{address:e=>`https://explorer.zksync.io/address/${e}`,base:"https://explorer.zksync.io/",token:(e,s)=>`https://explorer.zksync.io/token/${e}?a=${s}`,transaction:e=>`https://explorer.zksync.io/tx/${e}`}},featured:!1,hooks:{},id:324,isTestNetwork:!1,maxFreeClaimCost:1,multisig:"0xFa5592CE9C52FA5214ccEa10cB72Faa88eC80a3c",name:"zkSync Era",nativeCurrency:{coingecko:"zksync-eth",decimals:18,name:"zkSync Ether",symbol:"ETH"},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/324",publicLockVersionToDeploy:14,publicProvider:"https://mainnet.era.zksync.io",startBlock:25905168,subgraph:{endpoint:"https://api.studio.thegraph.com/query/65299/unlock-protocol-zksync/version/latest",networkName:"zksync-era"},tokens:[{address:"0x000000000000000000000000000000000000800A",decimals:18,name:"Wrapped Ether",symbol:"WETH"},{address:"0x4B9eb6c0b6ea15176BBF62841C6B2A8a398cb656",decimals:18,name:"Dai Stablecoin",symbol:"DAI"},{address:"0x493257fD37EDB34451f62EDf8D2a0C418852bA4C",decimals:6,name:"Tether USD",symbol:"USDT"},{address:"0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4",decimals:6,name:"USD Coin",symbol:"USDC"},{address:"0xBBeB516fb02a01611cBBE0453Fe3c580D7281011",decimals:8,name:"Wrapped BTC",symbol:"WBTC"}],unlockAddress:"0x32CF553582159F12fBb1Ae1649b3670395610F24",url:"https://zksync.io/"},se={};Object.keys(_).forEach(e=>{const s=_[e];se[s.id]=s});var te=se;const oe={};Object.keys(te).map(Number).forEach(e=>{const{provider:s,publicProvider:t,name:o,id:a,subgraph:r}=te[e];oe[e]={id:a,name:o,publicProvider:t,provider:s,subgraph:r}}),u.Paywall=Y,u.default=Y,u.networkConfigs=oe,u.setupUnlockProtocolVariable=re,Object.defineProperties(u,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
(function(u,F){typeof exports=="object"&&typeof module<"u"?F(exports,require("postmate")):typeof define=="function"&&define.amd?define(["exports","postmate"],F):(u=typeof globalThis<"u"?globalThis:u||self,F(u["@unlock-protocol/paywall"]={},u.Postmate))})(this,function(u,F){"use strict";const b=(e,a)=>{let s;e===h.status&&b("unlockProtocol",a.state);try{s=new window.CustomEvent(e,{detail:a})}catch{s=window.document.createEvent("customevent"),s.initCustomEvent(e,!0,!0,a)}window.dispatchEvent(s)},h={status:"unlockProtocol.status",authenticated:"unlockProtocol.authenticated",transactionSent:"unlockProtocol.transactionSent",metadata:"unlockProtocol.metadata",closeModal:"unlockProtocol.closeModal"},te=e=>{const a={},s={writable:!1,configurable:!1,enumerable:!1},o=Object.keys(e).map(r=>({[r]:{value:e[r],...s}}));Object.defineProperties(a,Object.assign({},...o)),(Object.freeze||Object)(a);try{Object.defineProperties(window,{unlockProtocol:{value:a,...s}})}catch{console.warn("WARNING: unlockProtocol already defined, cannot re-define it")}},w=(e,a)=>{const s={...e};return s.autoconnect&&(s.useDelegatedProvider=!!a),s.useDelegatedProvider||(s.useDelegatedProvider=!!a),s};function H(){let e;try{e=window.localStorage;const a="__storage_test__";return e.setItem(a,a),e.removeItem(a),!0}catch(a){return a instanceof DOMException&&(a.code===22||a.code===1014||a.name==="QuotaExceededError"||a.name==="NS_ERROR_DOM_QUOTA_REACHED")&&e&&e.length!==0}}function re(e,a){H()&&localStorage.setItem(e,JSON.stringify(a))}function ne(e){if(H()){const a=localStorage.getItem(e)||!1;return a?JSON.parse(a):void 0}}const ce=async(e,a,s)=>{const o={method:"eth_call",params:[{to:a,data:`0x6d8ea5b4000000000000000000000000${s.substring(2)}`},"latest"],id:31337,jsonrpc:"2.0"};try{const t=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)});if(!t)return 0;const{result:r}=await t.json();return parseInt(r,16)===1}catch(t){return console.error(`Error fetching hasValidKey for ${s} on ${a}: ${t}`),!1}},de=async(e,a,s)=>{const o=[];return a?.locks?(await Promise.all(Object.entries(a.locks).map(async([t])=>{const r=a.locks[t].network||a.network;if(r&&s[r]){const{provider:n}=s[r];await ce(n,t,e)&&o.push(t)}else console.error(`Missing network configuration for lock ${t} in paywall config`)})),o):[]};function ie(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var P={exports:{}},k=typeof Reflect=="object"?Reflect:null,M=k&&typeof k.apply=="function"?k.apply:function(a,s,o){return Function.prototype.apply.call(a,s,o)},g;k&&typeof k.ownKeys=="function"?g=k.ownKeys:Object.getOwnPropertySymbols?g=function(a){return Object.getOwnPropertyNames(a).concat(Object.getOwnPropertySymbols(a))}:g=function(a){return Object.getOwnPropertyNames(a)};function le(e){console&&console.warn&&console.warn(e)}var L=Number.isNaN||function(a){return a!==a};function c(){c.init.call(this)}P.exports=c,P.exports.once=me,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var R=10;function T(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return R},set:function(e){if(typeof e!="number"||e<0||L(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");R=e}}),c.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(a){if(typeof a!="number"||a<0||L(a))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+a+".");return this._maxListeners=a,this};function N(e){return e._maxListeners===void 0?c.defaultMaxListeners:e._maxListeners}c.prototype.getMaxListeners=function(){return N(this)},c.prototype.emit=function(a){for(var s=[],o=1;o<arguments.length;o++)s.push(arguments[o]);var t=a==="error",r=this._events;if(r!==void 0)t=t&&r.error===void 0;else if(!t)return!1;if(t){var n;if(s.length>0&&(n=s[0]),n instanceof Error)throw n;var d=new Error("Unhandled error."+(n?" ("+n.message+")":""));throw d.context=n,d}var m=r[a];if(m===void 0)return!1;if(typeof m=="function")M(m,this,s);else for(var oe=m.length,ze=K(m,oe),o=0;o<oe;++o)M(ze[o],this,s);return!0};function $(e,a,s,o){var t,r,n;if(T(s),r=e._events,r===void 0?(r=e._events=Object.create(null),e._eventsCount=0):(r.newListener!==void 0&&(e.emit("newListener",a,s.listener?s.listener:s),r=e._events),n=r[a]),n===void 0)n=r[a]=s,++e._eventsCount;else if(typeof n=="function"?n=r[a]=o?[s,n]:[n,s]:o?n.unshift(s):n.push(s),t=N(e),t>0&&n.length>t&&!n.warned){n.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+n.length+" "+String(a)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=e,d.type=a,d.count=n.length,le(d)}return e}c.prototype.addListener=function(a,s){return $(this,a,s,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(a,s){return $(this,a,s,!0)};function ue(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function W(e,a,s){var o={fired:!1,wrapFn:void 0,target:e,type:a,listener:s},t=ue.bind(o);return t.listener=s,o.wrapFn=t,t}c.prototype.once=function(a,s){return T(s),this.on(a,W(this,a,s)),this},c.prototype.prependOnceListener=function(a,s){return T(s),this.prependListener(a,W(this,a,s)),this},c.prototype.removeListener=function(a,s){var o,t,r,n,d;if(T(s),t=this._events,t===void 0)return this;if(o=t[a],o===void 0)return this;if(o===s||o.listener===s)--this._eventsCount===0?this._events=Object.create(null):(delete t[a],t.removeListener&&this.emit("removeListener",a,o.listener||s));else if(typeof o!="function"){for(r=-1,n=o.length-1;n>=0;n--)if(o[n]===s||o[n].listener===s){d=o[n].listener,r=n;break}if(r<0)return this;r===0?o.shift():pe(o,r),o.length===1&&(t[a]=o[0]),t.removeListener!==void 0&&this.emit("removeListener",a,d||s)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(a){var s,o,t;if(o=this._events,o===void 0)return this;if(o.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):o[a]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete o[a]),this;if(arguments.length===0){var r=Object.keys(o),n;for(t=0;t<r.length;++t)n=r[t],n!=="removeListener"&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(s=o[a],typeof s=="function")this.removeListener(a,s);else if(s!==void 0)for(t=s.length-1;t>=0;t--)this.removeListener(a,s[t]);return this};function V(e,a,s){var o=e._events;if(o===void 0)return[];var t=o[a];return t===void 0?[]:typeof t=="function"?s?[t.listener||t]:[t]:s?fe(t):K(t,t.length)}c.prototype.listeners=function(a){return V(this,a,!0)},c.prototype.rawListeners=function(a){return V(this,a,!1)},c.listenerCount=function(e,a){return typeof e.listenerCount=="function"?e.listenerCount(a):j.call(e,a)},c.prototype.listenerCount=j;function j(e){var a=this._events;if(a!==void 0){var s=a[e];if(typeof s=="function")return 1;if(s!==void 0)return s.length}return 0}c.prototype.eventNames=function(){return this._eventsCount>0?g(this._events):[]};function K(e,a){for(var s=new Array(a),o=0;o<a;++o)s[o]=e[o];return s}function pe(e,a){for(;a+1<e.length;a++)e[a]=e[a+1];e.pop()}function fe(e){for(var a=new Array(e.length),s=0;s<a.length;++s)a[s]=e[s].listener||e[s];return a}function me(e,a){return new Promise(function(s,o){function t(n){e.removeListener(a,r),o(n)}function r(){typeof e.removeListener=="function"&&e.removeListener("error",t),s([].slice.call(arguments))}G(e,a,r,{once:!0}),a!=="error"&&be(e,t,{once:!0})})}function be(e,a,s){typeof e.on=="function"&&G(e,"error",a,s)}function G(e,a,s,o){if(typeof e.on=="function")o.once?e.once(a,s):e.on(a,s);else if(typeof e.addEventListener=="function")e.addEventListener(a,function t(r){o.once&&e.removeEventListener(a,t),s(r)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var he=P.exports;const De=ie(he),Ce=()=>{if(typeof window<"u"){const e=window;if(e&&e.ethereum)return e.ethereum;if(e&&e.web3)return e.web3.currentProvider}},Ae=async e=>{if(!e)throw new Error("Fatal: no web3 provider found.");return e.enable?await e.enable():null},z={resolveMethodCall:"handleMethodCallEvent",resolveOnEvent:"handleOnEventCallEvent"};class Ee extends De.EventEmitter{constructor(a,s,o){super(),this.isMetamask=!0,this.#e={},this.#a={},this.paywall=a,this.unlockUrl=s,this.config=o}#e;#a;async connect(){this.paywall.iframe?this.paywall.showIframe():await this.paywall.shakeHands(this.unlockUrl),this.paywall.sendOrBuffer("authenticate",this.config),this.paywall.child.on(O.resolveOnEventCall,a=>this.#a?.[a]?.()),this.paywall.child.on(O.resolveMethodCall,a=>{const{id:s}=a,o=this.#e[s];o&&(delete this.#e[s],o(a.error,a.response))})}async#s(a){return new Promise((s,o)=>{this.#e[a.id]=(t,r)=>{t?o(t):s(r)},this.paywall.sendOrBuffer(z.resolveMethodCall,a)})}async request(a){return a.id||(a.id=window.crypto.randomUUID()),a.method==="eth_requestAccounts"?(await this.connect(),this.#s(a)):await this.#s(a)}on(a,s){return this.#a[a]=s,this.paywall.sendOrBuffer(z.resolveOnEvent,{event:a}),this}}let q="https://paywall.unlock-protocol.com";const ke=e=>{try{return new URL(e)}catch{return null}};if(typeof window<"u"){const e=document?.currentScript?.getAttribute("src");if(e){const a=ke(e);a&&["paywall.unlock-protocol.com","staging-paywall.unlock-protocol.com"].includes(a.hostname)&&(q=a.toString())}}const ye=new URL(q);function Be(e){let a;return e.match("staging-paywall.unlock-protocol.com")?a="https://staging-app.unlock-protocol.com":e.match("paywall.unlock-protocol.com")?a="https://app.unlock-protocol.com":a="http://localhost:3000",{unlockAppUrl:a}}const{unlockAppUrl:Fe}=Be(ye.toString()),Y="unlock-protocol-checkout";var O=(e=>(e.userInfo="checkout.userInfo",e.closeModal="checkout.closeModal",e.transactionInfo="checkout.transactionInfo",e.metadata="checkout.metadata",e.methodCall="checkout.methodCall",e.onEvent="checkout.onEvent",e.enable="checkout.enable",e.resolveMethodCall="checkout.resolveMethodCall",e.resolveOnEventCall="checkout.resolveOnEventCall",e))(O||{});let S;class X{constructor(a){this.childCallBuffer=[],this.connect=async s=>{this.provider=s||Ce()},this.getProvider=(s="https://app.unlock-protocol.com",o={clientId:window.location.origin.toString()})=>(this.provider||(this.provider=new Ee(this,s,o)),this.provider),this.loadCheckoutModal=async(s,o)=>new Promise(async t=>{const r={},n=(d,m)=>{if(d=="checkout.userInfo"&&(r.userAddress=m.address),d=="checkout.transactionInfo"&&(r.transactionInfo=m),d==="checkout.closeModal")return t(r)};this.iframe?this.showIframe():await this.shakeHands(o||Fe,n),this.setPaywallConfig(s||this.paywallConfig)}),this.setPaywallConfig=s=>{this.provider&&!this.provider.isPaywallProvider&&(s.autoconnect=!0),this.paywallConfig=w(s,this.provider),this.loadCache(),this.paywallConfig=w(s,this.provider),this.checkKeysAndLock(),this.sendOrBuffer("setConfig",w(s||this.paywallConfig,this.provider))},this.shakeHands=async(s,o)=>{S||(S=await new F({url:`${s}/checkout`,classListArray:[Y]})),this.child=S,this.iframe=document.getElementsByClassName(Y)[0],this.showIframe(),this.child.on("checkout.closeModal",()=>{this.hideIframe(),typeof o=="function"&&o("checkout.closeModal")}),this.child.on("checkout.userInfo",t=>{this.handleUserInfoEvent(t),typeof o=="function"&&o("checkout.userInfo",t)}),this.child.on("checkout.methodCall",t=>{this.handleMethodCallEvent(t),typeof o=="function"&&o("checkout.methodCall",t)}),this.child.on("checkout.onEvent",t=>{this.handleOnEventEvent(t),typeof o=="function"&&o("checkout.onEvent",t)}),this.child.on("checkout.enable",t=>{this.handleEnable(),typeof o=="function"&&o("checkout.enable",t)}),this.child.on("checkout.metadata",t=>{this.handleMetadataEvent(t),typeof o=="function"&&o("checkout.metadata",t)}),this.child.on("checkout.transactionInfo",t=>{this.handleTransactionInfoEvent(t),typeof o=="function"&&o("checkout.transactionInfo",t)}),this.childCallBuffer.forEach(t=>this.child.call(...t))},this.sendOrBuffer=(s,o)=>{this.child?this.child.call(s,o):this.childCallBuffer.push([s,o])},this.handleTransactionInfoEvent=async({hash:s,lock:o,...t})=>{b(h.transactionSent,{hash:s,lock:o,...t}),!this.paywallConfig?.pessimistic&&s&&o&&this.unlockPage([o])},this.handleUserInfoEvent=async s=>{this.userAccountAddress=s.address,b(h.authenticated,s),this.cacheUserInfo(s),this.checkKeysAndLock()},this.handleMethodCallEvent=async({method:s,params:o,id:t})=>{const r=this.provider;if(r.request)return r.request({method:s,params:o,id:t}).then(n=>{this.child.call("resolveMethodCall",{id:t,error:null,response:n})}).catch(n=>{this.child.call("resolveMethodCall",{id:t,error:n,response:null})});r.sendAsync?r.sendAsync({method:s,params:o,id:t},(n,d)=>{this.child.call("resolveMethodCall",{id:t,error:n,response:d})}):console.error("unknown method to call provider! Please make sure you use and EIP1193 provider!",{provider:r})},this.handleOnEventEvent=async s=>{this.provider.on(s,()=>{this.child.call("resolveOnEvent",s)})},this.handleEnable=async()=>{const s=await Ae(this.provider);this.child.call("resolveOnEnable",s)},this.showIframe=()=>{this.iframe.classList.add("show")},this.hideIframe=()=>{b(h.closeModal,{}),this.iframe.classList.remove("show")},this.getUserAccountAddress=()=>this.userAccountAddress,this.getState=()=>this.lockStatus,this.cacheUserInfo=async s=>{re("userInfo",s)},this.loadCache=async()=>{const s=ne("userInfo");if(!s)return this.lockPage();this.userAccountAddress=s.address,this.checkKeysAndLock()},this.lockPage=()=>{this.lockStatus="locked",b(h.status,{state:this.lockStatus})},this.unlockPage=(s=[])=>{this.lockStatus="unlocked",b(h.status,{locks:s,state:this.lockStatus})},this.networkConfigs=a}async handleMetadataEvent(a){b(h.metadata,a)}async checkKeysAndLock(){if(!this.userAccountAddress)return;this.lockStatus=void 0;const a=await de(this.userAccountAddress,this.paywallConfig,this.networkConfigs);return a.length?this.unlockPage(a):this.lockPage()}}var xe=Object.create,U=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,Z=Object.getOwnPropertyNames,ge=Object.getPrototypeOf,Te=Object.prototype.hasOwnProperty,Q=(e,a)=>function(){return a||(0,e[Z(e)[0]])((a={exports:{}}).exports,a),a.exports},we=(e,a)=>{for(var s in a)U(e,s,{get:a[s],enumerable:!0})},Pe=(e,a,s,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let t of Z(a))!Te.call(e,t)&&t!==s&&U(e,t,{get:()=>a[t],enumerable:!(o=ve(a,t))||o.enumerable});return e},i=(e,a,s)=>(s=e!=null?xe(ge(e)):{},Pe(!e||!e.__esModule?U(s,"default",{value:e,enumerable:!0}):s,e)),Oe=Q({"../types/dist/src/types/unlockTypes.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.KeyStatus=e.HooksName=e.HookType=e.TransactionStatus=e.TransactionType=void 0;var a;(function(r){r.LOCK_CREATION="LOCK_CREATION",r.KEY_PURCHASE="KEY_PURCHASE",r.WITHDRAWAL="WITHDRAWAL",r.UPDATE_KEY_PRICE="UPDATE_KEY_PRICE"})(a||(e.TransactionType=a={}));var s;(function(r){r.SUBMITTED="submitted",r.PENDING="pending",r.MINED="mined",r.STALE="stale",r.FAILED="failed",r.NONE=""})(s||(e.TransactionStatus=s={}));var o;(function(r){r.CUSTOM_CONTRACT="CUSTOM_CONTRACT",r.PASSWORD="PASSWORD",r.PROMOCODE="PROMOCODE",r.PROMO_CODE_CAPPED="PROMO_CODE_CAPPED",r.PASSWORD_CAPPED="PASSWORD_CAPPED",r.CAPTCHA="CAPTCHA",r.GUILD="GUILD",r.GITCOIN="GITCOIN",r.ADVANCED_TOKEN_URI="ADVANCED_TOKEN_URI"})(o||(e.HookType=o={})),e.HooksName=["onKeyPurchaseHook","onKeyCancelHook","onValidKeyHook","onTokenURIHook","onKeyTransferHook","onKeyExtendHook","onKeyGrantHook"];var t;(function(r){r.NONE="none",r.CONFIRMING="confirming",r.CONFIRMED="confirmed",r.EXPIRED="expired",r.VALID="valid",r.SUBMITTED="submitted",r.PENDING="pending",r.FAILED="failed"})(t||(e.KeyStatus=t={}))}}),l=Q({"../types/dist/src/index.js"(e){var a=e&&e.__createBinding||(Object.create?function(o,t,r,n){n===void 0&&(n=r);var d=Object.getOwnPropertyDescriptor(t,r);(!d||("get"in d?!t.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(o,n,d)}:function(o,t,r,n){n===void 0&&(n=r),o[n]=t[r]}),s=e&&e.__exportStar||function(o,t){for(var r in o)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&a(t,o,r)};Object.defineProperty(e,"__esModule",{value:!0}),s(Oe(),e)}}),I={};we(I,{arbitrum:()=>Le,avalanche:()=>Re,base:()=>Ne,baseSepolia:()=>Ge,bsc:()=>_e,celo:()=>Me,gnosis:()=>Ue,linea:()=>$e,mainnet:()=>Se,optimism:()=>He,polygon:()=>Ie,scroll:()=>je,sepolia:()=>We,zkevm:()=>Ve,zksync:()=>Ke});var _=i(l()),Se={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"ethereum",dao:{chainId:8453,governanceBridge:{connext:"0x8898B472C54c31894e3B9bb83cEA802a5d0e63C6",domainId:6648936,modules:{connextMod:"0xAB6A5080e569A269D8cB54fdD00312A2c4c3a3aa",delayMod:"0x8f05058d05C8167132f07aAA5130Ed3F0D78d5aE"}},governor:"0x65bA0624403Fc5Ca2b20479e9F626eD4D78E0aD9"},description:"The original and most secure EVM network. ",explorer:{name:"Etherscan",urls:{address:e=>`https://etherscan.io/address/${e}`,base:"https://etherscan.io/",token:(e,a)=>`https://etherscan.com/token/${e}?a=${a}`,transaction:e=>`https://etherscan.io/tx/${e}`}},featured:!0,hooks:{onKeyPurchaseHook:[{address:"0x936Ed3E71b5990bC9A94074835D08C6ca7bbFad0",id:_.HookType.PASSWORD,name:"Password required"},{address:"0xaF96721f8ffc136e4C170446E68Dc6744B6Ee4f4",id:_.HookType.CAPTCHA,name:"Captcha"},{address:"0x1d8DD27432cC0aCB93B93c4486F46b67E2208359",id:_.HookType.GUILD,name:"Guild"}]},id:1,isTestNetwork:!1,keyManagerAddress:"0x9A1f43090307034DBFBE2ba20320Ce815ff046D4",maxFreeClaimCost:1,multisig:"0x9168EABE624e9515f3836bA1716EC1DDd4C461D4",name:"Ethereum",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"Ether",symbol:"ETH",wrapped:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"},opensea:{collectionUrl:e=>`https://opensea.io/assets/${e}`,profileUrl:e=>`https://opensea.io/${e}`,tokenUrl:(e,a)=>`https://opensea.io/assets/${e}/${a}`},previousDeploys:[{startBlock:7120795,unlockAddress:"0x3d5409CcE1d45233dE1D4eBDEe74b8E004abDD13"}],provider:"https://rpc.unlock-protocol.com/1",publicLockVersionToDeploy:14,publicProvider:"https://cloudflare-eth.com/v1/mainnet",startBlock:16989e3,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/1",graphId:"CTj3qyHTnQuTD16RkmV1BK6UmYPADwUD7WNNLEvQuTv9",studioName:"unlock-protocol-mainnet"},tokens:[{address:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",decimals:6,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",decimals:18,featured:!0,name:"Wrapped Ether",symbol:"WETH"},{address:"0x6B175474E89094C44Da98b954EedeAC495271d0F",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI"},{address:"0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0",decimals:18,name:"Matic Token",symbol:"MATIC"},{address:"0xdAC17F958D2ee523a2206206994597C13D831ec7",decimals:6,name:"Tether USD",symbol:"USDT"},{address:"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",decimals:8,featured:!0,name:"Wrapped BTC",symbol:"WBTC"},{address:"0x0D8775F648430679A709E98d2b0Cb6250d2887EF",decimals:18,name:"Basic Attention Token",symbol:"BAT"},{address:"0xd7C1EB0fe4A30d3B2a846C04aa6300888f087A5F",decimals:18,name:"POINTS",symbol:"POINTS"},{address:"0x58b6A8A3302369DAEc383334672404Ee733aB239",decimals:18,name:"Livepeer Token",symbol:"LPT"},{address:"0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE",decimals:18,name:"SHIBA INU",symbol:"SHIB"},{address:"0x514910771AF9Ca656af840dff83E8264EcF986CA",decimals:18,name:"ChainLink Token",symbol:"LINK"},{address:"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",decimals:18,name:"Uniswap",symbol:"UNI"},{address:"0xB8c77482e45F1F44dE1745F52C74426C631bDD52",decimals:18,name:"BNB",symbol:"BNB"},{address:"0x90DE74265a416e1393A450752175AED98fe11517",decimals:18,name:"Unlock Discount Token",symbol:"UDT"}],uniswapV3:{factoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",oracle:{100:"0x92C9b3A4FFD7D2046132732FedC9f9f25E316F0B",3e3:"0x584c5af22DB79a13F4Fb45c66E0ff2311D58d9B2",500:"0x2e5F6B31d100C527B782e26953D9509C591aC41d"},positionManager:"0xC36442b4a4522E871399CD717aBDD847Ab11FE88",quoterAddress:"0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6",subgraph:"https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v3",universalRouterAddress:"0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B"},unlockAddress:"0xe79B93f8E22676774F2A8dAd469175ebd00029FA",unlockDaoToken:{address:"0x90DE74265a416e1393A450752175AED98fe11517"},url:"https://ethereum.org/en/"},D=i(l()),Ue={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"xdai",dao:{chainId:8453,governanceBridge:{connext:"0x5bB83e95f63217CDa6aE3D181BA580Ef377D2109",domainId:6778479,modules:{connextMod:"0xdFB9328cF62e3525D355581dE88AeAa330879D12",delayMod:"0x6E74DC46EbF2cDB75B72Ab1dCAe3C98c7E9d28a1"}},governor:"0x65bA0624403Fc5Ca2b20479e9F626eD4D78E0aD9"},description:"Gnosis Chain is one of the first Ethereum sidechains and has stayed true to its values.",explorer:{name:"Blockscout",urls:{address:e=>`https://gnosisscan.io/address/${e}/transactions`,base:"https://gnosisscan.io/",token:(e,a)=>`https://gnosisscan.io/token/${e}?a=${a}`,transaction:e=>`https://gnosisscan.io/tx/${e}`}},featured:!0,hooks:{onKeyPurchaseHook:[{address:"0x927D68eAE936Ec0111f01Fc4Ddd9cC57DB3f0Af2",id:D.HookType.PASSWORD,name:"Password required"},{address:"0xFb0657eAE55A4dd3E2317C9eCB311bA5Ecc62C9C",id:D.HookType.CAPTCHA,name:"Captcha"},{address:"0xe20738d9798B5B5801aEEFDB81d80Fcce3a3Aa95",id:D.HookType.GUILD,name:"Guild"},{address:"0x5ff4d5733Cc2b0A069cFF409eCEad3C5C71Ee346",id:D.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"},{address:"0x111C61BD66a8c4f142e452b9087Dae5893C5C3cF",id:D.HookType.PASSWORD_CAPPED,name:"Passwords with caps. Multiple passwords can be used per contract"},{address:"0xd6129cAC45a16187F4D09Dd69C512F68F0f2B371",id:D.HookType.GITCOIN,name:"Gitcoin"}],onTokenURIHook:[{address:"0x936Ed3E71b5990bC9A94074835D08C6ca7bbFad0",id:D.HookType.ADVANCED_TOKEN_URI,name:"Advanced Token URI"}]},id:100,isTestNetwork:!1,keyManagerAddress:"0xBa81C9379AC1221BF8C100800dD0B0b0b048ba14",kickbackAddress:"0x247a38358c4d99A29091C1cEadfb8a54B783D438",maxFreeClaimCost:100,multisig:"0xfAC611a5b5a578628C28F77cEBDDB8C6159Ae79D",name:"Gnosis Chain",nativeCurrency:{coinbase:"DAI",coingecko:"xdai",decimals:18,name:"xDAI",symbol:"xDAI"},previousDeploys:[{startBlock:14521200,unlockAddress:"0x14bb3586Ce2946E71B95Fe00Fc73dd30ed830863"}],provider:"https://rpc.unlock-protocol.com/100",publicLockVersionToDeploy:14,publicProvider:"https://rpc.gnosischain.com",startBlock:19338700,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/100",graphId:"2Pr7V4721iZj5hRgLmuganYCTRee6fqqfftLCFCd72wG",networkName:"gnosis",studioName:"unlock-protocol-gnosis"},tokens:[{address:"0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83",decimals:6,featured:!0,name:"USD//C on xDai",symbol:"USDC"},{address:"0x4ECaBa5870353805a9F068101A40E0f32ed605C6",decimals:6,featured:!0,name:"Tether USD on xDai",symbol:"USDT"},{address:"0x8C84142c4a716a16a89d0e61707164d6107A9811",decimals:18,name:"UDT from Ethereum",symbol:"UDT"}],unlockAddress:"0x1bc53f4303c711cc693F6Ec3477B83703DcB317f",unlockDaoToken:{address:"0x8C84142c4a716a16a89d0e61707164d6107A9811",mainnetBridge:"0x41a4ee2855A7Dc328524babB07d7f505B201133e"},url:"https://www.gnosis.io/"},y=i(l()),Ie={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"polygon",dao:{chainId:8453,governanceBridge:{connext:"0x11984dc4465481512eb5b777E44061C158CF2259",domainId:1886350457,modules:{connextMod:"0xa8E0FD3D023B1A253eF52B6169851Ee95eF257bE",delayMod:"0x31B8bB0BC5ffEe8e476202e9D97b0b8c31aA767d"}},governor:"0x65bA0624403Fc5Ca2b20479e9F626eD4D78E0aD9"},description:"Polygon is a side-chain to build and scale your projects on Ethereum, the world's largest blockchain ecosystem.",explorer:{name:"Polygonscan",urls:{address:e=>`https://polygonscan.com/address/${e}`,base:"https://polygonscan.com/",token:(e,a)=>`https://polygonscan.com/token/${e}?a=${a}`,transaction:e=>`https://polygonscan.com/tx/${e}`}},featured:!0,hooks:{onKeyPurchaseHook:[{address:"0x9F4AE507d7E91Ab37CF35f792940fE079bd4E24d",id:y.HookType.PASSWORD,name:"Password required"},{address:"0x64bDe27046F915e2BAb6339Ce4f737E34474344d",id:y.HookType.CAPTCHA,name:"Captcha"},{address:"0xBfF080aB4600554c1e8c390d2e070CF423767B64",id:y.HookType.GUILD,name:"Guild"},{address:"0x93E160838c529873cB7565106bBb79a3226FE07A",id:y.HookType.PROMOCODE,name:"Discount code"},{address:"0x25Ec032F38b87295bA43C825993B9F4E1F4065c9",id:y.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"},{address:"0xc2D767a87d74d82CD4B290a63E2D703Ff1CDf6b9",id:y.HookType.PASSWORD_CAPPED,name:"Passwords with caps. Multiple passwords can be used per contract"}]},id:137,isTestNetwork:!1,keyManagerAddress:"0x7111a1aDfbED501beaAd556Bba7cB6dCa3296aa9",kickbackAddress:"0x247a38358c4d99A29091C1cEadfb8a54B783D438",maxFreeClaimCost:100,multisig:"0x479f3830fbd715342868BA95E438609BCe443DFB",name:"Polygon",nativeCurrency:{coingecko:"matic-network",decimals:18,name:"Wrapped Polygon Ecosystem Token",symbol:"WPOL",wrapped:"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"},opensea:{collectionUrl:e=>`https://opensea.io/assets/matic/${e}`,tokenUrl:(e,a)=>`https://opensea.io/assets/matic/${e}/${a}`},previousDeploys:[{startBlock:15714206,unlockAddress:"0x14bb3586Ce2946E71B95Fe00Fc73dd30ed830863"}],provider:"https://rpc.unlock-protocol.com/137",publicLockVersionToDeploy:14,publicProvider:"https://polygon-rpc.com/",startBlock:21986688,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/137",graphId:"6UrwdJt18yfk4PGzxyeYdH9hUM8PzWvuLbUTKa3T17PD",networkName:"matic",studioName:"unlock-protocol-polygon"},tokens:[{address:"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",decimals:6,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",decimals:6,name:"USD Coin (PoS)",symbol:"USDC"},{address:"0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",decimals:18,featured:!0,name:"Wrapped Ether",symbol:"WETH"},{address:"0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063",decimals:18,featured:!0,name:"(PoS) Dai Stablecoin",symbol:"DAI"},{address:"0xc2132D05D31c914a87C6611C10748AEb04B58e8F",decimals:6,featured:!0,name:"(PoS) Tether USD",symbol:"USDT"},{address:"0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6",decimals:8,featured:!0,name:"(PoS) Wrapped BTC",symbol:"WBTC"},{address:"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",decimals:18,name:"Wrapped Polygon Ecosystem Token",symbol:"WPOL"},{address:"0xE06Bd4F5aAc8D0aA337D13eC88dB6defC6eAEefE",decimals:18,name:"PlanetIX",symbol:"IXT"},{address:"0xf7E78d9C4c74df889A83C8C8d6D05BF70fF75876",decimals:18,name:"Unlock Discount Token (PoS)",symbol:"UDT"}],uniswapV3:{factoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",oracle:{100:"0x8c0AC149FabEeC9b759a43fC7d301B1a1D8DE0d0",3e3:"0x86399725a83bB14C47bB5ce8311Ed25378BAa162",500:"0xfA3F427d2691ce680f96E6916a9Dac6c9042CBd2"},positionManager:"0xC36442b4a4522E871399CD717aBDD847Ab11FE88",quoterAddress:"0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6",universalRouterAddress:"0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5"},universalCard:{cardPurchaserAddress:"0xAB355a589CFbBA7a21b91E5B6063bF822dCc0016",stripeDestinationCurrency:"usdc",stripeDestinationNetwork:"polygon"},unlockAddress:"0xE8E5cd156f89F7bdB267EabD5C43Af3d5AF2A78f",unlockDaoToken:{address:"0xf7E78d9C4c74df889A83C8C8d6D05BF70fF75876",mainnetBridge:"0x40ec5B33f54e0E8A33A975908C5BA1c14e5BbbDf",uniswapV3Pool:"0x8B2b66ec1E6C1895eb408F8b8fcd8cD9510F9115"},url:"https://polygon.technology/"},C=i(l()),_e={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"bsc",dao:{chainId:8453,governanceBridge:{connext:"0xCd401c10afa37d641d2F594852DA94C700e4F2CE",domainId:6450786,modules:{connextMod:"0x36b34e10295cCE69B652eEB5a8046041074515Da",delayMod:"0xcf07c951C44731f82E548286C7ebeC576149a49e"}},governor:"0x65bA0624403Fc5Ca2b20479e9F626eD4D78E0aD9"},description:"The best-performing EVM compatible layer 1. Fully compatible tooling for EVM with up to 35 times of capacity.",explorer:{name:"BscScan",urls:{address:e=>`https://bscscan.com/address/${e}`,base:"https://bscscan.com/",token:(e,a)=>`https://bscscan.com/token/${e}?a=${a}`,transaction:e=>`https://bscscan.com/tx/${e}`}},featured:!1,hooks:{onKeyPurchaseHook:[{address:"0x338b1f296217485bf4df6CE9f93ab4C73F72b57D",id:C.HookType.PASSWORD,name:"Password required"},{address:"0x80E085D7591C61153D876b5171dc25756a7A3254",id:C.HookType.CAPTCHA,name:"Captcha"},{address:"0xF6963D3c395A7914De77f771C2fC44b47B8379AC",id:C.HookType.GUILD,name:"Guild"},{address:"0x1Bc951F8ed90F6c135F01Fe62CA348F4c3F43D00",id:C.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"},{address:"0xa2abAeaba0ac658A1DF5517B57e45e857E3137Ad",id:C.HookType.PASSWORD_CAPPED,name:"Passwords with caps. Multiple passwords can be used per contract"},{address:"0x5B6C5a766edBc6c7988108A689C96AfCEa95a2f1",id:C.HookType.GITCOIN,name:"Gitcoin"}],onTokenURIHook:[{address:"0x15922b77301Df5EA532074e9fb30d115FB6A03fE",id:C.HookType.ADVANCED_TOKEN_URI,name:"Advanced Token URI"}]},id:56,isTestNetwork:!1,keyManagerAddress:"0x34EbEc0AE80A2d078DE5489f0f5cAa4d3aaEA355",maxFreeClaimCost:1,multisig:"0x373D7cbc4F2700719DEa237500c7a154310B0F9B",name:"BNB Chain",nativeCurrency:{coingecko:"binancecoin",decimals:18,name:"BNB",symbol:"BNB",wrapped:"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"},opensea:{collectionUrl:e=>`https://opensea.io/assets/bsc/${e}`,tokenUrl:(e,a)=>`https://opensea.io/assets/bsc/${e}/${a}`},previousDeploys:[{startBlock:12396e3,unlockAddress:"0x99b1348a9129ac49c6de7F11245773dE2f51fB0c"}],provider:"https://rpc.unlock-protocol.com/56",publicLockVersionToDeploy:14,publicProvider:"https://bsc-dataseed.binance.org/",startBlock:13079e3,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/56",graphId:"25Cx5DaCifBCXNVpZXMmzkafbm6KAmKqdjrPu9dT6yQp",studioName:"unlock-protocol-bsc"},tokens:[{address:"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",decimals:18,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0x2170Ed0880ac9A755fd29B2688956BD959F933F8",decimals:18,featured:!0,name:"Ethereum Token",symbol:"ETH"},{address:"0x55d398326f99059fF775485246999027B3197955",decimals:18,featured:!0,name:"Tether USD",symbol:"USDT"},{address:"0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3",decimals:18,featured:!0,name:"Dai Token",symbol:"DAI"},{address:"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",decimals:18,name:"Wrapped BNB",symbol:"WBNB"}],uniswapV3:{factoryAddress:"0xdB1d10011AD0Ff90774D0C6Bb92e5C5c8b4461F7",positionManager:"0x7b8A01B39D58278b5DE7e48c8449c9f4F5170613",universalRouterAddress:"0x5Dc88340E1c5c6366864Ee415d6034cadd1A9897"},unlockAddress:"0xeC83410DbC48C7797D2f2AFe624881674c65c856",url:"https://www.bnbchain.org/en"},p=i(l()),He={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"optimism",dao:{chainId:8453,governanceBridge:{connext:"0x8f7492DE823025b4CfaAB1D34c58963F2af5DEDA",domainId:1869640809,modules:{connextMod:"0xF241F12506fb6Bf1909c6bC176A199166414007a",delayMod:"0xA8BB5AF09B599794136B14B112e137FAf83Acf1f"}},governor:"0x65bA0624403Fc5Ca2b20479e9F626eD4D78E0aD9"},description:"Optimism is a Layer 2 Optimistic Rollup network designed to utilize the strong security guarantees of Ethereum while reducing its cost and latency.",explorer:{name:"Etherscan",urls:{address:e=>`https://optimistic.etherscan.io/address/${e}`,base:"https://optimistic.etherscan.io/",token:(e,a)=>`https://optimistic.etherscan.io/token/${e}?a=${a}`,transaction:e=>`https://optimistic.etherscan.io/tx/${e}`}},featured:!0,hooks:{onKeyPurchaseHook:[{address:"0x34EbEc0AE80A2d078DE5489f0f5cAa4d3aaEA355",id:p.HookType.PASSWORD,name:"Password required"},{address:"0xF6a9138b4ebEd2AcF651Cbd40B45584B4c625e87",id:p.HookType.CAPTCHA,name:"Captcha"},{address:"0x1402D55BF0D6566ca8F569041000a8015b608632",id:p.HookType.GUILD,name:"Guild"},{address:"0x8e0B46ec3B95c81355175693dA0083b00fCc1326",id:p.HookType.PROMOCODE,name:"Discount code"},{address:"0xD4385fd4A79B6636828eC8BC6795766a797E9CF5",id:p.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"},{address:"0x7217b772788374391e890b773e6b8B7101b5Acde",id:p.HookType.PASSWORD_CAPPED,name:"Passwords with caps. Multiple passwords can be used per contract"},{address:"0x6a0971717ABFfCfE08f67b53DeAC5D234A6676Ed",id:p.HookType.GITCOIN,name:"Gitcoin"}],onTokenURIHook:[{address:"0x5765883E120F707A528F3e476636304De9280b6c",id:p.HookType.ADVANCED_TOKEN_URI,name:"Advanced Token URI"}]},id:10,isTestNetwork:!1,keyManagerAddress:"0x8c5D54B2CAA4C2D08B0DDF82a1e6D2641779B8EC",kickbackAddress:"0x981e0Ac8ABde773a72FeD793c1BEF99a53fAC342",maxFreeClaimCost:100,multisig:"0x6E78b4447e34e751EC181DCBed63633aA753e145",name:"Optimism",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"Ether",symbol:"ETH",wrapped:"0x4200000000000000000000000000000000000006"},opensea:{collectionUrl:e=>`https://opensea.io/assets/optimism/${e}`,tokenUrl:(e,a)=>`https://opensea.io/assets/optimism/${e}/${a}`},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/10",publicLockVersionToDeploy:14,publicProvider:"https://mainnet.optimism.io",startBlock:302400,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/10",graphId:"8heasZLjiLcTWtLTb7aFdWFe5yYZTgzLZfW76wrnTwrt",studioName:"unlock-protocol-optimism"},tokens:[{address:"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",decimals:6,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0x7F5c764cBc14f9669B88837ca1490cCa17c31607",decimals:6,name:"USD Coin",symbol:"USDC"},{address:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",decimals:6,featured:!0,name:"Tether USD",symbol:"USDT"},{address:"0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI"},{address:"0xdC6fF44d5d932Cbd77B52E5612Ba0529DC6226F1",decimals:18,name:"Worldcoin",symbol:"WLD"},{address:"0x4200000000000000000000000000000000000042",decimals:18,name:"Optimism",symbol:"OP"},{address:"0x4200000000000000000000000000000000000006",decimals:18,name:"Wrapped Ether",symbol:"WETH"},{address:"0x68f180fcCe6836688e9084f035309E29Bf0A2095",decimals:8,name:"Wrapped BTC",symbol:"WBTC"},{address:"0xc709c9116dBf29Da9c25041b13a07A0e68aC5d2D",decimals:18,name:"Unlock Discount Token",symbol:"UDT"}],uniswapV3:{factoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",oracle:{100:"0xa55F8Ba16C5Bb580967f7dD94f927B21d0acF86c",3e3:"0x1dA6c13515362B42ACb1Ad24a713f74f925F3AEB",500:"0xafF14D23630d5A4BF5e36e52847bE593F0f87672"},positionManager:"0xC36442b4a4522E871399CD717aBDD847Ab11FE88",quoterAddress:"0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6",universalRouterAddress:"0xb555edF5dcF85f42cEeF1f3630a52A108E55A654"},unlockAddress:"0x99b1348a9129ac49c6de7F11245773dE2f51fB0c",unlockDaoToken:{address:"0xc709c9116dBf29Da9c25041b13a07A0e68aC5d2D",mainnetBridge:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1",uniswapV3Pool:"0x98b506bf1916f674a7BEC5284A043a21fCC3d206"},url:"https://www.optimism.io/"},x=i(l()),Me={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"celo",description:"Celo is the carbon-negative, mobile-first, EVM-compatible blockchain ecosystem leading a thriving new digital economy for all.",explorer:{name:"Celoscan",urls:{address:e=>`https://celoscan.io/address/${e}`,base:"https://celoscan.io/",token:(e,a)=>`https://celoscan.io/token/${e}?a=${a}`,transaction:e=>`https://celoscan.io/tx/${e}`}},featured:!1,hooks:{onKeyPurchaseHook:[{address:"0xdc230F9A08918FaA5ae48B8E13647789A8B6dD46",id:x.HookType.CAPTCHA,name:"Captcha"},{address:"0xe49f5FD63cD7ec130B07dad30f068CC08F201e1e",id:x.HookType.GUILD,name:"Guild"},{address:"0x55C7336ea96BABb0bEabD676C07880aa8b76584a",id:x.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"},{address:"0xC4E6FDfe46CD1DF46801e080000a4897c42Fd75F",id:x.HookType.PASSWORD_CAPPED,name:"Passwords with caps. Multiple passwords can be used per contract"}],onTokenURIHook:[{address:"0x15922b77301Df5EA532074e9fb30d115FB6A03fE",id:x.HookType.ADVANCED_TOKEN_URI,name:"Advanced Token URI"}]},id:42220,isTestNetwork:!1,keyManagerAddress:"0xF6963D3c395A7914De77f771C2fC44b47B8379AC",maxFreeClaimCost:1,multisig:"0xc293E2da9E558bD8B1DFfC4a7b174729fAb2e4E8",name:"Celo",nativeCurrency:{coingecko:"celo",decimals:18,name:"CELO",symbol:"CELO"},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/42220",publicLockVersionToDeploy:14,publicProvider:"https://forno.celo.org",startBlock:13994123,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/42220",graphId:"7WoP8r47dyfYvQv7tk5wxSYyszENqXz2EATjUT8x7gRm",studioName:"unlock-protocol-celo"},tokens:[{address:"0xef4229c8c3250C675F21BCefa42f58EfbfF6002a",decimals:6,featured:!0,mainnetAddress:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",name:"USD Coin",symbol:"USDC"},{address:"0xE4fE50cdD716522A56204352f00AA110F731932d",decimals:18,featured:!0,mainnetAddress:"0x6B175474E89094C44Da98b954EedeAC495271d0F",name:"Dai Stablecoin",symbol:"DAI"}],uniswapV3:{factoryAddress:"0xAfE208a311B21f13EF87E33A90049fC17A7acDEc",oracle:{100:"0xaB82D702A4e0cD165072C005dc504A21c019718F",3e3:"0x5c67AD0CAfe61aF3706347aBc695D7ACcb38EFb3",500:"0xc9F29DdBD4D828cFb2EB491E9d48013a9c0E3C89"},quoterAddress:"0x82825d0554fA07f7FC52Ab63c961F330fdEFa8E8",universalRouterAddress:"0xC73d61d192FB994157168Fb56730FdEc64C9Cb8F"},unlockAddress:"0x1FF7e338d5E582138C46044dc238543Ce555C963",url:"https://celo.org"},A=i(l()),Le={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"arbitrum",dao:{chainId:8453,governanceBridge:{connext:"0xEE9deC2712cCE65174B561151701Bf54b99C24C8",domainId:1634886255,modules:{connextMod:"0x4A553635774b3d6fB6273A83b5B49577dF450227",delayMod:"0xF241F12506fb6Bf1909c6bC176A199166414007a"}},governor:"0x65bA0624403Fc5Ca2b20479e9F626eD4D78E0aD9"},description:"Arbitrum One is a Layer 2 (L2) chain running on top of Ethereum Mainnet that enables high-throughput, low cost smart contracts operations.",explorer:{name:"Arbitrum",urls:{address:e=>`https://arbiscan.io/address/${e}`,base:"https://arbiscan.io/",token:(e,a)=>`https://arbiscan.io/token/${e}?a=${a}`,transaction:e=>`https://arbiscan.io/tx/${e}`}},featured:!0,hooks:{onKeyPurchaseHook:[{address:"0xd0b14797b9D08493392865647384974470202A78",id:A.HookType.PASSWORD,name:"Password required"},{address:"0xD925Ac2887Ba4372849F0fd64217A6749552bb21",id:A.HookType.CAPTCHA,name:"Captcha"},{address:"0x06538095ae3B5123e440D9991377B85C3BC6E6FF",id:A.HookType.GUILD,name:"Guild"},{address:"0x1A9E2E085bF4E4fE5eE45C682a3Af26d55FA1431",id:A.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"},{address:"0xBa81C9379AC1221BF8C100800dD0B0b0b048ba14",id:A.HookType.PASSWORD_CAPPED,name:"Passwords with caps. Multiple passwords can be used per contract"},{address:"0x8e1158A7f9d0905602f90191AC4DFb30DD4Ee04C",id:A.HookType.GITCOIN,name:"Gitcoin"}],onTokenURIHook:[{address:"0xA321fEa1E5c772043a466b2969CBEB1c095Cf3BA",id:A.HookType.ADVANCED_TOKEN_URI,name:"Advanced Token URI"}]},id:42161,isTestNetwork:!1,keyManagerAddress:"0x520294E736167303efa038205D4391b58261BC9c",kickbackAddress:"0x62f155229fb60d793440b8c733c4C5937C626c1A",maxFreeClaimCost:100,multisig:"0x310e9f9E3918a71dB8230cFCF32a083c7D9536d0",name:"Arbitrum",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"ETH",symbol:"ETH",wrapped:"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"},opensea:{collectionUrl:e=>`https://opensea.io/assets/arbitrum/${e}`,tokenUrl:(e,a)=>`https://opensea.io/assets/arbitrum/${e}/${a}`},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/42161",publicLockVersionToDeploy:14,publicProvider:"https://arb1.arbitrum.io/rpc",startBlock:17429533,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/42161",graphId:"9DNHi5TyZkxrAcnmmefRRTDHXDAwKQk7BifVY2FeTTFp",networkName:"arbitrum-one",studioName:"unlock-protocol-arbitrum"},tokens:[{address:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",decimals:6,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8",decimals:6,name:"USD Coin (Arb1)",symbol:"USDC"},{address:"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",decimals:18,featured:!0,name:"Wrapped Ether",symbol:"WETH"},{address:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",decimals:6,featured:!0,name:"Tether USD",symbol:"USDT"},{address:"0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI"},{address:"0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f",decimals:8,featured:!0,name:"Wrapped BTC",symbol:"WBTC"},{address:"0x912CE59144191C1204E64559FE8253a0e49E6548",decimals:18,name:"Arbitrum",symbol:"ARB"},{address:"0xd5d3aA404D7562d09a848F96a8a8d5D65977bF90",decimals:18,name:"Unlock Discount Token",symbol:"UDT"}],uniswapV3:{factoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",oracle:{100:"0x1dA6c13515362B42ACb1Ad24a713f74f925F3AEB",3e3:"0xa55F8Ba16C5Bb580967f7dD94f927B21d0acF86c",500:"0x2D11eEf659801cc13ADAde21667af332E77ca9AD"},positionManager:"0xC36442b4a4522E871399CD717aBDD847Ab11FE88",quoterAddress:"0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6",universalRouterAddress:"0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5"},unlockAddress:"0x1FF7e338d5E582138C46044dc238543Ce555C963",unlockDaoToken:{address:"0xd5d3aA404D7562d09a848F96a8a8d5D65977bF90",mainnetBridge:"0xa3A7B6F88361F48403514059F1F16C8E78d60EeC",uniswapV3Pool:"0xF0498d3BDD28fA39d248aE2c65D7F90A794Ed9fE"},url:"https://arbitrum.io/"},v=i(l()),Re={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"avax",description:"Avalanche is an open, programmable smart contracts platform for decentralized applications.",explorer:{name:"Snowtrace (Avalanche)",urls:{address:e=>`https://snowtrace.io/address/${e}`,base:"https://snowtrace.io/",token:(e,a)=>`https://snowtrace.io/token/${e}?a=${a}`,transaction:e=>`https://snowtrace.io/tx/${e}`}},featured:!1,hooks:{onKeyPurchaseHook:[{address:"0x2499D94880B30fA505543550ac8a1e24cfFeFe78",id:v.HookType.CAPTCHA,name:"Captcha"},{address:"0x58D86Dc056c442867485941FeBeA8D3bB4657eAC",id:v.HookType.PASSWORD,name:"Password required"},{address:"0x520294E736167303efa038205D4391b58261BC9c",id:v.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"},{address:"0xa396CFB1fFe3ADD2308dF140aa2d0A520D5c6c31",id:v.HookType.PASSWORD_CAPPED,name:"Passwords with caps. Multiple passwords can be used per contract"}],onTokenURIHook:[{address:"0x927D68eAE936Ec0111f01Fc4Ddd9cC57DB3f0Af2",id:v.HookType.ADVANCED_TOKEN_URI,name:"Advanced Token URI"}]},id:43114,isTestNetwork:!1,keyManagerAddress:"0x8e0B46ec3B95c81355175693dA0083b00fCc1326",maxFreeClaimCost:1,multisig:"0xEc7777C51327917fd2170c62873272ea168120Cb",name:"Avalanche (C-Chain)",nativeCurrency:{coingecko:"avalanche-2",decimals:18,name:"AVAX",symbol:"AVAX"},opensea:{collectionUrl:e=>`https://opensea.io/assets/avalanche/${e}`,tokenUrl:(e,a)=>`https://opensea.io/assets/avalanche/${e}/${a}`},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/43114",publicLockVersionToDeploy:14,publicProvider:"https://api.avax.network/ext/bc/C/rpc",startBlock:17188332,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/43114",graphId:"8cLuGXsVcgmeEsaekRgKeWwF4nKahugK1VFKkTckTHmj",studioName:"unlock-protocol-avalanche"},tokens:[{address:"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",decimals:6,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB",decimals:18,featured:!0,name:"Wrapped Ether",symbol:"WETH.e"},{address:"0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664",decimals:6,name:"USD Coin",symbol:"USDC.e"},{address:"0xc7198437980c041c805A1EDcbA50c1Ce5db95118",decimals:6,featured:!0,name:"Tether USD",symbol:"USDT.e"},{address:"0xd586E7F844cEa2F87f50152665BCbc2C279D8d70",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI.e"},{address:"0x50b7545627a5162F82A992c33b87aDc75187B218",decimals:8,featured:!0,name:"Wrapped BTC",symbol:"WBTC.e"}],uniswapV3:{factoryAddress:"0x740b1c1de25031C31FF4fC9A62f554A55cdC1baD",positionManager:"0x655C406EBFa14EE2006250925e54ec43AD184f8B",universalRouterAddress:"0x4Dae2f939ACf50408e13d58534Ff8c2776d45265"},unlockAddress:"0x70cBE5F72dD85aA634d07d2227a421144Af734b3",url:"https://www.avalabs.org/"},E=i(l()),Ne={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"base",dao:{chainId:8453,governanceBridge:{connext:"0xB8448C6f7f7887D36DcA487370778e419e9ebE3F",domainId:1650553709,modules:{connextMod:"0xfe9fD6af67E48D9f05Aa88679Ac294E3f28532eE",delayMod:"0x805C2EbaE1510f59E1D717A1A51aFad335FFAec5"}},governor:"0x65bA0624403Fc5Ca2b20479e9F626eD4D78E0aD9"},description:"Base is a secure, low-cost, builder-friendly Ethereum L2 built to bring the next billion users onchain. ",explorer:{name:"Basescan",urls:{address:e=>`https://basescan.org/address/${e}`,base:"https://basescan.org/",token:(e,a)=>`https://basescan.org/token/${e}?a=${a}`,transaction:e=>`https://basescan.org/tx/${e}`}},featured:!0,fullySubsidizedGas:!1,hooks:{onKeyPurchaseHook:[{address:"0x7455DdA870f8421b7C1920Efb84DFF7398c6A73E",id:E.HookType.PASSWORD,name:"Password required"},{address:"0x8c573E1A64D7C6726B3b2E119206e9FD1f5Bc0a0",id:E.HookType.PROMOCODE,name:"Discount code"},{address:"0xC2227b9fc792a5933E64FE9F782fdeDDaf49951b",id:E.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"},{address:"0x87AaA7498Daf5Bb0DB03806fB5389b260E8aCe92",id:E.HookType.GUILD,name:"Guild"},{address:"0x64441384DB40F34855b1617C05800bE43bD34709",id:E.HookType.PASSWORD_CAPPED,name:"Passwords with caps. Multiple passwords can be used per contract"},{address:"0xbBBdD46ef548712c203d306F6587336EC15E0d7f",id:E.HookType.GITCOIN,name:"Gitcoin"}],onTokenURIHook:[{address:"0x16de050b14B22DC070522b8De134490CB1655B11",id:E.HookType.ADVANCED_TOKEN_URI,name:"Advanced Token URI"}]},id:8453,isTestNetwork:!1,keyManagerAddress:"0xD26c05a33349a6DeD02DD9360e1ef303d1246fb6",kickbackAddress:"0xCf5802682F194C2447E92a63283471A99CB792f6",maxFreeClaimCost:100,multisig:"0x8149FeaFa41DD1ee3CA62299b9c67e9ac12FA340",name:"Base",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"ETH",symbol:"ETH",wrapped:"0x4200000000000000000000000000000000000006"},opensea:{collectionUrl:e=>`https://opensea.io/assets/base/${e}`,tokenUrl:(e,a)=>`https://opensea.io/assets/base/${e}/${a}`},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/8453",publicLockVersionToDeploy:14,publicProvider:"https://mainnet.base.org",startBlock:175e4,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/8453",graphId:"ECQhJQV8KWMfAAgWf8WV5duy1si9TnZpL4f194oGLrWW",networkName:"base",studioName:"unlock-protocol-base"},tokens:[{address:"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",decimals:6,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI"},{address:"0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA",decimals:6,name:"USD Base Coin",symbol:"USDbC"},{address:"0x4200000000000000000000000000000000000006",decimals:18,name:"Wrapped Ether",symbol:"WETH"},{address:"0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed",decimals:18,name:"Degen",symbol:"DEGEN"},{address:"0xaC27fa800955849d6D17cC8952Ba9dD6EAA66187",decimals:18,name:"UnlockProtocolToken",symbol:"UP"},{address:"0xD7eA82D19f1f59FF1aE95F1945Ee6E6d86A25B96",decimals:18,name:"Unlock Discount Token",symbol:"UDT"}],uniswapV3:{factoryAddress:"0x33128a8fC17869897dcE68Ed026d694621f6FDfD",oracle:{100:"0x2411336105D4451713d23B5156038A48569EcE3a",3e3:"0xfa7AC1c24339f629826C419eC95961Df58563438",500:"0xA8BB5AF09B599794136B14B112e137FAf83Acf1f"},positionManager:"0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",universalRouterAddress:"0x198EF79F1F515F02dFE9e3115eD9fC07183f02fC"},unlockAddress:"0xd0b14797b9D08493392865647384974470202A78",unlockDaoToken:{address:"0xD7eA82D19f1f59FF1aE95F1945Ee6E6d86A25B96",mainnetBridge:"0x3154Cf16ccdb4C6d922629664174b904d80F2C35",uniswapV3Pool:"0x0a052dAd89F9695A0074958b81c85479bc8844F8"},url:"https://base.org/"},B=i(l()),$e={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"linea",dao:{chainId:8453,governanceBridge:{connext:"0xa05eF29e9aC8C75c530c2795Fa6A800e188dE0a9",domainId:1818848877,modules:{connextMod:"0x1b6ED52be06Cef3b9eD234114843BE79971e51f3",delayMod:"0x2D4123dB5A4d3bAA2DbeA4cB10333a9E3271292a"}},governor:"0x65bA0624403Fc5Ca2b20479e9F626eD4D78E0aD9"},description:"Linea a Layer 2 zk-Rollup EVM-compatible chain powered by ConsenSys.",explorer:{name:"Linea",urls:{address:e=>`https://lineascan.build/address/${e}`,base:"https://lineascan.build/",token:(e,a)=>`https://lineascan.build/token/${e}?a=${a}`,transaction:e=>`https://lineascan.build/tx/${e}`}},featured:!1,hooks:{onKeyPurchaseHook:[{address:"0x6878Ae3c863f6Ebd27B47C02F6B32aAC8B0BA07E",id:B.HookType.PASSWORD,name:"Password required"},{address:"0x8c5D54B2CAA4C2D08B0DDF82a1e6D2641779B8EC",id:B.HookType.CAPTCHA,name:"Captcha"},{address:"0xaE8F3F0826A39122401ED634f0a5C19549331432",id:B.HookType.GUILD,name:"Guild"},{address:"0xCD9C9b40D757b56359e19563203D3bc64089638d",id:B.HookType.PROMOCODE,name:"Discount code"},{address:"0x04664b4290fa1F4001ED25d9576f7C2d980aC64d",id:B.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"},{address:"0xD925Ac2887Ba4372849F0fd64217A6749552bb21",id:B.HookType.PASSWORD_CAPPED,name:"Passwords with caps. Multiple passwords can be used per contract"}]},id:59144,isTestNetwork:!1,keyManagerAddress:"0x338b1f296217485bf4df6CE9f93ab4C73F72b57D",maxFreeClaimCost:10,multisig:"0x0b441f6A255a56670B6fdb37B527e091a394eeB9",name:"Linea",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"Linea Ether",symbol:"ETH"},previousDeploys:[],provider:"https://rpc.linea.build/",publicLockVersionToDeploy:14,publicProvider:"https://rpc.linea.build/",startBlock:560908,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/59144",graphId:"3G85noAfEa4jYGPmrvzzBTY55abu2kVgXnfWwRq3absq",studioName:"unlock-protocol-linea"},tokens:[{address:"0x176211869cA2b568f2A7D4EE941E073a821EE1ff",decimals:6,featured:!0,name:"USDC",symbol:"USDC"},{address:"0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",decimals:18,featured:!0,name:"Wrapped Ether",symbol:"WETH"},{address:"0x4AF15ec2A0BD43Db75dd04E62FAA3B8EF36b00d5",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI"},{address:"0xA219439258ca9da29E9Cc4cE5596924745e12B93",decimals:6,featured:!0,name:"Tether USD",symbol:"USDT"},{address:"0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4",decimals:8,featured:!0,name:"Wrapped BTC",symbol:"WBTC"}],unlockAddress:"0x70B3c9Dd9788570FAAb24B92c3a57d99f8186Cc7",url:"https://linea.build/"},f=i(l()),We={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"sepolia",description:"Sepolia is the primary testnet recommended by the Ethereum community for dapp development",explorer:{name:"Sepolia Etherscan",urls:{address:e=>`https://sepolia.etherscan.io/address/${e}`,base:"https://sepolia.etherscan.io/",token:(e,a)=>`https://sepolia.etherscan.io/token/${e}?a=${a}`,transaction:e=>`https://sepolia.etherscan.io/tx/${e}`}},faucets:[{name:"Google",url:"https://cloud.google.com/application/web3/faucet/ethereum/sepolia"},{name:"Alchemy",url:"https://www.alchemy.com/faucets/ethereum-sepolia"},{name:"Infura",url:"https://www.infura.io/faucet/sepolia"}],featured:!0,fullySubsidizedGas:!0,hooks:{onKeyPurchaseHook:[{address:"0x34EbEc0AE80A2d078DE5489f0f5cAa4d3aaEA355",id:f.HookType.PASSWORD,name:"Password required"},{address:"0xd0b14797b9D08493392865647384974470202A78",id:f.HookType.CAPTCHA,name:"Captcha"},{address:"0x6878Ae3c863f6Ebd27B47C02F6B32aAC8B0BA07E",id:f.HookType.GUILD,name:"Guild"},{address:"0x639143cbf90F27eA5Ce4b3A7D869d4D7878009A5",id:f.HookType.PROMOCODE,name:"Discount code"},{address:"0x0aC1a84AcaB08b630714d59dA74576D7274E68d5",id:f.HookType.PROMO_CODE_CAPPED,name:"Discount code with caps"},{address:"0x499C854E40Ce4056266822c86D1A326f0FE6491a",id:f.HookType.PASSWORD_CAPPED,name:"Passwords with caps. Multiple passwords can be used per contract"},{address:"0x323Fd488F101F2F9252ecE9f9fe3e56C48912880",id:f.HookType.GITCOIN,name:"Gitcoin"}],onTokenURIHook:[{address:"0x7dB91c34071e7B34656DF9aCBe1542337018D617",id:f.HookType.ADVANCED_TOKEN_URI,name:"Advanced Token URI"}]},id:11155111,isTestNetwork:!0,keyManagerAddress:"0x338b1f296217485bf4df6CE9f93ab4C73F72b57D",kickbackAddress:"0x4D2aAeE1F34a9b4dfA57e8A4041BE82C939278dD",maxFreeClaimCost:1e3,multisig:"0x95fE514fe7F60722AFF0FD009ebeE4Ba2013924c",name:"Sepolia",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"ETH",symbol:"ETH",wrapped:"0x5f207d42F869fd1c71d7f0f81a2A67Fc20FF7323"},opensea:{collectionUrl:e=>`https://testnets.opensea.io/assets/sepolia/${e}`,tokenUrl:(e,a)=>`https://testnets.opensea.io/assets/sepolia/${e}/${a}`},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/11155111",publicLockVersionToDeploy:14,publicProvider:"https://rpc2.sepolia.org/",startBlock:4381710,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/11155111",graphId:"5ZjqtfMTQJTCsHVmY9eXirW5B9SEJnRW7ipg5SzTP29k",networkName:"sepolia",studioName:"unlock-protocol-sepolia"},tokens:[{address:"0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",decimals:6,faucet:{name:"Circle",url:"https://faucet.circle.com/"},featured:!0,name:"USDC",symbol:"USDC"},{address:"0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",decimals:18,featured:!0,mainnetAddress:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",name:"Wrapped Ether",symbol:"WETH"},{address:"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",decimals:18,name:"Uniswap",symbol:"UNI"},{address:"0x447B1492C5038203f1927eB2a374F5Fcdc25999d",decimals:18,name:"Unlock Discount Token",symbol:"UDT"}],uniswapV3:{factoryAddress:"0x0227628f3F023bb0B980b67D528571c95c6DaC1c",oracle:{100:"0x5D7109aF116eF9D95f107B25c401bCF3965b4027",3e3:"0x59E399647F12bDec93875B32376dfBcA2E69d955",500:"0x5Ff3C00d851daA690d5fE2a2328A81e4a8219e1a"},positionManager:"0x1238536071E1c677A632429e3655c799b22cDA52",universalRouterAddress:"0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD"},unlockAddress:"0x36b34e10295cCE69B652eEB5a8046041074515Da",unlockDaoToken:{address:"0x447B1492C5038203f1927eB2a374F5Fcdc25999d"},url:"https://github.com/eth-clients/sepolia"},Ve={chain:"zkevm",description:"Polygon zkEVM is a Layer 2 network of the Ethereum Virtual Machine (EVM), a zero-knowledge (ZK) rollup scaling solution.",explorer:{name:"zkEVM (Polygonscan)",urls:{address:e=>`https://zkevm.polygonscan.com/address/${e}`,base:"https://zkevm.polygonscan.com/",token:(e,a)=>`https://zkevm.polygonscan.com/token/${e}?a=${a}`,transaction:e=>`https://zkevm.polygonscan.com/tx/${e}`}},featured:!1,hooks:{onKeyPurchaseHook:[]},id:1101,isTestNetwork:!1,maxFreeClaimCost:1,multisig:"0xD62EF39c54d9100B17c8fA3C2D15e0262338AED0",name:"zkEVM (Polygon)",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"ETH",symbol:"ETH",wrapped:"0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9"},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/1101",publicLockVersionToDeploy:14,publicProvider:"https://polygon-zkevm.drpc.org",startBlock:0,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/1101",graphId:"4crwbsig953XR6tpAva9PEshjM7qNujM2jDjqRX2YoWP",networkName:"polygon-zkevm",studioName:"unlock-protocol-zkevm"},tokens:[{address:"0x37eAA0eF3549a5Bb7D431be78a3D99BD360d19e5",decimals:6,name:"USD Coin",symbol:"USDC"},{address:"0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9",decimals:18,featured:!0,name:"Wrapped Ether",symbol:"WETH"},{address:"0x1E4a5963aBFD975d8c9021ce480b42188849D41d",decimals:6,featured:!0,name:"Tether USD",symbol:"USDT"},{address:"0x744C5860ba161b5316F7E80D9Ec415e2727e5bD5",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI"},{address:"0xEA034fb02eB1808C2cc3adbC15f447B93CbE08e1",decimals:8,featured:!0,name:"Wrapped BTC",symbol:"WBTC"}],unlockAddress:"0x259813B665C8f6074391028ef782e27B65840d89",url:"https://polygon.technology/polygon-zkevm"},je={chain:"scroll",description:"Scroll seamlessly extends Ethereum’s capabilities through zero knowledge tech and EVM compatibility. The L2 network built by Ethereum devs for Ethereum devs.",explorer:{name:"Scrollscan",urls:{address:e=>`https://scrollscan.com/address/${e}`,base:"https://scrollscan.com/",token:(e,a)=>`https://etherscan.com/token/${e}?a=${a}`,transaction:e=>`https://scrollscan.com/tx/${e}`}},featured:!1,hooks:{onKeyPurchaseHook:[]},id:534352,isTestNetwork:!1,maxFreeClaimCost:500,multisig:"0x0feE9413A626a05a08AcB0E0e5D6A483e6A0a172",name:"Scroll",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"Ether",symbol:"ETH",wrapped:"0x5300000000000000000000000000000000000004"},provider:"https://rpc.unlock-protocol.com/534352",publicLockVersionToDeploy:14,publicProvider:"https://rpc.scroll.io",startBlock:2937779,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/534352",graphId:"49qmkjKjv9qfvgkCQTbZcG5gYPhwybmMfRhNc8brKf4F",studioName:"unlock-protocol-scroll"},tokens:[{address:"0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4",decimals:6,featured:!0,name:"USD Coin",symbol:"USDC"},{address:"0x5300000000000000000000000000000000000004",decimals:18,featured:!0,name:"Wrapped Ether",symbol:"WETH"},{address:"0xcA77eB3fEFe3725Dc33bccB54eDEFc3D9f764f97",decimals:18,featured:!0,name:"Dai Stablecoin",symbol:"DAI"},{address:"0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df",decimals:6,name:"Tether USD",symbol:"USDT"},{address:"0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1",decimals:8,featured:!0,name:"Wrapped BTC",symbol:"WBTC"}],unlockAddress:"0x259813B665C8f6074391028ef782e27B65840d89",url:"https://scroll.io"},Ke={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"zksync",description:"zkSync is a Layer-2 protocol that scales Ethereum with cutting-edge ZK tech. Our mission is not only to merely increase Ethereum's throughput, but to fully preserve its foundational values – freedom, self-sovereignty, decentralization – at scale.",explorer:{name:"zkSync Era Block Explorer",urls:{address:e=>`https://explorer.zksync.io/address/${e}`,base:"https://explorer.zksync.io/",token:(e,a)=>`https://explorer.zksync.io/token/${e}?a=${a}`,transaction:e=>`https://explorer.zksync.io/tx/${e}`}},featured:!1,hooks:{onKeyPurchaseHook:[]},id:324,isTestNetwork:!1,maxFreeClaimCost:1,multisig:"0xFa5592CE9C52FA5214ccEa10cB72Faa88eC80a3c",name:"zkSync Era",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"zkSync Ether",symbol:"ETH"},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/324",publicLockVersionToDeploy:14,publicProvider:"https://mainnet.era.zksync.io",startBlock:25905168,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/324",graphId:"Bqo6hTg28TRmzksb6Eg8EPefD4sXBra1ad1WD4oz6c88",networkName:"zksync-era",studioName:"unlock-protocol-zksync"},tokens:[{address:"0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4",decimals:6,name:"Bridged USDC (zkSync)",symbol:"USDC.e"},{address:"0x000000000000000000000000000000000000800A",decimals:18,name:"Ether",symbol:"ETH"},{address:"0x4B9eb6c0b6ea15176BBF62841C6B2A8a398cb656",decimals:18,name:"Dai Stablecoin",symbol:"DAI"},{address:"0x493257fD37EDB34451f62EDf8D2a0C418852bA4C",decimals:6,name:"Tether USD",symbol:"USDT"},{address:"0xBBeB516fb02a01611cBBE0453Fe3c580D7281011",decimals:8,name:"Wrapped BTC",symbol:"WBTC"}],unlockAddress:"0x32CF553582159F12fBb1Ae1649b3670395610F24",url:"https://zksync.io/"},J=i(l()),Ge={blockScan:{url:e=>`https://blockscan.com/address/${e}`},chain:"base-sepolia",description:"A public testnet for Base",explorer:{name:"Base Sepolia Etherscan",urls:{address:e=>`https://sepolia.basescan.org/address/${e}`,base:"https://sepolia.basescan.org/",token:(e,a)=>`https://sepolia.basescan.org/token/${e}?a=${a}`,transaction:e=>`https://sepolia.basescan.org/tx/${e}`}},faucets:[{name:"Coinbase",url:"https://portal.cdp.coinbase.com/products/faucet"},{name:"Superchain",url:"https://console.optimism.io/faucet"},{name:"Alchemy",url:"https://basefaucet.com/"}],featured:!1,fullySubsidizedGas:!0,hooks:{onKeyPurchaseHook:[{address:"0x8c5D54B2CAA4C2D08B0DDF82a1e6D2641779B8EC",id:J.HookType.GITCOIN,name:"Gitcoin"}],onTokenURIHook:[{address:"0x6878Ae3c863f6Ebd27B47C02F6B32aAC8B0BA07E",id:J.HookType.ADVANCED_TOKEN_URI,name:"Advanced Token URI"}]},id:84532,isTestNetwork:!0,keyManagerAddress:"",kickbackAddress:"0x930730F962133216353A989d9b6cfACb19FFB49D",maxFreeClaimCost:1e3,multisig:"0x68F2c5D9009dc4d553f814D689102a53B2b349Cc",name:"Base Sepolia",nativeCurrency:{coingecko:"ethereum",decimals:18,name:"ETH",symbol:"ETH"},previousDeploys:[],provider:"https://rpc.unlock-protocol.com/84532",publicLockVersionToDeploy:14,publicProvider:"https://sepolia.base.org",startBlock:7889118,subgraph:{endpoint:"https://subgraph.unlock-protocol.com/84532",graphId:"FxGJ2eFse3yhWpUMrBc4VzMqAgYamn49y1JQjZNugzZf",networkName:"base-sepolia",studioName:"unlock-protocol-base-sepolia"},tokens:[{address:"0x036CbD53842c5426634e7929541eC2318f3dCF7e",decimals:6,faucet:{name:"Circle",url:"https://faucet.circle.com/"},featured:!0,name:"USDC",symbol:"USDC"},{address:"0x4200000000000000000000000000000000000006",decimals:18,featured:!0,mainnetAddress:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",name:"Wrapped Ether",symbol:"WETH"}],unlockAddress:"0x259813B665C8f6074391028ef782e27B65840d89",unlockDaoToken:{address:"0x68a8011d72E6D41bf7CE9dC49De0aeaEBAAC9b39"}},ee={};Object.keys(I).forEach(e=>{const a=I[e];ee[a.id]=a});var ae=ee;const se={};Object.keys(ae).map(Number).forEach(e=>{const{provider:a,publicProvider:s,name:o,id:t,subgraph:r}=ae[e];se[e]={id:t,name:o,publicProvider:s,provider:a,subgraph:r}}),u.Paywall=X,u.default=X,u.networkConfigs=se,u.setupUnlockProtocolVariable=te,Object.defineProperties(u,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
//# sourceMappingURL=unlock.latest.umd.js.map
{
"name": "@unlock-protocol/paywall",
"version": "0.7.1",
"version": "0.8.1",
"main": "./dist/unlock.latest.umd.js",

@@ -21,3 +21,3 @@ "module": "./dist/unlock.latest.es.js",

"build": "vite build && tsup ./src/index.ts --dts-only",
"lint": "eslint --resolve-plugins-relative-to ../eslint-config --ext .tsx,.ts,.js src/",
"lint": "eslint",
"test": "NODE_ENV=test vitest run --coverage",

@@ -37,10 +37,10 @@ "clean": "rm -rf build dist coverage",

"@unlock-protocol/types": "^0.0.9",
"eslint": "8.46.0",
"tsup": "8.0.2",
"typescript": "5.3.3",
"vite": "5.0.12",
"vite-plugin-css-injected-by-js": "3.2.1",
"vite-plugin-node-polyfills": "0.21.0",
"vitest": "0.33.0",
"vitest-fetch-mock": "0.2.2"
"eslint": "9.14.0",
"tsup": "8.3.5",
"typescript": "5.6.3",
"vite": "5.4.10",
"vite-plugin-css-injected-by-js": "3.5.2",
"vite-plugin-node-polyfills": "0.22.0",
"vitest": "2.1.4",
"vitest-fetch-mock": "0.4.1"
},

@@ -47,0 +47,0 @@ "dependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc