STPV2

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x5326a6a9 at 16053478
Slot
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

No balances found for "STPV2"

No transactions found for "STPV2"


Functions
Getter at block 23935726
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 accountview returns (uint256 numSeconds)
curveDetail(uint8 curveIdview returns (struct CurveParams curve)
getApproved(uint256view returns (address)
isApprovedForAll(addressaddressview returns (bool)
ownerOf(uint256 idview returns (address owner)
referralDetail(uint256 codeview returns (struct ReferralLibCode value)
rolesOf(address accountview returns (uint16 roles)
subscriptionOf(address accountview returns (struct SubscriberView subscription)
supportsInterface(bytes4 interfaceIdview returns (bool)
tierBalanceOf(uint16 tierIdaddress accountview returns (uint256 numSeconds)
tierDetail(uint16 tierIdview returns (struct TierLibState tier)
tokenURI(uint256 tokenIdview returns (string uri)
State-modifying
acceptOwnership(
approve(address spenderuint256 id
createRewardCurve(struct CurveParams curve
createTier(struct Tier params
deactivateSubscription(address account
grantTime(address accountuint48 numSecondsuint16 tierId
initialize(struct InitParams paramsstruct Tier tierstruct RewardParams rewardsstruct CurveParams curvestruct FeeParams fees
issueRewardShares(address accountuint256 numShares
mint(uint256 numTokenspayable 
mintAdvanced(struct MintParams paramspayable 
mintFor(address accountuint256 numTokenspayable 
multicall(bytes[] datareturns (bytes[])
recoverCurrency(address tokenAddressaddress recipientAddressuint256 tokenAmount
refund(address accountuint256 numTokens
revokeTime(address account
safeTransferFrom(address fromaddress touint256 id
safeTransferFrom(address fromaddress touint256 idbytes data
setApprovalForAll(address operatorbool approved
setGlobalSupplyCap(uint64 supplyCap
setPendingOwner(address account
setReferralCode(uint256 codeuint16 basisPointsbool permanentaddress account
setRoles(address accountuint16 roles
setTransferRecipient(address recipient
slash(address account
topUp(uint256 numTokenspayable 
transferFrom(address fromaddress touint256 id
transferFunds(address touint256 amount
transferRewardsFor(address account
updateClientFeeRecipient(address recipient
updateMetadata(string uri
updateProtocolFeeRecipient(address recipient
updateTier(uint16 tierIdstruct Tier params
yieldRewards(uint256 amountpayable 
Events
Approval(address indexed owneraddress indexed spenderuint256 indexed id
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
BatchMetadataUpdate(uint256 _fromTokenIduint256 _toTokenId
ClientFeeRecipientChange(address indexed account
CurveCreated(uint8 curveId
FeeTransfer(address indexed touint256 tokensTransferred
GlobalSupplyCapChange(uint256 supplyCap
Grant(uint64 indexed tokenIduint48 secondsGranteduint48 expiresAt
GrantRevoke(uint64 indexed tokenIduint48 timeuint48 expiresAt
Initialized(uint64 version
MetadataUpdate(uint256 _tokenId
OwnerChanged(address indexed owner
OwnerProposed(address indexed proposed
ProtocolFeeRecipientChange(address indexed account
Purchase(uint64 indexed tokenIduint256 tokensTransferreduint48 timePurchaseduint48 expiresAt
ReferralDestroyed(uint256 indexed code
ReferralPayout(uint256 indexed tokenIdaddress indexed referreruint256 indexed referralIduint256 rewardAmount
ReferralSet(uint256 indexed code
Refund(uint64 indexed tokenIduint256 tokensTransferreduint48 timeReclaimed
RewardsAllocated(uint256 amount
RewardsClaimed(address indexed accountuint256 amount
RoleChanged(address indexed accountuint16 role
SharesBurned(address indexed accountuint256 numShares
SharesIssued(address indexed accountuint256 numShares
SlashTransferFallback(address indexed accountuint256 amount
SwitchTier(uint64 indexed tokenIduint16 oldTieruint16 newTier
TierCreated(uint16 tierId
TierUpdated(uint16 tierId
TopUp(uint256 tokensIn
Transfer(address indexed fromaddress indexed touint256 indexed id
TransferRecipientChange(address indexed recipient
Withdraw(address indexed accountuint256 tokensTransferred
Constructor
constructor(
Fallback and receive
receive(
Errors
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(