TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Base with 35,308 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xa9ce…d157
-
variable spans 49 additional slots
Balances ($708.23)
Native
Value
$708.23
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Eth | Native | 0.21 | $3,372.51 |
$708.23 | |
USA | ERC-20 | 1 | $0.000858 |
$0 | |
OHNO | ERC-20 | 3.327861K | -- | -- | |
| ERC-20 | 2.4K | -- | -- | |
LZPZ | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22717598 | an hour ago | | | 0 | 0.000012226334 | |
| 22715847 | 2 hours ago | | | 0 | 0.000012226334 | |
| 22713881 | 3 hours ago | | | 0 | 0.000010375011 | |
| 22713872 | 3 hours ago | | | 0 | 0.000012227634 | |
| 22712297 | 4 hours ago | | | 0 | 0.000010373711 | |
| 22712198 | 4 hours ago | | | 0 | 0.000010373711 | |
| 22710818 | 5 hours ago | | | 0 | 0.000012226334 | |
| 22707663 | 7 hours ago | | | 0 | 0.000012226334 | |
| 22706595 | 7 hours ago | | | 0 | 0.000012227634 | |
| 22702178 | 10 hours ago | | | 0 | 0.000012226334 |
ABI
ABI objects
Getter at block 22719464
ADMIN_ROLE() view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
WRITER_ROLE() view returns (bytes32)
0x2b8f168f361ac1393a163ed4adfa899a87be7b7c71645167bdaddd822ae453c8
ethAddress() view returns (address)
0x0000000000000000000000000000000000000001
owner() view returns (address)
0x9a9c084d31220411fa323d9d9fab9179f204ff0b
payToken() view returns (address)
0xaa377f2199999844e873a4f1cbc4f91636465ef0
takerFeeContract() view returns (address)
0xa9ce5d645388b0a2c8024c8a6b8ee06cde8bd157
Read-only
estimatePackPrice(uint256 packID, uint256 unitAmount) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getTodayPackPurchased(uint256 packID, uint256 forUser) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
packLimit(uint256) view returns (uint256)
packLimitType(uint256) view returns (uint8)
packPrice(uint256) view returns (uint256)
packPurchasedAllTime(uint256, uint256) view returns (uint256)
packPurchasedToday(uint256, uint256) view returns (uint256)
supportToken(address) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events __RolebaseWriter_init(address admin)
buyRequest(string requestID, struct ITakerFeeTakeFeeData _takeFee) payable
grantRole(bytes32 role, address account)
grantWriter(address account)
grantWriters(address[] accounts)
initialize()
purchasePack(uint256 packID, uint256 forUser) payable
renounceOwnership()
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
revokeWriter(address account)
setPackPrice(uint256 packID, uint256 newPrice, uint256 newPackLimit, uint8 newLimitType)
setPayToken(address _payToken)
setTakerFeeContract(address _takerFeeContract)
transferFunds(address to, uint256 amount)
transferOwnership(address newOwner)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
BuyStoreRequested(address indexed user, uint256 amount, uint256 timestamp, address tokenPay, string requestID)
Initialized(uint64 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PackPriceModified(uint256 packID, uint256 oldPrice, uint256 newPrice, uint256 oldPackLimit, uint256 newPackLimit, uint8 oldLimitType, uint8 newLimitType)
PackPurchased(address indexed user, uint256 packID, uint256 userId, uint256 timestamp, address tokenPay, uint256 amount)
PayTokenChanged(address oldPayToken, address token)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
InvalidInitialization()
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall()