MultiplierProxy
Verified contract
Proxy
Active on
Ethereum with 56 txns
Unified 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 "MultiplierProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11733201 | 4 years ago | | | 0 | 0.0041582160 | |
| 11671543 | 4 years ago | | | 0 | 0.0029029000 | |
| 11671513 | 4 years ago | | | 0 | 0.0015658500 | |
| 11671495 | 4 years ago | | | 0 | 0.0012827650 | |
| 11614702 | 4 years ago | | | 0 | 0.019101810 | |
| 11614700 | 4 years ago | | | 0 | 0.0080888080 | |
| 11614694 | 4 years ago | | | 0 | 0.021403746 | |
| 11614692 | 4 years ago | | | 0 | 0.0075599160 | |
| 11614691 | 4 years ago | | | 0 | 0.019110546 | |
| 11614690 | 4 years ago | | | 0 | 0.0070310240 |
ABI
ABI objects
Getter at block 21172055
implementation() view returns (address impl)
0xcf9b77224d47102a5292d24600b258aa053bba6f
proxyOwner() view returns (address owner)
0x50b3830641a5fd46ac191f168e3eac638c40343c
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 setup(address _implementation)
setupOwner(address _newOwner)
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)
constructor()
fallback()
This contract contains no error objects.