Portal
Verified contract
Implementation
Active on
Ethereum with 0 txns
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 ($0.00)
No balances found for "Portal"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Portal"
ABI
ABI objects
Getter at block 21307420
depositCount() view returns (uint256)
0
maxLockPeriod() view returns (uint32)
0
minLockPeriod() view returns (uint32)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
deposits(address, address, uint256) view returns (uint96 balance, uint32 unlockAt)
getDeposit(address depositor, address token, uint256 depositId) view returns (struct PortalDepositInfo)
tokenAbility(address) view returns (uint8)
State-modifying
Events acceptOwnership()
addSupportedToken(struct PortalSupportedToken supportedToken)
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)
receiveApproval(address from, uint256 amount, address token, bytes data)
renounceOwnership()
setMaxLockPeriod(uint32 _maxLockPeriod)
setMinLockPeriod(uint32 _minLockPeriod)
transferOwnership(address newOwner)
withdraw(address token, uint256 depositId, uint96 amount)
Deposited(address indexed depositor, address indexed token, uint256 indexed depositId, uint256 amount)
Initialized(uint64 version)
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)
SupportedTokenAdded(address indexed token, uint8 tokenAbility)
Withdrawn(address indexed depositor, address indexed token, uint256 indexed depositId, uint256 amount)
constructor()
This contract contains no fallback and receive objects.
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
DepositLocked(uint32 unlockAt)
DepositNotFound()
FailedInnerCall()
IncorrectAmount(uint256 amount)
IncorrectDepositor(address depositor)
IncorrectLockPeriod(uint256 lockPeriod)
IncorrectTokenAbility(uint8 ability)
IncorrectTokenAddress(address token)
InsufficientDepositAmount(uint256 amount, uint256 depositBalance)
InsufficientTokenAbility(address token, uint8 tokenAbility)
InvalidInitialization()
LockPeriodOutOfRange(uint32 lockPeriod)
LockPeriodTooShort(uint32 lockPeriod, uint32 newUnlockAt, uint32 existingUnlockAt)
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
SafeERC20FailedOperation(address token)
TokenAlreadySupported(address token, uint8 tokenAbility)
TokenNotSupported(address token)