TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 23,252 txns
Unified storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($292,986,614.65)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
SolvBTC | ERC-20 | 973.058157 | $94,754.00 |
$92,201,152.62 | |
tBTC | ERC-20 | 935.848592 | $94,829.00 |
$88,745,586.1 | |
WBTC | ERC-20 | 746.810835 | $94,803.00 |
$70,799,907.61 | |
SolvBTC.BBN | ERC-20 | 422.499464 | $94,594.00 |
$39,965,914.26 | |
USDC | ERC-20 | 572.713351K | $0.998983 |
$572,130.9 | |
USDe | ERC-20 | 380.625835K | $1.00 |
$380,625.84 | |
USDT | ERC-20 | 130.448978K | $0.999098 |
$130,331.31 | |
T | ERC-20 | 1.774243M | $0.032009 |
$56,791.45 | |
FBTC | ERC-20 | 0.49376 | $94,577.00 |
$46,698.29 | |
cbBTC | ERC-20 | 0.276597 | $94,962.00 |
$26,266.23 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21285758 | 7 hours ago | | | 0 | 0.00077172875 | |
| 21285358 | 8 hours ago | | | 0 | 0.00074042191 | |
| 21285322 | 8 hours ago | | | 0 | 0.00055950780 | |
| 21285134 | 9 hours ago | | | 0 | 0.00083143617 | |
| 21285029 | 9 hours ago | | | 0 | 0.00079345563 | |
| 21284961 | 9 hours ago | | | 0 | 0.00081467673 | |
| 21284959 | 9 hours ago | | | 0 | 0.0010210993 | |
| 21284932 | 10 hours ago | | | 0 | 0.00087801978 | |
| 21284119 | 12 hours ago | | | 0 | 0.00035169360 | |
| 21283653 | 14 hours ago | | | 0 | 0.00028234500 |
ABI
ABI objects
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(address, address, uint256) view returns (uint96 balance, uint32 unlockAt, uint96 receiptMinted, uint96 feeOwed, uint88 lastFeeIntegral, uint8 tbtcMigrationState)
feeInfo(address) view returns (uint96 totalMinted, uint32 lastFeeUpdateAt, uint88 feeIntegral, uint8 annualFee, uint8 mintCap, address receiptToken, uint96 feeCollected)
getDeposit(address depositor, address token, uint256 depositId) view returns (struct PortalDepositInfo)
liquidityTreasuryManaged(address) view returns (bool)
tbtcMigrations(address) view returns (bool isAllowed, uint96 totalMigrating)
tokenAbility(address) view returns (uint8)
State-modifying
Events acceptOwnership()
addSupportedToken(struct PortalSupportedToken supportedToken)
completeTbtcMigration(address token, struct PortalDepositToMigrate[] migratedDeposits)
deposit(address token, uint96 amount, uint32 lockPeriod)
depositFor(address depositOwner, address token, uint96 amount, uint32 lockPeriod)
initialize(struct PortalSupportedToken[] supportedTokens)
lock(address token, uint256 depositId, uint32 lockPeriod)
mintReceipt(address token, uint256 depositId, uint256 amount)
receiveApproval(address from, uint256 amount, address token, bytes data)
renounceOwnership()
repayReceipt(address token, uint256 depositId, uint256 amount)
requestTbtcMigration(address token, uint256 depositId)
setAssetAsLiquidityTreasuryManaged(address asset, bool isManaged)
setAssetTbtcMigrationAllowed(address asset, bool isAllowed)
setLiquidityTreasury(address _liquidityTreasury)
setMaxLockPeriod(uint32 _maxLockPeriod)
setMinLockPeriod(uint32 _minLockPeriod)
setReceiptParams(address token, uint8 annualFee, uint8 mintCap, address receiptToken)
setTbtcMigrationTreasury(address _tbtcMigrationTreasury)
setTbtcTokenAddress(address _tbtcToken)
transferOwnership(address newOwner)
withdraw(address token, uint256 depositId)
withdrawAsLiquidityTreasury(address token, uint256 amount)
withdrawForTbtcMigration(address token, struct PortalDepositToMigrate[] depositsToMigrate)
withdrawPartially(address token, uint256 depositId, uint96 amount)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
Deposited(address indexed depositor, address indexed token, uint256 indexed depositId, uint256 amount)
FeeCollected(address indexed depositor, address indexed token, uint256 indexed depositId, uint256 fee)
FeeCollectedTbtcMigrated(address indexed depositor, address indexed token, address tbtcToken, uint256 indexed depositId, uint256 feeInTbtc)
FundedFromTbtcMigration(uint256 amount)
Initialized(uint64 version)
LiquidityTreasuryManagedAssetUpdated(address indexed asset, bool isManaged)
LiquidityTreasuryUpdated(address indexed previousLiquidityTreasury, address indexed newLiquidityTreasury)
Locked(address indexed depositor, address indexed token, uint256 indexed depositId, uint32 unlockAt, uint32 lockPeriod)
MaxLockPeriodUpdated(uint32 maxLockPeriod)
MinLockPeriodUpdated(uint32 minLockPeriod)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ReceiptMinted(address indexed depositor, address indexed token, uint256 indexed depositId, uint256 amount)
ReceiptParamsUpdated(address indexed token, uint8 annualFee, uint8 mintCap, address receiptToken)
ReceiptRepaid(address indexed depositor, address indexed token, uint256 indexed depositId, uint256 amount)
SupportedTokenAdded(address indexed token, uint8 tokenAbility)
TbtcMigrationAllowedUpdated(address indexed token, bool isAllowed)
TbtcMigrationCompleted(address indexed depositor, address indexed token, uint256 indexed depositId)
TbtcMigrationRequested(address indexed depositor, address indexed token, uint256 indexed depositId)
TbtcMigrationStarted(address indexed depositor, address indexed token, uint256 indexed depositId)
TbtcMigrationTreasuryUpdated(address indexed previousMigrationTreasury, address indexed newMigrationTreasury)
TbtcTokenAddressSet(address tbtc)
Withdrawn(address indexed depositor, address indexed token, uint256 indexed depositId, uint256 amount)
WithdrawnByLiquidityTreasury(address indexed token, uint256 amount)
WithdrawnForTbtcMigration(address indexed token, uint256 amount)
WithdrawnTbtcMigrated(address indexed depositor, address indexed token, address tbtcToken, uint256 indexed depositId, uint256 amountInTbtc)
constructor(address _logic, address initialOwner, bytes _data)
fallback()
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 token, uint8 tokenAbility)
InvalidInitialization()
LockPeriodOutOfRange(uint32 lockPeriod)
LockPeriodTooShort(uint32 lockPeriod, uint32 newUnlockAt, uint32 existingUnlockAt)
MaxAnnualFeeExceeded(uint8 annualFee)
MaxReceiptMintCapExceeded(uint8 mintCap)
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
PartialWithdrawalAmountTooHigh(uint256 depositAmount)
ReceiptFeeOwed(uint256 feeOwed)
ReceiptMintLimitExceeded(uint256 mintLimit, uint96 currentlyMinted, uint256 feeOwed, uint256 amount)
ReceiptMintingDisabled()
ReceiptNotRepaid(uint256 receiptMinted)
ReceiptTokenAlreadyInitialized()
RepayAmountExceededDebt(uint96 mintedDebt, uint256 amount)
SafeERC20FailedOperation(address token)
SenderNotLiquidityTreasury(address sender)
SenderNotTbtcMigrationTreasury()
TbtcCanNotBeMigrated()
TbtcMigrationAndLiquidityManagementConflict()
TbtcMigrationNotAllowed()
TbtcMigrationNotCompleted()
TbtcMigrationRequestedErr()
TbtcTokenAddressAlreadySet()
TbtcTokenAddressNotSet()
TokenAlreadySupported(address token, uint8 tokenAbility)
TokenNotSupported(address token)
UnexpectedTbtcMigrationState(uint256 depositId, uint8 currentState, uint8 expectedState)
UnknownTokenDecimals(address token)