STPV2
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
14
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 2 additional slots
-
variable spans 6 additional slots
Balances ($0.00)
No balances found for "STPV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "STPV2"
ABI
ABI objects
Getter at block 22773828
contractDetail() view returns (struct ContractView detail)
(0, 0, 0, 0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000, 0, 0, 0, 0, 0, false)
contractURI() view returns (string uri)
feeDetail() view returns (struct FeeParams fee)
(0x0000000000000000000000000000000000000000, 0, 0, 0, 0x0000000000000000000000000000000000000000)
name() view returns (string)
owner() view returns (address account)
0x0000000000000000000000000000000000000000
pendingOwner() view returns (address account)
0x0000000000000000000000000000000000000000
stpVersion() pure returns (uint8 version)
2
symbol() view returns (string)
Read-only
balanceOf(address account) view returns (uint256 numSeconds)
curveDetail(uint8 curveId) view returns (struct CurveParams curve)
getApproved(uint256) view returns (address)
isApprovedForAll(address, address) view returns (bool)
ownerOf(uint256 id) view returns (address owner)
referralDetail(uint256 code) view returns (struct ReferralLibCode value)
rolesOf(address account) view returns (uint16 roles)
subscriptionOf(address account) view returns (struct SubscriberView subscription)
supportsInterface(bytes4 interfaceId) view returns (bool)
tierBalanceOf(uint16 tierId, address account) view returns (uint256 numSeconds)
tierDetail(uint16 tierId) view returns (struct TierLibState tier)
tokenURI(uint256 tokenId) view returns (string uri)
State-modifying
Events acceptOwnership()
approve(address spender, uint256 id)
createRewardCurve(struct CurveParams curve)
createTier(struct Tier params)
deactivateSubscription(address account)
grantTime(address account, uint48 numSeconds, uint16 tierId)
initialize(struct InitParams params, struct Tier tier, struct RewardParams rewards, struct CurveParams curve, struct FeeParams fees)
issueRewardShares(address account, uint256 numShares)
mint(uint256 numTokens) payable
mintAdvanced(struct MintParams params) payable
mintFor(address account, uint256 numTokens) payable
multicall(bytes[] data) returns (bytes[])
recoverCurrency(address tokenAddress, address recipientAddress, uint256 tokenAmount)
refund(address account, uint256 numTokens)
revokeTime(address account)
safeTransferFrom(address from, address to, uint256 id)
safeTransferFrom(address from, address to, uint256 id, bytes data)
setApprovalForAll(address operator, bool approved)
setGlobalSupplyCap(uint64 supplyCap)
setPendingOwner(address account)
setReferralCode(uint256 code, uint16 basisPoints, bool permanent, address account)
setRoles(address account, uint16 roles)
setTransferRecipient(address recipient)
slash(address account)
topUp(uint256 numTokens) payable
transferFrom(address from, address to, uint256 id)
transferFunds(address to, uint256 amount)
transferRewardsFor(address account)
updateClientFeeRecipient(address recipient)
updateMetadata(string uri)
updateProtocolFeeRecipient(address recipient)
updateTier(uint16 tierId, struct Tier params)
yieldRewards(uint256 amount) payable
Approval(address indexed owner, address indexed spender, uint256 indexed id)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)
ClientFeeRecipientChange(address indexed account)
CurveCreated(uint8 curveId)
FeeTransfer(address indexed to, uint256 tokensTransferred)
GlobalSupplyCapChange(uint256 supplyCap)
Grant(uint64 indexed tokenId, uint48 secondsGranted, uint48 expiresAt)
GrantRevoke(uint64 indexed tokenId, uint48 time, uint48 expiresAt)
Initialized(uint64 version)
MetadataUpdate(uint256 _tokenId)
OwnerChanged(address indexed owner)
OwnerProposed(address indexed proposed)
ProtocolFeeRecipientChange(address indexed account)
Purchase(uint64 indexed tokenId, uint256 tokensTransferred, uint48 timePurchased, uint48 expiresAt)
ReferralDestroyed(uint256 indexed code)
ReferralPayout(uint256 indexed tokenId, address indexed referrer, uint256 indexed referralId, uint256 rewardAmount)
ReferralSet(uint256 indexed code)
Refund(uint64 indexed tokenId, uint256 tokensTransferred, uint48 timeReclaimed)
RewardsAllocated(uint256 amount)
RewardsClaimed(address indexed account, uint256 amount)
RoleChanged(address indexed account, uint16 role)
SharesBurned(address indexed account, uint256 numShares)
SharesIssued(address indexed account, uint256 numShares)
SlashTransferFallback(address indexed account, uint256 amount)
SwitchTier(uint64 indexed tokenId, uint16 oldTier, uint16 newTier)
TierCreated(uint16 tierId)
TierUpdated(uint16 tierId)
TopUp(uint256 tokensIn)
Transfer(address indexed from, address indexed to, uint256 indexed id)
TransferRecipientChange(address indexed recipient)
Withdraw(address indexed account, uint256 tokensTransferred)
constructor()
receive()
AllocationWithoutShares()
DeactivationFailure()
GateCheckFailure()
GateInvalid()
GlobalSupplyLimitExceeded()
InsufficientBalance()
InvalidAccount()
InvalidBasisPoints()
InvalidCapture()
InvalidCurve()
InvalidFeeParams()
InvalidHolder()
InvalidInitialization()
InvalidOwner()
InvalidTokenParams()
MaxCommitmentExceeded()
NoRewardsToClaim()
NoSharesToBurn()
NotAuthorized()
NotInitializing()
NotSlashable()
Reentrancy()
ReferralLocked()
SubscriptionNotFound()
TierEndExceeded()
TierHasNoSupply(uint16 tierId)
TierInvalidDuration()
TierInvalidMintPrice(uint256 mintPrice)
TierInvalidRenewalPrice(uint256 renewalPrice)
TierInvalidSupplyCap()
TierInvalidSwitch()
TierNotFound(uint16 tierId)
TierNotStarted()
TierRenewalsPaused()
TierTimingInvalid()
TierTransferDisabled()
TokenAlreadyExists()
TokenDoesNotExist()
TokenNotAuthorized()
TransferToExistingSubscriber()
TransferToZeroAddress()