Multiplier
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
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
Balances ($0.00)
No balances found for "Multiplier"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Multiplier"
ABI
ABI objects
Getter at block 21172055
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MODIFIER_ROLE() view returns (bytes32)
0x62ca43aa15f7f495faa685ce5a258aa390fdc8d7094251dd23d32353f496ddfe
Read-only
discountEpoch(uint256) view returns (uint256)
getLastTokenLevelForUser(address _contract, address _user, address _token, uint256 _epoch, uint256 _pid) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getSpendableCostPerTokenForUser(address _contract, address _user, address _token, uint256 _level, uint256 _epoch, uint256 _pid) view returns (uint256)
getTokensSpentPerContract(address _contract, address _token, address _user, uint256 _epoch, uint256 _pid) view returns (uint256)
getTotalLevel(address _contract, address _user, uint256 _epoch, uint256 _pid) view returns (uint256)
getTotalValueForUser(address _contract, address _user, uint256 _epoch, uint256 _pid) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
isSpendableTokenInContract(address _contract, address _token, uint256 _pid) view returns (bool)
spendableInfos(address, uint256, address, uint256) view returns (uint256 amount, uint256 cost, bytes32 data)
spendableTokenCountPerContract(address) view returns (uint256)
spendableTokensPerContract(address, uint256, uint256) view returns (address)
spentTokensPerContract(address, address, address, uint256, uint256) view returns (uint256)
userDiscount(address, uint256) view returns (uint256)
userLastLevelForTokenInContract(address, address, address, uint256, uint256) view returns (uint256)
userTotalLevel(address, address, uint256, uint256) view returns (uint256)
userValueFromSpending(address, address, uint256, uint256) view returns (uint256)
State-modifying
Events addSpendableTokenForContract(address _contract, uint256 _pid, address _spendableToken, struct MultiplierSpendableInfo[] _spendableInfos)
grantRole(bytes32 role, address account)
initialize()
purchase(address _contract, address _user, address _token, uint256 _newLevel, uint256 _epoch, uint256 _pid)
removeSpendableTokenFromContract(address _contract, address _spendableToken, uint256 _pid)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setDiscountEpoch(uint256 _epoch, uint256 _amt)
setDiscountForAccount(uint256 _epoch, uint256 _amt, address _account)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.