TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 23,252 txns
Deployed by via 0x3e13540b at 19425763
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $92,201,152.62
ERC-20
Value $88,745,586.1
ERC-20
Value $70,799,907.61
ERC-20
Value $39,965,914.26
ERC-20
Value $572,130.9
ERC-20
Value $380,625.84
ERC-20
Value $130,331.31
ERC-20
Value $56,791.45
ERC-20
Value $46,698.29
ERC-20
Value $26,266.23
0x4da918b97e2ce928e80bb91f56d086599a6f7d6ec190f3bb8bc6b4b622e1ec66
0x5c86c40a76879b32c9195b53acf0fa93a223b51f11cac55fe8c20c2f52ca5a47
0xa448a6eb9449d5e1c1007bd2f0f384f9b37737420477b8963210e9f52a3fac29
0x5750c62711affb1c2f0fe73a14b48b984c2a32382c57c557fdbfecb6642a8c2d
0x14abc4ac7a0d0014f891f44b7f1e904bd7aaa187ffc6c8c29c67ff2510f357e4
0xb8b8924d4326bb6b61a72b338a3c5f638544230966bb12c21b282c77d78ea994
From
0x89c3d700b1400090072920a02a2cc06775fe7cc571ff18f4e2c545010d63153e
From
0x1c68fda9497c0912b13a8361cf2b2957311105ab4437f91cae0bcfabc12069b7
0x502a0f1f50885a1576aa67ef1407355fa48b0621096f4276bd8512e3deb5d0cc
0x5634c9d52108a9de5db65be1a0cc2448090263ad0423311ccda715868f24890e

