Unlock

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x0454bbb6 at 1754065
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

No balances found for "Unlock"

No transactions found for "Unlock"


Functions
Getter at block 22757582
chainId(view returns (uint256)
0
estimatedGasForPurchase(view returns (uint256)
0
getAdmin(view returns (address)
0x0000000000000000000000000000000000000000
getGlobalBaseTokenURI(view returns (string)
getGlobalTokenSymbol(view returns (string)
globalBaseTokenURI(view returns (string)
globalTokenSymbol(view returns (string)
grossNetworkProduct(view returns (uint256)
0
isOwner(view returns (bool)
false
networkBaseFee(view returns (uint256)
20415613
owner(view returns (address)
0x0000000000000000000000000000000000000000
protocolFee(view returns (uint256)
0
proxyAdminAddress(view returns (address)
0x0000000000000000000000000000000000000000
publicLockAddress(view returns (address)
0x0000000000000000000000000000000000000000
publicLockLatestVersion(view returns (uint16)
0
totalDiscountGranted(view returns (uint256)
0
udt(view returns (address)
0x0000000000000000000000000000000000000000
unlockVersion(pure returns (uint16)
12
weth(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
computeAvailableDiscountFor(addressuint256pure returns (uint256 discountuint256 tokens)
locks(addressview returns (bool deployeduint256 totalSalesuint256 yieldedDiscountTokens)
publicLockImpls(uint16 _versionview returns (address)
publicLockVersions(address _implview returns (uint16)
recordConsumedDiscount(uint256uint256view 
uniswapOracles(addressview returns (address)
State-modifying
__initializeOwnable(address sender
addLockTemplate(address impluint16 version
configUnlock(address _udtaddress _wethuint256 _estimatedGasForPurchasestring _symbolstring _URIuint256 _chainId
createLock(uint256 _expirationDurationaddress _tokenAddressuint256 _keyPriceuint256 _maxNumberOfKeysstring _lockNamebytes12returns (address)
createUpgradeableLock(bytes datareturns (address)
createUpgradeableLockAtVersion(bytes datauint16 _lockVersionreturns (address)
initialize(address _unlockOwner
initializeProxyAdmin(
postLockUpgrade(
recordKeyPurchase(uint256 _valueaddress _referrer
removeLock(address lock
renounceOwnership(
resetTrackedValue(uint256 _grossNetworkProductuint256 _totalDiscountGranted
setLockTemplate(address _publicLockAddress
setOracle(address _tokenAddressaddress _oracleAddress
setProtocolFee(uint256 _protocolFee
transferOwnership(address newOwner
transferTokens(address tokenaddress touint256 amount
upgradeLock(address lockAddressuint16 versionreturns (address)
Events
ConfigUnlock(address udtaddress wethuint256 estimatedGasForPurchasestring globalTokenSymbolstring globalTokenURIuint256 chainId
GNPChanged(uint256 grossNetworkProductuint256 _valueInETHaddress tokenAddressuint256 valueaddress lockAddress
LockUpgraded(address lockAddressuint16 version
NewLock(address indexed lockOwneraddress indexed newLockAddress
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ResetTrackedValue(uint256 grossNetworkProductuint256 totalDiscountGranted
SetLockTemplate(address publicLockAddress
UnlockTemplateAdded(address indexed impluint16 indexed version
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
Unlock__ALREADY_DEPLOYED(
Unlock__INVALID_AMOUNT(
Unlock__MANAGER_ONLY(
Unlock__MISSING_LOCK(address lockAddress
Unlock__MISSING_LOCK_TEMPLATE(
Unlock__MISSING_PROXY_ADMIN(
Unlock__MISSING_TEMPLATE(
Unlock__VERSION_TOO_HIGH(