This commit is contained in:
2022-10-19 13:05:23 +03:00
parent b8793df4f8
commit cd02184d35
11 changed files with 211 additions and 172 deletions

View File

@@ -3,5 +3,17 @@
pragma solidity ^0.8.14;
interface INFT {
struct TokenInfo {
string image;
address[] tokens;
uint256 rate;
uint256 attack;
uint256 defense;
uint256 health;
uint256 critChance;
uint256 critDmg;
uint256 recover;
}
function raiseRewardPool(uint256 amount) external;
}
}

View File

@@ -0,0 +1,9 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.14;
import "./INFT.sol";
interface INFTMetadata {
function tokenURI(uint256 tokenId, INFT.TokenInfo memory token) external view returns (string memory);
}