tests: Rename `miniMeFactory` -> `miniMeTokenFactory`
This commit is contained in:
parent
53ffe1be85
commit
941b3e3494
|
@ -26,7 +26,7 @@ contract("StatusContribution", (accounts) => {
|
||||||
let multisigComunity;
|
let multisigComunity;
|
||||||
let multisigReserve;
|
let multisigReserve;
|
||||||
let multisigDevs;
|
let multisigDevs;
|
||||||
let miniMeFactory;
|
let miniMeTokenFactory;
|
||||||
let sgt;
|
let sgt;
|
||||||
let snt;
|
let snt;
|
||||||
let statusContribution;
|
let statusContribution;
|
||||||
|
@ -50,11 +50,13 @@ contract("StatusContribution", (accounts) => {
|
||||||
multisigComunity = await MultiSigWallet.new([addressCommunity], 1);
|
multisigComunity = await MultiSigWallet.new([addressCommunity], 1);
|
||||||
multisigReserve = await MultiSigWallet.new([addressReserve], 1);
|
multisigReserve = await MultiSigWallet.new([addressReserve], 1);
|
||||||
multisigDevs = await MultiSigWallet.new([addressDevs], 1);
|
multisigDevs = await MultiSigWallet.new([addressDevs], 1);
|
||||||
miniMeFactory = await MiniMeTokenFactory.new();
|
|
||||||
sgt = await SGT.new(miniMeFactory.address);
|
miniMeTokenFactory = await MiniMeTokenFactory.new();
|
||||||
|
|
||||||
|
sgt = await SGT.new(miniMeTokenFactory.address);
|
||||||
await sgt.generateTokens(addressSGTHolder, 5000);
|
await sgt.generateTokens(addressSGTHolder, 5000);
|
||||||
|
|
||||||
snt = await SNT.new(miniMeFactory.address);
|
snt = await SNT.new(miniMeTokenFactory.address);
|
||||||
statusContribution = await StatusContributionMock.new();
|
statusContribution = await StatusContributionMock.new();
|
||||||
contributionWallet = await ContributionWallet.new(
|
contributionWallet = await ContributionWallet.new(
|
||||||
multisigStatus.address,
|
multisigStatus.address,
|
||||||
|
|
|
@ -27,7 +27,7 @@ contract("StatusContribution", (accounts) => {
|
||||||
let multisigComunity;
|
let multisigComunity;
|
||||||
let multisigReserve;
|
let multisigReserve;
|
||||||
let multisigDevs;
|
let multisigDevs;
|
||||||
let miniMeFactory;
|
let miniMeTokenFactory;
|
||||||
let sgt;
|
let sgt;
|
||||||
let snt;
|
let snt;
|
||||||
let statusContribution;
|
let statusContribution;
|
||||||
|
@ -53,12 +53,14 @@ contract("StatusContribution", (accounts) => {
|
||||||
multisigComunity = await MultiSigWallet.new([addressCommunity], 1);
|
multisigComunity = await MultiSigWallet.new([addressCommunity], 1);
|
||||||
multisigReserve = await MultiSigWallet.new([addressReserve], 1);
|
multisigReserve = await MultiSigWallet.new([addressReserve], 1);
|
||||||
multisigDevs = await MultiSigWallet.new([addressDevs], 1);
|
multisigDevs = await MultiSigWallet.new([addressDevs], 1);
|
||||||
miniMeFactory = await MiniMeTokenFactory.new();
|
|
||||||
sgt = await SGT.new(miniMeFactory.address);
|
miniMeTokenFactory = await MiniMeTokenFactory.new();
|
||||||
|
|
||||||
|
sgt = await SGT.new(miniMeTokenFactory.address);
|
||||||
await sgt.generateTokens(addressSGTHolder, 2500);
|
await sgt.generateTokens(addressSGTHolder, 2500);
|
||||||
await sgt.generateTokens(addressStatus, 2500);
|
await sgt.generateTokens(addressStatus, 2500);
|
||||||
|
|
||||||
snt = await SNT.new(miniMeFactory.address);
|
snt = await SNT.new(miniMeTokenFactory.address);
|
||||||
statusContribution = await StatusContributionMock.new();
|
statusContribution = await StatusContributionMock.new();
|
||||||
contributionWallet = await ContributionWallet.new(
|
contributionWallet = await ContributionWallet.new(
|
||||||
multisigStatus.address,
|
multisigStatus.address,
|
||||||
|
|
Loading…
Reference in New Issue