Bytecode-generated storage layout

We've generated a storage layout (with no variable labels) from this contract's bytecode. We've also started a backfill to track the inferred variables.

USV Demo Membership

Verified contract

Proxy

Active on Base with 404 txns
Deployed by via 0x54403227 at 15459960
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
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 999 additional slots
-
variable spans 999 additional slots
-
variable spans 999 additional slots
37 additional variables
ERC-20
Value $0.08
ERC-20
--
0x36d0a88b076913a2abbee717ab7569e400b446ae812d1c49c8e0d08e4592bd78
0xc36dad6bb451723354b8cc892169b395b076ec040ccfc2feb244e3f25495d821
0xc92369d9eb9a64e76bf55ec3e25ccf42d2950fa8510343fae50c57961e41dd5c
0xd5ddccea0dc50b307096de5defc06e7eeaa18b9da90ca2b99a65509d2919b554
0xf2d93b10dec0f7a6a1a0c6e2b9db5272fcaeaa0b90bae3a16a0b0b8968b2a186
0x9c5361bbce375aab7fb7555bc24b2ff7f7aa077b9b035f2b8f39e73a30094bb5
0x8c8e9f8ec2d3fee549695ae306074227d1fea52e1425bd779981531170960bd2
0xd99aaa9323756cf2a79a01e22a5039c007c430504a0a5f6dd8c4d220c1a73df4
0xc17502c5e21c161f68a3f9857b1acd9f1b5c217c7a19d5e156fe2a9daa8d8b63
0xa0951f4c864187d255f8c884fc4da4df468189ce246000f861d7fb3a9d8fb927

