forked from ethereum/remix-live
-
Notifications
You must be signed in to change notification settings - Fork 0
/
2879.0.36.3.1697209639220.js
2 lines (2 loc) · 2.45 KB
/
2879.0.36.3.1697209639220.js
1
2
"use strict";(self["webpackChunk"]=self["webpackChunk"]||[]).push([[2879],{42879:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__='/**\n * var basex = require("base-x");\n *\n * This implementation is heavily based on base-x. The main reason to\n * deviate was to prevent the dependency of Buffer.\n *\n * Contributors:\n *\n * base-x encoding\n * Forked from https://github.com/cryptocoinjs/bs58\n * Originally written by Mike Hearn for BitcoinJ\n * Copyright (c) 2011 Google Inc\n * Ported to JavaScript by Stefan Thomas\n * Merged Buffer refactorings from base58-native by Stephen Pair\n * Copyright (c) 2013 BitPay Inc\n *\n * The MIT License (MIT)\n *\n * Copyright base-x contributors (c) 2016\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the "Software"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense,\n * and/or sell copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n *\n */\nimport { BytesLike } from "@ethersproject/bytes";\nexport declare class BaseX {\n readonly alphabet: string;\n readonly base: number;\n _alphabetMap: {\n [character: string]: number;\n };\n _leader: string;\n constructor(alphabet: string);\n encode(value: BytesLike): string;\n decode(value: string): Uint8Array;\n}\ndeclare const Base32: BaseX;\ndeclare const Base58: BaseX;\nexport { Base32, Base58 };\n//# sourceMappingURL=index.d.ts.map'}}]);
//# sourceMappingURL=2879.0.36.3.1697209639220.js.map