Update game contract address in config and adjust timeout durations in Game.sol

This commit is contained in:
averel10
2025-11-22 11:02:32 +01:00
parent 7f1143eb22
commit d0d2cd1cac
3 changed files with 4 additions and 4 deletions

View File

@@ -59,7 +59,7 @@
"type": "function" "type": "function"
} }
], ],
"GAME_CONTRACT_ADDRESS": "0x7C56Fd34374F0244402aDDf5E940490C1a53E92E", "GAME_CONTRACT_ADDRESS": "0x6B2d5cE3C7374000c3E0C25Bf3Bddc460aC70C08",
"GAME_ABI": [ "GAME_ABI": [
{ {
"inputs": [], "inputs": [],

View File

@@ -4,8 +4,8 @@ pragma solidity >=0.7.3;
contract Game { contract Game {
uint public constant BET_MIN = 1e16; // The minimum bet (1 BLD) uint public constant BET_MIN = 1e16; // The minimum bet (1 BLD)
uint public constant REVEAL_TIMEOUT = 0.5 minutes; // Max delay of revelation phase uint public constant REVEAL_TIMEOUT = 10 minutes; // Max delay of revelation phase
uint public constant COMMIT_TIMEOUT = 0.5 minutes; // Max delay of commit phase uint public constant COMMIT_TIMEOUT = 10 minutes; // Max delay of commit phase
enum Moves { enum Moves {
None, None,

View File

@@ -59,7 +59,7 @@
"type": "function" "type": "function"
} }
], ],
"GAME_CONTRACT_ADDRESS": "0x7C56Fd34374F0244402aDDf5E940490C1a53E92E", "GAME_CONTRACT_ADDRESS": "0x6B2d5cE3C7374000c3E0C25Bf3Bddc460aC70C08",
"GAME_ABI": [ "GAME_ABI": [
{ {
"inputs": [], "inputs": [],