We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0c7590 commit b1e96ecCopy full SHA for b1e96ec
entropy/growing/contract/contracts/NFTGrowth.sol
@@ -59,7 +59,7 @@ event NftGrowthRequested(
59
);
60
61
contract NFTGrowth is NFT, IEntropyConsumer {
62
- IEntropy entropy;
+ IEntropyV2 entropy;
63
uint256 maxLevel = 5;
64
uint256 successChance = 4000;
65
uint256 failChance = 4000;
@@ -72,7 +72,7 @@ contract NFTGrowth is NFT, IEntropyConsumer {
72
mapping(uint256 => NFTLock) public nftLock;
73
74
constructor(address _entropy) {
75
- entropy = IEntropy(_entropy);
+ entropy = IEntropyV2(_entropy);
76
}
77
78
function requireLock(uint256 tokenId) private view {
0 commit comments