update dodoNftProxy
This commit is contained in:
@@ -81,7 +81,7 @@ module.exports = {
|
||||
DodoNftErc1155: "0xdC9224cbc4B1826Bb74fF383FF1CE94DE1F56119",
|
||||
|
||||
DODONFTRegistry: "0x2c0Dd764A0bE8A7e747Cb0765E268d576edce31a",
|
||||
DODONFTProxy: "0x4852394EcC099f13bdC44764FA34dEB26D8131fa",
|
||||
DODONFTProxy: "0xb9c408574393487BFb95c0E7E94f0D76E1e6fCde",
|
||||
|
||||
//================= DropsV1 =================
|
||||
// MysteryBoxV1: "0xc25286ef3BaE3f6Fe2d6d0A6e2acAd0301AF97b8", //波老师
|
||||
|
||||
@@ -39,8 +39,8 @@ contract DODONFTProxy is ReentrancyGuard, InitializableOwnable {
|
||||
address public immutable _DODO_APPROVE_PROXY_;
|
||||
address public immutable _CLONE_FACTORY_;
|
||||
address public immutable _NFT_REGISTY_;
|
||||
address public immutable _DEFAULT_MAINTAINER_;
|
||||
|
||||
|
||||
address public _DEFAULT_MAINTAINER_;
|
||||
address public _MT_FEE_RATE_MODEL_;
|
||||
address public _VAULT_TEMPLATE_;
|
||||
address public _FRAG_TEMPLATE_;
|
||||
@@ -53,6 +53,7 @@ contract DODONFTProxy is ReentrancyGuard, InitializableOwnable {
|
||||
event ChangeDvmTemplate(address newDvmTemplate);
|
||||
event ChangeMtFeeRateTemplate(address newMtFeeRateTemplate);
|
||||
event ChangeBuyoutModel(address newBuyoutModel);
|
||||
event ChangeMaintainer(address newMaintainer);
|
||||
event CreateNFTCollateralVault(address creator, address vault, string name, string baseURI);
|
||||
event CreateFragment(address vault, address fragment, address dvm);
|
||||
event Buyout(address from, address fragment, uint256 amount);
|
||||
@@ -196,6 +197,11 @@ contract DODONFTProxy is ReentrancyGuard, InitializableOwnable {
|
||||
emit ChangeBuyoutModel(newBuyoutModel);
|
||||
}
|
||||
|
||||
function updateMaintainer(address newMaintainer) external onlyOwner {
|
||||
_DEFAULT_MAINTAINER_ = newMaintainer;
|
||||
emit ChangeMaintainer(newMaintainer);
|
||||
}
|
||||
|
||||
|
||||
//============= Internal ================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user