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 1,008 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 $6.86
ERC-20
Value $5.71
ERC-20
Value $0.1
ERC-20
Value $0.05
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x1d8858dcb204f7f88dab2572f73b7cb26b9a238b60847f28b29c3ccc2dbd374a
0x74595a4c869935b8a731619c8fb6f4b97d2e89277bc3bf98a2af10abaa4aaba5
0xefb4072ed93fa317727a513765d578afc088e7be0bbe26c88165c23800e76f76
0xfe51e03a1ae9fb4c4c0e3cf2163443f94893716f765e41d109b07f29703ad415
0x74c9f88b677024064f7bcc47c94af7561da54acd8b5cb4e5c4f989c9631f2b5c
0x18bc4db0d897ea57934b8feda0b23255ce3d57da149d1b08b0b8f40667bd1891
0x4510441c286bbde56ca342cd50e552fd5077a1f7b1fdb5e26aba1bb1ef5ba7bb
0xee7a5f1400603f3e8cb6c82d9d7d72aa7334c53f07162ca6c069fd4dd0263d00
0x4e3d7950b8dfc3212e65e143b1b243ee72c530a90e0fd584402e56589f96c735
0xfa16720bf5027fd20f2a3e7b27bb0f9485baeac61e8154274b616df48cb0ffc5

Functions
Getter at block 22736465
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)
7291318421462038593
isOwner(view returns (bool)
false
networkBaseFee(view returns (uint256)
2849770
owner(view returns (address)
0xb34567c4ca697b39f72e1a8478f285329a98ed1b
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(