Deflector

Verified contract

Active on Ethereum with 98 txns
Deployed by via 0x0b1afe9a at 11440522
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots

No balances found for "Deflector"

0xe74f4a24e3fc14d2d1025873425aa6fb148eadf24a264075db8646783a835968
0xec81ba361b745f70f9bbb2480152f78668330e180e4e0c608a5bfd2ccd9ffd3d
0x6158bd6934c3baf9eddca7f6911070721a0be4afef89fe0d08f50da8a359c151
0x275cab52314e7246285c0d04500a1627fe4f91876e3a445296015781df21c94e
0x983c962c489a2607da8288f89a3bea0de66937c33c96d2e821831bdb4223b7f8
0xbf8d4b69ce9f8ead58c6fc97bd5a236837a22af8fdd8ab507f1a2657319b4224
0x630dd1cd107e2c71402f94c2e896690f907f6ce6c1b05d5fb02c07f8ed323472
0x9c1be670dd034d6e7b120d1134df104c9d3c238559fcc08e389a218a380bb942
0x77037661e8f882998193313dd347fb868a1eb4a08980960297358ce6bcafb264
0x8e5c00deff71a452a94805c730832d38924ed5ba1d8d41657143a15b11f655c5

Functions
Getter at block 21304173
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MODIFIER_ROLE(view returns (bytes32)
0x62ca43aa15f7f495faa685ce5a258aa390fdc8d7094251dd23d32353f496ddfe
Read-only
getLastTokenLevelForUser(address _contractaddress _useraddress _tokenview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getSpendableCostPerTokenForUser(address _contractaddress _useraddress _tokenuint256 _levelview returns (uint256)
getTokensSpentPerContract(address _contractaddress _tokenaddress _userview returns (uint256)
getTotalLevel(address _contractaddress _userview returns (uint256)
getTotalValueForUser(address _contractaddress _userview returns (uint256)
globalEffectCounts(addressview returns (uint256)
globalEffectInfos(addressuint256view returns (uint256 r1uint256 r2uint256 amountbytes32 data)
globalEffectTokenForContract(addressview returns (address)
hasRole(bytes32 roleaddress accountview returns (bool)
isSpendableTokenInContract(address _contractaddress _tokenview returns (bool)
spendableInfos(addressaddressuint256view returns (uint256 amountuint256 costbytes32 data)
spendableTokenCountPerContract(addressview returns (uint256)
spendableTokensPerContract(addressuint256view returns (address)
spentTokensPerContract(addressaddressaddressview returns (uint256)
userLastLevelForTokenInContract(addressaddressaddressview returns (uint256)
userTotalLevel(addressaddressview returns (uint256)
userValueFromSpending(addressaddressview returns (uint256)
State-modifying
addSpendableTokenForContract(address _contractaddress _spendableTokenstruct DeflectorSpendableInfo[] _spendableInfos
adjustGlobalEffectValues(address _contractstruct DeflectorRange[] _ranges
grantRole(bytes32 roleaddress account
initialize(
initializeGlobalEffect(address[] _contractsaddress _globalEffectToken
purchase(address _contractaddress _useraddress _tokenuint256 _newLevel
removeSpendableTokenFromContract(address _contractaddress _spendableToken
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setGlobalEffectToken(address _contractaddress _token
Events
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.