Unlock

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xbab424af at 19026937
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 20906512
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)
7893053901
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
swapBurnerAddress(view returns (address)
0x0000000000000000000000000000000000000000
totalDiscountGranted(view returns (uint256)
0
udt(view returns (address)
0x0000000000000000000000000000000000000000
unlockVersion(pure returns (uint16)
13
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
setSwapBurner(address _swapBurnerAddress
swapAndBurn(address tokenuint256 amountuint24 poolFee
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
SwapBurnerChanged(address indexed oldAddressaddress indexed newAddress
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__INVALID_TOKEN(
Unlock__MANAGER_ONLY(
Unlock__MISSING_LOCK(address lockAddress
Unlock__MISSING_LOCK_TEMPLATE(
Unlock__MISSING_PROXY_ADMIN(
Unlock__MISSING_TEMPLATE(
Unlock__VERSION_TOO_HIGH(