PublicLock

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x4d53951b at 13126127
Slot
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
6 additional variables

No balances found for "PublicLock"

No transactions found for "PublicLock"


Functions
Getter at block 21309932
beneficiary(view returns (address)
0x3d5409cce1d45233de1d4ebdee74b8e004abdd13
expirationDuration(view returns (uint256)
0
freeTrialLength(view returns (uint256)
0
isAlive(view returns (bool)
true
keyPrice(view returns (uint256)
0
maxNumberOfKeys(view returns (uint256)
0
name(view returns (string)
numberOfOwners(view returns (uint256)
0
onKeyCancelHook(view returns (address)
0x0000000000000000000000000000000000000000
onKeyPurchaseHook(view returns (address)
0x0000000000000000000000000000000000000000
publicLockVersion(pure returns (uint256)
8
refundPenaltyBasisPoints(view returns (uint256)
1000
symbol(view returns (string)
UDT
tokenAddress(view returns (address)
0x0000000000000000000000000000000000000000
totalSupply(view returns (uint256)
0
transferFeeBasisPoints(view returns (uint256)
0
unlockProtocol(view returns (address)
0x3d5409cce1d45233de1d4ebdee74b8e004abdd13
Read-only
balanceOf(address _keyOwnerview returns (uint256)
getApproved(uint256 _tokenIdview returns (address)
getBalance(address _tokenAddressaddress _accountview returns (uint256)
getCancelAndRefundApprovalHash(address _keyManageraddress _txSenderview returns (bytes32 approvalHash)
getCancelAndRefundValueFor(address _keyOwnerview returns (uint256 refund)
getHasValidKey(address _keyOwnerview returns (bool)
getOwnersByPage(uint256 _pageuint256 _pageSizeview returns (address[])
getTokenIdFor(address _accountview returns (uint256)
getTransferFee(address _keyOwneruint256 _timeview returns (uint256)
isApprovedForAll(address _owneraddress _operatorview returns (bool)
isKeyGranter(address accountview returns (bool)
isKeyOwner(uint256 _tokenIdaddress _keyOwnerview returns (bool)
isLockManager(address accountview returns (bool)
keyExpirationTimestampFor(address _keyOwnerview returns (uint256)
keyManagerOf(uint256view returns (address)
keyManagerToNonce(addressview returns (uint256)
ownerOf(uint256 _tokenIdview returns (address)
owners(uint256view returns (address)
purchasePriceFor(address _recipientaddress _referrerbytes _dataview returns (uint256 minKeyPrice)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenByIndex(uint256 _indexview returns (uint256)
tokenOfOwnerByIndex(address _keyOwneruint256 _indexview returns (uint256)
tokenURI(uint256 _tokenIdview returns (string)
State-modifying
addKeyGranter(address account
addLockManager(address account
approve(address _approveduint256 _tokenId
approveBeneficiary(address _spenderuint256 _amountreturns (bool)
cancelAndRefund(uint256 _tokenId
cancelAndRefundFor(address _keyManageruint8 _vbytes32 _rbytes32 _suint256 _tokenId
disableLock(
expireAndRefundFor(address _keyOwneruint256 amount
grantKeys(address[] _recipientsuint256[] _expirationTimestampsaddress[] _keyManagers
initialize(
initialize(address _lockCreatoruint256 _expirationDurationaddress _tokenAddressuint256 _keyPriceuint256 _maxNumberOfKeysstring _lockName
invalidateOffchainApproval(uint256 _nextAvailableNonce
purchase(uint256 _valueaddress _recipientaddress _referrerbytes _datapayable 
renounceLockManager(
revokeKeyGranter(address _granter
safeTransferFrom(address _fromaddress _touint256 _tokenId
safeTransferFrom(address _fromaddress _touint256 _tokenIdbytes _data
setApprovalForAll(address _tobool _approved
setBaseTokenURI(string _baseTokenURI
setEventHooks(address _onKeyPurchaseHookaddress _onKeyCancelHook
setKeyManagerOf(uint256 _tokenIdaddress _keyManager
shareKey(address _touint256 _tokenIduint256 _timeShared
transfer(address _touint256 _valuereturns (bool success)
transferFrom(address _fromaddress _recipientuint256 _tokenId
updateBeneficiary(address _beneficiary
updateKeyPricing(uint256 _keyPriceaddress _tokenAddress
updateLockName(string _lockName
updateLockSymbol(string _lockSymbol
updateRefundPenalty(uint256 _freeTrialLengthuint256 _refundPenaltyBasisPoints
updateTransferFee(uint256 _transferFeeBasisPoints
withdraw(address _tokenAddressuint256 _amount
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
CancelKey(uint256 indexed tokenIdaddress indexed owneraddress indexed sendTouint256 refund
Disable(
ExpirationChanged(uint256 indexed _tokenIduint256 _amountbool _timeAdded
ExpireKey(uint256 indexed tokenId
KeyGranterAdded(address indexed account
KeyGranterRemoved(address indexed account
KeyManagerChanged(uint256 indexed _tokenIdaddress indexed _newManager
LockManagerAdded(address indexed account
LockManagerRemoved(address indexed account
NewLockSymbol(string symbol
NonceChanged(address indexed keyManageruint256 nextAvailableNonce
PricingChanged(uint256 oldKeyPriceuint256 keyPriceaddress oldTokenAddressaddress tokenAddress
RefundPenaltyChanged(uint256 freeTrialLengthuint256 refundPenaltyBasisPoints
RenewKeyPurchase(address indexed owneruint256 newExpiration
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
TransferFeeChanged(uint256 transferFeeBasisPoints
Withdrawal(address indexed senderaddress indexed tokenAddressaddress indexed beneficiaryuint256 amount
Constructor

This contract contains no constructor objects.

Fallback and receive
fallback(
Errors

This contract contains no error objects.