SubscriptionTokenV1
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 43 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
19 additional
variables
Balances ($0.00)
No balances found for "SubscriptionTokenV1"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SubscriptionTokenV1"
ABI
ABI objects
Getter at block 22931875
baseTokenURI() view returns (string uri)
contractURI() view returns (string uri)
creatorBalance() view returns (uint256 balance)
0
erc20Address() view returns (address erc20)
0x0000000000000000000000000000000000000000
feeBalance() view returns (uint256 balance)
0
feeSchedule() view returns (address feeCollector, uint16 feeBps)
(feeCollector=0x0000000000000000000000000000000000000000, feeBps=0)
minPurchaseSeconds() view returns (uint256 numSeconds)
0
name() view returns (string)
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
rewardBps() view returns (uint16 bps)
0
rewardMultiplier() view returns (uint256 multiplier)
0
rewardPoolBalance() view returns (uint256 numTokens)
0
supplyDetail() view returns (uint256 count, uint256 cap)
(count=0, cap=0)
symbol() view returns (string)
totalCreatorEarnings() view returns (uint256 total)
0
totalRewardPoints() view returns (uint256 numPoints)
0
tps() view returns (uint256 numTokens)
0
transferRecipient() view returns (address recipient)
0x0000000000000000000000000000000000000000
Read-only
balanceOf(address account) view returns (uint256 numSeconds)
canRefund(address[] accounts) view returns (bool refundable)
getApproved(uint256 tokenId) view returns (address)
isApprovedForAll(address owner, address operator) view returns (bool)
ownerOf(uint256 tokenId) view returns (address)
referralCodeBps(uint256 code) view returns (uint16 bps)
refundableBalanceOf(address account) view returns (uint256 numSeconds)
refundableTokenBalanceOfAll(address[] accounts) view returns (uint256 numTokens)
rewardBalanceOf(address account) view returns (uint256 numTokens)
subscriptionOf(address account) view returns (uint256 tokenId, uint256 refundableAmount, uint256 rewardPoints, uint256 expiresAt)
supportsInterface(bytes4 interfaceId) view returns (bool)
timeValue(uint256 numTokens) view returns (uint256 numSeconds)
tokenURI(uint256 tokenId) view returns (string uri)
State-modifying
Events acceptOwnership()
approve(address to, uint256 tokenId)
createReferralCode(uint256 code, uint16 bps)
deleteReferralCode(uint256 code)
grantTime(address[] accounts, uint256 secondsToAdd)
initialize(struct SharedInitParams params)
mint(uint256 numTokens) payable
mintFor(address account, uint256 numTokens) payable
mintWithReferral(uint256 numTokens, uint256 referralCode, address referrer) payable
mintWithReferralFor(address account, uint256 numTokens, uint256 referralCode, address referrer) payable
pause()
reconcileERC20Balance()
reconcileNativeBalance()
recoverERC20(address tokenAddress, address recipientAddress, uint256 tokenAmount)
recoverNativeTokens(address recipient)
refund(uint256 numTokensIn, address[] accounts) payable
renounceOwnership()
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes data)
setApprovalForAll(address operator, bool approved)
setSupplyCap(uint256 supplyCap)
setTransferRecipient(address recipient)
slashRewards(address account)
transferAllBalances()
transferFees()
transferFrom(address from, address to, uint256 tokenId)
transferOwnership(address newOwner)
unpause()
updateFeeRecipient(address newCollector)
updateMetadata(string contractUri, string tokenUri)
withdraw()
withdrawAndTransferFees()
withdrawRewards()
withdrawTo(address account)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
FeeAllocated(uint256 tokens)
FeeCollectorChange(address indexed from, address indexed to)
FeeTransfer(address indexed from, address indexed to, uint256 tokensTransferred)
Grant(address indexed account, uint256 indexed tokenId, uint256 secondsGranted, uint256 expiresAt)
Initialized(uint8 version)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
Purchase(address indexed account, uint256 indexed tokenId, uint256 tokensTransferred, uint256 timePurchased, uint256 rewardPoints, uint256 expiresAt)
ReferralCreated(uint256 id, uint16 rewardBps)
ReferralDestroyed(uint256 id)
ReferralPayout(uint256 indexed tokenId, address indexed referrer, uint256 indexed referralId, uint256 rewardAmount)
Refund(address indexed account, uint256 indexed tokenId, uint256 tokensTransferred, uint256 timeReclaimed)
RefundTopUp(uint256 tokensIn)
RewardPointsSlashed(address indexed account, address indexed slasher, uint256 rewardPointsSlashed)
RewardWithdraw(address indexed account, uint256 tokensTransferred)
RewardsAllocated(uint256 tokens)
SupplyCapChange(uint256 supplyCap)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
TransferRecipientChange(address indexed recipient)
Unpaused(address account)
Withdraw(address indexed account, uint256 tokensTransferred)
constructor()
receive()
This contract contains no error objects.