add tornado proxy light

This commit is contained in:
poma 2021-03-29 09:35:19 +03:00
parent 0a93f131ca
commit e483190ed6
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657
5 changed files with 42 additions and 0 deletions

3
.gitmodules vendored
View File

@ -5,3 +5,6 @@
[submodule "deployer"]
path = deployer
url = https://github.com/tornadocash/deployer
[submodule "tornado-anonymity-mining"]
path = tornado-anonymity-mining
url = https://github.com/tornadocash/tornado-anonymity-mining

View File

@ -11,3 +11,9 @@ cd deployer
yarn install
yarn compile
cd ..
cd tornado-anonymity-mining
yarn install
# yarn circuit
yarn compile
cd ..

View File

@ -1,4 +1,11 @@
module.exports = [
{
isETH: true,
denomination: "100000000000000000",
domain: "eth-01.tornadocash.eth",
symbol: "ETH",
decimals: 18
},
{
isETH: true,
denomination: "1000000000000000000",
@ -6,4 +13,18 @@ module.exports = [
symbol: "ETH",
decimals: 18
},
{
isETH: true,
denomination: "10000000000000000000",
domain: "eth-10.tornadocash.eth",
symbol: "ETH",
decimals: 18
},
{
isETH: true,
denomination: "100000000000000000000",
domain: "eth-100.tornadocash.eth",
symbol: "ETH",
decimals: 18
},
]

View File

@ -13,6 +13,7 @@ const hasher = getContractData('../tornado-core/build/contracts/Hasher.json')
const ethTornado = getContractData('../tornado-core/build/contracts/ETHTornado.json')
const ercTornado = getContractData('../tornado-core/build/contracts/ERC20Tornado.json')
const compTornado = getContractData('../tornado-core/build/contracts/cTornado.json')
const proxyLight = getContractData('../tornado-anonymity-mining/build/contracts/TornadoProxyLight.json')
const actions = []
@ -70,6 +71,16 @@ actions.push(
}),
)
// Deploy proxy
actions.push(
deploy({
domain: 'proxy-light.contract.tornadocash.eth',
contract: proxyLight,
title: 'ProxyLight',
description: 'Tornado proxy light for L2',
}),
)
// Deploy instances
for (const instance of instances) {
const args = [

@ -0,0 +1 @@
Subproject commit ca446c79cd9d6867bc46019638062ad5d8d070bf