@dodoex/wallet-web3 0.0.3-0 → 0.0.3-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/core/index.d.ts +1 -1
- package/dist/cjs/index-1d035f96.cjs +1 -0
- package/dist/cjs/{index-b1237e5a.cjs → index-20589cad.cjs} +1 -1
- package/dist/cjs/{index-0e46d476.cjs → index-3c0f322c.cjs} +1 -1
- package/dist/cjs/index-57e7ce01.cjs +1 -0
- package/dist/cjs/{index-12ff553b.cjs → index-5f524b54.cjs} +1 -1
- package/dist/cjs/index-809d42db.cjs +1 -0
- package/dist/cjs/index-9726ade3.cjs +1 -0
- package/dist/cjs/index-a53895dd.cjs +1 -0
- package/dist/cjs/index-b3bae54d.cjs +1 -0
- package/dist/cjs/index-b787ad60.cjs +1 -0
- package/dist/cjs/index-bd507185.cjs +1 -0
- package/dist/cjs/index-e43297ee.cjs +1 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/{portis-e1a421c1.cjs → portis-0d0ed336.cjs} +1 -1
- package/dist/cjs/portis-139a9e4d.cjs +1 -0
- package/dist/cjs/{portis-e8e978e3.cjs → portis-19c00eba.cjs} +1 -1
- package/dist/cjs/portis-2053ea4b.cjs +1 -0
- package/dist/cjs/{provider-1b577b6f.cjs → provider-216c4ecc.cjs} +1 -1
- package/dist/cjs/{provider-3e364fac.cjs → provider-664da1b0.cjs} +1 -1
- package/dist/cjs/provider-9bce34ab.cjs +1 -0
- package/dist/cjs/provider-a9b8a548.cjs +1 -0
- package/dist/cjs/providers/connector/safeGnosis/adapter.d.ts +6 -2
- package/dist/cjs/providers/connector/types.d.ts +3 -0
- package/dist/cjs/providers/connector/walletConnect.d.ts +1 -1
- package/dist/cjs/{uAuth-215c9201.cjs → uAuth-218d5a4e.cjs} +1 -1
- package/dist/cjs/uAuth-384147c3.cjs +1 -0
- package/dist/cjs/{uAuth-55ce2d04.cjs → uAuth-5d059de5.cjs} +1 -1
- package/dist/cjs/uAuth-b52b01e0.cjs +1 -0
- package/dist/cjs/walletConnect-02bcbc5c.cjs +1 -0
- package/dist/cjs/walletConnect-712b3724.cjs +1 -0
- package/dist/cjs/walletConnect-9a4bbbc8.cjs +1 -0
- package/dist/cjs/walletConnect-b6ac4960.cjs +1 -0
- package/dist/cjs/{walletLink-56fd0a1a.cjs → walletLink-2cd8be6e.cjs} +1 -1
- package/dist/cjs/{walletLink-a5996dc3.cjs → walletLink-349e1bf5.cjs} +1 -1
- package/dist/cjs/walletLink-92f211ff.cjs +1 -0
- package/dist/cjs/walletLink-f4cbd510.cjs +1 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/index-4025ab08.js +1 -0
- package/dist/index-5ced3e7a.js +1 -0
- package/dist/index-677159b8.js +1 -0
- package/dist/{index-d0ccdca9.js → index-6b9ad9a8.js} +1 -1
- package/dist/index-6f08dc42.js +1 -0
- package/dist/{index-f454dd19.js → index-829e82f9.js} +1 -1
- package/dist/index-853b673b.js +1 -0
- package/dist/index-8dfaf647.js +1 -0
- package/dist/{index-7b05a81d.js → index-be16dd4e.js} +1 -1
- package/dist/index-be47cca9.js +1 -0
- package/dist/index-c7eb0cf4.js +1 -0
- package/dist/index-fa3d2d50.js +1 -0
- package/dist/index.js +1 -1
- package/dist/{portis-c6877d71.js → portis-32658178.js} +1 -1
- package/dist/{portis-c50099b5.js → portis-5cb50e65.js} +1 -1
- package/dist/portis-db858db8.js +1 -0
- package/dist/portis-fbb3c228.js +1 -0
- package/dist/{provider-cca10738.js → provider-3fe99d2c.js} +1 -1
- package/dist/{provider-e6f70732.js → provider-9ab2eb6e.js} +1 -1
- package/dist/provider-e2314677.js +1 -0
- package/dist/provider-f7f5cb2b.js +1 -0
- package/dist/providers/connector/safeGnosis/adapter.d.ts +6 -2
- package/dist/providers/connector/types.d.ts +3 -0
- package/dist/providers/connector/walletConnect.d.ts +1 -1
- package/dist/{uAuth-8fca8d50.js → uAuth-64c3dda3.js} +1 -1
- package/dist/{uAuth-b3067412.js → uAuth-9f7c98e7.js} +1 -1
- package/dist/uAuth-ddaae2b5.js +1 -0
- package/dist/uAuth-e4b5c839.js +1 -0
- package/dist/walletConnect-1a1a1062.js +1 -0
- package/dist/walletConnect-2b8f3354.js +1 -0
- package/dist/walletConnect-4c410280.js +1 -0
- package/dist/walletConnect-fb4a3e3c.js +1 -0
- package/dist/{walletLink-044d38dd.js → walletLink-5b9fdf98.js} +1 -1
- package/dist/{walletLink-0aea969f.js → walletLink-98193680.js} +1 -1
- package/dist/walletLink-986484a1.js +1 -0
- package/dist/walletLink-cf8da449.js +1 -0
- package/package.json +2 -2
- package/dist/cjs/gnosis-3e6e25d7.cjs +0 -1
- package/dist/cjs/index-026e6f50.cjs +0 -1
- package/dist/cjs/index-4aeb1de9.cjs +0 -1
- package/dist/cjs/providers/connector/gnosis.d.ts +0 -5
- package/dist/cjs/walletConnect-7ab780eb.cjs +0 -1
- package/dist/cjs/walletConnect-d27e7cc3.cjs +0 -1
- package/dist/gnosis-d88df111.js +0 -1
- package/dist/index-98a024ef.js +0 -1
- package/dist/index-9b8e573c.js +0 -1
- package/dist/providers/connector/gnosis.d.ts +0 -5
- package/dist/walletConnect-000ae191.js +0 -1
- package/dist/walletConnect-d37f4749.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{JsonRpcProvider as t}from"@ethersproject/providers";import{AddressZero as e}from"@ethersproject/constants";import{Contract as n}from"@ethersproject/contracts";import{getAddress as i}from"@ethersproject/address";import{proxy as o,ref as r}from"valtio";import{devtools as a,watch as l}from"valtio/utils";var s,c,d=function(){return d=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},d.apply(this,arguments)};function C(t,e,n,i){return new(n||(n=Promise))((function(o,r){function a(t){try{s(i.next(t))}catch(t){r(t)}}function l(t){try{s(i.throw(t))}catch(t){r(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,l)}s((i=i.apply(t,e||[])).next())}))}function u(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(l){return function(s){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,l[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&l[0]?i.return:l[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;switch(i=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,i=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){a.label=l[1];break}if(6===l[0]&&a.label<o[1]){a.label=o[1],o=l;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(l);break}o[2]&&a.ops.pop(),a.trys.pop();continue}l=e.call(t,a)}catch(t){l=[6,t],i=0}finally{n=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}function p(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,o,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(t){o={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function h(t,e,n){if(n||2===arguments.length)for(var i,o=0,r=e.length;o<r;o++)!i&&o in e||(i||(i=Array.prototype.slice.call(e,0,o)),i[o]=e[o]);return t.concat(i||Array.prototype.slice.call(e))}!function(t){t[t.MAINNET=1]="MAINNET",t[t.GOERLI=5]="GOERLI",t[t.BSC=56]="BSC",t[t.HECO=128]="HECO",t[t.POLYGON=137]="POLYGON",t[t.ARBITRUM_ONE=42161]="ARBITRUM_ONE",t[t.ARBITRUM_RINKEBY=421611]="ARBITRUM_RINKEBY",t[t.AURORA=1313161554]="AURORA",t[t.MOONRIVER=1285]="MOONRIVER",t[t.OKCHAIN=66]="OKCHAIN",t[t.OPTIMISM=10]="OPTIMISM",t[t.BOBA=288]="BOBA",t[t.AVALANCHE=43114]="AVALANCHE",t[t.CRONOS=25]="CRONOS"}(s||(s={})),function(t){t.injected="injected",t.BinanceChain="custom-bsc-injected",t.WalletConnect="walletconnect",t.Portis="portis",t.Gnosis="custom-gnosis",t.WalletLink="custom-walletlink",t.LedgerUSB="custom-ledger-usb",t.Ledger="custom-ledger",t.openBlock="custom-open-block",t.openBlockIframe="custom-open-block-iframe",t.Nabox="custom-nabox",t.Bitkeep="custom-bitkeep",t.OneKey="custom-onekey",t.OKX="custom-okx",t.uAuth="custom-uauth",t.kuCoinWallet="custom-kucoin-wallet",t.frontier="custom-frontier"}(c||(c={}));var f="data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2216%22%20fill%3D%22url%28%23paint0_linear_3075_80236%29%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M16%2025C20.9706%2025%2025%2020.9706%2025%2016C25%2011.0294%2020.9706%207%2016%207C11.0294%207%207%2011.0294%207%2016C7%2020.9706%2011.0294%2025%2016%2025ZM14%2013C13.4477%2013%2013%2013.4477%2013%2014V18C13%2018.5523%2013.4477%2019%2014%2019H18C18.5523%2019%2019%2018.5523%2019%2018V14C19%2013.4477%2018.5523%2013%2018%2013H14Z%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_3075_80236%22%20x1%3D%2216%22%20y1%3D%220%22%20x2%3D%2216%22%20y2%3D%2232%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23345FF8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%231D43DC%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E";function D(t){return C(this,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return[4,import("@ethersproject/providers")];case 1:return[2,new(0,e.sent().Web3Provider)(t)]}}))}))}function w(t,e){return void 0===t&&(t=null),C(this,void 0,void 0,(function(){var n;return u(this,(function(i){switch(i.label){case 0:return(n=t||window.ethereum)?[4,n.request({method:"eth_requestAccounts"})]:[3,2];case 1:return i.sent(),[3,3];case 2:if(window.web3)n=window.web3.currentProvider;else{if(!window.celo)throw new Error("No Web3 Provider found");n=window.celo}i.label=3;case 3:return n.on("connect",e.connect),n.on("disconnect",e.disconnect),n.on("accountsChanged",e.accountsChanged),n.on("chainChanged",e.chainChanged),n.on("message",e.message),[2,D(n)]}}))}))}function v(t){var e=t.addChainParameters,n=t.provider,i=void 0===n?window.ethereum:n;return C(this,void 0,void 0,(function(){var t,n,o,r;return u(this,(function(a){switch(a.label){case 0:if(!i)return[2,{result:!1}];t=e.chainId,a.label=1;case 1:return a.trys.push([1,3,,8]),[4,i.request({method:"wallet_switchEthereumChain",params:[{chainId:t}]})];case 2:return a.sent(),[2,{result:!0}];case 3:if(n=a.sent(),4902!==(o=n.code)&&-32603!==o)return[3,7];a.label=4;case 4:return a.trys.push([4,6,,7]),[4,i.request({method:"wallet_addEthereumChain",params:[e]})];case 5:return a.sent(),[2,{result:!0}];case 6:return r=a.sent(),console.error("[failed to add ".concat(t,"]: "),e,r),[3,7];case 7:return console.error("[failed to switch ".concat(t,"]: "),e,n),[3,8];case 8:return[2,{result:!1}]}}))}))}var m,g,E=[{path:"m/44'/60'/x'/0/0",name:"Ledger Live"},{path:"m/44'/60'/0'/x",name:"Legacy"}],F=function(){var t;return!!(null===(t=window.navigator)||void 0===t?void 0:t.hid)},b=function(){var t;return(null===(t=window.navigator)||void 0===t?void 0:t.userAgent)&&/(Android)/i.test(navigator.userAgent)},y=function(){var t;return/(iPhone|iPad|iPod|iOS)/i.test(null===(t=window.navigator)||void 0===t?void 0:t.userAgent)},x=function(){return b()||y()},A=function(){if("undefined"!=typeof window)return window},L=!1,B=1,k={},M=!1;null===(m=A())||void 0===m||m.addEventListener("message",(function(t){"openblock-content-integration"===t.data.from&&(L=!0,Object.values(k).map((function(t){return t()})))})),null===(g=A())||void 0===g||g.addEventListener("load",(function(){setTimeout((function(){M=!0,Object.values(k).map((function(t){return t()}))}),1e3)}),{once:!0});var _=function(){return C(void 0,void 0,void 0,(function(){return u(this,(function(t){return[2,new Promise((function(t){L?t(!0):window.parent===window||M?t(!1):(B++,k[B]=function(){t(L),delete k[B]})}))]}))}))},H=function(t,e){return C(void 0,void 0,void 0,(function(){var t;return u(this,(function(n){switch(n.label){case 0:return[4,import("./provider-e2314677.js")];case 1:return(t=n.sent().default()).on("connect",e.connect),t.on("disconnect",e.disconnect),t.on("accountsChanged",e.accountsChanged),t.on("chainChanged",e.chainChanged),t.on("message",e.message),[4,t.request({method:"eth_requestAccounts"})];case 2:return n.sent(),[2,D(t)]}}))}))};function V(){return import("./index-829e82f9.js")}function N(){return import("./index-853b673b.js")}function O(){return import("./uAuth-ddaae2b5.js")}function I(t,e){return C(this,void 0,void 0,(function(){return u(this,(function(n){switch(n.label){case 0:return[4,import("./portis-db858db8.js")];case 1:return[2,n.sent().default(t,e)]}}))}))}function Z(t,e){return C(this,void 0,void 0,(function(){return u(this,(function(n){switch(n.label){case 0:return[4,import("./walletLink-cf8da449.js")];case 1:return[2,n.sent().default(t,e)]}}))}))}function z(t,e){return C(this,void 0,void 0,(function(){return u(this,(function(n){switch(n.label){case 0:return[4,import("./walletConnect-4c410280.js")];case 1:return[2,n.sent().default(t,e)]}}))}))}var P={type:c.injected,showName:"Coinbase Wallet",logo:f,supportMobile:!1,supportExtension:!1,switchChain:v,disabled:function(){return!(x()&&window.ethereum&&(window.ethereum.isWalletLink||window.ethereum.isToshi))},mobileAndroidDeepLink:"https://go.cb-w.com/dapp?cburl=$formattedAPPUrl",mobileIOSDeepLink:"cbwallet://dapp?url=$formattedAPPUrl"},T={type:c.injected,showName:"TokenPocket",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_4319_127796%29%22%3E%3Cmask%20id%3D%22mask0_4319_127796%22%20style%3D%22mask-type%3Aalpha%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2232%22%20height%3D%2232%22%3E%3Cpath%20d%3D%22M21%200H11C4.92487%200%200%204.92487%200%2011V21C0%2027.0751%204.92487%2032%2011%2032H21C27.0751%2032%2032%2027.0751%2032%2021V11C32%204.92487%2027.0751%200%2021%200Z%22%20fill%3D%22%23C4C4C4%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url%28%23mask0_4319_127796%29%22%3E%3Cpath%20d%3D%22M32.5475%200H-0.84375V32H32.5475V0Z%22%20fill%3D%22%232980FE%22%2F%3E%3Cpath%20d%3D%22M12.7124%2013.7077H12.7165C12.7124%2013.6831%2012.7124%2013.6544%2012.7124%2013.6299V13.7077Z%22%20fill%3D%22%2329AEFF%22%2F%3E%3Cpath%20d%3D%22M20.8626%2014.4854H16.3515V22.6273C16.3515%2023.0121%2016.6626%2023.3232%2017.0474%2023.3232H20.1667C20.5515%2023.3232%2020.8626%2023.0121%2020.8626%2022.6273V14.4854Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M14.1738%208.65625H14.0224H5.94591C5.56109%208.65625%205.25%208.96734%205.25%209.35216V12.1767C5.25%2012.5615%205.56109%2012.8726%205.94591%2012.8726H7.84119H8.59441V13.7076V22.6478C8.59441%2023.0327%208.9055%2023.3438%209.29028%2023.3438H12.254C12.6388%2023.3438%2012.9499%2023.0327%2012.9499%2022.6478V13.7076V13.6299V12.8726H13.7031H14.0101H14.1616C15.3241%2012.8726%2016.2697%2011.927%2016.2697%2010.7644C16.282%209.60184%2015.3364%208.65625%2014.1738%208.65625Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M20.8667%2014.4854V20.1671C21.0223%2020.204%2021.1819%2020.2326%2021.3457%2020.2572C21.5749%2020.2899%2021.8123%2020.3104%2022.0497%2020.3145C22.062%2020.3145%2022.0743%2020.3145%2022.0907%2020.3145V15.7953C21.4071%2015.7502%2020.8667%2015.1812%2020.8667%2014.4854Z%22%20fill%3D%22url%28%23paint0_linear_4319_127796%29%22%2F%3E%3Cpath%20d%3D%22M22.1807%208.65625C18.9632%208.65625%2016.3515%2011.2679%2016.3515%2014.4854C16.3515%2017.2526%2018.2796%2019.5695%2020.8667%2020.1672V14.4854C20.8667%2013.7608%2021.4561%2013.1714%2022.1807%2013.1714C22.9052%2013.1714%2023.4947%2013.7608%2023.4947%2014.4854C23.4947%2015.0953%2023.0813%2015.607%2022.5163%2015.7544C22.4099%2015.783%2022.2953%2015.7994%2022.1807%2015.7994V20.3146C22.2953%2020.3146%2022.4058%2020.3105%2022.5163%2020.3064C25.5783%2020.1303%2028.0098%2017.5924%2028.0098%2014.4854C28.0139%2011.2679%2025.4023%208.65625%2022.1807%208.65625Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M22.1806%2020.3147V15.7995C22.1479%2015.7995%2022.1193%2015.7995%2022.0865%2015.7954V20.3147C22.1193%2020.3147%2022.152%2020.3147%2022.1806%2020.3147Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_4319_127796%22%20x1%3D%2222.1826%22%20y1%3D%2217.4008%22%20x2%3D%2220.8673%22%20y2%3D%2217.4008%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22white%22%2F%3E%3Cstop%20offset%3D%220.9667%22%20stop-color%3D%22white%22%20stop-opacity%3D%220.3233%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22white%22%20stop-opacity%3D%220.3%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22clip0_4319_127796%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",link:"https://www.tokenpocket.pro/",supportMobile:!0,supportExtension:!1,switchChain:v,disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isTokenPocket)},mobileDeepLink:"tpdapp://open?params=".concat(encodeURI('{\n "url": "$APP_URL"\n }'))},S={type:c.injected,showName:"TrustWallet",logo:"data:image/svg+xml,%3Csvg%20enable-background%3D%22new%200%200%20158.8%20184%22%20viewBox%3D%220%200%20158.8%20184%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20transform%3D%22translate%28354%20351%29%22%3E%3Cpath%20d%3D%22m-274.6-343.7c29.3%2022.7%2062.9%2021.3%2072.5%2021.3-2.1%20129.1-18.1%20111.9-72.5%20148.1-54.4-36.2-70.3-19-72.4-148.1%209.5%200%2043%201.4%2072.4-21.3z%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22m-274.6-343.7%204.2-5.5c-2.5-1.9-6-1.9-8.5%200zm72.5%2021.3%206.9.1c0-1.9-.7-3.6-2-5-1.3-1.3-3.1-2.1-4.9-2.1zm-72.5%20148.1-3.8%205.8c2.3%201.5%205.3%201.5%207.7%200zm-72.4-148.1v-6.9c-1.9%200-3.6.7-4.9%202.1-1.3%201.3-2%203.1-2%205zm68.1-15.8c31.4%2024.3%2067.3%2022.7%2076.7%2022.7v-13.8c-9.8%200-41.1%201.2-68.3-19.9zm69.8%2015.7c-.5%2032.1-1.9%2054.8-4.5%2071.6-2.6%2016.6-6.2%2026.6-11%2033.6-4.8%207.3-10.8%2011.6-19.7%2016.9-9%205.4-20.3%2011.2-34.3%2020.4l7.7%2011.5c13.3-8.8%2024.3-14.5%2033.7-20.1%209.5-5.7%2017.8-11.9%2024.1-21%206.3-9.4%2010.5-21.6%2013.2-39.2%202.7-17.4%204.1-41%204.6-73.5zm-61.7%20142.4c-13.9-9.3-25.3-15.1-34.2-20.4s-14.9-9.6-19.7-16.9c-4.7-7-8.4-16.9-10.9-33.6-2.6-16.8-3.9-39.4-4.5-71.6l-13.9.3c.5%2032.4%202%2056%204.6%2073.5%202.7%2017.6%206.8%2029.8%2013.1%2039.2%206.3%209.1%2014.6%2015.3%2024%2021%209.4%205.6%2020.4%2011.2%2033.7%2020.1zm-76.2-135.4c9.3%200%2045.3%201.6%2076.6-22.7l-8.4-11c-27.2%2021.1-58.5%2019.9-68.2%2019.9z%22%20fill%3D%22%233375bb%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E",link:"https://trustwallet.com/",supportMobile:!0,supportExtension:!1,switchChain:v,disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isTrust)},mobileDeepLink:"https://link.trustwallet.com/open_url?url=$APP_URL"},W={type:c.injected,showName:"ImToken",logo:"data:image/svg+xml,%3Csvg%20enable-background%3D%22new%200%200%2064%2064%22%20viewBox%3D%220%200%2064%2064%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3ClinearGradient%20id%3D%22a%22%20gradientTransform%3D%22matrix%2823.9866%200%200%20-16.946%206597.1353%205695.4907%29%22%20gradientUnits%3D%22userSpaceOnUse%22%20x1%3D%22-272.5272%22%20x2%3D%22-275.1207%22%20y1%3D%22335.5532%22%20y2%3D%22332.9597%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%2311c4d1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230062ad%22%2F%3E%3C%2FlinearGradient%3E%3Cpath%20d%3D%22m63.8%2010.9c2.1%2028.6-16.2%2042.1-32.7%2043.6-15.3%201.3-29.7-8.1-31-22.5-1-11.9%206.3-17%2012.1-17.5%206-.5%2011%203.6%2011.4%208.6.4%204.8-2.6%207-4.6%207.2-1.6.1-3.7-.9-3.9-3-.2-1.8.5-2.1.4-4-.3-3.5-3.3-3.9-5-3.7-2%20.2-5.7%202.5-5.1%208.4.5%205.9%206.2%2010.6%2013.6%209.9%208-.7%2013.6-6.9%2014-15.7%200-.5.1-.9.3-1.3.1-.2.2-.4.3-.5.2-.3.4-.5.7-.8.2-.2.5-.5.7-.8%203.5-3.3%2016.1-11.1%2028-8.6.4-.2.8.2.8.7%22%20fill%3D%22url%28%23a%29%22%2F%3E%3C%2Fsvg%3E",link:"https://token.im/",supportMobile:!0,supportExtension:!1,switchChain:v,disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isImToken)},mobileDeepLink:"imtokenv2://navigate/DappView?url=$formattedAPPUrl"},U={type:c.injected,showName:"Math Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2272%22%20height%3D%2272%22%20viewBox%3D%220%200%2072%2072%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20cx%3D%2236%22%20cy%3D%2236%22%20r%3D%2236%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M14.25%2046.4721C15.1398%2046.4721%2015.8611%2047.1934%2015.8611%2048.0832C15.8611%2048.973%2015.1398%2049.6943%2014.25%2049.6943C13.3602%2049.6943%2012.6389%2048.973%2012.6389%2048.0832C12.6389%2047.1934%2013.3602%2046.4721%2014.25%2046.4721ZM36%2046.4721C36.8898%2046.4721%2037.6111%2047.1934%2037.6111%2048.0832C37.6111%2048.973%2036.8898%2049.6943%2036%2049.6943C35.1102%2049.6943%2034.3889%2048.973%2034.3889%2048.0832C34.3889%2047.1934%2035.1102%2046.4721%2036%2046.4721ZM57.75%2046.4721C58.6398%2046.4721%2059.3611%2047.1934%2059.3611%2048.0832C59.3611%2048.973%2058.6398%2049.6943%2057.75%2049.6943C56.8602%2049.6943%2056.1389%2048.973%2056.1389%2048.0832C56.1389%2047.1934%2056.8602%2046.4721%2057.75%2046.4721ZM19.0833%2040.0276C20.418%2040.0276%2021.5%2041.1096%2021.5%2042.4443C21.5%2043.779%2020.418%2044.861%2019.0833%2044.861C17.7486%2044.861%2016.6667%2043.779%2016.6667%2042.4443C16.6667%2041.1096%2017.7486%2040.0276%2019.0833%2040.0276ZM30.3611%2040.0276C31.6958%2040.0276%2032.7778%2041.1096%2032.7778%2042.4443C32.7778%2043.779%2031.6958%2044.861%2030.3611%2044.861C29.0264%2044.861%2027.9444%2043.779%2027.9444%2042.4443C27.9444%2041.1096%2029.0264%2040.0276%2030.3611%2040.0276ZM41.6389%2040.0276C42.9736%2040.0276%2044.0556%2041.1096%2044.0556%2042.4443C44.0556%2043.779%2042.9736%2044.861%2041.6389%2044.861C40.3042%2044.861%2039.2222%2043.779%2039.2222%2042.4443C39.2222%2041.1096%2040.3042%2040.0276%2041.6389%2040.0276ZM52.9167%2040.0276C54.2514%2040.0276%2055.3333%2041.1096%2055.3333%2042.4443C55.3333%2043.779%2054.2514%2044.861%2052.9167%2044.861C51.582%2044.861%2050.5%2043.779%2050.5%2042.4443C50.5%2041.1096%2051.582%2040.0276%2052.9167%2040.0276ZM8.61111%2040.8332C9.5009%2040.8332%2010.2222%2041.5545%2010.2222%2042.4443C10.2222%2043.3341%209.5009%2044.0554%208.61111%2044.0554C7.72132%2044.0554%207%2043.3341%207%2042.4443C7%2041.5545%207.72132%2040.8332%208.61111%2040.8332ZM63.3889%2040.8332C64.2787%2040.8332%2065%2041.5545%2065%2042.4443C65%2043.3341%2064.2787%2044.0554%2063.3889%2044.0554C62.4991%2044.0554%2061.7778%2043.3341%2061.7778%2042.4443C61.7778%2041.5545%2062.4991%2040.8332%2063.3889%2040.8332ZM24.7222%2033.5832C26.5018%2033.5832%2027.9444%2035.0258%2027.9444%2036.8054C27.9444%2038.585%2026.5018%2040.0276%2024.7222%2040.0276C22.9426%2040.0276%2021.5%2038.585%2021.5%2036.8054C21.5%2035.0258%2022.9426%2033.5832%2024.7222%2033.5832ZM47.2778%2033.5832C49.0574%2033.5832%2050.5%2035.0258%2050.5%2036.8054C50.5%2038.585%2049.0574%2040.0276%2047.2778%2040.0276C45.4982%2040.0276%2044.0556%2038.585%2044.0556%2036.8054C44.0556%2035.0258%2045.4982%2033.5832%2047.2778%2033.5832ZM14.25%2034.3888C15.5847%2034.3888%2016.6667%2035.4707%2016.6667%2036.8054C16.6667%2038.1401%2015.5847%2039.2221%2014.25%2039.2221C12.9153%2039.2221%2011.8333%2038.1401%2011.8333%2036.8054C11.8333%2035.4707%2012.9153%2034.3888%2014.25%2034.3888ZM36%2034.3888C37.3347%2034.3888%2038.4167%2035.4707%2038.4167%2036.8054C38.4167%2038.1401%2037.3347%2039.2221%2036%2039.2221C34.6653%2039.2221%2033.5833%2038.1401%2033.5833%2036.8054C33.5833%2035.4707%2034.6653%2034.3888%2036%2034.3888ZM57.75%2034.3888C59.0847%2034.3888%2060.1667%2035.4707%2060.1667%2036.8054C60.1667%2038.1401%2059.0847%2039.2221%2057.75%2039.2221C56.4153%2039.2221%2055.3333%2038.1401%2055.3333%2036.8054C55.3333%2035.4707%2056.4153%2034.3888%2057.75%2034.3888ZM19.0833%2027.9443C20.8629%2027.9443%2022.3056%2029.3869%2022.3056%2031.1665C22.3056%2032.9461%2020.8629%2034.3888%2019.0833%2034.3888C17.3037%2034.3888%2015.8611%2032.9461%2015.8611%2031.1665C15.8611%2029.3869%2017.3037%2027.9443%2019.0833%2027.9443ZM30.3611%2027.9443C32.1407%2027.9443%2033.5833%2029.3869%2033.5833%2031.1665C33.5833%2032.9461%2032.1407%2034.3888%2030.3611%2034.3888C28.5815%2034.3888%2027.1389%2032.9461%2027.1389%2031.1665C27.1389%2029.3869%2028.5815%2027.9443%2030.3611%2027.9443ZM41.6389%2027.9443C43.4185%2027.9443%2044.8611%2029.3869%2044.8611%2031.1665C44.8611%2032.9461%2043.4185%2034.3888%2041.6389%2034.3888C39.8593%2034.3888%2038.4167%2032.9461%2038.4167%2031.1665C38.4167%2029.3869%2039.8593%2027.9443%2041.6389%2027.9443ZM52.9167%2027.9443C54.6963%2027.9443%2056.1389%2029.3869%2056.1389%2031.1665C56.1389%2032.9461%2054.6963%2034.3888%2052.9167%2034.3888C51.1371%2034.3888%2049.6944%2032.9461%2049.6944%2031.1665C49.6944%2029.3869%2051.1371%2027.9443%2052.9167%2027.9443ZM24.7222%2022.3054C26.5018%2022.3054%2027.9444%2023.7481%2027.9444%2025.5276C27.9444%2027.3072%2026.5018%2028.7499%2024.7222%2028.7499C22.9426%2028.7499%2021.5%2027.3072%2021.5%2025.5276C21.5%2023.7481%2022.9426%2022.3054%2024.7222%2022.3054ZM47.2778%2022.3054C49.0574%2022.3054%2050.5%2023.7481%2050.5%2025.5276C50.5%2027.3072%2049.0574%2028.7499%2047.2778%2028.7499C45.4982%2028.7499%2044.0556%2027.3072%2044.0556%2025.5276C44.0556%2023.7481%2045.4982%2022.3054%2047.2778%2022.3054Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E",link:"https://mathwallet.org",supportMobile:!0,supportExtension:!0,switchChain:v,disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isMathWallet)}},R={type:c.injected,showName:"GameStop Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_3104_80271%29%22%3E%3Cpath%20d%3D%22M21%200H11C4.92487%200%200%204.92487%200%2011V21C0%2027.0751%204.92487%2032%2011%2032H21C27.0751%2032%2032%2027.0751%2032%2021V11C32%204.92487%2027.0751%200%2021%200Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9.86889%2012.6868V21.3057C9.86889%2021.9352%2010.347%2022.4111%2010.968%2022.4111H21.036C21.657%2022.4111%2022.1351%2021.9352%2022.1351%2021.3057V14.077H23.724V21.3057C23.724%2022.8077%2022.5395%2024%2021.036%2024H10.968C9.46452%2024%208.28003%2022.8077%208.28003%2021.3057V12.6868H9.86889Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M8.28003%2010.6943C8.28003%209.19227%209.46452%208%2010.968%208H21.3686V11.151H21.544C22.7704%2011.151%2023.724%2012.1116%2023.724%2013.3356V14.4013C23.724%2015.6253%2022.7704%2016.5859%2021.544%2016.5859H10.968C9.46452%2016.5859%208.28003%2015.3936%208.28003%2013.8916V10.6943ZM19.7797%2011.151V9.58886H10.968C10.347%209.58886%209.86889%2010.0648%209.86889%2010.6943V13.8916C9.86889%2014.5212%2010.347%2014.9971%2010.968%2014.9971H15.2076V11.151H19.7797ZM16.7964%2014.9971H21.544C21.8879%2014.9971%2022.1351%2014.7528%2022.1351%2014.4013V13.3356C22.1351%2012.9841%2021.8879%2012.7399%2021.544%2012.7399H16.7964V14.9971Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M14.964%2012.8807H17.0825V14.9992H14.964V12.8807Z%22%20fill%3D%22url%28%23paint0_linear_3104_80271%29%22%2F%3E%3Cpath%20d%3D%22M19.2349%209.30048H21.5441V11.154H19.2349V9.30048Z%22%20fill%3D%22url%28%23paint1_linear_3104_80271%29%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_3104_80271%22%20x1%3D%2216.0232%22%20y1%3D%2216.4115%22%20x2%3D%2216.0232%22%20y2%3D%2213.5869%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%2F%3E%3Cstop%20offset%3D%221%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_3104_80271%22%20x1%3D%2220.3894%22%20y1%3D%2212.3897%22%20x2%3D%2220.3894%22%20y2%3D%229.91831%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%2F%3E%3Cstop%20offset%3D%221%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22clip0_3104_80271%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isGamestop)},supportMobile:!1,supportExtension:!0,switchChain:v,link:"https://wallet.gamestop.com/"},j={type:c.injected,showName:"Brave",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_3137_121266%29%22%3E%3Cpath%20d%3D%22M29.6863%2011.3521L28.6996%208.67214L29.3858%207.13367C29.429%207.03662%2029.4417%206.92881%2029.4225%206.82436C29.4033%206.71991%2029.353%206.6237%2029.2782%206.54834L27.4123%204.66226C27.0117%204.25582%2026.504%203.97153%2025.9481%203.84249C25.3923%203.71346%2024.8112%203.74498%2024.2726%203.9334L23.75%204.11505L20.8996%201.02691L16.0644%201H16.033L11.1665%201.03812L8.31828%204.15094L7.81144%203.97152C7.26932%203.78088%206.68406%203.74882%206.12435%203.87911C5.56465%204.00941%205.05372%204.29664%204.65153%204.70712L2.752%206.62907C2.69238%206.68915%202.65234%206.76586%202.63713%206.84911C2.62192%206.93237%202.63226%207.01828%202.66678%207.09555L3.38219%208.69232L2.3999%2011.3701L3.03458%2013.7854L5.92985%2024.7924C6.2634%2026.0603%207.03075%2027.1713%208.0985%2027.9321C8.0985%2027.9321%2011.6127%2030.4102%2015.0799%2032.6619C15.3541%2032.8808%2015.6945%2033%2016.0454%2033C16.3962%2033%2016.7366%2032.8808%2017.0108%2032.6619C20.9063%2030.1097%2023.9877%2027.9231%2023.9877%2027.9231C25.0547%2027.1619%2025.8212%2026.051%2026.1542%2024.7834L29.0337%2013.7719L29.6863%2011.3521Z%22%20fill%3D%22url%28%23paint0_linear_3137_121266%29%22%2F%3E%3Cpath%20d%3D%22M16.8402%2020.8365C16.6556%2020.7538%2016.4652%2020.6849%2016.2706%2020.6301H15.9274C15.7328%2020.6849%2015.5424%2020.7538%2015.3578%2020.8365L14.4944%2021.1953C14.2208%2021.3097%2013.7812%2021.5137%2013.5188%2021.6438L11.931%2022.4713C11.8735%2022.49%2011.8229%2022.5254%2011.7857%2022.5731C11.7485%2022.6208%2011.7265%2022.6785%2011.7224%2022.7388C11.7183%2022.7991%2011.7323%2022.8593%2011.7627%2022.9115C11.7931%2022.9638%2011.8384%2023.0057%2011.8929%2023.032L13.2721%2024.0053C13.5143%2024.1758%2013.8956%2024.4763%2014.1198%2024.6781L14.5078%2025.0123C14.7321%2025.2052%2015.0976%2025.5259%2015.3197%2025.7232L15.6875%2026.0484C15.8011%2026.1431%2015.9443%2026.1949%2016.0923%2026.1949C16.2402%2026.1949%2016.3834%2026.1431%2016.4971%2026.0484L16.8828%2025.712L17.6946%2025.0033L18.0849%2024.6624C18.3091%2024.4673%2018.6881%2024.1668%2018.9303%2023.9896L20.3096%2023.0029C20.3641%2022.9767%2020.4095%2022.9346%2020.4398%2022.8822C20.47%2022.8298%2020.4838%2022.7694%2020.4792%2022.7091C20.4746%2022.6487%2020.4518%2022.5912%2020.414%2022.544C20.3761%2022.4967%2020.3249%2022.4621%2020.267%2022.4444L18.6814%2021.6393C18.4168%2021.5048%2017.9772%2021.3029%2017.7014%2021.1908L16.8402%2020.8365Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.6182%2011.9512L26.663%2011.8077C26.6657%2011.6157%2026.6537%2011.4238%2026.6271%2011.2336C26.4936%2010.8939%2026.3221%2010.5704%2026.1158%2010.2692L25.2188%208.95278C25.0528%208.70609%2024.7702%208.31587%2024.5796%208.08488L23.3775%206.58005C23.2679%206.43338%2023.1488%206.29405%2023.0209%206.16292H22.9963C22.9963%206.16292%2022.7541%206.20553%2022.4625%206.26159L20.6258%206.61593L19.8207%206.77068C19.5534%206.78324%2019.2862%206.74441%2019.0335%206.6563L17.5825%206.18758C17.2999%206.09563%2016.8334%205.96332%2016.5441%205.90052C16.2393%205.86812%2015.9318%205.86812%2015.6269%205.90052C15.3376%205.9678%2014.8711%206.09788%2014.5885%206.18983L13.1375%206.66079C12.8849%206.74889%2012.6177%206.78772%2012.3504%206.77516L11.5453%206.62266L9.70627%206.27056C9.41473%206.2145%209.17476%206.16964%209.17252%206.17189H9.14785C9.02003%206.30301%208.90091%206.44236%208.79127%206.58902L7.59144%208.09384C7.40754%208.31811%207.11824%208.71731%206.95229%208.96176L6.05522%2010.2782C5.90029%2010.5052%205.75876%2010.7411%205.63136%2010.9846C5.55451%2011.2562%205.51379%2011.5367%205.51025%2011.8189L5.55511%2011.9624C5.5767%2012.0546%205.60442%2012.1453%205.63809%2012.2338C5.82423%2012.4581%206.14268%2012.8303%206.34677%2013.0479L9.48649%2016.385C9.59072%2016.5066%209.66047%2016.654%209.68847%2016.8118C9.71647%2016.9695%209.70171%2017.1319%209.64572%2017.282L9.13215%2018.4998C9.01537%2018.8224%209.00671%2019.1743%209.10748%2019.5023L9.21064%2019.7848C9.3792%2020.2438%209.66814%2020.6489%2010.0472%2020.9577L10.5405%2021.3592C10.6687%2021.4516%2010.8183%2021.51%2010.9752%2021.5288C11.1321%2021.5477%2011.2912%2021.5263%2011.4376%2021.4668L13.1914%2020.6303C13.5133%2020.4692%2013.8145%2020.2696%2014.0884%2020.036L15.4923%2018.7689C15.5483%2018.7184%2015.5935%2018.6572%2015.6253%2018.5889C15.6571%2018.5207%2015.6749%2018.4467%2015.6777%2018.3714C15.6804%2018.2961%2015.668%2018.221%2015.6411%2018.1506C15.6143%2018.0802%2015.5736%2018.0159%2015.5215%2017.9615L12.3526%2015.8265C12.2326%2015.7414%2012.1472%2015.616%2012.1118%2015.4732C12.0764%2015.3304%2012.0934%2015.1797%2012.1597%2015.0483L13.3887%2012.7384C13.4586%2012.597%2013.4999%2012.4432%2013.5103%2012.2858C13.5207%2012.1284%2013.5%2011.9705%2013.4493%2011.8211C13.2967%2011.5362%2013.0503%2011.3128%2012.7518%2011.1887L8.89891%209.73323C8.62082%209.62783%208.63652%209.50897%208.93031%209.49102L11.1932%209.26676C11.548%209.24419%2011.9042%209.27596%2012.2494%209.36095L14.2185%209.9104C14.3583%209.95254%2014.4781%2010.0439%2014.5556%2010.1677C14.6331%2010.2914%2014.6632%2010.439%2014.6401%2010.5832L13.8664%2014.8084C13.8147%2015.0424%2013.8018%2015.2833%2013.8283%2015.5215C13.8597%2015.6225%2014.1243%2015.7458%2014.4136%2015.8176L15.6134%2016.0732C15.9619%2016.1373%2016.3191%2016.1373%2016.6675%2016.0732L17.7462%2015.8288C18.0355%2015.7637%2018.2979%2015.6269%2018.3315%2015.526C18.3574%2015.2877%2018.3437%2015.0467%2018.2912%2014.8129L17.513%2010.5877C17.4899%2010.4435%2017.52%2010.2959%2017.5975%2010.1721C17.675%2010.0484%2017.7948%209.95702%2017.9346%209.91489L19.9036%209.36319C20.2489%209.27816%2020.6051%209.2464%2020.9599%209.269L23.2228%209.47981C23.5188%209.50672%2023.5323%209.61661%2023.2564%209.72202L19.4058%2011.182C19.1073%2011.3061%2018.8609%2011.5295%2018.7083%2011.8144C18.6062%2012.1161%2018.628%2012.446%2018.7689%2012.7317L20.0001%2015.0416C20.0664%2015.1729%2020.0834%2015.3237%2020.048%2015.4665C20.0127%2015.6093%2019.9272%2015.7347%2019.8072%2015.8198L16.6406%2017.9593C16.5884%2018.0137%2016.5478%2018.078%2016.5209%2018.1484C16.4941%2018.2188%2016.4817%2018.2939%2016.4844%2018.3692C16.4871%2018.4444%2016.5049%2018.5184%2016.5368%2018.5867C16.5686%2018.655%2016.6138%2018.7162%2016.6697%2018.7667L18.0759%2020.0338C18.3499%2020.2666%2018.6511%2020.4654%2018.9729%2020.6258L20.7267%2021.4601C20.8733%2021.5193%2021.0325%2021.5403%2021.1894%2021.521C21.3463%2021.5018%2021.4958%2021.443%2021.6238%2021.3502L22.1172%2020.9465C22.4966%2020.6371%2022.7856%2020.2312%2022.9537%2019.7714L23.0568%2019.4888C23.1576%2019.1608%2023.1489%2018.809%2023.0322%2018.4863L22.5163%2017.2686C22.4604%2017.1184%2022.4456%2016.9561%2022.4736%2016.7983C22.5016%2016.6406%2022.5713%2016.4932%2022.6756%2016.3715L25.8153%2013.0299C26.0194%2012.8057%2026.3356%2012.4468%2026.5217%2012.2159C26.5597%2012.1299%2026.5919%2012.0415%2026.6182%2011.9512Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_3137_121266%22%20x1%3D%222.40887%22%20y1%3D%2217.0014%22%20x2%3D%2229.6774%22%20y2%3D%2217.0014%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23F1562B%22%2F%3E%3Cstop%20offset%3D%220.3%22%20stop-color%3D%22%23F1542B%22%2F%3E%3Cstop%20offset%3D%220.41%22%20stop-color%3D%22%23F04D2A%22%2F%3E%3Cstop%20offset%3D%220.49%22%20stop-color%3D%22%23EF4229%22%2F%3E%3Cstop%20offset%3D%220.5%22%20stop-color%3D%22%23EF4029%22%2F%3E%3Cstop%20offset%3D%220.56%22%20stop-color%3D%22%23E83E28%22%2F%3E%3Cstop%20offset%3D%220.67%22%20stop-color%3D%22%23E13C26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23DF3C26%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22clip0_3137_121266%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isBraveWallet)},supportMobile:!1,supportExtension:!0,switchChain:v,link:"https://wallet-docs.brave.com/"},G={type:c.injected,showName:"Huobi Wallet",logo:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2232px%22%20height%3D%2232px%22%20viewBox%3D%220%200%2032%2032%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3EWalletConnect%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3CradialGradient%20cx%3D%2214.2459714%25%22%20cy%3D%2282.9640779%25%22%20fx%3D%2214.2459714%25%22%20fy%3D%2282.9640779%25%22%20r%3D%2297.6569253%25%22%20id%3D%22radialGradient-1%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20stop-color%3D%22%231253FC%22%20offset%3D%220%25%22%3E%3C%2Fstop%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20stop-color%3D%22%234C7CF8%22%20offset%3D%22100%25%22%3E%3C%2Fstop%3E%20%20%20%20%20%20%20%20%3C%2FradialGradient%3E%20%20%20%20%20%20%20%20%3Cfilter%20color-interpolation-filters%3D%22auto%22%20id%3D%22filter-2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20in%3D%22SourceGraphic%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%201.000000%200%200%200%200%201.000000%200%200%200%200%201.000000%200%200%200%201.000000%200%22%3E%3C%2FfeColorMatrix%3E%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E6%8E%A7%E4%BB%B6%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E9%92%B1%E5%8C%85-Huobi%22%20transform%3D%22translate%28-16.000000%2C%20-16.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22WalletConnect%22%20transform%3D%22translate%2816.000000%2C%2016.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9C%AA%E5%91%BD%E5%90%8D%22%20fill%3D%22url%28%23radialGradient-1%29%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M16%2C0%20C24.836556%2C0%2032%2C7.163444%2032%2C16%20C32%2C24.836556%2024.836556%2C32%2016%2C32%20C7.163444%2C32%200%2C24.836556%200%2C16%20C0%2C7.163444%207.163444%2C0%2016%2C0%20Z%22%20id%3D%22%E8%B7%AF%E5%BE%84%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20filter%3D%22url%28%23filter-2%29%22%20id%3D%22heco%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%288.888889%2C%205.333333%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.77777778%2C6.56528272%20C9.77777778%2C3.50266975%208.1802334%2C0.868073441%206.96574747%2C0.0102563438%20C6.95996869%2C0.00845797311%206.87336379%2C-0.0382994199%206.88105745%2C0.0839888876%20C6.88105745%2C0.0857875045%206.87913403%2C0.0857875045%206.87913403%2C0.0875861214%20C6.77904815%2C6.00239441%203.54554242%2C7.60473067%201.7671117%2C9.76457253%20C-2.33636671%2C14.7478573%201.4803265%2C20.2112381%205.36631388%2C21.2200883%20C7.54123275%2C21.7847818%204.86396105%2C20.2202641%204.51943926%2C16.9148132%20C4.10177646%2C12.9206857%209.77777778%2C9.87247313%209.77777778%2C6.56528272%20Z%22%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%232D3338%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M11.2932296%2C8.01552828%20C11.2668533%2C7.99856497%2011.2303947%2C7.98734177%2011.2040185%2C8.02675148%20C11.1330817%2C8.80415072%2010.275719%2C10.4677543%209.18934224%2C11.9942806%20C5.50455525%2C17.1729727%207.60436459%2C19.6703485%208.78604691%2C21.0109638%20C9.47110885%2C21.7902479%208.78604691%2C21.0109638%2010.4987017%2C20.2148878%20C10.6324734%2C20.1528604%2013.8429923%2C18.4854872%2014.1895742%2C14.6869058%20C14.5280542%2C11.0085239%2012.1424903%2C8.68960556%2011.2932296%2C8.01552828%20Z%22%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%2301943F%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",supportMobile:!1,supportExtension:!1,switchChain:v,disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isHbWallet)}},K={type:c.injected,showName:"Coin98",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M26.1569%200H5.84389C2.60226%200%200%202.6016%200%205.8432V26.1568C0%2029.3984%202.60226%2032%205.84389%2032H26.1561C29.3522%2032%2032%2029.3984%2032%2026.1568V5.8432C32%202.6016%2029.3985%200%2026.1569%200ZM21.2273%207.9888C23.601%207.9888%2025.5183%209.9056%2025.5183%2012.28C25.5183%2013.0096%2025.3353%2013.6944%2025.0156%2014.3336C24.4681%2013.9232%2023.8751%2013.5576%2023.2357%2013.3296C23.418%2013.0096%2023.5099%2012.6448%2023.5099%2012.28C23.5099%2011.0472%2022.5053%2010.0432%2021.2729%2010.0432C20.0397%2010.0432%2019.0358%2011.0472%2019.0358%2012.28C19.0358%2012.6448%2019.127%2013.0096%2019.31%2013.3296C18.6706%2013.5576%2018.0312%2013.8776%2017.5293%2014.3336C17.1641%2013.6944%2017.0266%2013.0096%2017.0266%2012.2792C16.9363%209.9056%2018.8536%207.9888%2021.2273%207.9888ZM10.7727%2024.0112C8.3998%2024.0112%206.48247%2022.0944%206.48247%2019.7208H8.53648C8.53648%2020.9528%209.54109%2021.9576%2010.7735%2021.9576C12.0059%2021.9576%2013.0105%2020.9528%2013.0105%2019.7208H15.0645C15.0645%2022.0944%2013.1464%2024.0112%2010.7727%2024.0112ZM10.7727%2017.9856C8.03456%2017.9856%205.79755%2015.7488%205.79755%2013.0096C5.79755%2010.2712%208.03456%207.9888%2010.7735%207.9888C13.5124%207.9888%2015.795%2010.2256%2015.795%2013.0096C15.7494%2015.7488%2013.5116%2017.9856%2010.7727%2017.9856ZM21.2273%2024.0112C18.4884%2024.0112%2016.2058%2021.7744%2016.2058%2019.0352C16.2058%2016.2512%2018.4428%2014.0144%2021.2273%2014.0144C23.9662%2014.0144%2026.2032%2016.2512%2026.2032%2019.036C26.2032%2021.7744%2023.9662%2024.0112%2021.2273%2024.0112ZM24.194%2018.9904C24.194%2020.6336%2022.8705%2021.9112%2021.2273%2021.9112C19.5841%2021.9112%2018.2598%2020.588%2018.2598%2018.9904C18.2598%2017.3464%2019.5841%2016.0224%2021.2273%2016.0224C22.8705%2016.0688%2024.194%2017.392%2024.194%2018.9904ZM13.6946%2013.0096C13.6946%2014.6536%2012.3711%2015.9776%2010.7279%2015.9776C9.08395%2015.9776%207.76043%2014.6536%207.76043%2013.0096C7.76043%2011.3664%209.08395%2010.0424%2010.7279%2010.0424C12.4167%2010.0424%2013.6946%2011.3664%2013.6946%2013.0104V13.0096Z%22%20fill%3D%22%23D9B432%22%2F%3E%3C%2Fsvg%3E",supportMobile:!1,supportExtension:!1,switchChain:v,disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isCoin98)}},q=Object.freeze({__proto__:null,Coinbase:P,TokenPocket:T,Trust:S,ImToken:W,Math:U,GameStop:R,Brave:j,Huobi:G,Coin98:K}),$={type:c.WalletLink,showName:"Coinbase Wallet",logo:f,supportMobile:!0,disabled:function(){return!(!window.ethereum||!window.ethereum.isWalletLink&&!window.ethereum.isToshi&&document&&x())},connector:Z},Y={type:c.BinanceChain,showName:"Binance Chain Wallet",logo:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%227.5in%22%20height%3D%227.5in%22%20version%3D%221.1%22%20style%3D%22shape-rendering%3AgeometricPrecision%3B%20text-rendering%3AgeometricPrecision%3B%20image-rendering%3AoptimizeQuality%3B%20fill-rule%3Aevenodd%3B%20clip-rule%3Aevenodd%22%20viewBox%3D%220%200%207500%207500%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20%20%20%20%20.fil0%20%7Bfill%3Anone%7D%20%20%20%20%20%20%20%20%20%20%20%20.fil1%20%7Bfill%3A%234D4D4D%7D%20%20%20%20%20%20%20%20%20%20%20%20.fil2%20%7Bfill%3A%23F3BA2F%7D%20%20%20%20%20%20%20%20%3C%2Fstyle%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Layer_x0020_1%22%3E%20%20%20%20%20%20%20%20%3Cmetadata%20id%3D%22CorelCorpID_0Corel-Layer%22%2F%3E%20%20%20%20%20%20%20%20%3Crect%20class%3D%22fil0%22%20width%3D%227500%22%20height%3D%227500%22%2F%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22_2419820813232%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%20class%3D%22fil1%22%20cx%3D%223750%22%20cy%3D%223750%22%20r%3D%223500%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22fil2%22%20d%3D%22M2779%203351l971%20-971%20971%20972%20565%20-565%20-1536%20-1537%20-1536%201536%20565%20565%200%200zm-1529%20399l565%20-565%20565%20565%20-565%20565%20-565%20-565zm1529%20399l971%20971%20971%20-972%20566%20565%200%200%20-1537%201537%20-1536%20-1536%20-1%20-1%20566%20-564%200%200zm2341%20-399l565%20-565%20565%20565%20-565%20565%20-565%20-565z%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22fil2%22%20d%3D%22M4380%203750l0%200%20-630%20-632%20-466%20467%200%200%20-54%2054%20-111%20111%20-1%201%201%201%20630%20630%20631%20-631%200%200%200%200%200%20-1zm0%200l0%200%200%200z%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3Cstyle%20xmlns%3D%22%22%3E%23yddContainer%7Bdisplay%3Ablock%3Bfont-family%3AMicrosoft%20YaHei%3Bposition%3Arelative%3Bwidth%3A100%25%3Bheight%3A100%25%3Btop%3A-4px%3Bleft%3A-4px%3Bfont-size%3A12px%3Bborder%3A1px%20solid%7D%23yddTop%7Bdisplay%3Ablock%3Bheight%3A22px%7D%23yddTopBorderlr%7Bdisplay%3Ablock%3Bposition%3Astatic%3Bheight%3A17px%3Bpadding%3A2px%2028px%3Bline-height%3A17px%3Bfont-size%3A12px%3Bcolor%3A%235079bb%3Bfont-weight%3Abold%3Bborder-style%3Anone%20solid%3Bborder-width%3A1px%7D%23yddTopBorderlr%20.ydd-sp%7Bposition%3Aabsolute%3Btop%3A2px%3Bheight%3A0%3Boverflow%3Ahidden%7D.ydd-icon%7Bleft%3A5px%3Bwidth%3A17px%3Bpadding%3A0px%200px%200px%200px%3Bpadding-top%3A17px%3Bbackground-position%3A-16px%20-44px%7D.ydd-close%7Bright%3A5px%3Bwidth%3A16px%3Bpadding-top%3A16px%3Bbackground-position%3Aleft%20-44px%7D%23yddKeyTitle%7Bfloat%3Aleft%3Btext-decoration%3Anone%7D%23yddMiddle%7Bdisplay%3Ablock%3Bmargin-bottom%3A10px%7D.ydd-tabs%7Bdisplay%3Ablock%3Bmargin%3A5px%200%3Bpadding%3A0%205px%3Bheight%3A18px%3Bborder-bottom%3A1px%20solid%7D.ydd-tab%7Bdisplay%3Ablock%3Bfloat%3Aleft%3Bheight%3A18px%3Bmargin%3A0%205px%20-1px%200%3Bpadding%3A0%204px%3Bline-height%3A18px%3Bborder%3A1px%20solid%3Bborder-bottom%3Anone%7D.ydd-trans-container%7Bdisplay%3Ablock%3Bline-height%3A160%25%7D.ydd-trans-container%20a%7Btext-decoration%3Anone%3B%7D%23yddBottom%7Bposition%3Aabsolute%3Bbottom%3A0%3Bleft%3A0%3Bwidth%3A100%25%3Bheight%3A22px%3Bline-height%3A22px%3Boverflow%3Ahidden%3Bbackground-position%3Aleft%20-22px%7D.ydd-padding010%7Bpadding%3A0%2010px%7D%23yddWrapper%7Bcolor%3A%23252525%3Bz-index%3A10001%3Bbackground%3Aurl%28chrome-extension%3A%2F%2Feopjamdnofihpioajgfdikhhbobonhbb%2Fab20.png%29%3B%7D%23yddContainer%7Bbackground%3A%23fff%3Bborder-color%3A%234b7598%7D%23yddTopBorderlr%7Bborder-color%3A%23f0f8fc%7D%23yddWrapper%20.ydd-sp%7Bbackground-image%3Aurl%28chrome-extension%3A%2F%2Feopjamdnofihpioajgfdikhhbobonhbb%2Fydd-sprite.png%29%7D%23yddWrapper%20a%2C%23yddWrapper%20a%3Ahover%2C%23yddWrapper%20a%3Avisited%7Bcolor%3A%2350799b%7D%23yddWrapper%20.ydd-tabs%7Bcolor%3A%23959595%7D.ydd-tabs%2C.ydd-tab%7Bbackground%3A%23fff%3Bborder-color%3A%23d5e7f3%7D%23yddBottom%7Bcolor%3A%23363636%7D%23yddWrapper%7Bmin-width%3A250px%3Bmax-width%3A400px%3B%7D%3C%2Fstyle%3E%3C%2Fsvg%3E",supportChains:[s.MAINNET,s.BSC],link:"https://www.bnbchain.world/en/binance-wallet",supportMobile:!1,disabled:function(){return!window.BinanceChain},connector:function(t,e){return w(window.BinanceChain,e)}},X={type:c.kuCoinWallet,showName:"KuCoin Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_5313_179352%29%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M16.0028%2026.7602L5.24537%2016.0028L16.0028%205.24537L26.7602%2016.0028L16.0028%2026.7602ZM16.0028%2013.0046C14.3521%2013.0046%2013.0046%2014.3465%2013.0046%2016.0028C13.0046%2017.6591%2014.3465%2019.001%2016.0028%2019.001C17.6591%2019.001%2019.001%2017.6591%2019.001%2016.0028C19.001%2014.3465%2017.6591%2013.0046%2016.0028%2013.0046ZM0.635845%2014.4644C-0.211948%2015.3122%20-0.211948%2016.6934%200.635845%2017.5356L14.4644%2031.3642C15.3122%2032.2119%2016.6934%2032.2119%2017.5356%2031.3642L31.3642%2017.5356C32.2119%2016.6878%2032.2119%2015.3066%2031.3642%2014.4644L17.5356%200.635845C16.6878%20-0.211948%2015.3066%20-0.211948%2014.4644%200.635845L0.635845%2014.4644Z%22%20fill%3D%22%2328CD96%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_5313_179352%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportMobile:!0,disabled:function(){return!window.kucoin},connector:function(t,e){return w(window.kucoin,e)},switchChain:v,link:"https://kuwallet.com/"},Q={type:c.frontier,showName:"Frontier",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M32%2016C32%207.16344%2024.8366%200%2016%200C7.16344%200%200%207.16344%200%2016C0%2024.8366%207.16344%2032%2016%2032C24.8366%2032%2032%2024.8366%2032%2016Z%22%20fill%3D%22%23CC703C%22%2F%3E%3Cpath%20d%3D%22M23.3502%208L23.2615%208.23476L22.971%208.9853L22.778%209.46909C21.3121%2013.0968%2020.1721%2014.8183%2018.9598%2014.8183C18.6535%2014.8264%2018.3488%2014.7706%2018.0652%2014.6546C17.7816%2014.5385%2017.5253%2014.3646%2017.3127%2014.1441L17.158%2014.0038C16.773%2013.6485%2016.611%2013.5609%2016.2402%2013.5609C16.0472%2013.5609%2015.7015%2013.807%2015.2647%2014.3853C14.6796%2015.214%2014.182%2016.1012%2013.7801%2017.0326L13.7308%2017.1418H18.9308L18.2832%2018.4879H13.428V24H12V8H23.3502ZM21.3268%209.34359H13.428V14.6751C14.3744%2013.0338%2015.2741%2012.2099%2016.2417%2012.2099C16.5671%2012.1995%2016.8911%2012.2568%2017.1932%2012.3781C17.4953%2012.4994%2017.7689%2012.6821%2017.9966%2012.9147L18.1562%2013.0594C18.5156%2013.3911%2018.654%2013.4674%2018.9612%2013.4674C19.2991%2013.4679%2020.1977%2012.0406%2021.3268%209.34359Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E",link:"https://www.frontier.xyz/download",disabled:function(){var t;return!(null===(t=window.frontier)||void 0===t?void 0:t.ethereum)},connector:function(t,e){var n;return w(null===(n=window.frontier)||void 0===n?void 0:n.ethereum,e)}},J={type:c.LedgerUSB,showName:"Ledger",logo:"data:image/svg+xml,%3Csvg%20width%3D%22146%22%20height%3D%22128%22%20viewBox%3D%220%200%20146%20128%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M90.262%20119.94V127.998H145.57V91.6548H137.511V119.94H90.262ZM90.262%200V8.05844H137.511V36.3452H145.57V0H90.262ZM63.4464%2036.3452H55.3879V91.6529H91.7332V84.3842H63.4464V36.3452ZM0%2091.6548V128H55.3076V119.94H8.05844V91.6548H0ZM0%200V36.3452H8.05844V8.05844H55.3076V0H0Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E",supportChains:[s.MAINNET,s.BSC,s.POLYGON],disabled:function(){return!F()},connector:function(t){return C(void 0,void 0,void 0,(function(){var e;return u(this,(function(n){switch(n.label){case 0:return F()&&t?[4,V()]:[3,2];case 1:return e=n.sent().default(t),[3,3];case 2:e=void 0,n.label=3;case 3:return[2,e]}}))}))}},tt={type:c.openBlock,showName:"OpenBlock",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M22.4526%204.41003C27.117%204.41003%2030.8983%208.19129%2030.8983%2012.8557V13.0548L27.9485%2016.0021L30.8983%2018.9466V19.1486C30.8983%2023.813%2027.117%2027.5943%2022.4526%2027.5943H1.08997L7.91802%2022.6262H19.3062C22.9645%2022.6262%2025.9302%2019.6605%2025.9302%2016.0021C25.9302%2012.3438%2022.9645%209.37809%2019.3062%209.37809H7.91802L1.08997%204.41003H22.4526ZM9.50802%2013.1867C7.95322%2013.1867%206.69279%2014.4472%206.69279%2016.002C6.69279%2017.5568%207.95319%2018.8172%209.50802%2018.8172H19.316C20.8708%2018.8172%2022.1312%2017.5568%2022.1312%2016.002C22.1312%2014.4472%2020.8708%2013.1867%2019.316%2013.1867H9.50802Z%22%20fill%3D%22%234A3DE6%22%2F%3E%3C%2Fsvg%3E",supportChains:[s.MAINNET,s.GOERLI,s.BSC,s.POLYGON,s.HECO,s.ARBITRUM_ONE,s.OKCHAIN,s.OPTIMISM,s.AVALANCHE],disabled:function(){return!window.openblock},connector:function(t,e){return w(window.openblock,e)},switchChain:v},et={type:c.OneKey,showName:"OneKey",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_3105_80246%29%22%3E%3Cpath%20d%3D%22M32%2016C32%2027.0458%2027.0458%2032%2016%2032C4.95431%2032%200%2027.0458%200%2016C0%204.95431%204.95431%200%2016%200C27.0458%200%2032%204.95431%2032%2016Z%22%20fill%3D%22%2344D62C%22%2F%3E%3Cpath%20d%3D%22M17.4456%206.78467H12.9945L12.2136%209.14578H14.6858V14.1196H17.4456V6.78467Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.0764%2020.1391C21.0764%2022.9426%2018.8035%2025.2153%2016%2025.2153C13.1964%2025.2153%2010.9238%2022.9426%2010.9238%2020.1391C10.9238%2017.3355%2013.1964%2015.0629%2016%2015.0629C18.8035%2015.0629%2021.0764%2017.3355%2021.0764%2020.1391ZM18.7718%2020.1391C18.7718%2021.67%2017.5309%2022.9109%2016%2022.9109C14.4693%2022.9109%2013.2284%2021.67%2013.2284%2020.1391C13.2284%2018.6084%2014.4693%2017.3673%2016%2017.3673C17.5309%2017.3673%2018.7718%2018.6084%2018.7718%2020.1391Z%22%20fill%3D%22black%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_3105_80246%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",link:"https://onekey.so",supportMobile:!0,disabled:function(){var t;return!(null===(t=window.$onekey)||void 0===t?void 0:t.ethereum)&&!window.onekey},connector:function(t,e){var n;return w((null===(n=window.$onekey)||void 0===n?void 0:n.ethereum)||window.onekey,e)},switchChain:v},nt={type:c.Bitkeep,showName:"Bitkeep",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M32%2016C32%207.16344%2024.8366%200%2016%200C7.16344%200%200%207.16344%200%2016C0%2024.8366%207.16344%2032%2016%2032C24.8366%2032%2032%2024.8366%2032%2016Z%22%20fill%3D%22%237524F9%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M25.5%2011.4007V12.4551C25.5003%2012.5571%2025.4733%2012.6573%2025.4218%2012.7457C25.3703%2012.834%2025.2963%2012.9074%2025.207%2012.9584L21.7727%2014.92L24.8408%2016.6677C25.0413%2016.7824%2025.2078%2016.9473%2025.3235%2017.1459C25.4393%2017.3445%2025.5003%2017.5698%2025.5%2017.799V20.6106C25.5003%2020.84%2025.4395%2021.0654%2025.3238%2021.2642C25.208%2021.4629%2025.0415%2021.6279%2024.8408%2021.7426L16.7717%2026.325C16.5713%2026.4398%2016.344%2026.5%2016.1126%2026.5C15.8811%2026.5%2015.6538%2026.4398%2015.4534%2026.325L12.813%2024.8153C12.7684%2024.7898%2012.7314%2024.7532%2012.7057%2024.7091C12.68%2024.665%2012.6664%2024.6149%2012.6664%2024.564C12.6664%2024.513%2012.68%2024.463%2012.7057%2024.4189C12.7314%2024.3748%2012.7684%2024.3382%2012.813%2024.3127L21.5288%2019.3459C21.551%2019.3331%2021.5694%2019.3148%2021.5823%2019.2928C21.5951%2019.2708%2021.6018%2019.2458%2021.6018%2019.2204C21.6018%2019.195%2021.5951%2019.1701%2021.5823%2019.148C21.5694%2019.126%2021.551%2019.1077%2021.5288%2019.0949L18.293%2017.2443C18.2039%2017.1933%2018.1029%2017.1665%2018%2017.1665C17.8972%2017.1665%2017.7961%2017.1933%2017.707%2017.2443L8.85425%2022.2931C8.78745%2022.3313%208.71168%2022.3514%208.63453%2022.3514C8.55738%2022.3514%208.4816%2022.3313%208.4148%2022.2931L7.4121%2021.7252C7.2106%2021.6107%207.04323%2021.4455%206.92695%2021.2463C6.81068%2021.0471%206.74963%2020.8211%206.75%2020.591V19.4416C6.74995%2019.3652%206.77023%2019.2901%206.8088%2019.2239C6.84738%2019.1577%206.90288%2019.1027%206.96973%2019.0645L19.6626%2011.8423C19.6848%2011.8296%2019.7032%2011.8113%2019.716%2011.7893C19.7289%2011.7672%2019.7356%2011.7423%2019.7356%2011.7169C19.7356%2011.6915%2019.7289%2011.6665%2019.716%2011.6445C19.7032%2011.6224%2019.6848%2011.6042%2019.6626%2011.5914L16.4216%209.73417C16.3326%209.68327%2016.2315%209.65645%2016.1287%209.65645C16.0258%209.65645%2015.9248%209.68327%2015.8357%209.73417L7.18945%2014.6575C7.14495%2014.683%207.09445%2014.6963%207.04305%2014.6964C6.99165%2014.6964%206.94115%2014.683%206.89663%2014.6576C6.8521%2014.6321%206.8151%2014.5956%206.78938%2014.5515C6.76363%2014.5075%206.75005%2014.4575%206.75%2014.4066V11.3869C6.74973%2011.1575%206.8105%2010.9321%206.92623%2010.7333C7.04195%2010.5346%207.20853%2010.3696%207.40918%2010.2549L15.4768%205.67385C15.6768%205.55995%2015.9035%205.5%2016.1342%205.5C16.3649%205.5%2016.5915%205.55995%2016.7915%205.67385L24.8408%2010.2708C25.0413%2010.3854%2025.2075%2010.55%2025.3233%2010.7484C25.439%2010.9467%2025.5%2011.1716%2025.5%2011.4007Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E",link:"https://bitkeep.com/download?type=2",mobileDeepLink:"https://bkcode.vip?action=dapp&url=$APP_URL",supportMobile:!0,disabled:function(){var t;return!(null===(t=window.bitkeep)||void 0===t?void 0:t.ethereum)},connector:function(t,e){var n;return w(null===(n=window.bitkeep)||void 0===n?void 0:n.ethereum,e)},switchChain:v},it={type:c.Nabox,showName:"Nabox",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M2%208.98682V23.8908L6.31535%2026.3785V15.717L10.6153%2018.2006V28.8551L14.932%2031.3428V16.4374L2%208.98682Z%22%20fill%3D%22%232AC98B%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M11.8024%207.62299L16.1261%205.089L21.4983%208.23266L17.1773%2010.7554L11.8024%207.62299ZM16.1317%200L3.09741%207.62579L17.1535%2015.8669V32L21.417%2029.5165V13.1955L25.7253%2010.6727V26.9797L30.0519%2024.4331V8.14436L16.1317%200Z%22%20fill%3D%22%232AC98B%22%2F%3E%3C%2Fsvg%3E",link:"https://nabox.io/",supportMobile:!0,disabled:function(){return!window.NaboxWallet},connector:function(t,e){return w(window.NaboxWallet,e)},switchChain:v},ot={type:c.OKX,showName:"OKX Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_1443_44689%29%22%3E%3Cpath%20d%3D%22M21%200H11C4.92487%200%200%204.92487%200%2011V21C0%2027.0751%204.92487%2032%2011%2032H21C27.0751%2032%2032%2027.0751%2032%2021V11C32%204.92487%2027.0751%200%2021%200Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.6063%206.99255H7.39351C7.17207%206.99255%206.99255%207.17207%206.99255%207.39351V12.6063C6.99255%2012.8278%207.17207%2013.0073%207.39351%2013.0073H12.6063C12.8278%2013.0073%2013.0073%2012.8278%2013.0073%2012.6063V7.39351C13.0073%207.17207%2012.8278%206.99255%2012.6063%206.99255ZM18.6237%2013.0073H13.4109C13.1895%2013.0073%2013.0099%2013.1869%2013.0099%2013.4083V18.6211C13.0099%2018.8426%2013.1895%2019.0221%2013.4109%2019.0221H18.6237C18.8452%2019.0221%2019.0247%2018.8426%2019.0247%2018.6211V13.4083C19.0247%2013.1869%2018.8452%2013.0073%2018.6237%2013.0073ZM19.4231%206.99255H24.6359C24.8574%206.99255%2025.0369%207.17207%2025.0369%207.39351V12.6063C25.0369%2012.8278%2024.8574%2013.0073%2024.6359%2013.0073H19.4231C19.2016%2013.0073%2019.0221%2012.8278%2019.0221%2012.6063V7.39351C19.0221%207.17207%2019.2016%206.99255%2019.4231%206.99255ZM12.6063%2019.0221H7.39351C7.17207%2019.0221%206.99255%2019.2016%206.99255%2019.4231V24.6359C6.99255%2024.8574%207.17207%2025.0369%207.39351%2025.0369H12.6063C12.8278%2025.0369%2013.0073%2024.8574%2013.0073%2024.6359V19.4231C13.0073%2019.2016%2012.8278%2019.0221%2012.6063%2019.0221ZM19.4231%2019.0221H24.6359C24.8574%2019.0221%2025.0369%2019.2016%2025.0369%2019.4231V24.6359C25.0369%2024.8574%2024.8574%2025.0369%2024.6359%2025.0369H19.4231C19.2016%2025.0369%2019.0221%2024.8574%2019.0221%2024.6359V19.4231C19.0221%2019.2016%2019.2016%2019.0221%2019.4231%2019.0221Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_1443_44689%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportMobile:!1,link:"https://www.okx.com/",disabled:function(){return!window.okxwallet},connector:function(t,e){return w(window.okxwallet,e)},switchChain:v},rt={type:c.WalletConnect,showName:"WalletConnect",logo:"data:image/svg+xml,%3Csvg%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3CradialGradient%20id%3D%22a%22%20cx%3D%220%25%22%20cy%3D%2250%25%22%20r%3D%22100%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%235d9df6%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23006fff%22%2F%3E%3C%2FradialGradient%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22m256%200c141.384896%200%20256%20114.615104%20256%20256s-114.615104%20256-256%20256-256-114.615104-256-256%20114.615104-256%20256-256z%22%20fill%3D%22url%28%23a%29%22%2F%3E%3Cpath%20d%3D%22m64.6917558%2037.7088298c51.5328072-50.2784397%20135.0839942-50.2784397%20186.6167992%200l6.202057%206.0510906c2.57664%202.5139218%202.57664%206.5897948%200%209.1037177l-21.215998%2020.6995759c-1.288321%201.2569619-3.3771%201.2569619-4.665421%200l-8.534766-8.3270205c-35.950573-35.0754962-94.237969-35.0754962-130.188544%200l-9.1400282%208.9175519c-1.2883217%201.2569609-3.3771016%201.2569609-4.6654208%200l-21.2159973-20.6995759c-2.5766403-2.5139229-2.5766403-6.5897958%200-9.1037177zm230.4934852%2042.8089117%2018.882279%2018.4227262c2.576627%202.5139103%202.576642%206.5897593.000032%209.1036863l-85.141498%2083.070358c-2.576623%202.513941-6.754182%202.513969-9.33084.000066-.00001-.00001-.000023-.000023-.000033-.000034l-60.428256-58.957451c-.64416-.628481-1.68855-.628481-2.33271%200-.000004.000004-.000008.000007-.000012.000011l-60.4269683%2058.957408c-2.5766141%202.513947-6.7541746%202.51399-9.3308408.000092-.0000151-.000014-.0000309-.000029-.0000467-.000046l-85.14386774-83.071463c-2.57663928-2.513921-2.57663928-6.589795%200-9.1037163l18.88231264-18.4226955c2.5766393-2.5139222%206.7541993-2.5139222%209.3308397%200l60.4291347%2058.9582758c.6441608.62848%201.6885495.62848%202.3327103%200%20.0000095-.000009.0000182-.000018.0000277-.000025l60.4261065-58.9582508c2.576581-2.51398%206.754142-2.5140743%209.33084-.0002103.000037.0000354.000072.0000709.000107.0001063l60.429056%2058.9583548c.644159.628479%201.688549.628479%202.332709%200l60.428079-58.9571925c2.57664-2.5139231%206.754199-2.5139231%209.330839%200z%22%20fill%3D%22%23fff%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%2898%20160%29%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E",supportMobile:!0,connector:function(t,e){return z(t,e)}},at={type:c.Portis,showName:"Portis",logo:"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20301.38%20455.87%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m4.45%20262.11%2010.93-4.75%20135.31-58.82%20146.24%2063.57-54.95%20113.43-134.33%2019-101-109z%22%20fill%3D%22%23133444%22%2F%3E%3Cpath%20d%3D%22m266.51%20192.16a150.43%20150.43%200%200%200%20-95.82-53q-1.2-.17-2.4-.3a152.36%20152.36%200%200%200%20-35.2%200q-1.2.14-2.4.3a150.43%20150.43%200%200%200%20-95.82%2053l-6.08%2010.08-10.13%2016.76-7.41%2012.31c-.14.33-.28.67-.41%201l-.09.23%2016.35%209.67%20103.6%2061.28%2020%2011.83v-146.47l-20%209.08v-21.93l20-9.09%2020%209.09%20101.9%2046.28z%22%20fill%3D%22%23c42370%22%2F%3E%3Cpath%20d%3D%22m301.38%20298.56c0%2048.78-23.18%2094.42-59.12%20123.84a149.45%20149.45%200%200%201%20-47.64%2026.37%20139.51%20139.51%200%200%201%20-43.93%207.1c-83.22%200-150.69-74.09-150.69-157.31a150.49%20150.49%200%200%201%204.45-36.45l146.24%2086.51%20146.24-86.51a150.49%20150.49%200%200%201%204.45%2036.45z%22%20fill%3D%22%231c4d6b%22%2F%3E%3Cpath%20d%3D%22m133.09%20138.89%2017.6%207.99-20%209.09v-18.17z%22%2F%3E%3Cpath%20d%3D%22m130.69%20177.93%2020-9.08v146.53l-20-11.83z%22%2F%3E%3Cpath%20d%3D%22m150.69%20168.85v146.53l140.13-82.89z%22%20fill%3D%22%231d4259%22%2F%3E%3Cpath%20d%3D%22m150.69%200v168.85l140.13%2063.64z%22%20fill%3D%22%234b6b9a%22%2F%3E%3Cpath%20d%3D%22m150.69%20168.85v146.53l-20-11.83-119.95-71-.18-.11.27-.12c.13-.33.27-.67.41-1l17.53-29.09%20101.92-46.23v22z%22%20fill%3D%22%23343535%22%2F%3E%3Cpath%20d%3D%22m150.69%20168.85v146.53l-20-11.83-119.95-70.95-.18-.11.27-.12%20119.86-54.44z%22%20fill%3D%22%233e5578%22%2F%3E%3Cpath%20d%3D%22m150.69%200v168.85l-140.13%2063.64z%22%20fill%3D%22%236db2d8%22%2F%3E%3Cg%20fill%3D%22%23335f8a%22%3E%3Cpath%20d%3D%22m94%20443.85c2.09.92%204.21%201.79%206.34%202.61q-3.26-1.23-6.34-2.61z%22%2F%3E%3Cpath%20d%3D%22m100.29%20446.46c2.14.82%204.29%201.59%206.47%202.31q-3.27-1.07-6.47-2.31z%22%2F%3E%3Cpath%20d%3D%22m112.33%20450.49c1.66.47%203.33.92%205%201.33q-2.51-.62-5-1.33z%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22m4.45%20262.11%20146.24%2086.51a167.48%20167.48%200%200%201%20-10.47%2038.38c-11.7%2028.28-35.34%2058.19-81.08%2035.44-35.96-29.44-59.14-75.1-59.14-123.88a150.49%20150.49%200%200%201%204.45-36.45z%22%20fill%3D%22%236db2d8%22%2F%3E%3Cpath%20d%3D%22m242.24%20422.41-.36.29c-.76.62-1.52%201.23-2.29%201.83l-.2.16q-1.25%201-2.52%201.92c-.91.68-1.83%201.36-2.76%202s-1.86%201.31-2.8%201.95-1.66%201.12-2.49%201.66l-.46.3c-.88.57-1.76%201.13-2.64%201.67a2.63%202.63%200%200%201%20-.33.2c-.91.57-1.82%201.12-2.74%201.65s-2%201.15-3%201.7-2%201.08-3%201.6l-.11.06c-1%20.52-2%201-3%201.52s-2%201-3.08%201.49-2.08%201-3.12%201.42c-2.09.92-4.21%201.79-6.34%202.61s-4.29%201.59-6.47%202.31c-.87.29-1.74.57-2.62.84s-2%20.6-2.95.88c-1.66.47-3.33.92-5%201.33-.63.16-1.27.31-1.91.45l-1.07.25c-.89.2-1.78.39-2.68.57s-1.64.33-2.47.48-1.51.28-2.27.4-1.68.27-2.52.39c-.41.07-.82.13-1.24.18l-1.89.25-1.05.13c-.69.09-1.39.16-2.09.23-.86.09-1.71.17-2.57.24-.67.05-1.34.11-2%20.15s-1.16.08-1.75.1h-.08c-.68%200-1.36.08-2%20.1-.94%200-1.89.07-2.84.09s-1.9%200-2.86%200-1.91%200-2.86%200-1.9%200-2.84-.09c-.69%200-1.37-.06-2.05-.1h-.08c-.59%200-1.17-.06-1.75-.1s-1.34-.1-2-.15c-.86-.07-1.71-.15-2.57-.24-.7-.07-1.4-.14-2.09-.23l-1-.13c-.63-.07-1.26-.16-1.89-.25-.42%200-.83-.11-1.24-.18q-1.27-.18-2.52-.39c-.76-.12-1.52-.26-2.27-.4s-1.65-.31-2.47-.48-1.79-.37-2.68-.57l-1.07-.25c-.64-.14-1.28-.29-1.91-.45-1.68-.41-3.35-.86-5-1.33l-3-.88c-.88-.27-1.75-.55-2.62-.84-2.18-.72-4.33-1.49-6.47-2.31s-4.29-1.67-6.29-2.59c-1-.46-2.08-.94-3.12-1.42s-2.06-1-3.08-1.49-2-1-3-1.52l-.11-.06c-1-.52-2-1.06-3-1.6s-2-1.12-3-1.7-1.79-1.06-2.69-1.65l-.33-.2c-.88-.54-1.76-1.1-2.64-1.67l-.46-.3c-.83-.54-1.67-1.1-2.49-1.66s-1.88-1.29-2.8-1.95-1.85-1.34-2.76-2-1.69-1.27-2.52-1.92l-.2-.16c-.77-.6-1.53-1.21-2.29-1.83l-.36-.29c45.74%2022.75%2069.38-7.16%2081.08-35.44a167.48%20167.48%200%200%200%2010.47-38.35%20167.47%20167.47%200%200%200%2010.46%2038.36c11.7%2028.25%2035.34%2058.16%2081.08%2035.41z%22%20fill%3D%22%23529bba%22%2F%3E%3Cpath%20d%3D%22m184%20451.82c1.68-.41%203.35-.86%205-1.33q-2.44.72-5%201.33z%22%20fill%3D%22%23335f8a%22%2F%3E%3Cpath%20d%3D%22m194.62%20448.77c2.18-.72%204.33-1.49%206.47-2.31q-3.19%201.24-6.47%202.31z%22%20fill%3D%22%23335f8a%22%2F%3E%3Cpath%20d%3D%22m201.09%20446.46c2.13-.82%204.25-1.69%206.34-2.61q-3.13%201.38-6.34%202.61z%22%20fill%3D%22%23335f8a%22%2F%3E%3Cpath%20d%3D%22m301.38%20298.56c0%2048.78-23.19%2094.43-59.14%20123.85-45.74%2022.75-69.38-7.16-81.08-35.44a167.47%20167.47%200%200%201%20-10.47-38.35l146.24-86.51a150.49%20150.49%200%200%201%204.45%2036.45z%22%20fill%3D%22%234b6b9a%22%2F%3E%3C%2Fsvg%3E",supportChains:[s.MAINNET,s.GOERLI],checked:function(t){return!!t.PORTIS_ID},connector:function(t,e){return I(t,e)}},lt={type:c.Gnosis,showName:"Gnosis",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_2721_64477%29%22%3E%3Cmask%20id%3D%22mask0_2721_64477%22%20style%3D%22mask-type%3Aluminance%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2232%22%20height%3D%2232%22%3E%3Cpath%20d%3D%22M16%2032C24.8366%2032%2032%2024.8366%2032%2016C32%207.16344%2024.8366%200%2016%200C7.16344%200%200%207.16344%200%2016C0%2024.8366%207.16344%2032%2016%2032Z%22%20fill%3D%22white%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url%28%23mask0_2721_64477%29%22%3E%3Cpath%20d%3D%22M32.064%20-2.60797H-1.53601V34.288H32.064V-2.60797Z%22%20fill%3D%22url%28%23paint0_linear_2721_64477%29%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M24.9623%2015.994H22.7763C22.1235%2015.994%2021.5946%2016.5233%2021.5946%2017.1757V20.3482C21.5946%2021.001%2021.0653%2021.53%2020.4128%2021.53H11.7162C11.0634%2021.53%2010.5344%2022.0593%2010.5344%2022.7117V24.8977C10.5344%2025.5505%2011.0637%2026.0794%2011.7162%2026.0794H20.9162C21.569%2026.0794%2022.0909%2025.5501%2022.0909%2024.8977V23.1441C22.0909%2022.4913%2022.6202%2022.0279%2023.2727%2022.0279H24.9623C25.6151%2022.0279%2026.144%2021.4986%2026.144%2020.8461V17.1617C26.144%2016.5089%2025.6147%2015.9937%2024.9623%2015.9937V15.994Z%22%20fill%3D%22%23121312%22%2F%3E%3Cpath%20d%3D%22M10.5338%2011.6515C10.5338%2010.9987%2011.0631%2010.4698%2011.7156%2010.4698H20.4068C21.0596%2010.4698%2021.5885%209.94051%2021.5885%209.28803V7.10211C21.5885%206.44931%2021.0593%205.92035%2020.4068%205.92035H11.2119C10.5591%205.92035%2010.0301%206.44963%2010.0301%207.10211V8.78627C10.0301%209.43907%209.50086%209.96803%208.84838%209.96803H7.16614C6.51334%209.96803%205.98438%2010.4973%205.98438%2011.1498V14.8381C5.98438%2015.4909%206.51558%2015.9933%207.16838%2015.9933H9.3543C10.0071%2015.9933%2010.5361%2015.464%2010.5361%2014.8115L10.5341%2011.6519L10.5338%2011.6515Z%22%20fill%3D%22%23121312%22%2F%3E%3Cpath%20d%3D%22M15.0352%2013.6964H17.1351C17.8192%2013.6964%2018.3747%2014.2519%2018.3747%2014.936V17.0359C18.3747%2017.72%2017.8192%2018.2755%2017.1351%2018.2755H15.0352C14.3511%2018.2755%2013.7955%2017.72%2013.7955%2017.0359V14.936C13.7955%2014.2519%2014.3511%2013.6964%2015.0352%2013.6964Z%22%20fill%3D%22%23121312%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_2721_64477%22%20x1%3D%22-0.47809%22%20y1%3D%2229.2685%22%20x2%3D%2237.0896%22%20y2%3D%22-2.77789%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2312FF80%22%2F%3E%3Cstop%20offset%3D%220.13%22%20stop-color%3D%22%2315FD85%22%2F%3E%3Cstop%20offset%3D%220.29%22%20stop-color%3D%22%231FF896%22%2F%3E%3Cstop%20offset%3D%220.49%22%20stop-color%3D%22%2330F1B2%22%2F%3E%3Cstop%20offset%3D%220.69%22%20stop-color%3D%22%2348E7D9%22%2F%3E%3Cstop%20offset%3D%220.87%22%20stop-color%3D%22%235FDDFF%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22clip0_2721_64477%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportChains:[s.MAINNET,s.GOERLI,s.BSC,s.POLYGON,s.ARBITRUM_ONE,s.AURORA,s.AVALANCHE,s.OPTIMISM],link:"https://app.safe.global/welcome",disabled:function(){return C(void 0,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return[4,N()];case 1:return[4,t.sent().getIsSafe()];case 2:return[2,!t.sent()]}}))}))},connector:function(t,e){return C(void 0,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return[4,N()];case 1:return[2,t.sent().default(e)]}}))}))}},st={type:c.uAuth,showName:"Unstoppable",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M32%202.47278V13.3668L0%2026.2392L32%202.47278Z%22%20fill%3D%22%2300C9FF%22%2F%3E%3Cpath%20d%3D%22M26.001%202V20.7929C26.001%2023.4191%2024.9474%2025.9378%2023.0719%2027.7948C21.1964%2029.6519%2018.6527%2030.6951%2016.0004%2030.6951C13.3481%2030.6951%2010.8044%2029.6519%208.92887%2027.7948C7.05339%2025.9378%205.99976%2023.4191%205.99976%2020.7929V12.8741L11.9991%209.60487V20.7929C11.943%2021.2811%2011.9916%2021.7757%2012.1418%2022.244C12.2922%2022.7124%2012.5406%2023.144%2012.8711%2023.5107C13.2016%2023.8773%2013.6066%2024.1707%2014.0596%2024.3715C14.5126%2024.5724%2015.0033%2024.6763%2015.4996%2024.6763C15.9959%2024.6763%2016.4866%2024.5724%2016.9396%2024.3715C17.3925%2024.1707%2017.7976%2023.8773%2018.128%2023.5107C18.4585%2023.144%2018.7071%2022.7124%2018.8573%2022.244C19.0076%2021.7757%2019.0563%2021.2811%2019%2020.7929V5.79246L26.001%202Z%22%20fill%3D%22%230D67FE%22%2F%3E%3C%2Fsvg%3E",connector:function(t,e){return C(void 0,void 0,void 0,(function(){var n;return u(this,(function(i){switch(i.label){case 0:return[4,O()];case 1:return[2,i.sent().default(d(d({},t),{uAuthParams:d(d({walletConnect:function(){return rt.connector?rt.connector(t,e):Promise.resolve(void 0)}},t.uAuthParams),{clientID:null===(n=t.uAuthParams)||void 0===n?void 0:n.clientID})}),e)]}}))}))},disconnect:function(){return C(void 0,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return[4,O()];case 1:return[4,(0,t.sent().disconnectWallet)()];case 2:return t.sent(),[2]}}))}))}},ct=Object.freeze({__proto__:null,WalletLink:$,BSC:Y,KuCoin:X,Frontier:Q,Ledger:J,OpenBlock:tt,OneKey:et,Bitkeep:nt,Nabox:it,OKXWallet:ot,WalletConnect:rt,Portis:at,Gnosis:lt,UAuth:st}),dt={type:c.injected,showName:"MetaMask",link:"https://metamask.io",logo:"data:image/svg+xml,%3Csvg%20height%3D%22355%22%20viewBox%3D%220%200%20397%20355%22%20width%3D%22397%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20transform%3D%22translate%28-1%20-1%29%22%3E%3Cpath%20d%3D%22m114.622644%20327.195472%2052.004717%2013.810198v-18.05949l4.245283-4.249292h29.716982v21.246459%2014.872523h-31.839624l-39.268868-16.997169z%22%20fill%3D%22%23cdbdb2%22%2F%3E%3Cpath%20d%3D%22m199.528305%20327.195472%2050.943397%2013.810198v-18.05949l4.245283-4.249292h29.716981v21.246459%2014.872523h-31.839623l-39.268868-16.997169z%22%20fill%3D%22%23cdbdb2%22%20transform%3D%22matrix%28-1%200%200%201%20483.96227%200%29%22%2F%3E%3Cpath%20d%3D%22m170.872644%20287.889523-4.245283%2035.056657%205.306604-4.249292h55.18868l6.367925%204.249292-4.245284-35.056657-8.490565-5.311615-42.452832%201.062323z%22%20fill%3D%22%23393939%22%2F%3E%3Cpath%20d%3D%22m142.216984%2050.9915022%2025.471698%2059.4900858%2011.674528%20173.158643h41.391511l12.735849-173.158643%2023.349056-59.4900858z%22%20fill%3D%22%23f89c35%22%2F%3E%3Cpath%20d%3D%22m30.7783023%20181.657226-29.71698153%2086.048161%2074.29245393-4.249293h47.7594343v-37.181303l-2.122641-76.487253-10.613208%208.498583z%22%20fill%3D%22%23f89d35%22%2F%3E%3Cpath%20d%3D%22m87.0283032%20191.218134%2087.0283028%202.124646-9.551886%2044.617563-41.391511-10.623229z%22%20fill%3D%22%23d87c30%22%2F%3E%3Cpath%20d%3D%22m87.0283032%20192.280457%2036.0849058%2033.994334v33.994334z%22%20fill%3D%22%23ea8d3a%22%2F%3E%3Cpath%20d%3D%22m123.113209%20227.337114%2042.452831%2010.623229%2013.79717%2045.679888-9.551886%205.311615-46.698115-27.620398z%22%20fill%3D%22%23f89d35%22%2F%3E%3Cpath%20d%3D%22m123.113209%20261.331448-8.490565%2065.864024%2056.25-39.305949z%22%20fill%3D%22%23eb8f35%22%2F%3E%3Cpath%20d%3D%22m174.056606%20193.34278%205.306604%2090.297451-15.919812-46.211049z%22%20fill%3D%22%23ea8e3a%22%2F%3E%3Cpath%20d%3D%22m74.2924539%20262.393771%2048.8207551-1.062323-8.490565%2065.864024z%22%20fill%3D%22%23d87c30%22%2F%3E%3Cpath%20d%3D%22m24.4103777%20355.878193%2090.2122663-28.682721-40.3301901-64.801701-73.23113313%205.311616z%22%20fill%3D%22%23eb8f35%22%2F%3E%3Cpath%20d%3D%22m167.688682%20110.481588-45.636793%2038.243627-35.0235858%2042.492919%2087.0283028%203.186969z%22%20fill%3D%22%23e8821e%22%2F%3E%3Cpath%20d%3D%22m114.622644%20327.195472%2056.25-39.305949-4.245283%2033.994334v19.121813l-38.207548-7.43626z%22%20fill%3D%22%23dfcec3%22%2F%3E%3Cpath%20d%3D%22m229.245286%20327.195472%2055.18868-39.305949-4.245283%2033.994334v19.121813l-38.207548-7.43626z%22%20fill%3D%22%23dfcec3%22%20transform%3D%22matrix%28-1%200%200%201%20513.679252%200%29%22%2F%3E%3Cpath%20d%3D%22m132.665096%20212.464593-11.674528%2024.433427%2041.39151-10.623229z%22%20fill%3D%22%23393939%22%20transform%3D%22matrix%28-1%200%200%201%20283.372646%200%29%22%2F%3E%3Cpath%20d%3D%22m23.349057%201.06232296%20144.339625%20109.41926504-24.410378-59.4900858z%22%20fill%3D%22%23e88f35%22%2F%3E%3Cpath%20d%3D%22m23.349057%201.06232296-19.10377392%2058.42776294%2010.61320772%2063.7393781-7.42924541%204.249292%2010.61320771%209.560906-8.49056617%207.436261%2011.67452847%2010.623229-7.4292454%206.373938%2016.9811323%2021.246459%2079.5990577-24.433428c38.915096-31.161473%2058.018869-47.096318%2057.311322-47.804533-.707548-.708215-48.820756-37.1813036-144.339625-109.41926504z%22%20fill%3D%22%238e5a30%22%2F%3E%3Cg%20transform%3D%22matrix%28-1%200%200%201%20399.056611%200%29%22%3E%3Cpath%20d%3D%22m30.7783023%20181.657226-29.71698153%2086.048161%2074.29245393-4.249293h47.7594343v-37.181303l-2.122641-76.487253-10.613208%208.498583z%22%20fill%3D%22%23f89d35%22%2F%3E%3Cpath%20d%3D%22m87.0283032%20191.218134%2087.0283028%202.124646-9.551886%2044.617563-41.391511-10.623229z%22%20fill%3D%22%23d87c30%22%2F%3E%3Cpath%20d%3D%22m87.0283032%20192.280457%2036.0849058%2033.994334v33.994334z%22%20fill%3D%22%23ea8d3a%22%2F%3E%3Cpath%20d%3D%22m123.113209%20227.337114%2042.452831%2010.623229%2013.79717%2045.679888-9.551886%205.311615-46.698115-27.620398z%22%20fill%3D%22%23f89d35%22%2F%3E%3Cpath%20d%3D%22m123.113209%20261.331448-8.490565%2065.864024%2055.18868-38.243626z%22%20fill%3D%22%23eb8f35%22%2F%3E%3Cpath%20d%3D%22m174.056606%20193.34278%205.306604%2090.297451-15.919812-46.211049z%22%20fill%3D%22%23ea8e3a%22%2F%3E%3Cpath%20d%3D%22m74.2924539%20262.393771%2048.8207551-1.062323-8.490565%2065.864024z%22%20fill%3D%22%23d87c30%22%2F%3E%3Cpath%20d%3D%22m24.4103777%20355.878193%2090.2122663-28.682721-40.3301901-64.801701-73.23113313%205.311616z%22%20fill%3D%22%23eb8f35%22%2F%3E%3Cpath%20d%3D%22m167.688682%20110.481588-45.636793%2038.243627-35.0235858%2042.492919%2087.0283028%203.186969z%22%20fill%3D%22%23e8821e%22%2F%3E%3Cpath%20d%3D%22m132.665096%20212.464593-11.674528%2024.433427%2041.39151-10.623229z%22%20fill%3D%22%23393939%22%20transform%3D%22matrix%28-1%200%200%201%20283.372646%200%29%22%2F%3E%3Cpath%20d%3D%22m23.349057%201.06232296%20144.339625%20109.41926504-24.410378-59.4900858z%22%20fill%3D%22%23e88f35%22%2F%3E%3Cpath%20d%3D%22m23.349057%201.06232296-19.10377392%2058.42776294%2010.61320772%2063.7393781-7.42924541%204.249292%2010.61320771%209.560906-8.49056617%207.436261%2011.67452847%2010.623229-7.4292454%206.373938%2016.9811323%2021.246459%2079.5990577-24.433428c38.915096-31.161473%2058.018869-47.096318%2057.311322-47.804533-.707548-.708215-48.820756-37.1813036-144.339625-109.41926504z%22%20fill%3D%22%238e5a30%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E",supportMobile:!0,mobileDeepLink:"https://metamask.app.link/dapp/$host",switchChain:v,disabled:function(){return!window.ethereum}},Ct=Object.values(q),ut=Object.values(ct),pt=h(h([dt],p(Ct),!1),p(ut),!1),ht=d(d({},q),ct),ft=d(d({},tt),{disabled:function(){return!1},type:c.openBlockIframe,connector:H}),Dt=[rt.showName,dt.showName,$.showName];function wt(t){var e,n,i=void 0===t?{}:t,o=i.PORTIS_ID,r=i.chainId,a=i.includes,l=i.excludes,s=i.keysSort,d=i.mobileKeysSort,C=i.showSupportExtensionInjected,u=i.afterHooks,f=x(),D=(!a||a.includes(c.injected))&&(!l||!l.includes(c.injected)),v={PORTIS_ID:o},m=[],g=!1;D&&((n=Ct.find((function(t){if(!t.disabled)throw new Error("injected wallet need checked");return!t.disabled()})))||(n=dt),n.connector=function(t,e){return w(void 0,e)},m.push(n),g=!!n.disabled&&!n.disabled());var E=function(t){return!(null==l?void 0:l.includes(t.type))&&(!(t.checked&&t.type!==c.injected&&!t.checked(v))&&(!(r&&t.supportChains&&!t.supportChains.includes(r))&&!(a&&!a.includes(t.type))))};if(f)if(g)E(rt)&&m.push(rt);else{pt.forEach((function(t){return!(!E(t)||!t.supportMobile||t.showName===(null==n?void 0:n.showName))&&(m.push(t),!0)}));var F=(null!==(e=null!=d?d:s)&&void 0!==e?e:[]).map((function(t){var e=ht[t];if(!e)throw new Error("unknown key ".concat(t));return e.showName})).filter((function(t){return!Dt.includes(t)})),b=h(h([],p(Dt),!1),p(F),!1);m=m.sort((function(t,e){var n=b.indexOf(t.showName),i=b.indexOf(e.showName);return-1===n&&(n=999),-1===i&&(i=999),n-i}))}else{var y=[];if(C&&Ct.forEach((function(t){return!(!t.supportExtension||!E(t)||t.showName===(null==n?void 0:n.showName))&&(y.push(t),!0)})),ut.forEach((function(t){return!!E(t)&&(y.push(t),!0)})),s){var A=s.map((function(t){var e=ht[t];if(!e)throw new Error("unknown key ".concat(t));return e.showName}));y=y.sort((function(t,e){var n=A.indexOf(t.showName),i=A.indexOf(e.showName);return-1===n&&(n=999),-1===i&&(i=999),n-i}))}m=h(h([],p(m),!1),p(y),!1)}return u?u({isMobile:f,PORTIS_ID:o,chainId:r,includes:a,excludes:l,showSupportExtensionInjected:C,hasInjectedWallet:g,walletList:m}):m}function vt(){return C(this,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return"undefined"==typeof window||window.top===window?[3,4]:[4,N()];case 1:return[4,t.sent().getIsSafe()];case 2:return t.sent()?[2,lt]:[4,_()];case 3:if(t.sent())return[2,ft];t.label=4;case 4:return[2,void 0]}}))}))}function mt(){return C(this,void 0,void 0,(function(){var t,e,n,i=this;return u(this,(function(o){switch(o.label){case 0:return t=[],e=[],n=new Set,pt.forEach((function(o){if(o.disabled){var r=o.disabled(),a=o.type===c.injected;"boolean"==typeof r?a&&r?t.push(o.showName):r&&n.add(o.type):e.push((function(){return C(i,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return[4,r];case 1:return t.sent()&&n.add(o.type),[2]}}))}))}))}})),[4,Promise.all(e.map((function(t){return t()})))];case 1:return o.sent(),[2,function(e){return e.type===c.injected?t.includes(e.showName):n.has(e.type)}]}}))}))}var gt=o({chainId:1,account:void 0,accounts:void 0,provider:void 0,walletType:void 0,connectLoading:!1,connected:void 0});a(gt,{name:"dodo-wallet",enabled:!0});var Et,Ft=[{constant:!0,inputs:[],name:"totalSupply",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_to",type:"address"},{name:"_value",type:"uint256"}],name:"transfer",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"guy",type:"address"},{name:"wad",type:"uint256"}],name:"approve",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"_owner",type:"address"}],name:"balanceOf",outputs:[{name:"balance",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"_owner",type:"address"},{name:"_spender",type:"address"}],name:"allowance",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"}];function bt(){var t=gt.provider;if(!t)throw new Error("provider is undefined");return t}!function(t){t[t.Failed=0]="Failed",t[t.Success=1]="Success",t[t.Warning=2]="Warning"}(Et||(Et={}));var yt=function(t){return C(void 0,void 0,void 0,(function(){var e,n,i,o,r,a;return u(this,(function(l){switch(l.label){case 0:e=t.value,n=t.from,i=t.to,o=t.data,r={from:n,to:i,value:e,data:o},e&&!/^0x0*$/.test(e)||delete r.value,a=bt(),l.label=1;case 1:return l.trys.push([1,3,,4]),[4,a.estimateGas(r)];case 2:return[2,l.sent().add(5e4)];case 3:return l.sent(),a.call(t).then((function(t){if("test"!==process.env.NODE_ENV)throw new Error("Unexpected issue with estimating the gas. Please try again.")})).catch((function(t){if("test"!==process.env.NODE_ENV)throw t})),[3,4];case 4:return[2,null]}}))}))},xt=function(){return C(void 0,void 0,void 0,(function(){var t;return u(this,(function(e){switch(e.label){case 0:t=bt(),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,t.getGasPrice()];case 2:return[2,e.sent()];case 3:return e.sent(),t.call({}).then((function(t){throw new Error("Unexpected issue with getting the gas price. Please try again.")})).catch((function(t){throw t})),[3,4];case 4:return[2,null]}}))}))},At=function(t){return C(void 0,void 0,void 0,(function(){var e,n,i,o,r;return u(this,(function(a){switch(a.label){case 0:e=bt(),a.label=1;case 1:return a.trys.push([1,6,,7]),[4,e.getSigner().sendTransaction(t)];case 2:return n=a.sent(),(null===(r=gt.connected)||void 0===r?void 0:r.isSafe)&>.account?[4,N()]:[3,5];case 3:return[4,a.sent().getSafeTxHash(gt.chainId,gt.account,n.hash)];case 4:return i=a.sent(),[2,d(d({},n),{hash:i})];case 5:return[2,n];case 6:throw 4001===(null==(o=a.sent())?void 0:o.code)?new Error("Transaction rejected."):o;case 7:return[2]}}))}))};function Lt(t,o,r){if(!function(t){try{return i(t)}catch(t){return!1}}(t)||t===e)throw Error("Invalid 'address' parameter '".concat(t,"'."));var a=null!=r?r:bt(),l=gt.account;return new n(t,o,function(t,e){return e?function(t,e){return t.getSigner(e).connectUnchecked()}(t,e):t}(a,l))}var Bt=new Map;function kt(e,n){return C(this,void 0,void 0,(function(){var i;return u(this,(function(o){return!e||e===gt.chainId&>.provider?[2,gt.provider]:Bt.has(e)?[2,Bt.get(e)]:(i=new t(n),Bt.set(e,i),[2,i])}))}))}var Mt=function(t,e,n){return C(void 0,void 0,void 0,(function(){var i,o,r,a;return u(this,(function(l){switch(l.label){case 0:return i=Lt(t,Ft),o=i.interface.encodeFunctionData("approve",[e,n]),r={from:gt.account,to:t,data:o,value:"0x0",gasLimit:void 0},[4,yt(r)];case 1:return(a=l.sent())&&(r.gasLimit=a),[4,At(r)];case 2:return[2,l.sent()]}}))}))};function _t(t,e,n,i,o){var r;return C(this,void 0,void 0,(function(){var a,l,s,c,C,h,f,D;return u(this,(function(u){switch(u.label){case 0:a=bt(),u.label=1;case 1:if(e.killSwitch)return[3,11];u.label=2;case 2:return u.trys.push([2,8,,9]),(null===(r=gt.connected)||void 0===r?void 0:r.isSafe)?[4,N()]:[3,5];case 3:return[4,u.sent().getSafeTxStatus(gt.chainId,t,gt.account)];case 4:return"rejected"===(l=u.sent())?[2,{status:Et.Warning,transactionReceipt:null}]:(s=void 0,l&&(s=l.status?Et.Success:Et.Failed),void 0!==s?[2,{status:s,transactionReceipt:l?d(d({},l),{blockNumber:l.blockNumber||void 0,status:l.status?1:0}):null}]:[3,7]);case 5:return[4,Promise.all([o?o(t):a.getTransactionReceipt(t),a.getTransactionCount(null!=i?i:"")])];case 6:if(c=p.apply(void 0,[u.sent(),2]),C=c[0],h=c[1],console.log("[TX Watch] Web3",C,"/Current Nonce ",h,"/TX Nonce",n),f=void 0,C&&(f=C.status?Et.Success:Et.Failed),void 0===f&&n&&h>n&&(f=Et.Warning),void 0!==f)return[2,{status:f,transactionReceipt:C}];u.label=7;case 7:return[3,9];case 8:return D=u.sent(),console.error("[TX Watch] Error",D.message),[3,9];case 9:return[4,new Promise((function(t){return setTimeout(t,e.interval)}))];case 10:return u.sent(),[3,1];case 11:return[2,null]}}))}))}var Ht=function(){function t(t){var e=t.cacheKey,n=t.stateController;this.cacheKey=e,this.stateController=n}return t.prototype.setCacheType=function(t){localStorage.setItem(this.cacheKey,t)},t.prototype.removeCache=function(){localStorage.removeItem(this.cacheKey)},t.prototype.getCacheType=function(){return localStorage.getItem(this.cacheKey)},t.prototype.getConnectedWallet=function(){return C(this,void 0,void 0,(function(){var t,e;return u(this,(function(n){switch(n.label){case 0:return gt.connectLoading?[4,Promise.race([new Promise((function(t){e=l((function(e){!1===e(gt).connectLoading&&t(!0)}))})),new Promise((function(e){t=setTimeout((function(){e(!1)}),4e3)}))])]:[3,2];case 1:n.sent(),clearTimeout(t),e&&e(),n.label=2;case 2:return[2,this._wallet]}}))}))},t.prototype.connectWallet=function(t,e,n){var i=(void 0===n?{}:n).isAutoConnect;return C(this,void 0,void 0,(function(){var n,o,r,a=this;return u(this,(function(l){switch(l.label){case 0:if(!t)throw new Error("wallet is not valid.");if(!t.connector)throw new Error("".concat(t.showName," is not valid."));return this.stateController.setConnectLoading(!0),n=t.type,[4,(0,t.connector)(e,{connect:function(t){var e=t.chainId,n=parseInt(e,16);n&&a.stateController.setChainId(n)},accountsChanged:function(t){a.stateController.setAccounts(t)},chainChanged:function(t){var e=parseInt(t,16);e&&a.stateController.setChainId(e)},message:function(){},disconnect:function(t){a.stateController.setConnected(void 0)}})];case 1:return(o=l.sent())?(this.setCacheType(n),this._wallet=t,[4,this.stateController.setProvider(o,n)]):[3,3];case 2:l.sent(),r=n===c.Gnosis,this.stateController.setConnected({isAutoConnect:!!i,wallet:t,isSafe:r}),!r&&n===c.WalletConnect&>.account&&N().then((function(e){e.getAccountIsSafe(gt.chainId,gt.account).then((function(e){e&&a.stateController.setConnected({isAutoConnect:!!i,wallet:t,isSafe:!0})}))})),l.label=3;case 3:return this.stateController.setConnectLoading(!1),[2,o]}}))}))},t.prototype.disconnectWallet=function(){var t;return C(this,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return this.getCacheType()?(null===(t=this._wallet)||void 0===t?void 0:t.disconnect)?[4,this._wallet.disconnect()]:[3,2]:[2];case 1:e.sent(),e.label=2;case 2:return this._wallet=void 0,this.removeCache(),this.stateController.initialize(),[2]}}))}))},t}(),Vt=function(){function e(t){var e=t.rpcUrl;this.rpcUrl=e,this.state=gt}return e.prototype.setConnectLoading=function(t){gt.connectLoading=t},e.prototype.setProvider=function(t,e){return C(this,void 0,void 0,(function(){var n,i;return u(this,(function(o){switch(o.label){case 0:return gt.provider=r(t),[4,t.getNetwork()];case 1:return n=o.sent().chainId,i=[],e?[4,t.listAccounts()]:[3,3];case 2:i=o.sent(),o.label=3;case 3:return gt.chainId=n,e?(gt.walletType=e,gt.accounts=i,gt.account=gt.accounts[0]):(gt.account=void 0,gt.accounts=void 0,gt.walletType=void 0),[2]}}))}))},e.prototype.getProvider=function(){return gt.provider},e.prototype.getState=function(){return gt},e.prototype.setRpcUrl=function(e){if(this.rpcUrl=e,!gt.provider){var n=new t(this.rpcUrl);this.setProvider(n)}},e.prototype.setChainId=function(t){gt.chainId=null!=t?t:1},e.prototype.setAccounts=function(t){gt.accounts=t,gt.account=t.length?t[0]:void 0},e.prototype.setConnected=function(t){gt.connected=t},e.prototype.initialize=function(){if(this.rpcUrl){var e=new t(this.rpcUrl);this.setProvider(e)}else gt.chainId=1,gt.account=void 0,gt.accounts=void 0,gt.walletType=void 0,gt.provider=void 0},e}(),Nt={cacheKey:"DODO-WALLET-CACHED-PROVIDER"},Ot=function(){function t(t){var e;this.isOpenBlockIframe=!1,this.isSafeIframe=!1;var n=d(d({},Nt),t),i=n.providerConfig,o=n.walletListConfig,r=n.cacheKey;this.providerConfig=i;var a=wt(d({PORTIS_ID:null===(e=i.portisParams)||void 0===e?void 0:e.id},o));this.walletListConfig=o;var l=new Vt({rpcUrl:i.rpcUrl});this.stateController=l,this.connectController=new Ht({cacheKey:r,stateController:l}),this.autoConnect(a)}return t.prototype.autoConnect=function(t){return C(this,void 0,void 0,(function(){var e,n,i,o,r,a=this;return u(this,(function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),e=function(t){return a.connectToWallet(t,void 0,{isAutoConnect:!0})},[4,vt()];case 1:return(n=l.sent())?[2,e(n)]:(i=this.connectController.getCacheType())&&(o=t.find((function(t){return t.type===i})))?[2,e(o)]:[3,3];case 2:return r=l.sent(),console.error(r),[3,3];case 3:return this.stateController.initialize(),[2]}}))}))},t.prototype.setRpcUrl=function(t){this.stateController.setRpcUrl(t)},t.prototype.getWalletList=function(t,e){var n;return wt(d(d({PORTIS_ID:null===(n=this.providerConfig.portisParams)||void 0===n?void 0:n.id,chainId:t},this.walletListConfig),e))},t.prototype.connectToWallet=function(t,e,n){return void 0===n&&(n={}),C(this,void 0,void 0,(function(){return u(this,(function(i){return e&&(this.providerConfig=d(d({},this.providerConfig),e)),[2,this.connectController.connectWallet(t,this.providerConfig,n)]}))}))},t.prototype.disconnectWallet=function(){return this.connectController.disconnectWallet()},t.prototype.connectWalletBefore=function(t,e){if(gt.walletType===t.type&>.account)return!1;if(e){var n=t.link;return b()?n=t.mobileAndroidDeepLink||t.mobileDeepLink||t.link:y()&&(n=t.mobileIOSDeepLink||t.mobileDeepLink||t.link),n&&window.open(n),!1}return!0},t.prototype.clickWallet=function(t,e,n){this.connectWalletBefore(t,e)&&this.connectToWallet(t,n)},t}();export{xt as A,At as B,Ot as C,Lt as D,kt as E,Mt as F,_t as G,E as H,ft as O,c as W,C as _,u as a,h as b,p as c,D as d,d as e,Ct as f,pt as g,wt as h,w as i,vt as j,mt as k,q as l,ct as m,V as n,N as o,O as p,I as q,Z as r,ut as s,z as t,v as u,H as v,gt as w,_ as x,Et as y,yt as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as r,w as t,b as n,c as s,d as o,H as a}from"./index-
|
|
1
|
+
import{_ as e,a as r,w as t,b as n,c as s,d as o,H as a}from"./index-6f08dc42.js";export{H as HD_PATH_LIST}from"./index-6f08dc42.js";import{JsonRpcEngine as i}from"json-rpc-engine";import{deepCopy as c}from"@ethersproject/properties";import{TypedDataUtils as u,SignTypedDataVersion as d}from"@metamask/eth-sig-util";import{createWalletMiddleware as p,createFetchMiddleware as h}from"@metamask/eth-json-rpc-middleware";import{providerFromEngine as l}from"@metamask/eth-json-rpc-provider";import v from"@ledgerhq/hw-app-eth";import{hexlify as f}from"@ethersproject/bytes";import{serialize as m}from"@ethersproject/transactions";import g from"@ledgerhq/hw-transport-webhid";import"@ethersproject/providers";import"@ethersproject/constants";import"@ethersproject/contracts";import"@ethersproject/address";import"valtio";import"valtio/utils";var w=function(){return e(void 0,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,g.create()];case 1:return[2,e.sent()]}}))}))},b={LEGACY:0,ACCESS_LIST:1,FEE_MARKET:2},x={};function P(n){return e(this,void 0,void 0,(function(){var e,s;return r(this,(function(r){switch(r.label){case 0:return void 0!==x[n]?[2,x[n]]:t.provider?[4,t.provider.getBlock("latest")]:[2,!1];case 1:return e=r.sent(),s=void 0!==e.baseFeePerGas,x[n]=s,[2,s]}}))}))}function E(t,n,s){return e(this,void 0,void 0,(function(){var e,o;return r(this,(function(r){switch(r.label){case 0:return(e=n).type=b.LEGACY,s?[4,P(t)]:[2,e];case 1:return r.sent()?[4,s(t)]:[3,3];case 2:(null==(o=r.sent())?void 0:o.maxFeePerGas)&&(null==o?void 0:o.maxPriorityFeePerGas)&&(e.maxFeePerGas=o.maxFeePerGas,e.maxPriorityFeePerGas=o.maxPriorityFeePerGas,e.type=b.FEE_MARKET),r.label=3;case 3:return[2,e]}}))}))}var y=function(t,o,a,i,c,u){return void 0===u&&(u=[]),e(void 0,void 0,void 0,(function(){var e,d,p;return r(this,(function(r){switch(r.label){case 0:return e=o.replace(/x/g,String(a+i)),[4,t.getAddress(e)];case 1:return d=r.sent(),p=n(n([],s(u),!1),[{path:e,account:d.address}],!1),a<c?[4,y(t,o,a+1,i,c,p)]:[3,3];case 2:p=r.sent(),r.label=3;case 3:return[2,p]}}))}))},S=function(t,n,s){return void 0===n&&(n=1),void 0===s&&(s=5),e(void 0,void 0,void 0,(function(){var e,o,a,i;return r(this,(function(r){switch(r.label){case 0:return[4,w()];case 1:e=r.sent(),o=new v(e),r.label=2;case 2:return r.trys.push([2,,6,7]),-1!==t.indexOf("x")?[3,4]:[4,o.getAddress(t)];case 3:return i=r.sent(),[2,[{path:t,account:i.address}]];case 4:return[4,y(o,t,0,n*s-s,s-1)];case 5:return a=r.sent(),[3,7];case 6:return e.close(),[7];case 7:return[2,a]}}))}))},j=1;function A(t){var n,s=t.chainId,g=void 0===s?1:s,b=t.rpcUrl,x=t.fetchGasPrice,P=t.ledgerParams;return e(this,void 0,void 0,(function(){var t,s,y,A,F,G,I,T,k,q=this;return r(this,(function(L){switch(L.label){case 0:if(!b)throw new Error("Ledger USB provider requires rpcUrl");return t=null!==(n=null==P?void 0:P.path)&&void 0!==n?n:a[0].path,s=null==P?void 0:P.account,y=s?[s]:[],s?[3,3]:[4,S(t)];case 1:return[4,L.sent().map((function(e){return e.account}))];case 2:y=L.sent(),s=y[0],L.label=3;case 3:return A=new i,F=function(){return e(q,void 0,void 0,(function(){return r(this,(function(e){return[2,Promise.resolve(y)]}))}))},G=function(n){return e(q,void 0,void 0,(function(){var e,s,o,a;return r(this,(function(r){switch(r.label){case 0:if(!t)throw new Error("address unknown '".concat(n.from,"'"));return[4,w()];case 1:e=r.sent(),r.label=2;case 2:return r.trys.push([2,,4,5]),[4,new v(e).signPersonalMessage(t,f(n.data).substring(2))];case 3:return s=r.sent(),o=parseInt(String(s.v),10)-27,(a=o.toString(16)).length<2&&(a="0".concat(o)),[2,"0x".concat(s.r).concat(s.s).concat(a)];case 4:return e.close(),[7];case 5:return[2]}}))}))},I=function(n){return e(q,void 0,void 0,(function(){var e,s,o,a,i,c;return r(this,(function(r){switch(r.label){case 0:if(!t)throw new Error("address unknown '".concat(n.from,"'"));return[4,w()];case 1:e=r.sent(),r.label=2;case 2:return r.trys.push([2,,5,6]),s=new v(e),[4,E(g,n,x)];case 3:return o=r.sent(),a={chainId:g,data:o.data,gasLimit:o.gasLimit||o.gas,to:o.to,value:o.value},i=m(a).substring(2),[4,s.signTransaction(t,i)];case 4:return c=r.sent(),[2,m(a,{v:parseInt("0x".concat(c.v),2),r:"0x".concat(c.r),s:"0x".concat(c.s)})];case 5:return e.close(),[7];case 6:return[2]}}))}))},T=function(n){return e(q,void 0,void 0,(function(){var e,s,o,a,i,c,p,h,l,f,m,g;return r(this,(function(r){switch(r.label){case 0:return[4,w()];case 1:e=r.sent(),r.label=2;case 2:if(r.trys.push([2,,4,5]),!t)throw new Error("address unknown '".concat(n.from,"'"));return s=new v(e),o=JSON.parse(n.data),a=o.domain,i=o.types,c=o.primaryType,p=o.message,h=u.hashStruct("EIP712Domain",a,i,d.V4).toString("hex"),l=u.hashStruct(c,p,i,d.V4).toString("hex"),[4,s.signEIP712HashedMessage(t,h,l)];case 3:return f=r.sent(),m=parseInt(String(f.v),10),(g=m.toString(16)).length<2&&(g="0".concat(g)),[2,"0x".concat(f.r).concat(f.s).concat(g)];case 4:return e.close(),[7];case 5:return[2]}}))}))},A.push(p({getAccounts:F,processPersonalMessage:G,processTransaction:I,processTypedMessageV4:T})),A.push(h({rpcUrl:b})),k=l(A),[2,o((function(e,r){var t={method:e,params:r,id:j+=1,jsonrpc:"2.0"},n="ledgerFetcher";return new Promise((function(e,r){k.emit("debug",{action:"request",fetcher:n,request:c(t),provider:k}),k.sendAsync(t,(function(s,o){if(s)return k.emit("debug",{action:"response",fetcher:n,error:s,request:t,provider:k}),r(s);if(k.emit("debug",{action:"response",fetcher:n,request:t,response:o,provider:k}),o.error){var a=new Error(o.error.message);return a.code=o.error.code,a.data=o.error.data,r(a)}e(o.result)}))}))}))]}}))}))}function F(t){return e(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,A(t)];case 1:return[2,e.sent()]}}))}))}export{A as createProvider,F as default,S as getAccountList,w as getTransport};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,a as e,d as n,c as r,w as s}from"./index-6f08dc42.js";import a from"@safe-global/safe-apps-sdk";import{SafeAppProvider as o}from"@safe-global/safe-apps-provider";import i from"@safe-global/api-kit";import"@ethersproject/providers";import"@ethersproject/constants";import"@ethersproject/contracts";import"@ethersproject/address";import"valtio";import"valtio/utils";var c,u;function f(){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return u||(u=new a),void 0!==c?[3,2]:[4,Promise.race([u.safe.getInfo(),new Promise((function(t){return setTimeout(t,200)}))])];case 1:c=t.sent(),t.label=2;case 2:return[2,c]}}))}))}function l(){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,f()];case 1:return[2,!!t.sent()]}}))}))}function h(r){return t(this,void 0,void 0,(function(){var t,s;return e(this,(function(e){switch(e.label){case 0:return[4,f()];case 1:if(!(t=e.sent()))throw Error("Could not load Safe information");return(s=new o(t,u)).on("connect",r.connect),s.on("disconnect",r.disconnect),s.on("accountsChanged",r.accountsChanged),s.on("chainChanged",r.chainChanged),s.on("message",r.message),[2,n(s)]}}))}))}var d,p={1:"https://safe-transaction-mainnet.safe.global/",5:"https://safe-transaction-goerli.safe.global/",42161:"https://safe-transaction-arbitrum.safe.global/",43114:"https://safe-transaction-avalanche.safe.global/",1313161554:"https://safe-transaction-aurora.safe.global/",56:"https://safe-transaction-bsc.safe.global/",10:"https://safe-transaction-optimism.safe.global/",137:"https://safe-transaction-polygon.safe.global/"};function v(n){return t(this,void 0,void 0,(function(){var r,a,o;return e(this,(function(c){if((null==d?void 0:d.chainId)===n)return[2,d.safeService];if(!s.provider)throw new Error("provider is undefined");return r=function(){var n=this;return{getEip3770Address:function(r){return t(n,void 0,void 0,(function(){var t,n,s;return e(this,(function(e){return t=function(t){var e=t.split(":"),n=e.length>1?e[1]:e[0];return{prefix:e.length>1?e[0]:"",address:n}}(r),n=t.address,s=t.prefix,[2,{address:n,prefix:s}]}))}))}}}(),(a=p[n])?(o=new i({txServiceUrl:a,ethAdapter:r}),[2,(d={safeService:o,chainId:n}).safeService]):[2,void 0]}))}))}function g(n,r){return t(this,void 0,void 0,(function(){var t,s;return e(this,(function(e){switch(e.label){case 0:return r?[4,v(n)]:[2,!1];case 1:if(!(t=e.sent()))return[2,!1];e.label=2;case 2:return e.trys.push([2,4,,5]),[4,t.getSafeInfo(r)];case 3:return[2,!!e.sent()];case 4:return s=e.sent(),console.error(s),[2,!1];case 5:return[2]}}))}))}function b(n,s,a){return t(this,void 0,void 0,(function(){var t,o,i;return e(this,(function(e){switch(e.label){case 0:return[4,v(n)];case 1:return(t=e.sent())?a!==s?[2,a]:[4,t.getMultisigTransactions(a)]:(console.error("chainId: ".concat(n," is not supported safe")),[2,a]);case 2:return o=e.sent(),i=r(o.results,1),[2,i[0].safeTxHash]}}))}))}function m(n,r,s){return t(this,void 0,void 0,(function(){var t,a,o,i;return e(this,(function(e){switch(e.label){case 0:return[4,v(n)];case 1:if(!(t=e.sent()))throw new Error("chainId: ".concat(n," is not supported safe"));e.label=2;case 2:return e.trys.push([2,4,,5]),[4,t.getMultisigTransactions(s)];case 3:return a=e.sent().results,(o=a.find((function(t){return t.safeTxHash.toLocaleLowerCase()===r.toLocaleLowerCase()})))?a.some((function(t){return!(t.nonce!==o.nonce||t.safeTxHash.toLocaleLowerCase()===r.toLocaleLowerCase()||!t.isExecuted||!t.isSuccessful)}))?[2,"rejected"]:null===o.isExecuted||null===o.isSuccessful?[2,null]:[2,{status:o.isExecuted&&o.isSuccessful||!1,transactionHash:o.transactionHash,blockNumber:o.blockNumber||null}]:[2,null];case 4:throw i=e.sent(),console.error(i),new Error("safeTxHash: ".concat(r," is not valid."));case 5:return[2]}}))}))}function w(t,e,n){var r={1:"eth",5:"gor",137:"matic",56:"bnb",42161:"arb1",10:"oeth",43114:"avax",1313161554:"aurora"}[e];if(!r)throw new Error("Not Supported network: ".concat(e));return"https://app.safe.global/transactions/tx?id=multisig_".concat(n,"_").concat(t,"&safe=").concat(r,"%3A").concat(n)}export{h as default,g as getAccountIsSafe,f as getConnectedSafe,l as getIsSafe,w as getSafeHashDetailUrl,b as getSafeTxHash,m as getSafeTxStatus};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{JsonRpcProvider as t}from"@ethersproject/providers";import{AddressZero as e}from"@ethersproject/constants";import{Contract as n}from"@ethersproject/contracts";import{getAddress as o}from"@ethersproject/address";import{proxy as i,ref as r}from"valtio";import{devtools as a,watch as l}from"valtio/utils";var s=function(t,e){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},s(t,e)};function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var d,C,u=function(){return u=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},u.apply(this,arguments)};function p(t,e,n,o){return new(n||(n=Promise))((function(i,r){function a(t){try{s(o.next(t))}catch(t){r(t)}}function l(t){try{s(o.throw(t))}catch(t){r(t)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,l)}s((o=o.apply(t,e||[])).next())}))}function h(t,e){var n,o,i,r,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(l){return function(s){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,l[0]&&(a=0)),a;)try{if(n=1,o&&(i=2&l[0]?o.return:l[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;switch(o=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,o=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){a.label=l[1];break}if(6===l[0]&&a.label<i[1]){a.label=i[1],i=l;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(l);break}i[2]&&a.ops.pop(),a.trys.pop();continue}l=e.call(t,a)}catch(t){l=[6,t],o=0}finally{n=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}function f(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(o=r.next()).done;)a.push(o.value)}catch(t){i={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return a}function D(t,e,n){if(n||2===arguments.length)for(var o,i=0,r=e.length;i<r;i++)!o&&i in e||(o||(o=Array.prototype.slice.call(e,0,i)),o[i]=e[i]);return t.concat(o||Array.prototype.slice.call(e))}!function(t){t[t.MAINNET=1]="MAINNET",t[t.GOERLI=5]="GOERLI",t[t.BSC=56]="BSC",t[t.HECO=128]="HECO",t[t.POLYGON=137]="POLYGON",t[t.ARBITRUM_ONE=42161]="ARBITRUM_ONE",t[t.ARBITRUM_RINKEBY=421611]="ARBITRUM_RINKEBY",t[t.AURORA=1313161554]="AURORA",t[t.MOONRIVER=1285]="MOONRIVER",t[t.OKCHAIN=66]="OKCHAIN",t[t.OPTIMISM=10]="OPTIMISM",t[t.BOBA=288]="BOBA",t[t.AVALANCHE=43114]="AVALANCHE",t[t.CRONOS=25]="CRONOS"}(d||(d={})),function(t){t.injected="injected",t.BinanceChain="custom-bsc-injected",t.WalletConnect="walletconnect",t.Portis="portis",t.Gnosis="custom-gnosis",t.WalletLink="custom-walletlink",t.LedgerUSB="custom-ledger-usb",t.Ledger="custom-ledger",t.openBlock="custom-open-block",t.openBlockIframe="custom-open-block-iframe",t.Nabox="custom-nabox",t.Bitkeep="custom-bitkeep",t.OneKey="custom-onekey",t.OKX="custom-okx",t.uAuth="custom-uauth",t.kuCoinWallet="custom-kucoin-wallet",t.frontier="custom-frontier"}(C||(C={}));var w="data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2216%22%20fill%3D%22url%28%23paint0_linear_3075_80236%29%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M16%2025C20.9706%2025%2025%2020.9706%2025%2016C25%2011.0294%2020.9706%207%2016%207C11.0294%207%207%2011.0294%207%2016C7%2020.9706%2011.0294%2025%2016%2025ZM14%2013C13.4477%2013%2013%2013.4477%2013%2014V18C13%2018.5523%2013.4477%2019%2014%2019H18C18.5523%2019%2019%2018.5523%2019%2018V14C19%2013.4477%2018.5523%2013%2018%2013H14Z%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_3075_80236%22%20x1%3D%2216%22%20y1%3D%220%22%20x2%3D%2216%22%20y2%3D%2232%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23345FF8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%231D43DC%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E";function v(t){return p(this,void 0,void 0,(function(){return h(this,(function(e){switch(e.label){case 0:return[4,import("@ethersproject/providers")];case 1:return[2,new(0,e.sent().Web3Provider)(t)]}}))}))}function m(t,e){return void 0===t&&(t=null),p(this,void 0,void 0,(function(){var n;return h(this,(function(o){switch(o.label){case 0:return(n=t||window.ethereum)?[4,n.request({method:"eth_requestAccounts"})]:[3,2];case 1:return o.sent(),[3,3];case 2:if(window.web3)n=window.web3.currentProvider;else{if(!window.celo)throw new Error("No Web3 Provider found");n=window.celo}o.label=3;case 3:return n.on("connect",e.connect),n.on("disconnect",e.disconnect),n.on("accountsChanged",e.accountsChanged),n.on("chainChanged",e.chainChanged),n.on("message",e.message),[2,v(n)]}}))}))}function g(t){var e=t.addChainParameters,n=t.provider,o=void 0===n?window.ethereum:n;return p(this,void 0,void 0,(function(){var t,n,i,r;return h(this,(function(a){switch(a.label){case 0:if(!o)return[2,{result:!1}];t=e.chainId,a.label=1;case 1:return a.trys.push([1,3,,8]),[4,o.request({method:"wallet_switchEthereumChain",params:[{chainId:t}]})];case 2:return a.sent(),[2,{result:!0}];case 3:if(n=a.sent(),4902!==(i=n.code)&&-32603!==i)return[3,7];a.label=4;case 4:return a.trys.push([4,6,,7]),[4,o.request({method:"wallet_addEthereumChain",params:[e]})];case 5:return a.sent(),[2,{result:!0}];case 6:return r=a.sent(),console.error("[failed to add ".concat(t,"]: "),e,r),[3,7];case 7:return console.error("[failed to switch ".concat(t,"]: "),e,n),[3,8];case 8:return[2,{result:!1}]}}))}))}var E,F,b=[{path:"m/44'/60'/x'/0/0",name:"Ledger Live"},{path:"m/44'/60'/0'/x",name:"Legacy"}],y=function(){var t;return!!(null===(t=window.navigator)||void 0===t?void 0:t.hid)},x=function(){var t;return(null===(t=window.navigator)||void 0===t?void 0:t.userAgent)&&/(Android)/i.test(navigator.userAgent)},A=function(){var t;return/(iPhone|iPad|iPod|iOS)/i.test(null===(t=window.navigator)||void 0===t?void 0:t.userAgent)},L=function(){return x()||A()},B=function(){if("undefined"!=typeof window)return window},k=!1,M=1,_={},H=!1;null===(E=B())||void 0===E||E.addEventListener("message",(function(t){"openblock-content-integration"===t.data.from&&(k=!0,Object.values(_).map((function(t){return t()})))})),null===(F=B())||void 0===F||F.addEventListener("load",(function(){setTimeout((function(){H=!0,Object.values(_).map((function(t){return t()}))}),1e3)}),{once:!0});var V=function(){return p(void 0,void 0,void 0,(function(){return h(this,(function(t){return[2,new Promise((function(t){k?t(!0):window.parent===window||H?t(!1):(M++,_[M]=function(){t(k),delete _[M]})}))]}))}))},O=function(t,e){return p(void 0,void 0,void 0,(function(){var t;return h(this,(function(n){switch(n.label){case 0:return[4,import("./provider-3fe99d2c.js")];case 1:return(t=n.sent().default()).on("connect",e.connect),t.on("disconnect",e.disconnect),t.on("accountsChanged",e.accountsChanged),t.on("chainChanged",e.chainChanged),t.on("message",e.message),[4,t.request({method:"eth_requestAccounts"})];case 2:return n.sent(),[2,v(t)]}}))}))};function N(){return import("./index-677159b8.js")}function I(){return import("./index-4025ab08.js")}function Z(){return import("./uAuth-9f7c98e7.js")}function P(t,e){return p(this,void 0,void 0,(function(){return h(this,(function(n){switch(n.label){case 0:return[4,import("./portis-5cb50e65.js")];case 1:return[2,n.sent().default(t,e)]}}))}))}function z(t,e){return p(this,void 0,void 0,(function(){return h(this,(function(n){switch(n.label){case 0:return[4,import("./walletLink-986484a1.js")];case 1:return[2,n.sent().default(t,e)]}}))}))}function T(t,e){return p(this,void 0,void 0,(function(){return h(this,(function(n){switch(n.label){case 0:return[4,import("./walletConnect-fb4a3e3c.js")];case 1:return[2,n.sent().default(t,e)]}}))}))}var S={type:C.injected,showName:"Coinbase Wallet",logo:w,supportMobile:!1,supportExtension:!1,switchChain:g,disabled:function(){return!(L()&&window.ethereum&&(window.ethereum.isWalletLink||window.ethereum.isToshi))},mobileAndroidDeepLink:"https://go.cb-w.com/dapp?cburl=$formattedAPPUrl",mobileIOSDeepLink:"cbwallet://dapp?url=$formattedAPPUrl"},W={type:C.injected,showName:"TokenPocket",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_4319_127796%29%22%3E%3Cmask%20id%3D%22mask0_4319_127796%22%20style%3D%22mask-type%3Aalpha%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2232%22%20height%3D%2232%22%3E%3Cpath%20d%3D%22M21%200H11C4.92487%200%200%204.92487%200%2011V21C0%2027.0751%204.92487%2032%2011%2032H21C27.0751%2032%2032%2027.0751%2032%2021V11C32%204.92487%2027.0751%200%2021%200Z%22%20fill%3D%22%23C4C4C4%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url%28%23mask0_4319_127796%29%22%3E%3Cpath%20d%3D%22M32.5475%200H-0.84375V32H32.5475V0Z%22%20fill%3D%22%232980FE%22%2F%3E%3Cpath%20d%3D%22M12.7124%2013.7077H12.7165C12.7124%2013.6831%2012.7124%2013.6544%2012.7124%2013.6299V13.7077Z%22%20fill%3D%22%2329AEFF%22%2F%3E%3Cpath%20d%3D%22M20.8626%2014.4854H16.3515V22.6273C16.3515%2023.0121%2016.6626%2023.3232%2017.0474%2023.3232H20.1667C20.5515%2023.3232%2020.8626%2023.0121%2020.8626%2022.6273V14.4854Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M14.1738%208.65625H14.0224H5.94591C5.56109%208.65625%205.25%208.96734%205.25%209.35216V12.1767C5.25%2012.5615%205.56109%2012.8726%205.94591%2012.8726H7.84119H8.59441V13.7076V22.6478C8.59441%2023.0327%208.9055%2023.3438%209.29028%2023.3438H12.254C12.6388%2023.3438%2012.9499%2023.0327%2012.9499%2022.6478V13.7076V13.6299V12.8726H13.7031H14.0101H14.1616C15.3241%2012.8726%2016.2697%2011.927%2016.2697%2010.7644C16.282%209.60184%2015.3364%208.65625%2014.1738%208.65625Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M20.8667%2014.4854V20.1671C21.0223%2020.204%2021.1819%2020.2326%2021.3457%2020.2572C21.5749%2020.2899%2021.8123%2020.3104%2022.0497%2020.3145C22.062%2020.3145%2022.0743%2020.3145%2022.0907%2020.3145V15.7953C21.4071%2015.7502%2020.8667%2015.1812%2020.8667%2014.4854Z%22%20fill%3D%22url%28%23paint0_linear_4319_127796%29%22%2F%3E%3Cpath%20d%3D%22M22.1807%208.65625C18.9632%208.65625%2016.3515%2011.2679%2016.3515%2014.4854C16.3515%2017.2526%2018.2796%2019.5695%2020.8667%2020.1672V14.4854C20.8667%2013.7608%2021.4561%2013.1714%2022.1807%2013.1714C22.9052%2013.1714%2023.4947%2013.7608%2023.4947%2014.4854C23.4947%2015.0953%2023.0813%2015.607%2022.5163%2015.7544C22.4099%2015.783%2022.2953%2015.7994%2022.1807%2015.7994V20.3146C22.2953%2020.3146%2022.4058%2020.3105%2022.5163%2020.3064C25.5783%2020.1303%2028.0098%2017.5924%2028.0098%2014.4854C28.0139%2011.2679%2025.4023%208.65625%2022.1807%208.65625Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M22.1806%2020.3147V15.7995C22.1479%2015.7995%2022.1193%2015.7995%2022.0865%2015.7954V20.3147C22.1193%2020.3147%2022.152%2020.3147%2022.1806%2020.3147Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_4319_127796%22%20x1%3D%2222.1826%22%20y1%3D%2217.4008%22%20x2%3D%2220.8673%22%20y2%3D%2217.4008%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22white%22%2F%3E%3Cstop%20offset%3D%220.9667%22%20stop-color%3D%22white%22%20stop-opacity%3D%220.3233%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22white%22%20stop-opacity%3D%220.3%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22clip0_4319_127796%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",link:"https://www.tokenpocket.pro/",supportMobile:!0,supportExtension:!1,switchChain:g,disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isTokenPocket)},mobileDeepLink:"tpdapp://open?params=".concat(encodeURI('{\n "url": "$APP_URL"\n }'))},U={type:C.injected,showName:"TrustWallet",logo:"data:image/svg+xml,%3Csvg%20enable-background%3D%22new%200%200%20158.8%20184%22%20viewBox%3D%220%200%20158.8%20184%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20transform%3D%22translate%28354%20351%29%22%3E%3Cpath%20d%3D%22m-274.6-343.7c29.3%2022.7%2062.9%2021.3%2072.5%2021.3-2.1%20129.1-18.1%20111.9-72.5%20148.1-54.4-36.2-70.3-19-72.4-148.1%209.5%200%2043%201.4%2072.4-21.3z%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22m-274.6-343.7%204.2-5.5c-2.5-1.9-6-1.9-8.5%200zm72.5%2021.3%206.9.1c0-1.9-.7-3.6-2-5-1.3-1.3-3.1-2.1-4.9-2.1zm-72.5%20148.1-3.8%205.8c2.3%201.5%205.3%201.5%207.7%200zm-72.4-148.1v-6.9c-1.9%200-3.6.7-4.9%202.1-1.3%201.3-2%203.1-2%205zm68.1-15.8c31.4%2024.3%2067.3%2022.7%2076.7%2022.7v-13.8c-9.8%200-41.1%201.2-68.3-19.9zm69.8%2015.7c-.5%2032.1-1.9%2054.8-4.5%2071.6-2.6%2016.6-6.2%2026.6-11%2033.6-4.8%207.3-10.8%2011.6-19.7%2016.9-9%205.4-20.3%2011.2-34.3%2020.4l7.7%2011.5c13.3-8.8%2024.3-14.5%2033.7-20.1%209.5-5.7%2017.8-11.9%2024.1-21%206.3-9.4%2010.5-21.6%2013.2-39.2%202.7-17.4%204.1-41%204.6-73.5zm-61.7%20142.4c-13.9-9.3-25.3-15.1-34.2-20.4s-14.9-9.6-19.7-16.9c-4.7-7-8.4-16.9-10.9-33.6-2.6-16.8-3.9-39.4-4.5-71.6l-13.9.3c.5%2032.4%202%2056%204.6%2073.5%202.7%2017.6%206.8%2029.8%2013.1%2039.2%206.3%209.1%2014.6%2015.3%2024%2021%209.4%205.6%2020.4%2011.2%2033.7%2020.1zm-76.2-135.4c9.3%200%2045.3%201.6%2076.6-22.7l-8.4-11c-27.2%2021.1-58.5%2019.9-68.2%2019.9z%22%20fill%3D%22%233375bb%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E",link:"https://trustwallet.com/",supportMobile:!0,supportExtension:!1,switchChain:g,disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isTrust)},mobileDeepLink:"https://link.trustwallet.com/open_url?url=$APP_URL"},j={type:C.injected,showName:"ImToken",logo:"data:image/svg+xml,%3Csvg%20enable-background%3D%22new%200%200%2064%2064%22%20viewBox%3D%220%200%2064%2064%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3ClinearGradient%20id%3D%22a%22%20gradientTransform%3D%22matrix%2823.9866%200%200%20-16.946%206597.1353%205695.4907%29%22%20gradientUnits%3D%22userSpaceOnUse%22%20x1%3D%22-272.5272%22%20x2%3D%22-275.1207%22%20y1%3D%22335.5532%22%20y2%3D%22332.9597%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%2311c4d1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230062ad%22%2F%3E%3C%2FlinearGradient%3E%3Cpath%20d%3D%22m63.8%2010.9c2.1%2028.6-16.2%2042.1-32.7%2043.6-15.3%201.3-29.7-8.1-31-22.5-1-11.9%206.3-17%2012.1-17.5%206-.5%2011%203.6%2011.4%208.6.4%204.8-2.6%207-4.6%207.2-1.6.1-3.7-.9-3.9-3-.2-1.8.5-2.1.4-4-.3-3.5-3.3-3.9-5-3.7-2%20.2-5.7%202.5-5.1%208.4.5%205.9%206.2%2010.6%2013.6%209.9%208-.7%2013.6-6.9%2014-15.7%200-.5.1-.9.3-1.3.1-.2.2-.4.3-.5.2-.3.4-.5.7-.8.2-.2.5-.5.7-.8%203.5-3.3%2016.1-11.1%2028-8.6.4-.2.8.2.8.7%22%20fill%3D%22url%28%23a%29%22%2F%3E%3C%2Fsvg%3E",link:"https://token.im/",supportMobile:!0,supportExtension:!1,switchChain:g,disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isImToken)},mobileDeepLink:"imtokenv2://navigate/DappView?url=$formattedAPPUrl"},R={type:C.injected,showName:"Math Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2272%22%20height%3D%2272%22%20viewBox%3D%220%200%2072%2072%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20cx%3D%2236%22%20cy%3D%2236%22%20r%3D%2236%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M14.25%2046.4721C15.1398%2046.4721%2015.8611%2047.1934%2015.8611%2048.0832C15.8611%2048.973%2015.1398%2049.6943%2014.25%2049.6943C13.3602%2049.6943%2012.6389%2048.973%2012.6389%2048.0832C12.6389%2047.1934%2013.3602%2046.4721%2014.25%2046.4721ZM36%2046.4721C36.8898%2046.4721%2037.6111%2047.1934%2037.6111%2048.0832C37.6111%2048.973%2036.8898%2049.6943%2036%2049.6943C35.1102%2049.6943%2034.3889%2048.973%2034.3889%2048.0832C34.3889%2047.1934%2035.1102%2046.4721%2036%2046.4721ZM57.75%2046.4721C58.6398%2046.4721%2059.3611%2047.1934%2059.3611%2048.0832C59.3611%2048.973%2058.6398%2049.6943%2057.75%2049.6943C56.8602%2049.6943%2056.1389%2048.973%2056.1389%2048.0832C56.1389%2047.1934%2056.8602%2046.4721%2057.75%2046.4721ZM19.0833%2040.0276C20.418%2040.0276%2021.5%2041.1096%2021.5%2042.4443C21.5%2043.779%2020.418%2044.861%2019.0833%2044.861C17.7486%2044.861%2016.6667%2043.779%2016.6667%2042.4443C16.6667%2041.1096%2017.7486%2040.0276%2019.0833%2040.0276ZM30.3611%2040.0276C31.6958%2040.0276%2032.7778%2041.1096%2032.7778%2042.4443C32.7778%2043.779%2031.6958%2044.861%2030.3611%2044.861C29.0264%2044.861%2027.9444%2043.779%2027.9444%2042.4443C27.9444%2041.1096%2029.0264%2040.0276%2030.3611%2040.0276ZM41.6389%2040.0276C42.9736%2040.0276%2044.0556%2041.1096%2044.0556%2042.4443C44.0556%2043.779%2042.9736%2044.861%2041.6389%2044.861C40.3042%2044.861%2039.2222%2043.779%2039.2222%2042.4443C39.2222%2041.1096%2040.3042%2040.0276%2041.6389%2040.0276ZM52.9167%2040.0276C54.2514%2040.0276%2055.3333%2041.1096%2055.3333%2042.4443C55.3333%2043.779%2054.2514%2044.861%2052.9167%2044.861C51.582%2044.861%2050.5%2043.779%2050.5%2042.4443C50.5%2041.1096%2051.582%2040.0276%2052.9167%2040.0276ZM8.61111%2040.8332C9.5009%2040.8332%2010.2222%2041.5545%2010.2222%2042.4443C10.2222%2043.3341%209.5009%2044.0554%208.61111%2044.0554C7.72132%2044.0554%207%2043.3341%207%2042.4443C7%2041.5545%207.72132%2040.8332%208.61111%2040.8332ZM63.3889%2040.8332C64.2787%2040.8332%2065%2041.5545%2065%2042.4443C65%2043.3341%2064.2787%2044.0554%2063.3889%2044.0554C62.4991%2044.0554%2061.7778%2043.3341%2061.7778%2042.4443C61.7778%2041.5545%2062.4991%2040.8332%2063.3889%2040.8332ZM24.7222%2033.5832C26.5018%2033.5832%2027.9444%2035.0258%2027.9444%2036.8054C27.9444%2038.585%2026.5018%2040.0276%2024.7222%2040.0276C22.9426%2040.0276%2021.5%2038.585%2021.5%2036.8054C21.5%2035.0258%2022.9426%2033.5832%2024.7222%2033.5832ZM47.2778%2033.5832C49.0574%2033.5832%2050.5%2035.0258%2050.5%2036.8054C50.5%2038.585%2049.0574%2040.0276%2047.2778%2040.0276C45.4982%2040.0276%2044.0556%2038.585%2044.0556%2036.8054C44.0556%2035.0258%2045.4982%2033.5832%2047.2778%2033.5832ZM14.25%2034.3888C15.5847%2034.3888%2016.6667%2035.4707%2016.6667%2036.8054C16.6667%2038.1401%2015.5847%2039.2221%2014.25%2039.2221C12.9153%2039.2221%2011.8333%2038.1401%2011.8333%2036.8054C11.8333%2035.4707%2012.9153%2034.3888%2014.25%2034.3888ZM36%2034.3888C37.3347%2034.3888%2038.4167%2035.4707%2038.4167%2036.8054C38.4167%2038.1401%2037.3347%2039.2221%2036%2039.2221C34.6653%2039.2221%2033.5833%2038.1401%2033.5833%2036.8054C33.5833%2035.4707%2034.6653%2034.3888%2036%2034.3888ZM57.75%2034.3888C59.0847%2034.3888%2060.1667%2035.4707%2060.1667%2036.8054C60.1667%2038.1401%2059.0847%2039.2221%2057.75%2039.2221C56.4153%2039.2221%2055.3333%2038.1401%2055.3333%2036.8054C55.3333%2035.4707%2056.4153%2034.3888%2057.75%2034.3888ZM19.0833%2027.9443C20.8629%2027.9443%2022.3056%2029.3869%2022.3056%2031.1665C22.3056%2032.9461%2020.8629%2034.3888%2019.0833%2034.3888C17.3037%2034.3888%2015.8611%2032.9461%2015.8611%2031.1665C15.8611%2029.3869%2017.3037%2027.9443%2019.0833%2027.9443ZM30.3611%2027.9443C32.1407%2027.9443%2033.5833%2029.3869%2033.5833%2031.1665C33.5833%2032.9461%2032.1407%2034.3888%2030.3611%2034.3888C28.5815%2034.3888%2027.1389%2032.9461%2027.1389%2031.1665C27.1389%2029.3869%2028.5815%2027.9443%2030.3611%2027.9443ZM41.6389%2027.9443C43.4185%2027.9443%2044.8611%2029.3869%2044.8611%2031.1665C44.8611%2032.9461%2043.4185%2034.3888%2041.6389%2034.3888C39.8593%2034.3888%2038.4167%2032.9461%2038.4167%2031.1665C38.4167%2029.3869%2039.8593%2027.9443%2041.6389%2027.9443ZM52.9167%2027.9443C54.6963%2027.9443%2056.1389%2029.3869%2056.1389%2031.1665C56.1389%2032.9461%2054.6963%2034.3888%2052.9167%2034.3888C51.1371%2034.3888%2049.6944%2032.9461%2049.6944%2031.1665C49.6944%2029.3869%2051.1371%2027.9443%2052.9167%2027.9443ZM24.7222%2022.3054C26.5018%2022.3054%2027.9444%2023.7481%2027.9444%2025.5276C27.9444%2027.3072%2026.5018%2028.7499%2024.7222%2028.7499C22.9426%2028.7499%2021.5%2027.3072%2021.5%2025.5276C21.5%2023.7481%2022.9426%2022.3054%2024.7222%2022.3054ZM47.2778%2022.3054C49.0574%2022.3054%2050.5%2023.7481%2050.5%2025.5276C50.5%2027.3072%2049.0574%2028.7499%2047.2778%2028.7499C45.4982%2028.7499%2044.0556%2027.3072%2044.0556%2025.5276C44.0556%2023.7481%2045.4982%2022.3054%2047.2778%2022.3054Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E",link:"https://mathwallet.org",supportMobile:!0,supportExtension:!0,switchChain:g,disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isMathWallet)}},G={type:C.injected,showName:"GameStop Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_3104_80271%29%22%3E%3Cpath%20d%3D%22M21%200H11C4.92487%200%200%204.92487%200%2011V21C0%2027.0751%204.92487%2032%2011%2032H21C27.0751%2032%2032%2027.0751%2032%2021V11C32%204.92487%2027.0751%200%2021%200Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9.86889%2012.6868V21.3057C9.86889%2021.9352%2010.347%2022.4111%2010.968%2022.4111H21.036C21.657%2022.4111%2022.1351%2021.9352%2022.1351%2021.3057V14.077H23.724V21.3057C23.724%2022.8077%2022.5395%2024%2021.036%2024H10.968C9.46452%2024%208.28003%2022.8077%208.28003%2021.3057V12.6868H9.86889Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M8.28003%2010.6943C8.28003%209.19227%209.46452%208%2010.968%208H21.3686V11.151H21.544C22.7704%2011.151%2023.724%2012.1116%2023.724%2013.3356V14.4013C23.724%2015.6253%2022.7704%2016.5859%2021.544%2016.5859H10.968C9.46452%2016.5859%208.28003%2015.3936%208.28003%2013.8916V10.6943ZM19.7797%2011.151V9.58886H10.968C10.347%209.58886%209.86889%2010.0648%209.86889%2010.6943V13.8916C9.86889%2014.5212%2010.347%2014.9971%2010.968%2014.9971H15.2076V11.151H19.7797ZM16.7964%2014.9971H21.544C21.8879%2014.9971%2022.1351%2014.7528%2022.1351%2014.4013V13.3356C22.1351%2012.9841%2021.8879%2012.7399%2021.544%2012.7399H16.7964V14.9971Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M14.964%2012.8807H17.0825V14.9992H14.964V12.8807Z%22%20fill%3D%22url%28%23paint0_linear_3104_80271%29%22%2F%3E%3Cpath%20d%3D%22M19.2349%209.30048H21.5441V11.154H19.2349V9.30048Z%22%20fill%3D%22url%28%23paint1_linear_3104_80271%29%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_3104_80271%22%20x1%3D%2216.0232%22%20y1%3D%2216.4115%22%20x2%3D%2216.0232%22%20y2%3D%2213.5869%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%2F%3E%3Cstop%20offset%3D%221%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_3104_80271%22%20x1%3D%2220.3894%22%20y1%3D%2212.3897%22%20x2%3D%2220.3894%22%20y2%3D%229.91831%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%2F%3E%3Cstop%20offset%3D%221%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22clip0_3104_80271%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isGamestop)},supportMobile:!1,supportExtension:!0,switchChain:g,link:"https://wallet.gamestop.com/"},K={type:C.injected,showName:"Brave",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_3137_121266%29%22%3E%3Cpath%20d%3D%22M29.6863%2011.3521L28.6996%208.67214L29.3858%207.13367C29.429%207.03662%2029.4417%206.92881%2029.4225%206.82436C29.4033%206.71991%2029.353%206.6237%2029.2782%206.54834L27.4123%204.66226C27.0117%204.25582%2026.504%203.97153%2025.9481%203.84249C25.3923%203.71346%2024.8112%203.74498%2024.2726%203.9334L23.75%204.11505L20.8996%201.02691L16.0644%201H16.033L11.1665%201.03812L8.31828%204.15094L7.81144%203.97152C7.26932%203.78088%206.68406%203.74882%206.12435%203.87911C5.56465%204.00941%205.05372%204.29664%204.65153%204.70712L2.752%206.62907C2.69238%206.68915%202.65234%206.76586%202.63713%206.84911C2.62192%206.93237%202.63226%207.01828%202.66678%207.09555L3.38219%208.69232L2.3999%2011.3701L3.03458%2013.7854L5.92985%2024.7924C6.2634%2026.0603%207.03075%2027.1713%208.0985%2027.9321C8.0985%2027.9321%2011.6127%2030.4102%2015.0799%2032.6619C15.3541%2032.8808%2015.6945%2033%2016.0454%2033C16.3962%2033%2016.7366%2032.8808%2017.0108%2032.6619C20.9063%2030.1097%2023.9877%2027.9231%2023.9877%2027.9231C25.0547%2027.1619%2025.8212%2026.051%2026.1542%2024.7834L29.0337%2013.7719L29.6863%2011.3521Z%22%20fill%3D%22url%28%23paint0_linear_3137_121266%29%22%2F%3E%3Cpath%20d%3D%22M16.8402%2020.8365C16.6556%2020.7538%2016.4652%2020.6849%2016.2706%2020.6301H15.9274C15.7328%2020.6849%2015.5424%2020.7538%2015.3578%2020.8365L14.4944%2021.1953C14.2208%2021.3097%2013.7812%2021.5137%2013.5188%2021.6438L11.931%2022.4713C11.8735%2022.49%2011.8229%2022.5254%2011.7857%2022.5731C11.7485%2022.6208%2011.7265%2022.6785%2011.7224%2022.7388C11.7183%2022.7991%2011.7323%2022.8593%2011.7627%2022.9115C11.7931%2022.9638%2011.8384%2023.0057%2011.8929%2023.032L13.2721%2024.0053C13.5143%2024.1758%2013.8956%2024.4763%2014.1198%2024.6781L14.5078%2025.0123C14.7321%2025.2052%2015.0976%2025.5259%2015.3197%2025.7232L15.6875%2026.0484C15.8011%2026.1431%2015.9443%2026.1949%2016.0923%2026.1949C16.2402%2026.1949%2016.3834%2026.1431%2016.4971%2026.0484L16.8828%2025.712L17.6946%2025.0033L18.0849%2024.6624C18.3091%2024.4673%2018.6881%2024.1668%2018.9303%2023.9896L20.3096%2023.0029C20.3641%2022.9767%2020.4095%2022.9346%2020.4398%2022.8822C20.47%2022.8298%2020.4838%2022.7694%2020.4792%2022.7091C20.4746%2022.6487%2020.4518%2022.5912%2020.414%2022.544C20.3761%2022.4967%2020.3249%2022.4621%2020.267%2022.4444L18.6814%2021.6393C18.4168%2021.5048%2017.9772%2021.3029%2017.7014%2021.1908L16.8402%2020.8365Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.6182%2011.9512L26.663%2011.8077C26.6657%2011.6157%2026.6537%2011.4238%2026.6271%2011.2336C26.4936%2010.8939%2026.3221%2010.5704%2026.1158%2010.2692L25.2188%208.95278C25.0528%208.70609%2024.7702%208.31587%2024.5796%208.08488L23.3775%206.58005C23.2679%206.43338%2023.1488%206.29405%2023.0209%206.16292H22.9963C22.9963%206.16292%2022.7541%206.20553%2022.4625%206.26159L20.6258%206.61593L19.8207%206.77068C19.5534%206.78324%2019.2862%206.74441%2019.0335%206.6563L17.5825%206.18758C17.2999%206.09563%2016.8334%205.96332%2016.5441%205.90052C16.2393%205.86812%2015.9318%205.86812%2015.6269%205.90052C15.3376%205.9678%2014.8711%206.09788%2014.5885%206.18983L13.1375%206.66079C12.8849%206.74889%2012.6177%206.78772%2012.3504%206.77516L11.5453%206.62266L9.70627%206.27056C9.41473%206.2145%209.17476%206.16964%209.17252%206.17189H9.14785C9.02003%206.30301%208.90091%206.44236%208.79127%206.58902L7.59144%208.09384C7.40754%208.31811%207.11824%208.71731%206.95229%208.96176L6.05522%2010.2782C5.90029%2010.5052%205.75876%2010.7411%205.63136%2010.9846C5.55451%2011.2562%205.51379%2011.5367%205.51025%2011.8189L5.55511%2011.9624C5.5767%2012.0546%205.60442%2012.1453%205.63809%2012.2338C5.82423%2012.4581%206.14268%2012.8303%206.34677%2013.0479L9.48649%2016.385C9.59072%2016.5066%209.66047%2016.654%209.68847%2016.8118C9.71647%2016.9695%209.70171%2017.1319%209.64572%2017.282L9.13215%2018.4998C9.01537%2018.8224%209.00671%2019.1743%209.10748%2019.5023L9.21064%2019.7848C9.3792%2020.2438%209.66814%2020.6489%2010.0472%2020.9577L10.5405%2021.3592C10.6687%2021.4516%2010.8183%2021.51%2010.9752%2021.5288C11.1321%2021.5477%2011.2912%2021.5263%2011.4376%2021.4668L13.1914%2020.6303C13.5133%2020.4692%2013.8145%2020.2696%2014.0884%2020.036L15.4923%2018.7689C15.5483%2018.7184%2015.5935%2018.6572%2015.6253%2018.5889C15.6571%2018.5207%2015.6749%2018.4467%2015.6777%2018.3714C15.6804%2018.2961%2015.668%2018.221%2015.6411%2018.1506C15.6143%2018.0802%2015.5736%2018.0159%2015.5215%2017.9615L12.3526%2015.8265C12.2326%2015.7414%2012.1472%2015.616%2012.1118%2015.4732C12.0764%2015.3304%2012.0934%2015.1797%2012.1597%2015.0483L13.3887%2012.7384C13.4586%2012.597%2013.4999%2012.4432%2013.5103%2012.2858C13.5207%2012.1284%2013.5%2011.9705%2013.4493%2011.8211C13.2967%2011.5362%2013.0503%2011.3128%2012.7518%2011.1887L8.89891%209.73323C8.62082%209.62783%208.63652%209.50897%208.93031%209.49102L11.1932%209.26676C11.548%209.24419%2011.9042%209.27596%2012.2494%209.36095L14.2185%209.9104C14.3583%209.95254%2014.4781%2010.0439%2014.5556%2010.1677C14.6331%2010.2914%2014.6632%2010.439%2014.6401%2010.5832L13.8664%2014.8084C13.8147%2015.0424%2013.8018%2015.2833%2013.8283%2015.5215C13.8597%2015.6225%2014.1243%2015.7458%2014.4136%2015.8176L15.6134%2016.0732C15.9619%2016.1373%2016.3191%2016.1373%2016.6675%2016.0732L17.7462%2015.8288C18.0355%2015.7637%2018.2979%2015.6269%2018.3315%2015.526C18.3574%2015.2877%2018.3437%2015.0467%2018.2912%2014.8129L17.513%2010.5877C17.4899%2010.4435%2017.52%2010.2959%2017.5975%2010.1721C17.675%2010.0484%2017.7948%209.95702%2017.9346%209.91489L19.9036%209.36319C20.2489%209.27816%2020.6051%209.2464%2020.9599%209.269L23.2228%209.47981C23.5188%209.50672%2023.5323%209.61661%2023.2564%209.72202L19.4058%2011.182C19.1073%2011.3061%2018.8609%2011.5295%2018.7083%2011.8144C18.6062%2012.1161%2018.628%2012.446%2018.7689%2012.7317L20.0001%2015.0416C20.0664%2015.1729%2020.0834%2015.3237%2020.048%2015.4665C20.0127%2015.6093%2019.9272%2015.7347%2019.8072%2015.8198L16.6406%2017.9593C16.5884%2018.0137%2016.5478%2018.078%2016.5209%2018.1484C16.4941%2018.2188%2016.4817%2018.2939%2016.4844%2018.3692C16.4871%2018.4444%2016.5049%2018.5184%2016.5368%2018.5867C16.5686%2018.655%2016.6138%2018.7162%2016.6697%2018.7667L18.0759%2020.0338C18.3499%2020.2666%2018.6511%2020.4654%2018.9729%2020.6258L20.7267%2021.4601C20.8733%2021.5193%2021.0325%2021.5403%2021.1894%2021.521C21.3463%2021.5018%2021.4958%2021.443%2021.6238%2021.3502L22.1172%2020.9465C22.4966%2020.6371%2022.7856%2020.2312%2022.9537%2019.7714L23.0568%2019.4888C23.1576%2019.1608%2023.1489%2018.809%2023.0322%2018.4863L22.5163%2017.2686C22.4604%2017.1184%2022.4456%2016.9561%2022.4736%2016.7983C22.5016%2016.6406%2022.5713%2016.4932%2022.6756%2016.3715L25.8153%2013.0299C26.0194%2012.8057%2026.3356%2012.4468%2026.5217%2012.2159C26.5597%2012.1299%2026.5919%2012.0415%2026.6182%2011.9512Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_3137_121266%22%20x1%3D%222.40887%22%20y1%3D%2217.0014%22%20x2%3D%2229.6774%22%20y2%3D%2217.0014%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23F1562B%22%2F%3E%3Cstop%20offset%3D%220.3%22%20stop-color%3D%22%23F1542B%22%2F%3E%3Cstop%20offset%3D%220.41%22%20stop-color%3D%22%23F04D2A%22%2F%3E%3Cstop%20offset%3D%220.49%22%20stop-color%3D%22%23EF4229%22%2F%3E%3Cstop%20offset%3D%220.5%22%20stop-color%3D%22%23EF4029%22%2F%3E%3Cstop%20offset%3D%220.56%22%20stop-color%3D%22%23E83E28%22%2F%3E%3Cstop%20offset%3D%220.67%22%20stop-color%3D%22%23E13C26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23DF3C26%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22clip0_3137_121266%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isBraveWallet)},supportMobile:!1,supportExtension:!0,switchChain:g,link:"https://wallet-docs.brave.com/"},q={type:C.injected,showName:"Huobi Wallet",logo:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2232px%22%20height%3D%2232px%22%20viewBox%3D%220%200%2032%2032%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3EWalletConnect%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3CradialGradient%20cx%3D%2214.2459714%25%22%20cy%3D%2282.9640779%25%22%20fx%3D%2214.2459714%25%22%20fy%3D%2282.9640779%25%22%20r%3D%2297.6569253%25%22%20id%3D%22radialGradient-1%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20stop-color%3D%22%231253FC%22%20offset%3D%220%25%22%3E%3C%2Fstop%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20stop-color%3D%22%234C7CF8%22%20offset%3D%22100%25%22%3E%3C%2Fstop%3E%20%20%20%20%20%20%20%20%3C%2FradialGradient%3E%20%20%20%20%20%20%20%20%3Cfilter%20color-interpolation-filters%3D%22auto%22%20id%3D%22filter-2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20in%3D%22SourceGraphic%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%201.000000%200%200%200%200%201.000000%200%200%200%200%201.000000%200%200%200%201.000000%200%22%3E%3C%2FfeColorMatrix%3E%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E6%8E%A7%E4%BB%B6%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E9%92%B1%E5%8C%85-Huobi%22%20transform%3D%22translate%28-16.000000%2C%20-16.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22WalletConnect%22%20transform%3D%22translate%2816.000000%2C%2016.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9C%AA%E5%91%BD%E5%90%8D%22%20fill%3D%22url%28%23radialGradient-1%29%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M16%2C0%20C24.836556%2C0%2032%2C7.163444%2032%2C16%20C32%2C24.836556%2024.836556%2C32%2016%2C32%20C7.163444%2C32%200%2C24.836556%200%2C16%20C0%2C7.163444%207.163444%2C0%2016%2C0%20Z%22%20id%3D%22%E8%B7%AF%E5%BE%84%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20filter%3D%22url%28%23filter-2%29%22%20id%3D%22heco%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%288.888889%2C%205.333333%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.77777778%2C6.56528272%20C9.77777778%2C3.50266975%208.1802334%2C0.868073441%206.96574747%2C0.0102563438%20C6.95996869%2C0.00845797311%206.87336379%2C-0.0382994199%206.88105745%2C0.0839888876%20C6.88105745%2C0.0857875045%206.87913403%2C0.0857875045%206.87913403%2C0.0875861214%20C6.77904815%2C6.00239441%203.54554242%2C7.60473067%201.7671117%2C9.76457253%20C-2.33636671%2C14.7478573%201.4803265%2C20.2112381%205.36631388%2C21.2200883%20C7.54123275%2C21.7847818%204.86396105%2C20.2202641%204.51943926%2C16.9148132%20C4.10177646%2C12.9206857%209.77777778%2C9.87247313%209.77777778%2C6.56528272%20Z%22%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%232D3338%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M11.2932296%2C8.01552828%20C11.2668533%2C7.99856497%2011.2303947%2C7.98734177%2011.2040185%2C8.02675148%20C11.1330817%2C8.80415072%2010.275719%2C10.4677543%209.18934224%2C11.9942806%20C5.50455525%2C17.1729727%207.60436459%2C19.6703485%208.78604691%2C21.0109638%20C9.47110885%2C21.7902479%208.78604691%2C21.0109638%2010.4987017%2C20.2148878%20C10.6324734%2C20.1528604%2013.8429923%2C18.4854872%2014.1895742%2C14.6869058%20C14.5280542%2C11.0085239%2012.1424903%2C8.68960556%2011.2932296%2C8.01552828%20Z%22%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%2301943F%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",supportMobile:!1,supportExtension:!1,switchChain:g,disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isHbWallet)}},$={type:C.injected,showName:"Coin98",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M26.1569%200H5.84389C2.60226%200%200%202.6016%200%205.8432V26.1568C0%2029.3984%202.60226%2032%205.84389%2032H26.1561C29.3522%2032%2032%2029.3984%2032%2026.1568V5.8432C32%202.6016%2029.3985%200%2026.1569%200ZM21.2273%207.9888C23.601%207.9888%2025.5183%209.9056%2025.5183%2012.28C25.5183%2013.0096%2025.3353%2013.6944%2025.0156%2014.3336C24.4681%2013.9232%2023.8751%2013.5576%2023.2357%2013.3296C23.418%2013.0096%2023.5099%2012.6448%2023.5099%2012.28C23.5099%2011.0472%2022.5053%2010.0432%2021.2729%2010.0432C20.0397%2010.0432%2019.0358%2011.0472%2019.0358%2012.28C19.0358%2012.6448%2019.127%2013.0096%2019.31%2013.3296C18.6706%2013.5576%2018.0312%2013.8776%2017.5293%2014.3336C17.1641%2013.6944%2017.0266%2013.0096%2017.0266%2012.2792C16.9363%209.9056%2018.8536%207.9888%2021.2273%207.9888ZM10.7727%2024.0112C8.3998%2024.0112%206.48247%2022.0944%206.48247%2019.7208H8.53648C8.53648%2020.9528%209.54109%2021.9576%2010.7735%2021.9576C12.0059%2021.9576%2013.0105%2020.9528%2013.0105%2019.7208H15.0645C15.0645%2022.0944%2013.1464%2024.0112%2010.7727%2024.0112ZM10.7727%2017.9856C8.03456%2017.9856%205.79755%2015.7488%205.79755%2013.0096C5.79755%2010.2712%208.03456%207.9888%2010.7735%207.9888C13.5124%207.9888%2015.795%2010.2256%2015.795%2013.0096C15.7494%2015.7488%2013.5116%2017.9856%2010.7727%2017.9856ZM21.2273%2024.0112C18.4884%2024.0112%2016.2058%2021.7744%2016.2058%2019.0352C16.2058%2016.2512%2018.4428%2014.0144%2021.2273%2014.0144C23.9662%2014.0144%2026.2032%2016.2512%2026.2032%2019.036C26.2032%2021.7744%2023.9662%2024.0112%2021.2273%2024.0112ZM24.194%2018.9904C24.194%2020.6336%2022.8705%2021.9112%2021.2273%2021.9112C19.5841%2021.9112%2018.2598%2020.588%2018.2598%2018.9904C18.2598%2017.3464%2019.5841%2016.0224%2021.2273%2016.0224C22.8705%2016.0688%2024.194%2017.392%2024.194%2018.9904ZM13.6946%2013.0096C13.6946%2014.6536%2012.3711%2015.9776%2010.7279%2015.9776C9.08395%2015.9776%207.76043%2014.6536%207.76043%2013.0096C7.76043%2011.3664%209.08395%2010.0424%2010.7279%2010.0424C12.4167%2010.0424%2013.6946%2011.3664%2013.6946%2013.0104V13.0096Z%22%20fill%3D%22%23D9B432%22%2F%3E%3C%2Fsvg%3E",supportMobile:!1,supportExtension:!1,switchChain:g,disabled:function(){var t;return!(null===(t=window.ethereum)||void 0===t?void 0:t.isCoin98)}},Y=Object.freeze({__proto__:null,Coinbase:S,TokenPocket:W,Trust:U,ImToken:j,Math:R,GameStop:G,Brave:K,Huobi:q,Coin98:$}),X={type:C.WalletLink,showName:"Coinbase Wallet",logo:w,supportMobile:!0,disabled:function(){return!(!window.ethereum||!window.ethereum.isWalletLink&&!window.ethereum.isToshi&&document&&L())},connector:z},Q={type:C.BinanceChain,showName:"Binance Chain Wallet",logo:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%227.5in%22%20height%3D%227.5in%22%20version%3D%221.1%22%20style%3D%22shape-rendering%3AgeometricPrecision%3B%20text-rendering%3AgeometricPrecision%3B%20image-rendering%3AoptimizeQuality%3B%20fill-rule%3Aevenodd%3B%20clip-rule%3Aevenodd%22%20viewBox%3D%220%200%207500%207500%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20%20%20%20%20.fil0%20%7Bfill%3Anone%7D%20%20%20%20%20%20%20%20%20%20%20%20.fil1%20%7Bfill%3A%234D4D4D%7D%20%20%20%20%20%20%20%20%20%20%20%20.fil2%20%7Bfill%3A%23F3BA2F%7D%20%20%20%20%20%20%20%20%3C%2Fstyle%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Layer_x0020_1%22%3E%20%20%20%20%20%20%20%20%3Cmetadata%20id%3D%22CorelCorpID_0Corel-Layer%22%2F%3E%20%20%20%20%20%20%20%20%3Crect%20class%3D%22fil0%22%20width%3D%227500%22%20height%3D%227500%22%2F%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22_2419820813232%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%20class%3D%22fil1%22%20cx%3D%223750%22%20cy%3D%223750%22%20r%3D%223500%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22fil2%22%20d%3D%22M2779%203351l971%20-971%20971%20972%20565%20-565%20-1536%20-1537%20-1536%201536%20565%20565%200%200zm-1529%20399l565%20-565%20565%20565%20-565%20565%20-565%20-565zm1529%20399l971%20971%20971%20-972%20566%20565%200%200%20-1537%201537%20-1536%20-1536%20-1%20-1%20566%20-564%200%200zm2341%20-399l565%20-565%20565%20565%20-565%20565%20-565%20-565z%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22fil2%22%20d%3D%22M4380%203750l0%200%20-630%20-632%20-466%20467%200%200%20-54%2054%20-111%20111%20-1%201%201%201%20630%20630%20631%20-631%200%200%200%200%200%20-1zm0%200l0%200%200%200z%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3Cstyle%20xmlns%3D%22%22%3E%23yddContainer%7Bdisplay%3Ablock%3Bfont-family%3AMicrosoft%20YaHei%3Bposition%3Arelative%3Bwidth%3A100%25%3Bheight%3A100%25%3Btop%3A-4px%3Bleft%3A-4px%3Bfont-size%3A12px%3Bborder%3A1px%20solid%7D%23yddTop%7Bdisplay%3Ablock%3Bheight%3A22px%7D%23yddTopBorderlr%7Bdisplay%3Ablock%3Bposition%3Astatic%3Bheight%3A17px%3Bpadding%3A2px%2028px%3Bline-height%3A17px%3Bfont-size%3A12px%3Bcolor%3A%235079bb%3Bfont-weight%3Abold%3Bborder-style%3Anone%20solid%3Bborder-width%3A1px%7D%23yddTopBorderlr%20.ydd-sp%7Bposition%3Aabsolute%3Btop%3A2px%3Bheight%3A0%3Boverflow%3Ahidden%7D.ydd-icon%7Bleft%3A5px%3Bwidth%3A17px%3Bpadding%3A0px%200px%200px%200px%3Bpadding-top%3A17px%3Bbackground-position%3A-16px%20-44px%7D.ydd-close%7Bright%3A5px%3Bwidth%3A16px%3Bpadding-top%3A16px%3Bbackground-position%3Aleft%20-44px%7D%23yddKeyTitle%7Bfloat%3Aleft%3Btext-decoration%3Anone%7D%23yddMiddle%7Bdisplay%3Ablock%3Bmargin-bottom%3A10px%7D.ydd-tabs%7Bdisplay%3Ablock%3Bmargin%3A5px%200%3Bpadding%3A0%205px%3Bheight%3A18px%3Bborder-bottom%3A1px%20solid%7D.ydd-tab%7Bdisplay%3Ablock%3Bfloat%3Aleft%3Bheight%3A18px%3Bmargin%3A0%205px%20-1px%200%3Bpadding%3A0%204px%3Bline-height%3A18px%3Bborder%3A1px%20solid%3Bborder-bottom%3Anone%7D.ydd-trans-container%7Bdisplay%3Ablock%3Bline-height%3A160%25%7D.ydd-trans-container%20a%7Btext-decoration%3Anone%3B%7D%23yddBottom%7Bposition%3Aabsolute%3Bbottom%3A0%3Bleft%3A0%3Bwidth%3A100%25%3Bheight%3A22px%3Bline-height%3A22px%3Boverflow%3Ahidden%3Bbackground-position%3Aleft%20-22px%7D.ydd-padding010%7Bpadding%3A0%2010px%7D%23yddWrapper%7Bcolor%3A%23252525%3Bz-index%3A10001%3Bbackground%3Aurl%28chrome-extension%3A%2F%2Feopjamdnofihpioajgfdikhhbobonhbb%2Fab20.png%29%3B%7D%23yddContainer%7Bbackground%3A%23fff%3Bborder-color%3A%234b7598%7D%23yddTopBorderlr%7Bborder-color%3A%23f0f8fc%7D%23yddWrapper%20.ydd-sp%7Bbackground-image%3Aurl%28chrome-extension%3A%2F%2Feopjamdnofihpioajgfdikhhbobonhbb%2Fydd-sprite.png%29%7D%23yddWrapper%20a%2C%23yddWrapper%20a%3Ahover%2C%23yddWrapper%20a%3Avisited%7Bcolor%3A%2350799b%7D%23yddWrapper%20.ydd-tabs%7Bcolor%3A%23959595%7D.ydd-tabs%2C.ydd-tab%7Bbackground%3A%23fff%3Bborder-color%3A%23d5e7f3%7D%23yddBottom%7Bcolor%3A%23363636%7D%23yddWrapper%7Bmin-width%3A250px%3Bmax-width%3A400px%3B%7D%3C%2Fstyle%3E%3C%2Fsvg%3E",supportChains:[d.MAINNET,d.BSC],link:"https://www.bnbchain.world/en/binance-wallet",supportMobile:!1,disabled:function(){return!window.BinanceChain},connector:function(t,e){return m(window.BinanceChain,e)}},J={type:C.kuCoinWallet,showName:"KuCoin Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_5313_179352%29%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M16.0028%2026.7602L5.24537%2016.0028L16.0028%205.24537L26.7602%2016.0028L16.0028%2026.7602ZM16.0028%2013.0046C14.3521%2013.0046%2013.0046%2014.3465%2013.0046%2016.0028C13.0046%2017.6591%2014.3465%2019.001%2016.0028%2019.001C17.6591%2019.001%2019.001%2017.6591%2019.001%2016.0028C19.001%2014.3465%2017.6591%2013.0046%2016.0028%2013.0046ZM0.635845%2014.4644C-0.211948%2015.3122%20-0.211948%2016.6934%200.635845%2017.5356L14.4644%2031.3642C15.3122%2032.2119%2016.6934%2032.2119%2017.5356%2031.3642L31.3642%2017.5356C32.2119%2016.6878%2032.2119%2015.3066%2031.3642%2014.4644L17.5356%200.635845C16.6878%20-0.211948%2015.3066%20-0.211948%2014.4644%200.635845L0.635845%2014.4644Z%22%20fill%3D%22%2328CD96%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_5313_179352%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportMobile:!0,disabled:function(){return!window.kucoin},connector:function(t,e){return m(window.kucoin,e)},switchChain:g,link:"https://kuwallet.com/"},tt={type:C.frontier,showName:"Frontier",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M32%2016C32%207.16344%2024.8366%200%2016%200C7.16344%200%200%207.16344%200%2016C0%2024.8366%207.16344%2032%2016%2032C24.8366%2032%2032%2024.8366%2032%2016Z%22%20fill%3D%22%23CC703C%22%2F%3E%3Cpath%20d%3D%22M23.3502%208L23.2615%208.23476L22.971%208.9853L22.778%209.46909C21.3121%2013.0968%2020.1721%2014.8183%2018.9598%2014.8183C18.6535%2014.8264%2018.3488%2014.7706%2018.0652%2014.6546C17.7816%2014.5385%2017.5253%2014.3646%2017.3127%2014.1441L17.158%2014.0038C16.773%2013.6485%2016.611%2013.5609%2016.2402%2013.5609C16.0472%2013.5609%2015.7015%2013.807%2015.2647%2014.3853C14.6796%2015.214%2014.182%2016.1012%2013.7801%2017.0326L13.7308%2017.1418H18.9308L18.2832%2018.4879H13.428V24H12V8H23.3502ZM21.3268%209.34359H13.428V14.6751C14.3744%2013.0338%2015.2741%2012.2099%2016.2417%2012.2099C16.5671%2012.1995%2016.8911%2012.2568%2017.1932%2012.3781C17.4953%2012.4994%2017.7689%2012.6821%2017.9966%2012.9147L18.1562%2013.0594C18.5156%2013.3911%2018.654%2013.4674%2018.9612%2013.4674C19.2991%2013.4679%2020.1977%2012.0406%2021.3268%209.34359Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E",link:"https://www.frontier.xyz/download",disabled:function(){var t;return!(null===(t=window.frontier)||void 0===t?void 0:t.ethereum)},connector:function(t,e){var n;return m(null===(n=window.frontier)||void 0===n?void 0:n.ethereum,e)}},et={type:C.LedgerUSB,showName:"Ledger",logo:"data:image/svg+xml,%3Csvg%20width%3D%22146%22%20height%3D%22128%22%20viewBox%3D%220%200%20146%20128%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M90.262%20119.94V127.998H145.57V91.6548H137.511V119.94H90.262ZM90.262%200V8.05844H137.511V36.3452H145.57V0H90.262ZM63.4464%2036.3452H55.3879V91.6529H91.7332V84.3842H63.4464V36.3452ZM0%2091.6548V128H55.3076V119.94H8.05844V91.6548H0ZM0%200V36.3452H8.05844V8.05844H55.3076V0H0Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E",supportChains:[d.MAINNET,d.BSC,d.POLYGON],disabled:function(){return!y()},connector:function(t){return p(void 0,void 0,void 0,(function(){var e;return h(this,(function(n){switch(n.label){case 0:return y()&&t?[4,N()]:[3,2];case 1:return e=n.sent().default(t),[3,3];case 2:e=void 0,n.label=3;case 3:return[2,e]}}))}))}},nt={type:C.openBlock,showName:"OpenBlock",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M22.4526%204.41003C27.117%204.41003%2030.8983%208.19129%2030.8983%2012.8557V13.0548L27.9485%2016.0021L30.8983%2018.9466V19.1486C30.8983%2023.813%2027.117%2027.5943%2022.4526%2027.5943H1.08997L7.91802%2022.6262H19.3062C22.9645%2022.6262%2025.9302%2019.6605%2025.9302%2016.0021C25.9302%2012.3438%2022.9645%209.37809%2019.3062%209.37809H7.91802L1.08997%204.41003H22.4526ZM9.50802%2013.1867C7.95322%2013.1867%206.69279%2014.4472%206.69279%2016.002C6.69279%2017.5568%207.95319%2018.8172%209.50802%2018.8172H19.316C20.8708%2018.8172%2022.1312%2017.5568%2022.1312%2016.002C22.1312%2014.4472%2020.8708%2013.1867%2019.316%2013.1867H9.50802Z%22%20fill%3D%22%234A3DE6%22%2F%3E%3C%2Fsvg%3E",supportChains:[d.MAINNET,d.GOERLI,d.BSC,d.POLYGON,d.HECO,d.ARBITRUM_ONE,d.OKCHAIN,d.OPTIMISM,d.AVALANCHE],disabled:function(){return!window.openblock},connector:function(t,e){return m(window.openblock,e)},switchChain:g},ot={type:C.OneKey,showName:"OneKey",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_3105_80246%29%22%3E%3Cpath%20d%3D%22M32%2016C32%2027.0458%2027.0458%2032%2016%2032C4.95431%2032%200%2027.0458%200%2016C0%204.95431%204.95431%200%2016%200C27.0458%200%2032%204.95431%2032%2016Z%22%20fill%3D%22%2344D62C%22%2F%3E%3Cpath%20d%3D%22M17.4456%206.78467H12.9945L12.2136%209.14578H14.6858V14.1196H17.4456V6.78467Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.0764%2020.1391C21.0764%2022.9426%2018.8035%2025.2153%2016%2025.2153C13.1964%2025.2153%2010.9238%2022.9426%2010.9238%2020.1391C10.9238%2017.3355%2013.1964%2015.0629%2016%2015.0629C18.8035%2015.0629%2021.0764%2017.3355%2021.0764%2020.1391ZM18.7718%2020.1391C18.7718%2021.67%2017.5309%2022.9109%2016%2022.9109C14.4693%2022.9109%2013.2284%2021.67%2013.2284%2020.1391C13.2284%2018.6084%2014.4693%2017.3673%2016%2017.3673C17.5309%2017.3673%2018.7718%2018.6084%2018.7718%2020.1391Z%22%20fill%3D%22black%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_3105_80246%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",link:"https://onekey.so",supportMobile:!0,disabled:function(){var t;return!(null===(t=window.$onekey)||void 0===t?void 0:t.ethereum)&&!window.onekey},connector:function(t,e){var n;return m((null===(n=window.$onekey)||void 0===n?void 0:n.ethereum)||window.onekey,e)},switchChain:g},it={type:C.Bitkeep,showName:"Bitkeep",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M32%2016C32%207.16344%2024.8366%200%2016%200C7.16344%200%200%207.16344%200%2016C0%2024.8366%207.16344%2032%2016%2032C24.8366%2032%2032%2024.8366%2032%2016Z%22%20fill%3D%22%237524F9%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M25.5%2011.4007V12.4551C25.5003%2012.5571%2025.4733%2012.6573%2025.4218%2012.7457C25.3703%2012.834%2025.2963%2012.9074%2025.207%2012.9584L21.7727%2014.92L24.8408%2016.6677C25.0413%2016.7824%2025.2078%2016.9473%2025.3235%2017.1459C25.4393%2017.3445%2025.5003%2017.5698%2025.5%2017.799V20.6106C25.5003%2020.84%2025.4395%2021.0654%2025.3238%2021.2642C25.208%2021.4629%2025.0415%2021.6279%2024.8408%2021.7426L16.7717%2026.325C16.5713%2026.4398%2016.344%2026.5%2016.1126%2026.5C15.8811%2026.5%2015.6538%2026.4398%2015.4534%2026.325L12.813%2024.8153C12.7684%2024.7898%2012.7314%2024.7532%2012.7057%2024.7091C12.68%2024.665%2012.6664%2024.6149%2012.6664%2024.564C12.6664%2024.513%2012.68%2024.463%2012.7057%2024.4189C12.7314%2024.3748%2012.7684%2024.3382%2012.813%2024.3127L21.5288%2019.3459C21.551%2019.3331%2021.5694%2019.3148%2021.5823%2019.2928C21.5951%2019.2708%2021.6018%2019.2458%2021.6018%2019.2204C21.6018%2019.195%2021.5951%2019.1701%2021.5823%2019.148C21.5694%2019.126%2021.551%2019.1077%2021.5288%2019.0949L18.293%2017.2443C18.2039%2017.1933%2018.1029%2017.1665%2018%2017.1665C17.8972%2017.1665%2017.7961%2017.1933%2017.707%2017.2443L8.85425%2022.2931C8.78745%2022.3313%208.71168%2022.3514%208.63453%2022.3514C8.55738%2022.3514%208.4816%2022.3313%208.4148%2022.2931L7.4121%2021.7252C7.2106%2021.6107%207.04323%2021.4455%206.92695%2021.2463C6.81068%2021.0471%206.74963%2020.8211%206.75%2020.591V19.4416C6.74995%2019.3652%206.77023%2019.2901%206.8088%2019.2239C6.84738%2019.1577%206.90288%2019.1027%206.96973%2019.0645L19.6626%2011.8423C19.6848%2011.8296%2019.7032%2011.8113%2019.716%2011.7893C19.7289%2011.7672%2019.7356%2011.7423%2019.7356%2011.7169C19.7356%2011.6915%2019.7289%2011.6665%2019.716%2011.6445C19.7032%2011.6224%2019.6848%2011.6042%2019.6626%2011.5914L16.4216%209.73417C16.3326%209.68327%2016.2315%209.65645%2016.1287%209.65645C16.0258%209.65645%2015.9248%209.68327%2015.8357%209.73417L7.18945%2014.6575C7.14495%2014.683%207.09445%2014.6963%207.04305%2014.6964C6.99165%2014.6964%206.94115%2014.683%206.89663%2014.6576C6.8521%2014.6321%206.8151%2014.5956%206.78938%2014.5515C6.76363%2014.5075%206.75005%2014.4575%206.75%2014.4066V11.3869C6.74973%2011.1575%206.8105%2010.9321%206.92623%2010.7333C7.04195%2010.5346%207.20853%2010.3696%207.40918%2010.2549L15.4768%205.67385C15.6768%205.55995%2015.9035%205.5%2016.1342%205.5C16.3649%205.5%2016.5915%205.55995%2016.7915%205.67385L24.8408%2010.2708C25.0413%2010.3854%2025.2075%2010.55%2025.3233%2010.7484C25.439%2010.9467%2025.5%2011.1716%2025.5%2011.4007Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E",link:"https://bitkeep.com/download?type=2",mobileDeepLink:"https://bkcode.vip?action=dapp&url=$APP_URL",supportMobile:!0,disabled:function(){var t;return!(null===(t=window.bitkeep)||void 0===t?void 0:t.ethereum)},connector:function(t,e){var n;return m(null===(n=window.bitkeep)||void 0===n?void 0:n.ethereum,e)},switchChain:g},rt={type:C.Nabox,showName:"Nabox",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M2%208.98682V23.8908L6.31535%2026.3785V15.717L10.6153%2018.2006V28.8551L14.932%2031.3428V16.4374L2%208.98682Z%22%20fill%3D%22%232AC98B%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M11.8024%207.62299L16.1261%205.089L21.4983%208.23266L17.1773%2010.7554L11.8024%207.62299ZM16.1317%200L3.09741%207.62579L17.1535%2015.8669V32L21.417%2029.5165V13.1955L25.7253%2010.6727V26.9797L30.0519%2024.4331V8.14436L16.1317%200Z%22%20fill%3D%22%232AC98B%22%2F%3E%3C%2Fsvg%3E",link:"https://nabox.io/",supportMobile:!0,disabled:function(){return!window.NaboxWallet},connector:function(t,e){return m(window.NaboxWallet,e)},switchChain:g},at={type:C.OKX,showName:"OKX Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_1443_44689%29%22%3E%3Cpath%20d%3D%22M21%200H11C4.92487%200%200%204.92487%200%2011V21C0%2027.0751%204.92487%2032%2011%2032H21C27.0751%2032%2032%2027.0751%2032%2021V11C32%204.92487%2027.0751%200%2021%200Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.6063%206.99255H7.39351C7.17207%206.99255%206.99255%207.17207%206.99255%207.39351V12.6063C6.99255%2012.8278%207.17207%2013.0073%207.39351%2013.0073H12.6063C12.8278%2013.0073%2013.0073%2012.8278%2013.0073%2012.6063V7.39351C13.0073%207.17207%2012.8278%206.99255%2012.6063%206.99255ZM18.6237%2013.0073H13.4109C13.1895%2013.0073%2013.0099%2013.1869%2013.0099%2013.4083V18.6211C13.0099%2018.8426%2013.1895%2019.0221%2013.4109%2019.0221H18.6237C18.8452%2019.0221%2019.0247%2018.8426%2019.0247%2018.6211V13.4083C19.0247%2013.1869%2018.8452%2013.0073%2018.6237%2013.0073ZM19.4231%206.99255H24.6359C24.8574%206.99255%2025.0369%207.17207%2025.0369%207.39351V12.6063C25.0369%2012.8278%2024.8574%2013.0073%2024.6359%2013.0073H19.4231C19.2016%2013.0073%2019.0221%2012.8278%2019.0221%2012.6063V7.39351C19.0221%207.17207%2019.2016%206.99255%2019.4231%206.99255ZM12.6063%2019.0221H7.39351C7.17207%2019.0221%206.99255%2019.2016%206.99255%2019.4231V24.6359C6.99255%2024.8574%207.17207%2025.0369%207.39351%2025.0369H12.6063C12.8278%2025.0369%2013.0073%2024.8574%2013.0073%2024.6359V19.4231C13.0073%2019.2016%2012.8278%2019.0221%2012.6063%2019.0221ZM19.4231%2019.0221H24.6359C24.8574%2019.0221%2025.0369%2019.2016%2025.0369%2019.4231V24.6359C25.0369%2024.8574%2024.8574%2025.0369%2024.6359%2025.0369H19.4231C19.2016%2025.0369%2019.0221%2024.8574%2019.0221%2024.6359V19.4231C19.0221%2019.2016%2019.2016%2019.0221%2019.4231%2019.0221Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_1443_44689%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportMobile:!1,link:"https://www.okx.com/",disabled:function(){return!window.okxwallet},connector:function(t,e){return m(window.okxwallet,e)},switchChain:g},lt={type:C.WalletConnect,showName:"WalletConnect",logo:"data:image/svg+xml,%3Csvg%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3CradialGradient%20id%3D%22a%22%20cx%3D%220%25%22%20cy%3D%2250%25%22%20r%3D%22100%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%235d9df6%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23006fff%22%2F%3E%3C%2FradialGradient%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22m256%200c141.384896%200%20256%20114.615104%20256%20256s-114.615104%20256-256%20256-256-114.615104-256-256%20114.615104-256%20256-256z%22%20fill%3D%22url%28%23a%29%22%2F%3E%3Cpath%20d%3D%22m64.6917558%2037.7088298c51.5328072-50.2784397%20135.0839942-50.2784397%20186.6167992%200l6.202057%206.0510906c2.57664%202.5139218%202.57664%206.5897948%200%209.1037177l-21.215998%2020.6995759c-1.288321%201.2569619-3.3771%201.2569619-4.665421%200l-8.534766-8.3270205c-35.950573-35.0754962-94.237969-35.0754962-130.188544%200l-9.1400282%208.9175519c-1.2883217%201.2569609-3.3771016%201.2569609-4.6654208%200l-21.2159973-20.6995759c-2.5766403-2.5139229-2.5766403-6.5897958%200-9.1037177zm230.4934852%2042.8089117%2018.882279%2018.4227262c2.576627%202.5139103%202.576642%206.5897593.000032%209.1036863l-85.141498%2083.070358c-2.576623%202.513941-6.754182%202.513969-9.33084.000066-.00001-.00001-.000023-.000023-.000033-.000034l-60.428256-58.957451c-.64416-.628481-1.68855-.628481-2.33271%200-.000004.000004-.000008.000007-.000012.000011l-60.4269683%2058.957408c-2.5766141%202.513947-6.7541746%202.51399-9.3308408.000092-.0000151-.000014-.0000309-.000029-.0000467-.000046l-85.14386774-83.071463c-2.57663928-2.513921-2.57663928-6.589795%200-9.1037163l18.88231264-18.4226955c2.5766393-2.5139222%206.7541993-2.5139222%209.3308397%200l60.4291347%2058.9582758c.6441608.62848%201.6885495.62848%202.3327103%200%20.0000095-.000009.0000182-.000018.0000277-.000025l60.4261065-58.9582508c2.576581-2.51398%206.754142-2.5140743%209.33084-.0002103.000037.0000354.000072.0000709.000107.0001063l60.429056%2058.9583548c.644159.628479%201.688549.628479%202.332709%200l60.428079-58.9571925c2.57664-2.5139231%206.754199-2.5139231%209.330839%200z%22%20fill%3D%22%23fff%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%2898%20160%29%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E",supportMobile:!0,connector:function(t,e){return T(t,e)}},st={type:C.Portis,showName:"Portis",logo:"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20301.38%20455.87%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m4.45%20262.11%2010.93-4.75%20135.31-58.82%20146.24%2063.57-54.95%20113.43-134.33%2019-101-109z%22%20fill%3D%22%23133444%22%2F%3E%3Cpath%20d%3D%22m266.51%20192.16a150.43%20150.43%200%200%200%20-95.82-53q-1.2-.17-2.4-.3a152.36%20152.36%200%200%200%20-35.2%200q-1.2.14-2.4.3a150.43%20150.43%200%200%200%20-95.82%2053l-6.08%2010.08-10.13%2016.76-7.41%2012.31c-.14.33-.28.67-.41%201l-.09.23%2016.35%209.67%20103.6%2061.28%2020%2011.83v-146.47l-20%209.08v-21.93l20-9.09%2020%209.09%20101.9%2046.28z%22%20fill%3D%22%23c42370%22%2F%3E%3Cpath%20d%3D%22m301.38%20298.56c0%2048.78-23.18%2094.42-59.12%20123.84a149.45%20149.45%200%200%201%20-47.64%2026.37%20139.51%20139.51%200%200%201%20-43.93%207.1c-83.22%200-150.69-74.09-150.69-157.31a150.49%20150.49%200%200%201%204.45-36.45l146.24%2086.51%20146.24-86.51a150.49%20150.49%200%200%201%204.45%2036.45z%22%20fill%3D%22%231c4d6b%22%2F%3E%3Cpath%20d%3D%22m133.09%20138.89%2017.6%207.99-20%209.09v-18.17z%22%2F%3E%3Cpath%20d%3D%22m130.69%20177.93%2020-9.08v146.53l-20-11.83z%22%2F%3E%3Cpath%20d%3D%22m150.69%20168.85v146.53l140.13-82.89z%22%20fill%3D%22%231d4259%22%2F%3E%3Cpath%20d%3D%22m150.69%200v168.85l140.13%2063.64z%22%20fill%3D%22%234b6b9a%22%2F%3E%3Cpath%20d%3D%22m150.69%20168.85v146.53l-20-11.83-119.95-71-.18-.11.27-.12c.13-.33.27-.67.41-1l17.53-29.09%20101.92-46.23v22z%22%20fill%3D%22%23343535%22%2F%3E%3Cpath%20d%3D%22m150.69%20168.85v146.53l-20-11.83-119.95-70.95-.18-.11.27-.12%20119.86-54.44z%22%20fill%3D%22%233e5578%22%2F%3E%3Cpath%20d%3D%22m150.69%200v168.85l-140.13%2063.64z%22%20fill%3D%22%236db2d8%22%2F%3E%3Cg%20fill%3D%22%23335f8a%22%3E%3Cpath%20d%3D%22m94%20443.85c2.09.92%204.21%201.79%206.34%202.61q-3.26-1.23-6.34-2.61z%22%2F%3E%3Cpath%20d%3D%22m100.29%20446.46c2.14.82%204.29%201.59%206.47%202.31q-3.27-1.07-6.47-2.31z%22%2F%3E%3Cpath%20d%3D%22m112.33%20450.49c1.66.47%203.33.92%205%201.33q-2.51-.62-5-1.33z%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22m4.45%20262.11%20146.24%2086.51a167.48%20167.48%200%200%201%20-10.47%2038.38c-11.7%2028.28-35.34%2058.19-81.08%2035.44-35.96-29.44-59.14-75.1-59.14-123.88a150.49%20150.49%200%200%201%204.45-36.45z%22%20fill%3D%22%236db2d8%22%2F%3E%3Cpath%20d%3D%22m242.24%20422.41-.36.29c-.76.62-1.52%201.23-2.29%201.83l-.2.16q-1.25%201-2.52%201.92c-.91.68-1.83%201.36-2.76%202s-1.86%201.31-2.8%201.95-1.66%201.12-2.49%201.66l-.46.3c-.88.57-1.76%201.13-2.64%201.67a2.63%202.63%200%200%201%20-.33.2c-.91.57-1.82%201.12-2.74%201.65s-2%201.15-3%201.7-2%201.08-3%201.6l-.11.06c-1%20.52-2%201-3%201.52s-2%201-3.08%201.49-2.08%201-3.12%201.42c-2.09.92-4.21%201.79-6.34%202.61s-4.29%201.59-6.47%202.31c-.87.29-1.74.57-2.62.84s-2%20.6-2.95.88c-1.66.47-3.33.92-5%201.33-.63.16-1.27.31-1.91.45l-1.07.25c-.89.2-1.78.39-2.68.57s-1.64.33-2.47.48-1.51.28-2.27.4-1.68.27-2.52.39c-.41.07-.82.13-1.24.18l-1.89.25-1.05.13c-.69.09-1.39.16-2.09.23-.86.09-1.71.17-2.57.24-.67.05-1.34.11-2%20.15s-1.16.08-1.75.1h-.08c-.68%200-1.36.08-2%20.1-.94%200-1.89.07-2.84.09s-1.9%200-2.86%200-1.91%200-2.86%200-1.9%200-2.84-.09c-.69%200-1.37-.06-2.05-.1h-.08c-.59%200-1.17-.06-1.75-.1s-1.34-.1-2-.15c-.86-.07-1.71-.15-2.57-.24-.7-.07-1.4-.14-2.09-.23l-1-.13c-.63-.07-1.26-.16-1.89-.25-.42%200-.83-.11-1.24-.18q-1.27-.18-2.52-.39c-.76-.12-1.52-.26-2.27-.4s-1.65-.31-2.47-.48-1.79-.37-2.68-.57l-1.07-.25c-.64-.14-1.28-.29-1.91-.45-1.68-.41-3.35-.86-5-1.33l-3-.88c-.88-.27-1.75-.55-2.62-.84-2.18-.72-4.33-1.49-6.47-2.31s-4.29-1.67-6.29-2.59c-1-.46-2.08-.94-3.12-1.42s-2.06-1-3.08-1.49-2-1-3-1.52l-.11-.06c-1-.52-2-1.06-3-1.6s-2-1.12-3-1.7-1.79-1.06-2.69-1.65l-.33-.2c-.88-.54-1.76-1.1-2.64-1.67l-.46-.3c-.83-.54-1.67-1.1-2.49-1.66s-1.88-1.29-2.8-1.95-1.85-1.34-2.76-2-1.69-1.27-2.52-1.92l-.2-.16c-.77-.6-1.53-1.21-2.29-1.83l-.36-.29c45.74%2022.75%2069.38-7.16%2081.08-35.44a167.48%20167.48%200%200%200%2010.47-38.35%20167.47%20167.47%200%200%200%2010.46%2038.36c11.7%2028.25%2035.34%2058.16%2081.08%2035.41z%22%20fill%3D%22%23529bba%22%2F%3E%3Cpath%20d%3D%22m184%20451.82c1.68-.41%203.35-.86%205-1.33q-2.44.72-5%201.33z%22%20fill%3D%22%23335f8a%22%2F%3E%3Cpath%20d%3D%22m194.62%20448.77c2.18-.72%204.33-1.49%206.47-2.31q-3.19%201.24-6.47%202.31z%22%20fill%3D%22%23335f8a%22%2F%3E%3Cpath%20d%3D%22m201.09%20446.46c2.13-.82%204.25-1.69%206.34-2.61q-3.13%201.38-6.34%202.61z%22%20fill%3D%22%23335f8a%22%2F%3E%3Cpath%20d%3D%22m301.38%20298.56c0%2048.78-23.19%2094.43-59.14%20123.85-45.74%2022.75-69.38-7.16-81.08-35.44a167.47%20167.47%200%200%201%20-10.47-38.35l146.24-86.51a150.49%20150.49%200%200%201%204.45%2036.45z%22%20fill%3D%22%234b6b9a%22%2F%3E%3C%2Fsvg%3E",supportChains:[d.MAINNET,d.GOERLI],checked:function(t){return!!t.PORTIS_ID},connector:function(t,e){return P(t,e)}},ct={type:C.Gnosis,showName:"Gnosis",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_2721_64477%29%22%3E%3Cmask%20id%3D%22mask0_2721_64477%22%20style%3D%22mask-type%3Aluminance%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2232%22%20height%3D%2232%22%3E%3Cpath%20d%3D%22M16%2032C24.8366%2032%2032%2024.8366%2032%2016C32%207.16344%2024.8366%200%2016%200C7.16344%200%200%207.16344%200%2016C0%2024.8366%207.16344%2032%2016%2032Z%22%20fill%3D%22white%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url%28%23mask0_2721_64477%29%22%3E%3Cpath%20d%3D%22M32.064%20-2.60797H-1.53601V34.288H32.064V-2.60797Z%22%20fill%3D%22url%28%23paint0_linear_2721_64477%29%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M24.9623%2015.994H22.7763C22.1235%2015.994%2021.5946%2016.5233%2021.5946%2017.1757V20.3482C21.5946%2021.001%2021.0653%2021.53%2020.4128%2021.53H11.7162C11.0634%2021.53%2010.5344%2022.0593%2010.5344%2022.7117V24.8977C10.5344%2025.5505%2011.0637%2026.0794%2011.7162%2026.0794H20.9162C21.569%2026.0794%2022.0909%2025.5501%2022.0909%2024.8977V23.1441C22.0909%2022.4913%2022.6202%2022.0279%2023.2727%2022.0279H24.9623C25.6151%2022.0279%2026.144%2021.4986%2026.144%2020.8461V17.1617C26.144%2016.5089%2025.6147%2015.9937%2024.9623%2015.9937V15.994Z%22%20fill%3D%22%23121312%22%2F%3E%3Cpath%20d%3D%22M10.5338%2011.6515C10.5338%2010.9987%2011.0631%2010.4698%2011.7156%2010.4698H20.4068C21.0596%2010.4698%2021.5885%209.94051%2021.5885%209.28803V7.10211C21.5885%206.44931%2021.0593%205.92035%2020.4068%205.92035H11.2119C10.5591%205.92035%2010.0301%206.44963%2010.0301%207.10211V8.78627C10.0301%209.43907%209.50086%209.96803%208.84838%209.96803H7.16614C6.51334%209.96803%205.98438%2010.4973%205.98438%2011.1498V14.8381C5.98438%2015.4909%206.51558%2015.9933%207.16838%2015.9933H9.3543C10.0071%2015.9933%2010.5361%2015.464%2010.5361%2014.8115L10.5341%2011.6519L10.5338%2011.6515Z%22%20fill%3D%22%23121312%22%2F%3E%3Cpath%20d%3D%22M15.0352%2013.6964H17.1351C17.8192%2013.6964%2018.3747%2014.2519%2018.3747%2014.936V17.0359C18.3747%2017.72%2017.8192%2018.2755%2017.1351%2018.2755H15.0352C14.3511%2018.2755%2013.7955%2017.72%2013.7955%2017.0359V14.936C13.7955%2014.2519%2014.3511%2013.6964%2015.0352%2013.6964Z%22%20fill%3D%22%23121312%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_2721_64477%22%20x1%3D%22-0.47809%22%20y1%3D%2229.2685%22%20x2%3D%2237.0896%22%20y2%3D%22-2.77789%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2312FF80%22%2F%3E%3Cstop%20offset%3D%220.13%22%20stop-color%3D%22%2315FD85%22%2F%3E%3Cstop%20offset%3D%220.29%22%20stop-color%3D%22%231FF896%22%2F%3E%3Cstop%20offset%3D%220.49%22%20stop-color%3D%22%2330F1B2%22%2F%3E%3Cstop%20offset%3D%220.69%22%20stop-color%3D%22%2348E7D9%22%2F%3E%3Cstop%20offset%3D%220.87%22%20stop-color%3D%22%235FDDFF%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22clip0_2721_64477%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportChains:[d.MAINNET,d.GOERLI,d.BSC,d.POLYGON,d.ARBITRUM_ONE,d.AURORA,d.AVALANCHE,d.OPTIMISM],link:"https://app.safe.global/welcome",disabled:function(){return p(void 0,void 0,void 0,(function(){return h(this,(function(t){switch(t.label){case 0:return[4,I()];case 1:return[4,t.sent().getIsSafe()];case 2:return[2,!t.sent()]}}))}))},connector:function(t,e){return p(void 0,void 0,void 0,(function(){return h(this,(function(t){switch(t.label){case 0:return[4,I()];case 1:return[2,t.sent().default(e)]}}))}))}},dt={type:C.uAuth,showName:"Unstoppable",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M32%202.47278V13.3668L0%2026.2392L32%202.47278Z%22%20fill%3D%22%2300C9FF%22%2F%3E%3Cpath%20d%3D%22M26.001%202V20.7929C26.001%2023.4191%2024.9474%2025.9378%2023.0719%2027.7948C21.1964%2029.6519%2018.6527%2030.6951%2016.0004%2030.6951C13.3481%2030.6951%2010.8044%2029.6519%208.92887%2027.7948C7.05339%2025.9378%205.99976%2023.4191%205.99976%2020.7929V12.8741L11.9991%209.60487V20.7929C11.943%2021.2811%2011.9916%2021.7757%2012.1418%2022.244C12.2922%2022.7124%2012.5406%2023.144%2012.8711%2023.5107C13.2016%2023.8773%2013.6066%2024.1707%2014.0596%2024.3715C14.5126%2024.5724%2015.0033%2024.6763%2015.4996%2024.6763C15.9959%2024.6763%2016.4866%2024.5724%2016.9396%2024.3715C17.3925%2024.1707%2017.7976%2023.8773%2018.128%2023.5107C18.4585%2023.144%2018.7071%2022.7124%2018.8573%2022.244C19.0076%2021.7757%2019.0563%2021.2811%2019%2020.7929V5.79246L26.001%202Z%22%20fill%3D%22%230D67FE%22%2F%3E%3C%2Fsvg%3E",connector:function(t,e){return p(void 0,void 0,void 0,(function(){var n;return h(this,(function(o){switch(o.label){case 0:return[4,Z()];case 1:return[2,o.sent().default(u(u({},t),{uAuthParams:u(u({walletConnect:function(){return lt.connector?lt.connector(t,e):Promise.resolve(void 0)}},t.uAuthParams),{clientID:null===(n=t.uAuthParams)||void 0===n?void 0:n.clientID})}),e)]}}))}))},disconnect:function(){return p(void 0,void 0,void 0,(function(){return h(this,(function(t){switch(t.label){case 0:return[4,Z()];case 1:return[4,(0,t.sent().disconnectWallet)()];case 2:return t.sent(),[2]}}))}))}},Ct=Object.freeze({__proto__:null,WalletLink:X,BSC:Q,KuCoin:J,Frontier:tt,Ledger:et,OpenBlock:nt,OneKey:ot,Bitkeep:it,Nabox:rt,OKXWallet:at,WalletConnect:lt,Portis:st,Gnosis:ct,UAuth:dt}),ut={type:C.injected,showName:"MetaMask",link:"https://metamask.io",logo:"data:image/svg+xml,%3Csvg%20height%3D%22355%22%20viewBox%3D%220%200%20397%20355%22%20width%3D%22397%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20transform%3D%22translate%28-1%20-1%29%22%3E%3Cpath%20d%3D%22m114.622644%20327.195472%2052.004717%2013.810198v-18.05949l4.245283-4.249292h29.716982v21.246459%2014.872523h-31.839624l-39.268868-16.997169z%22%20fill%3D%22%23cdbdb2%22%2F%3E%3Cpath%20d%3D%22m199.528305%20327.195472%2050.943397%2013.810198v-18.05949l4.245283-4.249292h29.716981v21.246459%2014.872523h-31.839623l-39.268868-16.997169z%22%20fill%3D%22%23cdbdb2%22%20transform%3D%22matrix%28-1%200%200%201%20483.96227%200%29%22%2F%3E%3Cpath%20d%3D%22m170.872644%20287.889523-4.245283%2035.056657%205.306604-4.249292h55.18868l6.367925%204.249292-4.245284-35.056657-8.490565-5.311615-42.452832%201.062323z%22%20fill%3D%22%23393939%22%2F%3E%3Cpath%20d%3D%22m142.216984%2050.9915022%2025.471698%2059.4900858%2011.674528%20173.158643h41.391511l12.735849-173.158643%2023.349056-59.4900858z%22%20fill%3D%22%23f89c35%22%2F%3E%3Cpath%20d%3D%22m30.7783023%20181.657226-29.71698153%2086.048161%2074.29245393-4.249293h47.7594343v-37.181303l-2.122641-76.487253-10.613208%208.498583z%22%20fill%3D%22%23f89d35%22%2F%3E%3Cpath%20d%3D%22m87.0283032%20191.218134%2087.0283028%202.124646-9.551886%2044.617563-41.391511-10.623229z%22%20fill%3D%22%23d87c30%22%2F%3E%3Cpath%20d%3D%22m87.0283032%20192.280457%2036.0849058%2033.994334v33.994334z%22%20fill%3D%22%23ea8d3a%22%2F%3E%3Cpath%20d%3D%22m123.113209%20227.337114%2042.452831%2010.623229%2013.79717%2045.679888-9.551886%205.311615-46.698115-27.620398z%22%20fill%3D%22%23f89d35%22%2F%3E%3Cpath%20d%3D%22m123.113209%20261.331448-8.490565%2065.864024%2056.25-39.305949z%22%20fill%3D%22%23eb8f35%22%2F%3E%3Cpath%20d%3D%22m174.056606%20193.34278%205.306604%2090.297451-15.919812-46.211049z%22%20fill%3D%22%23ea8e3a%22%2F%3E%3Cpath%20d%3D%22m74.2924539%20262.393771%2048.8207551-1.062323-8.490565%2065.864024z%22%20fill%3D%22%23d87c30%22%2F%3E%3Cpath%20d%3D%22m24.4103777%20355.878193%2090.2122663-28.682721-40.3301901-64.801701-73.23113313%205.311616z%22%20fill%3D%22%23eb8f35%22%2F%3E%3Cpath%20d%3D%22m167.688682%20110.481588-45.636793%2038.243627-35.0235858%2042.492919%2087.0283028%203.186969z%22%20fill%3D%22%23e8821e%22%2F%3E%3Cpath%20d%3D%22m114.622644%20327.195472%2056.25-39.305949-4.245283%2033.994334v19.121813l-38.207548-7.43626z%22%20fill%3D%22%23dfcec3%22%2F%3E%3Cpath%20d%3D%22m229.245286%20327.195472%2055.18868-39.305949-4.245283%2033.994334v19.121813l-38.207548-7.43626z%22%20fill%3D%22%23dfcec3%22%20transform%3D%22matrix%28-1%200%200%201%20513.679252%200%29%22%2F%3E%3Cpath%20d%3D%22m132.665096%20212.464593-11.674528%2024.433427%2041.39151-10.623229z%22%20fill%3D%22%23393939%22%20transform%3D%22matrix%28-1%200%200%201%20283.372646%200%29%22%2F%3E%3Cpath%20d%3D%22m23.349057%201.06232296%20144.339625%20109.41926504-24.410378-59.4900858z%22%20fill%3D%22%23e88f35%22%2F%3E%3Cpath%20d%3D%22m23.349057%201.06232296-19.10377392%2058.42776294%2010.61320772%2063.7393781-7.42924541%204.249292%2010.61320771%209.560906-8.49056617%207.436261%2011.67452847%2010.623229-7.4292454%206.373938%2016.9811323%2021.246459%2079.5990577-24.433428c38.915096-31.161473%2058.018869-47.096318%2057.311322-47.804533-.707548-.708215-48.820756-37.1813036-144.339625-109.41926504z%22%20fill%3D%22%238e5a30%22%2F%3E%3Cg%20transform%3D%22matrix%28-1%200%200%201%20399.056611%200%29%22%3E%3Cpath%20d%3D%22m30.7783023%20181.657226-29.71698153%2086.048161%2074.29245393-4.249293h47.7594343v-37.181303l-2.122641-76.487253-10.613208%208.498583z%22%20fill%3D%22%23f89d35%22%2F%3E%3Cpath%20d%3D%22m87.0283032%20191.218134%2087.0283028%202.124646-9.551886%2044.617563-41.391511-10.623229z%22%20fill%3D%22%23d87c30%22%2F%3E%3Cpath%20d%3D%22m87.0283032%20192.280457%2036.0849058%2033.994334v33.994334z%22%20fill%3D%22%23ea8d3a%22%2F%3E%3Cpath%20d%3D%22m123.113209%20227.337114%2042.452831%2010.623229%2013.79717%2045.679888-9.551886%205.311615-46.698115-27.620398z%22%20fill%3D%22%23f89d35%22%2F%3E%3Cpath%20d%3D%22m123.113209%20261.331448-8.490565%2065.864024%2055.18868-38.243626z%22%20fill%3D%22%23eb8f35%22%2F%3E%3Cpath%20d%3D%22m174.056606%20193.34278%205.306604%2090.297451-15.919812-46.211049z%22%20fill%3D%22%23ea8e3a%22%2F%3E%3Cpath%20d%3D%22m74.2924539%20262.393771%2048.8207551-1.062323-8.490565%2065.864024z%22%20fill%3D%22%23d87c30%22%2F%3E%3Cpath%20d%3D%22m24.4103777%20355.878193%2090.2122663-28.682721-40.3301901-64.801701-73.23113313%205.311616z%22%20fill%3D%22%23eb8f35%22%2F%3E%3Cpath%20d%3D%22m167.688682%20110.481588-45.636793%2038.243627-35.0235858%2042.492919%2087.0283028%203.186969z%22%20fill%3D%22%23e8821e%22%2F%3E%3Cpath%20d%3D%22m132.665096%20212.464593-11.674528%2024.433427%2041.39151-10.623229z%22%20fill%3D%22%23393939%22%20transform%3D%22matrix%28-1%200%200%201%20283.372646%200%29%22%2F%3E%3Cpath%20d%3D%22m23.349057%201.06232296%20144.339625%20109.41926504-24.410378-59.4900858z%22%20fill%3D%22%23e88f35%22%2F%3E%3Cpath%20d%3D%22m23.349057%201.06232296-19.10377392%2058.42776294%2010.61320772%2063.7393781-7.42924541%204.249292%2010.61320771%209.560906-8.49056617%207.436261%2011.67452847%2010.623229-7.4292454%206.373938%2016.9811323%2021.246459%2079.5990577-24.433428c38.915096-31.161473%2058.018869-47.096318%2057.311322-47.804533-.707548-.708215-48.820756-37.1813036-144.339625-109.41926504z%22%20fill%3D%22%238e5a30%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E",supportMobile:!0,mobileDeepLink:"https://metamask.app.link/dapp/$host",switchChain:g,disabled:function(){return!window.ethereum}},pt=Object.values(Y),ht=Object.values(Ct),ft=D(D([ut],f(pt),!1),f(ht),!1),Dt=u(u({},Y),Ct),wt=u(u({},nt),{disabled:function(){return!1},type:C.openBlockIframe,connector:O}),vt=[lt.showName,ut.showName,X.showName];function mt(t){var e,n,o=void 0===t?{}:t,i=o.PORTIS_ID,r=o.chainId,a=o.includes,l=o.excludes,s=o.keysSort,c=o.mobileKeysSort,d=o.showSupportExtensionInjected,u=o.afterHooks,p=L(),h=(!a||a.includes(C.injected))&&(!l||!l.includes(C.injected)),w={PORTIS_ID:i},v=[],g=!1;h&&((n=pt.find((function(t){if(!t.disabled)throw new Error("injected wallet need checked");return!t.disabled()})))||(n=ut),n.connector=function(t,e){return m(void 0,e)},v.push(n),g=!!n.disabled&&!n.disabled());var E=function(t){return!(null==l?void 0:l.includes(t.type))&&(!(t.checked&&t.type!==C.injected&&!t.checked(w))&&(!(r&&t.supportChains&&!t.supportChains.includes(r))&&!(a&&!a.includes(t.type))))};if(p)if(g)E(lt)&&v.push(lt);else{ft.forEach((function(t){return!(!E(t)||!t.supportMobile||t.showName===(null==n?void 0:n.showName))&&(v.push(t),!0)}));var F=(null!==(e=null!=c?c:s)&&void 0!==e?e:[]).map((function(t){var e=Dt[t];if(!e)throw new Error("unknown key ".concat(t));return e.showName})).filter((function(t){return!vt.includes(t)})),b=D(D([],f(vt),!1),f(F),!1);v=v.sort((function(t,e){var n=b.indexOf(t.showName),o=b.indexOf(e.showName);return-1===n&&(n=999),-1===o&&(o=999),n-o}))}else{var y=[];if(d&&pt.forEach((function(t){return!(!t.supportExtension||!E(t)||t.showName===(null==n?void 0:n.showName))&&(y.push(t),!0)})),ht.forEach((function(t){return!!E(t)&&(y.push(t),!0)})),s){var x=s.map((function(t){var e=Dt[t];if(!e)throw new Error("unknown key ".concat(t));return e.showName}));y=y.sort((function(t,e){var n=x.indexOf(t.showName),o=x.indexOf(e.showName);return-1===n&&(n=999),-1===o&&(o=999),n-o}))}v=D(D([],f(v),!1),f(y),!1)}return u?u({isMobile:p,PORTIS_ID:i,chainId:r,includes:a,excludes:l,showSupportExtensionInjected:d,hasInjectedWallet:g,walletList:v}):v}function gt(){return p(this,void 0,void 0,(function(){return h(this,(function(t){switch(t.label){case 0:return"undefined"==typeof window||window.top===window?[3,4]:[4,I()];case 1:return[4,t.sent().getIsSafe()];case 2:return t.sent()?[2,ct]:[4,V()];case 3:if(t.sent())return[2,wt];t.label=4;case 4:return[2,void 0]}}))}))}function Et(){return p(this,void 0,void 0,(function(){var t,e,n,o=this;return h(this,(function(i){switch(i.label){case 0:return t=[],e=[],n=new Set,ft.forEach((function(i){if(i.disabled){var r=i.disabled(),a=i.type===C.injected;"boolean"==typeof r?a&&r?t.push(i.showName):r&&n.add(i.type):e.push((function(){return p(o,void 0,void 0,(function(){return h(this,(function(t){switch(t.label){case 0:return[4,r];case 1:return t.sent()&&n.add(i.type),[2]}}))}))}))}})),[4,Promise.all(e.map((function(t){return t()})))];case 1:return i.sent(),[2,function(e){return e.type===C.injected?t.includes(e.showName):n.has(e.type)}]}}))}))}var Ft=i({chainId:1,account:void 0,accounts:void 0,provider:void 0,walletType:void 0,connectLoading:!1,connected:void 0});a(Ft,{name:"dodo-wallet",enabled:!0});var bt,yt=[{constant:!0,inputs:[],name:"totalSupply",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_to",type:"address"},{name:"_value",type:"uint256"}],name:"transfer",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"guy",type:"address"},{name:"wad",type:"uint256"}],name:"approve",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"_owner",type:"address"}],name:"balanceOf",outputs:[{name:"balance",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"_owner",type:"address"},{name:"_spender",type:"address"}],name:"allowance",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"}];function xt(){var t=Ft.provider;if(!t)throw new Error("provider is undefined");return t}!function(t){t[t.Failed=0]="Failed",t[t.Success=1]="Success",t[t.Warning=2]="Warning"}(bt||(bt={}));var At=function(t){return p(void 0,void 0,void 0,(function(){var e,n,o,i,r,a;return h(this,(function(l){switch(l.label){case 0:e=t.value,n=t.from,o=t.to,i=t.data,r={from:n,to:o,value:e,data:i},e&&!/^0x0*$/.test(e)||delete r.value,a=xt(),l.label=1;case 1:return l.trys.push([1,3,,4]),[4,a.estimateGas(r)];case 2:return[2,l.sent().add(5e4)];case 3:return l.sent(),a.call(t).then((function(t){if("test"!==process.env.NODE_ENV)throw new Error("Unexpected issue with estimating the gas. Please try again.")})).catch((function(t){if("test"!==process.env.NODE_ENV)throw t})),[3,4];case 4:return[2,null]}}))}))},Lt=function(){return p(void 0,void 0,void 0,(function(){var t;return h(this,(function(e){switch(e.label){case 0:t=xt(),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,t.getGasPrice()];case 2:return[2,e.sent()];case 3:return e.sent(),t.call({}).then((function(t){throw new Error("Unexpected issue with getting the gas price. Please try again.")})).catch((function(t){throw t})),[3,4];case 4:return[2,null]}}))}))},Bt=function(t){return p(void 0,void 0,void 0,(function(){var e,n,o,i,r;return h(this,(function(a){switch(a.label){case 0:e=xt(),a.label=1;case 1:return a.trys.push([1,6,,7]),[4,e.getSigner().sendTransaction(t)];case 2:return n=a.sent(),(null===(r=Ft.connected)||void 0===r?void 0:r.isSafe)&&Ft.account?[4,I()]:[3,5];case 3:return[4,a.sent().getSafeTxHash(Ft.chainId,Ft.account,n.hash)];case 4:return o=a.sent(),[2,u(u({},n),{hash:o})];case 5:return[2,n];case 6:throw 4001===(null==(i=a.sent())?void 0:i.code)?new Error("Transaction rejected."):i;case 7:return[2]}}))}))};function kt(t,i,r){if(!function(t){try{return o(t)}catch(t){return!1}}(t)||t===e)throw Error("Invalid 'address' parameter '".concat(t,"'."));var a=null!=r?r:xt(),l=Ft.account;return new n(t,i,function(t,e){return e?function(t,e){return t.getSigner(e).connectUnchecked()}(t,e):t}(a,l))}var Mt=new Map;function _t(e,n){return p(this,void 0,void 0,(function(){var o;return h(this,(function(i){return!e||e===Ft.chainId&&Ft.provider?[2,Ft.provider]:Mt.has(e)?[2,Mt.get(e)]:(o=new t(n),Mt.set(e,o),[2,o])}))}))}var Ht=function(t,e,n){return p(void 0,void 0,void 0,(function(){var o,i,r,a;return h(this,(function(l){switch(l.label){case 0:return o=kt(t,yt),i=o.interface.encodeFunctionData("approve",[e,n]),r={from:Ft.account,to:t,data:i,value:"0x0",gasLimit:void 0},[4,At(r)];case 1:return(a=l.sent())&&(r.gasLimit=a),[4,Bt(r)];case 2:return[2,l.sent()]}}))}))};function Vt(t,e,n,o,i){var r;return p(this,void 0,void 0,(function(){var a,l,s,c,d,C,p,D;return h(this,(function(h){switch(h.label){case 0:a=xt(),h.label=1;case 1:if(e.killSwitch)return[3,11];h.label=2;case 2:return h.trys.push([2,8,,9]),(null===(r=Ft.connected)||void 0===r?void 0:r.isSafe)?[4,I()]:[3,5];case 3:return[4,h.sent().getSafeTxStatus(Ft.chainId,t,Ft.account)];case 4:return"rejected"===(l=h.sent())?[2,{status:bt.Warning,transactionReceipt:null}]:(s=void 0,l&&(s=l.status?bt.Success:bt.Failed),void 0!==s?[2,{status:s,transactionReceipt:l?u(u({},l),{blockNumber:l.blockNumber||void 0,status:l.status?1:0}):null}]:[3,7]);case 5:return[4,Promise.all([i?i(t):a.getTransactionReceipt(t),a.getTransactionCount(null!=o?o:"")])];case 6:if(c=f.apply(void 0,[h.sent(),2]),d=c[0],C=c[1],console.log("[TX Watch] Web3",d,"/Current Nonce ",C,"/TX Nonce",n),p=void 0,d&&(p=d.status?bt.Success:bt.Failed),void 0===p&&n&&C>n&&(p=bt.Warning),void 0!==p)return[2,{status:p,transactionReceipt:d}];h.label=7;case 7:return[3,9];case 8:return D=h.sent(),console.error("[TX Watch] Error",D.message),[3,9];case 9:return[4,new Promise((function(t){return setTimeout(t,e.interval)}))];case 10:return h.sent(),[3,1];case 11:return[2,null]}}))}))}var Ot=function(){function t(t){var e=t.cacheKey,n=t.stateController;this.cacheKey=e,this.stateController=n}return t.prototype.setCacheType=function(t){localStorage.setItem(this.cacheKey,t)},t.prototype.removeCache=function(){localStorage.removeItem(this.cacheKey)},t.prototype.getCacheType=function(){return localStorage.getItem(this.cacheKey)},t.prototype.getConnectedWallet=function(){return p(this,void 0,void 0,(function(){var t,e;return h(this,(function(n){switch(n.label){case 0:return Ft.connectLoading?[4,Promise.race([new Promise((function(t){e=l((function(e){!1===e(Ft).connectLoading&&t(!0)}))})),new Promise((function(e){t=setTimeout((function(){e(!1)}),4e3)}))])]:[3,2];case 1:n.sent(),clearTimeout(t),e&&e(),n.label=2;case 2:return[2,this._wallet]}}))}))},t.prototype.connectWallet=function(t,e,n){var o=(void 0===n?{}:n).isAutoConnect;return p(this,void 0,void 0,(function(){var n,i,r,a=this;return h(this,(function(l){switch(l.label){case 0:if(!t)throw new Error("wallet is not valid.");if(!t.connector)throw new Error("".concat(t.showName," is not valid."));return this.stateController.setConnectLoading(!0),n=t.type,[4,(0,t.connector)(e,{connect:function(t){var e=t.chainId,n=parseInt(e,16);n&&a.stateController.setChainId(n)},accountsChanged:function(t){a.stateController.setAccounts(t)},chainChanged:function(t){var e=parseInt(t,16);e&&a.stateController.setChainId(e)},message:function(){},disconnect:function(t){a.stateController.setConnected(void 0)}})];case 1:return(i=l.sent())?(this.setCacheType(n),this._wallet=t,[4,this.stateController.setProvider(i,n)]):[3,3];case 2:l.sent(),r=n===C.Gnosis,this.stateController.setConnected({isAutoConnect:!!o,wallet:t,isSafe:r}),!r&&n===C.WalletConnect&&Ft.account&&I().then((function(e){e.getAccountIsSafe(Ft.chainId,Ft.account).then((function(e){e&&a.stateController.setConnected({isAutoConnect:!!o,wallet:t,isSafe:!0})}))})),l.label=3;case 3:return this.stateController.setConnectLoading(!1),[2,i]}}))}))},t.prototype.disconnectWallet=function(){var t;return p(this,void 0,void 0,(function(){return h(this,(function(e){switch(e.label){case 0:return this.getCacheType()?(null===(t=this._wallet)||void 0===t?void 0:t.disconnect)?[4,this._wallet.disconnect()]:[3,2]:[2];case 1:e.sent(),e.label=2;case 2:return this._wallet=void 0,this.removeCache(),this.stateController.initialize(),[2]}}))}))},t}(),Nt=function(){function e(t){var e=t.rpcUrl;this.rpcUrl=e,this.state=Ft}return e.prototype.setConnectLoading=function(t){Ft.connectLoading=t},e.prototype.setProvider=function(t,e){return p(this,void 0,void 0,(function(){var n,o;return h(this,(function(i){switch(i.label){case 0:return Ft.provider=r(t),[4,t.getNetwork()];case 1:return n=i.sent().chainId,o=[],e?[4,t.listAccounts()]:[3,3];case 2:o=i.sent(),i.label=3;case 3:return Ft.chainId=n,e?(Ft.walletType=e,Ft.accounts=o,Ft.account=Ft.accounts[0]):(Ft.account=void 0,Ft.accounts=void 0,Ft.walletType=void 0),[2]}}))}))},e.prototype.getProvider=function(){return Ft.provider},e.prototype.getState=function(){return Ft},e.prototype.setRpcUrl=function(e){if(this.rpcUrl=e,!Ft.provider){var n=new t(this.rpcUrl);this.setProvider(n)}},e.prototype.setChainId=function(t){Ft.chainId=null!=t?t:1},e.prototype.setAccounts=function(t){Ft.accounts=t,Ft.account=t.length?t[0]:void 0},e.prototype.setConnected=function(t){Ft.connected=t},e.prototype.initialize=function(){if(this.rpcUrl){var e=new t(this.rpcUrl);this.setProvider(e)}else Ft.chainId=1,Ft.account=void 0,Ft.accounts=void 0,Ft.walletType=void 0,Ft.provider=void 0},e}(),It={cacheKey:"DODO-WALLET-CACHED-PROVIDER"},Zt=function(){function t(t){var e;this.isOpenBlockIframe=!1,this.isSafeIframe=!1;var n=u(u({},It),t),o=n.providerConfig,i=n.walletListConfig,r=n.cacheKey;this.providerConfig=o;var a=mt(u({PORTIS_ID:null===(e=o.portisParams)||void 0===e?void 0:e.id},i));this.walletListConfig=i;var l=new Nt({rpcUrl:o.rpcUrl});this.stateController=l,this.connectController=new Ot({cacheKey:r,stateController:l}),this.autoConnect(a)}return t.prototype.autoConnect=function(t){return p(this,void 0,void 0,(function(){var e,n,o,i,r,a=this;return h(this,(function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),e=function(t){return a.connectToWallet(t,void 0,{isAutoConnect:!0})},[4,gt()];case 1:return(n=l.sent())?[2,e(n)]:(o=this.connectController.getCacheType())&&(i=t.find((function(t){return t.type===o})))?[2,e(i)]:[3,3];case 2:return r=l.sent(),console.error(r),[3,3];case 3:return this.stateController.initialize(),[2]}}))}))},t.prototype.setRpcUrl=function(t){this.stateController.setRpcUrl(t)},t.prototype.getWalletList=function(t,e){var n;return mt(u(u({PORTIS_ID:null===(n=this.providerConfig.portisParams)||void 0===n?void 0:n.id,chainId:t},this.walletListConfig),e))},t.prototype.connectToWallet=function(t,e,n){return void 0===n&&(n={}),p(this,void 0,void 0,(function(){return h(this,(function(o){return e&&(this.providerConfig=u(u({},this.providerConfig),e)),[2,this.connectController.connectWallet(t,this.providerConfig,n)]}))}))},t.prototype.disconnectWallet=function(){return this.connectController.disconnectWallet()},t.prototype.connectWalletBefore=function(t,e){if(Ft.walletType===t.type&&Ft.account)return!1;if(e){var n=t.link;return x()?n=t.mobileAndroidDeepLink||t.mobileDeepLink||t.link:A()&&(n=t.mobileIOSDeepLink||t.mobileDeepLink||t.link),n&&window.open(n),!1}return!0},t.prototype.clickWallet=function(t,e,n){this.connectWalletBefore(t,e)&&this.connectToWallet(t,n)},t}();export{At as A,Lt as B,Zt as C,Bt as D,kt as E,_t as F,Ht as G,b as H,Vt as I,wt as O,C as W,p as _,h as a,D as b,f as c,v as d,c as e,u as f,pt as g,ft as h,m as i,mt as j,gt as k,Et as l,Y as m,Ct as n,N as o,I as p,Z as q,P as r,ht as s,z as t,T as u,g as v,Ft as w,O as x,V as y,bt as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as r,w as t,b as n,c as s,d as o,H as a}from"./index-
|
|
1
|
+
import{_ as e,a as r,w as t,b as n,c as s,d as o,H as a}from"./index-6b9ad9a8.js";export{H as HD_PATH_LIST}from"./index-6b9ad9a8.js";import{JsonRpcEngine as i}from"json-rpc-engine";import{deepCopy as c}from"@ethersproject/properties";import{TypedDataUtils as u,SignTypedDataVersion as d}from"@metamask/eth-sig-util";import{createWalletMiddleware as p,createFetchMiddleware as h}from"@metamask/eth-json-rpc-middleware";import{providerFromEngine as l}from"@metamask/eth-json-rpc-provider";import v from"@ledgerhq/hw-app-eth";import{hexlify as f}from"@ethersproject/bytes";import{serialize as m}from"@ethersproject/transactions";import g from"@ledgerhq/hw-transport-webhid";import"@ethersproject/providers";import"@ethersproject/constants";import"@ethersproject/contracts";import"@ethersproject/address";import"valtio";import"valtio/utils";var w=function(){return e(void 0,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,g.create()];case 1:return[2,e.sent()]}}))}))},b={LEGACY:0,ACCESS_LIST:1,FEE_MARKET:2},x={};function P(n){return e(this,void 0,void 0,(function(){var e,s;return r(this,(function(r){switch(r.label){case 0:return void 0!==x[n]?[2,x[n]]:t.provider?[4,t.provider.getBlock("latest")]:[2,!1];case 1:return e=r.sent(),s=void 0!==e.baseFeePerGas,x[n]=s,[2,s]}}))}))}function E(t,n,s){return e(this,void 0,void 0,(function(){var e,o;return r(this,(function(r){switch(r.label){case 0:return(e=n).type=b.LEGACY,s?[4,P(t)]:[2,e];case 1:return r.sent()?[4,s(t)]:[3,3];case 2:(null==(o=r.sent())?void 0:o.maxFeePerGas)&&(null==o?void 0:o.maxPriorityFeePerGas)&&(e.maxFeePerGas=o.maxFeePerGas,e.maxPriorityFeePerGas=o.maxPriorityFeePerGas,e.type=b.FEE_MARKET),r.label=3;case 3:return[2,e]}}))}))}var y=function(t,o,a,i,c,u){return void 0===u&&(u=[]),e(void 0,void 0,void 0,(function(){var e,d,p;return r(this,(function(r){switch(r.label){case 0:return e=o.replace(/x/g,String(a+i)),[4,t.getAddress(e)];case 1:return d=r.sent(),p=n(n([],s(u),!1),[{path:e,account:d.address}],!1),a<c?[4,y(t,o,a+1,i,c,p)]:[3,3];case 2:p=r.sent(),r.label=3;case 3:return[2,p]}}))}))},S=function(t,n,s){return void 0===n&&(n=1),void 0===s&&(s=5),e(void 0,void 0,void 0,(function(){var e,o,a,i;return r(this,(function(r){switch(r.label){case 0:return[4,w()];case 1:e=r.sent(),o=new v(e),r.label=2;case 2:return r.trys.push([2,,6,7]),-1!==t.indexOf("x")?[3,4]:[4,o.getAddress(t)];case 3:return i=r.sent(),[2,[{path:t,account:i.address}]];case 4:return[4,y(o,t,0,n*s-s,s-1)];case 5:return a=r.sent(),[3,7];case 6:return e.close(),[7];case 7:return[2,a]}}))}))},j=1;function A(t){var n,s=t.chainId,g=void 0===s?1:s,b=t.rpcUrl,x=t.fetchGasPrice,P=t.ledgerParams;return e(this,void 0,void 0,(function(){var t,s,y,A,F,G,I,T,k,q=this;return r(this,(function(L){switch(L.label){case 0:if(!b)throw new Error("Ledger USB provider requires rpcUrl");return t=null!==(n=null==P?void 0:P.path)&&void 0!==n?n:a[0].path,s=null==P?void 0:P.account,y=s?[s]:[],s?[3,3]:[4,S(t)];case 1:return[4,L.sent().map((function(e){return e.account}))];case 2:y=L.sent(),s=y[0],L.label=3;case 3:return A=new i,F=function(){return e(q,void 0,void 0,(function(){return r(this,(function(e){return[2,Promise.resolve(y)]}))}))},G=function(n){return e(q,void 0,void 0,(function(){var e,s,o,a;return r(this,(function(r){switch(r.label){case 0:if(!t)throw new Error("address unknown '".concat(n.from,"'"));return[4,w()];case 1:e=r.sent(),r.label=2;case 2:return r.trys.push([2,,4,5]),[4,new v(e).signPersonalMessage(t,f(n.data).substring(2))];case 3:return s=r.sent(),o=parseInt(String(s.v),10)-27,(a=o.toString(16)).length<2&&(a="0".concat(o)),[2,"0x".concat(s.r).concat(s.s).concat(a)];case 4:return e.close(),[7];case 5:return[2]}}))}))},I=function(n){return e(q,void 0,void 0,(function(){var e,s,o,a,i,c;return r(this,(function(r){switch(r.label){case 0:if(!t)throw new Error("address unknown '".concat(n.from,"'"));return[4,w()];case 1:e=r.sent(),r.label=2;case 2:return r.trys.push([2,,5,6]),s=new v(e),[4,E(g,n,x)];case 3:return o=r.sent(),a={chainId:g,data:o.data,gasLimit:o.gasLimit||o.gas,to:o.to,value:o.value},i=m(a).substring(2),[4,s.signTransaction(t,i)];case 4:return c=r.sent(),[2,m(a,{v:parseInt("0x".concat(c.v),2),r:"0x".concat(c.r),s:"0x".concat(c.s)})];case 5:return e.close(),[7];case 6:return[2]}}))}))},T=function(n){return e(q,void 0,void 0,(function(){var e,s,o,a,i,c,p,h,l,f,m,g;return r(this,(function(r){switch(r.label){case 0:return[4,w()];case 1:e=r.sent(),r.label=2;case 2:if(r.trys.push([2,,4,5]),!t)throw new Error("address unknown '".concat(n.from,"'"));return s=new v(e),o=JSON.parse(n.data),a=o.domain,i=o.types,c=o.primaryType,p=o.message,h=u.hashStruct("EIP712Domain",a,i,d.V4).toString("hex"),l=u.hashStruct(c,p,i,d.V4).toString("hex"),[4,s.signEIP712HashedMessage(t,h,l)];case 3:return f=r.sent(),m=parseInt(String(f.v),10),(g=m.toString(16)).length<2&&(g="0".concat(g)),[2,"0x".concat(f.r).concat(f.s).concat(g)];case 4:return e.close(),[7];case 5:return[2]}}))}))},A.push(p({getAccounts:F,processPersonalMessage:G,processTransaction:I,processTypedMessageV4:T})),A.push(h({rpcUrl:b})),k=l(A),[2,o((function(e,r){var t={method:e,params:r,id:j+=1,jsonrpc:"2.0"},n="ledgerFetcher";return new Promise((function(e,r){k.emit("debug",{action:"request",fetcher:n,request:c(t),provider:k}),k.sendAsync(t,(function(s,o){if(s)return k.emit("debug",{action:"response",fetcher:n,error:s,request:t,provider:k}),r(s);if(k.emit("debug",{action:"response",fetcher:n,request:t,response:o,provider:k}),o.error){var a=new Error(o.error.message);return a.code=o.error.code,a.data=o.error.data,r(a)}e(o.result)}))}))}))]}}))}))}function F(t){return e(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,A(t)];case 1:return[2,e.sent()]}}))}))}export{A as createProvider,F as default,S as getAccountList,w as getTransport};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,a as e,d as n,c as r,w as s}from"./index-6b9ad9a8.js";import a from"@safe-global/safe-apps-sdk";import{SafeAppProvider as o}from"@safe-global/safe-apps-provider";import i from"@safe-global/api-kit";import"@ethersproject/providers";import"@ethersproject/constants";import"@ethersproject/contracts";import"@ethersproject/address";import"valtio";import"valtio/utils";var c,u;function f(){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return u||(u=new a),void 0!==c?[3,2]:[4,Promise.race([u.safe.getInfo(),new Promise((function(t){return setTimeout(t,200)}))])];case 1:c=t.sent(),t.label=2;case 2:return[2,c]}}))}))}function l(){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,f()];case 1:return[2,!!t.sent()]}}))}))}function h(r){return t(this,void 0,void 0,(function(){var t,s;return e(this,(function(e){switch(e.label){case 0:return[4,f()];case 1:if(!(t=e.sent()))throw Error("Could not load Safe information");return(s=new o(t,u)).on("connect",r.connect),s.on("disconnect",r.disconnect),s.on("accountsChanged",r.accountsChanged),s.on("chainChanged",r.chainChanged),s.on("message",r.message),[2,n(s)]}}))}))}var d,p={1:"https://safe-transaction-mainnet.safe.global/",5:"https://safe-transaction-goerli.safe.global/",42161:"https://safe-transaction-arbitrum.safe.global/",43114:"https://safe-transaction-avalanche.safe.global/",1313161554:"https://safe-transaction-aurora.safe.global/",56:"https://safe-transaction-bsc.safe.global/",10:"https://safe-transaction-optimism.safe.global/",137:"https://safe-transaction-polygon.safe.global/"};function v(n){return t(this,void 0,void 0,(function(){var r,a,o;return e(this,(function(c){if((null==d?void 0:d.chainId)===n)return[2,d.safeService];if(!s.provider)throw new Error("provider is undefined");return r=function(){var n=this;return{getEip3770Address:function(r){return t(n,void 0,void 0,(function(){var t,n,s;return e(this,(function(e){return t=function(t){var e=t.split(":"),n=e.length>1?e[1]:e[0];return{prefix:e.length>1?e[0]:"",address:n}}(r),n=t.address,s=t.prefix,[2,{address:n,prefix:s}]}))}))}}}(),(a=p[n])?(o=new i({txServiceUrl:a,ethAdapter:r}),[2,(d={safeService:o,chainId:n}).safeService]):[2,void 0]}))}))}function b(n,r){return t(this,void 0,void 0,(function(){var t,s;return e(this,(function(e){switch(e.label){case 0:return r?[4,v(n)]:[2,!1];case 1:if(!(t=e.sent()))return[2,!1];e.label=2;case 2:return e.trys.push([2,4,,5]),[4,t.getSafeInfo(r)];case 3:return[2,!!e.sent()];case 4:return s=e.sent(),console.error(s),[2,!1];case 5:return[2]}}))}))}function g(n,s,a){return t(this,void 0,void 0,(function(){var t,o,i;return e(this,(function(e){switch(e.label){case 0:return[4,v(n)];case 1:return(t=e.sent())?a!==s?[2,a]:[4,t.getMultisigTransactions(a)]:(console.error("chainId: ".concat(n," is not supported safe")),[2,a]);case 2:return o=e.sent(),i=r(o.results,1),[2,i[0].safeTxHash]}}))}))}function m(n,r,s){return t(this,void 0,void 0,(function(){var t,a,o,i;return e(this,(function(e){switch(e.label){case 0:return[4,v(n)];case 1:if(!(t=e.sent()))throw new Error("chainId: ".concat(n," is not supported safe"));e.label=2;case 2:return e.trys.push([2,4,,5]),[4,t.getMultisigTransactions(s)];case 3:return a=e.sent().results,(o=a.find((function(t){return t.safeTxHash.toLocaleLowerCase()===r.toLocaleLowerCase()})))?a.some((function(t){return!(t.nonce!==o.nonce||t.safeTxHash.toLocaleLowerCase()===r.toLocaleLowerCase()||!t.isExecuted||!t.isSuccessful)}))?[2,"rejected"]:null===o.isExecuted||null===o.isSuccessful?[2,null]:[2,{status:o.isExecuted&&o.isSuccessful||!1,transactionHash:o.transactionHash,blockNumber:o.blockNumber||null}]:[2,null];case 4:throw i=e.sent(),console.error(i),new Error("safeTxHash: ".concat(r," is not valid."));case 5:return[2]}}))}))}function w(t,e,n){var r={1:"eth",5:"gor",137:"matic",56:"bnb",42161:"arb1",10:"oeth",43114:"avax",1313161554:"aurora"}[e];if(!r)throw new Error("Not Supported network: ".concat(e));return"https://app.safe.global/transactions/tx?id=multisig_".concat(n,"_").concat(t,"&safe=").concat(r,"%3A").concat(n)}export{h as default,b as getAccountIsSafe,f as getConnectedSafe,l as getIsSafe,w as getSafeHashDetailUrl,g as getSafeTxHash,m as getSafeTxStatus};
|