update
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
9
contracts/interfaces/INFTMetadata.sol
Normal file
9
contracts/interfaces/INFTMetadata.sol
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user