-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
346 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { buildModule } from '@nomicfoundation/hardhat-ignition/modules'; | ||
|
||
const MetaDogPresale = buildModule('MetaDogPresale', (m) => { | ||
const metadogAddress = m.getParameter('address'); | ||
const whitelistRoot = m.getParameter('whitelistRoot'); | ||
const metadog = m.contractAt('MetaDog', metadogAddress); | ||
m.call(metadog, 'setWhitelistMerkleRoot', [whitelistRoot]); | ||
return { metadog }; | ||
}); | ||
|
||
export default MetaDogPresale; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { buildModule } from '@nomicfoundation/hardhat-ignition/modules'; | ||
|
||
const MetaDogPublicSale = buildModule('MetaDogPublicSale', (m) => { | ||
const metadogAddress = m.getParameter('address'); | ||
const metadog = m.contractAt('MetaDog', metadogAddress); | ||
m.call(metadog, 'startPublicSale'); | ||
|
||
return { metadog }; | ||
}); | ||
|
||
export default MetaDogPublicSale; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { buildModule } from '@nomicfoundation/hardhat-ignition/modules'; | ||
|
||
const MetaDogReserve = buildModule('MetaDogReserve', (m) => { | ||
const metadogAddress = m.getParameter('address'); | ||
const metadog = m.contractAt('MetaDog', metadogAddress); | ||
m.call(metadog, 'collectReserves'); | ||
|
||
return { metadog }; | ||
}); | ||
|
||
export default MetaDogReserve; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { buildModule } from '@nomicfoundation/hardhat-ignition/modules'; | ||
|
||
const MetaDogReveal = buildModule('MetaDogReveal', (m) => { | ||
const metadogAddress = m.getParameter('address'); | ||
const revealTokenURI = m.getParameter('revealTokenURI'); | ||
const metadog = m.contractAt('MetaDog', metadogAddress); | ||
|
||
m.call(metadog, 'setBaseURI', [`ipfs://${revealTokenURI}/`]); | ||
return { metadog }; | ||
}); | ||
|
||
export default MetaDogReveal; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.