mirror of
https://github.com/averel10/crypto_clash.git
synced 2026-03-12 19:08:11 +01:00
Update game contract address in config and adjust timeout durations in Game.sol
This commit is contained in:
@@ -59,7 +59,7 @@
|
|||||||
"type": "function"
|
"type": "function"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"GAME_CONTRACT_ADDRESS": "0x7C56Fd34374F0244402aDDf5E940490C1a53E92E",
|
"GAME_CONTRACT_ADDRESS": "0x6B2d5cE3C7374000c3E0C25Bf3Bddc460aC70C08",
|
||||||
"GAME_ABI": [
|
"GAME_ABI": [
|
||||||
{
|
{
|
||||||
"inputs": [],
|
"inputs": [],
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
"type": "function"
|
"type": "function"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"GAME_CONTRACT_ADDRESS": "0x7C56Fd34374F0244402aDDf5E940490C1a53E92E",
|
"GAME_CONTRACT_ADDRESS": "0x6B2d5cE3C7374000c3E0C25Bf3Bddc460aC70C08",
|
||||||
"GAME_ABI": [
|
"GAME_ABI": [
|
||||||
{
|
{
|
||||||
"inputs": [],
|
"inputs": [],
|
||||||
|
|||||||
Reference in New Issue
Block a user