RewardsContract

Verified contract

Active on Ethereum with 495 txns
Deployed by via 0xccca8b5e at 10255662
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $7,570.85
0x84f11b66eef6491aa93c245b8fcae45c91353546f6f69c152cc4b176e8c15dc0
0x022e837cf01e7180b2a5f713e12c2fd3eb8c773e5a398eb9166eb6da4e440e02
0xec616e75ed193e128e312add2ed7c5b94378031891bd0976b6f7cfb0d2a1cef4
0x49fcd09a589ee1dc0e2e29c1a82d50cf2134eecbca189b0b67ad78cca581d4dd
0xce30409368d9d9f1d348fbf2ca9c0532aca2805487633dbeabb40169bda63158
0x4b61c0af6baaf03acc04091b2a773e35a5ca953e47d599f2afcc960b6bdaa75b
0xa078c839dd15a5ecc9f477887bbcc2a85d2fc2a70ea6624c5a22d81574bc09d8
0xfe423efe58695188ef2e5c3b3487080cbeeaa31d439cb90887668d06b73f5da0
0xab7a22d8f8c17812fcad1f6fc51f76500f0930ca4371b04fb41deca8df128b95
0x65d2c483be9fc6d14c3ce4178509cbbf95600aaf545c8559e1dc9f30aaf36dca

Functions
Getter at block 21328898
SECONDS_PER_WEEK(view returns (uint256)
604800
WEEK_ZERO_START(view returns (uint256)
1538352000
erc20Contract(view returns (address)
0x63f88a2298a5c4aee3c216aa6d926b184a4b2437
gameContract(view returns (address)
0xb5aafa2f675b5ec6590595944feb9fe9a71178b1
getCurrentWeek(view returns (uint256)
322
isSupportContract(pure returns (bool)
true
owner(view returns (address)
0x2c5ac9d8e04d98def29b0c9c3d42cd8778a64e92
recoveryAddress(view returns (address)
0x0000000000000000000000000000000000000000
totalSupport(view returns (uint256)
3097534000000000000000000
url(view returns (string)
https://www.gamecredits.org
Read-only
accountSupport(addressview returns (uint256)
gameAccountSupport(uint256addressview returns (uint256)
gameSupport(uint256view returns (uint256)
getGameAccountSupport(uint256 _gameaddress _accountview returns (uint256 support)
lastPayoutWeekByAccount(addressview returns (uint256)
lastPayoutWeekByGame(uint256view returns (uint256)
weekAccountSupport(uint256addressview returns (uint256)
weekGameAccountSupport(uint256uint256addressview returns (uint256)
weekGameSupport(uint256uint256view returns (uint256)
weekTotalSupport(uint256view returns (uint256)
weeklyRewardsPool(uint256view returns (uint256)
State-modifying
collectGamePayout(uint256 _gameuint256 _numberOfWeeksreturns (uint256 _payout)
collectRewards(uint256 _numberOfWeeksreturns (uint256 _payout)
contestEntry(uint256addressuint256uint256uint256bytes32
fundRewardsPool(uint256 _amountuint256 _startWeekuint256 _numberOfWeeks
receiveGameCredits(uint256addressuint256uint256bytes32
receiveLoyaltyPayment(uint256addressuint256uint256bytes32
setOwner(address _newOwner
setPromotedGame(uint256 _gamebool _isPromotedstring _json
setRecovery(address _newRecovery
setSuppressedGame(uint256 _gamebool _isSuppressed
updateSupport(uint256 _gameaddress _accountuint256 _newSupport
Events
ChangeSupport(uint256 weekuint256 indexed gameaddress indexed supporteruint256 prevSupportuint256 newSupportuint256 accountSupportuint256 gameSupportuint256 totalSupport
EnterContest(uint256 indexed _gameaddress indexed accountuint256 _tokenIduint256 indexed _contestIduint256 _paymentbytes32 _data
GameCreditsPayment(uint256 indexed _gameaddress indexed accountuint256 indexed _tokenIduint256 _paymentbytes32 _data
LoyaltyPayment(uint256 indexed _gameaddress indexed accountuint256 indexed _tokenIduint256 _paymentbytes32 _data
OwnershipTransferred(address previousOwneraddress newOwner
Payout(address indexed supporteruint256 indexed gameuint256 amountuint256 endWeek
PromotedGame(uint256 gamebool isPromotedstring json
SuppressedGame(uint256 gamebool isSuppressed
WeeklyRewardsPoolUpdated(uint256 weekuint256 stored
Constructor
constructor(address _erc20Contractaddress _gameContract
Fallback and receive
fallback(
Errors

This contract contains no error objects.