Unlock Advent Calendar 2023 - Day 18
Verified contract
Proxy
Active on
Base with 1,112 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
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 48 additional slots
-
variable spans 48 additional slots
-
variable spans 999 additional slots
-
variable spans 999 additional slots
-
variable spans 999 additional slots
0x9ce8…ec20
35 additional
variables
Balances ($0.00)
No balances found for "Unlock Advent Calendar 2023 - Day 18"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22255818 | 12 days ago | | | 0 | 1.4606766e-7 | |
| 22213052 | 13 days ago | | | 0 | 4.7524740e-7 | |
| 21880792 | 21 days ago | | | 0 | 2.7962417e-7 | |
| 21774146 | 23 days ago | | | 0 | 9.6790529e-7 | |
| 21758690 | 23 days ago | | | 0 | 4.7580681e-7 | |
| 21755991 | 23 days ago | | | 0 | 0.0000026039210 | |
| 21752811 | 24 days ago | | | 0 | 0.0000025737646 | |
| 21750798 | 24 days ago | | | 0 | 0.000000401447338656 | |
| 21749211 | 24 days ago | | | 0 | 4.7596432e-7 | |
| 21598823 | a month ago | | | 0 | 0.000000202716711056 |
ABI
ABI objects
Getter at block 22769381
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
expirationDuration() view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
freeTrialLength() view returns (uint256)
0
gasRefundValue() view returns (uint256 _refundValue)
0
keyPrice() view returns (uint256)
0
maxKeysPerAddress() view returns (uint256)
1
maxNumberOfKeys() view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
name() view returns (string)
Unlock Advent Calendar 2023 - Day 18
numberOfOwners() view returns (uint256)
1063
onKeyCancelHook() view returns (address)
0x0000000000000000000000000000000000000000
onKeyExtendHook() view returns (address)
0x0000000000000000000000000000000000000000
onKeyGrantHook() view returns (address)
0x0000000000000000000000000000000000000000
onKeyPurchaseHook() view returns (address)
0x9ce8d6b62b8980bf8579cfe5f1af1cc7576aec20
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)
GIFT
tokenAddress() view returns (address)
0x0000000000000000000000000000000000000000
totalSupply() view returns (uint256)
1063
transferFeeBasisPoints() view returns (uint256)
0
unlockProtocol() view returns (address)
0xd0b14797b9d08493392865647384974470202a78
Read-only
balanceOf(address _keyOwner) view returns (uint256 balance)
getApproved(uint256 _tokenId) view returns (address)
getCancelAndRefundValue(uint256 _tokenId) view returns (uint256 refund)
getHasValidKey(address _keyOwner) view returns (bool isValid)
getRoleAdmin(bytes32 role) view returns (bytes32)
getTransferFee(uint256 _tokenId, uint256 _time) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
isApprovedForAll(address _owner, address _operator) view returns (bool)
isLockManager(address account) view returns (bool)
isOwner(address account) view returns (bool)
isRenewable(uint256 _tokenId, address _referrer) view returns (bool)
isValidKey(uint256 _tokenId) view returns (bool)
keyExpirationTimestampFor(uint256 _tokenId) view returns (uint256)
keyManagerOf(uint256) view returns (address)
ownerOf(uint256 _tokenId) view returns (address)
purchasePriceFor(address _recipient, address _referrer, bytes _data) view returns (uint256 minKeyPrice)
referrerFees(address) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenByIndex(uint256 _index) view returns (uint256)
tokenOfOwnerByIndex(address _keyOwner, uint256 _index) view returns (uint256)
tokenURI(uint256 _tokenId) view returns (string)
totalKeys(address _keyOwner) view returns (uint256)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addLockManager(address account)
approve(address _approved, uint256 _tokenId)
burn(uint256 _tokenId)
cancelAndRefund(uint256 _tokenId)
expireAndRefundFor(uint256 _tokenId, uint256 _amount)
extend(uint256 _value, uint256 _tokenId, address _referrer, bytes _data) payable
grantKeyExtension(uint256 _tokenId, uint256 _duration)
grantKeys(address[] _recipients, uint256[] _expirationTimestamps, address[] _keyManagers) returns (uint256[])
grantRole(bytes32 role, address account)
initialize(address _lockCreator, uint256 _expirationDuration, address _tokenAddress, uint256 _keyPrice, uint256 _maxNumberOfKeys, string _lockName)
lendKey(address _from, address _recipient, uint256 _tokenId)
mergeKeys(uint256 _tokenIdFrom, uint256 _tokenIdTo, uint256 _amount)
migrate(bytes)
purchase(uint256[] _values, address[] _recipients, address[] _referrers, address[] _keyManagers, bytes[] _data) payable returns (uint256[])
renewMembershipFor(uint256 _tokenId, address _referrer)
renounceLockManager()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
safeTransferFrom(address _from, address _to, uint256 _tokenId)
safeTransferFrom(address _from, address _to, uint256 _tokenId, bytes _data)
setApprovalForAll(address _to, bool _approved)
setEventHooks(address _onKeyPurchaseHook, address _onKeyCancelHook, address _onValidKeyHook, address _onTokenURIHook, address _onKeyTransferHook, address _onKeyExtendHook, address _onKeyGrantHook)
setGasRefundValue(uint256 _refundValue)
setKeyManagerOf(uint256 _tokenId, address _keyManager)
setLockMetadata(string _lockName, string _lockSymbol, string _baseTokenURI)
setOwner(address account)
setReferrerFee(address _referrer, uint256 _feeBasisPoint)
shareKey(address _to, uint256 _tokenIdFrom, uint256 _timeShared)
transferFrom(address _from, address _recipient, uint256 _tokenId)
unlendKey(address _recipient, uint256 _tokenId)
updateKeyPricing(uint256 _keyPrice, address _tokenAddress)
updateLockConfig(uint256 _newExpirationDuration, uint256 _maxNumberOfKeys, uint256 _maxKeysPerAcccount)
updateRefundPenalty(uint256 _freeTrialLength, uint256 _refundPenaltyBasisPoints)
updateSchemaVersion()
updateTransferFee(uint256 _transferFeeBasisPoints)
withdraw(address _tokenAddress, address _recipient, uint256 _amount)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
CancelKey(uint256 indexed tokenId, address indexed owner, address indexed sendTo, uint256 refund)
EventHooksUpdated(address onKeyPurchaseHook, address onKeyCancelHook, address onValidKeyHook, address onTokenURIHook, address onKeyTransferHook, address onKeyExtendHook, address onKeyGrantHook)
ExpirationChanged(uint256 indexed tokenId, uint256 newExpiration, uint256 amount, bool timeAdded)
ExpireKey(uint256 indexed tokenId)
GasRefundValueChanged(uint256 refundValue)
GasRefunded(address indexed receiver, uint256 refundedAmount, address tokenAddress)
Initialized(uint8 version)
KeyExtended(uint256 indexed tokenId, uint256 newTimestamp)
KeyGranterAdded(address indexed account)
KeyGranterRemoved(address indexed account)
KeyManagerChanged(uint256 indexed _tokenId, address indexed _newManager)
KeysMigrated(uint256 updatedRecordsCount)
LockConfig(uint256 expirationDuration, uint256 maxNumberOfKeys, uint256 maxKeysPerAcccount)
LockManagerAdded(address indexed account)
LockManagerRemoved(address indexed account)
LockMetadata(string name, string symbol, string baseTokenURI)
OwnershipTransferred(address previousOwner, address newOwner)
PricingChanged(uint256 oldKeyPrice, uint256 keyPrice, address oldTokenAddress, address tokenAddress)
ReferrerFee(address indexed referrer, uint256 fee)
RefundPenaltyChanged(uint256 freeTrialLength, uint256 refundPenaltyBasisPoints)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
TransferFeeChanged(uint256 transferFeeBasisPoints)
UnlockCallFailed(address indexed lockAddress, address unlockAddress)
Withdrawal(address indexed sender, address indexed tokenAddress, address indexed recipient, uint256 amount)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
receive()
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()