PortfolioManager
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
10
Slot
XX
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
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "PortfolioManager"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PortfolioManager"
ABI
ABI objects
Getter at block 23156857
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EXCHANGER() view returns (bytes32)
0x3eb675f159e6ca6cf5de6bfbbc8c4521cfd428f5e9166e51094d5898504caf2d
PORTFOLIO_AGENT_ROLE() view returns (bytes32)
0xd67ad422505496469a1adf6cdf9e5ee92ac5d33992843c9ecc4b2f6d6cde9137
TOTAL_WEIGHT() view returns (uint256)
100000
cashStrategy() view returns (address)
0x0000000000000000000000000000000000000000
exchanger() view returns (address)
0x0000000000000000000000000000000000000000
getAllStrategyWeights() view returns (struct IPortfolioManagerStrategyWeight[])
[]
getTotalRiskFactor() view returns (uint256)
0
m2m() view returns (address)
0x0000000000000000000000000000000000000000
navSlippageBp() view returns (uint256)
0
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
totalRiskFactor() view returns (uint256)
0
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
getStrategyWeight(address strategy) view returns (struct IPortfolioManagerStrategyWeight)
hasRole(bytes32 role, address account) view returns (bool)
strategyWeightPositions(address) view returns (uint256)
strategyWeights(uint256) view returns (address strategy, uint256 minWeight, uint256 targetWeight, uint256 maxWeight, uint256 riskFactor, bool enabled, bool enabledReward)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addStrategy(address _strategy)
balance()
claimAndBalance()
deposit()
grantRole(bytes32 role, address account)
initialize()
removeStrategy(address _strategy)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setAsset(address _asset)
setCashStrategy(address _cashStrategy)
setExchanger(address _exchanger)
setMark2Market(address _m2m)
setNavSlippageBp(uint256 _navSlippageBp)
setStrategyWeights(struct IPortfolioManagerStrategyWeight[] _strategyWeights)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
withdraw(uint256 _amount) returns (uint256)
AdminChanged(address previousAdmin, address newAdmin)
AssetUpdated(address value)
Balance()
BeaconUpgraded(address indexed beacon)
CashStrategyAlreadySet(address value)
CashStrategyRestaked(uint256 value)
CashStrategyUpdated(address value)
Exchanged(uint256 amount, address from, address to)
ExchangerUpdated(address value)
Initialized(uint8 version)
Mark2MarketUpdated(address value)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
StrategyWeightUpdated(uint256 index, address strategy, uint256 minWeight, uint256 targetWeight, uint256 maxWeight, uint256 riskFactor, bool enabled, bool enabledReward)
TotalRiskFactorUpdated(uint256 value)
Upgraded(address indexed implementation)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.