Support more instances on BSC
This commit is contained in:
parent
fee491c81f
commit
993aa916ce
79
index.html
79
index.html
@ -4,14 +4,14 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Tornado Withdraw</title>
|
<title>Tornado Withdraw</title>
|
||||||
<link rel="icon" type="image/png" href="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/torn2.png">
|
<link rel="icon" type="image/png" href="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/torn2.png">
|
||||||
|
|
||||||
<meta name="description" content="Tornado Withdraw - Open Source Withdrawal UI for Tornado Cash">
|
<meta name="description" content="Tornado Withdraw - Open Source UI for Tornado Cash">
|
||||||
<meta property="og:title" content="Tornado Withdraw">
|
<meta property="og:title" content="Tornado Withdraw">
|
||||||
<meta property="og:description" content="Tornado Withdraw - Open Source Withdrawal UI for Tornado Cash">
|
<meta property="og:description" content="Tornado Withdraw - Open Source UI for Tornado Cash">
|
||||||
<meta property="og:image" content="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/tw.png">
|
<meta property="og:image" content="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/tw.png">
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/bootstrap.css" integrity="sha384-p8zfDSkYPu7Xu7mMd8DJHdXwh1/mZ2P/aMhahJze550GcUbzNxB841pMCrYaew9I" crossorigin="anonymous">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/bootstrap.css" integrity="sha384-p8zfDSkYPu7Xu7mMd8DJHdXwh1/mZ2P/aMhahJze550GcUbzNxB841pMCrYaew9I" crossorigin="anonymous">
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" integrity="sha384-XGjxtQfXaH2tnPFa9x+ruJTuLE3Aa6LhHSWRr1XeTyhezb4abCG4ccI5AkVDxqC+" crossorigin="anonymous">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" integrity="sha384-XGjxtQfXaH2tnPFa9x+ruJTuLE3Aa6LhHSWRr1XeTyhezb4abCG4ccI5AkVDxqC+" crossorigin="anonymous">
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -26,8 +26,8 @@
|
|||||||
<script src="https://cdn.jsdelivr.net/npm/moment@2.30.1/moment.min.js" integrity="sha384-aQgnUSsW4D+imRFZ/dILN0wXp3MGO6RE3ccC/gZHr6BQzvhwzD+Bzon5C+kO3NHQ" crossorigin="anonymous"></script>
|
<script src="https://cdn.jsdelivr.net/npm/moment@2.30.1/moment.min.js" integrity="sha384-aQgnUSsW4D+imRFZ/dILN0wXp3MGO6RE3ccC/gZHr6BQzvhwzD+Bzon5C+kO3NHQ" crossorigin="anonymous"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/datatables.net@2.1.8/js/dataTables.min.js" integrity="sha384-MgwUq0TVErv5Lkj/jIAgQpC+iUIqwhwXxJMfrZQVAOhr++1MR02yXH8aXdPc3fk0" crossorigin="anonymous"></script>
|
<script src="https://cdn.jsdelivr.net/npm/datatables.net@2.1.8/js/dataTables.min.js" integrity="sha384-MgwUq0TVErv5Lkj/jIAgQpC+iUIqwhwXxJMfrZQVAOhr++1MR02yXH8aXdPc3fk0" crossorigin="anonymous"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/datatables.net-bs5@2.1.8/js/dataTables.bootstrap5.min.js" integrity="sha384-G85lmdZCo2WkHaZ8U1ZceHekzKcg37sFrs4St2+u/r2UtfvSDQmQrkMsEx4Cgv/W" crossorigin="anonymous"></script>
|
<script src="https://cdn.jsdelivr.net/npm/datatables.net-bs5@2.1.8/js/dataTables.bootstrap5.min.js" integrity="sha384-G85lmdZCo2WkHaZ8U1ZceHekzKcg37sFrs4St2+u/r2UtfvSDQmQrkMsEx4Cgv/W" crossorigin="anonymous"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/tornado.umd.js" integrity="sha384-si73wgO6neaaW7aibUx6T/adfCEbokcrhBXI9mqd+XL9fa8pZ6jNdIflqf3ik1js" crossorigin="anonymous"></script>
|
<script src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/tornado.umd.js" integrity="sha384-hMoCdBLrTbzEjQ16gl7WhAJLmRKLCR3lBDwEpB8G/EuN1d7jpSrtDLTmj7EOUx+J" crossorigin="anonymous"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/tornadoContracts.umd.js" integrity="sha384-zcL/ErCF2jteiRmubhqON4cSaDm+ZE2Fng5+QZJ9GSd1HMIQEm4xKHlioXrxhrol" crossorigin="anonymous"></script>
|
<script src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/tornadoContracts.umd.js" integrity="sha384-YXvIEhvhQZA2aG8aFjpu7zp70EIZWvVIKp2cug1bOkPUA3Ta96vUvQ1rasWqpqHq" crossorigin="anonymous"></script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@media (min-width: 1100px) {
|
@media (min-width: 1100px) {
|
||||||
@ -82,7 +82,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
/*global $, jQuery, bootstrap, ethers, Tornado, TornadoContracts, moment*/
|
/*global $, jQuery, bootstrap, ethers, Tornado, TornadoContracts, moment*/
|
||||||
const VERSION = '1.0.6';
|
const VERSION = '1.0.7';
|
||||||
|
|
||||||
const DONATION_ADDRESS = '0x40c3d1656a26C9266f4A10fed0D87EFf79F54E64';
|
const DONATION_ADDRESS = '0x40c3d1656a26C9266f4A10fed0D87EFf79F54E64';
|
||||||
const DEFAULT_GAS_LIMIT = 600_000;
|
const DEFAULT_GAS_LIMIT = 600_000;
|
||||||
@ -92,7 +92,7 @@
|
|||||||
// Used for relayers
|
// Used for relayers
|
||||||
const RELAYER_NETWORK = Tornado.NetId.MAINNET;
|
const RELAYER_NETWORK = Tornado.NetId.MAINNET;
|
||||||
|
|
||||||
const JSDELIVR = 'https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6';
|
const JSDELIVR = 'https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7';
|
||||||
|
|
||||||
const IP_ECHO = 'https://tornadowithdraw.com/ip';
|
const IP_ECHO = 'https://tornadowithdraw.com/ip';
|
||||||
|
|
||||||
@ -176,9 +176,9 @@
|
|||||||
'static/torn.png': 'sha384-JHO0kpKduyooWMLR9QZ35GSU1/B0cpbQ6wLvVAg91KkVEFLQz9XBwBD9FCFJVL9R',
|
'static/torn.png': 'sha384-JHO0kpKduyooWMLR9QZ35GSU1/B0cpbQ6wLvVAg91KkVEFLQz9XBwBD9FCFJVL9R',
|
||||||
'static/torn2.png': 'sha384-4wuwoWrwrSCoVr3jtQLAFoj09ukL6JJ0/MJ/5qCoN5oEv6CwPe5Xu2VP5wKiHsbS',
|
'static/torn2.png': 'sha384-4wuwoWrwrSCoVr3jtQLAFoj09ukL6JJ0/MJ/5qCoN5oEv6CwPe5Xu2VP5wKiHsbS',
|
||||||
'static/tornado.json.zip': 'sha384-XmKBnm5OYS4kGyw52NNSOmSQ4uvN7w/ZNQIgqfSSSSJ1MJw9dfCE5OLQHHDvqP0F',
|
'static/tornado.json.zip': 'sha384-XmKBnm5OYS4kGyw52NNSOmSQ4uvN7w/ZNQIgqfSSSSJ1MJw9dfCE5OLQHHDvqP0F',
|
||||||
'static/tornado.umd.js': 'sha384-si73wgO6neaaW7aibUx6T/adfCEbokcrhBXI9mqd+XL9fa8pZ6jNdIflqf3ik1js',
|
'static/tornado.umd.js': 'sha384-hMoCdBLrTbzEjQ16gl7WhAJLmRKLCR3lBDwEpB8G/EuN1d7jpSrtDLTmj7EOUx+J',
|
||||||
'static/tornado.umd.min.js': 'sha384-++RJAwwRq3DaLFcTmo4+rTQCvRSuYhcR5VuI0VqS9DlOjLG6qsXc1W6RPaRwLqXX',
|
'static/tornado.umd.min.js': 'sha384-OgIIEpuZ36gZnA2UcCCiIDiRX0A4dbNDzyAN6v9/RaWAaKn8A3JsjK9Esqy7SxR7',
|
||||||
'static/tornadoContracts.umd.js': 'sha384-zcL/ErCF2jteiRmubhqON4cSaDm+ZE2Fng5+QZJ9GSd1HMIQEm4xKHlioXrxhrol',
|
'static/tornadoContracts.umd.js': 'sha384-YXvIEhvhQZA2aG8aFjpu7zp70EIZWvVIKp2cug1bOkPUA3Ta96vUvQ1rasWqpqHq',
|
||||||
'static/tornadoContracts.umd.min.js': 'sha384-1yFtL5qBZWn4ZZc9Yxt64WwSEBTd7u9FEXzJV6ef1966Wty8OpFINVv22VD98Oau',
|
'static/tornadoContracts.umd.min.js': 'sha384-1yFtL5qBZWn4ZZc9Yxt64WwSEBTd7u9FEXzJV6ef1966Wty8OpFINVv22VD98Oau',
|
||||||
'static/tornadoProvingKey.bin.zip': 'sha384-O+ICo/CmIvnFmeaSfvRc6CUlde24XWL2Bp2hgKRPZTO1LLlVW0GS8gHIzMtcKRa2',
|
'static/tornadoProvingKey.bin.zip': 'sha384-O+ICo/CmIvnFmeaSfvRc6CUlde24XWL2Bp2hgKRPZTO1LLlVW0GS8gHIzMtcKRa2',
|
||||||
'static/tw.png': 'sha384-DZz1nbDiTbg7RYMRjqvM6sD549Hzr83KzWXIH9x5S+9vEjm67MGbc9pjZoaVOWvT',
|
'static/tw.png': 'sha384-DZz1nbDiTbg7RYMRjqvM6sD549Hzr83KzWXIH9x5S+9vEjm67MGbc9pjZoaVOWvT',
|
||||||
@ -244,6 +244,14 @@
|
|||||||
'static/events/deposits_56_bnb_1.json.zip': 'sha384-A3LVQptEWs/lrFnFmkTorVS/yktfLBrmD/5GybDYyXwGPMD5fwl8np+Dr0zVQfQF',
|
'static/events/deposits_56_bnb_1.json.zip': 'sha384-A3LVQptEWs/lrFnFmkTorVS/yktfLBrmD/5GybDYyXwGPMD5fwl8np+Dr0zVQfQF',
|
||||||
'static/events/deposits_56_bnb_10.json.zip': 'sha384-EhV7PGtYJ2bF6mW6AUbyEP99R5zdyWGE2N04gaQhb9cE3IIpyIVDOXa7toEAO44R',
|
'static/events/deposits_56_bnb_10.json.zip': 'sha384-EhV7PGtYJ2bF6mW6AUbyEP99R5zdyWGE2N04gaQhb9cE3IIpyIVDOXa7toEAO44R',
|
||||||
'static/events/deposits_56_bnb_100.json.zip': 'sha384-ZBoGR/qavAj3jiaTPhN5hRNf4mz/9ctAJmX12wdKGuRPR/3cyoXj4hpv7sZeZM8d',
|
'static/events/deposits_56_bnb_100.json.zip': 'sha384-ZBoGR/qavAj3jiaTPhN5hRNf4mz/9ctAJmX12wdKGuRPR/3cyoXj4hpv7sZeZM8d',
|
||||||
|
'static/events/deposits_56_btcb_0.0001.json.zip': 'sha384-5uB3/HPuhA0WaSHhn/W6JVPFuhN6MDwU8wFO6jFCjfvpWQcGcUCZ+9apVLw0t53a',
|
||||||
|
'static/events/deposits_56_btcb_0.001.json.zip': 'sha384-asIx6JLLgHSUiKNxSyImWFg1A1oRna1vcgd2R7ej8QhY41khnxsZEG/EaMTVOcFk',
|
||||||
|
'static/events/deposits_56_btcb_0.01.json.zip': 'sha384-bxztmr4vwPJzi4nkJBC5soDVxNFGA0zUi9LCIzkBybpM5hAOtKFwu23P+qj+1L9a',
|
||||||
|
'static/events/deposits_56_btcb_0.1.json.zip': 'sha384-K1moGbmn16J9C/FFXM1xy4ZW3GYL8CkNA9WOestfWyeGHmEy0xphaQsglSHOW2Ql',
|
||||||
|
'static/events/deposits_56_usdt_10.json.zip': 'sha384-nD+QIlY363JMsK3bFJjRgvI9opiL3a655qJF9/dPjovp5lRc71tA+HB0vcpwckAY',
|
||||||
|
'static/events/deposits_56_usdt_100.json.zip': 'sha384-4gxbcD0tG7BnEmlJyxsvvQ467qkAyeBKhviY9F9zKztV2sVjdlRQbGWbjOhJWblF',
|
||||||
|
'static/events/deposits_56_usdt_1000.json.zip': 'sha384-W1aWsVRAMgNlDdCWt0R2dPS4ts39Hlw/PS8/dOcmQHnSyaP/o7ZNZbH+4RbwdlGp',
|
||||||
|
'static/events/deposits_56_usdt_10000.json.zip': 'sha384-F4QCKuR/GHMafglAgMOyD/OO2JtkeDEJhIpsYcEVRc7Kb1Y4g7sLiVw6Q/LMNM4s',
|
||||||
'static/events/echo_1.json.zip': 'sha384-8f2mVn+RYYyEp2BATmpjI9ikHy1tqiiqlMFDEFqy3OUsIlvscePVveFaZNW4apCa',
|
'static/events/echo_1.json.zip': 'sha384-8f2mVn+RYYyEp2BATmpjI9ikHy1tqiiqlMFDEFqy3OUsIlvscePVveFaZNW4apCa',
|
||||||
'static/events/echo_10.json.zip': 'sha384-JpMvj21HSHJu5v5qN/gz8D1M3RFxWj74dS4Gb6zU5/RyPvqhI3Kx1+foyAfDHUxX',
|
'static/events/echo_10.json.zip': 'sha384-JpMvj21HSHJu5v5qN/gz8D1M3RFxWj74dS4Gb6zU5/RyPvqhI3Kx1+foyAfDHUxX',
|
||||||
'static/events/echo_100.json.zip': 'sha384-VY1XwuU+YeIveBDxPtOL7i+W3EqXGBtAaAEO1dopzf6J+0rk+BOrzSqAFO3CYjVl',
|
'static/events/echo_100.json.zip': 'sha384-VY1XwuU+YeIveBDxPtOL7i+W3EqXGBtAaAEO1dopzf6J+0rk+BOrzSqAFO3CYjVl',
|
||||||
@ -317,7 +325,15 @@
|
|||||||
'static/events/withdrawals_56_bnb_0.1.json.zip': 'sha384-ZLE2sUH5HLYdsoWbCdGhmv7kLP/R8JmDNVFnRAkR5uefYo9JwNM8KEsrlaw1km3e',
|
'static/events/withdrawals_56_bnb_0.1.json.zip': 'sha384-ZLE2sUH5HLYdsoWbCdGhmv7kLP/R8JmDNVFnRAkR5uefYo9JwNM8KEsrlaw1km3e',
|
||||||
'static/events/withdrawals_56_bnb_1.json.zip': 'sha384-l8aZ2NG2D72hnzr3tsBei1VJAMqXHDdF3EqViyKRcdneB9XRnJ/sykDbRfHOofeI',
|
'static/events/withdrawals_56_bnb_1.json.zip': 'sha384-l8aZ2NG2D72hnzr3tsBei1VJAMqXHDdF3EqViyKRcdneB9XRnJ/sykDbRfHOofeI',
|
||||||
'static/events/withdrawals_56_bnb_10.json.zip': 'sha384-LZjcjfdXVBNdhbfvcB+AUnLHrHMfFrki0MArUUT9ZYR4kfZG9CZBsKeLoWWQ1qMs',
|
'static/events/withdrawals_56_bnb_10.json.zip': 'sha384-LZjcjfdXVBNdhbfvcB+AUnLHrHMfFrki0MArUUT9ZYR4kfZG9CZBsKeLoWWQ1qMs',
|
||||||
'static/events/withdrawals_56_bnb_100.json.zip': 'sha384-yr3s7J+81mGr6rtfMRJsPJMIT1ftIFVsHZttlGDC3DMmj4BrnzBHLLPsqJKnA+eG'
|
'static/events/withdrawals_56_bnb_100.json.zip': 'sha384-yr3s7J+81mGr6rtfMRJsPJMIT1ftIFVsHZttlGDC3DMmj4BrnzBHLLPsqJKnA+eG',
|
||||||
|
'static/events/withdrawals_56_btcb_0.0001.json.zip': 'sha384-LZga+qg6O9zQzOtkU6GHg6zj9abc3WgEIbZORjvfwRIQPcDOO/80We7SQv7Xc/E3',
|
||||||
|
'static/events/withdrawals_56_btcb_0.001.json.zip': 'sha384-8TdqO6eeSqFjcTVgPLUm4vWGQR6rgG1MssgB7IWRrtvKoVnf+H0Xu1sAtFaruvrI',
|
||||||
|
'static/events/withdrawals_56_btcb_0.01.json.zip': 'sha384-hEkoASpe70UmvWQXHmXve21jIuP+Ysdqo37l8+GQMvuIVIGlBM2VkxerfcUCAkJj',
|
||||||
|
'static/events/withdrawals_56_btcb_0.1.json.zip': 'sha384-6daK+ZjVzm66YU1AGGB0gzxkWZMI2qOu3+FYynzHeBfID4INZpEgG1pPAjqzWRAZ',
|
||||||
|
'static/events/withdrawals_56_usdt_10.json.zip': 'sha384-LQDFsM/IeGfyWjwix6LbGn4idJephXAQ0YcOv1moDW3RTz963cwSYa74lYRGKTSM',
|
||||||
|
'static/events/withdrawals_56_usdt_100.json.zip': 'sha384-87oE4g7egwws0z6zAfKhYb+tXtq8dWMFhE1j4gXTTgMxc8NIrHQsp2BtgPgjz0fF',
|
||||||
|
'static/events/withdrawals_56_usdt_1000.json.zip': 'sha384-7vGElgJoUWyqDeIhPjHbFKedq5AZTRNU9vxjQ3kJoHXCm8M4Ww2qHtmlsR9ho1+a',
|
||||||
|
'static/events/withdrawals_56_usdt_10000.json.zip': 'sha384-TRVX7ZkiqkpUrACrW8WY1/mTpGNgn1U54XAyogHrXhZKD87hqNMWtYQLYkuJR2Gh'
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
@ -329,7 +345,7 @@
|
|||||||
<header class="py-2 mt-2 mb-3 border-bottom">
|
<header class="py-2 mt-2 mb-3 border-bottom">
|
||||||
<nav class="navbar navbar-expand-md">
|
<nav class="navbar navbar-expand-md">
|
||||||
<a href="#" class="navbar-brand me-md-auto">
|
<a href="#" class="navbar-brand me-md-auto">
|
||||||
<img src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/torn2.png" class="me-1 logo">
|
<img src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/torn2.png" class="me-1 logo">
|
||||||
<span class="fs-4 align-middle">Tornado Withdraw</span>
|
<span class="fs-4 align-middle">Tornado Withdraw</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
@ -402,7 +418,7 @@
|
|||||||
<!-- Messages -->
|
<!-- Messages -->
|
||||||
<div id="messages"></div>
|
<div id="messages"></div>
|
||||||
<div class="alert alert-warning" role="alert">
|
<div class="alert alert-warning" role="alert">
|
||||||
This is a new open source Tornado Withdrawal UI that enables you to withdraw faster with new relayers.
|
This is a new open source Tornado Cash UI that enables you to withdraw faster with new relayers.
|
||||||
It is unaudited so use at your own risk.
|
It is unaudited so use at your own risk.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -759,7 +775,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label class="form-label">Notes / Texts to deposit (Splitted by line break!)</label>
|
<label class="form-label">Notes / Invoices to deposit (Splitted by line break!)</label>
|
||||||
<textarea id="bulk-deposit" type="text" class="form-control" rows="7"></textarea>
|
<textarea id="bulk-deposit" type="text" class="form-control" rows="7"></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -1262,9 +1278,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="status-screen" class="d-none">
|
<div id="status-screen" class="d-none">
|
||||||
<div id="send-status" class="mt-1"></div>
|
<div id="send-status" class="mt-1"></div>
|
||||||
<img id="send-loading" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/torn2.png" class="loader status d-none">
|
<img id="send-loading" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/torn2.png" class="loader status d-none">
|
||||||
<img id="send-error" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/failed.png" class="status d-none">
|
<img id="send-error" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/failed.png" class="status d-none">
|
||||||
<img id="send-success" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/success.png" class="status d-none">
|
<img id="send-success" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/success.png" class="status d-none">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
@ -1286,7 +1302,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div id="prohibited-context"></div>
|
<div id="prohibited-context"></div>
|
||||||
<img src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/failed.png" class="status">
|
<img src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/failed.png" class="status">
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary " data-bs-dismiss="modal">I am not the citizen of those prohibited countries</button>
|
<button type="button" class="btn btn-primary " data-bs-dismiss="modal">I am not the citizen of those prohibited countries</button>
|
||||||
@ -2248,6 +2264,7 @@
|
|||||||
instanceAddress: {
|
instanceAddress: {
|
||||||
[amount]: instanceAddress,
|
[amount]: instanceAddress,
|
||||||
},
|
},
|
||||||
|
instanceApproval,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
} = Tornado.getConfig(netId);
|
} = Tornado.getConfig(netId);
|
||||||
@ -2325,7 +2342,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const requiresApproval = (!isEth && denomination > tokenApprovals) ? true : false;
|
const requiresApproval = (!isEth && denomination > tokenApprovals) ? true : false;
|
||||||
const approvalData = requiresApproval ? (await Token.approve.populateTransaction(routerContract, ethers.MaxUint256)).data : undefined;
|
const approvalData = requiresApproval
|
||||||
|
? (await Token.approve.populateTransaction(instanceApproval ? instanceAddress : routerContract, ethers.MaxUint256)).data
|
||||||
|
: undefined;
|
||||||
|
|
||||||
let note;
|
let note;
|
||||||
let invoice;
|
let invoice;
|
||||||
@ -2483,6 +2502,7 @@
|
|||||||
networkName,
|
networkName,
|
||||||
explorerUrl,
|
explorerUrl,
|
||||||
instanceAddress,
|
instanceAddress,
|
||||||
|
instanceApproval,
|
||||||
commitmentHex,
|
commitmentHex,
|
||||||
encryptedNote,
|
encryptedNote,
|
||||||
value,
|
value,
|
||||||
@ -2508,6 +2528,7 @@
|
|||||||
networkName,
|
networkName,
|
||||||
explorerUrl,
|
explorerUrl,
|
||||||
instanceAddress,
|
instanceAddress,
|
||||||
|
instanceApproval,
|
||||||
commitmentHex,
|
commitmentHex,
|
||||||
encryptedNote,
|
encryptedNote,
|
||||||
value,
|
value,
|
||||||
@ -2520,7 +2541,7 @@
|
|||||||
if (requiresApproval) {
|
if (requiresApproval) {
|
||||||
showStatus('Approving Token', 'Approving Token Spending by Tornado Router Contract');
|
showStatus('Approving Token', 'Approving Token Spending by Tornado Router Contract');
|
||||||
|
|
||||||
const resp = await Token.approve(TornadoProxy.target, ethers.MaxUint256);
|
const resp = await Token.approve(instanceApproval ? instanceAddress : TornadoProxy.target, ethers.MaxUint256);
|
||||||
|
|
||||||
showStatus(
|
showStatus(
|
||||||
'Approving Token',
|
'Approving Token',
|
||||||
@ -4579,7 +4600,7 @@
|
|||||||
$('#delegatee-table').append(`
|
$('#delegatee-table').append(`
|
||||||
<p>Loading TORN delegatees please wait</p>
|
<p>Loading TORN delegatees please wait</p>
|
||||||
|
|
||||||
<img id="send-loading" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/torn2.png" class="loader status">
|
<img id="send-loading" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/torn2.png" class="loader status">
|
||||||
`);
|
`);
|
||||||
|
|
||||||
let delegateeAddress;
|
let delegateeAddress;
|
||||||
@ -4671,7 +4692,7 @@
|
|||||||
$('#apy-content').append(`
|
$('#apy-content').append(`
|
||||||
<p class="mt-2">Loading recent TORN APY</p>
|
<p class="mt-2">Loading recent TORN APY</p>
|
||||||
|
|
||||||
<img id="send-loading" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/torn2.png" class="loader status">
|
<img id="send-loading" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/torn2.png" class="loader status">
|
||||||
`);
|
`);
|
||||||
|
|
||||||
const netId = GOVERNANCE_NETWORK;
|
const netId = GOVERNANCE_NETWORK;
|
||||||
@ -5248,7 +5269,7 @@
|
|||||||
$('#relayer-list').append(`
|
$('#relayer-list').append(`
|
||||||
<p>Loading ${networkName} relayers please wait</p>
|
<p>Loading ${networkName} relayers please wait</p>
|
||||||
|
|
||||||
<img id="send-loading" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/torn2.png" class="loader status">
|
<img id="send-loading" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/torn2.png" class="loader status">
|
||||||
`);
|
`);
|
||||||
|
|
||||||
const { relayers } = await updateRelayers(true);
|
const { relayers } = await updateRelayers(true);
|
||||||
@ -5326,7 +5347,7 @@
|
|||||||
$('#relayer-status').append(`
|
$('#relayer-status').append(`
|
||||||
<p>Loading ${ensName} relayer please wait</p>
|
<p>Loading ${ensName} relayer please wait</p>
|
||||||
|
|
||||||
<img id="send-loading" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/torn2.png" class="loader status">
|
<img id="send-loading" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/torn2.png" class="loader status">
|
||||||
`);
|
`);
|
||||||
|
|
||||||
const { relayers } = await updateRelayers(true);
|
const { relayers } = await updateRelayers(true);
|
||||||
@ -5338,7 +5359,7 @@
|
|||||||
$('#relayer-status').append(`
|
$('#relayer-status').append(`
|
||||||
<p>Selected relayer ${ensName} relayer is not registered</p>
|
<p>Selected relayer ${ensName} relayer is not registered</p>
|
||||||
|
|
||||||
<img id="send-loading" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/failed.png" class="status">
|
<img id="send-loading" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/failed.png" class="status">
|
||||||
`);
|
`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -5746,7 +5767,7 @@
|
|||||||
$('#wallet-balance').append(`
|
$('#wallet-balance').append(`
|
||||||
<p>Loading wallet balances</p>
|
<p>Loading wallet balances</p>
|
||||||
|
|
||||||
<img id="send-loading" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/torn2.png" class="loader status">
|
<img id="send-loading" src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/torn2.png" class="loader status">
|
||||||
`);
|
`);
|
||||||
|
|
||||||
const provider = await getProvider(netId);
|
const provider = await getProvider(netId);
|
||||||
@ -5803,7 +5824,7 @@
|
|||||||
: `<a href="${explorerUrl}/address/${address}" target="_blank" rel="noreferrer nofollow">${address}</a>`;
|
: `<a href="${explorerUrl}/address/${address}" target="_blank" rel="noreferrer nofollow">${address}</a>`;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
name: `<img src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.6/tokens/${symbol.toLowerCase()}.png" height="24"> ${name} (${symbol})`,
|
name: `<img src="https://cdn.jsdelivr.net/npm/tornado-cdn@1.0.7/tokens/${symbol.toLowerCase()}.png" height="24"> ${name} (${symbol})`,
|
||||||
contractAddress,
|
contractAddress,
|
||||||
balance: `${ethers.formatUnits(balance, decimals)} ${symbol}`,
|
balance: `${ethers.formatUnits(balance, decimals)} ${symbol}`,
|
||||||
};
|
};
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tornado-withdraw",
|
"name": "tornado-withdraw",
|
||||||
"version": "1.0.6",
|
"version": "1.0.7",
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -14,7 +14,7 @@
|
|||||||
"ipfs:add": "docker container run --rm tornado-withdraw"
|
"ipfs:add": "docker container run --rm tornado-withdraw"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tornado/core": "git+https://git.tornado.ws/tornadocontrib/tornado-core.git#092989ebaa2fcd84eff7d4aed66433e77c790c60",
|
"@tornado/core": "git+https://git.tornado.ws/tornadocontrib/tornado-core.git#b35e53ebdb0bbca03750acb10e6f743b4e49cc9c",
|
||||||
"@types/node": "^22.7.4",
|
"@types/node": "^22.7.4",
|
||||||
"bootstrap": "^5.3.3",
|
"bootstrap": "^5.3.3",
|
||||||
"eslint": "8.57.0",
|
"eslint": "8.57.0",
|
||||||
|
BIN
static/events/deposits_56_btcb_0.0001.json.zip
Normal file
BIN
static/events/deposits_56_btcb_0.0001.json.zip
Normal file
Binary file not shown.
BIN
static/events/deposits_56_btcb_0.001.json.zip
Normal file
BIN
static/events/deposits_56_btcb_0.001.json.zip
Normal file
Binary file not shown.
BIN
static/events/deposits_56_btcb_0.01.json.zip
Normal file
BIN
static/events/deposits_56_btcb_0.01.json.zip
Normal file
Binary file not shown.
BIN
static/events/deposits_56_btcb_0.1.json.zip
Normal file
BIN
static/events/deposits_56_btcb_0.1.json.zip
Normal file
Binary file not shown.
BIN
static/events/deposits_56_usdt_10.json.zip
Normal file
BIN
static/events/deposits_56_usdt_10.json.zip
Normal file
Binary file not shown.
BIN
static/events/deposits_56_usdt_100.json.zip
Normal file
BIN
static/events/deposits_56_usdt_100.json.zip
Normal file
Binary file not shown.
BIN
static/events/deposits_56_usdt_1000.json.zip
Normal file
BIN
static/events/deposits_56_usdt_1000.json.zip
Normal file
Binary file not shown.
BIN
static/events/deposits_56_usdt_10000.json.zip
Normal file
BIN
static/events/deposits_56_usdt_10000.json.zip
Normal file
Binary file not shown.
BIN
static/events/withdrawals_56_btcb_0.0001.json.zip
Normal file
BIN
static/events/withdrawals_56_btcb_0.0001.json.zip
Normal file
Binary file not shown.
BIN
static/events/withdrawals_56_btcb_0.001.json.zip
Normal file
BIN
static/events/withdrawals_56_btcb_0.001.json.zip
Normal file
Binary file not shown.
BIN
static/events/withdrawals_56_btcb_0.01.json.zip
Normal file
BIN
static/events/withdrawals_56_btcb_0.01.json.zip
Normal file
Binary file not shown.
BIN
static/events/withdrawals_56_btcb_0.1.json.zip
Normal file
BIN
static/events/withdrawals_56_btcb_0.1.json.zip
Normal file
Binary file not shown.
BIN
static/events/withdrawals_56_usdt_10.json.zip
Normal file
BIN
static/events/withdrawals_56_usdt_10.json.zip
Normal file
Binary file not shown.
BIN
static/events/withdrawals_56_usdt_100.json.zip
Normal file
BIN
static/events/withdrawals_56_usdt_100.json.zip
Normal file
Binary file not shown.
BIN
static/events/withdrawals_56_usdt_1000.json.zip
Normal file
BIN
static/events/withdrawals_56_usdt_1000.json.zip
Normal file
Binary file not shown.
BIN
static/events/withdrawals_56_usdt_10000.json.zip
Normal file
BIN
static/events/withdrawals_56_usdt_10000.json.zip
Normal file
Binary file not shown.
@ -9,9 +9,9 @@
|
|||||||
"static/torn.png": "sha384-JHO0kpKduyooWMLR9QZ35GSU1/B0cpbQ6wLvVAg91KkVEFLQz9XBwBD9FCFJVL9R",
|
"static/torn.png": "sha384-JHO0kpKduyooWMLR9QZ35GSU1/B0cpbQ6wLvVAg91KkVEFLQz9XBwBD9FCFJVL9R",
|
||||||
"static/torn2.png": "sha384-4wuwoWrwrSCoVr3jtQLAFoj09ukL6JJ0/MJ/5qCoN5oEv6CwPe5Xu2VP5wKiHsbS",
|
"static/torn2.png": "sha384-4wuwoWrwrSCoVr3jtQLAFoj09ukL6JJ0/MJ/5qCoN5oEv6CwPe5Xu2VP5wKiHsbS",
|
||||||
"static/tornado.json.zip": "sha384-XmKBnm5OYS4kGyw52NNSOmSQ4uvN7w/ZNQIgqfSSSSJ1MJw9dfCE5OLQHHDvqP0F",
|
"static/tornado.json.zip": "sha384-XmKBnm5OYS4kGyw52NNSOmSQ4uvN7w/ZNQIgqfSSSSJ1MJw9dfCE5OLQHHDvqP0F",
|
||||||
"static/tornado.umd.js": "sha384-si73wgO6neaaW7aibUx6T/adfCEbokcrhBXI9mqd+XL9fa8pZ6jNdIflqf3ik1js",
|
"static/tornado.umd.js": "sha384-hMoCdBLrTbzEjQ16gl7WhAJLmRKLCR3lBDwEpB8G/EuN1d7jpSrtDLTmj7EOUx+J",
|
||||||
"static/tornado.umd.min.js": "sha384-++RJAwwRq3DaLFcTmo4+rTQCvRSuYhcR5VuI0VqS9DlOjLG6qsXc1W6RPaRwLqXX",
|
"static/tornado.umd.min.js": "sha384-OgIIEpuZ36gZnA2UcCCiIDiRX0A4dbNDzyAN6v9/RaWAaKn8A3JsjK9Esqy7SxR7",
|
||||||
"static/tornadoContracts.umd.js": "sha384-zcL/ErCF2jteiRmubhqON4cSaDm+ZE2Fng5+QZJ9GSd1HMIQEm4xKHlioXrxhrol",
|
"static/tornadoContracts.umd.js": "sha384-YXvIEhvhQZA2aG8aFjpu7zp70EIZWvVIKp2cug1bOkPUA3Ta96vUvQ1rasWqpqHq",
|
||||||
"static/tornadoContracts.umd.min.js": "sha384-1yFtL5qBZWn4ZZc9Yxt64WwSEBTd7u9FEXzJV6ef1966Wty8OpFINVv22VD98Oau",
|
"static/tornadoContracts.umd.min.js": "sha384-1yFtL5qBZWn4ZZc9Yxt64WwSEBTd7u9FEXzJV6ef1966Wty8OpFINVv22VD98Oau",
|
||||||
"static/tornadoProvingKey.bin.zip": "sha384-O+ICo/CmIvnFmeaSfvRc6CUlde24XWL2Bp2hgKRPZTO1LLlVW0GS8gHIzMtcKRa2",
|
"static/tornadoProvingKey.bin.zip": "sha384-O+ICo/CmIvnFmeaSfvRc6CUlde24XWL2Bp2hgKRPZTO1LLlVW0GS8gHIzMtcKRa2",
|
||||||
"static/tw.png": "sha384-DZz1nbDiTbg7RYMRjqvM6sD549Hzr83KzWXIH9x5S+9vEjm67MGbc9pjZoaVOWvT",
|
"static/tw.png": "sha384-DZz1nbDiTbg7RYMRjqvM6sD549Hzr83KzWXIH9x5S+9vEjm67MGbc9pjZoaVOWvT",
|
||||||
@ -77,6 +77,14 @@
|
|||||||
"static/events/deposits_56_bnb_1.json.zip": "sha384-A3LVQptEWs/lrFnFmkTorVS/yktfLBrmD/5GybDYyXwGPMD5fwl8np+Dr0zVQfQF",
|
"static/events/deposits_56_bnb_1.json.zip": "sha384-A3LVQptEWs/lrFnFmkTorVS/yktfLBrmD/5GybDYyXwGPMD5fwl8np+Dr0zVQfQF",
|
||||||
"static/events/deposits_56_bnb_10.json.zip": "sha384-EhV7PGtYJ2bF6mW6AUbyEP99R5zdyWGE2N04gaQhb9cE3IIpyIVDOXa7toEAO44R",
|
"static/events/deposits_56_bnb_10.json.zip": "sha384-EhV7PGtYJ2bF6mW6AUbyEP99R5zdyWGE2N04gaQhb9cE3IIpyIVDOXa7toEAO44R",
|
||||||
"static/events/deposits_56_bnb_100.json.zip": "sha384-ZBoGR/qavAj3jiaTPhN5hRNf4mz/9ctAJmX12wdKGuRPR/3cyoXj4hpv7sZeZM8d",
|
"static/events/deposits_56_bnb_100.json.zip": "sha384-ZBoGR/qavAj3jiaTPhN5hRNf4mz/9ctAJmX12wdKGuRPR/3cyoXj4hpv7sZeZM8d",
|
||||||
|
"static/events/deposits_56_btcb_0.0001.json.zip": "sha384-5uB3/HPuhA0WaSHhn/W6JVPFuhN6MDwU8wFO6jFCjfvpWQcGcUCZ+9apVLw0t53a",
|
||||||
|
"static/events/deposits_56_btcb_0.001.json.zip": "sha384-asIx6JLLgHSUiKNxSyImWFg1A1oRna1vcgd2R7ej8QhY41khnxsZEG/EaMTVOcFk",
|
||||||
|
"static/events/deposits_56_btcb_0.01.json.zip": "sha384-bxztmr4vwPJzi4nkJBC5soDVxNFGA0zUi9LCIzkBybpM5hAOtKFwu23P+qj+1L9a",
|
||||||
|
"static/events/deposits_56_btcb_0.1.json.zip": "sha384-K1moGbmn16J9C/FFXM1xy4ZW3GYL8CkNA9WOestfWyeGHmEy0xphaQsglSHOW2Ql",
|
||||||
|
"static/events/deposits_56_usdt_10.json.zip": "sha384-nD+QIlY363JMsK3bFJjRgvI9opiL3a655qJF9/dPjovp5lRc71tA+HB0vcpwckAY",
|
||||||
|
"static/events/deposits_56_usdt_100.json.zip": "sha384-4gxbcD0tG7BnEmlJyxsvvQ467qkAyeBKhviY9F9zKztV2sVjdlRQbGWbjOhJWblF",
|
||||||
|
"static/events/deposits_56_usdt_1000.json.zip": "sha384-W1aWsVRAMgNlDdCWt0R2dPS4ts39Hlw/PS8/dOcmQHnSyaP/o7ZNZbH+4RbwdlGp",
|
||||||
|
"static/events/deposits_56_usdt_10000.json.zip": "sha384-F4QCKuR/GHMafglAgMOyD/OO2JtkeDEJhIpsYcEVRc7Kb1Y4g7sLiVw6Q/LMNM4s",
|
||||||
"static/events/echo_1.json.zip": "sha384-8f2mVn+RYYyEp2BATmpjI9ikHy1tqiiqlMFDEFqy3OUsIlvscePVveFaZNW4apCa",
|
"static/events/echo_1.json.zip": "sha384-8f2mVn+RYYyEp2BATmpjI9ikHy1tqiiqlMFDEFqy3OUsIlvscePVveFaZNW4apCa",
|
||||||
"static/events/echo_10.json.zip": "sha384-JpMvj21HSHJu5v5qN/gz8D1M3RFxWj74dS4Gb6zU5/RyPvqhI3Kx1+foyAfDHUxX",
|
"static/events/echo_10.json.zip": "sha384-JpMvj21HSHJu5v5qN/gz8D1M3RFxWj74dS4Gb6zU5/RyPvqhI3Kx1+foyAfDHUxX",
|
||||||
"static/events/echo_100.json.zip": "sha384-VY1XwuU+YeIveBDxPtOL7i+W3EqXGBtAaAEO1dopzf6J+0rk+BOrzSqAFO3CYjVl",
|
"static/events/echo_100.json.zip": "sha384-VY1XwuU+YeIveBDxPtOL7i+W3EqXGBtAaAEO1dopzf6J+0rk+BOrzSqAFO3CYjVl",
|
||||||
@ -150,5 +158,13 @@
|
|||||||
"static/events/withdrawals_56_bnb_0.1.json.zip": "sha384-ZLE2sUH5HLYdsoWbCdGhmv7kLP/R8JmDNVFnRAkR5uefYo9JwNM8KEsrlaw1km3e",
|
"static/events/withdrawals_56_bnb_0.1.json.zip": "sha384-ZLE2sUH5HLYdsoWbCdGhmv7kLP/R8JmDNVFnRAkR5uefYo9JwNM8KEsrlaw1km3e",
|
||||||
"static/events/withdrawals_56_bnb_1.json.zip": "sha384-l8aZ2NG2D72hnzr3tsBei1VJAMqXHDdF3EqViyKRcdneB9XRnJ/sykDbRfHOofeI",
|
"static/events/withdrawals_56_bnb_1.json.zip": "sha384-l8aZ2NG2D72hnzr3tsBei1VJAMqXHDdF3EqViyKRcdneB9XRnJ/sykDbRfHOofeI",
|
||||||
"static/events/withdrawals_56_bnb_10.json.zip": "sha384-LZjcjfdXVBNdhbfvcB+AUnLHrHMfFrki0MArUUT9ZYR4kfZG9CZBsKeLoWWQ1qMs",
|
"static/events/withdrawals_56_bnb_10.json.zip": "sha384-LZjcjfdXVBNdhbfvcB+AUnLHrHMfFrki0MArUUT9ZYR4kfZG9CZBsKeLoWWQ1qMs",
|
||||||
"static/events/withdrawals_56_bnb_100.json.zip": "sha384-yr3s7J+81mGr6rtfMRJsPJMIT1ftIFVsHZttlGDC3DMmj4BrnzBHLLPsqJKnA+eG"
|
"static/events/withdrawals_56_bnb_100.json.zip": "sha384-yr3s7J+81mGr6rtfMRJsPJMIT1ftIFVsHZttlGDC3DMmj4BrnzBHLLPsqJKnA+eG",
|
||||||
|
"static/events/withdrawals_56_btcb_0.0001.json.zip": "sha384-LZga+qg6O9zQzOtkU6GHg6zj9abc3WgEIbZORjvfwRIQPcDOO/80We7SQv7Xc/E3",
|
||||||
|
"static/events/withdrawals_56_btcb_0.001.json.zip": "sha384-8TdqO6eeSqFjcTVgPLUm4vWGQR6rgG1MssgB7IWRrtvKoVnf+H0Xu1sAtFaruvrI",
|
||||||
|
"static/events/withdrawals_56_btcb_0.01.json.zip": "sha384-hEkoASpe70UmvWQXHmXve21jIuP+Ysdqo37l8+GQMvuIVIGlBM2VkxerfcUCAkJj",
|
||||||
|
"static/events/withdrawals_56_btcb_0.1.json.zip": "sha384-6daK+ZjVzm66YU1AGGB0gzxkWZMI2qOu3+FYynzHeBfID4INZpEgG1pPAjqzWRAZ",
|
||||||
|
"static/events/withdrawals_56_usdt_10.json.zip": "sha384-LQDFsM/IeGfyWjwix6LbGn4idJephXAQ0YcOv1moDW3RTz963cwSYa74lYRGKTSM",
|
||||||
|
"static/events/withdrawals_56_usdt_100.json.zip": "sha384-87oE4g7egwws0z6zAfKhYb+tXtq8dWMFhE1j4gXTTgMxc8NIrHQsp2BtgPgjz0fF",
|
||||||
|
"static/events/withdrawals_56_usdt_1000.json.zip": "sha384-7vGElgJoUWyqDeIhPjHbFKedq5AZTRNU9vxjQ3kJoHXCm8M4Ww2qHtmlsR9ho1+a",
|
||||||
|
"static/events/withdrawals_56_usdt_10000.json.zip": "sha384-TRVX7ZkiqkpUrACrW8WY1/mTpGNgn1U54XAyogHrXhZKD87hqNMWtYQLYkuJR2Gh"
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "tornado-cdn",
|
"name": "tornado-cdn",
|
||||||
"version": "1.0.6"
|
"version": "1.0.7"
|
||||||
}
|
}
|
File diff suppressed because it is too large
Load Diff
6
static/tornado.umd.min.js
vendored
6
static/tornado.umd.min.js
vendored
File diff suppressed because one or more lines are too long
@ -195,7 +195,7 @@ __webpack_require__.d(typechain_namespaceObject, {
|
|||||||
Rp: () => (ReverseRecords__factory)
|
Rp: () => (ReverseRecords__factory)
|
||||||
});
|
});
|
||||||
|
|
||||||
;// ./node_modules/ethers/node_modules/@noble/hashes/esm/_assert.js
|
;// ./node_modules/@noble/hashes/esm/_assert.js
|
||||||
function number(n) {
|
function number(n) {
|
||||||
if (!Number.isSafeInteger(n) || n < 0)
|
if (!Number.isSafeInteger(n) || n < 0)
|
||||||
throw new Error(`Wrong positive integer: ${n}`);
|
throw new Error(`Wrong positive integer: ${n}`);
|
||||||
@ -233,7 +233,7 @@ function output(out, instance) {
|
|||||||
const assert = { number, bool, bytes, hash, exists, output };
|
const assert = { number, bool, bytes, hash, exists, output };
|
||||||
/* harmony default export */ const _assert = ((/* unused pure expression or super */ null && (assert)));
|
/* harmony default export */ const _assert = ((/* unused pure expression or super */ null && (assert)));
|
||||||
//# sourceMappingURL=_assert.js.map
|
//# sourceMappingURL=_assert.js.map
|
||||||
;// ./node_modules/ethers/node_modules/@noble/hashes/esm/_u64.js
|
;// ./node_modules/@noble/hashes/esm/_u64.js
|
||||||
const U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
|
const U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
|
||||||
const _32n = /* @__PURE__ */ BigInt(32);
|
const _32n = /* @__PURE__ */ BigInt(32);
|
||||||
// We are not using BigUint64Array, because they are extremely slow as per 2022
|
// We are not using BigUint64Array, because they are extremely slow as per 2022
|
||||||
@ -296,7 +296,7 @@ const u64 = {
|
|||||||
};
|
};
|
||||||
/* harmony default export */ const _u64 = ((/* unused pure expression or super */ null && (u64)));
|
/* harmony default export */ const _u64 = ((/* unused pure expression or super */ null && (u64)));
|
||||||
//# sourceMappingURL=_u64.js.map
|
//# sourceMappingURL=_u64.js.map
|
||||||
;// ./node_modules/ethers/node_modules/@noble/hashes/esm/utils.js
|
;// ./node_modules/@noble/hashes/esm/utils.js
|
||||||
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
||||||
// We use WebCrypto aka globalThis.crypto, which exists in browsers and node.js 16+.
|
// We use WebCrypto aka globalThis.crypto, which exists in browsers and node.js 16+.
|
||||||
// node.js versions earlier than v19 don't declare it in global scope.
|
// node.js versions earlier than v19 don't declare it in global scope.
|
||||||
@ -451,7 +451,7 @@ function randomBytes(bytesLength = 32) {
|
|||||||
throw new Error('crypto.getRandomValues must be defined');
|
throw new Error('crypto.getRandomValues must be defined');
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=utils.js.map
|
//# sourceMappingURL=utils.js.map
|
||||||
;// ./node_modules/ethers/node_modules/@noble/hashes/esm/sha3.js
|
;// ./node_modules/@noble/hashes/esm/sha3.js
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -625,9 +625,9 @@
|
|||||||
"@openzeppelin/contracts-v3" "npm:@openzeppelin/contracts@3.2.0-rc.0"
|
"@openzeppelin/contracts-v3" "npm:@openzeppelin/contracts@3.2.0-rc.0"
|
||||||
ethers "^6.13.4"
|
ethers "^6.13.4"
|
||||||
|
|
||||||
"@tornado/core@git+https://git.tornado.ws/tornadocontrib/tornado-core.git#092989ebaa2fcd84eff7d4aed66433e77c790c60":
|
"@tornado/core@git+https://git.tornado.ws/tornadocontrib/tornado-core.git#b35e53ebdb0bbca03750acb10e6f743b4e49cc9c":
|
||||||
version "1.0.19"
|
version "1.0.19"
|
||||||
resolved "git+https://git.tornado.ws/tornadocontrib/tornado-core.git#092989ebaa2fcd84eff7d4aed66433e77c790c60"
|
resolved "git+https://git.tornado.ws/tornadocontrib/tornado-core.git#b35e53ebdb0bbca03750acb10e6f743b4e49cc9c"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@ensdomains/content-hash" "2.5.7"
|
"@ensdomains/content-hash" "2.5.7"
|
||||||
"@metamask/eth-sig-util" "^8.0.0"
|
"@metamask/eth-sig-util" "^8.0.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user