Portfolio

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x02237a34 at 16686344
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 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 44 additional slots
-
variable spans 48 additional slots
6 additional variables

No balances found for "Portfolio"

No transactions found for "Portfolio"


Functions
Getter at block 23714280
accessController(view returns (address)
0x0000000000000000000000000000000000000000
assetManagementConfig(view returns (address)
0x0000000000000000000000000000000000000000
decimals(view returns (uint8)
18
feeModule(view returns (address)
0x0000000000000000000000000000000000000000
getTokens(view returns (address[])
[]
name(view returns (string)
owner(view returns (address)
0x0000000000000000000000000000000000000000
permit2(view returns (address)
0x000000000022d473030f116ddee9f6b43ac78ba3
protocolConfig(view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID(view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
safeModule(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
tokenExclusionManager(view returns (address)
0x0000000000000000000000000000000000000000
totalSupply(view returns (uint256)
0
vault(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
_lastDepositTime(addressview returns (uint256)
_lastWithdrawCooldown(addressview returns (uint256)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getTokenBalancesOf(address[] portfolioTokensaddress _vaultview returns (uint256[] vaultBalances)
getVaultValueInUSD(address _oracleaddress[] _tokensuint256 _totalSupplyaddress _vaultview returns (uint256 vaultValue)
userCooldownPeriod(addressview returns (uint256)
userLastDepositTime(addressview returns (uint256)
State-modifying
approve(address spenderuint256 amountreturns (bool)
claimRewardTokens(address _targetbytes _claimCalldata
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
emergencyWithdrawal(uint256 _portfolioTokenAmountaddress[] _exemptionTokens
emergencyWithdrawalFor(address _withdrawForaddress _tokenReceiveruint256 _portfolioTokenAmountaddress[] _exemptionTokens
increaseAllowance(address spenderuint256 addedValuereturns (bool)
init(struct FunctionParametersPortfolioInitData initData
initToken(address[] _tokens
mintShares(address _touint256 _amount
multiTokenDeposit(uint256[] depositAmountsuint256 _minMintAmountstruct IAllowanceTransferPermitBatch _permitbytes _signature
multiTokenDepositFor(address _depositForuint256[] depositAmountsuint256 _minMintAmount
multiTokenWithdrawal(uint256 _portfolioTokenAmount
multiTokenWithdrawalFor(address _withdrawForaddress _tokenReceiveruint256 _portfolioTokenAmount
pullFromVault(address _tokenuint256 _amountaddress _to
renounceOwnership(
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
transferOwnership(address newOwner
updateTokenList(address[] _tokens
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
Events
AdminChanged(address previousAdminaddress newAdmin
Approval(address indexed owneraddress indexed spenderuint256 value
BeaconUpgraded(address indexed beacon
Deposited(address indexed portfolioaddress indexed useruint256 indexed mintedAmountuint256 userBalanceAfterDeposit
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PublicSwapEnabled(address indexed portfolio
Transfer(address indexed fromaddress indexed touint256 value
Upgraded(address indexed implementation
UserDepositedAmounts(uint256[] depositedAmountsaddress[] portfolioTokens
Withdrawn(address indexed useruint256 indexed burnedAmountaddress indexed portfolioaddress[] portfolioTokensuint256 userBalanceAfterWithdrawaluint256[] userWithdrawalAmounts
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyInitialized(
AmountCannotBeZero(
BalanceOfVaultIsZero(
CallerNeedToMaintainMinTokenAmount(
CallerNotHavingGivenPortfolioTokenAmount(
CallerNotPortfolioManager(
CallerNotRebalancerContract(
CallerNotSuperAdmin(
ClaimFailed(
CoolDownPeriodNotPassed(
DivisionByZero(
InsufficientAllowance(
InvalidAddress(
InvalidCastToUint160(
InvalidDepositInputLength(
InvalidExemptionTokens(
InvalidExemptionTokensLength(
InvalidMintAmount(
InvalidSpender(
InvalidTokenAddress(
MintedAmountIsNotAccepted(
PortfolioTokenNotInitialized(
ProtocolIsPaused(
TokenAlreadyExist(
TokenCountOutOfLimit(uint256 limit
TokenNotEnabled(
TokenNotWhitelisted(
TransferFailed(
Transferprohibited(
UserNotAllowedToDeposit(
WithdrawalAmountIsSmall(