Bytecode-generated storage layout

We've generated a storage layout (with no variable labels) from this contract's bytecode. We've also started a backfill to track the inferred variables.

TransparentUpgradeableProxy

Verified contract

Proxy

Active on Base with 957 txns
Deployed by via 0x27816cc8 at 1754071
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
1 additional variable
Native
Value $3.72
ERC-20
Value $1.32
ERC-20
Value $0.99
ERC-20
Value $0.1
ERC-20
Value $0.02
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0xdb5411ff2fb87d39a846c309646cae5dc87e635dd62efd0438aa8efff05c6a4c
0x86e8a991fdff2839e989e77e22fee51823ad52f1373edfff3158fee04942e138
0x96ae7252bc0f3e7bf4f5e46b08b39ce9bcf1bc94edc02402b6bd40cf8e31be6c
0xc753acf31e7458cfa77dcff6e468e2db8c6ea313311ae57c2822f5013dc3541b
0x2109c165b276d5bf4945b2137c31b767017c721f8ac1a489c25d1c2ab7a6e010
0x943e083dda8a35da0e08467a16be9b6ac3a209d1cd13e31dec737cbdb44d3b8d
0x0cab770fd252c87c35efc136d9782a701c00e15d8f4ffee720ff4a7056d653b4
0x0d39642be4b1c119106184cf59235bb9ec054a2538c5b20d2a6ed12952fa3b43
0x26c34e6ee1e5ddf49dae1406927eea7bfe6c76de0c0d990a075e007e93049e30
0xdad588507196525f155d4b2de529347bda7d2e539aa42061fe6ee00c27a62505

Functions
Getter at block 21754287
chainId(view returns (uint256)
8453
estimatedGasForPurchase(view returns (uint256)
200000
getAdmin(view returns (address)
0x88ed81de2d62849b337c3f31cd84d041bf26a38c
getGlobalBaseTokenURI(view returns (string)
https://locksmith.unlock-protocol.com/api/key/8453/
getGlobalTokenSymbol(view returns (string)
KEY
globalBaseTokenURI(view returns (string)
https://locksmith.unlock-protocol.com/api/key/8453/
globalTokenSymbol(view returns (string)
KEY
grossNetworkProduct(view returns (uint256)
7212293447225888365
isOwner(view returns (bool)
false
networkBaseFee(view returns (uint256)
8933154
owner(view returns (address)
0x8149feafa41dd1ee3ca62299b9c67e9ac12fa340
protocolFee(view returns (uint256)
100
proxyAdminAddress(view returns (address)
0xa7325f041e4b05b78959001ce88306edb649833c
publicLockAddress(view returns (address)
0x64a3328cf61025720c26de2a87b6d913fa6e376a
publicLockLatestVersion(view returns (uint16)
14
swapBurnerAddress(view returns (address)
0x440d9d4e66d39bb28fb58729cb4d3ead2a595591
totalDiscountGranted(view returns (uint256)
0
udt(view returns (address)
0xd7ea82d19f1f59ff1ae95f1945ee6e6d86a25b96
unlockVersion(pure returns (uint16)
13
weth(view returns (address)
0x4200000000000000000000000000000000000006
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
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(