BuyStoreRequest
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "BuyStoreRequest"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "BuyStoreRequest"
ABI
ABI objects
Getter at block 21743665
ADMIN_ROLE() view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
WRITER_ROLE() view returns (bytes32)
0x2b8f168f361ac1393a163ed4adfa899a87be7b7c71645167bdaddd822ae453c8
ethAddress() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
payToken() view returns (address)
0x0000000000000000000000000000000000000000
takerFeeContract() view returns (address)
0x0000000000000000000000000000000000000000
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)
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)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
InvalidInitialization()
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall()