Multiplier

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x7cb1167b at 11671489
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 "Multiplier"

No transactions found for "Multiplier"


Functions
Getter at block 21288839
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MODIFIER_ROLE(view returns (bytes32)
0x62ca43aa15f7f495faa685ce5a258aa390fdc8d7094251dd23d32353f496ddfe
Read-only
discountEpoch(uint256view returns (uint256)
getLastTokenLevelForUser(address _contractaddress _useraddress _tokenuint256 _epochuint256 _pidview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getSpendableCostPerTokenForUser(address _contractaddress _useraddress _tokenuint256 _leveluint256 _epochuint256 _pidview returns (uint256)
getTokensSpentPerContract(address _contractaddress _tokenaddress _useruint256 _epochuint256 _pidview returns (uint256)
getTotalLevel(address _contractaddress _useruint256 _epochuint256 _pidview returns (uint256)
getTotalValueForUser(address _contractaddress _useruint256 _epochuint256 _pidview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isSpendableTokenInContract(address _contractaddress _tokenuint256 _pidview returns (bool)
spendableInfos(addressuint256addressuint256view returns (uint256 amountuint256 costbytes32 data)
spendableTokenCountPerContract(addressview returns (uint256)
spendableTokensPerContract(addressuint256uint256view returns (address)
spentTokensPerContract(addressaddressaddressuint256uint256view returns (uint256)
userDiscount(addressuint256view returns (uint256)
userLastLevelForTokenInContract(addressaddressaddressuint256uint256view returns (uint256)
userTotalLevel(addressaddressuint256uint256view returns (uint256)
userValueFromSpending(addressaddressuint256uint256view returns (uint256)
State-modifying
addSpendableTokenForContract(address _contractuint256 _pidaddress _spendableTokenstruct MultiplierSpendableInfo[] _spendableInfos
grantRole(bytes32 roleaddress account
initialize(
purchase(address _contractaddress _useraddress _tokenuint256 _newLeveluint256 _epochuint256 _pid
removeSpendableTokenFromContract(address _contractaddress _spendableTokenuint256 _pid
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setDiscountEpoch(uint256 _epochuint256 _amt
setDiscountForAccount(uint256 _epochuint256 _amtaddress _account
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.