TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 147 txns
Deployed by via 0xeac9f307 at 16989080
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
4 additional variables
Native
Value $394.03
ERC-20
Value $20.45
ERC-20
Value $10.92
0x1d614342a336f5eb2104fdeb0925191aa4eedf4bf57ee5090c4f9a8dd49f4b3a
0xc42ca02ee13add5dd63bc567193559447125f3db85cc568d30830bf11e5b177f
0x84393efed63c3e313129c3585d8517691749a2401f4eee776d1ecde5635e1829
0xcde9bd95472cacdafd736676e4d8075904554e981b667d643778f140930ef841
0x3ef67a26c04529214bcae07b638e125380322b13b76a8b8b43febada5c7014c2
0x11c5051903589de618bd0b488cb734a495d9ec246d185cf0a487aa176578c728
0x4163a786ad4b8966c868916ef200eafcaf752dcf4521be74957553c6d5936be8
0x284207358cb1539d3151785bbd0f264e7a99d3690e28fae681e4549f9cff829f
0x1c2f6e1a180b9bedefcd00470af5a9475d8c7f86f599375921ed530d0dd0aaeb
0x0c3f1fee13c13fa3ce2f59c1bc377c78f09011a5a5a78293d7079a65a42902b1

Functions
Getter at block 20906512
chainId(view returns (uint256)
1
estimatedGasForPurchase(view returns (uint256)
200000
getAdmin(view returns (address)
0xa2d9bc1ffc560cc6f21ac09e317a3186ac1b1db8
getGlobalBaseTokenURI(view returns (string)
https://locksmith.unlock-protocol.com/api/key/
getGlobalTokenSymbol(view returns (string)
UDT
globalBaseTokenURI(view returns (string)
https://locksmith.unlock-protocol.com/api/key/
globalTokenSymbol(view returns (string)
UDT
grossNetworkProduct(view returns (uint256)
86197840658121213652
isOwner(view returns (bool)
false
networkBaseFee(view returns (uint256)
7893053901
owner(view returns (address)
0x17eedfb0a6e6e06e95b3a1f928dc4024240bc76b
protocolFee(view returns (uint256)
100
proxyAdminAddress(view returns (address)
0x9c381f1c68a7a020d90c7314c01a164fbf01ea18
publicLockAddress(view returns (address)
0xc9577b38ada2b1b251ee99e54cc399027d547b68
publicLockLatestVersion(view returns (uint16)
14
swapBurnerAddress(view returns (address)
0x316a4650e70594fa3d947a43a237bef427bd80d6
totalDiscountGranted(view returns (uint256)
0
udt(view returns (address)
0x90de74265a416e1393a450752175aed98fe11517
unlockVersion(pure returns (uint16)
13
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
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
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
__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
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
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
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
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(