Functions
Getter at block 22758287
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
expirationDuration(view returns (uint256)
3600
freeTrialLength(view returns (uint256)
0
gasRefundValue(view returns (uint256 _refundValue)
10000
keyPrice(view returns (uint256)
100000
maxKeysPerAddress(view returns (uint256)
1
maxNumberOfKeys(view returns (uint256)
1000000000
name(view returns (string)
USV Demo Membership
numberOfOwners(view returns (uint256)
3
onKeyCancelHook(view returns (address)
0x0000000000000000000000000000000000000000
onKeyExtendHook(view returns (address)
0x0000000000000000000000000000000000000000
onKeyGrantHook(view returns (address)
0x0000000000000000000000000000000000000000
onKeyPurchaseHook(view returns (address)
0x0000000000000000000000000000000000000000
onKeyTransferHook(view returns (address)
0x0000000000000000000000000000000000000000
onTokenURIHook(view returns (address)
0x0000000000000000000000000000000000000000
onValidKeyHook(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x81dd955d02d337db81ba6c9c5f6213e647672052
publicLockVersion(pure returns (uint16)
13
refundPenaltyBasisPoints(view returns (uint256)
1000
schemaVersion(view returns (uint256)
13
symbol(view returns (string)
KEY
tokenAddress(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
totalSupply(view returns (uint256)
3
transferFeeBasisPoints(view returns (uint256)
0
unlockProtocol(view returns (address)
0xd0b14797b9d08493392865647384974470202a78
Read-only
balanceOf(address _keyOwnerview returns (uint256 balance)
getApproved(uint256 _tokenIdview returns (address)
getCancelAndRefundValue(uint256 _tokenIdview returns (uint256 refund)
getHasValidKey(address _keyOwnerview returns (bool isValid)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTransferFee(uint256 _tokenIduint256 _timeview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address _owneraddress _operatorview returns (bool)
isLockManager(address accountview returns (bool)
isOwner(address accountview returns (bool)
isRenewable(uint256 _tokenIdaddress _referrerview returns (bool)
isValidKey(uint256 _tokenIdview returns (bool)
keyExpirationTimestampFor(uint256 _tokenIdview returns (uint256)
keyManagerOf(uint256view returns (address)
ownerOf(uint256 _tokenIdview returns (address)
purchasePriceFor(address _recipientaddress _referrerbytes _dataview returns (uint256 minKeyPrice)
referrerFees(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenByIndex(uint256 _indexview returns (uint256)
tokenOfOwnerByIndex(address _keyOwneruint256 _indexview returns (uint256)
tokenURI(uint256 _tokenIdview returns (string)
totalKeys(address _keyOwnerview returns (uint256)
State-modifying
addLockManager(address account
approve(address _approveduint256 _tokenId
burn(uint256 _tokenId
cancelAndRefund(uint256 _tokenId
expireAndRefundFor(uint256 _tokenIduint256 _amount
extend(uint256 _valueuint256 _tokenIdaddress _referrerbytes _datapayable 
grantKeyExtension(uint256 _tokenIduint256 _duration
grantKeys(address[] _recipientsuint256[] _expirationTimestampsaddress[] _keyManagersreturns (uint256[])
grantRole(bytes32 roleaddress account
initialize(address _lockCreatoruint256 _expirationDurationaddress _tokenAddressuint256 _keyPriceuint256 _maxNumberOfKeysstring _lockName
lendKey(address _fromaddress _recipientuint256 _tokenId
mergeKeys(uint256 _tokenIdFromuint256 _tokenIdTouint256 _amount
migrate(bytes
purchase(uint256[] _valuesaddress[] _recipientsaddress[] _referrersaddress[] _keyManagersbytes[] _datapayable returns (uint256[])
renewMembershipFor(uint256 _tokenIdaddress _referrer
renounceLockManager(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
safeTransferFrom(address _fromaddress _touint256 _tokenId
safeTransferFrom(address _fromaddress _touint256 _tokenIdbytes _data
setApprovalForAll(address _tobool _approved
setEventHooks(address _onKeyPurchaseHookaddress _onKeyCancelHookaddress _onValidKeyHookaddress _onTokenURIHookaddress _onKeyTransferHookaddress _onKeyExtendHookaddress _onKeyGrantHook
setGasRefundValue(uint256 _refundValue
setKeyManagerOf(uint256 _tokenIdaddress _keyManager
setLockMetadata(string _lockNamestring _lockSymbolstring _baseTokenURI
setOwner(address account
setReferrerFee(address _referreruint256 _feeBasisPoint
shareKey(address _touint256 _tokenIdFromuint256 _timeShared
transferFrom(address _fromaddress _recipientuint256 _tokenId
unlendKey(address _recipientuint256 _tokenId
updateKeyPricing(uint256 _keyPriceaddress _tokenAddress
updateLockConfig(uint256 _newExpirationDurationuint256 _maxNumberOfKeysuint256 _maxKeysPerAcccount
updateRefundPenalty(uint256 _freeTrialLengthuint256 _refundPenaltyBasisPoints
updateSchemaVersion(
updateTransferFee(uint256 _transferFeeBasisPoints
withdraw(address _tokenAddressaddress _recipientuint256 _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
EventHooksUpdated(address onKeyPurchaseHookaddress onKeyCancelHookaddress onValidKeyHookaddress onTokenURIHookaddress onKeyTransferHookaddress onKeyExtendHookaddress onKeyGrantHook
ExpirationChanged(uint256 indexed tokenIduint256 newExpirationuint256 amountbool timeAdded
ExpireKey(uint256 indexed tokenId
GasRefundValueChanged(uint256 refundValue
GasRefunded(address indexed receiveruint256 refundedAmountaddress tokenAddress
Initialized(uint8 version
KeyExtended(uint256 indexed tokenIduint256 newTimestamp
KeyGranterAdded(address indexed account
KeyGranterRemoved(address indexed account
KeyManagerChanged(uint256 indexed _tokenIdaddress indexed _newManager
KeysMigrated(uint256 updatedRecordsCount
LockConfig(uint256 expirationDurationuint256 maxNumberOfKeysuint256 maxKeysPerAcccount
LockManagerAdded(address indexed account
LockManagerRemoved(address indexed account
LockMetadata(string namestring symbolstring baseTokenURI
OwnershipTransferred(address previousOwneraddress newOwner
PricingChanged(uint256 oldKeyPriceuint256 keyPriceaddress oldTokenAddressaddress tokenAddress
ReferrerFee(address indexed referreruint256 fee
RefundPenaltyChanged(uint256 freeTrialLengthuint256 refundPenaltyBasisPoints
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
TransferFeeChanged(uint256 transferFeeBasisPoints
UnlockCallFailed(address indexed lockAddressaddress unlockAddress
Withdrawal(address indexed senderaddress indexed tokenAddressaddress indexed recipientuint256 amount
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
CANNOT_APPROVE_SELF(
CANT_BE_SMALLER_THAN_SUPPLY(
CANT_EXTEND_NON_EXPIRING_KEY(
GAS_REFUND_FAILED(
INSUFFICIENT_ERC20_VALUE(
INSUFFICIENT_VALUE(
INVALID_ADDRESS(
INVALID_HOOK(uint8 hookIndex
INVALID_LENGTH(
INVALID_TOKEN(
KEY_NOT_VALID(
KEY_TRANSFERS_DISABLED(
LOCK_HAS_CHANGED(
LOCK_SOLD_OUT(
MAX_KEYS_REACHED(
MIGRATION_REQUIRED(
NON_COMPLIANT_ERC721_RECEIVER(
NON_RENEWABLE_LOCK(
NOT_ENOUGH_FUNDS(
NOT_ENOUGH_TIME(
NOT_READY_FOR_RENEWAL(
NO_SUCH_KEY(
NULL_VALUE(
ONLY_KEY_MANAGER_OR_APPROVED(
ONLY_LOCK_MANAGER(
ONLY_LOCK_MANAGER_OR_KEY_GRANTER(
OUT_OF_RANGE(
OWNER_CANT_BE_ADDRESS_ZERO(
SCHEMA_VERSION_NOT_CORRECT(
TRANSFER_TO_SELF(
TransferFailed(
UNAUTHORIZED(
UNAUTHORIZED_KEY_MANAGER_UPDATE(