-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* dexe multiplier nft * multiplier mock * Update deploy/97_DEXEDAOMultiplier.migration.js Co-authored-by: Artem Chystiakov <47551140+Arvolear@users.noreply.github.com> * cosmetics --------- Co-authored-by: Artem Chystiakov <47551140+Arvolear@users.noreply.github.com> Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
- Loading branch information
1 parent
6435c7d
commit 5301a58
Showing
4 changed files
with
56 additions
and
2 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,10 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.20; | ||
|
||
import "../../../gov/ERC721/multipliers/DexeERC721Multiplier.sol"; | ||
|
||
contract DexeERC721MultiplierMock is DexeERC721Multiplier { | ||
function getImplementation() external view returns (address) { | ||
return _getImplementation(); | ||
} | ||
} |
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,16 @@ | ||
const { Reporter } = require("@solarity/hardhat-migrate"); | ||
|
||
const ERC1967Proxy = artifacts.require("ERC1967Proxy"); | ||
const DexeMultiplier = artifacts.require("DexeERC721Multiplier"); | ||
|
||
module.exports = async (deployer) => { | ||
let dexeMultiplier = await deployer.deploy(DexeMultiplier); | ||
await deployer.deploy(ERC1967Proxy, [dexeMultiplier.address, "0x"], { name: "multiplierProxy" }); | ||
|
||
dexeMultiplier = await deployer.deployed(DexeMultiplier, "multiplierProxy"); | ||
|
||
await dexeMultiplier.__ERC721Multiplier_init("DeXe Multiplier NFT", "DEXE MULTNFT"); | ||
await dexeMultiplier.transferOwnership(deployer.dexeDaoAddress); | ||
|
||
Reporter.reportContracts(["DEXE MULTIPLIER NFT", dexeMultiplier.address]); | ||
}; |
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