SeasonPass

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xd79fd623 at 15383207
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "SeasonPass"

No transactions found for "SeasonPass"


Functions
Getter at block 23113052
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
ospTreasuryAddress(view returns (address)
0xd68fc0d0bfd43cf32f9df83a959f39e7fea584ad
Read-only
balanceOf(address accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address accountaddress operatorview returns (bool)
reward(address useraddress currencyview returns (struct ISeasonPassRewardStruct)
supportsInterface(bytes4 interfaceIdview returns (bool)
totalRewards(addressview returns (uint256)
uri(uint256 tokenIdview returns (string)
State-modifying
clamReward(address currencyaddress to
grantRole(bytes32 roleaddress account
initialize(
purchase(struct ISeasonPassPurchaseParams paramspayable 
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] valuesbytes data
safeTransferFrom(address fromaddress touint256 iduint256 valuebytes data
setApprovalForAll(address operatorbool approved
setBaseURI(string baseURI
setURI(uint256 seasonIdstring baseURI
withdraw(address currencyaddress to
Events
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
ClaimReward(address indexed useraddress indexed currencyaddress indexed touint256 rewarduint256 receivedRewarduint256 timestamp
Initialized(uint64 version
RewardAdded(address indexed useraddress indexed currencyuint256 rewarduint256 timestamp
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SeasonPassPurchased(uint256 indexed idaddress indexed useruint256 countaddress currencyuint256 amountuint256 timestamp
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
URI(string valueuint256 indexed id
Constructor
constructor(address _ospTreasuryAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
ERC1155InsufficientBalance(address senderuint256 balanceuint256 neededuint256 tokenId
ERC1155InvalidApprover(address approver
ERC1155InvalidArrayLength(uint256 idsLengthuint256 valuesLength
ERC1155InvalidOperator(address operator
ERC1155InvalidReceiver(address receiver
ERC1155InvalidSender(address sender
ERC1155MissingApprovalForAll(address operatoraddress owner
FailedInnerCall(
InvalidAmount(
InvalidInitialization(
MaxSeasonPassCountExceeded(
NotInitializing(
SafeERC20FailedOperation(address token
SeasonPassTransferNotAllowed(
SignatureExpired(