mirror of
https://github.com/luxfi/zpay.git
synced 2026-10-30 15:11:20 +00:00
15 lines
735 B
JavaScript
15 lines
735 B
JavaScript
var InnerProductVerifier = artifacts.require("InnerProductVerifier");
|
|
var BurnVerifier = artifacts.require("BurnVerifier");
|
|
var ZVerifier = artifacts.require("ZVerifier");
|
|
var CashToken = artifacts.require("CashToken");
|
|
var ZSC = artifacts.require("ZSC");
|
|
|
|
module.exports = (deployer) => {
|
|
return Promise.all([
|
|
deployer.deploy(CashToken),
|
|
deployer.deploy(InnerProductVerifier, { gas: 6721975 }).then(() => Promise.all([
|
|
deployer.deploy(ZVerifier, InnerProductVerifier.address, { gas: 6721975 }),
|
|
deployer.deploy(BurnVerifier, InnerProductVerifier.address, { gas: 6721975 })
|
|
]))
|
|
]).then(() => deployer.deploy(ZSC, CashToken.address, ZVerifier.address, BurnVerifier.address, 6));
|
|
} |