From ac6c461f4c50fa5908158e6a64fe2987ecdef318 Mon Sep 17 00:00:00 2001 From: Ashley Chandy <76095880+ashleychandy@users.noreply.github.com> Date: Tue, 14 Apr 2026 17:44:18 +0530 Subject: [PATCH] Update imports --- src/contracts/Dice.sol | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/contracts/Dice.sol b/src/contracts/Dice.sol index d724ab9..19cddb8 100644 --- a/src/contracts/Dice.sol +++ b/src/contracts/Dice.sol @@ -1,12 +1,12 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.20; -import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; -import "@openzeppelin/contracts/utils/Pausable.sol"; -import "@openzeppelin/contracts/access/Ownable.sol"; +import "@openzeppelin/contracts@4.3.3/security/ReentrancyGuard.sol"; +import "@openzeppelin/contracts@4.3.3/security/Pausable.sol"; +import "@openzeppelin/contracts@4.3.3/access/Ownable.sol"; -import "lib/contractsv2/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol"; -import "lib/contractsv2/src/v0.8/VRFConsumerBaseV2.sol"; +import "@goplugin/contracts2_3/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol"; +import "@goplugin/contracts2_3/src/v0.8/VRFConsumerBaseV2.sol"; interface IERC20 { function totalSupply() external view returns (uint256); @@ -135,7 +135,7 @@ contract Dice is ReentrancyGuard, Pausable, VRFConsumerBaseV2, Ownable { uint32 _callbackGasLimit, uint16 _requestConfirmations, uint8 _numWords - ) VRFConsumerBaseV2(vrfCoordinator) Ownable(msg.sender) { + ) VRFConsumerBaseV2(vrfCoordinator) { require(_gamaTokenAddress != address(0), "Token address cannot be zero"); require(vrfCoordinator != address(0), "VRF coordinator cannot be zero"); require(_callbackGasLimit > 0, "Callback gas limit cannot be zero");