Unlock
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
1
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
Balances ($0.00)
No balances found for "Unlock"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Unlock"
ABI
ABI objects
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(address, uint256) pure returns (uint256 discount, uint256 tokens)
locks(address) view returns (bool deployed, uint256 totalSales, uint256 yieldedDiscountTokens)
publicLockImpls(uint16 _version) view returns (address)
publicLockVersions(address _impl) view returns (uint16)
recordConsumedDiscount(uint256, uint256) view
uniswapOracles(address) view returns (address)
State-modifying
Events __initializeOwnable(address sender)
addLockTemplate(address impl, uint16 version)
configUnlock(address _udt, address _weth, uint256 _estimatedGasForPurchase, string _symbol, string _URI, uint256 _chainId)
createLock(uint256 _expirationDuration, address _tokenAddress, uint256 _keyPrice, uint256 _maxNumberOfKeys, string _lockName, bytes12) returns (address)
createUpgradeableLock(bytes data) returns (address)
createUpgradeableLockAtVersion(bytes data, uint16 _lockVersion) returns (address)
initialize(address _unlockOwner)
initializeProxyAdmin()
postLockUpgrade()
recordKeyPurchase(uint256 _value, address _referrer)
removeLock(address lock)
renounceOwnership()
resetTrackedValue(uint256 _grossNetworkProduct, uint256 _totalDiscountGranted)
setLockTemplate(address _publicLockAddress)
setOracle(address _tokenAddress, address _oracleAddress)
setProtocolFee(uint256 _protocolFee)
transferOwnership(address newOwner)
transferTokens(address token, address to, uint256 amount)
upgradeLock(address lockAddress, uint16 version) returns (address)
ConfigUnlock(address udt, address weth, uint256 estimatedGasForPurchase, string globalTokenSymbol, string globalTokenURI, uint256 chainId)
GNPChanged(uint256 grossNetworkProduct, uint256 _valueInETH, address tokenAddress, uint256 value, address lockAddress)
LockUpgraded(address lockAddress, uint16 version)
NewLock(address indexed lockOwner, address indexed newLockAddress)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ResetTrackedValue(uint256 grossNetworkProduct, uint256 totalDiscountGranted)
SetLockTemplate(address publicLockAddress)
UnlockTemplateAdded(address indexed impl, uint16 indexed version)
This contract contains no constructor objects.
receive()
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()