PortfolioManager

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xe7d0facc at 6592972
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 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots

No balances found for "PortfolioManager"

No transactions found for "PortfolioManager"


Functions
Getter at block 23772744
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
roleManager(view returns (address)
0x0000000000000000000000000000000000000000
totalRiskFactor(view returns (uint256)
0
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getStrategyWeight(address strategyview returns (struct IPortfolioManagerStrategyWeight)
hasRole(bytes32 roleaddress accountview returns (bool)
strategyWeightPositions(addressview returns (uint256)
strategyWeights(uint256view returns (address strategyuint256 minWeightuint256 targetWeightuint256 maxWeightuint256 riskFactorbool enabledbool enabledReward)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addStrategy(address _strategy
balance(
claimAndBalance(
deposit(
grantRole(bytes32 roleaddress account
initialize(
removeStrategy(address _strategy
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setAsset(address _asset
setCashStrategy(address _cashStrategy
setExchanger(address _exchanger
setMark2Market(address _m2m
setNavSlippageBp(uint256 _navSlippageBp
setRoleManager(address _roleManager
setStrategyWeights(struct IPortfolioManagerStrategyWeight[] _strategyWeights
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
withdraw(uint256 _amountreturns (uint256bool)
Events
AdminChanged(address previousAdminaddress newAdmin
AssetUpdated(address value
Balance(
BeaconUpgraded(address indexed beacon
CashStrategyAlreadySet(address value
CashStrategyRestaked(uint256 value
CashStrategyUpdated(address value
Exchanged(uint256 amountaddress fromaddress to
ExchangerUpdated(address value
Initialized(uint8 version
Mark2MarketUpdated(address value
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleManagerUpdated(address roleManager
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
StrategyWeightUpdated(uint256 indexaddress strategyuint256 minWeightuint256 targetWeightuint256 maxWeightuint256 riskFactorbool enabledbool enabledReward
TotalRiskFactorUpdated(uint256 value
Upgraded(address indexed implementation
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.