Functions
Getter at block 21287776
depositCount(view returns (uint256)
23214
liquidityTreasury(view returns (address)
0x061110360ba50e19139a1bf2eaf4004fb0dd31e8
maxLockPeriod(view returns (uint32)
23587200
minLockPeriod(view returns (uint32)
4838400
owner(view returns (address)
0x98d8899c3030741925be630c710a98b57f397c7a
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
tbtcMigrationTreasury(view returns (address)
0x061110360ba50e19139a1bf2eaf4004fb0dd31e8
tbtcToken(view returns (address)
0x18084fba666a33d37592fa2633fd49a74dd93a88
Read-only
deposits(addressaddressuint256view returns (uint96 balanceuint32 unlockAtuint96 receiptMinteduint96 feeOweduint88 lastFeeIntegraluint8 tbtcMigrationState)
feeInfo(addressview returns (uint96 totalMinteduint32 lastFeeUpdateAtuint88 feeIntegraluint8 annualFeeuint8 mintCapaddress receiptTokenuint96 feeCollected)
getDeposit(address depositoraddress tokenuint256 depositIdview returns (struct PortalDepositInfo)
liquidityTreasuryManaged(addressview returns (bool)
tbtcMigrations(addressview returns (bool isAlloweduint96 totalMigrating)
tokenAbility(addressview returns (uint8)
State-modifying
acceptOwnership(
addSupportedToken(struct PortalSupportedToken supportedToken
completeTbtcMigration(address tokenstruct PortalDepositToMigrate[] migratedDeposits
deposit(address tokenuint96 amountuint32 lockPeriod
depositFor(address depositOwneraddress tokenuint96 amountuint32 lockPeriod
initialize(struct PortalSupportedToken[] supportedTokens
lock(address tokenuint256 depositIduint32 lockPeriod
mintReceipt(address tokenuint256 depositIduint256 amount
receiveApproval(address fromuint256 amountaddress tokenbytes data
renounceOwnership(
repayReceipt(address tokenuint256 depositIduint256 amount
requestTbtcMigration(address tokenuint256 depositId
setAssetAsLiquidityTreasuryManaged(address assetbool isManaged
setAssetTbtcMigrationAllowed(address assetbool isAllowed
setLiquidityTreasury(address _liquidityTreasury
setMaxLockPeriod(uint32 _maxLockPeriod
setMinLockPeriod(uint32 _minLockPeriod
setReceiptParams(address tokenuint8 annualFeeuint8 mintCapaddress receiptToken
setTbtcMigrationTreasury(address _tbtcMigrationTreasury
setTbtcTokenAddress(address _tbtcToken
transferOwnership(address newOwner
withdraw(address tokenuint256 depositId
withdrawAsLiquidityTreasury(address tokenuint256 amount
withdrawForTbtcMigration(address tokenstruct PortalDepositToMigrate[] depositsToMigrate
withdrawPartially(address tokenuint256 depositIduint96 amount
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
Deposited(address indexed depositoraddress indexed tokenuint256 indexed depositIduint256 amount
FeeCollected(address indexed depositoraddress indexed tokenuint256 indexed depositIduint256 fee
FeeCollectedTbtcMigrated(address indexed depositoraddress indexed tokenaddress tbtcTokenuint256 indexed depositIduint256 feeInTbtc
FundedFromTbtcMigration(uint256 amount
Initialized(uint64 version
LiquidityTreasuryManagedAssetUpdated(address indexed assetbool isManaged
LiquidityTreasuryUpdated(address indexed previousLiquidityTreasuryaddress indexed newLiquidityTreasury
Locked(address indexed depositoraddress indexed tokenuint256 indexed depositIduint32 unlockAtuint32 lockPeriod
MaxLockPeriodUpdated(uint32 maxLockPeriod
MinLockPeriodUpdated(uint32 minLockPeriod
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ReceiptMinted(address indexed depositoraddress indexed tokenuint256 indexed depositIduint256 amount
ReceiptParamsUpdated(address indexed tokenuint8 annualFeeuint8 mintCapaddress receiptToken
ReceiptRepaid(address indexed depositoraddress indexed tokenuint256 indexed depositIduint256 amount
SupportedTokenAdded(address indexed tokenuint8 tokenAbility
TbtcMigrationAllowedUpdated(address indexed tokenbool isAllowed
TbtcMigrationCompleted(address indexed depositoraddress indexed tokenuint256 indexed depositId
TbtcMigrationRequested(address indexed depositoraddress indexed tokenuint256 indexed depositId
TbtcMigrationStarted(address indexed depositoraddress indexed tokenuint256 indexed depositId
TbtcMigrationTreasuryUpdated(address indexed previousMigrationTreasuryaddress indexed newMigrationTreasury
TbtcTokenAddressSet(address tbtc
Withdrawn(address indexed depositoraddress indexed tokenuint256 indexed depositIduint256 amount
WithdrawnByLiquidityTreasury(address indexed tokenuint256 amount
WithdrawnForTbtcMigration(address indexed tokenuint256 amount
WithdrawnTbtcMigrated(address indexed depositoraddress indexed tokenaddress tbtcTokenuint256 indexed depositIduint256 amountInTbtc
Constructor
constructor(address _logicaddress initialOwnerbytes _data
Fallback and receive
fallback(
Errors
AddressEmptyCode(address target
ERC1967InvalidAdmin(address admin
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
ProxyDeniedAdminAccess(
AddressEmptyCode(address target
AddressInsufficientBalance(address account
AssetNotManagedByLiquidityTreasury(address asset
DepositLocked(uint32 unlockAt
DepositNotFound(
FailedInnerCall(
IncorrectAmount(uint256 amount
IncorrectDepositor(address depositor
IncorrectLockPeriod(uint256 lockPeriod
IncorrectReceiptTokenDecimals(address receiptToken
IncorrectTokenAbility(uint8 ability
IncorrectTokenAddress(address token
InsufficientTokenAbility(address tokenuint8 tokenAbility
InvalidInitialization(
LockPeriodOutOfRange(uint32 lockPeriod
LockPeriodTooShort(uint32 lockPerioduint32 newUnlockAtuint32 existingUnlockAt
MaxAnnualFeeExceeded(uint8 annualFee
MaxReceiptMintCapExceeded(uint8 mintCap
NotInitializing(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
PartialWithdrawalAmountTooHigh(uint256 depositAmount
ReceiptFeeOwed(uint256 feeOwed
ReceiptMintLimitExceeded(uint256 mintLimituint96 currentlyMinteduint256 feeOweduint256 amount
ReceiptMintingDisabled(
ReceiptNotRepaid(uint256 receiptMinted
ReceiptTokenAlreadyInitialized(
RepayAmountExceededDebt(uint96 mintedDebtuint256 amount
SafeERC20FailedOperation(address token
SenderNotLiquidityTreasury(address sender
SenderNotTbtcMigrationTreasury(
TbtcCanNotBeMigrated(
TbtcMigrationAndLiquidityManagementConflict(
TbtcMigrationNotAllowed(
TbtcMigrationNotCompleted(
TbtcMigrationRequestedErr(
TbtcTokenAddressAlreadySet(
TbtcTokenAddressNotSet(
TokenAlreadySupported(address tokenuint8 tokenAbility
TokenNotSupported(address token
UnexpectedTbtcMigrationState(uint256 depositIduint8 currentStateuint8 expectedState
UnknownTokenDecimals(address token