This commit is contained in:
mingda
2021-03-23 22:30:29 +08:00
committed by owen05
parent 5506c096ac
commit 492b987d9a
6 changed files with 235 additions and 10 deletions

View File

@@ -0,0 +1,23 @@
/*
Copyright 2020 DODO ZOO.
SPDX-License-Identifier: Apache-2.0
*/
pragma solidity 0.6.9;
import {SafeMath} from "../../lib/SafeMath.sol";
import {InitializableOwnable} from "../../lib/InitializableOwnable.sol";
import {IERC721} from "../../intf/IERC721.sol";
import {IERC721Receiver} from "../../intf/IERC721Receiver.sol";
contract NFTCollateralVault is InitializableOwnable, IERC721Receiver, ReentrancyGuard {
mapping(address => uint256[]) public _COLLECTIONS_;
address[] public _COLLECTION_ADDRESSES_;
function transferOwnership(address newOwner) external override onlyOwner {
emit OwnershipTransferred(_OWNER_, newOwner);
_OWNER_ = newOwner;
}
}