Skip to content

Commit 4212b61

Browse files
authored
Merge pull request #63 from Hats-Protocol/add/unlock-eligibility
Add PublicLock V14 Eligibility
2 parents 0aa0995 + 4caabe1 commit 4212b61

8 files changed

+688
-0
lines changed

modules/haberdasher-labs_public-lock-v14-eligibility-hatter_v0.1.2.json

Lines changed: 625 additions & 0 deletions
Large diffs are not rendered by default.

test/arbitrumDeployments.test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ describe("Arbitrum deployments", () => {
6969
if (module.name === "JokeRace Eligibility") {
7070
continue;
7171
}
72+
73+
// the unlock module has dependencies on other external contracts
74+
if (
75+
module.implementationAddress ===
76+
"0x4c7803041851f7a17Fc6b5Ff5c911FC748160637"
77+
) {
78+
continue;
79+
}
80+
7281
// check if module is deployed on goerli. If not, then skip
7382
let isOnArbitrum = false;
7483
for (let i = 0; i < module.deployments.length; i++) {

test/baseDeployments.test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ describe("Base deployments", () => {
6969
if (module.name === "JokeRace Eligibility") {
7070
continue;
7171
}
72+
73+
// the unlock module has dependencies on other external contracts
74+
if (
75+
module.implementationAddress ===
76+
"0x4c7803041851f7a17Fc6b5Ff5c911FC748160637"
77+
) {
78+
continue;
79+
}
80+
7281
// check if module is deployed on goerli. If not, then skip
7382
let isOnBase = false;
7483
for (let i = 0; i < module.deployments.length; i++) {

test/celoDeployments.test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ describe("Celo deployments", () => {
6969
if (module.name === "JokeRace Eligibility") {
7070
continue;
7171
}
72+
73+
// the unlock module has dependencies on other external contracts
74+
if (
75+
module.implementationAddress ===
76+
"0x4c7803041851f7a17Fc6b5Ff5c911FC748160637"
77+
) {
78+
continue;
79+
}
80+
7281
// check if module is deployed on goerli. If not, then skip
7382
let isOnCelo = false;
7483
for (let i = 0; i < module.deployments.length; i++) {

test/gnosisDeployments.test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ describe("Gnosis deployments", () => {
6969
if (module.name === "JokeRace Eligibility") {
7070
continue;
7171
}
72+
73+
// the unlock module has dependencies on other external contracts
74+
if (
75+
module.implementationAddress ===
76+
"0x4c7803041851f7a17Fc6b5Ff5c911FC748160637"
77+
) {
78+
continue;
79+
}
80+
7281
// check if module is deployed on goerli. If not, then skip
7382
let isOnGnosis = false;
7483
for (let i = 0; i < module.deployments.length; i++) {

test/mainnetDeployments.test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ describe("Mainnet deployments", () => {
6969
if (module.name === "JokeRace Eligibility") {
7070
continue;
7171
}
72+
73+
// the unlock module has dependencies on other external contracts
74+
if (
75+
module.implementationAddress ===
76+
"0x4c7803041851f7a17Fc6b5Ff5c911FC748160637"
77+
) {
78+
continue;
79+
}
80+
7281
// check if module is deployed on goerli. If not, then skip
7382
let isOnMainnet = false;
7483
for (let i = 0; i < module.deployments.length; i++) {

test/optimismDeployments.test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ describe("Optimism deployments", () => {
6969
if (module.name === "JokeRace Eligibility") {
7070
continue;
7171
}
72+
73+
// the unlock module has dependencies on other external contracts
74+
if (
75+
module.implementationAddress ===
76+
"0x4c7803041851f7a17Fc6b5Ff5c911FC748160637"
77+
) {
78+
continue;
79+
}
80+
7281
// check if module is deployed on goerli. If not, then skip
7382
let isOnOptimism = false;
7483
for (let i = 0; i < module.deployments.length; i++) {

test/polygonDeployments.test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ describe("Polygon deployments", () => {
6969
if (module.name === "JokeRace Eligibility") {
7070
continue;
7171
}
72+
73+
// the unlock module has dependencies on other external contracts
74+
if (
75+
module.implementationAddress ===
76+
"0x4c7803041851f7a17Fc6b5Ff5c911FC748160637"
77+
) {
78+
continue;
79+
}
80+
7281
// check if module is deployed on goerli. If not, then skip
7382
let isOnPolygon = false;
7483
for (let i = 0; i < module.deployments.length; i++) {

0 commit comments

Comments
 (0)