SeasonPass
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
12
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "SeasonPass"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SeasonPass"
ABI
ABI objects
Getter at block 23113052
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
ospTreasuryAddress() view returns (address)
0xd68fc0d0bfd43cf32f9df83a959f39e7fea584ad
Read-only
balanceOf(address account, uint256 id) view returns (uint256)
balanceOfBatch(address[] accounts, uint256[] ids) view returns (uint256[])
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
isApprovedForAll(address account, address operator) view returns (bool)
reward(address user, address currency) view returns (struct ISeasonPassRewardStruct)
supportsInterface(bytes4 interfaceId) view returns (bool)
totalRewards(address) view returns (uint256)
uri(uint256 tokenId) view returns (string)
State-modifying
Events clamReward(address currency, address to)
grantRole(bytes32 role, address account)
initialize()
purchase(struct ISeasonPassPurchaseParams params) payable
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data)
safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes data)
setApprovalForAll(address operator, bool approved)
setBaseURI(string baseURI)
setURI(uint256 seasonId, string baseURI)
withdraw(address currency, address to)
ApprovalForAll(address indexed account, address indexed operator, bool approved)
ClaimReward(address indexed user, address indexed currency, address indexed to, uint256 reward, uint256 receivedReward, uint256 timestamp)
Initialized(uint64 version)
RewardAdded(address indexed user, address indexed currency, uint256 reward, uint256 timestamp)
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)
SeasonPassPurchased(uint256 indexed id, address indexed user, uint256 count, address currency, uint256 amount, uint256 timestamp)
TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)
TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)
URI(string value, uint256 indexed id)
constructor(address _ospTreasuryAddress)
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
ECDSAInvalidSignature()
ECDSAInvalidSignatureLength(uint256 length)
ECDSAInvalidSignatureS(bytes32 s)
ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId)
ERC1155InvalidApprover(address approver)
ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength)
ERC1155InvalidOperator(address operator)
ERC1155InvalidReceiver(address receiver)
ERC1155InvalidSender(address sender)
ERC1155MissingApprovalForAll(address operator, address owner)
FailedInnerCall()
InvalidAmount()
InvalidInitialization()
MaxSeasonPassCountExceeded()
NotInitializing()
SafeERC20FailedOperation(address token)
SeasonPassTransferNotAllowed()
SignatureExpired()