-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 26b174d
Showing
1,045 changed files
with
2,809 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"applinks": { | ||
"apps": [], | ||
"details": [ | ||
{ | ||
"appIDs": [ | ||
"BVJ3FU5H2K.so.onekey.wallet" | ||
], | ||
"components": [ | ||
{ | ||
"#": "no_universal_links", | ||
"exclude": true, | ||
"comment": "Matches any URL whose fragment equals no_universal_links and instructs the system not to open it as a universal link" | ||
}, | ||
{ | ||
"/": "/account/*", | ||
"comment": "Matches any URL whose path starts with /account/" | ||
}, | ||
{ | ||
"/": "/wc/*", | ||
"comment": "Matches any URL associate with wallet-connect" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[ | ||
{ | ||
"relation": [ | ||
"delegate_permission/common.handle_all_urls" | ||
], | ||
"target": { | ||
"namespace": "android_app", | ||
"package_name": "so.onekey.app.wallet", | ||
"sha256_cert_fingerprints": [ | ||
"F5:CC:38:B7:06:A5:C1:D6:F0:94:78:5D:FD:F5:8E:09:3C:E3:31:4E:35:A7:F3:5B:2A:79:C1:05:0C:07:E3:84" | ||
] | ||
} | ||
} | ||
] |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
/* | ||
* [js-sha512]{@link https://github.com/emn178/js-sha512} | ||
* | ||
* @version 0.8.0 | ||
* @author Chen, Yi-Cyuan [emn178@gmail.com] | ||
* @copyright Chen, Yi-Cyuan 2014-2018 | ||
* @license MIT | ||
*/ | ||
|
||
/*! | ||
|
||
JSZip v3.10.1 - A JavaScript class for generating and reading zip files | ||
<http://stuartk.com/jszip> | ||
|
||
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com> | ||
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. | ||
|
||
JSZip uses the library pako released under the MIT license : | ||
https://github.com/nodeca/pako/blob/main/LICENSE | ||
*/ | ||
|
||
/*! | ||
localForage -- Offline Storage, Improved | ||
Version 1.10.0 | ||
https://localforage.github.io/localForage | ||
(c) 2013-2017 Mozilla, Apache License 2.0 | ||
*/ | ||
|
||
/*! (c) Stefan Thomas | https://github.com/bitcoinjs/bitcoinjs-lib | ||
*/ | ||
|
||
/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/ | ||
*/ | ||
|
||
/*! (c) Tom Wu, Kenji Urushima | http://www-cs-students.stanford.edu/~tjw/jsbn/ | ||
*/ | ||
|
||
/*! Mike Samuel (c) 2009 | code.google.com/p/json-sans-eval | ||
*/ | ||
|
||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ | ||
|
||
/** | ||
* @license | ||
* Lodash <https://lodash.com/> | ||
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/> | ||
* Released under MIT license <https://lodash.com/license> | ||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> | ||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | ||
*/ | ||
|
||
/** | ||
* [js-crc]{@link https://github.com/emn178/js-crc} | ||
* | ||
* @namespace crc | ||
* @version 0.2.0 | ||
* @author Chen, Yi-Cyuan [emn178@gmail.com] | ||
* @copyright Chen, Yi-Cyuan 2015-2017 | ||
* @license MIT | ||
*/ | ||
|
||
/** | ||
* [js-sha256]{@link https://github.com/emn178/js-sha256} | ||
* | ||
* @version 0.9.0 | ||
* @author Chen, Yi-Cyuan [emn178@gmail.com] | ||
* @copyright Chen, Yi-Cyuan 2014-2017 | ||
* @license MIT | ||
*/ | ||
|
||
/** | ||
* [js-sha3]{@link https://github.com/emn178/js-sha3} | ||
* | ||
* @version 0.8.0 | ||
* @author Chen, Yi-Cyuan [emn178@gmail.com] | ||
* @copyright Chen, Yi-Cyuan 2015-2018 | ||
* @license MIT | ||
*/ | ||
|
||
/*** | ||
* @license | ||
* https://github.com/bitcoincashjs/cashaddr | ||
* Copyright (c) 2017 Emilio Almansi | ||
* Distributed under the MIT software license, see the accompanying | ||
* file LICENSE or http://www.opensource.org/licenses/mit-license.php. | ||
*/ |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* | ||
object-assign | ||
(c) Sindre Sorhus | ||
@license MIT | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta httpequiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1.00001,viewport-fit=cover"/><title>OneKey</title><style></style><script>!function(){window.$$onekeyPerfTrace={timeline:[],log:({name:e,payload:n})=>{const t=window.$$onekeyPerfTrace.timeline[window.$$onekeyPerfTrace.timeline.length-1],o=window.performance.now(),i=(new Date).toLocaleString();window.$$onekeyPerfTrace.timeline.push({lag:parseInt(String(t?o-t.elapsed:0),10),name:e,time:i,elapsed:parseInt(String(o),10),payload:n}),window.$$onekeyPerfTrace.timeline=window.$$onekeyPerfTrace.timeline.slice(-200)}},window.$$onekeyPerfTrace.log({name:"APP_START: preload-html-head.js start"});const e=localStorage.getItem("ONEKEY_THEME_PRELOAD");"dark"===e&&(document.documentElement.style.backgroundColor="rgb(19, 19, 27)"),"light"!==e&&"system"!==e||(document.documentElement.style.backgroundColor="white");try{!function(){const e=new Map;window.$$onekeyWindowResizeEventMap=e,window.addEventListenerOld=window.addEventListener,window.removeEventListenerOld=window.removeEventListener,window.addEventListener=(n,t)=>{if("resize"===n){const o=function(e,n=600){let t;return(...o)=>{clearTimeout(t),t=setTimeout((()=>{e.apply(this,o)}),n)}}(t,300);e.set(t,o),window.addEventListenerOld(n,o)}else window.addEventListenerOld(n,t)},window.removeEventListener=(n,t)=>{if("resize"===n){const o=e.get(t);o&&(e.delete(t),window.removeEventListenerOld(n,o))}else window.removeEventListenerOld(n,t)}}()}catch(e){}}()</script><meta name="description" content="Multi-chain support for BTC/ETH/BNB/NEAR/Polygon/Solana/Avalanche/Fantom and others"><link rel="manifest" href="/manifest.json" integrity="sha384-Y6WLjBqS6kkc9oEy0uXyGy7xMONddacmily+o6muWzEJ/i55a4v9Llcza9agvOf8" crossorigin="anonymous"><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16.png" integrity="sha384-N0QaMHPsXNVycMD2b+VbmdQSG0vMyz1cAn36EpMccfz6VKaoGcEt2nRslocdDw0B" crossorigin="anonymous"><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png" integrity="sha384-IcLGEmmuDUnomMPz22jpnk8PcrSUUKAMQfF2uuk3FBvwt8DtEhGwOiEEdRC8ffxH" crossorigin="anonymous"><link rel="shortcut icon" href="/favicon.ico" integrity="sha384-WRvwD7ZrOGEZBLKdiu4ipPQuiWreQRMVVGI2YKYLg7seC1joTc3vvPJWdAhRzWZf" crossorigin="anonymous"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-touch-fullscreen" content="yes"><meta name="apple-mobile-web-app-title" content="web"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><script defer="defer" src="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/48751.bundle.js" integrity="sha384-XZmQY6Hha3VIGw/68pPqtKV6SzAl7+UBUsL6sU2Z+caxxHK5m612+09YokCn9w6X" crossorigin="anonymous"></script><script defer="defer" src="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/8347.bundle.js" integrity="sha384-7dphuLiB/8jvMJHazUAb8mo+dHDM+HaEq8T/eOhD8+w2EyzWRPAjUg6S+WTFbGyv" crossorigin="anonymous"></script><script defer="defer" src="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/19731.bundle.js" integrity="sha384-NJnO7kcTB3NKEt3AyachrKWyRIz3iraUrVwcZo5hBbTnmxRD9uODEsSB/AWNSwzn" crossorigin="anonymous"></script><script defer="defer" src="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/44132.bundle.js" integrity="sha384-VVNksfwaSpNWCOXX1wPYdQnvlrcNxpYe4DX0lmcL1U75cmEegi/SrFUVJDZzAA0y" crossorigin="anonymous"></script><script defer="defer" src="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/3690.bundle.js" integrity="sha384-rMyHvmKL+gaeT7cYP2kDjHbEKUHiF1kw+kctoNJ44t7wqFQBREYbvKjyB9xqQEhU" crossorigin="anonymous"></script><script defer="defer" src="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/64446.bundle.js" integrity="sha384-dDOffNg8NhMDaGE1xRdDklUgir87wxvOxhhUjEp1go3DBB1oNPMeiUEozyYfPrOF" crossorigin="anonymous"></script><script defer="defer" src="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/82451.bundle.js" integrity="sha384-L1CGBr1JhCD2VNZFXG5+kQhHWGWwg+dJA/DjLD3/1RmUek4bEuBULsO02yd3fczj" crossorigin="anonymous"></script><script defer="defer" src="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/61101.bundle.js" integrity="sha384-ahEwLQ7XJ82Ihu3zx2wyhdwbazaphlxj70loG1kRwL4rdiiJAb0fBSwgDNNK/Ln+" crossorigin="anonymous"></script><script defer="defer" src="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/93491.bundle.js" integrity="sha384-G8mN1xscaScJ4lhSw71+HaW7djBuwXoOy4NG2xNJ6W19+jduajXWHxrXg39ASNxN" crossorigin="anonymous"></script><script defer="defer" src="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/main.d5ef20ee.bundle.js" integrity="sha384-IYpvmhM2ZV9tz7NvT9DOCjoibtUK2GgZ2yDR3Ks5NqxEUbAaup64Fue8XGhSzbDe" crossorigin="anonymous"></script><script defer="defer" src="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/main.43dd7041.bundle.js" integrity="sha384-JebZrrK53tQjXv8NwCJkZAtq+O3dkxxwYsTpvgtbxGqWNis1SKpcQzkwLNbfKsJf" crossorigin="anonymous"></script><script defer="defer" src="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/main.7b510241.bundle.js" integrity="sha384-Wy+tdbN7PyL6DYZDIpedhQSrcp5ie1KM11Qq6ubWeGOQe0m3Eb2wl93NuoNPFHym" crossorigin="anonymous"></script><script defer="defer" src="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/main.e5c5563a.bundle.js" integrity="sha384-xTV8OikZbdz0rRSpNIyJf3VHWX3suVQbRWkCEVo3H4Y+iQJOmfgfo9tJwGoFqGum" crossorigin="anonymous"></script><script defer="defer" src="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/main.dc58a3a4.bundle.js" integrity="sha384-jTu+TgPKp1yAsL6KjZC+vBdkN6I///e3j344UJ1n8/uV7mwDX7MvPGhWMqVnwbHI" crossorigin="anonymous"></script><link href="https://asset.onekey-asset.com/app-monorepo/2d33ffdfb25021768848e5c8f53c999e33193ad3/static/css/main.dc58a3a4.9a6e2d61.css" rel="stylesheet" integrity="sha384-ZIGebsW8wz7u/sZz9JYegK44R9oW9lTn4Ga0VODYvtqSc3NChOEHGb5TR+cp5ydi" crossorigin="anonymous"></head><body class="onekey-body" data-platform="web" data-browser="" data-filename="index.html-not-correct-in-ext"><noscript><form action="" style="background-color:#fff;position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999"><div style="font-size:18px;font-family:Helvetica,sans-serif;line-height:24px;margin:10%;width:80%"><p>Oh no! It looks like JavaScript is not enabled in your browser.</p><p style="margin:20px 0"><button type="submit" style="background-color:#4630eb;border-radius:100px;border:none;box-shadow:none;color:#fff;cursor:pointer;font-weight:700;line-height:20px;padding:6px 16px">Reload</button></p></div></form></noscript><div id="root"></div><img width="80" class="onekey-index-html-preload-image" style="position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)" src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCIgdmlld0JveD0iMCAwIDEyOCAxMjgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF80NTkyMl84OCkiPgo8cGF0aCBkPSJNMTI3LjYxIDYzLjgwNDlDMTI3LjYxIDEwNy44NTMgMTA3Ljg1MyAxMjcuNjEgNjMuODA0OSAxMjcuNjFDMTkuNzU2OCAxMjcuNjEgMCAxMDcuODUzIDAgNjMuODA0OUMwIDE5Ljc1NjggMTkuNzU2OCAwIDYzLjgwNDkgMEMxMDcuODUzIDAgMTI3LjYxIDE5Ljc1NjggMTI3LjYxIDYzLjgwNDlaIiBmaWxsPSIjM0JEMjNEIi8+CjxwYXRoIGQ9Ik02OS41Njk5IDI3LjA1NTdMNTEuODE5NyAyNy4wNTU3TDQ4LjcwNTYgMzYuNDcxOUg1OC41NjQ1TDU4LjU2NDUgNTYuMzA2M0g2OS41Njk5VjI3LjA1NTdaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTg0LjA0ODYgODAuMzExMUM4NC4wNDg2IDkxLjQ5MTIgNzQuOTg1NCAxMDAuNTU0IDYzLjgwNTMgMTAwLjU1NEM1Mi42MjUzIDEwMC41NTQgNDMuNTYyMSA5MS40OTEyIDQzLjU2MjEgODAuMzExMUM0My41NjIxIDY5LjEzMTEgNTIuNjI1MyA2MC4wNjc4IDYzLjgwNTMgNjAuMDY3OEM3NC45ODU0IDYwLjA2NzggODQuMDQ4NiA2OS4xMzExIDg0LjA0ODYgODAuMzExMVpNNzQuODU4NCA4MC4zMTExQzc0Ljg1ODQgODYuNDE1NSA2OS45MDk3IDkxLjM2NDEgNjMuODA1MyA5MS4zNjQxQzU3LjcwMDggOTEuMzY0MSA1Mi43NTIyIDg2LjQxNTUgNTIuNzUyMiA4MC4zMTExQzUyLjc1MjIgNzQuMjA2NiA1Ny43MDA4IDY5LjI1OCA2My44MDUzIDY5LjI1OEM2OS45MDk3IDY5LjI1OCA3NC44NTg0IDc0LjIwNjYgNzQuODU4NCA4MC4zMTExWiIgZmlsbD0iYmxhY2siLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF80NTkyMl84OCI+CjxyZWN0IHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4IiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="/></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/*! | ||
* mustache.js - Logic-less {{mustache}} templates with JavaScript | ||
* http://github.com/janl/mustache.js | ||
*/ | ||
|
||
/*! | ||
* depd | ||
* Copyright(c) 2015 Douglas Christopher Wilson | ||
* MIT Licensed | ||
*/ | ||
|
||
/*! | ||
* http-errors | ||
* Copyright(c) 2014 Jonathan Ong | ||
* Copyright(c) 2016 Douglas Christopher Wilson | ||
* MIT Licensed | ||
*/ | ||
|
||
/*! | ||
* statuses | ||
* Copyright(c) 2014 Jonathan Ong | ||
* Copyright(c) 2016 Douglas Christopher Wilson | ||
* MIT Licensed | ||
*/ | ||
|
||
/*! noble-ed25519 - MIT License (c) 2019 Paul Miller (paulmillr.com) */ | ||
|
||
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */ | ||
|
||
/*! noble-secp256k1 - MIT License (c) 2019 Paul Miller (paulmillr.com) */ | ||
|
||
//! goToAndStop must be relative to the start of the current segment |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/*! | ||
* The buffer module from node.js, for the browser. | ||
* | ||
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org> | ||
* @license MIT | ||
*/ | ||
|
||
/*! | ||
* The buffer module from node.js, for the browser. | ||
* | ||
* @author Feross Aboukhadijeh <https://feross.org> | ||
* @license MIT | ||
*/ | ||
|
||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ | ||
|
||
/** | ||
* @file {@link http://asmjs.org Asm.js} implementation of the {@link https://en.wikipedia.org/wiki/Advanced_Encryption_Standard Advanced Encryption Standard}. | ||
* @author Artem S Vybornov <vybornov@gmail.com> | ||
* @license MIT | ||
*/ | ||
|
||
/** | ||
* @license bytebuffer.js (c) 2015 Daniel Wirtz <dcode@dcode.io> | ||
* Backing buffer: ArrayBuffer, Accessor: Uint8Array | ||
* Released under the Apache License, Version 2.0 | ||
* see: https://github.com/dcodeIO/bytebuffer.js for details | ||
*/ | ||
|
||
/** | ||
* @license long.js (c) 2013 Daniel Wirtz <dcode@dcode.io> | ||
* Released under the Apache License, Version 2.0 | ||
* see: https://github.com/dcodeIO/long.js for details | ||
*/ |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
/*! | ||
* toidentifier | ||
* Copyright(c) 2016 Douglas Christopher Wilson | ||
* MIT Licensed | ||
*/ | ||
|
||
/** | ||
* Support for translating between Uint8Array instances and JavaScript | ||
* native types. | ||
* | ||
* {@link module:Layout~Layout|Layout} is the basis of a class | ||
* hierarchy that associates property names with sequences of encoded | ||
* bytes. | ||
* | ||
* Layouts are supported for these scalar (numeric) types: | ||
* * {@link module:Layout~UInt|Unsigned integers in little-endian | ||
* format} with {@link module:Layout.u8|8-bit}, {@link | ||
* module:Layout.u16|16-bit}, {@link module:Layout.u24|24-bit}, | ||
* {@link module:Layout.u32|32-bit}, {@link | ||
* module:Layout.u40|40-bit}, and {@link module:Layout.u48|48-bit} | ||
* representation ranges; | ||
* * {@link module:Layout~UIntBE|Unsigned integers in big-endian | ||
* format} with {@link module:Layout.u16be|16-bit}, {@link | ||
* module:Layout.u24be|24-bit}, {@link module:Layout.u32be|32-bit}, | ||
* {@link module:Layout.u40be|40-bit}, and {@link | ||
* module:Layout.u48be|48-bit} representation ranges; | ||
* * {@link module:Layout~Int|Signed integers in little-endian | ||
* format} with {@link module:Layout.s8|8-bit}, {@link | ||
* module:Layout.s16|16-bit}, {@link module:Layout.s24|24-bit}, | ||
* {@link module:Layout.s32|32-bit}, {@link | ||
* module:Layout.s40|40-bit}, and {@link module:Layout.s48|48-bit} | ||
* representation ranges; | ||
* * {@link module:Layout~IntBE|Signed integers in big-endian format} | ||
* with {@link module:Layout.s16be|16-bit}, {@link | ||
* module:Layout.s24be|24-bit}, {@link module:Layout.s32be|32-bit}, | ||
* {@link module:Layout.s40be|40-bit}, and {@link | ||
* module:Layout.s48be|48-bit} representation ranges; | ||
* * 64-bit integral values that decode to an exact (if magnitude is | ||
* less than 2^53) or nearby integral Number in {@link | ||
* module:Layout.nu64|unsigned little-endian}, {@link | ||
* module:Layout.nu64be|unsigned big-endian}, {@link | ||
* module:Layout.ns64|signed little-endian}, and {@link | ||
* module:Layout.ns64be|unsigned big-endian} encodings; | ||
* * 32-bit floating point values with {@link | ||
* module:Layout.f32|little-endian} and {@link | ||
* module:Layout.f32be|big-endian} representations; | ||
* * 64-bit floating point values with {@link | ||
* module:Layout.f64|little-endian} and {@link | ||
* module:Layout.f64be|big-endian} representations; | ||
* * {@link module:Layout.const|Constants} that take no space in the | ||
* encoded expression. | ||
* | ||
* and for these aggregate types: | ||
* * {@link module:Layout.seq|Sequence}s of instances of a {@link | ||
* module:Layout~Layout|Layout}, with JavaScript representation as | ||
* an Array and constant or data-dependent {@link | ||
* module:Layout~Sequence#count|length}; | ||
* * {@link module:Layout.struct|Structure}s that aggregate a | ||
* heterogeneous sequence of {@link module:Layout~Layout|Layout} | ||
* instances, with JavaScript representation as an Object; | ||
* * {@link module:Layout.union|Union}s that support multiple {@link | ||
* module:Layout~VariantLayout|variant layouts} over a fixed | ||
* (padded) or variable (not padded) span of bytes, using an | ||
* unsigned integer at the start of the data or a separate {@link | ||
* module:Layout.unionLayoutDiscriminator|layout element} to | ||
* determine which layout to use when interpreting the buffer | ||
* contents; | ||
* * {@link module:Layout.bits|BitStructure}s that contain a sequence | ||
* of individual {@link | ||
* module:Layout~BitStructure#addField|BitField}s packed into an 8, | ||
* 16, 24, or 32-bit unsigned integer starting at the least- or | ||
* most-significant bit; | ||
* * {@link module:Layout.cstr|C strings} of varying length; | ||
* * {@link module:Layout.blob|Blobs} of fixed- or variable-{@link | ||
* module:Layout~Blob#length|length} raw data. | ||
* | ||
* All {@link module:Layout~Layout|Layout} instances are immutable | ||
* after construction, to prevent internal state from becoming | ||
* inconsistent. | ||
* | ||
* @local Layout | ||
* @local ExternalLayout | ||
* @local GreedyCount | ||
* @local OffsetLayout | ||
* @local UInt | ||
* @local UIntBE | ||
* @local Int | ||
* @local IntBE | ||
* @local NearUInt64 | ||
* @local NearUInt64BE | ||
* @local NearInt64 | ||
* @local NearInt64BE | ||
* @local Float | ||
* @local FloatBE | ||
* @local Double | ||
* @local DoubleBE | ||
* @local Sequence | ||
* @local Structure | ||
* @local UnionDiscriminator | ||
* @local UnionLayoutDiscriminator | ||
* @local Union | ||
* @local VariantLayout | ||
* @local BitStructure | ||
* @local BitField | ||
* @local Boolean | ||
* @local Blob | ||
* @local CString | ||
* @local Constant | ||
* @local bindConstructorLayout | ||
* @module Layout | ||
* @license MIT | ||
* @author Peter A. Bigot | ||
* @see {@link https://github.com/pabigot/buffer-layout|buffer-layout on GitHub} | ||
*/ |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */ | ||
|
||
/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */ | ||
|
||
/*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */ | ||
|
||
/** | ||
* @license React | ||
* react-dom.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** | ||
* @license React | ||
* react-jsx-runtime.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** | ||
* @license React | ||
* react.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** | ||
* @license React | ||
* scheduler.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** @license React v17.0.2 | ||
* react-is.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ |
Oops, something went wrong.