Advisor

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x42b8d9e9 at 22409636
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 43 additional slots
-
variable spans 45 additional slots
-
variable spans 48 additional slots
-
variable spans 99 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
8 additional variables

No balances found for "Advisor"

No transactions found for "Advisor"


Functions
Getter at block 23166505
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
FEE_ASSESSOR_ROLE(view returns (bytes32)
0xcda4e9f93998abf0da8d36f8404fcd7ccb7b4154b88df0b4a6b2d3b3366cf28b
FEE_CLAIMER_ROLE(view returns (bytes32)
0x8dd046eb6fe22791cf064df41dbfc76ef240a563550f519aac88255bd8c2d3bb
REBALANCER_ROLE(view returns (bytes32)
0xccc64574297998b6c3edf6078cc5e01268465ff116954e3af02ff3a70a730f46
REPURCHASER_ROLE(view returns (bytes32)
0x36cbe1eb1923d303814201fdb64463d843fec53d7f82b4eab8a660ae35d7cb2f
SUPPLIER_ROLE(view returns (bytes32)
0xd1ae8bbdabd60d63e418b84f5ad6f9cba90092c9816d7724d85f0d4e4bea2c60
claimableFees(view returns (uint256)
0
config(view returns (address)
0x0000000000000000000000000000000000000000
heronPortfolioId(view returns (uint256)
0
isAdmin(view returns (bool)
false
name(view returns (string)
 
paused(view returns (bool)
symbol(view returns (string)
totalSupply(view returns (uint256)
0
Read-only
allowedUIDTypes(uint256view returns (uint256)
amountWithdrawable(uint256 portfolioIdview returns (uint256)
approve(addressuint256pure 
balanceOf(address ownerview returns (uint256)
getApproved(uint256pure returns (address)
getPortfolio(uint256 portfolioIdview returns (struct IAdvisorPortfolio)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTokenMetadata(uint256 tokenIdview returns (struct TokenMetadata)
hasAllowedUID(address senderview returns (bool)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(addressaddresspure returns (bool)
onERC1155Received(addressaddressuint256uint256bytesview returns (bytes4)
onERC721Received(addressaddressuint256bytesview returns (bytes4)
ownerOf(uint256 tokenIdview returns (address)
safeTransferFrom(addressaddressuint256pure 
safeTransferFrom(addressaddressuint256bytespure 
setApprovalForAll(addressboolpure 
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenByIndex(uint256 indexview returns (uint256)
tokenOfOwnerByIndex(address owneruint256 indexview returns (uint256)
tokenURI(uint256 tokenIdview returns (string)
transferFrom(addressaddressuint256pure 
State-modifying
__BaseUpgradeablePausable__init(address owneraddress pauser
chargeFees(bytes32 feeBatchIdstruct IAdvisorFeeCharge[] charges
claimAsset(uint256 portfolioIduint256 tokenId
claimFees(
createPortfolio(returns (uint256)
depositAndCreatePortfolio(uint256 amountreturns (uint256)
depositInPortfolio(uint256 portfolioIduint256 amount
depositPoolToken(uint256 portfolioIduint256 tokenId
grantRole(bytes32 roleaddress account
initialize(address owneraddress _configuint256[] _allowedUIDTypes
invest(struct IAdvisorClientInvestment[] clientInvestment
joinPoolTokens(uint256 tokenAIduint256 tokenBIduint256 portfolioIdreturns (uint256)
migrate(
migratePortfolio67(
rebalance(bytes32 rebalanceIdstruct IAdvisorStableForAssetSwap[] stableForAssetSwapsstruct IAdvisorAssetForAssetSwap[] assetForAssetSwaps
redeem(struct IAdvisorRedeem redemption
renounceRole(bytes32 roleaddress account
repurchase(bytes32 iduint256 repurchaserPortfolioIduint256 sellerPortfolioIduint256 amountuint256 tokenId
revokeRole(bytes32 roleaddress account
setAllowedUIDTypes(uint256[] _allowedUIDTypes
setIsReinvestingInterest(uint256 portfolioIdbool isReinvestingInterest
setIsReinvestingPrincipal(uint256 portfolioIdbool isReinvestingPrincipal
withdraw(uint256 portfolioIduint256 amount
withdrawNonInvestable(uint256 portfolioIduint256 amount
Events
AllowedUIDTypesUpdated(uint256[] allowedUIDTypes
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
AssetToAssetSwapExecuted(bytes32 indexed rebalanceIduint256 indexed portfolioAIduint256 indexed portfolioBIduint256 assetAIduint256 assetAAmountuint256 assetBIduint256 assetBAmount
DebtAdded(uint256 indexed tokenIduint256 indexed portfolioOwedToIduint256 amount
DebtPaid(uint256 indexed tokenIduint256 indexed portfolioPaidToIduint256 amount
FeesClaimed(address indexed byuint256 amount
Initialized(uint8 version
PortfolioDeposited(uint256 indexed portfolioIduint256 amount
PortfolioFeeCharged(bytes32 indexed feeBatchIduint256 indexed portfolioIduint256 amount
PortfolioFeesTaken(uint256 indexed portfolioIduint256 amount
PortfolioInvestableCashDeposited(uint256 indexed portfolioIduint256 amount
PortfolioInvestableCashWithdrawn(uint256 indexed portfolioIduint256 amount
PortfolioInvested(uint256 indexed portfolioIduint256 indexed recipientPortfolioIduint256 amount
PortfolioIsReinvestingInterestUpdated(uint256 indexed portfolioIdbool isReinvestingInterest
PortfolioIsReinvestingPrincipalUpdated(uint256 indexed portfolioIdbool isReinvestingPrincipal
PortfolioNonInvestableCashDeposited(uint256 indexed portfolioIduint256 amount
PortfolioNonInvestableCashWithdrawn(uint256 indexed portfolioIduint256 amount
PortfolioPoolTokenDeposited(uint256 indexed portfolioIduint256 tokenId
PortfolioPoolTokenWithdrawn(uint256 indexed portfolioIduint256 tokenId
PortfolioWithdrawn(uint256 indexed portfolioIduint256 amount
RedemptionCredited(uint256 indexed portfolioIduint256 indexed tokenIduint256 principalAmountuint256 interestAmount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
StableToAssetSwapExecuted(bytes32 indexed rebalanceIduint256 indexed stablePortfolioIduint256 indexed assetPortfolioIduint256 stableAmountuint256 tokenIduint256 assetAmount
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
CannotDepositNonPoolTokenNFT(
CannotDepositNonUIDERC1155(
CannotInvestInInvalidLoan(address loan
CannotJoinDebtEncumberedToken(uint256 tokenId
CannotJoinTokensFromOtherPortfolio(uint256 tokenAIduint256 tokenBIduint256 claimedPortfolioId
CannotWithdrawDebtEncumberedToken(uint256 tokenId
CannotWithdrawImpairedToken(uint256 tokenId
ExceedsPortfolioLimitPerAddress(
IdenticalAssetSwap(uint256 assetId
IdenticalPortfolioSwap(uint256 portfolioId
InsufficientBalance(uint256 portfolioId
NotAuthorized(
PortfolioAlreadyHasToken(uint256 portfolioIduint256 tokenId
PortfolioDoesNotExist(uint256 portfolioId
PortfolioDoesNotOwnToken(uint256 portfolioIduint256 tokenId
ReadOnly(
TokenHasInsufficientPrincipal(uint256 tokenId
TokenIsTransferRestricted(uint256 tokenIduint256 until
Unreachable(
UnsupportedOperation(
ZeroDepositAmount(uint256 portfolioId