49 lines
1.1 KiB
Solidity
49 lines
1.1 KiB
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity 0.8.10;
|
|
import "@openzeppelin/contracts/access/Ownable.sol";
|
|
import "@openzeppelin/contracts/proxy/utils/Initializable.sol";
|
|
import "../interfaces/INFTFactory.sol";
|
|
import "../interfaces/IBEERC721.sol";
|
|
import "../interfaces/IBEERC1155.sol";
|
|
|
|
contract UserEvolveFactory is Ownable, Initializable {
|
|
IBEERC721 public hero;
|
|
IBEERC721 public equip;
|
|
IBEERC1155 public chip;
|
|
IBEERC1155 public shard;
|
|
|
|
event TokenEvolveFail (
|
|
address indexed to,
|
|
uint256 mainToken,
|
|
bytes signature,
|
|
string reason,
|
|
bytes byteReason
|
|
);
|
|
|
|
function init() external initializer onlyOwner {
|
|
}
|
|
|
|
/**
|
|
* @dev evolve function to Blissful Elites Hero NFT
|
|
* tokenIds: [hero_to_evolve, hero_for_burn, chip]
|
|
*/
|
|
function evolveHero(
|
|
uint256[3] calldata tokenIds,
|
|
uint256 saltNonce,
|
|
bytes calldata signature
|
|
) external {
|
|
|
|
}
|
|
/**
|
|
* @dev evolve function to Blissful Elites Equip NFT
|
|
* tokenIds: [equip_to_evolve, equip_for_burn, chip]
|
|
*/
|
|
function evolveEquip(
|
|
uint256[3] calldata tokenIds,
|
|
uint256 saltNonce,
|
|
bytes calldata signature
|
|
) external{
|
|
}
|
|
|
|
}
|